Skip to main content

Gives days remaining till the given date

Project description

winzy-days-till

PyPI Changelog Tests License

Gives days remaining till the given date

Installation

First configure your Winzy project to use Winzy.

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

pip install winzy-days-till

Usage

To use just type

winzy days 1 jan 2025

This will print out the days.

To make it announce this, use the following command

winzy days 1 jan 2025 -s "--days-- days remaining to New year!"

This will announce the text who you have supplied. --days-- is a special keyword for days. This will be replaced for no of days remaining. If the --days-- is not included in the message then a generic announcement is made ignoring user's text.

Development

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

cd winzy-days-till
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_till-0.1.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

winzy_days_till-0.1.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file winzy_days_till-0.1.2.tar.gz.

File metadata

  • Download URL: winzy_days_till-0.1.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for winzy_days_till-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c48d9e3e4ee9620f85c5287ede2911d8ffc9416e08101dd850578a340331b811
MD5 1a9a585262f5e976fa2a08be428a335b
BLAKE2b-256 03e9a7d5f6156ba2c7f5bb7b83a26dcf88591f140a28c306456820363167b05b

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_days_till-0.1.2.tar.gz:

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

Attestations:

File details

Details for the file winzy_days_till-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for winzy_days_till-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56ed7314bdbcbfbdf5798163c2b9e09f5ab32af1a9423d08454a77111e6e47be
MD5 6a535a567f67c9cd1637ebad331c90ad
BLAKE2b-256 07486590dbc7e0ef092a3195fca8baa7e146cb3831e024928c67c2bd4d0b0b93

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_days_till-0.1.2-py3-none-any.whl:

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

Attestations:

Supported by

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