-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (53 loc) · 2.06 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (53 loc) · 2.06 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "amazon-asin-scraper"
version = "0.1.0"
description = "Extract, validate and check Amazon ASINs -- including the book ASINs that prefix-requiring regexes silently discard."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Richard Li" }]
keywords = ["amazon", "asin", "isbn", "scraper", "ecommerce", "product-id"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
]
# Everything is inherited from the parent project: transport, block
# classification, selector registry, retry, robots handling. This package adds a
# price-shaped view and nothing else, so there is exactly one place to fix when
# Amazon changes its markup.
dependencies = [
"amznscrape @ git+https://github.com/thunderbit-operations/amazon-product-scraper-python.git",
]
[project.optional-dependencies]
dev = ["pytest>=8.3", "pytest-asyncio>=0.25", "ruff>=0.9", "mypy>=1.14"]
[project.scripts]
amzn-asin = "amazon_asin_scraper.cli:main"
[project.urls]
Homepage = "https://github.com/thunderbit-operations/amazon-asin-scraper-python"
Issues = "https://github.com/thunderbit-operations/amazon-asin-scraper-python/issues"
"Core library" = "https://github.com/thunderbit-operations/amazon-product-scraper-python"
[tool.hatch.build.targets.wheel]
packages = ["src/amazon_asin_scraper"]
[tool.hatch.metadata]
# Required for the git dependency above until the core library is on PyPI.
allow-direct-references = true
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "C4", "SIM", "RUF", "PTH", "RET", "ARG"]
ignore = ["E501", "RUF001", "RUF002", "RUF003"]
[tool.mypy]
python_version = "3.11"
strict = true
files = ["src"]