Commit Graph

16 Commits

Author SHA1 Message Date
Fabio Caccamo 0b511bb1c6 Fix missing dependency on `pyyaml`. #260 2023-03-09 11:29:36 +01:00
Fabio Caccamo 1284afb8a6 Add `pyupgrade` to `pre-commit` config. 2022-12-31 18:33:20 +01:00
Fabio Caccamo a7edec7285 Remove encoding pragma. 2022-12-05 20:35:43 +01:00
Fabio Caccamo b504e00d7e Add `pre-commit` with `black`, `isort` and `flake8`. 2022-10-14 16:53:06 +02:00
Fabio Caccamo ee698600a2
Add read-only `xls` files (`.xlsx`, `.xlsm`, `.xls`) support. #70 (#122)
* Started adding xls format support.

* Add `openpyxl` requirement.

* Add missing serializer class declaration.

* Register serializers with their own format extension(s).

* Sort serializers alphabetically.

* Optional serializer extensions argument.

* Add xls test input files.

* Refactor `io_dict` and `io_utils` for handling correctly local and remote binary files.

* Add `xlrd` requirement for reading old format excel files.

* Remove untestes extensions support.

* Add xls serializer with `.xls`, `.xlsx`, `.xlsm` files support.

* Add support for reading remote binary files.

* Update `README.md`.
2022-10-05 16:43:46 +02:00
Fabio Caccamo 9ea8b4ac46 Dropped python 2.7 and python 3.5 support. 2022-02-17 23:54:30 +01:00
Fabio Caccamo a0d5829812 Updated docstrings. 2022-02-13 11:56:44 +01:00
Fabio Caccamo dad6993054 Reformatted code with Black. 2022-02-13 11:35:43 +01:00
Fabio Caccamo b907e1a9c7 Formatted code with black. 2021-10-12 14:27:35 +02:00
Fabio Caccamo a2036f45bd Removed sort_keys=True by default in JSON serializer. 2020-12-22 13:11:00 +01:00
Fabio Caccamo cd18c854e8 Added sort_keys=True by default in JSON serializer. 2020-12-22 12:49:58 +01:00
Fabio Caccamo a503cd365f Updated serializers encode/decode methods to be instance methods(s). 2020-02-20 17:14:48 +01:00
Fabio Caccamo 84ced6c68b Added datetime, Decimal and set support to JSONSerializer. 2020-02-19 18:12:36 +01:00
Fabio Caccamo fdb4569f69 Updated serializers encode/decode methods to staticmethod(s). 2020-02-19 15:16:23 +01:00
Fabio Caccamo af01fbc270 Fixed Python 2.7 support. 2020-01-20 17:03:59 +01:00
Fabio Caccamo 0ced3fe78c Refactored io_util and added serializers. 2020-01-20 16:19:53 +01:00