-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
106 lines (96 loc) · 2.41 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
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
# Build system requirements.
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
# Project metadata.
[project]
name = "producthunt_scraper"
version = "0.1.0"
description = "Python Scrapy spiders that scrapes data from producthunt.com"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [
{ name = "lykmapipo", email = "lallyelias87@gmail.com" },
]
maintainers = [
{ name = "lykmapipo", email = "lallyelias87@gmail.com" },
]
keywords = [
"lykmapipo",
"python",
"scrapy",
"scraper",
"crawler",
"spider",
"producthunt",
"product",
"trending",
"webscraper"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development",
]
dependencies = [
"fake-useragent>=1.3.0",
"lxml>=4.9.3",
"pandas>=2.0.3",
"parsel>=1.8.1",
"Pillow>=10.0.1",
"python-dotenv>=1.0.0",
"scrapy>=2.11.0",
]
[project.urls]
Homepage = "https://github.com/lykmapipo/ProductHunt-Python-Scrapy-Scraper"
Documentation = "https://github.com/lykmapipo/ProductHunt-Python-Scrapy-Scraper"
Repository = "https://github.com/lykmapipo/ProductHunt-Python-Scrapy-Scraper"
Issues = "https://github.com/lykmapipo/ProductHunt-Python-Scrapy-Scraper/issues"
# QA tools metadata
[tool.ruff]
fix = true
line-length = 88
src = ["src", "tests"]
target-version = "py38"
unfixable = []
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"RUF", # Ruff-specific rules
"C", # flake8-comprehensions
"B", # flake8-bugbear
"I", # isort
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.black]
target-version = ["py38"]
line-length = 88
[tool.isort]
profile = "black"
line_length = 88
known_first_party = ["producthunt_scraper"]
[tool.pydocstyle]
convention = "numpy"
# Build system metadata.
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["producthunt_scraper", "producthunt_scraper.*"]
exclude = ["tests*"]
namespaces = false