Welcome to Propertime API documentation!

Propertime is an attempt to implement proper time management in Python. Its approach is to fully embrace the extra complexity arising due to the intrinsic need of conflating together physical and calendar time, instead of oversimplifying or dismissing it.

In a nutshell, it provides two main classes: the Time class for representing time (similar to a datetime) and the TimeUnit class for representing units of time (similar to a timedelta). Such classes play nice with Python datetimes so that you can mix and match and use them only when needed.

You can have a look at the README for a better introduction, some example usage and more info about Propertime.

This is the API documentation. You might also want to check out the quickstart notebook


Modules

time

Time and TimeSpan classes

utils

Time manipulation utilities

logger

The library logger

exceptions

Common exceptions


Other resources