Skip to main content

Check if a date is valid

Project description

Python is_valid_date

Coverage Quality Gate Status Maintainability Rating

Check if a date is valid

from is_valid_date import check

if check(mydate):
    # mydate is a valid date
    do_something()
else:
    # mydate could not be parsed as a date object
    do_other_things()

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

is_valid_date-0.4.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

is_valid_date-0.4.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file is_valid_date-0.4.0.tar.gz.

File metadata

  • Download URL: is_valid_date-0.4.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for is_valid_date-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4385ef96821b8e6a183a9dd142379bddefd6c42f70e4ff3e1dde1fa2375c9e40
MD5 14f8e5aec8c3c221c486211f02d18b3e
BLAKE2b-256 6d32c9c1a1c055225873aaf7f675741ea38cb936fa54f97ea209cb05de0fea25

See more details on using hashes here.

File details

Details for the file is_valid_date-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for is_valid_date-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 303791357c9eda536ebcf6f52f967d03c36ae2d7ea59cf0cda1e1b00ecef5dff
MD5 5cd62cc293c9c87503d5c6344494e6cf
BLAKE2b-256 6f2f69607880bb4e9291fbb78e1203eb9bf3a579fd4e590eabca68eb7ad2b096

See more details on using hashes here.

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