Skip to main content

databind.core

databind.core provides a jackson-databind inspired framework for data de-/serialization in Python. Unless you are looking to implement support for de-/serializing new data formats, the databind.core package alone might not be what you are looking for (unless you want to use databind.core.dataclasses as a drop-in replacement to the standard library dataclasses module, for that check out the section at the bottom).

Known implementations

Dataclass extension

The standard library dataclasses module does not allow to define non-default arguments after default arguments. You can use databind.core.dataclasses as a drop-in replacement to get this feature. It behaves exactly like the standard library, only that non-default arguments may follow default arguments. Such arguments can be passed to the constructor as positional or keyword arguments.

from databind.core import dataclasses

@dataclasses.dataclass
class A:
  value1: int = 42

@dataclasses.dataclass
class B(A):
  value2: str

print(B(0, 'Hello, World!'))
print(B(value2='Answer to the universe'))

Copyright © 2020 – Niklas Rosenstein

Metadata

Release files for databind.core 4.2.8

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

Source distribution (sdist)

Source distribution for databind.core 4.2.8
File Size Uploaded Provenance Actions
databind.core-4.2.8.tar.gz 23.9 kB Without provenance Details for databind.core-4.2.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for databind.core 4.2.8
File Interpreter ABI Platform Actions
databind.core-4.2.8-py3-none-any.whl Python 3 none any Details for databind.core-4.2.8-py3-none-any.whl

Total release size: 51.2 kB

Release files / databind.core-4.2.8.tar.gz

Download URL databind.core-4.2.8.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc74323cecd7aab57bd2069bdf63f66db00a10c64cd250ff1b7612c49fc29d18
BLAKE2b-256 checksum
How to use checksums
41a0cc01e71a5953b08de2c63ab34822e98bcea8cf3f31126ad254ac7a9379bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.11.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

Release files / databind.core-4.2.8-py3-none-any.whl

Download URL databind.core-4.2.8-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5d3ea93f01f5b9c0cb1231408aab05ac1a43f36386b31afb0d1ac9aa404dc6c
BLAKE2b-256 checksum
How to use checksums
32cee75e2bbfa1766cd7763513c75b2265e2730a5c8c29e0bbf9ff11a25e4cee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.11.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

Security for databind.core 4.2.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.2.8 This release

2 release files No provenance

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