Commit Graph

248 Commits

Author SHA1 Message Date
jaska c6111784be
windows bulid on github actions (#107)
*  enable github actions for pyexcel-io. https://github.com/pyexcel/pyexcel/issues/238, https://github.com/pyexcel/pyexcel

* 🐛 in test. memory map file on windows needs close.

* 💚 increase verbosity

* 💚 setup utf-8 encoding

* 💚 give a line break

* 💚 verify the tests on windows

* 💚 python 3 need no unicode annotation

* 💚 use Finnish world instead of Chinese one for now

* 🔥 extra statement had no use

* 🔥 remove travis config

* 🔥 repalce travis status

*  kick start next version

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-11-28 18:53:18 +00:00
chfw 98e0e762b6 💄 update coding style 2020-10-31 12:36:54 +00:00
jaska cd081dddaa
Django jump column (#103)
*  support skipping columns when importing a spreadsheet. fix #102

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 📚 update typo in changelog.yml

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-10-29 07:18:43 +00:00
chfw 6b9b0f7e3f 🥚 🎡 release 0.6.3 2020-10-12 22:58:12 +01:00
jaska 71c28b4bc9
Issue 96 (#97)
* 🐛 regression: unknown file type shall trigger NoSupportingPluginFound. fix #96

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💚 update coding style. #96

* 🔬 more test coverage

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-10-12 22:56:58 +01:00
jaska a923bce3be
Bits bulbs (#92)
* 📚 update doc strings and plugin compactibility list

* 🔥 remove PY2 related code and update docs

* 🔬 more test coverage
2020-10-06 22:13:56 +01:00
jaska 9517e0bf49
WIP - Document the way to write reader and writer plugins (#91)
* 📚 add custom plugin writer

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 📚 update writer plugin

* 📚 update plugin writer and reader documentation

* 📚 telling the location of the example codes

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-10-05 23:36:42 +01:00
jaska fa808870d3
Improve reader interface (#90)
* 🔨 improve reader interface

* 🔨 shrink reader code

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 🔥 remove redundant functionalitoes, never will use. what's the point

* 📚 updated doc string and the tutorial

* 🔨 update import statements

* 🔬 more test coverage

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💚 fix unit test failure

* 📚 update reader plugin example

* 💄 update coding style

* 📚 fix index rst file

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-10-04 22:15:23 +01:00
jaska dacbbf33f3
allow trailing options, get_data(...keep_trailing_empty_cells=… (#88)
* 🎉 allow trailing options, get_data(...keep_trailing_empty_cells=True). fix #86

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💄 update coding style

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-30 22:45:04 +01:00
jaska 27ba6066ba
Refactor django and sqlalchemy writers (#85)
* 🔥 code reuse

* 🎉 update available plugins

* 🐛 update missing file

* 💚 update test cases
2020-09-29 22:50:22 +01:00
jaska 13ee5d6c0b
Code refinement (#84)
* 🚜 code refactoring

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 🚜 update code readability

* 💄 fix a bug

* 💄 minor update

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-29 21:55:01 +01:00
jaska 80a2d259d0
WIP - Query set reader (#83)
*  new query reader

* 💚 add close implementation

* 💄 update coding style

* 🐛 update close as class method

* 💄 use default sheet name

* 🔬 test query reader

* 💄 update coding style

* 💚 test close method

* 📚 update change log

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-29 19:24:16 +01:00
jaska d66637afa9
Plugin api (#82)
* 🎉 abstract reader and writer

* 🔨 update sheet interface

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-28 21:44:11 +01:00
jaska 020b8f0a9f
One reader/writer handle many file types, i.e. csv reader for csv and tsv (#81)
* 🐛 pyexcel-io used to allow one reader/writer handles more than one file type

* 📚 update pyinstaller instructions

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💄 update coding style

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-27 23:30:53 +01:00
jaska 093c937773
plugin and writer interfaces update (#79)
* 🚜 update new io plugin adder

* 🔨 interface update

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-26 15:00:19 +01:00
jaska a50b214e92
WIP - New style database plugin (#78)
* 🎉 new style django model reader

* 🎉 new style sqlalchemy table reader

*  new style django model importer

*  new style sql table importer

* 🔥 remove useless code

* 💄 update programming style

* 🔬 more test coverage
2020-09-26 14:32:48 +01:00
jaska d6f0f38896
WIP : Code refactoring (#77)
* 🔨 simplify the plugin interface. 🔥 no open function, 🔥 no more useless set_type, each plugin knows its type.

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 🚜 csvr to csv_sheet

* 🚜 better naming for the readers

* 🤝 update gitignore

* 📚 update pyinstaller notes

* 🔥 remmove python 2 related compactibility codes

* 💄 update coding style

* 🔥 remove test files generated during tests

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-22 22:00:25 +01:00
jaska 4bc78d671c
New style writer (#76)
* 🔨 code up the new writer interface

* 🐴 prototype

* 🚜 new style csv writer for file, content and stream

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💚 add test dependency

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 💚 update moban update yaml

* 💄 update coding style with latest black, isort

*  tsv writers in new style

* 🐴 new style csvz writer

* 🐴 new style tsvz writer

* 🔥 remove old style csvz and tsvz writers

* 🔥 remove old style csv and tsv writer

* 📚 update changelog

* 🚜 code refactoring and update 📚

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

* 🚜 rename sheet writer files

* 🔥 remove .moban.hashes

* 🔥 remove useless set_type function call

* 💄 update coding style

Co-authored-by: chfw <chfw@users.noreply.github.com>
2020-09-21 22:17:07 +01:00
chfw 95842cf9ac 💄 update coding style 2020-09-19 16:39:17 +01:00
chfw 5a22a855ac 📚 auto update(this is auto scraped from github profile) contributors and change log. #75 2020-09-19 16:36:41 +01:00
Craig Anderson 1ee31b0308
handle zip files which contain non-UTF-8 encoded files (#75) 2020-09-19 16:23:33 +01:00
jaska ca35d108d7
New style plugin - reader (#73)
* 🔨 intial draft of the new reader

* 🔨 rewrote tsv reader

* 🔨 rewrite tsvz csvz readers

* 🔨 isolate what pyexcel-io knows about the sheet and plugin knows about the sheet
2020-06-19 22:46:02 +01:00
chfw d643f72bae 💚 pass lint 2020-06-12 23:12:31 +01:00
chfw 7acc301a97 🤝 synchronize with pyexcel-mobans and pypi-mobans 2020-06-12 23:09:05 +01:00
chfw 4ba1e4833e 💚 make github ci pass 2020-06-12 22:25:57 +01:00
chfw 725aa26ed6 keep pyexcel-xx 0.5.0 compactibility 2020-06-12 22:09:57 +01:00
chfw fc38e2bb14 🔨 code refactoring 2020-05-04 20:32:37 +01:00
chfw 24a5f35b4a 🐛 update test requirements.txt 2019-11-07 23:36:59 +00:00
chfw 84a5bd6ba1 👕 update coding style 2019-11-07 23:31:49 +00:00
chfw f3fb3cf088 🤝 merge with master, 0.5.20 2019-09-28 17:19:01 +01:00
chfw e65e939c1b 🐛 💄 better error handling. fix #70 2019-07-17 21:06:24 +01:00
chfw 3408497c81 🤝 merge with master 2019-07-15 08:55:54 +01:00
chfw 3b6a380b70 💚 fix styling problem 2019-07-14 08:21:12 +01:00
chfw 3a6e86cfd6 💚 text and binary file types 2019-07-14 08:13:55 +01:00
chfw 57b1b49b0a 🐛 fix python 3 bug with http source. fix https://github.com/pyexcel/pyexcel/issues/185 2019-07-14 08:08:56 +01:00
chfw b0ae275eca support force_file_type on save_data. fix #69 2019-06-12 20:51:48 +01:00
chfw ec62f384ef 🔨 reformat code 2019-04-04 21:42:02 +01:00
chfw 1a47d9e917 🤝 merge with master 2019-04-04 21:40:11 +01:00
chfw 086aacff85 :wheel_chair: better error message. fix #68 2019-04-04 21:26:36 +01:00
chfw e6444b8256 🤝 merge with master 2019-03-19 19:14:03 +00:00
chfw 1dfe9457f1 💚 update unit test 2019-03-19 07:48:40 +00:00
chfw c7a95d0041 💚 fix linting issue 2019-03-19 07:45:27 +00:00
chfw 4034787f46 🐛 fix the conversion issue for long type on python 2. fix #67 2019-03-19 07:35:45 +00:00
chfw 29a7ffcbaa 🤝 sync with latest pyexcel-commons 2019-03-16 14:35:44 +00:00
chfw 588ad8931a 📰 make python2 setup.py test happy. fix #65 2019-02-20 18:32:57 +00:00
chfw e0c7fedc04 🤝 merge with 0.5.11 2018-12-05 17:59:26 +00:00
chfw d1cfa8852b 💚 make test pass 2018-11-27 07:33:50 +00:00
chfw 8336c4d03b 💚 fix unit test 2018-11-26 08:07:40 +00:00
chfw e37ed9f6e4 🐛 fix bugs during integration tests 2018-11-26 07:19:51 +00:00
chfw a62527e7de guard against integer precision loss. https://github.com/pyexcel/pyexcel-ods/issues/30 2018-11-25 13:40:10 +00:00