Skip to main content

Universal datetime parser supporting all real-world date and time formats across all countries and languages

Project description

chronoparse

Universal datetime parser for all real-world date and time formats.

Supports virtually any date/time string from any country or language — just pass the string and get a datetime back.


Features

  • ✅ ISO 8601 / RFC 3339 / RFC 2822
  • ✅ Unix timestamps (seconds, milliseconds, microseconds, float)
  • ✅ All numeric formats: MM/DD/YYYY, DD/MM/YYYY, YYYY/MM/DD, DD.MM.YYYY etc.
  • ✅ Textual month names in 25+ languages
  • ✅ Japanese, Chinese, Korean kanji date formats
  • ✅ Japanese era system (令和, 平成, 昭和 etc.)
  • ✅ German locale (5. Oktober 2023)
  • ✅ Thai Buddhist calendar
  • ✅ Persian (Jalali) calendar
  • ✅ Quarter formats (Q1 2023, 2023-Q4)
  • ✅ Week dates (2023-W40-4)
  • ✅ Ordinal dates (2023-278)
  • ✅ Time-only formats (14:30, 2:30 PM, 14h30m00s)
  • ✅ Unicode digit normalization (Arabic, Devanagari, Thai, Bengali etc.)
  • ✅ Ambiguity detection and reporting
  • ✅ Timezone offset and abbreviation support
  • ✅ Zero dependencies

Installation

pip install chronoparse

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

chronoparse-0.1.0.tar.gz (21.2 MB view details)

Uploaded Source

Built Distribution

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

chronoparse-0.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file chronoparse-0.1.0.tar.gz.

File metadata

  • Download URL: chronoparse-0.1.0.tar.gz
  • Upload date:
  • Size: 21.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for chronoparse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7bc90d5d8aefca34656e96889ef4bf4736e19ee74a5a3b3fb074fb83c050f9e
MD5 fe14587b9d0af9e7467a857ed142776c
BLAKE2b-256 6dc8a636d72faba8e35a23b8c075d84eefa3e4dbd80a19449c79f0e6461dace2

See more details on using hashes here.

File details

Details for the file chronoparse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chronoparse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for chronoparse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a09a3c9461f4e7645de1f6314985829451b89a23960c542e89117cf416624016
MD5 3d9438e827da552c5290a90e663c78a3
BLAKE2b-256 55ffaa9e0effcde963967c4f5d34bcf5dc61a3c7cf2200d1c56467646b22f6f1

See more details on using hashes here.

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