periodparser
python parser for human-readable period dates
Установка
pip install periodparser
Описание
Библиотека для парсинга дат и времени в естественной речи на русском языке.
Пример
import periodparser as pp
result = pp.extract('Техобслуживание пройдет с вечера следующей среды до пол 9 утра')
print(result.dates[0]) # [Type=DateTimeTokenType.PERIOD, From=2023-06-28T17:00:00, To=2023-06-29T08:30:00, Span=None, HasTime=True, StartIndex=24, EndIndex=62]
Metadata
Release files for periodparser 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| periodparser-1.0.4.tar.gz | 19.7 kB | Without provenance | Details for periodparser-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| periodparser-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for periodparser-1.0.4-py3-none-any.whl |
Total release size: 47.3 kB
Release files / periodparser-1.0.4.tar.gz
| Download URL | periodparser-1.0.4.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ccbbab6b3aeef1920fbf69fef90722c9d363e550146215fee6d95b8cccb9209
|
|
BLAKE2b-256 checksum How to use checksums |
cf40c844f9d3c7d5cf1f8f6927d28d12550156d5a0e073aa9d1917614213ce4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Release files / periodparser-1.0.4-py3-none-any.whl
| Download URL | periodparser-1.0.4-py3-none-any.whl |
|---|---|
| Size | 27.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b22c332d207536b0acf0f40c95106ccb3d752c1fa23729083f78693127ca54e
|
|
BLAKE2b-256 checksum How to use checksums |
a675a8fa1ee917eb2ecb7c85487e020936c6a31f8bfd1bdc0b504aa6675b1a21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Security for periodparser 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.