Skip to main content

Library for handling date ranges and time periods in a business context (based on Arrow)

Project description

A Python 3 library for handling date ranges and time periods in a business context, based on Arrow.

Install with:

$ pip install dating

DateTimeRange

The DateTimeRange class defines a range between two points in time. To use:

from dating.ranges import DateTimeRange

date_range = DateTimeRange.from_strings('2017-01-15', '2017-03-15')

or

date_time_range = DateTimeRange.from_strings('2017-01-15T10:25:00', '2017-01-16T07:30:00')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dating, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size dating-0.0.2-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dating-0.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page