PKG-INFO 4.1 KB

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