xlwt


Namexlwt JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttp://www.python-excel.org/
SummaryLibrary 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+
upload_time2017-08-22 06:47:16
maintainer
docs_urlNone
authorJohn Machin
requires_python
licenseBSD
keywords xls excel spreadsheet workbook worksheet pyexcelerator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |Travis|_ |Coveralls|_ |Docs|_ |PyPI|_

.. |Travis| image:: https://api.travis-ci.org/python-excel/xlwt.svg?branch=master
.. _Travis: https://travis-ci.org/python-excel/xlwt

.. |Coveralls| image:: https://coveralls.io/repos/python-excel/xlwt/badge.svg?branch=master
.. _Coveralls: https://coveralls.io/r/python-excel/xlwt?branch=master

.. |Docs| image:: https://readthedocs.org/projects/xlwt/badge/?version=latest
.. _Docs: https://xlwt.readthedocs.org/en/latest/

.. |PyPI| image:: https://badge.fury.io/py/xlwt.svg
.. _PyPI: https://badge.fury.io/py/xlwt

xlwt
====

This is a library for developers to use to generate
spreadsheet files compatible with Microsoft Excel versions 95 to 2003.

The package itself is pure Python with no dependencies on modules or packages
outside the standard Python distribution.

Please read this before using this package:
https://groups.google.com/d/msg/python-excel/P6TjJgFVjMI/g8d0eWxTBQAJ

Installation
============

Do the following in your virtualenv::

  pip install xlwt

Quick start
===========

.. code-block:: python

    import xlwt
    from datetime import datetime

    style0 = xlwt.easyxf('font: name Times New Roman, color-index red, bold on',
        num_format_str='#,##0.00')
    style1 = xlwt.easyxf(num_format_str='D-MMM-YY')

    wb = xlwt.Workbook()
    ws = wb.add_sheet('A Test Sheet')

    ws.write(0, 0, 1234.56, style0)
    ws.write(1, 0, datetime.now(), style1)
    ws.write(2, 0, 1)
    ws.write(2, 1, 1)
    ws.write(2, 2, xlwt.Formula("A3+B3"))

    wb.save('example.xls')


Documentation
=============

Documentation can be found in the ``docs`` directory of the xlwt package.
If these aren't sufficient, please consult the code in the
examples directory and the source code itself.

The latest documentation can also be found at:
https://xlwt.readthedocs.org/en/latest/

Problems?
=========
Try the following in this order:

- Read the source

- Ask a question on https://groups.google.com/group/python-excel/

Acknowledgements
================

xlwt is a fork of the pyExcelerator package, which was developed by
Roman V. Kiseliov. This product includes software developed by
Roman V. Kiseliov <roman@kiseliov.ru>.

xlwt uses ANTLR v 2.7.7 to generate its formula compiler.



            

Raw data

            {
    "_id": null,
    "home_page": "http://www.python-excel.org/",
    "name": "xlwt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "xls excel spreadsheet workbook worksheet pyExcelerator",
    "author": "John Machin",
    "author_email": "sjmachin@lexicon.net",
    "download_url": "https://files.pythonhosted.org/packages/06/97/56a6f56ce44578a69343449aa5a0d98eefe04085d69da539f3034e2cd5c1/xlwt-1.3.0.tar.gz",
    "platform": "Platform Independent",
    "description": "|Travis|_ |Coveralls|_ |Docs|_ |PyPI|_\n\n.. |Travis| image:: https://api.travis-ci.org/python-excel/xlwt.svg?branch=master\n.. _Travis: https://travis-ci.org/python-excel/xlwt\n\n.. |Coveralls| image:: https://coveralls.io/repos/python-excel/xlwt/badge.svg?branch=master\n.. _Coveralls: https://coveralls.io/r/python-excel/xlwt?branch=master\n\n.. |Docs| image:: https://readthedocs.org/projects/xlwt/badge/?version=latest\n.. _Docs: https://xlwt.readthedocs.org/en/latest/\n\n.. |PyPI| image:: https://badge.fury.io/py/xlwt.svg\n.. _PyPI: https://badge.fury.io/py/xlwt\n\nxlwt\n====\n\nThis is a library for developers to use to generate\nspreadsheet files compatible with Microsoft Excel versions 95 to 2003.\n\nThe package itself is pure Python with no dependencies on modules or packages\noutside the standard Python distribution.\n\nPlease read this before using this package:\nhttps://groups.google.com/d/msg/python-excel/P6TjJgFVjMI/g8d0eWxTBQAJ\n\nInstallation\n============\n\nDo the following in your virtualenv::\n\n  pip install xlwt\n\nQuick start\n===========\n\n.. code-block:: python\n\n    import xlwt\n    from datetime import datetime\n\n    style0 = xlwt.easyxf('font: name Times New Roman, color-index red, bold on',\n        num_format_str='#,##0.00')\n    style1 = xlwt.easyxf(num_format_str='D-MMM-YY')\n\n    wb = xlwt.Workbook()\n    ws = wb.add_sheet('A Test Sheet')\n\n    ws.write(0, 0, 1234.56, style0)\n    ws.write(1, 0, datetime.now(), style1)\n    ws.write(2, 0, 1)\n    ws.write(2, 1, 1)\n    ws.write(2, 2, xlwt.Formula(\"A3+B3\"))\n\n    wb.save('example.xls')\n\n\nDocumentation\n=============\n\nDocumentation can be found in the ``docs`` directory of the xlwt package.\nIf these aren't sufficient, please consult the code in the\nexamples directory and the source code itself.\n\nThe latest documentation can also be found at:\nhttps://xlwt.readthedocs.org/en/latest/\n\nProblems?\n=========\nTry the following in this order:\n\n- Read the source\n\n- Ask a question on https://groups.google.com/group/python-excel/\n\nAcknowledgements\n================\n\nxlwt is a fork of the pyExcelerator package, which was developed by\nRoman V. Kiseliov. This product includes software developed by\nRoman V. Kiseliov <roman@kiseliov.ru>.\n\nxlwt uses ANTLR v 2.7.7 to generate its formula compiler.\n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "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+",
    "version": "1.3.0",
    "split_keywords": [
        "xls",
        "excel",
        "spreadsheet",
        "workbook",
        "worksheet",
        "pyexcelerator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "085e6a73f9bffa8de4abd2c131b8afd5",
                "sha256": "a082260524678ba48a297d922cc385f58278b8aa68741596a87de01a9c628b2e"
            },
            "downloads": -1,
            "filename": "xlwt-1.3.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "085e6a73f9bffa8de4abd2c131b8afd5",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 99981,
            "upload_time": "2017-08-22T06:47:15",
            "upload_time_iso_8601": "2017-08-22T06:47:15.281159Z",
            "url": "https://files.pythonhosted.org/packages/44/48/def306413b25c3d01753603b1a222a011b8621aed27cd7f89cbc27e6b0f4/xlwt-1.3.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "4b1ca8a3cef3261f4b4dc3f138e383a8",
                "sha256": "c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88"
            },
            "downloads": -1,
            "filename": "xlwt-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4b1ca8a3cef3261f4b4dc3f138e383a8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 153929,
            "upload_time": "2017-08-22T06:47:16",
            "upload_time_iso_8601": "2017-08-22T06:47:16.498949Z",
            "url": "https://files.pythonhosted.org/packages/06/97/56a6f56ce44578a69343449aa5a0d98eefe04085d69da539f3034e2cd5c1/xlwt-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2017-08-22 06:47:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "xlwt"
}
        
Elapsed time: 0.02298s