Munch

Latest version: v4.0.0

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.3.0

------------------

* Remove default from constructor and fromDict, Make DefaultFactoryMunch which lets users provide a factory to generate missing values (PR [28](https://github.com/Infinidat/munch/pull/28) - thanks ekuecks)
* ``__setattr__`` will now ``munchify()`` any provided dict (PR [27](https://github.com/Infinidat/munch/pulls/27) - thanks kbni)
* Implement the pickling interface (PR [23](https://github.com/Infinidat/munch/pulls/23) & [#25](https://github.com/Infinidat/munch/pulls/25) - thanks JamshedVesuna)
* Drop support for Python 2.6, 3.3, 3.4
* Add ``__dict__`` property that calls ``toDict()`` (PR [20](https://github.com/Infinidat/munch/pulls/20) - thanks bobh66)

2.2.0

------------------

* Fix for Python 2.6: str.format must field names
* Changed ``__repr__`` to use str.format instead of x % y
* Added DefaultMunch, which returns a special value for missing attributes (PR [16](https://github.com/Infinidat/munch/pulls/16) - thanks z0u)

2.1.1

------------------

* Fix python 3 compatibility to work with IronPython (fixes [13](https://github.com/Infinidat/munch/issues/13) - thanks yiyuan1840)
* Deploy from Travis
* Add python 3.6

2.1.0

------------------

* Implement copy method (fixes [10](https://github.com/Infinidat/munch/issues/10))
* Fix ``__contains__`` returning True for Munch’s default attributes (PR [7](https://github.com/Infinidat/munch/pull/7) - thanks jmagnusson)

2.0.4

------------------

* Fixed String representation of objects with keys that have spaces (PR [4](https://github.com/Infinidat/munch/pull/4))

2.0.3

------------------

* Python 3.5 support
* Test against Python 3.4
* Add support for running ``dir()`` on munches

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.