[build-system] build-backend = "setuptools.build_meta" requires = [ "setuptools >= 77.0", ] [project] name = "dateparser" version = "1.4.3" description = "Date parsing library designed to parse dates from HTML pages" authors = [ { name = "Scrapinghub", email = "opensource@zyte.com" }, ] license = "BSD-3-Clause" keywords = ["dateparser"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", ] requires-python = ">=3.10" dynamic = ["readme"] dependencies = [ "python-dateutil>=2.7.0", "pytz>=2024.2", "regex>=2024.9.11", "tzlocal>=0.2", ] [project.optional-dependencies] calendars = ["convertdate>=2.2.1", "hijridate"] langdetect = ["langdetect>=1.0.0"] [project.urls] Source = "https://github.com/scrapinghub/dateparser" History = "https://dateparser.readthedocs.io/en/latest/history.html" [project.scripts] dateparser-download = "dateparser_cli.cli:entrance" [tool.setuptools] include-package-data = true zip-safe = false [tool.setuptools.packages.find] namespaces = false exclude = ["tests", "tests.*"] [tool.bumpversion] commit = true tag = true [[tool.bumpversion.files]] filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' [[tool.bumpversion.files]] filename = "dateparser/__init__.py" [[tool.bumpversion.files]] filename = 'HISTORY.rst' search = "\\(unreleased\\)$" replace = "({now:%Y-%m-%d})" regex = true [[tool.bumpversion.files]] filename = "SECURITY.md" parse = """(?P0|[1-9]\\d*)\\.(?P0|[1-9]\\d*)""" serialize = ["{major}.{minor}"] [tool.ruff] exclude = ["date_translation_data"] [tool.ruff.lint.per-file-ignores] "dateparser/data/__init__.py" = ["F401"] "dateparser/languages/__init__.py" = ["F401"]