apify 1.7.2b3__tar.gz → 1.7.2b4__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.
- {apify-1.7.2b3 → apify-1.7.2b4}/PKG-INFO +3 -3
- {apify-1.7.2b3 → apify-1.7.2b4}/pyproject.toml +4 -4
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/config.py +3 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify.egg-info/PKG-INFO +3 -3
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify.egg-info/requires.txt +2 -2
- {apify-1.7.2b3 → apify-1.7.2b4}/LICENSE +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/README.md +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/setup.cfg +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_crypto.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/file_storage_utils.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/memory_storage_client.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/base_resource_client.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/base_resource_collection_client.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/dataset.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/dataset_collection.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/key_value_store.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/key_value_store_collection.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/request_queue.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/request_queue_collection.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_utils.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/actor.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/consts.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/event_manager.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/log.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/proxy_configuration.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/py.typed +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/middlewares/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/middlewares/apify_proxy.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/pipelines/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/pipelines/actor_dataset_push.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/requests.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/scheduler.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/scrapy/utils.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/__init__.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/base_storage.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/dataset.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/key_value_store.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/request_queue.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify/storages/storage_client_manager.py +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify.egg-info/SOURCES.txt +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify.egg-info/dependency_links.txt +0 -0
- {apify-1.7.2b3 → apify-1.7.2b4}/src/apify.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apify
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2b4
|
|
4
4
|
Summary: Apify SDK for Python
|
|
5
5
|
Author-email: "Apify Technologies s.r.o." <support@apify.com>
|
|
6
6
|
License: Apache Software License
|
|
@@ -25,7 +25,7 @@ Requires-Python: >=3.8
|
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: apify-client~=1.6.0
|
|
28
|
-
Requires-Dist: apify-shared~=1.1.
|
|
28
|
+
Requires-Dist: apify-shared~=1.1.2
|
|
29
29
|
Requires-Dist: aiofiles>=22.1.0
|
|
30
30
|
Requires-Dist: aioshutil>=1.0
|
|
31
31
|
Requires-Dist: colorama>=0.4.6
|
|
@@ -50,7 +50,7 @@ Requires-Dist: pytest-timeout~=2.3.0; extra == "dev"
|
|
|
50
50
|
Requires-Dist: pytest-xdist~=3.6.0; extra == "dev"
|
|
51
51
|
Requires-Dist: respx~=0.21.0; extra == "dev"
|
|
52
52
|
Requires-Dist: ruff~=0.4.0; extra == "dev"
|
|
53
|
-
Requires-Dist: setuptools~=70.
|
|
53
|
+
Requires-Dist: setuptools~=70.1.0; extra == "dev"
|
|
54
54
|
Requires-Dist: twine~=5.1.0; extra == "dev"
|
|
55
55
|
Requires-Dist: types-aiofiles~=23.2.0.20240403; extra == "dev"
|
|
56
56
|
Requires-Dist: types-colorama~=0.4.15.20240311; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "apify"
|
|
3
|
-
version = "1.7.
|
|
3
|
+
version = "1.7.2b4"
|
|
4
4
|
description = "Apify SDK for Python"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "Apache Software License" }
|
|
@@ -27,7 +27,7 @@ requires-python = ">=3.8"
|
|
|
27
27
|
# https://github.com/apify/apify-sdk-python/pull/154
|
|
28
28
|
dependencies = [
|
|
29
29
|
"apify-client ~= 1.6.0",
|
|
30
|
-
"apify-shared ~= 1.1.
|
|
30
|
+
"apify-shared ~= 1.1.2",
|
|
31
31
|
"aiofiles >= 22.1.0",
|
|
32
32
|
"aioshutil >= 1.0",
|
|
33
33
|
"colorama >= 0.4.6",
|
|
@@ -55,7 +55,7 @@ dev = [
|
|
|
55
55
|
"pytest-xdist ~= 3.6.0",
|
|
56
56
|
"respx ~= 0.21.0",
|
|
57
57
|
"ruff ~= 0.4.0",
|
|
58
|
-
"setuptools ~= 70.
|
|
58
|
+
"setuptools ~= 70.1.0", # setuptools are used by pytest, but not explicitly required
|
|
59
59
|
"twine ~= 5.1.0",
|
|
60
60
|
"types-aiofiles ~= 23.2.0.20240403",
|
|
61
61
|
"types-colorama ~= 0.4.15.20240311",
|
|
@@ -74,7 +74,7 @@ scrapy = [
|
|
|
74
74
|
"Apify Homepage" = "https://apify.com"
|
|
75
75
|
|
|
76
76
|
[build-system]
|
|
77
|
-
requires = ["setuptools ~= 70.
|
|
77
|
+
requires = ["setuptools ~= 70.1.0", "wheel"]
|
|
78
78
|
build-backend = "setuptools.build_meta"
|
|
79
79
|
|
|
80
80
|
[tool.setuptools.packages.find]
|
|
@@ -35,6 +35,7 @@ class Configuration:
|
|
|
35
35
|
proxy_status_url: str | None = None,
|
|
36
36
|
purge_on_start: bool | None = None,
|
|
37
37
|
token: str | None = None,
|
|
38
|
+
standby_port: int | None = None,
|
|
38
39
|
system_info_interval_millis: int | None = None,
|
|
39
40
|
) -> None:
|
|
40
41
|
"""Create a `Configuration` instance.
|
|
@@ -65,6 +66,7 @@ class Configuration:
|
|
|
65
66
|
purge_on_start (str, optional): Whether the actor should purge its default storages on startup, when running locally.
|
|
66
67
|
token (str, optional): The API token for the Apify API this actor should use.
|
|
67
68
|
system_info_interval_millis (str, optional): How often should the actor emit the SYSTEM_INFO event when running locally.
|
|
69
|
+
standby_port (int, optional): The port on which the container can listen for Actor Standby HTTP requests.
|
|
68
70
|
"""
|
|
69
71
|
# TODO: Document all these members
|
|
70
72
|
# https://github.com/apify/apify-sdk-python/issues/147
|
|
@@ -103,6 +105,7 @@ class Configuration:
|
|
|
103
105
|
self.proxy_port = proxy_port or fetch_and_parse_env_var(ApifyEnvVars.PROXY_PORT, 8000)
|
|
104
106
|
self.proxy_status_url = proxy_status_url or fetch_and_parse_env_var(ApifyEnvVars.PROXY_STATUS_URL, 'http://proxy.apify.com')
|
|
105
107
|
self.purge_on_start = purge_on_start or fetch_and_parse_env_var(ApifyEnvVars.PURGE_ON_START, default=False)
|
|
108
|
+
self.standby_port = standby_port or fetch_and_parse_env_var(ActorEnvVars.STANDBY_PORT, 4322)
|
|
106
109
|
self.started_at = fetch_and_parse_env_var(ActorEnvVars.STARTED_AT)
|
|
107
110
|
self.timeout_at = fetch_and_parse_env_var(ActorEnvVars.TIMEOUT_AT)
|
|
108
111
|
self.token = token or fetch_and_parse_env_var(ApifyEnvVars.TOKEN)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apify
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2b4
|
|
4
4
|
Summary: Apify SDK for Python
|
|
5
5
|
Author-email: "Apify Technologies s.r.o." <support@apify.com>
|
|
6
6
|
License: Apache Software License
|
|
@@ -25,7 +25,7 @@ Requires-Python: >=3.8
|
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: apify-client~=1.6.0
|
|
28
|
-
Requires-Dist: apify-shared~=1.1.
|
|
28
|
+
Requires-Dist: apify-shared~=1.1.2
|
|
29
29
|
Requires-Dist: aiofiles>=22.1.0
|
|
30
30
|
Requires-Dist: aioshutil>=1.0
|
|
31
31
|
Requires-Dist: colorama>=0.4.6
|
|
@@ -50,7 +50,7 @@ Requires-Dist: pytest-timeout~=2.3.0; extra == "dev"
|
|
|
50
50
|
Requires-Dist: pytest-xdist~=3.6.0; extra == "dev"
|
|
51
51
|
Requires-Dist: respx~=0.21.0; extra == "dev"
|
|
52
52
|
Requires-Dist: ruff~=0.4.0; extra == "dev"
|
|
53
|
-
Requires-Dist: setuptools~=70.
|
|
53
|
+
Requires-Dist: setuptools~=70.1.0; extra == "dev"
|
|
54
54
|
Requires-Dist: twine~=5.1.0; extra == "dev"
|
|
55
55
|
Requires-Dist: types-aiofiles~=23.2.0.20240403; extra == "dev"
|
|
56
56
|
Requires-Dist: types-colorama~=0.4.15.20240311; extra == "dev"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
apify-client~=1.6.0
|
|
2
|
-
apify-shared~=1.1.
|
|
2
|
+
apify-shared~=1.1.2
|
|
3
3
|
aiofiles>=22.1.0
|
|
4
4
|
aioshutil>=1.0
|
|
5
5
|
colorama>=0.4.6
|
|
@@ -25,7 +25,7 @@ pytest-timeout~=2.3.0
|
|
|
25
25
|
pytest-xdist~=3.6.0
|
|
26
26
|
respx~=0.21.0
|
|
27
27
|
ruff~=0.4.0
|
|
28
|
-
setuptools~=70.
|
|
28
|
+
setuptools~=70.1.0
|
|
29
29
|
twine~=5.1.0
|
|
30
30
|
types-aiofiles~=23.2.0.20240403
|
|
31
31
|
types-colorama~=0.4.15.20240311
|
|
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
|
{apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/base_resource_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/dataset_collection.py
RENAMED
|
File without changes
|
{apify-1.7.2b3 → apify-1.7.2b4}/src/apify/_memory_storage/resource_clients/key_value_store.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|