forked from censys/censys-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (100 loc) · 3.41 KB
/
pyproject.toml
File metadata and controls
109 lines (100 loc) · 3.41 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
[tool.poetry]
name = "censys"
version = "2.1.3"
description = "An easy-to-use and lightweight API wrapper for Censys APIs (censys.io)."
authors = ["Censys, Inc. <support@censys.io>"]
license = "Apache-2.0"
readme = "README.md"
include = ["README.md", "LICENSE", "censys/py.typed"]
keywords = ["censys", "api", "search", "attack surface management"]
classifiers = [
"Typing :: Typed",
"Topic :: Internet",
"Topic :: Security",
"Topic :: Documentation :: Sphinx",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
"Topic :: Utilities",
"Environment :: Console",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy",
]
[tool.poetry.urls]
"Censys Homepage" = "https://censys.io/"
"Censys Search" = "https://search.censys.io/"
"Discussions" = "https://github.com/censys/censys-python/discussions"
"Documentation" = "https://censys-python.rtfd.io"
"Changelog" = "https://github.com/censys/censys-python/releases"
"Tracker" = "https://github.com/censys/censys-python/issues"
"Source" = "https://github.com/censys/censys-python"
[tool.poetry.scripts]
censys = "censys.cli:main"
[tool.poetry.dependencies]
python = ">=3.6.2,<4.0"
requests = ">=2.26.0"
backoff = "^1.11.1"
rich = ">=10.16.2"
importlib-metadata = { version = "*", python = "<3.8" }
[tool.poetry.dev-dependencies]
# Lint
flake8 = "^4.0.1"
flake8-docstrings = "^1.6.0"
flake8-pytest-style = "^1.6.0"
flake8-simplify = "^0.18.1"
flake8-comprehensions = "3.7.0" # Last version to support Python 3.6
flake8-isort = "^4.1.1"
isort = "^5.10.1"
pep8-naming = "^0.12.1"
flake8-black = "0.3.1" # Last version to support Python 3.6
black = "^22.1.0"
blacken-docs = "1.12.0" # Last version to support Python 3.6
darglint = "^1.8.1"
pyupgrade = "^2.31.0"
# Tests
pytest = "^7.0.1"
pytest-cov = "^3.0.0"
responses = "0.17.0" # Last version to support Python 3.6
parameterized = "^0.8.1"
# Types
mypy = "^0.931"
types-requests = ">=2.26.0"
backoff-stubs = "*"
[tool.black]
target-version = ['py36']
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
known_first_party = ["censys"]
known_local_folder = ["censys"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
extend_skip = ["setup.py", "conf.py"]
[tool.mypy]
python_version = "3.6"
files = ["censys"]
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = ["parameterized", "importlib_metadata"]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"