A Python module for encoding and decoding objects using customizable serialization.
Project description
Codable
Codable is a Python module for encoding and decoding objects using customizable serialization. It allows you to easily convert your Python objects to and from JSON, with support for custom encoders and decoders. This module is designed to be flexible and extensible, making it easy to work with complex data structures and custom object types.
Features
- Customizable Serialization: Define your own encoders and decoders to handle specific object types.
- Automatic Encoding/Decoding: Use the built-in
AutoEncodableandAutoDecodableclasses to automatically handle common serialization tasks. - Registry-Based System: Register your custom types with a global registry for easy access and management.
- Integration with Django: Includes a custom
JsonResponseclass that integrates with Django's HTTP response system.
Installation
To install Codable, use pip:
pip install codeble
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codable-0.1.1.tar.gz.
File metadata
- Download URL: codable-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edae319a4afe40a61ffc046d6c643ce6c540d896e0420b92c3dd25876937d7f8
|
|
| MD5 |
91e6438b6f7b408bd18d8f0ec2ab0530
|
|
| BLAKE2b-256 |
be5bc4bc8f6baff73d5f0d06dea0517770860fd2dc1547eeda204c18f240ca6c
|
File details
Details for the file codable-0.1.1-py3-none-any.whl.
File metadata
- Download URL: codable-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2244b6f42d768332ad917beb4d9849f3bf41fc8281600b856d4de3d4de1e21ad
|
|
| MD5 |
d0038906a313c19cc3486f011c9d9ec4
|
|
| BLAKE2b-256 |
0de37ad4c157b9bd0cd3230b65e01d8a576649e2d251a57f2476402ee2d17cd3
|