Skip to content

Commit 348f8c9

Browse files
committed
🤝 update project meta data
1 parent 4f3cd37 commit 348f8c9

File tree

6 files changed

+74
-62
lines changed

6 files changed

+74
-62
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2019 by Onni Software Ltd. and its contributors
1+
Copyright (c) 2015-2020 by Onni Software Ltd. and its contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms of the software as well
@@ -13,7 +13,7 @@ that the following conditions are met:
1313
and/or other materials provided with the distribution.
1414

1515
* Neither the name of 'django-excel' nor the names of the contributors
16-
may be used to endorse or promote products derived from this software
16+
may not be used to endorse or promote products derived from this software
1717
without specific prior written permission.
1818

1919
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND

README.rst

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ django-excel - Let you focus on data, instead of file formats
2525
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
2626
:target: https://gitter.im/pyexcel/Lobby
2727

28+
.. image:: https://img.shields.io/static/v1?label=continuous%20templating&message=%E6%A8%A1%E7%89%88%E6%9B%B4%E6%96%B0&color=blue&style=flat-square
29+
:target: https://moban.readthedocs.io/en/latest/#at-scale-continous-templating-for-open-source-projects
30+
31+
.. image:: https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square
32+
:target: https://github.com/psf/black
2833
.. image:: https://readthedocs.org/projects/django-excel/badge/?version=latest
2934
:target: http://django-excel.readthedocs.org/en/latest/
3035

@@ -97,44 +102,47 @@ The highlighted features are:
97102

98103
.. table:: A list of file formats supported by external plugins
99104

100-
======================== ======================= ================= ==================
101-
Package name Supported file formats Dependencies Python versions
102-
======================== ======================= ================= ==================
103-
`pyexcel-io`_ >=v0.6.0 csv, csvz [#f1]_, tsv, 3.6+
104-
tsvz [#f2]_
105-
`pyexcel-io`_ <=0.5.20 same as above 2.6, 2.7, 3.3,
106-
3.4, 3.5, 3.6
107-
pypy
108-
`pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, same as above
105+
======================== ======================= =================
106+
Package name Supported file formats Dependencies
107+
======================== ======================= =================
108+
`pyexcel-io`_ csv, csvz [#f1]_, tsv,
109+
tsvz [#f2]_
110+
`pyexcel-xls`_ xls, xlsx(read only), `xlrd`_,
109111
xlsm(read only) `xlwt`_
110-
`pyexcel-xlsx`_ xlsx `openpyxl`_ same as above
111-
`pyexcel-ods3`_ ods `pyexcel-ezodf`_, 2.6, 2.7, 3.3, 3.4
112-
lxml 3.5, 3.6
113-
`pyexcel-ods`_ ods `odfpy`_ same as above
114-
======================== ======================= ================= ==================
112+
`pyexcel-xlsx`_ xlsx `openpyxl`_
113+
`pyexcel-ods3`_ ods `pyexcel-ezodf`_,
114+
lxml
115+
`pyexcel-ods`_ ods `odfpy`_
116+
======================== ======================= =================
115117

116118
.. table:: Dedicated file reader and writers
117119

118-
======================== ======================= ================= ==================
119-
Package name Supported file formats Dependencies Python versions
120-
======================== ======================= ================= ==================
121-
`pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ Python 2 and 3
122-
`pyexcel-xlsxr`_ xlsx(read only) lxml same as above
123-
`pyexcel-xlsbr`_ xlsx(read only) pyxlsb same as above
124-
`pyexcel-odsr`_ read only for ods, fods lxml same as above
125-
`pyexcel-odsw`_ write only for ods loxun same as above
126-
`pyexcel-htmlr`_ html(read only) lxml,html5lib same as above
127-
`pyexcel-pdfr`_ pdf(read only) pdftables Python 2 only.
128-
======================== ======================= ================= ==================
120+
======================== ======================= =================
121+
Package name Supported file formats Dependencies
122+
======================== ======================= =================
123+
`pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_
124+
`pyexcel-libxlsxw`_ xlsx(write only) `libxlsxwriter`_
125+
`pyexcel-xlsxr`_ xlsx(read only) lxml
126+
`pyexcel-xlsbr`_ xlsb(read only) pyxlsb
127+
`pyexcel-odsr`_ read only for ods, fods lxml
128+
`pyexcel-odsw`_ write only for ods loxun
129+
`pyexcel-htmlr`_ html(read only) lxml,html5lib
130+
`pyexcel-pdfr`_ pdf(read only) camelot
131+
======================== ======================= =================
129132

130133

131134
Plugin shopping guide
132135
------------------------
133136

137+
Since 2020, all pyexcel-io plugins have dropped the support for python version
138+
lower than 3.6. If you want to use any python verions, please use pyexcel-io
139+
and its plugins version lower than 0.6.0.
140+
141+
134142
Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of
135-
xml files
143+
xml files
136144

137-
The dedicated readers for excel files can stream read
145+
The dedicated readers for excel files can stream read
138146

139147

140148
In order to manage the list of plugins installed, you need to use pip to add or remove
@@ -156,6 +164,7 @@ You need to append get_array(..., library='pyexcel-odsr').
156164
.. _pyexcel-pdfr: https://github.com/pyexcel/pyexcel-pdfr
157165

158166
.. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw
167+
.. _pyexcel-libxlsxw: https://github.com/pyexcel/pyexcel-libxlsxw
159168
.. _pyexcel-xlsxr: https://github.com/pyexcel/pyexcel-xlsxr
160169
.. _pyexcel-xlsbr: https://github.com/pyexcel/pyexcel-xlsbr
161170
.. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr
@@ -166,6 +175,7 @@ You need to append get_array(..., library='pyexcel-odsr').
166175
.. _XlsxWriter: https://github.com/jmcnamara/XlsxWriter
167176
.. _pyexcel-ezodf: https://github.com/pyexcel/pyexcel-ezodf
168177
.. _odfpy: https://github.com/eea/odfpy
178+
.. _libxlsxwriter: http://libxlsxwriter.github.io/getting_started.html
169179

170180
.. table:: Other data renderers
171181

docs/source/index.rst

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -57,44 +57,47 @@ The highlighted features are:
5757

5858
.. table:: A list of file formats supported by external plugins
5959

60-
======================== ======================= ================= ==================
61-
Package name Supported file formats Dependencies Python versions
62-
======================== ======================= ================= ==================
63-
`pyexcel-io`_ >=v0.6.0 csv, csvz [#f1]_, tsv, 3.6+
64-
tsvz [#f2]_
65-
`pyexcel-io`_ <=0.5.20 same as above 2.6, 2.7, 3.3,
66-
3.4, 3.5, 3.6
67-
pypy
68-
`pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, same as above
60+
======================== ======================= =================
61+
Package name Supported file formats Dependencies
62+
======================== ======================= =================
63+
`pyexcel-io`_ csv, csvz [#f1]_, tsv,
64+
tsvz [#f2]_
65+
`pyexcel-xls`_ xls, xlsx(read only), `xlrd`_,
6966
xlsm(read only) `xlwt`_
70-
`pyexcel-xlsx`_ xlsx `openpyxl`_ same as above
71-
`pyexcel-ods3`_ ods `pyexcel-ezodf`_, 2.6, 2.7, 3.3, 3.4
72-
lxml 3.5, 3.6
73-
`pyexcel-ods`_ ods `odfpy`_ same as above
74-
======================== ======================= ================= ==================
67+
`pyexcel-xlsx`_ xlsx `openpyxl`_
68+
`pyexcel-ods3`_ ods `pyexcel-ezodf`_,
69+
lxml
70+
`pyexcel-ods`_ ods `odfpy`_
71+
======================== ======================= =================
7572

7673
.. table:: Dedicated file reader and writers
7774

78-
======================== ======================= ================= ==================
79-
Package name Supported file formats Dependencies Python versions
80-
======================== ======================= ================= ==================
81-
`pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ Python 2 and 3
82-
`pyexcel-xlsxr`_ xlsx(read only) lxml same as above
83-
`pyexcel-xlsbr`_ xlsx(read only) pyxlsb same as above
84-
`pyexcel-odsr`_ read only for ods, fods lxml same as above
85-
`pyexcel-odsw`_ write only for ods loxun same as above
86-
`pyexcel-htmlr`_ html(read only) lxml,html5lib same as above
87-
`pyexcel-pdfr`_ pdf(read only) pdftables Python 2 only.
88-
======================== ======================= ================= ==================
75+
======================== ======================= =================
76+
Package name Supported file formats Dependencies
77+
======================== ======================= =================
78+
`pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_
79+
`pyexcel-libxlsxw`_ xlsx(write only) `libxlsxwriter`_
80+
`pyexcel-xlsxr`_ xlsx(read only) lxml
81+
`pyexcel-xlsbr`_ xlsb(read only) pyxlsb
82+
`pyexcel-odsr`_ read only for ods, fods lxml
83+
`pyexcel-odsw`_ write only for ods loxun
84+
`pyexcel-htmlr`_ html(read only) lxml,html5lib
85+
`pyexcel-pdfr`_ pdf(read only) camelot
86+
======================== ======================= =================
8987

9088

9189
Plugin shopping guide
9290
------------------------
9391

92+
Since 2020, all pyexcel-io plugins have dropped the support for python version
93+
lower than 3.6. If you want to use any python verions, please use pyexcel-io
94+
and its plugins version lower than 0.6.0.
95+
96+
9497
Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of
95-
xml files
98+
xml files
9699

97-
The dedicated readers for excel files can stream read
100+
The dedicated readers for excel files can stream read
98101

99102

100103
In order to manage the list of plugins installed, you need to use pip to add or remove
@@ -116,6 +119,7 @@ You need to append get_array(..., library='pyexcel-odsr').
116119
.. _pyexcel-pdfr: https://github.com/pyexcel/pyexcel-pdfr
117120

118121
.. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw
122+
.. _pyexcel-libxlsxw: https://github.com/pyexcel/pyexcel-libxlsxw
119123
.. _pyexcel-xlsxr: https://github.com/pyexcel/pyexcel-xlsxr
120124
.. _pyexcel-xlsbr: https://github.com/pyexcel/pyexcel-xlsbr
121125
.. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr
@@ -126,6 +130,7 @@ You need to append get_array(..., library='pyexcel-odsr').
126130
.. _XlsxWriter: https://github.com/jmcnamara/XlsxWriter
127131
.. _pyexcel-ezodf: https://github.com/pyexcel/pyexcel-ezodf
128132
.. _odfpy: https://github.com/eea/odfpy
133+
.. _libxlsxwriter: http://libxlsxwriter.github.io/getting_started.html
129134

130135
.. table:: Other data renderers
131136

lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip install flake8
2-
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
2+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

rnd_requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
https://github.com/pyexcel/pyexcel/archive/dev.zip
2-
https://github.com/pyexcel/pyexcel-io/archive/dev.zip
3-
https://github.com/pyexcel/pyexcel-webio/archive/master.zip

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,14 @@
9393
}
9494
# You do not need to read beyond this line
9595
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
96+
HERE = os.path.abspath(os.path.dirname(__file__))
97+
9698
GS_COMMAND = ("gs django-excel v0.0.10 " +
9799
"Find 0.0.10 in changelog for more details")
98100
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
99101
"Please install gease to enable it.")
100102
UPLOAD_FAILED_MSG = (
101103
'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND)
102-
HERE = os.path.abspath(os.path.dirname(__file__))
103104

104105

105106
class PublishCommand(Command):
@@ -145,7 +146,6 @@ def run(self):
145146
"publish": PublishCommand
146147
})
147148

148-
149149
def has_gease():
150150
"""
151151
test if github release command is installed

0 commit comments

Comments
 (0)