ttcal - calendar operations
This is a small library for calendar operations.
Usage:
>>> from ttcal import * >>> Today() 2023-7-2-7 >>> Today() + 1 2023-7-3-7 >>> import datetime >>> isinstance(Today(), datetime.date) True >>> Day(1991, 2, 20) 1991-2-20-2 >>> Month() Month(2023, 7) >>> Month() + 2 Month(2023, 9) >>> Year() Year(2023) >>> Year() + 2 Year(2025) >>> Day(2024, 2, 29) 2024-2-29-2 >>> Day(2024, 2, 29) + Period(months=2) 2024-4-29-4 >>> Day(2024, 4, 30) - Period(months=2) 2024-2-29-2 >>>
Metadata
Release files for ttcal 2.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ttcal-2.0.9.tar.gz | 26.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ttcal-2.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.7 kB
Release files / ttcal-2.0.9.tar.gz
| Download URL | ttcal-2.0.9.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a836b107034e931bc73b4ceede9c082d94911b54917cc456753d0390ab03300
|
|
BLAKE2b-256 checksum How to use checksums |
7d66c469e520bb36789fdbbcb5f0a24fca2fe38ab15578cc179590af453336c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / ttcal-2.0.9-py3-none-any.whl
| Download URL | ttcal-2.0.9-py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66d39c1cf6df2762484ada1bbae9d35d265064333e5a87f6e5cb70cb2b971956
|
|
BLAKE2b-256 checksum How to use checksums |
a4038ce5b182706576c41b27a544b09b3bd19d6bd0f2126a977b361da1f83692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|