python-sdjson 0.4.0-2 source package in Ubuntu
Changelog
python-sdjson (0.4.0-2) unstable; urgency=medium [Josenilson Ferreira da Silva] * debian/control: added dependency for test execution * debian/patches: patche is no longer necessary [ Dmitry Shachnev ] * Simplify PYBUILD_TEST_ARGS. * Use timezone from standard library instead of pytz. * Add tmp_pathplus fixture and re-enable more tests. * Enable test_overloading.py. * Update email and Last-Updated in patches. * Enable the autopkgtest via pybuild. -- Josenilson Ferreira da Silva <email address hidden> Wed, 27 Dec 2023 23:34:57 -0300
Upload details
- Uploaded by:
- Josenilson Ferreira da Silva
- Uploaded to:
- Sid
- Original maintainer:
- Josenilson Ferreira da Silva
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-sdjson_0.4.0-2.dsc | 2.3 KiB | a63ce3deb5718fa556abb5ccb0ccf2b6e05b93f9746972fdb1413bfb2778cbdd |
python-sdjson_0.4.0.orig.tar.gz | 124.1 KiB | 5d7f6f9a66ffe0d08314fda05d72b70db327b16e1729110f8a211c1071d8dce1 |
python-sdjson_0.4.0-2.debian.tar.xz | 9.0 KiB | 87da1b0f44364a75e9c6f9c260effaad41189ee80220951405f44b8f9d7d497a |
Available diffs
- diff from 0.4.0-1 to 0.4.0-2 (1.8 KiB)
No changes file available.
Binary packages built by this source
- python3-sdjson: single-dispatch JSON encoder for Python
Module uses functools.
singledispatch to support custom encoders for Python
built-in classes and user-created classes.
.
The goal is to simplify the process of serializing objects into JSON by
allowing developers to register custom encoders for their classes,
allowing you to define instances to be converted into JSON format.
.
After coding, you can use sdjson.dumps(class_ instance) to serialize an
instance of the class into a JSON string. This makes the process of saving
objects in JSON easier.
.
In addition to serialization to a string, the project provides
the ability to serialize objects directly to JSON files using sdjson.dump
(class_instance, fp).
.
The sdjson project also supports several features of the json module,
including load, loads, JSONDecoder, JSONDecodeError and JSONEncoder.
This allows you to use sdjson as a drop-in replacement for the json
module.
.
This package installs the library for Python 3.