-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (86 loc) · 3.16 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (86 loc) · 3.16 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "fastsaver"
dynamic = ["version"]
description = "Python SDK for FastSaverAPI — download media from Instagram, TikTok, YouTube (up to 4K + MP3), Pinterest, Facebook, X, RuTube, Likee; Telegram file_id audio; Shazam. Sync + async."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.9"
authors = [{ name = "FastSaverAPI", email = "support@fastsaver.io" }]
keywords = [
"fastsaver", "fastsaverapi", "instagram downloader api", "tiktok downloader api", "tiktok no watermark",
"youtube download api", "youtube mp3 api", "telegram file_id", "telegram bot audio", "shazam api",
"pinterest downloader", "facebook video downloader", "twitter video downloader", "media downloader",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Video",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = ["httpx>=0.24,<1.0"]
[project.urls]
Homepage = "https://api.fastsaver.io"
Documentation = "https://api.fastsaver.io/docs"
Repository = "https://github.com/coder2077/fastsaver"
Issues = "https://github.com/coder2077/fastsaver/issues"
Changelog = "https://github.com/coder2077/fastsaver/blob/main/CHANGELOG.md"
Telegram = "https://t.me/fastsaverapi"
[project.scripts]
fastsaver = "fastsaver.cli:main"
[dependency-groups]
dev = [
"pytest>=7.4",
"pytest-asyncio>=0.21",
"respx>=0.21",
"ruff>=0.4",
"mypy>=1.8",
]
[tool.hatch.version]
path = "src/fastsaver/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/fastsaver"]
[tool.hatch.build.targets.sdist]
include = [
"/src/fastsaver", "/tests", "/examples", "/README.md", "/LICENSE",
"/CHANGELOG.md", "/CONTRIBUTING.md", "/SECURITY.md", "/pyproject.toml",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-q"
# tests/ has no __init__.py and fixtures are imported as plain `payloads`; make that work
# under both `python -m pytest` and the bare `pytest` entry point.
pythonpath = ["tests"]
filterwarnings = ["error::DeprecationWarning:fastsaver.*"]
[tool.ruff]
line-length = 100
target-version = "py39"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "W", "N", "SIM", "RUF"]
ignore = ["RUF012", "B008", "UP007", "UP045"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "B011", "RUF001"]
"examples/*" = ["T201"]
[tool.mypy]
# python_version is intentionally not pinned: mypy >= 2.0 rejects 3.9 as a target, and the
# 3.9-compatible syntax is enforced by ruff (target-version = "py39") and the 3.9 CI job.
strict = true
files = ["src/fastsaver"]
warn_unused_ignores = false