Commit Graph

274 Commits

Author SHA1 Message Date
Fabio Caccamo 473bc87b69 Update `CHANGELOG` and version. 2023-01-12 13:14:04 +01:00
Fabio Caccamo d839903d8b Update `CHANGELOG` and version. 2023-01-11 11:13:03 +01:00
Fabio Caccamo 626e671f00 Update `CHANGELOG` and version. 2023-01-02 18:25:17 +01:00
Fabio Caccamo a83e6473a6 Add support for `pathlib.Path`. #144 2023-01-02 17:53:55 +01:00
Fabio Caccamo 1284afb8a6 Add `pyupgrade` to `pre-commit` config. 2022-12-31 18:33:20 +01:00
Fabio Caccamo 24dbf9febf Update `CHANGELOG` and version. 2022-12-29 15:48:57 +01:00
Fabio Caccamo 0bdd999cdd
Fix `s3_options` option forwarded to `json` decoder. (#204) 2022-12-29 15:38:25 +01:00
Fabio Caccamo a7edec7285 Remove encoding pragma. 2022-12-05 20:35:43 +01:00
Fabio Caccamo a2ed50bd19 Update `CHANGELOG` and version. 2022-11-26 10:10:16 +01:00
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 cfc9113db1 Update `CHANGELOG` and version. 2022-10-12 15:13:44 +02:00
Fabio Caccamo 5ac299d1e7
Add `s3` support to I/O operations. (#126) 2022-10-12 15:12:03 +02:00
Fabio Caccamo a1e5b9f8cc
Fix subclasses type. #115 (#124) 2022-10-09 15:15:51 +02:00
Fabio Caccamo f917417a89 Update `CHANGELOG` and version. 2022-10-09 15:07:57 +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 0eabbc7d07 Update `CHANGELOG` and version. 2022-09-06 13:12:21 +02:00
Fabio Caccamo 195ed03ae1 Fix `toml` encoding circular reference error. #110 2022-09-06 13:11:15 +02:00
Fabio Caccamo 9ac91aa779 Update `CHANGELOG` and version. 2022-08-23 10:01:46 +02:00
Fabio Caccamo 4ef9c25114 Fix set dict item value in list. #109 2022-08-23 10:00:10 +02:00
Fabio Caccamo 03a5a08f17 Updated CHANGELOG and version. 2022-07-16 00:00:42 +02:00
Fabio Caccamo f7d59a2cb8 Fixed `deepcopy` with pointer. 2022-07-15 23:56:04 +02:00
Fabio Caccamo 37fed12485 Fixed `swap` between dict items. 2022-07-15 23:54:34 +02:00
Fabio Caccamo 244f6056bc Fixed `orjson` compatibility. #102 2022-07-15 23:53:34 +02:00
Fabio Caccamo af635fa7e6 Updated CHANGELOG and version. 2022-04-27 19:26:46 +02:00
Fabio Caccamo 74db9d7b7c Fixed broken `yaml` serialization with `benedict` attributes. #89 2022-04-27 19:26:34 +02:00
Fabio Caccamo 95a0ca196c Fixed `flatten` not working when separator is equal to `keypath_separator`. #88 2022-04-27 19:26:21 +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 86bc56dddc Updated CHANGELOG and version. 2022-02-18 00:37:53 +01:00
Fabio Caccamo 0457802c17 Removed dead code. 2022-02-18 00:36:49 +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 ca1811f7bb Updated CHANGELOG and version. 2021-10-04 12:23:31 +02:00
Fabio Caccamo 8758137c89 Added tuple index support when getting items. #66 2021-10-02 16:56:28 +02:00
Fabio Caccamo 536c7dde3f Added `type_util.is_dict_or_list_or_tuple` method. 2021-10-02 16:49:58 +02:00
Fabio Caccamo c98c471065 Updated CHANGELOG and version. 2021-08-11 11:27:47 +02:00
Fabio Caccamo 92d9a32d5b Fixed `json.dumps()` when `benedict` is initialized with an empty dict. #57 #61 2021-08-11 11:27:02 +02:00
Fabio Caccamo 8e7814cbe7 Updated CHANGELOG and version. 2021-08-01 12:12:22 +02:00
Fabio Caccamo e8ccb7270e Fixed `json.dumps()` when `benedict` is initialized with an empty dict. #57 2021-08-01 12:12:05 +02:00
Fabio Caccamo 45413055ed Updated version and CHANGELOG. 2021-05-04 23:43:33 +02:00
Fabio Caccamo b46a87de04 Added `ini` format support. #36 #40 2021-05-04 23:22:11 +02:00
Fabio Caccamo f364542949 Fixed `to_toml` circular reference error. #53 2021-05-04 15:12:02 +02:00
Fabio Caccamo 81ff459304 Updated `to_csv` comments and usage example. [ci skip] 2021-04-23 12:56:00 +02:00
Fabio Caccamo e7861ec5d4 Improved QueryStringSerializer regex. 2021-02-08 15:08:08 +01:00
Fabio Caccamo 0282ddbb50 Updated version and CHANGELOG. 2021-01-19 11:58:53 +01:00
Fabio Caccamo 0ca7599841 Fixed lists concat when merging nested dicts. #48 2021-01-19 11:55:35 +01:00
Fabio Caccamo 6bae657d44 Fixed BaseDict initialized with BaseDict subclass argument. 2021-01-18 15:52:59 +01:00