Recent Releases of pickydict

pickydict - 0.5.0

PickyDict 0.5.0

Changed:

  • Skip the applyreplacements() method call when an object is copied with .copy() (to improve runtime performance)
  • Updated CI workflow to newer Python versions.

- Python
Published by florian-huber over 1 year ago

pickydict - 0.4.0

PickyDict 0.4.0

Now pickling works and duplicates are handled a little more carefully.

Changed

  • does not raise an exception anymore (but a warning) when the initial dictionary passed to PickyDict contains duplicate keys (after key conversion). If duplicate keys exist, only the value for the desired key will be kept #11

Fixed

  • ensure that PickyDict object can be pickled #9

Full Changelog: https://github.com/florian-huber/pickydict/compare/v0.3.0...v0.4.0

- Python
Published by florian-huber about 4 years ago

pickydict - 0.3.0

PickyDict 0.3.0

Added

  • copy() method to create shallow copy of PickyDict #4

Changed

  • expanded unit tests

- Python
Published by florian-huber about 4 years ago

pickydict - 0.2.0

PickyDict 0.2.0

Changed:

  • Switch parent class from UserDict to dict to also allow json.dumbs() of PickyDict objects.
  • Added .to_json() method that will turn the main dictionary into json.

- Python
Published by florian-huber over 4 years ago

pickydict - 0.1.2

PickyDict 0.1.2

Minor documentation update and version fix.

- Python
Published by florian-huber over 4 years ago

pickydict - 0.1.1

PickyDict 0.1.1

Updated documentation.

- Python
Published by florian-huber over 4 years ago

pickydict - 0.1.0

pickydict 0.1.0

Initial version of pickydict providing the class PickyDict. PickyDict objects will behave just like Python dictionaries, with a few notable exceptions:

  1. PickyDict has a forcelowercase attribute. If set to True (default) then dictionary keys will all be treated as lower-case.
  2. PickyDict can contain two additional dictionaries named "keyreplacements" and "keyregex_replacements with mappings to enforce translating specific key words.

- Python
Published by florian-huber over 4 years ago