Commit Graph

715 Commits

Author SHA1 Message Date
chfw b3cb1a05c8 🔨 update code for denepdency injection and add user warning about older interface 2020-10-07 19:49:53 +01:00
chfw c684c08efa 🔨 shift NamedContent to plugin interface 2020-10-06 23:12:24 +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 29c26680a7
Integration with pyexcel-xlsx (#89)
* 💄 minor tweak in code

* 💚 use value error
2020-10-01 21:51:55 +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 efcf49ca14
Sheet writer interface (#87)
* 🔥 code reuse

* 🎉 update available plugins

* 🐛 update missing file

* 💚 update test cases

*  outline the plugin sheet writer interface. well, break the old interface

* 🚜 break the old interface

* 🔥 remove useless metaphor
2020-09-30 22:23:43 +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
chfw b2c774cd94 This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-26 21:45:17 +00:00
chfw 3aa802f878 Merge branch 'dev' of https://github.com/pyexcel/pyexcel-io into dev 2020-09-26 22:36:29 +01:00
chfw f6293637e8 🐛 unwanted hard code for it to work with existing code. this fix shall go to pyexcel, but not here. let do it properly in next version 2020-09-26 22:36:22 +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
chfw 9fa3f4051e This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-26 13:33:28 +00: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 7a3957c36f This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-19 15:39:56 +00:00
chfw 05fe518b2f merge branch 'dev' of https://github.com/pyexcel/pyexcel-io into dev 2020-09-19 16:39:25 +01:00
chfw 95842cf9ac 💄 update coding style 2020-09-19 16:39:17 +01:00
chfw 61d7404214 This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-19 15:37:09 +00: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
chfw ba6ea5ac91 Merge branch 'dev' of https://github.com/pyexcel/pyexcel-io into dev 2020-09-19 16:30:18 +01:00
chfw e8f798b4c8 💚 update moban update dependencies 2020-09-19 16:30:10 +01:00
chfw 255a88b8ea This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-19 15:28:42 +00:00
chfw e205c50324 📚 relocate change log to changelog.yml, which will be rendered into CHANGELOG.rst. #75 2020-09-19 16:28:11 +01:00
chfw 249d95d6a1 This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-09-19 15:24:05 +00:00
Craig Anderson 1ee31b0308
handle zip files which contain non-UTF-8 encoded files (#75) 2020-09-19 16:23:33 +01:00
chfw a96bdc32c6 This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst 2020-08-23 00:21:58 +00:00
chfw de6344e11e 🚀 github actions for moban and automatically extract contributors 2020-08-23 01:21:19 +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 fc30cce46e 🔨 code refactoring 2020-06-12 23:36:19 +01:00
chfw 4193e9b187 🔥 remove rnd package 2020-06-12 23:30:00 +01:00
chfw 11c8f45eb6 🐛 update write_data as store_data 2020-06-12 23:22:29 +01:00
chfw 9455eb2009 💚 pass github ci 2020-06-12 23:19:45 +01:00
chfw 87093eac38 💚 pass github ci 2020-06-12 23:16:43 +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 2912ca6cb3 📚 align ci system github does latest and travis does min 2020-06-12 22:22:00 +01:00
chfw 725aa26ed6 keep pyexcel-xx 0.5.0 compactibility 2020-06-12 22:09:57 +01:00
chfw 9640ed4119 🔨 new reader implementation 2020-05-04 21:13:12 +01:00
chfw 1440df833b 🔨 new writer implementation prototype 2020-05-04 21:05:42 +01:00
chfw f1b715112b 🔥 remove python 2 code 2020-05-04 20:40:19 +01:00
chfw 44a8615e1c 🔥 remove python 2 support 2020-05-04 20:37:21 +01:00
chfw 9f3e1bfc00 🔥 remove python 2 code 2020-05-04 20:34:45 +01:00