diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f3226d0..92e656b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,10 @@ Change log #. `#96 `_: regression: unknown file type shall trigger NoSupportingPluginFound +**updated** + +#. extra dependencies uses 0.6.0 based plugins + 0.6.2 - 7.10.2020 -------------------------------------------------------------------------------- diff --git a/README.rst b/README.rst index 2f9b838..9ea17e3 100644 --- a/README.rst +++ b/README.rst @@ -74,44 +74,47 @@ sqlalchemy supported databases. Its supported file formats are extended to cover .. table:: A list of file formats supported by external plugins - ======================== ======================= ================= ================== - Package name Supported file formats Dependencies Python versions - ======================== ======================= ================= ================== - `pyexcel-io`_ >=v0.6.0 csv, csvz [#f1]_, tsv, 3.6+ - tsvz [#f2]_ - `pyexcel-io`_ <=0.5.20 same as above 2.6, 2.7, 3.3, - 3.4, 3.5, 3.6 - pypy - `pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, same as above + ======================== ======================= ================= + Package name Supported file formats Dependencies + ======================== ======================= ================= + `pyexcel-io`_ csv, csvz [#f1]_, tsv, + tsvz [#f2]_ + `pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, xlsm(read only) `xlwt`_ - `pyexcel-xlsx`_ xlsx `openpyxl`_ same as above - `pyexcel-ods3`_ ods `pyexcel-ezodf`_, 2.6, 2.7, 3.3, 3.4 - lxml 3.5, 3.6 - `pyexcel-ods`_ ods `odfpy`_ same as above - ======================== ======================= ================= ================== + `pyexcel-xlsx`_ xlsx `openpyxl`_ + `pyexcel-ods3`_ ods `pyexcel-ezodf`_, + lxml + `pyexcel-ods`_ ods `odfpy`_ + ======================== ======================= ================= .. table:: Dedicated file reader and writers - ======================== ======================= ================= ================== - Package name Supported file formats Dependencies Python versions - ======================== ======================= ================= ================== - `pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ Python 2 and 3 - `pyexcel-xlsxr`_ xlsx(read only) lxml same as above - `pyexcel-xlsbr`_ xlsx(read only) pyxlsb same as above - `pyexcel-odsr`_ read only for ods, fods lxml same as above - `pyexcel-odsw`_ write only for ods loxun same as above - `pyexcel-htmlr`_ html(read only) lxml,html5lib same as above - `pyexcel-pdfr`_ pdf(read only) pdftables Python 2 only. - ======================== ======================= ================= ================== + ======================== ======================= ================= + Package name Supported file formats Dependencies + ======================== ======================= ================= + `pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ + `pyexcel-libxlsxw`_ xlsx(write only) `libxlsxwriter`_ + `pyexcel-xlsxr`_ xlsx(read only) lxml + `pyexcel-xlsbr`_ xlsb(read only) pyxlsb + `pyexcel-odsr`_ read only for ods, fods lxml + `pyexcel-odsw`_ write only for ods loxun + `pyexcel-htmlr`_ html(read only) lxml,html5lib + `pyexcel-pdfr`_ pdf(read only) camelot + ======================== ======================= ================= Plugin shopping guide ------------------------ -Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of -xml files +Since 2020, all pyexcel-io plugins have dropped the support for python version +lower than 3.6. If you want to use any python verions, please use pyexcel-io +and its plugins version lower than 0.6.0. -The dedicated readers for excel files can stream read + +Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of +xml files + +The dedicated readers for excel files can stream read In order to manage the list of plugins installed, you need to use pip to add or remove @@ -133,6 +136,7 @@ You need to append get_array(..., library='pyexcel-odsr'). .. _pyexcel-pdfr: https://github.com/pyexcel/pyexcel-pdfr .. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw +.. _pyexcel-libxlsxw: https://github.com/pyexcel/pyexcel-libxlsxw .. _pyexcel-xlsxr: https://github.com/pyexcel/pyexcel-xlsxr .. _pyexcel-xlsbr: https://github.com/pyexcel/pyexcel-xlsbr .. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr @@ -143,6 +147,7 @@ You need to append get_array(..., library='pyexcel-odsr'). .. _XlsxWriter: https://github.com/jmcnamara/XlsxWriter .. _pyexcel-ezodf: https://github.com/pyexcel/pyexcel-ezodf .. _odfpy: https://github.com/eea/odfpy +.. _libxlsxwriter: http://libxlsxwriter.github.io/getting_started.html .. rubric:: Footnotes diff --git a/docs/source/conf.py b/docs/source/conf.py index 9c84362..a2fc48f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,7 +26,7 @@ project = 'pyexcel-io' copyright = '2015-2020 Onni Software Ltd.' author = 'chfw' # The short X.Y version -version = '0.6.2' +version = '0.6.3' # The full version, including alpha/beta/rc tags release = '0.6.3' diff --git a/docs/source/index.rst b/docs/source/index.rst index 4b66b2c..6806a77 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -10,7 +10,6 @@ :Source code: http://github.com/pyexcel/pyexcel-io.git :Issues: http://github.com/pyexcel/pyexcel-io/issues :License: New BSD License -:Development: |release| :Released: |version| :Generated: |today| @@ -65,44 +64,47 @@ For individual excel file formats, please install them as you wish: .. table:: A list of file formats supported by external plugins - ======================== ======================= ================= ================== - Package name Supported file formats Dependencies Python versions - ======================== ======================= ================= ================== - `pyexcel-io`_ >=v0.6.0 csv, csvz [#f1]_, tsv, 3.6+ - tsvz [#f2]_ - `pyexcel-io`_ <=0.5.20 same as above 2.6, 2.7, 3.3, - 3.4, 3.5, 3.6 - pypy - `pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, same as above + ======================== ======================= ================= + Package name Supported file formats Dependencies + ======================== ======================= ================= + `pyexcel-io`_ csv, csvz [#f1]_, tsv, + tsvz [#f2]_ + `pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, xlsm(read only) `xlwt`_ - `pyexcel-xlsx`_ xlsx `openpyxl`_ same as above - `pyexcel-ods3`_ ods `pyexcel-ezodf`_, 2.6, 2.7, 3.3, 3.4 - lxml 3.5, 3.6 - `pyexcel-ods`_ ods `odfpy`_ same as above - ======================== ======================= ================= ================== + `pyexcel-xlsx`_ xlsx `openpyxl`_ + `pyexcel-ods3`_ ods `pyexcel-ezodf`_, + lxml + `pyexcel-ods`_ ods `odfpy`_ + ======================== ======================= ================= .. table:: Dedicated file reader and writers - ======================== ======================= ================= ================== - Package name Supported file formats Dependencies Python versions - ======================== ======================= ================= ================== - `pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ Python 2 and 3 - `pyexcel-xlsxr`_ xlsx(read only) lxml same as above - `pyexcel-xlsbr`_ xlsx(read only) pyxlsb same as above - `pyexcel-odsr`_ read only for ods, fods lxml same as above - `pyexcel-odsw`_ write only for ods loxun same as above - `pyexcel-htmlr`_ html(read only) lxml,html5lib same as above - `pyexcel-pdfr`_ pdf(read only) pdftables Python 2 only. - ======================== ======================= ================= ================== + ======================== ======================= ================= + Package name Supported file formats Dependencies + ======================== ======================= ================= + `pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ + `pyexcel-libxlsxw`_ xlsx(write only) `libxlsxwriter`_ + `pyexcel-xlsxr`_ xlsx(read only) lxml + `pyexcel-xlsbr`_ xlsb(read only) pyxlsb + `pyexcel-odsr`_ read only for ods, fods lxml + `pyexcel-odsw`_ write only for ods loxun + `pyexcel-htmlr`_ html(read only) lxml,html5lib + `pyexcel-pdfr`_ pdf(read only) camelot + ======================== ======================= ================= Plugin shopping guide ------------------------ -Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of -xml files +Since 2020, all pyexcel-io plugins have dropped the support for python version +lower than 3.6. If you want to use any python verions, please use pyexcel-io +and its plugins version lower than 0.6.0. -The dedicated readers for excel files can stream read + +Except csv files, xls, xlsx and ods files are a zip of a folder containing a lot of +xml files + +The dedicated readers for excel files can stream read In order to manage the list of plugins installed, you need to use pip to add or remove @@ -124,6 +126,7 @@ You need to append get_array(..., library='pyexcel-odsr'). .. _pyexcel-pdfr: https://github.com/pyexcel/pyexcel-pdfr .. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw +.. _pyexcel-libxlsxw: https://github.com/pyexcel/pyexcel-libxlsxw .. _pyexcel-xlsxr: https://github.com/pyexcel/pyexcel-xlsxr .. _pyexcel-xlsbr: https://github.com/pyexcel/pyexcel-xlsbr .. _pyexcel-htmlr: https://github.com/pyexcel/pyexcel-htmlr @@ -134,6 +137,7 @@ You need to append get_array(..., library='pyexcel-odsr'). .. _XlsxWriter: https://github.com/jmcnamara/XlsxWriter .. _pyexcel-ezodf: https://github.com/pyexcel/pyexcel-ezodf .. _odfpy: https://github.com/eea/odfpy +.. _libxlsxwriter: http://libxlsxwriter.github.io/getting_started.html .. rubric:: Footnotes diff --git a/lint.sh b/lint.sh index 891aa63..d31eeaa 100644 --- a/lint.sh +++ b/lint.sh @@ -1,2 +1,2 @@ pip install flake8 -flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs +flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs \ No newline at end of file diff --git a/setup.py b/setup.py index 6c9261b..4535574 100644 --- a/setup.py +++ b/setup.py @@ -79,19 +79,20 @@ SETUP_COMMANDS = {} PACKAGES = find_packages(exclude=["ez_setup", "examples", "tests", "tests.*"]) EXTRAS_REQUIRE = { - "xls": ['pyexcel-xls>=0.5.0'], - "xlsx": ['pyexcel-xlsx>=0.5.0'], - "ods": ['pyexcel-ods3>=0.5.0'], + "xls": ['pyexcel-xls>=0.6.0'], + "xlsx": ['pyexcel-xlsx>=0.6.0'], + "ods": ['pyexcel-ods3>=0.6.0'], } # You do not need to read beyond this line PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable) +HERE = os.path.abspath(os.path.dirname(__file__)) + GS_COMMAND = ("gs pyexcel-io v0.6.3 " + "Find 0.6.3 in changelog for more details") NO_GS_MESSAGE = ("Automatic github release is disabled. " + "Please install gease to enable it.") UPLOAD_FAILED_MSG = ( 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND) -HERE = os.path.abspath(os.path.dirname(__file__)) class PublishCommand(Command): @@ -137,7 +138,6 @@ SETUP_COMMANDS.update({ "publish": PublishCommand }) - def has_gease(): """ test if github release command is installed