Dict2any

Latest version: v0.0.2

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

Scan your dependencies

0.0.2

What's Changed
* Add py.typed to the package by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/23
* Implement a generic class parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/24
* Change parse api to pass in all the desired parsers by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/25
* v0.0.2 by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/26


**Full Changelog**: https://github.com/intentionally-left-nil/dict2any/compare/v0.0.1...v0.0.2

0.0.1

It works!
Implement the dict2any.parse() method, supporting the following data types:
- bool
- float
- int
- None
- str
- Any
- dataclasses
- dicts, typed dicts, user dicts, etc. etc.
- lists
- tuples
- pathlib.Path
- Union

What's Changed
* Add CI scripts, code coverage, and pre-commit devops by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/1
* Create a path object to represent where we are in the parsing by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/2
* Implement parsers for leaf types by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/3
* Create a list parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/4
* Fix the fallback list parser to support custom types by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/5
* Fix type checking when parsing by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/6
* Refactor the protocol to enforce kwargs by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/7
* Remove the stage from parsing by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/8
* Implement a tuple parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/9
* Implement a named tuple parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/10
* Implement a dict parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/11
* Implement TypedDict parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/12
* Implement a Union parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/13
* Implement a path parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/14
* Implement a dataclass parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/15
* Implement a None Parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/16
* Implement the Any parser by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/17
* Implement the parse method by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/18
* Throw an error if no parser is found by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/19
* Update the README by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/20
* Fix publish url by intentionally-left-nil in https://github.com/intentionally-left-nil/dict2any/pull/22


**Full Changelog**: https://github.com/intentionally-left-nil/dict2any/commits/v0.0.1

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.