apify 1.1.0b7__tar.gz → 1.1.1b1__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.

Potentially problematic release.


This version of apify might be problematic. Click here for more details.

Files changed (42) hide show
  1. {apify-1.1.0b7 → apify-1.1.1b1}/PKG-INFO +4 -4
  2. apify-1.1.1b1/pyproject.toml +184 -0
  3. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/__init__.py +4 -1
  4. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_utils.py +3 -5
  5. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify.egg-info/PKG-INFO +4 -4
  6. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify.egg-info/SOURCES.txt +1 -2
  7. apify-1.1.1b1/src/apify.egg-info/requires.txt +46 -0
  8. apify-1.1.0b7/setup.py +0 -105
  9. apify-1.1.0b7/src/apify/_version.py +0 -1
  10. apify-1.1.0b7/src/apify.egg-info/requires.txt +0 -45
  11. {apify-1.1.0b7 → apify-1.1.1b1}/LICENSE +0 -0
  12. {apify-1.1.0b7 → apify-1.1.1b1}/README.md +0 -0
  13. {apify-1.1.0b7 → apify-1.1.1b1}/setup.cfg +0 -0
  14. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_crypto.py +0 -0
  15. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/__init__.py +0 -0
  16. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/file_storage_utils.py +0 -0
  17. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/memory_storage_client.py +0 -0
  18. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/__init__.py +0 -0
  19. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/base_resource_client.py +0 -0
  20. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/base_resource_collection_client.py +0 -0
  21. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/dataset.py +0 -0
  22. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/dataset_collection.py +0 -0
  23. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/key_value_store.py +0 -0
  24. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/key_value_store_collection.py +0 -0
  25. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/request_queue.py +0 -0
  26. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_memory_storage/resource_clients/request_queue_collection.py +0 -0
  27. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/_types.py +0 -0
  28. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/actor.py +0 -0
  29. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/config.py +0 -0
  30. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/consts.py +0 -0
  31. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/event_manager.py +0 -0
  32. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/log.py +0 -0
  33. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/proxy_configuration.py +0 -0
  34. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/py.typed +0 -0
  35. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/__init__.py +0 -0
  36. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/base_storage.py +0 -0
  37. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/dataset.py +0 -0
  38. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/key_value_store.py +0 -0
  39. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/request_queue.py +0 -0
  40. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify/storages/storage_client_manager.py +0 -0
  41. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify.egg-info/dependency_links.txt +0 -0
  42. {apify-1.1.0b7 → apify-1.1.1b1}/src/apify.egg-info/top_level.txt +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apify
3
- Version: 1.1.0b7
3
+ Version: 1.1.1b1
4
4
  Summary: Apify SDK for Python
5
- Home-page: https://github.com/apify/apify-sdk-python
6
- Author: Apify Technologies s.r.o.
7
- Author-email: support@apify.com
5
+ Author-email: "Apify Technologies s.r.o." <support@apify.com>
8
6
  License: Apache Software License
7
+ Project-URL: Homepage, https://docs.apify.com/sdk/python/
9
8
  Project-URL: Documentation, https://docs.apify.com/sdk/python/
10
9
  Project-URL: Source, https://github.com/apify/apify-sdk-python
11
10
  Project-URL: Issue tracker, https://github.com/apify/apify-sdk-python/issues
11
+ Project-URL: Changelog, https://github.com/apify/apify-sdk-python/blob/master/CHANGELOG.md
12
12
  Project-URL: Apify Homepage, https://apify.com
13
13
  Keywords: apify,sdk,actor,scraping,automation
14
14
  Classifier: Development Status :: 5 - Production/Stable
@@ -0,0 +1,184 @@
1
+ [project]
2
+
3
+ name = "apify"
4
+
5
+ version = "1.1.1b1"
6
+ description = "Apify SDK for Python"
7
+
8
+ readme = "README.md"
9
+
10
+ license = {text = "Apache Software License"}
11
+
12
+ authors = [
13
+
14
+ {name = "Apify Technologies s.r.o.", email = "support@apify.com" }
15
+
16
+ ]
17
+
18
+ keywords = ["apify", "sdk", "actor", "scraping", "automation"]
19
+
20
+
21
+
22
+ classifiers = [
23
+
24
+ "Development Status :: 5 - Production/Stable",
25
+
26
+ "Intended Audience :: Developers",
27
+
28
+ "License :: OSI Approved :: Apache Software License",
29
+
30
+ "Operating System :: OS Independent",
31
+
32
+ "Programming Language :: Python :: 3.8",
33
+
34
+ "Programming Language :: Python :: 3.9",
35
+
36
+ "Programming Language :: Python :: 3.10",
37
+
38
+ "Programming Language :: Python :: 3.11",
39
+
40
+ "Topic :: Software Development :: Libraries",
41
+
42
+ ]
43
+
44
+
45
+
46
+ requires-python = ">=3.8"
47
+
48
+ dependencies = [
49
+
50
+ "aiofiles >= 22.1.0",
51
+
52
+ "aioshutil >= 1.0",
53
+
54
+ "apify-client >= 1.2.0",
55
+
56
+ "colorama >= 0.4.6",
57
+
58
+ "cryptography >= 39.0.0",
59
+
60
+ "httpx >= 0.24.1",
61
+
62
+ "psutil >= 5.9.5",
63
+
64
+ "pyee >= 9.0.0",
65
+
66
+ "sortedcollections >= 2.0.1",
67
+
68
+ "typing-extensions >= 4.1.0",
69
+
70
+ "websockets >= 10.1",
71
+
72
+ ]
73
+
74
+
75
+
76
+ [project.optional-dependencies]
77
+
78
+ dev = [
79
+
80
+ "autopep8 ~= 2.0.2",
81
+
82
+ "build ~= 0.10.0",
83
+
84
+ "filelock ~= 3.12.0",
85
+
86
+ "flake8 ~= 6.0.0",
87
+
88
+ "flake8-bugbear ~= 23.5.9",
89
+
90
+ "flake8-commas ~= 2.1.0",
91
+
92
+ "flake8-comprehensions ~= 3.12.0",
93
+
94
+ "flake8-datetimez ~= 20.10.0",
95
+
96
+ "flake8-docstrings ~= 1.7.0",
97
+
98
+ "flake8-encodings ~= 0.5.0",
99
+
100
+ "flake8-isort ~= 6.0.0",
101
+
102
+ "flake8-noqa ~= 1.3.1",
103
+
104
+ "flake8-pytest-style ~= 1.7.2",
105
+
106
+ "flake8-quotes ~= 3.3.2",
107
+
108
+ "flake8-unused-arguments ~= 0.0.13",
109
+
110
+ "isort ~= 5.12.0",
111
+
112
+ "mypy ~= 1.3.0",
113
+
114
+ "pep8-naming ~= 0.13.3",
115
+
116
+ "pre-commit ~= 3.3.2",
117
+
118
+ "pytest ~= 7.3.1",
119
+
120
+ "pytest-asyncio ~= 0.21.0",
121
+
122
+ "pytest-only ~= 2.0.0",
123
+
124
+ "pytest-randomly ~= 3.12.0",
125
+
126
+ "pytest-timeout ~= 2.1.0",
127
+
128
+ "pytest-xdist ~= 3.3.1",
129
+
130
+ "respx ~= 0.20.1",
131
+
132
+ "sphinx ~= 6.1.3",
133
+
134
+ "sphinx-autodoc-typehints ~= 1.22",
135
+
136
+ "sphinx-markdown-builder == 0.5.4", # pinned to 0.5.4, because 0.5.5 has a formatting bug
137
+
138
+ "twine ~= 4.0.2",
139
+
140
+ "types-aiofiles ~= 23.1.0.3",
141
+
142
+ "types-colorama ~= 0.4.15.11",
143
+
144
+ "types-psutil ~= 5.9.5.12",
145
+
146
+ ]
147
+
148
+
149
+
150
+ [project.urls]
151
+
152
+ "Homepage" = "https://docs.apify.com/sdk/python/"
153
+
154
+ "Documentation" = "https://docs.apify.com/sdk/python/"
155
+
156
+ "Source" = "https://github.com/apify/apify-sdk-python"
157
+
158
+ "Issue tracker" = "https://github.com/apify/apify-sdk-python/issues"
159
+
160
+ "Changelog" = "https://github.com/apify/apify-sdk-python/blob/master/CHANGELOG.md"
161
+
162
+ "Apify Homepage" = "https://apify.com"
163
+
164
+
165
+
166
+ [build-system]
167
+
168
+ requires = ["setuptools>=64.0.0", "wheel"]
169
+
170
+ build-backend = "setuptools.build_meta"
171
+
172
+
173
+
174
+ [tool.setuptools.packages.find]
175
+
176
+ where = ["src"]
177
+
178
+ include = ["apify*"]
179
+
180
+
181
+
182
+ [tool.setuptools.package-data]
183
+
184
+ apify = ["py.typed"]
@@ -1,6 +1,9 @@
1
- from ._version import __version__
1
+ from importlib import metadata
2
+
2
3
  from .actor import Actor
3
4
  from .config import Configuration
4
5
  from .proxy_configuration import ProxyConfiguration, ProxyInfo
5
6
 
7
+ __version__ = metadata.version('apify')
8
+
6
9
  __all__ = ['Actor', 'Configuration', 'ProxyConfiguration', 'ProxyInfo', '__version__']
@@ -16,6 +16,7 @@ from collections import OrderedDict
16
16
  from collections.abc import MutableMapping
17
17
  from datetime import datetime, timezone
18
18
  from enum import Enum
19
+ from importlib import metadata
19
20
  from typing import Any, Callable, Dict, Generic, ItemsView, Iterator, List, NoReturn, Optional
20
21
  from typing import OrderedDict as OrderedDictType
21
22
  from typing import Tuple, Type, TypeVar, Union, ValuesView, cast, overload
@@ -25,9 +26,6 @@ import psutil
25
26
  from aiofiles import ospath
26
27
  from aiofiles.os import remove, rename
27
28
 
28
- from apify_client import __version__ as client_version
29
-
30
- from ._version import __version__ as sdk_version
31
29
  from .consts import (
32
30
  _BOOL_ENV_VARS_TYPE,
33
31
  _DATETIME_ENV_VARS_TYPE,
@@ -55,8 +53,8 @@ def _get_system_info() -> Dict:
55
53
  python_version = '.'.join([str(x) for x in sys.version_info[:3]])
56
54
 
57
55
  system_info: Dict[str, Union[str, bool]] = {
58
- 'apify_sdk_version': sdk_version,
59
- 'apify_client_version': client_version,
56
+ 'apify_sdk_version': metadata.version('apify'),
57
+ 'apify_client_version': metadata.version('apify-client'),
60
58
  'python_version': python_version,
61
59
  'os': sys.platform,
62
60
  }
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apify
3
- Version: 1.1.0b7
3
+ Version: 1.1.1b1
4
4
  Summary: Apify SDK for Python
5
- Home-page: https://github.com/apify/apify-sdk-python
6
- Author: Apify Technologies s.r.o.
7
- Author-email: support@apify.com
5
+ Author-email: "Apify Technologies s.r.o." <support@apify.com>
8
6
  License: Apache Software License
7
+ Project-URL: Homepage, https://docs.apify.com/sdk/python/
9
8
  Project-URL: Documentation, https://docs.apify.com/sdk/python/
10
9
  Project-URL: Source, https://github.com/apify/apify-sdk-python
11
10
  Project-URL: Issue tracker, https://github.com/apify/apify-sdk-python/issues
11
+ Project-URL: Changelog, https://github.com/apify/apify-sdk-python/blob/master/CHANGELOG.md
12
12
  Project-URL: Apify Homepage, https://apify.com
13
13
  Keywords: apify,sdk,actor,scraping,automation
14
14
  Classifier: Development Status :: 5 - Production/Stable
@@ -1,11 +1,10 @@
1
1
  LICENSE
2
2
  README.md
3
- setup.py
3
+ pyproject.toml
4
4
  src/apify/__init__.py
5
5
  src/apify/_crypto.py
6
6
  src/apify/_types.py
7
7
  src/apify/_utils.py
8
- src/apify/_version.py
9
8
  src/apify/actor.py
10
9
  src/apify/config.py
11
10
  src/apify/consts.py
@@ -0,0 +1,46 @@
1
+ aiofiles>=22.1.0
2
+ aioshutil>=1.0
3
+ apify-client>=1.2.0
4
+ colorama>=0.4.6
5
+ cryptography>=39.0.0
6
+ httpx>=0.24.1
7
+ psutil>=5.9.5
8
+ pyee>=9.0.0
9
+ sortedcollections>=2.0.1
10
+ typing-extensions>=4.1.0
11
+ websockets>=10.1
12
+
13
+ [dev]
14
+ autopep8~=2.0.2
15
+ build~=0.10.0
16
+ filelock~=3.12.0
17
+ flake8~=6.0.0
18
+ flake8-bugbear~=23.5.9
19
+ flake8-commas~=2.1.0
20
+ flake8-comprehensions~=3.12.0
21
+ flake8-datetimez~=20.10.0
22
+ flake8-docstrings~=1.7.0
23
+ flake8-encodings~=0.5.0
24
+ flake8-isort~=6.0.0
25
+ flake8-noqa~=1.3.1
26
+ flake8-pytest-style~=1.7.2
27
+ flake8-quotes~=3.3.2
28
+ flake8-unused-arguments~=0.0.13
29
+ isort~=5.12.0
30
+ mypy~=1.3.0
31
+ pep8-naming~=0.13.3
32
+ pre-commit~=3.3.2
33
+ pytest~=7.3.1
34
+ pytest-asyncio~=0.21.0
35
+ pytest-only~=2.0.0
36
+ pytest-randomly~=3.12.0
37
+ pytest-timeout~=2.1.0
38
+ pytest-xdist~=3.3.1
39
+ respx~=0.20.1
40
+ sphinx~=6.1.3
41
+ sphinx-autodoc-typehints~=1.22
42
+ sphinx-markdown-builder==0.5.4
43
+ twine~=4.0.2
44
+ types-aiofiles~=23.1.0.3
45
+ types-colorama~=0.4.15.11
46
+ types-psutil~=5.9.5.12
apify-1.1.0b7/setup.py DELETED
@@ -1,105 +0,0 @@
1
- import pathlib
2
-
3
- from setuptools import find_packages, setup
4
-
5
- here = pathlib.Path(__file__).parent.resolve()
6
-
7
- long_description = (here / 'README.md').read_text(encoding='utf-8')
8
-
9
- version_file = (here / 'src/apify/_version.py').read_text(encoding='utf-8')
10
- version = None
11
- for line in version_file.splitlines():
12
- if line.startswith('__version__'):
13
- delim = '"' if '"' in line else "'"
14
- version = line.split(delim)[1]
15
- break
16
- else:
17
- raise RuntimeError('Unable to find version string.')
18
-
19
- setup(
20
- name='apify',
21
- version=version,
22
-
23
- author='Apify Technologies s.r.o.',
24
- author_email='support@apify.com',
25
- url='https://github.com/apify/apify-sdk-python',
26
- project_urls={
27
- 'Documentation': 'https://docs.apify.com/sdk/python/',
28
- 'Source': 'https://github.com/apify/apify-sdk-python',
29
- 'Issue tracker': 'https://github.com/apify/apify-sdk-python/issues',
30
- 'Apify Homepage': 'https://apify.com',
31
- },
32
- license='Apache Software License',
33
- license_files=['LICENSE'],
34
-
35
- description='Apify SDK for Python',
36
- long_description=long_description,
37
- long_description_content_type='text/markdown',
38
-
39
- classifiers=[
40
- 'Development Status :: 5 - Production/Stable',
41
- 'Intended Audience :: Developers',
42
- 'License :: OSI Approved :: Apache Software License',
43
- 'Operating System :: OS Independent',
44
- 'Programming Language :: Python :: 3.8',
45
- 'Programming Language :: Python :: 3.9',
46
- 'Programming Language :: Python :: 3.10',
47
- 'Programming Language :: Python :: 3.11',
48
- 'Topic :: Software Development :: Libraries',
49
- ],
50
- keywords='apify, sdk, actor, scraping, automation',
51
-
52
- package_dir={'': 'src'},
53
- packages=find_packages(where='src'),
54
- package_data={'apify': ['py.typed']},
55
- python_requires='>=3.8',
56
- install_requires=[
57
- 'aiofiles ~= 22.1.0',
58
- 'aioshutil ~= 1.2',
59
- 'apify-client ~= 1.1',
60
- 'colorama ~= 0.4.6',
61
- 'cryptography ~= 39.0.1',
62
- 'httpx ~= 0.23.0',
63
- 'psutil ~= 5.9.4',
64
- 'pyee ~= 9.0.4',
65
- 'sortedcollections ~= 2.1.0',
66
- 'typing-extensions ~= 4.4.0',
67
- 'websockets ~= 10.4',
68
- ],
69
- extras_require={
70
- 'dev': [
71
- 'autopep8 ~= 2.0.1',
72
- 'filelock ~= 3.9.0',
73
- 'flake8 ~= 6.0.0',
74
- 'flake8-bugbear ~= 23.1.20',
75
- 'flake8-commas ~= 2.1.0',
76
- 'flake8-comprehensions ~= 3.10.1',
77
- 'flake8-datetimez ~= 20.10.0',
78
- 'flake8-docstrings ~= 1.7.0',
79
- 'flake8-encodings ~= 0.5.0',
80
- 'flake8-isort ~= 6.0.0',
81
- 'flake8-noqa ~= 1.3.0',
82
- 'flake8-pytest-style ~= 1.7.2',
83
- 'flake8-quotes ~= 3.3.1',
84
- 'flake8-unused-arguments ~= 0.0.13',
85
- 'isort ~= 5.12.0',
86
- 'mypy ~= 1.0.0',
87
- 'pep8-naming ~= 0.13.2',
88
- 'pre-commit ~= 3.0.1',
89
- 'pytest ~= 7.2.0',
90
- 'pytest-asyncio ~= 0.20.3',
91
- 'pytest-only ~= 2.0.0',
92
- 'pytest-randomly ~= 3.12.0',
93
- 'pytest-timeout ~= 2.1.0',
94
- 'pytest-xdist ~= 3.2.0',
95
- 'respx ~= 0.20.1',
96
- 'sphinx ~= 6.1.3',
97
- 'sphinx-autodoc-typehints ~= 1.22',
98
- 'sphinx-markdown-builder == 0.5.4', # pinned to 0.5.4, because 0.5.5 has a formatting bug
99
- 'types-aiofiles ~= 22.1.0.4',
100
- 'types-colorama ~= 0.4.15.7',
101
- 'types-psutil ~= 5.9.5.5',
102
- 'types-setuptools', # always latest, since we always install latest setuptools
103
- ],
104
- },
105
- )
@@ -1 +0,0 @@
1
- __version__ = '1.1.0b7'
@@ -1,45 +0,0 @@
1
- aiofiles~=22.1.0
2
- aioshutil~=1.2
3
- apify-client~=1.1
4
- colorama~=0.4.6
5
- cryptography~=39.0.1
6
- httpx~=0.23.0
7
- psutil~=5.9.4
8
- pyee~=9.0.4
9
- sortedcollections~=2.1.0
10
- typing-extensions~=4.4.0
11
- websockets~=10.4
12
-
13
- [dev]
14
- autopep8~=2.0.1
15
- filelock~=3.9.0
16
- flake8~=6.0.0
17
- flake8-bugbear~=23.1.20
18
- flake8-commas~=2.1.0
19
- flake8-comprehensions~=3.10.1
20
- flake8-datetimez~=20.10.0
21
- flake8-docstrings~=1.7.0
22
- flake8-encodings~=0.5.0
23
- flake8-isort~=6.0.0
24
- flake8-noqa~=1.3.0
25
- flake8-pytest-style~=1.7.2
26
- flake8-quotes~=3.3.1
27
- flake8-unused-arguments~=0.0.13
28
- isort~=5.12.0
29
- mypy~=1.0.0
30
- pep8-naming~=0.13.2
31
- pre-commit~=3.0.1
32
- pytest~=7.2.0
33
- pytest-asyncio~=0.20.3
34
- pytest-only~=2.0.0
35
- pytest-randomly~=3.12.0
36
- pytest-timeout~=2.1.0
37
- pytest-xdist~=3.2.0
38
- respx~=0.20.1
39
- sphinx~=6.1.3
40
- sphinx-autodoc-typehints~=1.22
41
- sphinx-markdown-builder==0.5.4
42
- types-aiofiles~=22.1.0.4
43
- types-colorama~=0.4.15.7
44
- types-psutil~=5.9.5.5
45
- types-setuptools
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes