Commit Graph

102 Commits

Author SHA1 Message Date
Fabio Caccamo 7e7541cce5 Added automatic benedict casting to methods that return dict instances. 2020-09-19 14:40:17 +02:00
Fabio Caccamo 60d0502466 Added automatic benedict casting to methods that return dict instances. 2020-09-17 19:07:14 +02:00
Fabio Caccamo eac655b67f Added BaseDict to keep pointer to the initial input dict. #32 2020-09-17 19:05:55 +02:00
Fabio Caccamo f407bea3ec Added encoding optional argument to io_util.read_file and io_util.write_file. 2020-09-10 19:14:33 +02:00
Fabio Caccamo b8d2e72cda Improved KeyError(s) message. 2020-09-10 19:06:43 +02:00
Fabio Caccamo 4d6c43db28
Merge pull request #28 from neutrinoceros/keyerror_explicit
Insightful KeyErrors
2020-09-10 18:56:31 +02:00
Fabio Caccamo 7d2af21d15 Fixed python 3.5/3.6 I/O encoding issue. 2020-09-09 16:49:49 +02:00
Fabio Caccamo 84ff5b7406 Enforced IODict initial check when using filepath or data-string. 2020-09-09 16:47:25 +02:00
Fabio Caccamo ac789db31d Added plist support. 2020-09-09 16:45:39 +02:00
Fabio Caccamo 68311ced1e Re-ordered methods alphabetically. 2020-09-09 12:22:56 +02:00
Clément Robert dfc79a44e8 insightful keyerrors 2020-09-07 19:25:34 +02:00
Fabio Caccamo 3e4ae0622a Added overwrite option support to merge method. #24 2020-09-02 10:22:20 +02:00
Fabio Caccamo 06c740a488 Added find method. #23 2020-08-27 15:13:18 +02:00
Fabio Caccamo ebe7f1d33d Removed unnecessary try/except block. 2020-08-12 12:47:43 +02:00
Fabio Caccamo 6cd075edce Fixed format auto-detection with unexpected extensions. 2020-08-12 12:46:52 +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 86a23c7c11 Fixed `keypath_separator` support when using `from_{format}` methods. #12 2020-03-13 13:53:49 +01:00
Fabio Caccamo b82e6bb724 Changed pickle default protocol to 2. 2020-02-21 14:36:07 +01:00
Fabio Caccamo a7aa531d54 Added from_pickle and to_pickle methods. 2020-02-21 13:54:08 +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 32cc5f459c Updated read_file and write_file utils to use Context Manager. 2020-02-20 17:12:47 +01:00
Fabio Caccamo 7b83e7d663 Centralized json operations using JSONSerializer. 2020-02-19 15:18:29 +01:00
Fabio Caccamo 5b680ce5be Improved code quality. 2020-02-06 15:18:01 +01:00
Fabio Caccamo 46e55cf1c9 Added nest utility method. 2020-02-06 15:16:11 +01:00
Fabio Caccamo eb676bcc8f Added groupby utility method. 2020-02-06 15:14:36 +01:00
Fabio Caccamo b3caf62c0f Improved code quality. 2020-02-05 10:30:19 +01:00
Fabio Caccamo 969640bf72 Improved code quality. 2020-02-05 09:48:50 +01:00
Fabio Caccamo 0bb31c52e5 Improved code quality. 2020-02-04 12:26:10 +01:00
Fabio Caccamo d239e04324 Improved code quality. 2020-02-04 12:10:54 +01:00
Fabio Caccamo 4199b9d605 Reformatted docstrings. 2020-02-04 11:29:00 +01:00
Fabio Caccamo e1d41ae2cc Improved code quality. 2020-02-04 11:28:47 +01:00
Fabio Caccamo df3bcb7a52 Improved code quality. 2020-02-03 19:01:28 +01:00
Fabio Caccamo 3bd5271616 Reorganized lib and tests packages, improved code quality. 2020-02-03 18:25:54 +01:00
Fabio Caccamo be647c27dc Improved code quality and tests coverage. 2020-01-31 13:02:07 +01:00
Fabio Caccamo 26d6f8b770 Merged 'dicts' and 'lists' arguments to 'collections' in clean method. 2020-01-30 15:33:48 +01:00
Fabio Caccamo 5dd83a7283 Refactored code implementing type_util methods. 2020-01-30 15:31:53 +01:00
Fabio Caccamo ce1cbc52d3 Added KeylistDict with index support. #1 2020-01-30 12:56:00 +01:00
Fabio Caccamo b21323a8a3 Improved code quality. 2020-01-25 12:08:24 +01:00
Fabio Caccamo ea87753f8c Refactored KeypathDict and added keypath_util. 2020-01-24 17:57:55 +01:00
Fabio Caccamo 367f77f0cd Refactored KeypathDict and improved code quality. 2020-01-20 17:21:37 +01:00
Fabio Caccamo aeaf637853 Updated docstrings. 2020-01-13 14:54:33 +01:00
Fabio Caccamo 5f605139e2 Added unflatten method. 2020-01-13 14:54:10 +01:00
Fabio Caccamo 77a3b94f5b Added search method. 2020-01-13 14:53:16 +01:00
Fabio Caccamo 6f90c28509 Added rename method. 2020-01-13 14:52:17 +01:00
Fabio Caccamo ef3ba864dd Added dict_util.resolve method. 2020-01-13 14:50:42 +01:00
Fabio Caccamo 2e79c9ab8e Fixed pickle AttributeError. #6 2020-01-07 16:00:06 +01:00
Fabio Caccamo d49abdfbb7 Fixed get doesn't work when the key is a list with one element. #5 2020-01-07 14:38:57 +01:00
Fabio Caccamo 02df3e93bf Fixed keypath_separator value in instances returned by copy, clone, filter, flatten, invert, subset methods. #4 2020-01-07 12:48:39 +01:00
Fabio Caccamo ee56fcd7b0 Renamed options arg to choices in ParseDict methods. 2019-12-12 18:25:35 +01:00
Fabio Caccamo fe2dd47d77 Added docstrings to methods. #2 2019-12-12 18:24:16 +01:00