- Hook in value storage finalization for use of the key, not just the value
- By default, represent empty
Mapping
value asnull
in YAML rendition.
- Expand paths (in
PathExAttMap
) for text values stored and fetched with attributesyntax or
.get`.
- Avoid infinite recursion when an
EchoAttMap
subtype calls up to the superclass constructor: Issue 55.
PathExAttMap
now decleares itself as lower type bound.
- Tweaked map type conversion upon value insertion
EchoAttMap
as alias forAttMapEcho
; see Issue 38
- In any
OrdAttMap, for membership (
contains`) consider items added via attribute syntax. - Prevent duplicate key/attr iteration in any
OrdAttMap
. - Allow item and attribute syntax to equivalently mutate a map; see Issue 50
- Type conversion and merger of inserted mappings
- Export base
AttMapLike
.
- By default, add trailing newline to YAML rendition of an attmap instance; Issue 48
- Better API docs
- Do not replace double slash in URL with single slash. See Issue 46
get_yaml_lines
to get collection of YAML-ready lines from any attmapto_dict
to convert any attmap (and nested maps) to basedict
to_yaml
to represent any attmap as raw YAML text
PathExAttMap
defers expansion behavior to retrieval time.
OrdAttMap
and descendants now have data updated via__setattr__
syntax.
OrdPathAttExAttMap
is nowPathExAttMap
.
OrdAttMap
to create maps that preserve insertion order and otherwise behave like ordinaryAttMap
get_data_lines
utility, supporting nice instancerepr
is_custom_map
utility
- Better
repr
andstr
for allattmap
-like types, rendering like YAML __getitem__
syntax onAttMapEcho
no longer exhibits echo behavior (only dot notation does.)- Instance comparison is now much stricter, requiring exact type match. This reflects some of the type-specific value conversion and representation behavior.
PathExAttMap
is nowOrdPathExAttMap
, preserving item insertion orderAttMapEcho
preserves item insertion order
- Removed
pandas
dependency - Made hooks for omission of specific keys instance methods
- Hook for omission of key(s) from instance comparison
- Documentation
- Add
to_map
method to convertMapping
values to basic type
- What was
PepAttMap
is nowPathExAttMap
.
PepAttMap
attempts expansion of text value as a path, using available environment variables
AttMap
now derives fromPepAttMap
rather than ordinaryAttMap
AttMapEcho
now converts an insertedMapping
toAttMapEcho
-- no more specific type than that.- Handle equivalence comparison when values are array-likes from
numpy
orpandas
- Installation working for dependent packages
- Make
__version__
available on the main package object
- Bound on most specific type to which a stored
Mapping
should be converted can be controlled in a subclass via overriding.
add_entries
method on anAttMapLike
now returns the instance.- Improve test coverage
- Removed support for Python 3.4
- Pass unit tests on Python 3.4
- Correct PyPI landing page rendering
- Correct PyPI landing page rendering
- Initial release