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)
| File | Size | Uploaded | |
|---|---|---|---|
| datefactory-1.0.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|