Библиотека написана в рамках хакатона школы 21 совместно с ленинской библиотекой
Предназначена для матчинга извлеченных из произвольного текста токенов, относящихся к датам, с неким языком регулярных выражений.
Пример:
from datesearch import search
print(search("ночью, в двадцать минут третьего", 'ne'))
Вывод программы:
[Number(20), Period("m")]
По полученным спискам токенов гораздо проще уже находить нужные комбинации чисел, промежутков времени и прочих видов токенов.
Metadata
Release files for datesearch 0.0.1
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 |
|---|---|---|---|---|
| datesearch-0.0.1.tar.gz | 5.3 kB | Without provenance | Details for datesearch-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datesearch-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for datesearch-0.0.1-py3-none-any.whl |
Total release size: 12.3 kB
Release files / datesearch-0.0.1.tar.gz
| Download URL | datesearch-0.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39d200149a177e2f095872df5e69ed3fedba18305c889b183167a0dbf031a5ab
|
|
BLAKE2b-256 checksum How to use checksums |
c4ab529081320345cd4c6c5094c2d1bc1fb854b58f693d174aa8e4c8abf4dc57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Release files / datesearch-0.0.1-py3-none-any.whl
| Download URL | datesearch-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e344fd55b1ff3433118bd652984847007e422d97127e57b7d98c391f50167b7
|
|
BLAKE2b-256 checksum How to use checksums |
c08468c5d2ec8873121a84f7cdfcf584a9a6ef4ffc35d214eeff8898f6d02b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Security for datesearch 0.0.1
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.