Skip to main content

pyserde extension for zoneinfo.ZoneInfo.

import serde_timedelta
from serde import serde
from serde.json import to_json, from_json
from zoneinfo import ZoneInfo

# Initialize serde_zoneinfo extension.
serde_zoneinfo.init()


@serde
class Foo:
    a: ZoneInfo


f = Foo(ZoneInfo("America/New_York"))
json = to_json(f)
print(json)                  # Prints '{"a": "America/New_York"}'
print(from_json(Foo, json))  # Prints Foo(a=ZoneInfo(key='America/New_York'))

Metadata

Release files for pyserde-zoneinfo 0.0.1

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

Source distribution (sdist)

Source distribution for pyserde-zoneinfo 0.0.1
File Size Uploaded Provenance
pyserde_zoneinfo-0.0.1.tar.gz 2.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyserde-zoneinfo 0.0.1
File Interpreter ABI Platform
pyserde_zoneinfo-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / pyserde_zoneinfo-0.0.1.tar.gz

Download URL pyserde_zoneinfo-0.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e76b0b4baf0e54382997b500d9f787bf41d7c6bc1551447ef6d0e7fc85eb987d
BLAKE2b-256 checksum
How to use checksums
246bfaa7f135c473c60f562f7507db364cd8d5cb0283d6d6d59f175d2d1dec87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / pyserde_zoneinfo-0.0.1-py3-none-any.whl

Download URL pyserde_zoneinfo-0.0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db8ad44230b7381893ab47f22c50e714a9dc7056094cfd2bfe3c4c1d293295b
BLAKE2b-256 checksum
How to use checksums
45203af906a366c6e5edcae0b90c90b7bff74f8ef249ab42de8f155f2bede6c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for pyserde-zoneinfo 0.0.1

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

0.0.1 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