kalendar: datetime.date extension for climate date measurements
In climatology, data is often reported in multi-day formats, such
as dekads (a 10 day definition) or pentads (a 5 day definition).
kalendar is a Python package with datetime.date extensions
for dekadal and pentadal calendar definitions that make
it easier to work with such climate data.
Installing
Install and update using pip:
pip install kalendar
Usage
The dekadal and pentadal classes are simple subclasses with convenient
constructors for creating the class from datetime objects (and
inherited constructors from datetime.date), methods for addition
and subtraction, and converting back to datetime.date objects.
from kalendar import Dekad, Pentad
d = Dekad(2022, 1)
p = Pentad(2013, 51)
See the documentation for full examples.
Contributing
For guidance on setting up a development environment, see the contributing guidelines
Links
Metadata
Release files for kalendar 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kalendar-0.1.1.tar.gz | 28.4 kB | Without provenance | Details for kalendar-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kalendar-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kalendar-0.1.1-py3-none-any.whl |
Total release size: 48.4 kB
Release files / kalendar-0.1.1.tar.gz
| Download URL | kalendar-0.1.1.tar.gz |
|---|---|
| Size | 28.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e04a3f0d8c3c3c7dd6bb22344bc593778f94743bf99e76afb20cd7658edca89f
|
|
BLAKE2b-256 checksum How to use checksums |
aafcf3e2c9c3e213802ad5d00657aa71acc7574b20157d257cebea5ed49f46b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / kalendar-0.1.1-py3-none-any.whl
| Download URL | kalendar-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cd6545bbfa7eb24405dbd43e0076651dfe767598d405ce67b577f20b7854c8d
|
|
BLAKE2b-256 checksum How to use checksums |
96bdc5c054cae9b0b398a7d2c3d0609e87d40f760fb73ecea9a9dfaddd4987a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for kalendar 0.1.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.