generated from jenskeiner/python-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 2.38 KB
/
pyproject.toml
File metadata and controls
81 lines (71 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["hatchling", "hatch-env-plus>=1.0.1"]
build-backend = "hatchling.build"
[project]
name = "exchange-calendar-service"
dynamic = ["version"]
description = "A simple HTTP-based web service to query exchange calendars."
license = "Apache-2.0"
authors = [{ name = "Jens Keiner", email = "jens.keiner@gmail.com" }]
readme = "README.md"
requires-python = ">=3.11"
keywords = ["exchange", "calendar", "trading", "holidays"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"exchange-calendars-extensions>=0.9.3,<1",
"fastapi>0,<1",
"pyyaml>=6,<7",
"pydantic-settings>=2,<3",
"myers>1,<2",
"cachetools>6,<8",
"pytz",
"uvicorn>=0.40.0,<1",
]
[tool.hatch.metadata]
allow-direct-references = true
[project.urls]
homepage = "https://github.com/jenskeiner/exchange_calendar_service/"
repository = "https://github.com/jenskeiner/exchange_calendar_service/"
documentation = "https://github.com/jenskeiner/exchange_calendar_service/tree/main/docs/"
issues = "https://github.com/jenskeiner/exchange_calendar_service/issues/"
[tool.hatch.version]
source = "env-plus"
variable = "PACKAGE_VERSION"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
".pre-commit-config.yaml",
]
[tool.hatch.build.targets.wheel]
sources = ["src"]
only-include = ["src/exchange_calendar_service"]
[dependency-groups]
dev = [
"pytest>=9,<10",
"pytest-mock>=3,<4",
"pytest-cov>=7,<8",
"pre-commit>=4,<5",
"freezegun>=1.5.1,<2",
"httpx>=0.27.0,<1"
]
[project.scripts]
exchange-calendar-service = "exchange_calendar_service.__main__:main"
# [project.entry-points."exchange_calendar_service.init"]
# customize = "customize:init"
[tool.pytest.ini_options]
addopts = "--cov=src/exchange_calendar_service --cov-report=term-missing"