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.20.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fuzzy_parser-0.2.20.tar.gz
  • Upload date:
  • Size: 4.4 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.20.tar.gz
Algorithm Hash digest
SHA256 70decd6720d3c431cbd4b35cf49340761c231488261988f9218a97ed88c22495
MD5 448519591623e022bf69ed6b8616ccc1
BLAKE2b-256 c08118076fbfc4db621da8373d4e443f6db8de3d50bdca64964290e2ed53fd2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fuzzy_parser-0.2.20-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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 f63f6f94d1416a64082f3e866b48705e5000c169d71a982c2fe36df074894b62
MD5 f975a321de8160ad89f8b7cd326e2b51
BLAKE2b-256 fe5d6e48f66ac629b495de720d81e705ebbb643798d00d426a880fb89b64fc4b

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