2020-08-03 20:19:42 +02:00
|
|
|
[build-system]
|
|
|
|
|
|
2026-11-24 11:58:26 +01:00
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[project]
|
2020-08-03 21:39:49 +02:00
|
|
|
|
2026-11-23 18:06:53 +01:00
|
|
|
name = "velofy"
|
2021-09-13 11:21:20 +02:00
|
|
|
version = "0.5.0.dev0"
|
2020-08-03 20:19:42 +02:00
|
|
|
|
2026-11-24 11:58:26 +01:00
|
|
|
authors = [{ name = "Alexander Hess", email = "alexander@webartifex.de" }]
|
|
|
|
|
|
2020-08-03 20:19:42 +02:00
|
|
|
description = "Optimizing an urban meal delivery platform"
|
2026-11-24 11:58:26 +01:00
|
|
|
|
2020-08-03 20:19:42 +02:00
|
|
|
keywords = [
|
|
|
|
|
"data-science",
|
|
|
|
|
"meal-delivery",
|
|
|
|
|
"vehicle-routing-problem",
|
|
|
|
|
]
|
2026-11-24 11:58:26 +01:00
|
|
|
|
2020-08-03 20:19:42 +02:00
|
|
|
license = "MIT"
|
|
|
|
|
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
2026-11-25 11:29:50 +01:00
|
|
|
requires-python = ">=3.13,<4.0"
|
2020-08-03 20:19:42 +02:00
|
|
|
|
2026-11-24 11:58:26 +01:00
|
|
|
|
|
|
|
|
# Package => Code developed in *.py files and packaged under src/velofy
|
|
|
|
|
dependencies = [
|
2026-11-25 11:29:50 +01:00
|
|
|
"Shapely>=1.7.1,<2.1",
|
2026-11-25 12:18:04 +01:00
|
|
|
"alembic>=1.4.2",
|
2026-11-25 12:35:01 +01:00
|
|
|
"click>=7.1.2",
|
2026-11-25 12:53:32 +01:00
|
|
|
"folium>=0.12.1",
|
2026-11-24 11:58:26 +01:00
|
|
|
"geopy>=2.1.0,<3",
|
|
|
|
|
"googlemaps>=4.4.2,<5",
|
2026-11-25 12:57:25 +01:00
|
|
|
"matplotlib>=3.3.3",
|
2026-11-24 11:58:26 +01:00
|
|
|
"ordered-set>=4.0.2,<5",
|
2026-11-25 13:08:32 +01:00
|
|
|
"pandas>=1.1.0",
|
2026-11-24 11:58:26 +01:00
|
|
|
"psycopg2>=2.8.5,<3", # Adapter for PostgreSQL
|
|
|
|
|
"rpy2>=3.4.1,<4",
|
2026-11-25 11:29:50 +01:00
|
|
|
"sqlalchemy>=1.3.18,<2.1",
|
2026-11-24 15:17:07 +01:00
|
|
|
"statsmodels>=0.12.1,<0.15",
|
2026-11-25 11:29:50 +01:00
|
|
|
"utm>=0.7.0,<0.9",
|
2026-11-24 11:58:26 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
|
|
|
|
|
# `jupyter lab` => Notebooks with analyses using the developed package
|
2020-08-11 10:50:29 +02:00
|
|
|
research = [
|
2026-11-24 17:29:21 +01:00
|
|
|
"jupyterlab>=2.2.2",
|
2026-11-25 12:59:24 +01:00
|
|
|
"numpy>=1.19.1",
|
2026-11-24 17:29:21 +01:00
|
|
|
"pytz>=2020.1",
|
2020-08-11 10:50:29 +02:00
|
|
|
]
|
|
|
|
|
|
2026-11-24 11:58:26 +01:00
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
|
|
|
|
|
|
manage = "velofy.console:cli"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
|
|
|
|
|
|
homepage = "https://code.webartifex.de/alexander/velofy"
|
|
|
|
|
repository = "https://code.webartifex.de/alexander/velofy"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
|
|
2026-11-25 12:31:26 +01:00
|
|
|
target-version = ["py313"]
|
2026-11-24 11:58:26 +01:00
|
|
|
|
|
|
|
|
line-length = 88
|
|
|
|
|
|
|
|
|
|
skip-string-normalization = true # `wemake-python-styleguide` enforces single quotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
|
|
2020-08-03 21:24:06 +02:00
|
|
|
# Task Runners
|
2026-11-25 10:59:03 +01:00
|
|
|
nox = ">=2020.5.24"
|
2026-11-25 13:21:44 +01:00
|
|
|
pre-commit = ">=2.6.0"
|
2020-08-03 21:39:49 +02:00
|
|
|
|
|
|
|
|
# Code Formatters
|
2026-11-25 12:49:27 +01:00
|
|
|
autoflake = ">=1.3.1"
|
2026-11-25 12:31:26 +01:00
|
|
|
black = ">=19.10b0,<26"
|
2026-11-25 12:54:53 +01:00
|
|
|
isort = ">=4.3.21"
|
2020-08-03 22:41:37 +02:00
|
|
|
|
2026-11-24 11:58:26 +01:00
|
|
|
# Code Analyzers
|
2026-11-25 12:39:01 +01:00
|
|
|
flake8 = ">=3.8.3"
|
2026-11-25 12:51:00 +01:00
|
|
|
flake8-annotations = ">=2.3.0"
|
2026-11-25 12:31:26 +01:00
|
|
|
flake8-black = ">=0.2.1"
|
2026-11-25 12:52:36 +01:00
|
|
|
flake8-pytest-style = ">=1.2.2"
|
2026-11-25 12:58:10 +01:00
|
|
|
mypy = ">=0.782"
|
2020-08-04 00:09:29 +02:00
|
|
|
|
|
|
|
|
# Test Suite
|
2026-11-25 12:37:40 +01:00
|
|
|
Faker = ">=5.0.1"
|
2026-11-25 11:29:50 +01:00
|
|
|
factory-boy = ">=3.1.0,<3.4"
|
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-25 13:22:31 +01:00
|
|
|
pytest = ">=6.0.1"
|
2026-11-25 13:23:14 +01:00
|
|
|
pytest-cov = ">=2.10.0"
|
2026-11-25 13:23:55 +01:00
|
|
|
pytest-env = ">=0.6.2"
|
2026-11-25 13:24:37 +01:00
|
|
|
pytest-mock = ">=3.5.1"
|
2026-11-24 17:23:27 +01:00
|
|
|
xdoctest = { version=">=0.13.0", extras=["optional"] }
|
2020-08-04 21:14:40 +02:00
|
|
|
|
2020-08-05 01:34:27 +02:00
|
|
|
# Documentation
|
2026-11-25 11:29:50 +01:00
|
|
|
sphinx = ">=3.1.2,<7.2"
|
|
|
|
|
sphinx-autodoc-typehints = ">=1.11.0,<2.1"
|