No project description provided
Project description
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 >>>
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
ttcal-2.0.4.tar.gz
(14.6 kB
view hashes)
Built Distribution
ttcal-2.0.4-py2.py3-none-any.whl
(18.4 kB
view hashes)
Close
Hashes for ttcal-2.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2d8baea6fec038cbbe0a245b3ae0efa617b599b305195f6e737755f9ed41f9 |
|
MD5 | eaf13dca913ee5de5002c7e503f071ee |
|
BLAKE2b-256 | 5c05d53f3b08376962d96c95943482b3b0bdff65fa9a61a010eeb550cb6b6c8b |