Skip to main content

Dodge is a Python library that allows easy creation of data objects. These data objects can then be converted from and to dictionaries, allowing easy JSON serialisation.

Example

import dodge

Instrument = dodge.data_class("Instrument", [
    "name",
    "material",
])


saxophone = Instrument("saxophone", "brass")

serialised_saxophone = dodge.obj_to_dict(saxophone)
unserialised_saxophone = dodge.dict_to_obj(serialised_saxophone)

print unserialised_saxophone.material # Prints "brass"

License

2-Clause BSD

Metadata

Release files for dodge 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dodge 0.1.9
File Size Uploaded
dodge-0.1.9.tar.gz 3.9 kB Details

Release files / dodge-0.1.9.tar.gz

Download URL dodge-0.1.9.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6e05bdbaf6a98c9bc92a0e3b8d3066bb887fe2e2590e57d47762f4730bd456e1
BLAKE2b-256 checksum
How to use checksums
ae955efbf0d11ccfe6ade1d0c7d637de1e9a38bd7b73742c14c23d1e6d1ce406
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.9 This release

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page