Datetime extensions for dekadal data
Project description
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
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kalendar-0.1.1.tar.gz.
File metadata
- Download URL: kalendar-0.1.1.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e04a3f0d8c3c3c7dd6bb22344bc593778f94743bf99e76afb20cd7658edca89f
|
|
| MD5 |
9dcc77e7631f3e9a2f19fd4bb6cf1c89
|
|
| BLAKE2b-256 |
aafcf3e2c9c3e213802ad5d00657aa71acc7574b20157d257cebea5ed49f46b9
|
File details
Details for the file kalendar-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kalendar-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cd6545bbfa7eb24405dbd43e0076651dfe767598d405ce67b577f20b7854c8d
|
|
| MD5 |
0d3ac219818451d78295293c732734c1
|
|
| BLAKE2b-256 |
96bdc5c054cae9b0b398a7d2c3d0609e87d40f760fb73ecea9a9dfaddd4987a8
|