Skip to main content

Calculates future date from number of days

Project description

winzy-days-from

PyPI Changelog Tests License

Calculates future date from number of days

Installation

First install winzy by typing

pip install winzy

Then install this plugin in the same environment as your winzy application.

winzy install winzy-days-from

Usage

To get help type winzy daysfrom --help

usage: winzy daysfrom [-h] [--date DATE] days

Calculate a future date based on a given date and number of days.

positional arguments:
  days         Number of days to add to the date.

optional arguments:
  -h, --help   show this help message and exit
  --date DATE  Start date in yyyy-mm-dd format (default: today).

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd winzy-days-from
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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

winzy_days_from-0.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

winzy_days_from-0.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file winzy_days_from-0.0.1.tar.gz.

File metadata

  • Download URL: winzy_days_from-0.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for winzy_days_from-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cfb2ea2b889e595edd8e7d48f3af7812b2870b7a77f6cc5388cd6c827c0f6d81
MD5 194981a0226b36995e436482d6086863
BLAKE2b-256 64e0bbeae71e9c09c16360983509d7e7e2465d8e711f73df42f416e328430c06

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_days_from-0.0.1.tar.gz:

Publisher: publish.yml on sukhbinder/winzy-days-from

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file winzy_days_from-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for winzy_days_from-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a8999e8b692d88d5f4238040b57f0c7d272875c2fd20cf7faadc9ee5df2ab9f
MD5 cce7d10f5d415d08b5d13718fb7ef45b
BLAKE2b-256 618c637e44dfee4e0cbae97459b3eb2aca8802aa1b78e96d3ef69bcb7694f10a

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_days_from-0.0.1-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/winzy-days-from

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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