Commit Graph

36 Commits

Author SHA1 Message Date
Fabio Caccamo e9d2d85f78 Read `toml` files using the standard `tomlib` (if available). #143 2022-11-22 14:11:22 +01:00
Fabio Caccamo b504e00d7e Add `pre-commit` with `black`, `isort` and `flake8`. 2022-10-14 16:53:06 +02:00
Fabio Caccamo 5ac299d1e7
Add `s3` support to I/O operations. (#126) 2022-10-12 15:12:03 +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 195ed03ae1 Fix `toml` encoding circular reference error. #110 2022-09-06 13:11:15 +02:00
Fabio Caccamo 74db9d7b7c Fixed broken `yaml` serialization with `benedict` attributes. #89 2022-04-27 19:26:34 +02:00
Fabio Caccamo 8b7a9b6d98 Improved code quality. 2022-03-24 13:26:18 +01:00
Fabio Caccamo 7d6b709ddf Replaced `string.format` with `f-strings`. 2022-02-18 01:02:02 +01: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 b46a87de04 Added `ini` format support. #36 #40 2021-05-04 23:22:11 +02:00
Fabio Caccamo e7861ec5d4 Improved QueryStringSerializer regex. 2021-02-08 15:08:08 +01: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 b7066e1812 Removed unnecessary dict() calls. 2020-12-22 12:49:23 +01:00
Fabio Caccamo bfd2c04a48 Fixed python 2 plist unicode support. 2020-09-10 18:41:34 +02:00
Fabio Caccamo ac789db31d Added plist support. 2020-09-09 16:45:39 +02:00
Fabio Caccamo 3282866414 Improved serializers.get_serializers_by_format format to key conversion. 2020-09-09 12:21:47 +02:00
Fabio Caccamo d0dfee0681 Added data format auto-detection when creating instance with data from filepath or url. 2020-03-13 13:54:53 +01:00
Fabio Caccamo b82e6bb724 Changed pickle default protocol to 2. 2020-02-21 14:36:07 +01:00
Fabio Caccamo 28a58aa5d7 Removed unnecessary type check. 2020-02-21 13:54:33 +01:00
Fabio Caccamo d721d8c986 Changed pickle default protocol to pickle.HIGHEST_PROTOCOL. 2020-02-21 13:53:09 +01:00
Fabio Caccamo cd0bb36ff3 Refactored Base64Serializer. 2020-02-20 17:15:14 +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 ea3141b769 Added pickle serializer. 2020-02-19 18:14:23 +01:00
Fabio Caccamo 84ced6c68b Added datetime, Decimal and set support to JSONSerializer. 2020-02-19 18:12:36 +01:00
Fabio Caccamo 87c3ddbc5b Removed slugify usage in serializers. 2020-02-19 15:17:28 +01:00
Fabio Caccamo fdb4569f69 Updated serializers encode/decode methods to staticmethod(s). 2020-02-19 15:16:23 +01:00
Fabio Caccamo 3bd5271616 Reorganized lib and tests packages, improved code quality. 2020-02-03 18:25:54 +01:00
Fabio Caccamo b9aab97f53 Removed unused import. 2020-02-03 12:07:41 +01:00
Fabio Caccamo be647c27dc Improved code quality and tests coverage. 2020-01-31 13:02:07 +01:00
Fabio Caccamo 5dd83a7283 Refactored code implementing type_util methods. 2020-01-30 15:31:53 +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