METADATA 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Metadata-Version: 2.0
  2. Name: xlwt
  3. Version: 1.3.0
  4. Summary: Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+
  5. Home-page: http://www.python-excel.org/
  6. Author: John Machin
  7. Author-email: sjmachin@lexicon.net
  8. License: BSD
  9. Download-URL: https://pypi.python.org/pypi/xlwt
  10. Keywords: xls excel spreadsheet workbook worksheet pyExcelerator
  11. Platform: Platform Independent
  12. Classifier: Operating System :: OS Independent
  13. Classifier: Programming Language :: Python
  14. Classifier: License :: OSI Approved :: BSD License
  15. Classifier: Development Status :: 5 - Production/Stable
  16. Classifier: Intended Audience :: Developers
  17. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  18. Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
  19. Classifier: Topic :: Database
  20. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
  21. Classifier: Programming Language :: Python :: 2
  22. Classifier: Programming Language :: Python :: 2.7
  23. Classifier: Programming Language :: Python :: 3
  24. Classifier: Programming Language :: Python :: 3.3
  25. Classifier: Programming Language :: Python :: 3.4
  26. Classifier: Programming Language :: Python :: 3.5
  27. Classifier: Programming Language :: Python :: 3.6
  28. |Travis|_ |Coveralls|_ |Docs|_ |PyPI|_
  29. .. |Travis| image:: https://api.travis-ci.org/python-excel/xlwt.svg?branch=master
  30. .. _Travis: https://travis-ci.org/python-excel/xlwt
  31. .. |Coveralls| image:: https://coveralls.io/repos/python-excel/xlwt/badge.svg?branch=master
  32. .. _Coveralls: https://coveralls.io/r/python-excel/xlwt?branch=master
  33. .. |Docs| image:: https://readthedocs.org/projects/xlwt/badge/?version=latest
  34. .. _Docs: https://xlwt.readthedocs.org/en/latest/
  35. .. |PyPI| image:: https://badge.fury.io/py/xlwt.svg
  36. .. _PyPI: https://badge.fury.io/py/xlwt
  37. xlwt
  38. ====
  39. This is a library for developers to use to generate
  40. spreadsheet files compatible with Microsoft Excel versions 95 to 2003.
  41. The package itself is pure Python with no dependencies on modules or packages
  42. outside the standard Python distribution.
  43. Please read this before using this package:
  44. https://groups.google.com/d/msg/python-excel/P6TjJgFVjMI/g8d0eWxTBQAJ
  45. Installation
  46. ============
  47. Do the following in your virtualenv::
  48. pip install xlwt
  49. Quick start
  50. ===========
  51. .. code-block:: python
  52. import xlwt
  53. from datetime import datetime
  54. style0 = xlwt.easyxf('font: name Times New Roman, color-index red, bold on',
  55. num_format_str='#,##0.00')
  56. style1 = xlwt.easyxf(num_format_str='D-MMM-YY')
  57. wb = xlwt.Workbook()
  58. ws = wb.add_sheet('A Test Sheet')
  59. ws.write(0, 0, 1234.56, style0)
  60. ws.write(1, 0, datetime.now(), style1)
  61. ws.write(2, 0, 1)
  62. ws.write(2, 1, 1)
  63. ws.write(2, 2, xlwt.Formula("A3+B3"))
  64. wb.save('example.xls')
  65. Documentation
  66. =============
  67. Documentation can be found in the ``docs`` directory of the xlwt package.
  68. If these aren't sufficient, please consult the code in the
  69. examples directory and the source code itself.
  70. The latest documentation can also be found at:
  71. https://xlwt.readthedocs.org/en/latest/
  72. Problems?
  73. =========
  74. Try the following in this order:
  75. - Read the source
  76. - Ask a question on https://groups.google.com/group/python-excel/
  77. Acknowledgements
  78. ================
  79. xlwt is a fork of the pyExcelerator package, which was developed by
  80. Roman V. Kiseliov. This product includes software developed by
  81. Roman V. Kiseliov <roman@kiseliov.ru>.
  82. xlwt uses ANTLR v 2.7.7 to generate its formula compiler.