polyswarm-api 3.13.2__tar.gz → 3.14.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/PKG-INFO +10 -14
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/README.md +4 -4
- polyswarm_api-3.14.0/pyproject.toml +83 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/__init__.py +1 -1
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/settings.py +1 -1
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api.egg-info/PKG-INFO +9 -13
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api.egg-info/SOURCES.txt +1 -3
- polyswarm_api-3.14.0/src/polyswarm_api.egg-info/requires.txt +10 -0
- polyswarm-api-3.13.2/MANIFEST.in +0 -1
- polyswarm-api-3.13.2/requirements.txt +0 -7
- polyswarm-api-3.13.2/setup.py +0 -40
- polyswarm-api-3.13.2/src/polyswarm_api.egg-info/requires.txt +0 -2
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/LICENSE +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/setup.cfg +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/api.py +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/core.py +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/exceptions.py +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api/resources.py +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api.egg-info/dependency_links.txt +0 -0
- {polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api.egg-info/top_level.txt +0 -0
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version: 3.
|
|
2
|
+
Name: polyswarm_api
|
|
3
|
+
Version: 3.14.0
|
|
4
4
|
Summary: Client library to simplify interacting with the PolySwarm consumer API
|
|
5
|
-
|
|
6
|
-
Author: PolySwarm Developers
|
|
7
|
-
Author-email: info@polyswarm.io
|
|
5
|
+
Author-email: PolySwarm Developers <info@polyswarm.io>
|
|
8
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/polyswarm/polyswarm-api
|
|
9
8
|
Classifier: Intended Audience :: Developers
|
|
10
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
10
|
Classifier: Operating System :: OS Independent
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
|
|
19
|
-
Requires-Python: >=3.7,<4
|
|
14
|
+
Requires-Python: <4,>=3.10
|
|
20
15
|
Description-Content-Type: text/markdown
|
|
16
|
+
Provides-Extra: tests
|
|
21
17
|
License-File: LICENSE
|
|
22
18
|
|
|
23
|
-
#
|
|
19
|
+
# polyswarm_api
|
|
24
20
|
|
|
25
21
|
An interface to the PolySwarm Customer APIs.
|
|
26
22
|
For an easy-to-use CLI tool, or as an example of how to use these APIs, please see [polyswarm-cli](https://github.com/polyswarm/polyswarm-cli)
|
|
@@ -31,7 +27,7 @@ Supports Python 3.7 and greater.
|
|
|
31
27
|
|
|
32
28
|
From PyPI:
|
|
33
29
|
|
|
34
|
-
pip install
|
|
30
|
+
pip install polyswarm_api
|
|
35
31
|
|
|
36
32
|
From source:
|
|
37
33
|
|
|
@@ -44,11 +40,11 @@ From source:
|
|
|
44
40
|
|
|
45
41
|
## Usage
|
|
46
42
|
|
|
47
|
-
See the [
|
|
43
|
+
See the [polyswarm_api documentation](https://docs.polyswarm.io/docs/polyswarm-customer-api) for usage guidance.
|
|
48
44
|
|
|
49
45
|
## API Reference
|
|
50
46
|
|
|
51
|
-
See the [
|
|
47
|
+
See the [polyswarm_api reference](https://polyswarm-api.readthedocs.io/en/latest/autoapi/index.html) for API References.
|
|
52
48
|
|
|
53
49
|
## Questions? Problems?
|
|
54
50
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# polyswarm_api
|
|
2
2
|
|
|
3
3
|
An interface to the PolySwarm Customer APIs.
|
|
4
4
|
For an easy-to-use CLI tool, or as an example of how to use these APIs, please see [polyswarm-cli](https://github.com/polyswarm/polyswarm-cli)
|
|
@@ -9,7 +9,7 @@ Supports Python 3.7 and greater.
|
|
|
9
9
|
|
|
10
10
|
From PyPI:
|
|
11
11
|
|
|
12
|
-
pip install
|
|
12
|
+
pip install polyswarm_api
|
|
13
13
|
|
|
14
14
|
From source:
|
|
15
15
|
|
|
@@ -22,11 +22,11 @@ From source:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
See the [
|
|
25
|
+
See the [polyswarm_api documentation](https://docs.polyswarm.io/docs/polyswarm-customer-api) for usage guidance.
|
|
26
26
|
|
|
27
27
|
## API Reference
|
|
28
28
|
|
|
29
|
-
See the [
|
|
29
|
+
See the [polyswarm_api reference](https://polyswarm-api.readthedocs.io/en/latest/autoapi/index.html) for API References.
|
|
30
30
|
|
|
31
31
|
## Questions? Problems?
|
|
32
32
|
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "polyswarm_api"
|
|
7
|
+
version = "3.14.0"
|
|
8
|
+
description = "Client library to simplify interacting with the PolySwarm consumer API"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10,<4"
|
|
11
|
+
authors = [{ name = "PolySwarm Developers", email = "info@polyswarm.io" }]
|
|
12
|
+
license = { text = "MIT" }
|
|
13
|
+
urls = { Homepage = "https://github.com/polyswarm/polyswarm-api" }
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
"Programming Language :: Python :: 3.10",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
]
|
|
22
|
+
dependencies = [
|
|
23
|
+
"requests>=2.31",
|
|
24
|
+
"python-dateutil>=2.9",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.optional-dependencies]
|
|
28
|
+
tests = [
|
|
29
|
+
"bump-my-version~=1.2",
|
|
30
|
+
"pytest~=7.4",
|
|
31
|
+
"jsonschema~=3.0.2",
|
|
32
|
+
"responses~=0.23.3",
|
|
33
|
+
"python-dateutil~=2.9.0",
|
|
34
|
+
'vcrpy~=7.0',
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[tool.setuptools]
|
|
38
|
+
include-package-data = true
|
|
39
|
+
package-dir = { "" = "src" }
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.packages.find]
|
|
42
|
+
where = ["src"]
|
|
43
|
+
|
|
44
|
+
[tool.bumpversion]
|
|
45
|
+
current_version = "3.14.0"
|
|
46
|
+
commit = true
|
|
47
|
+
tag = false
|
|
48
|
+
sign_tags = true
|
|
49
|
+
tag_name = "{new_version}"
|
|
50
|
+
parse = '^(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:\.dev(?P<dev>\d+))?(?:\+(?P<local>[a-z0-9]+(?:\.[a-z0-9]+)*))?$'
|
|
51
|
+
serialize = [
|
|
52
|
+
"{major}.{minor}.{patch}.dev{dev}+{short_commit_sha}",
|
|
53
|
+
"{major}.{minor}.{patch}"
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[tool.bumpversion.parts.dev]
|
|
57
|
+
first_value = "0"
|
|
58
|
+
optional_value = "0"
|
|
59
|
+
|
|
60
|
+
[[tool.bumpversion.files]]
|
|
61
|
+
filename = "src/polyswarm_api/__init__.py"
|
|
62
|
+
search = "__version__ = '{current_version}'"
|
|
63
|
+
replace = "__version__ = '{new_version}'"
|
|
64
|
+
|
|
65
|
+
[tool.pytest.ini_options]
|
|
66
|
+
log_cli = true
|
|
67
|
+
log_cli_level = "DEBUG"
|
|
68
|
+
log_format = "%(asctime)s %(levelname)-2s [%(name)s:%(filename)s:%(lineno)d:%(funcName)1s()] %(message)s"
|
|
69
|
+
python_files = ["test_*.py", "*_test.py"]
|
|
70
|
+
testpaths = ["test"]
|
|
71
|
+
norecursedirs = [
|
|
72
|
+
".git",
|
|
73
|
+
".idea",
|
|
74
|
+
]
|
|
75
|
+
filterwarnings = [
|
|
76
|
+
"ignore::DeprecationWarning",
|
|
77
|
+
]
|
|
78
|
+
addopts = [
|
|
79
|
+
"--continue-on-collection-errors",
|
|
80
|
+
"-v",
|
|
81
|
+
"-s",
|
|
82
|
+
"-rxXs",
|
|
83
|
+
]
|
|
@@ -16,7 +16,7 @@ DEFAULT_HTTP_TIMEOUT = 30
|
|
|
16
16
|
DEFAULT_RETRIES = 0
|
|
17
17
|
DEFAULT_BACKOFF = 1
|
|
18
18
|
DEFAULT_RETRY_CODES = (502, 504)
|
|
19
|
-
DEFAULT_USER_AGENT = '
|
|
19
|
+
DEFAULT_USER_AGENT = 'polyswarm_api/{} ({}-{}-{}-{})'.format(
|
|
20
20
|
polyswarm_api.__version__, platform.machine(), platform.system(),
|
|
21
21
|
platform.python_implementation(), platform.python_version(),
|
|
22
22
|
)
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: polyswarm-api
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.14.0
|
|
4
4
|
Summary: Client library to simplify interacting with the PolySwarm consumer API
|
|
5
|
-
|
|
6
|
-
Author: PolySwarm Developers
|
|
7
|
-
Author-email: info@polyswarm.io
|
|
5
|
+
Author-email: PolySwarm Developers <info@polyswarm.io>
|
|
8
6
|
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/polyswarm/polyswarm-api
|
|
9
8
|
Classifier: Intended Audience :: Developers
|
|
10
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
10
|
Classifier: Operating System :: OS Independent
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
|
|
19
|
-
Requires-Python: >=3.7,<4
|
|
14
|
+
Requires-Python: <4,>=3.10
|
|
20
15
|
Description-Content-Type: text/markdown
|
|
16
|
+
Provides-Extra: tests
|
|
21
17
|
License-File: LICENSE
|
|
22
18
|
|
|
23
|
-
#
|
|
19
|
+
# polyswarm_api
|
|
24
20
|
|
|
25
21
|
An interface to the PolySwarm Customer APIs.
|
|
26
22
|
For an easy-to-use CLI tool, or as an example of how to use these APIs, please see [polyswarm-cli](https://github.com/polyswarm/polyswarm-cli)
|
|
@@ -31,7 +27,7 @@ Supports Python 3.7 and greater.
|
|
|
31
27
|
|
|
32
28
|
From PyPI:
|
|
33
29
|
|
|
34
|
-
pip install
|
|
30
|
+
pip install polyswarm_api
|
|
35
31
|
|
|
36
32
|
From source:
|
|
37
33
|
|
|
@@ -44,11 +40,11 @@ From source:
|
|
|
44
40
|
|
|
45
41
|
## Usage
|
|
46
42
|
|
|
47
|
-
See the [
|
|
43
|
+
See the [polyswarm_api documentation](https://docs.polyswarm.io/docs/polyswarm-customer-api) for usage guidance.
|
|
48
44
|
|
|
49
45
|
## API Reference
|
|
50
46
|
|
|
51
|
-
See the [
|
|
47
|
+
See the [polyswarm_api reference](https://polyswarm-api.readthedocs.io/en/latest/autoapi/index.html) for API References.
|
|
52
48
|
|
|
53
49
|
## Questions? Problems?
|
|
54
50
|
|
polyswarm-api-3.13.2/MANIFEST.in
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
include requirements.txt
|
polyswarm-api-3.13.2/setup.py
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
from setuptools import find_packages, setup
|
|
4
|
-
|
|
5
|
-
# The README.md will be used as the content for the PyPi package details page on the Python Package Index.
|
|
6
|
-
with open('README.md', 'r') as readme:
|
|
7
|
-
long_description = readme.read()
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
setup(
|
|
11
|
-
name='polyswarm-api',
|
|
12
|
-
version='3.13.2',
|
|
13
|
-
description='Client library to simplify interacting with the PolySwarm consumer API',
|
|
14
|
-
long_description=long_description,
|
|
15
|
-
long_description_content_type='text/markdown',
|
|
16
|
-
author='PolySwarm Developers',
|
|
17
|
-
author_email='info@polyswarm.io',
|
|
18
|
-
url='https://github.com/polyswarm/polyswarm-api',
|
|
19
|
-
license='MIT',
|
|
20
|
-
python_requires='>=3.7,<4',
|
|
21
|
-
install_requires=[
|
|
22
|
-
'requests~=2.31',
|
|
23
|
-
'python-dateutil~=2.9',
|
|
24
|
-
],
|
|
25
|
-
include_package_data=True,
|
|
26
|
-
packages=find_packages('src'),
|
|
27
|
-
package_dir={'': 'src'},
|
|
28
|
-
classifiers=[
|
|
29
|
-
'Intended Audience :: Developers',
|
|
30
|
-
'License :: OSI Approved :: MIT License',
|
|
31
|
-
'Operating System :: OS Independent',
|
|
32
|
-
'Programming Language :: Python :: 3.7',
|
|
33
|
-
'Programming Language :: Python :: 3.8',
|
|
34
|
-
'Programming Language :: Python :: 3.9',
|
|
35
|
-
'Programming Language :: Python :: 3.10',
|
|
36
|
-
'Programming Language :: Python :: 3.11',
|
|
37
|
-
'Programming Language :: Python :: 3.12',
|
|
38
|
-
'Programming Language :: Python :: Implementation :: PyPy',
|
|
39
|
-
]
|
|
40
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polyswarm-api-3.13.2 → polyswarm_api-3.14.0}/src/polyswarm_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|