pyRFC3339 2.0.1
pip install pyRFC3339
Released:
Generate and parse RFC 3339 timestamps
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Meta
- Author: Kurt Raschke
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT)
- Author: Kurt Raschke
- Tags rfc, 3339, timestamp
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Description
pyRFC3339 parses and generates RFC 3339-compliant timestamps using Python datetime.datetime objects.
>>> from pyrfc3339 import generate, parse >>> from datetime import datetime, timezone >>> generate(datetime.now(timezone.utc)) #doctest:+ELLIPSIS '...T...Z' >>> parse('2009-01-01T10:01:02Z') datetime.datetime(2009, 1, 1, 10, 1, 2, tzinfo=datetime.timezone.utc) >>> parse('2009-01-01T14:01:02-04:00') datetime.datetime(2009, 1, 1, 14, 1, 2, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=72000), '<UTC-04:00>'))
Installation
To install the latest version from PyPI:
$ pip install pyRFC3339
To install the latest development version:
$ pip install https://github.com/kurtraschke/pyRFC3339/tarball/master#egg=pyRFC3339-dev
To build the documentation with Sphinx:
$ pip install -r docs/requirements.txt
$ sphinx-build -M html docs/source/ docs/build
The documentation is also available online at:
https://pyrfc3339.readthedocs.io/
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Meta
- Author: Kurt Raschke
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT)
- Author: Kurt Raschke
- Tags rfc, 3339, timestamp
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
File details
Details for the file pyrfc3339-2.0.1.tar.gz
.
File metadata
- Download URL: pyrfc3339-2.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e47843379ea35c1296c3b6c67a948a1a490ae0584edfcbdea0eaffb5dd29960b |
|
MD5 | 38e099b17fff4fbd0b2a18e13365aeeb |
|
BLAKE2b-256 | f0d26587e8ec3951cbd97c56333d11e0f8a3a4cb64c0d6ed101882b7b31c431f |
Provenance
The following attestation bundles were made for pyrfc3339-2.0.1.tar.gz
:
Publisher:
pypi-publish.yml
on kurtraschke/pyRFC3339
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyrfc3339-2.0.1.tar.gz
- Subject digest:
e47843379ea35c1296c3b6c67a948a1a490ae0584edfcbdea0eaffb5dd29960b
- Sigstore transparency entry: 146324024
- Sigstore integration time:
- Permalink:
kurtraschke/pyRFC3339@a11f99fe020ee21076c90fc3d1ad5bf801742c57
- Branch / Tag:
refs/tags/v2.0.1
- Owner: https://github.com/kurtraschke
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pypi-publish.yml@a11f99fe020ee21076c90fc3d1ad5bf801742c57
- Trigger Event:
push
- Statement type:
File details
Details for the file pyRFC3339-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyRFC3339-2.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b70a366acac3df7386b558c21af871522560ed7f3f73cf344b8c2cbb8b0c9d |
|
MD5 | 58a73e8aed297263f3d9df0ebe0bef03 |
|
BLAKE2b-256 | ddbad778be0f6d8d583307b47ba481c95f88a59d5c6dfd5d136bc56656d1d17f |
Provenance
The following attestation bundles were made for pyRFC3339-2.0.1-py3-none-any.whl
:
Publisher:
pypi-publish.yml
on kurtraschke/pyRFC3339
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyrfc3339-2.0.1-py3-none-any.whl
- Subject digest:
30b70a366acac3df7386b558c21af871522560ed7f3f73cf344b8c2cbb8b0c9d
- Sigstore transparency entry: 146324025
- Sigstore integration time:
- Permalink:
kurtraschke/pyRFC3339@a11f99fe020ee21076c90fc3d1ad5bf801742c57
- Branch / Tag:
refs/tags/v2.0.1
- Owner: https://github.com/kurtraschke
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pypi-publish.yml@a11f99fe020ee21076c90fc3d1ad5bf801742c57
- Trigger Event:
push
- Statement type: