Skip to main content

A parser for fuzzy dates

Project description

fuzzy_dates

A minimal parser for Fuzzy Dates

Usage

From the Command Line type:

python3 -m fuzzy_dates '21 juin - 9 juil'

Or using PrologScript:

./parser/main.pl '21 juin - 9 juil'
[date(2021,6,21),date(2021,7,9)]
[dm(explicit(french)),dm(explicit(french))]

Installation

Install with:

  pip3 install fuzzy_dates

Uninstall with:

  pip3 uninstall -y fuzzy_dates

Requirements ^^^^^^^^^^^^

Setup Requirements with:

./operations/setup-requirements.sh

Test

Test with:

pytest

Compatibility

Tested with SWI-Prolog version 8.2.4 on Ubuntu 20.04

Licence

MIT

Authors

fuzzy_dates was written by Open Engines<openengines@protonmail.com>

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

fuzzy_parser-0.2.21.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

fuzzy_parser-0.2.21-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file fuzzy_parser-0.2.21.tar.gz.

File metadata

  • Download URL: fuzzy_parser-0.2.21.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fuzzy_parser-0.2.21.tar.gz
Algorithm Hash digest
SHA256 38ec153b39f47e7e495c486105bfb621d854c9fad054a49213d4b2c25be00c62
MD5 ae81b6ac91fab696f3e5e5200d1f5118
BLAKE2b-256 65d81c53beb18aea0cd943fbffcb9bceaac7ea5761ed7d45f9a6c981c8e131ea

See more details on using hashes here.

File details

Details for the file fuzzy_parser-0.2.21-py3-none-any.whl.

File metadata

  • Download URL: fuzzy_parser-0.2.21-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fuzzy_parser-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 5b39b1742f6033c62c749b2fe212b2fccd29690817420e3beae0a522576915d6
MD5 f2516eadec02abdf8fadd08525f36ae1
BLAKE2b-256 167ca5aa09d1322665321e57e04e1434c7c1443d1f074b410e3c4f531f91d721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page