Skip to main content

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 AutoEncodable and AutoDecodable classes 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 JsonResponse class that integrates with Django's HTTP response system.

Installation

To install Codable, use pip:

    pip install codeble

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codable-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codable-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file codable-0.1.0.tar.gz.

File metadata

  • Download URL: codable-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for codable-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18c11b72f8f461754f18dc9f28bde585c1d1330d7b63da4eabd1bfcf7ba83ab4
MD5 7effe16bb3f1ec6df47915d39086ee0b
BLAKE2b-256 85c929c9aafaa98f822aedf4a61c0cb11a124cab4017870e1aece98bdd4a0ccc

See more details on using hashes here.

File details

Details for the file codable-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: codable-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for codable-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54768a84809cb3dbe22f539280218fba77b5ac43b7b64f1529e20369f9895737
MD5 871ef8e56ff2935102ead1575ed506ba
BLAKE2b-256 e56d9708c980a5a2aad4c786c2388191025bdcb87b83fa5b3eee0dd04112083a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page