|
| 1 | +================================================================================ |
| 2 | +pyexcel-xlsxr - Let you focus on data, instead of file formats |
| 3 | +================================================================================ |
| 4 | + |
| 5 | +.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png |
| 6 | + :target: https://www.patreon.com/pyexcel |
| 7 | + |
| 8 | +.. image:: https://api.travis-ci.org/pyexcel/pyexcel-xlsxr.svg?branch=master |
| 9 | + :target: http://travis-ci.org/pyexcel/pyexcel-xlsxr |
| 10 | + |
| 11 | +.. image:: https://codecov.io/gh/pyexcel/pyexcel-xlsxr/branch/master/graph/badge.svg |
| 12 | + :target: https://codecov.io/gh/pyexcel/pyexcel-xlsxr |
| 13 | + |
| 14 | +.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg |
| 15 | + :target: https://gitter.im/pyexcel/Lobby |
| 16 | + |
| 17 | +.. image:: https://readthedocs.org/projects/pyexcel-xlsxr/badge/?version=latest |
| 18 | + :target: http://pyexcel-xlsxr.readthedocs.org/en/latest/ |
| 19 | + |
| 20 | +Support the project |
| 21 | +================================================================================ |
| 22 | + |
| 23 | +If your company has embedded pyexcel and its components into a revenue generating |
| 24 | +product, please `support me on patreon <https://www.patreon.com/bePatron?u=5537627>`_ to |
| 25 | +maintain the project and develop it further. |
| 26 | + |
| 27 | +If you are an individual, you are welcome to support me too on patreon and for however long |
| 28 | +you feel like. As a patreon, you will receive |
| 29 | +`early access to pyexcel related contents <https://www.patreon.com/pyexcel/posts>`_. |
| 30 | + |
| 31 | +With your financial support, I will be able to invest |
| 32 | +a little bit more time in coding, documentation and writing interesting posts. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +Introduction |
| 37 | +================================================================================ |
| 38 | +**pyexcel-xlsxr** does Read xlsx file using partial xml. |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +Installation |
| 43 | +================================================================================ |
| 44 | + |
| 45 | +You can install pyexcel-xlsxr via pip: |
| 46 | + |
| 47 | +.. code-block:: bash |
| 48 | +
|
| 49 | + $ pip install pyexcel-xlsxr |
| 50 | +
|
| 51 | +
|
| 52 | +or clone it and install it: |
| 53 | + |
| 54 | +.. code-block:: bash |
| 55 | +
|
| 56 | + $ git clone https://github.com/pyexcel/pyexcel-xlsxr.git |
| 57 | + $ cd pyexcel-xlsxr |
| 58 | + $ python setup.py install |
| 59 | +
|
| 60 | +
|
| 61 | +
|
| 62 | +Development guide |
| 63 | +================================================================================ |
| 64 | + |
| 65 | +Development steps for code changes |
| 66 | + |
| 67 | +#. git clone https://github.com/pyexcel/pyexcel-xlsxr.git |
| 68 | +#. cd pyexcel-xlsxr |
| 69 | + |
| 70 | +Upgrade your setup tools and pip. They are needed for development and testing only: |
| 71 | + |
| 72 | +#. pip install --upgrade setuptools pip |
| 73 | + |
| 74 | +Then install relevant development requirements: |
| 75 | + |
| 76 | +#. pip install -r rnd_requirements.txt # if such a file exists |
| 77 | +#. pip install -r requirements.txt |
| 78 | +#. pip install -r tests/requirements.txt |
| 79 | + |
| 80 | +Once you have finished your changes, please provide test case(s), relevant documentation |
| 81 | +and update CHANGELOG.rst. |
| 82 | + |
| 83 | +.. note:: |
| 84 | + |
| 85 | + As to rnd_requirements.txt, usually, it is created when a dependent |
| 86 | + library is not released. Once the dependecy is installed |
| 87 | + (will be released), the future |
| 88 | + version of the dependency in the requirements.txt will be valid. |
| 89 | + |
| 90 | + |
| 91 | +How to test your contribution |
| 92 | +------------------------------ |
| 93 | + |
| 94 | +Although `nose` and `doctest` are both used in code testing, it is adviable that unit tests are put in tests. `doctest` is incorporated only to make sure the code examples in documentation remain valid across different development releases. |
| 95 | + |
| 96 | +On Linux/Unix systems, please launch your tests like this:: |
| 97 | + |
| 98 | + $ make |
| 99 | + |
| 100 | +On Windows systems, please issue this command:: |
| 101 | + |
| 102 | + > test.bat |
| 103 | + |
| 104 | +How to update test environment and update documentation |
| 105 | +--------------------------------------------------------- |
| 106 | + |
| 107 | +Additional steps are required: |
| 108 | + |
| 109 | +#. pip install moban |
| 110 | +#. git clone https://github.com/moremoban/setupmobans.git # generic setup |
| 111 | +#. git clone https://github.com/pyexcel/pyexcel-commons.git commons |
| 112 | +#. make your changes in `.moban.d` directory, then issue command `moban` |
| 113 | + |
| 114 | +What is pyexcel-commons |
| 115 | +--------------------------------- |
| 116 | + |
| 117 | +Many information that are shared across pyexcel projects, such as: this developer guide, license info, etc. are stored in `pyexcel-commons` project. |
| 118 | + |
| 119 | +What is .moban.d |
| 120 | +--------------------------------- |
| 121 | + |
| 122 | +`.moban.d` stores the specific meta data for the library. |
| 123 | + |
| 124 | +Acceptance criteria |
| 125 | +------------------- |
| 126 | + |
| 127 | +#. Has Test cases written |
| 128 | +#. Has all code lines tested |
| 129 | +#. Passes all Travis CI builds |
| 130 | +#. Has fair amount of documentation if your change is complex |
| 131 | +#. Please update CHANGELOG.rst |
| 132 | +#. Please add yourself to CONTRIBUTORS.rst |
| 133 | +#. Agree on NEW BSD License for your contribution |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | +License |
| 138 | +================================================================================ |
| 139 | + |
| 140 | +New BSD License |
0 commit comments