Skip to main content

Библиотека написана в рамках хакатона школы 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)

Source distribution for datesearch 0.0.1
File Size Uploaded
datesearch-0.0.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datesearch 0.0.1
File Interpreter ABI Platform
datesearch-0.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page