Commit Graph

365 Commits

Author SHA1 Message Date
chfw c7039124b2 💄 update copyright year 2022-01-28 23:49:29 +00:00
chfw d2cbb5decf 💚 convert print to log. resolves #112 2022-01-28 23:47:26 +00:00
chfw e40737495b 💄 use latest black formatter 2021-10-08 08:05:37 +01:00
vinraspa 04f992c2ed
Update service.py (#109)
Add datetime.datetime: "datetime" to ODS_WRITE_FORMAT_COVERSION dict
2021-10-01 22:34:35 +01:00
chfw 98e0e762b6 💄 update coding style 2020-10-31 12:36:54 +00:00
jaska 783bbb5acc
Django plug-in Enhancement (#105)
* 💄 remove double underscores on private variables. it sucks when debugging

* 📚 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-10-31 11:30:18 +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
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
chfw 5afbe747f4 🐛 try support pyexcel-xls 0.4.1 on python 3.6. fix #94 2020-10-08 00:22:38 +01:00
chfw 233045f889 🐛 fix the potential to leave unclosed handle. 2020-10-07 22:58:17 +01:00
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 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
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
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 fc30cce46e 🔨 code refactoring 2020-06-12 23:36:19 +01:00
chfw 11c8f45eb6 🐛 update write_data as store_data 2020-06-12 23:22:29 +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
chfw fc38e2bb14 🔨 code refactoring 2020-05-04 20:32:37 +01:00
chfw 276a2c1d02 🔥 remove python 2 support . and now the cluttered code looks slightly better 2020-05-03 21:25:33 +01:00
chfw 84a5bd6ba1 👕 update coding style 2019-11-07 23:31:49 +00:00
chfw e79bb588da 📚 update sponsorship details 2019-11-07 20:26:42 +00:00
chfw 7125899ee4 🔨 code refactoring on exception strings 2019-11-03 21:48:32 +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 57b1b49b0a 🐛 fix python 3 bug with http source. fix https://github.com/pyexcel/pyexcel/issues/185 2019-07-14 08:08:56 +01:00