Skip to main content

get common dates, fast!

Project description

fastdates

What is it?

fastdates module allows users to get dates using a declarative language in the form of simple, human-readable Python methods.

Examples

from fastdates import Fastdates

fd = Fastdates.DateGenerator()

fd.get_next_n_days(5)
['2022-10-26', '2022-10-27', '2022-10-28', '2022-10-29', '2022-10-30']
fd.get_last_day_of_previous_month()
'2022-09-30'
fd.get_previous_n_months(3)
['2022-09', '2022-08', '2022-07']

Project details


Download files

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

Source Distribution

fastdates-0.1.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastdates-0.1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file fastdates-0.1.3.tar.gz.

File metadata

  • Download URL: fastdates-0.1.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for fastdates-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fcb15584f1f0a08e3409b9b893b01d75c1bd51b4acddeb82313bd34da3042983
MD5 8c82b08e85b044f0bdc4e3357eb82343
BLAKE2b-256 9e106916a7700becdaf9ba887c7c21ef273d1933600b9d9f0b53f7f7fbf6c31b

See more details on using hashes here.

File details

Details for the file fastdates-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: fastdates-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for fastdates-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9cffd9bc929b90613efc69f19e211ab95ab2613c67943a2f34be6dc4944bca34
MD5 6d5663829f9f72efeb7954e99e3da9d2
BLAKE2b-256 d549668a55c83668c98e2c6fd9de4da88ff29b5d295a7dc993c86b47a68dee33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page