-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (123 loc) 路 3.43 KB
/
Copy pathpyproject.toml
File metadata and controls
139 lines (123 loc) 路 3.43 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[project]
name = "insto"
version = "0.7.17"
description = "Interactive Instagram OSINT CLI on the HikerAPI backend"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "subzeroid" }]
keywords = ["instagram", "osint", "cli", "repl", "hikerapi", "intelligence"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Security",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"hikerapi>=0.1.0",
"httpx>=0.27",
"prompt_toolkit>=3.0.43",
"rich>=13.7",
"tomli-w>=1.0",
"tqdm>=4.66",
]
[project.urls]
Homepage = "https://github.com/subzeroid/insto"
Documentation = "https://subzeroid.github.io/insto/"
Repository = "https://github.com/subzeroid/insto"
Issues = "https://github.com/subzeroid/insto/issues"
Changelog = "https://github.com/subzeroid/insto/blob/main/CHANGELOG.md"
[project.optional-dependencies]
completion = ["shtab>=1.7"]
aiograpi = ["aiograpi>=0.9.6"]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"pymdown-extensions>=10",
]
[project.scripts]
insto = "insto.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"/.context",
"/.github",
"/.ralphex",
"/.venv",
"/CLAUDE.md",
"/TODOS.md",
"/docs/demo.gif",
"/docs/demo.tape",
"/docs/internal",
"/docs/plans",
"/docs/social-preview.png",
"/docs/superpowers",
"/marketing",
"/output",
]
[tool.hatch.build.targets.wheel]
packages = ["insto"]
[dependency-groups]
dev = [
"build>=1.2",
"hatchling>=1.25",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.6",
"mypy>=1.11",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "W", "N", "SIM", "RUF"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"insto/exceptions.py" = ["N818"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
no_implicit_optional = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
module = ["hikerapi", "hikerapi.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
# aiograpi is an optional dependency (insto[aiograpi]). The default
# CI install path runs `uv sync` without that extra, so the import in
# insto/backends/aiograpi.py needs to fall through gracefully when the
# package is missing on the type-checker's machine.
module = ["aiograpi", "aiograpi.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
# tqdm has no type stubs installed by default; types-tqdm is its own
# package. `insto.ui.progress` only uses the high-level callable, so
# treat it as untyped rather than pulling another dev dep.
module = ["tqdm", "tqdm.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-ra"
markers = [
"e2e: end-to-end tests that exercise the CLI / REPL via the fake backend",
]