@@ -5,21 +5,19 @@ pyexcel-libxlsxw - Let you focus on data, instead of xlsx format
55.. image :: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
66 :target: https://www.patreon.com/chfw
77
8- .. image :: https://cdn.rawgit .com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/ badge.svg
8+ .. image :: https://raw.githubusercontent .com/pyexcel/pyexcel-mobans/master/images/awesome- badge.svg
99 :target: https://awesome-python.com/#specific-formats-processing
1010
11- .. image :: https://travis-ci.org/pyexcel/pyexcel-libxlsxw.svg?branch=master
12- :target: http://travis-ci.org/pyexcel/pyexcel-libxlsxw
13-
1411.. image :: https://codecov.io/gh/pyexcel/pyexcel-libxlsxw/branch/master/graph/badge.svg
1512 :target: https://codecov.io/gh/pyexcel/pyexcel-libxlsxw
1613
1714.. image :: https://badge.fury.io/py/pyexcel-libxlsxw.svg
1815 :target: https://pypi.org/project/pyexcel-libxlsxw
1916
2017
18+
2119.. image :: https://pepy.tech/badge/pyexcel-libxlsxw/month
22- :target: https://pepy.tech/project/pyexcel-libxlsxw/month
20+ :target: https://pepy.tech/project/pyexcel-libxlsxw
2321
2422
2523.. image :: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
@@ -39,26 +37,20 @@ using libxlsxwriter. You are likely to use it with `pyexcel <https://github.com/
3937Support the project
4038================================================================================
4139
42- If your company has embedded pyexcel and its components into a revenue generating
43- product, please support me on github, `patreon <https://www.patreon.com/bePatron?u=5537627 >`_
44- or `bounty source <https://salt.bountysource.com/teams/chfw-pyexcel >`_ to maintain
45- the project and develop it further.
46-
47- If you are an individual, you are welcome to support me too and for however long
48- you feel like. As my backer, you will receive
49- `early access to pyexcel related contents <https://www.patreon.com/pyexcel/posts >`_.
50-
51- And your issues will get prioritized if you would like to become my patreon as `pyexcel pro user `.
52-
53- With your financial support, I will be able to invest
54- a little bit more time in coding, documentation and writing interesting posts.
40+ If your company uses pyexcel and its components in a revenue-generating product,
41+ please consider supporting the project on GitHub or
42+ `Patreon <https://www.patreon.com/bePatron?u=5537627 >`_. Your financial
43+ support will enable me to dedicate more time to coding, improving documentation,
44+ and creating engaging content.
5545
5646
5747Known constraints
5848==================
5949
6050Fonts, colors and charts are not supported.
6151
52+ Nor to read password protected xls, xlsx and ods files.
53+
6254Installation
6355================================================================================
6456
@@ -89,15 +81,8 @@ As a standalone library
8981
9082 >>> import os
9183 >>> import sys
92- >>> if sys.version_info[0 ] < 3 :
93- ... from StringIO import StringIO
94- ... else :
95- ... from io import BytesIO as StringIO
96- >>> PY2 = sys.version_info[0 ] == 2
97- >>> if PY2 and sys.version_info[1 ] < 7 :
98- ... from ordereddict import OrderedDict
99- ... else :
100- ... from collections import OrderedDict
84+ >>> from io import BytesIO
85+ >>> from collections import OrderedDict
10186
10287
10388Write to an xlsx file
@@ -139,7 +124,7 @@ Here's the sample code to write a dictionary to an xlsx file:
139124 >> > data = OrderedDict()
140125 >> > data.update({" Sheet 1" : [[1 , 2 , 3 ], [4 , 5 , 6 ]]})
141126 >> > data.update({" Sheet 2" : [[7 , 8 , 9 ], [10 , 11 , 12 ]]})
142- >> > io = StringIO ()
127+ >> > io = BytesIO ()
143128 >> > save_data(io, data)
144129 >> > # do something with the io
145130 >> > # In reality, you might give it to your http response
@@ -225,26 +210,29 @@ Then install relevant development requirements:
225210#. pip install -r tests/requirements.txt
226211
227212Once you have finished your changes, please provide test case(s), relevant documentation
228- and update CHANGELOG.rst.
213+ and update changelog.yml
229214
230215.. note ::
231216
232217 As to rnd_requirements.txt, usually, it is created when a dependent
233- library is not released. Once the dependecy is installed
218+ library is not released. Once the dependency is installed
234219 (will be released), the future
235220 version of the dependency in the requirements.txt will be valid.
236221
237222
238223How to test your contribution
239- ------------------------------
224+ --------------------------------------------------------------------------------
240225
241- 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.
226+ Although `nose ` and `doctest ` are both used in code testing, it is advisable
227+ that unit tests are put in tests. `doctest ` is incorporated only to make sure
228+ the code examples in documentation remain valid across different development
229+ releases.
242230
243231On Linux/Unix systems, please launch your tests like this::
244232
245233 $ make
246234
247- On Windows systems , please issue this command::
235+ On Windows, please issue this command::
248236
249237 > test.bat
250238
@@ -256,7 +244,7 @@ Please run::
256244
257245 $ make format
258246
259- so as to beautify your code otherwise travis-ci may fail your unit test.
247+ so as to beautify your code otherwise your build may fail your unit test.
260248
261249
262250
0 commit comments