Releases · PFython/cleverdict · GitHub
Skip to content

Releases: PFython/cleverdict

Better error handling of options

Choose a tag to compare

@PFython PFython released this 05 Feb 14:01

Handles edge case error handling where only=/ignore=/exclude= 0 and 1 (int).

More filters for import and export: only= and exclude=

Choose a tag to compare

@PFython PFython released this 03 Feb 15:47

Release Highlights

Added exclude= as an alternative for ignore= (for Marshmallow fans)
Added only= (for Marshmallow fans)
Added exclude= ignore= and only= to __init__ for selective import
Made exclude= ignore= and only= permissive (functions now accept lists OR single item strings for convenience)
y=CleverDict(x) now imports a fullcopy of x e.g. including _aliases/_vars
Refactored using new preprocess_options() function

Great new features, more robust!

Choose a tag to compare

@PFython PFython released this 30 Jan 01:54

Highlights in Version 1.8.1

Added to_json() and from_json()
Added to_lines() and from_lines()
Added to_dict()
Added set_autosave (which works on individual objects, not the whole class)
Added set_autodelete (which works on individual objects, not the whole class)
Added autosave (which works on individual objects, not the whole class)
Added the ability to fully recreate a CleverDict with to_json(fullcopy=True)
Added cartoon!
Added logo!
Removed dependency on click
Revamped README
Removed identify_self()
Removed print output except for for autosave, but with 'silent' option
delattr removes attributes created using setattr_direct
Attributes created using setattr_direct update correctly.
Applied ignore=[] to: to_lines, to_list, to_json, info, to_dict, and repr
More consistent repr
._aliases and ._vars accessible as regular attributes
Substantially more and better tests

Removed .fromlist() as already covered in __init__

Choose a tag to compare

@PFython PFython released this 03 Nov 03:25
v1.7.2

Updated test_creation_using_list

Added .fromlist() and .tolist() methods for Client/Server serialisation

Choose a tag to compare

@PFython PFython released this 01 Nov 19:59
v1.7.0

README tweaks

Major update, including Aliases!

Choose a tag to compare

@PFython PFython released this 17 Jul 16:13

CleverDict now inherits from the standard Python dict, rather than UserDict, and includes some useful methods for dealing with and displaying attributes, keys and the links between them.

Better handling of aliases, normalisation, and unicode attribute names

Choose a tag to compare

@PFython PFython released this 28 Jun 17:55
bb1ffd3
Merge pull request #1 from PFython/Ruud

Ruud

Key names are now normalised by default

Choose a tag to compare

@PFython PFython released this 23 Jun 10:32
v1.3

+ v1.3 tar.gz

__getattr__ simplified

Choose a tag to compare

@PFython PFython released this 20 Jun 23:07
v1.23

v1.22

Motivation picture added to README

Choose a tag to compare

@PFython PFython released this 20 Jun 22:19
v1.22

v1.22