Date type parameter for click
Project description
Date type parameter for click
Installation
To get the latest stable release from PyPi
pip install click-date-type
Usage
from click_date_type import Date
@click.command()
@click.option("--start_date", type=Date())
def cli(start_date):
click.echo(start_date.strftime("%Y-%m-%d"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
click-date-type-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file click-date-type-0.1.0.tar.gz
.
File metadata
- Download URL: click-date-type-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.2 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a7aa261dee33440f9ca0aeec2f00e07df93520d2a0323692d2e2c0befa6115 |
|
MD5 | 06cd2a8871efd25c72519b88b5b51799 |
|
BLAKE2b-256 | ed60c973076ba477b1a9970977a2b0801b2a0e1295ad8dd124d1c75b842fbbcf |
File details
Details for the file click_date_type-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: click_date_type-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.2 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa99ae864d1c315052d3753a96d8445ba60dbef0cf7ba4c0448d11cac5ecb85 |
|
MD5 | 38dc3cc1531b64c680bdc9b098d5ffa0 |
|
BLAKE2b-256 | 8d4dd17592c7cccc9cb5e7f3258cf4dc023be9d09908e924eca390309b4495ca |