Timeless
A datetime toolkit for people in a hurry.
Timeless sits on sholders of giants to provide a simple and easy to use datetime toolkit. Simple date ranges, datetime operations and just one import.
This package is a work in progress and it was created as a study object.
🧠 Features
- ✔️ minimal code to get things done
- ✔️ easy use with other packages
- ✔️ one import, one syntax
📦 Installation
If you need Numpy and Pandas convenience methods, you can also install the extra dependencies.
📝 Why Timeless?
It provides a simple API, heavily inspired by Pendulum. If you like Pendulum and need a easy to adopt, integrate and expand package, you will like Timeless.
💻 Sample usage
Timeless use two main concepts: Datetime
and Period
.
- A datetime is a point in time
- A Period is a time range.
introduction/sample_usage.py | |
---|---|
Remarks:
- Timeless doesn`t differentiate between datetime and date objects.
- All datetimes are assumed to be in the UTC if any other timezone is specified.