Skip to main content

Dates

Package to help with date creation, comparison and calculation

Getting Started

Import package and use the following methods:
isWeekendDay(day)
isMonday(day)
isFriday(day)
isLastDayOfMonth(day)
lastDayOfMonth(day)
createDatetimeObj(day, month, year, hour=0, min=0, sec=0)
addDaysToDate(date, numberOfDays)

Prerequisites

Working python3 installation

Installing

pip install datefactory

Running the tests

python3 test.py

Deployment

[See installation above]

Built With

Python3

Versioning

Author(s)

  • Niall Stapleton - Initial work - (@nstap)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Release files for datefactory 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datefactory 1.0.1
File Size Uploaded
datefactory-1.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datefactory 1.0.1
File Interpreter ABI Platform
datefactory-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / datefactory-1.0.1.tar.gz

Download URL datefactory-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c7cad39c26a890e553b4572c7f5e6d96fdeb08aeab6f3a05a9eb4e6e0251eb3b
BLAKE2b-256 checksum
How to use checksums
13c050a35295d4948786515652d051c59d3c574f9b99c8365bc80574630dc0f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

Release files / datefactory-1.0.1-py3-none-any.whl

Download URL datefactory-1.0.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5053355fea607100c22c249755925698668b34b2c3adeeb1ea618dd563739bf
BLAKE2b-256 checksum
How to use checksums
c678fea3d10f0a40d45f95db8fb51e1ae5ccc70b7fb5e3f44a61d88b91fc20ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page