-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (40 loc) · 1.22 KB
/
pyproject.toml
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
[project]
name = "adaptio"
description = "Adaptio 是一个基于 Python asyncio 的智能并发控制工具。它借鉴了 TCP 拥塞控制算法的思想,可以根据系统负载动态调整并发任务的数量,从而优化任务吞吐量并防止过载。此外,还提供了一个装饰器,当任务因系统过载失败时自动重试。"
authors = [
{ name = "Haskely", email = "Haskely@live.com" }
]
dependencies = [
"loguru",
"aiohttp",
"colorlog",
]
readme = "README.md"
requires-python = ">= 3.10"
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/Haskely/adaptio"
"Bug Reports" = "https://github.com/Haskely/adaptio/issues"
"Source" = "https://github.com/Haskely/adaptio"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = ["src"]
[tool.hatch.version]
source = "vcs"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "scm"
update_changelog_on_bump = true
major_version_zero = true
[dependency-groups]
dev = [
"commitizen>=4.1.0",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
]