| 1 |
[project] |
| 2 |
name = "aioftp" |
| 3 |
version = "0.28.0" |
| 4 |
description = "ftp client/server for asyncio" |
| 5 |
readme = "README.rst" |
| 6 |
requires-python = ">= 3.10" |
| 7 |
license = {file = "license.txt"} |
| 8 |
authors = [ |
| 9 |
{name = "pohmelie", email = "[email protected]"}, |
| 10 |
{name = "yieyu"}, |
| 11 |
{name = "rsichnyi"}, |
| 12 |
{name = "jw4js"}, |
| 13 |
{name = "asvetlov", email = "[email protected]"}, |
| 14 |
{name = "decaz", email = "[email protected]"}, |
| 15 |
{name = "oleksandr-kuzmenko"}, |
| 16 |
{name = "ndhansen"}, |
| 17 |
{name = "janneronkko", email="[email protected]"}, |
| 18 |
{name = "thirtyseven", email="[email protected]"}, |
| 19 |
{name = "modelmat"}, |
| 20 |
{name = "greut"}, |
| 21 |
{name = "ported-pw", email="[email protected]"}, |
| 22 |
{name = "PonyPC"}, |
| 23 |
{name = "jacobtomlinson"}, |
| 24 |
{name = "Olegt0rr", email="[email protected]"}, |
| 25 |
{name = "michalc", email="[email protected]"}, |
| 26 |
{name = "bachya"}, |
| 27 |
{name = "ch3pjw", email="[email protected]"}, |
| 28 |
{name = "puddly", email="[email protected]"}, |
| 29 |
{name = "CrafterKolyan"}, |
| 30 |
{name = "jkr78"}, |
| 31 |
{name = "AMDmi3", email="[email protected]"}, |
| 32 |
{name = "webknjaz", email="webknjaz+github/[email protected]"}, |
| 33 |
{name = "rcfox", email="[email protected]"}, |
| 34 |
{name = "bellini666", email="[email protected]"}, |
| 35 |
{name = "sakosha"}, |
| 36 |
{name = "rwakulszowa"}, |
| 37 |
] |
| 38 |
classifiers = [ |
| 39 |
"Programming Language :: Python", |
| 40 |
"Programming Language :: Python :: 3", |
| 41 |
"Development Status :: 5 - Production/Stable", |
| 42 |
"Topic :: Internet :: File Transfer Protocol (FTP)", |
| 43 |
] |
| 44 |
|
| 45 |
|
| 46 |
dependencies = [ |
| 47 |
"typing-extensions>=4.13.2; python_version < '3.11'", |
| 48 |
] |
| 49 |
|
| 50 |
[project.urls] |
| 51 |
Github = "https://github.com/aio-libs/aioftp" |
| 52 |
Documentation = "https://aioftp.rtfd.io" |
| 53 |
|
| 54 |
[project.optional-dependencies] |
| 55 |
socks = [ |
| 56 |
"siosocks >= 0.2.0", |
| 57 |
] |
| 58 |
dev = [ |
| 59 |
|
| 60 |
"async_timeout >= 4.0.0", |
| 61 |
"pytest-asyncio", |
| 62 |
"pytest-cov", |
| 63 |
"pytest-mock", |
| 64 |
"pytest", |
| 65 |
"siosocks", |
| 66 |
"trustme", |
| 67 |
|
| 68 |
|
| 69 |
"pre-commit", |
| 70 |
"ruff", |
| 71 |
"mypy", |
| 72 |
] |
| 73 |
|
| 74 |
[build-system] |
| 75 |
requires = ["setuptools", "wheel"] |
| 76 |
build-backend = "setuptools.build_meta" |
| 77 |
|
| 78 |
[tool.setuptools] |
| 79 |
packages.find.where = ["src"] |
| 80 |
package-data.aioftp = ["py.typed"] |
| 81 |
|
| 82 |
|
| 83 |
[tool.ruff] |
| 84 |
line-length = 120 |
| 85 |
target-version = "py310" |
| 86 |
lint.select = ["E", "W", "F", "Q", "UP", "I", "ASYNC"] |
| 87 |
lint.ignore = ["ASYNC240"] |
| 88 |
src = ["src"] |
| 89 |
exclude = ["ftpbench.py"] |
| 90 |
|
| 91 |
|
| 92 |
[tool.mypy] |
| 93 |
files = "src/aioftp" |
| 94 |
pretty = true |
| 95 |
strict = true |
| 96 |
ignore_missing_imports = true |
| 97 |
warn_unreachable = true |
| 98 |
|
| 99 |
[tool.coverage] |
| 100 |
run.source = ["./src/aioftp"] |
| 101 |
run.omit = ["./src/aioftp/__main__.py"] |
| 102 |
report.show_missing = true |
| 103 |
report.precision = 2 |
| 104 |
|
| 105 |
[tool.pytest.ini_options] |
| 106 |
addopts = [ |
| 107 |
"-x", |
| 108 |
"--durations", "10", |
| 109 |
"-p", "no:anyio", |
| 110 |
"--cov", |
| 111 |
"--import-mode=importlib", |
| 112 |
] |
| 113 |
testpaths = "tests" |
| 114 |
log_format = "%(asctime)s.%(msecs)03d %(name)-20s %(levelname)-8s %(filename)-15s %(lineno)-4d %(message)s" |
| 115 |
log_date_format = "%H:%M:%S" |
| 116 |
log_level = "DEBUG" |
| 117 |
asyncio_mode = "strict" |