velofy/pyproject.toml

113 lines
2.2 KiB
TOML
Raw Normal View History

[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=2.0.0,<3.0.0"]
[project]
name = "velofy"
version = "0.5.0.dev0"
authors = [{ name = "Alexander Hess", email = "alexander@webartifex.de" }]
description = "Optimizing an urban meal delivery platform"
keywords = [
"data-science",
"meal-delivery",
"vehicle-routing-problem",
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.8,<4.0"
# Package => Code developed in *.py files and packaged under src/velofy
dependencies = [
2026-11-24 15:22:58 +01:00
"Shapely>=1.7.1,<3",
"alembic>=1.4.2,<2",
2026-11-24 15:26:24 +01:00
"click>=7.1.2,<9",
2026-11-24 15:27:40 +01:00
"folium>=0.12.1,<1",
"geopy>=2.1.0,<3",
"googlemaps>=4.4.2,<5",
"matplotlib>=3.3.3,<4",
"ordered-set>=4.0.2,<5",
2026-11-24 15:33:45 +01:00
"pandas>=1.1.0,<3",
"psycopg2>=2.8.5,<3", # Adapter for PostgreSQL
"rpy2>=3.4.1,<4",
2026-11-24 16:12:34 +01:00
"sqlalchemy>=1.3.18,<3",
2026-11-24 15:17:07 +01:00
"statsmodels>=0.12.1,<0.15",
2026-11-24 12:23:11 +01:00
"utm>=0.7.0,<1",
]
[project.optional-dependencies]
# `jupyter lab` => Notebooks with analyses using the developed package
research = [
"jupyterlab>=2.2.2,<3",
"numpy>=1.19.1,<2",
"pytz>=2020.1,<2021",
]
[project.scripts]
manage = "velofy.console:cli"
[project.urls]
homepage = "https://code.webartifex.de/alexander/velofy"
repository = "https://code.webartifex.de/alexander/velofy"
[tool.black]
target-version = ["py38"]
line-length = 88
skip-string-normalization = true # `wemake-python-styleguide` enforces single quotes
[tool.poetry.group.dev.dependencies]
# Task Runners
nox = "^2020.5.24"
pre-commit = "^2.6.0"
# Code Formatters
autoflake = "^1.3.1"
black = "^19.10b0"
isort = "^4.3.21" # TODO (isort): Not ^5.5.4 due to `wemake-python-styleguide`
# Code Analyzers
2026-11-24 16:46:28 +01:00
flake8 = ">=3.8.3"
flake8-annotations = "^2.3.0"
flake8-black = "^0.2.1"
flake8-pytest-style = "^1.2.2"
2026-11-24 17:05:06 +01:00
mypy = ">=0.782"
2026-11-24 16:46:28 +01:00
wemake-python-styleguide = ">=0.14.1" # `flake8` plug-in
# Test Suite
2020-12-15 19:07:14 +01:00
Faker = "^5.0.1"
2026-11-24 17:20:17 +01:00
factory-boy = ">=3.1.0"
2020-12-28 15:52:08 +01:00
geopy = "^2.1.0"
2026-11-24 12:53:49 +01:00
packaging = ">=20.4" # Used to test the packaged version
2026-11-24 17:15:43 +01:00
pytest = ">=6.0.1"
2026-11-24 17:17:48 +01:00
pytest-cov = ">=2.10.0"
2026-11-24 17:18:38 +01:00
pytest-env = ">=0.6.2"
2026-11-24 17:19:28 +01:00
pytest-mock = ">=3.5.1"
xdoctest = { version="^0.13.0", extras=["optional"] }
# Documentation
sphinx = "^3.1.2"
sphinx-autodoc-typehints = "^1.11.0"