Verified Commit c881da5b authored by Rolf van Kleef's avatar Rolf van Kleef
Browse files

Pypi release

parent 01b1844c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
/venv/
/.idea/
**/__pycache__/
/build/
*.egg-info/
/dist/
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ name = "pypi"

[packages]
typeguard = "*"
setuptools = "*"

[dev-packages]

+1 −1
Original line number Diff line number Diff line
{
    "_meta": {
        "hash": {
            "sha256": "712f72994a8ca388f3472a8e311f7ed87dc7a7c6ef243c92a51b11c572d5cdbc"
            "sha256": "8140294700f02b0a15d82c0fe7af9c857657387011cb0a5c3f77d2b3bb981eef"
        },
        "pipfile-spec": 6,
        "requires": {

README.md

0 → 100644
+22 −0
Original line number Diff line number Diff line
# Dictionary Deserializer

Dictionary deserializer is a project built to convert dictionaries into
composite classes in an intuitive way. Special attention was also paid
to being friendly to static type-checkers and IDE autocompletes.

## Limitations

This library uses the `typing` module extensively. It does, however, only
support some of its types. This is a list of verified composite types:

* `Union` (Including `Optional`)
* `List`
* `Any`

It supports these types as terminal types:

* `int`
* `float`
* `str`
* `NoneType`
* `bool`
+12 −0
Original line number Diff line number Diff line
from collections import namedtuple

name = 'Dictionary deserializer'
version = '0.0.1'
description = "Dictionary deserializer is a package that aides in the " \
              "deserializing of JSON (or other structures) that are " \
              "converted to dicts, into composite classes."

author = namedtuple('Author', ['name', 'email'])(
    name='Rolf van Kleef',
    email='pypi@rolfvankleef.nl'
)
Loading