apify 2.0.0b3__tar.gz → 2.0.0b5__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 (36) hide show
  1. {apify-2.0.0b3 → apify-2.0.0b5}/PKG-INFO +10 -16
  2. {apify-2.0.0b3 → apify-2.0.0b5}/pyproject.toml +25 -35
  3. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_actor.py +1 -1
  4. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_platform_event_manager.py +1 -1
  5. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_proxy_configuration.py +1 -1
  6. apify-2.0.0b3/src/apify/_log.py → apify-2.0.0b5/src/apify/log.py +1 -1
  7. apify-2.0.0b5/src/apify/py.typed +0 -0
  8. apify-2.0.0b5/src/apify/scrapy/middlewares/py.typed +0 -0
  9. apify-2.0.0b5/src/apify/scrapy/pipelines/py.typed +0 -0
  10. apify-2.0.0b5/src/apify/scrapy/py.typed +0 -0
  11. apify-2.0.0b5/src/apify/storages/py.typed +0 -0
  12. {apify-2.0.0b3 → apify-2.0.0b5}/LICENSE +0 -0
  13. {apify-2.0.0b3 → apify-2.0.0b5}/README.md +0 -0
  14. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/__init__.py +0 -0
  15. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_configuration.py +0 -0
  16. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_consts.py +0 -0
  17. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_crypto.py +0 -0
  18. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/_utils.py +0 -0
  19. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/__init__.py +0 -0
  20. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_apify_storage_client.py +0 -0
  21. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_dataset_client.py +0 -0
  22. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_dataset_collection_client.py +0 -0
  23. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_key_value_store_client.py +0 -0
  24. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_key_value_store_collection_client.py +0 -0
  25. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_request_queue_client.py +0 -0
  26. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/apify_storage_client/_request_queue_collection_client.py +0 -0
  27. {apify-2.0.0b3/src/apify → apify-2.0.0b5/src/apify/apify_storage_client}/py.typed +0 -0
  28. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/__init__.py +0 -0
  29. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/middlewares/__init__.py +0 -0
  30. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/middlewares/apify_proxy.py +0 -0
  31. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/pipelines/__init__.py +0 -0
  32. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/pipelines/actor_dataset_push.py +0 -0
  33. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/requests.py +0 -0
  34. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/scheduler.py +0 -0
  35. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/scrapy/utils.py +0 -0
  36. {apify-2.0.0b3 → apify-2.0.0b5}/src/apify/storages/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apify
3
- Version: 2.0.0b3
3
+ Version: 2.0.0b5
4
4
  Summary: Apify SDK for Python
5
5
  License: Apache-2.0
6
6
  Keywords: apify,sdk,automation,chrome,crawlee,crawler,headless,scraper,scraping
@@ -18,21 +18,15 @@ Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Topic :: Software Development :: Libraries
20
20
  Provides-Extra: scrapy
21
- Requires-Dist: aiofiles (>=22.1.0,<23.0.0)
22
- Requires-Dist: aioshutil (>=1.0,<2.0)
23
- Requires-Dist: apify-client (>=1.7.1,<2.0.0)
24
- Requires-Dist: apify-shared (>=1.1.2,<2.0.0)
25
- Requires-Dist: colorama (>=0.4.6,<0.5.0)
26
- Requires-Dist: crawlee (>=0.3.0,<0.4.0)
27
- Requires-Dist: cryptography (>=42.0.4,<43.0.0)
28
- Requires-Dist: httpx (>=0.27.0,<0.28.0)
29
- Requires-Dist: lazy-object-proxy (>=1.10.0,<2.0.0)
30
- Requires-Dist: psutil (>=6.0.0,<7.0.0)
31
- Requires-Dist: pyee (>=11.0.0,<12.0.0)
32
- Requires-Dist: scrapy (>=2.11.0,<3.0.0) ; extra == "scrapy"
33
- Requires-Dist: sortedcollections (>=2.0.0,<3.0.0)
34
- Requires-Dist: typing-extensions (>=4.1.0,<5.0.0)
35
- Requires-Dist: websockets (>=10.1,<11.0)
21
+ Requires-Dist: apify-client (>=1.7.1)
22
+ Requires-Dist: apify-shared (>=1.1.2)
23
+ Requires-Dist: crawlee (>=0.3.0)
24
+ Requires-Dist: cryptography (>=42.0.0)
25
+ Requires-Dist: httpx (>=0.27.0)
26
+ Requires-Dist: lazy-object-proxy (>=1.10.0)
27
+ Requires-Dist: scrapy (>=2.11.0) ; extra == "scrapy"
28
+ Requires-Dist: typing-extensions (>=4.1.0)
29
+ Requires-Dist: websockets (>=10.0)
36
30
  Project-URL: Apify Homepage, https://apify.com
37
31
  Project-URL: Changelog, https://docs.apify.com/sdk/python/docs/changelog
38
32
  Project-URL: Documentation, https://docs.apify.com/sdk/python/
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "apify"
7
- version = "2.0.0b3"
7
+ version = "2.0.0b5"
8
8
  description = "Apify SDK for Python"
9
9
  authors = ["Apify Technologies s.r.o. <support@apify.com>"]
10
10
  license = "Apache-2.0"
@@ -46,41 +46,31 @@ keywords = [
46
46
  # https://github.com/apify/apify-sdk-python/pull/154.
47
47
  [tool.poetry.dependencies]
48
48
  python = "^3.9"
49
- aiofiles = "^22.1.0"
50
- aioshutil = "^1.0"
51
- apify-client = "^1.7.1"
52
- apify-shared = "^1.1.2"
53
- colorama = "^0.4.6"
54
- crawlee = "^0.3.0"
55
- cryptography = "^42.0.4"
56
- httpx = "^0.27.0"
57
- lazy-object-proxy = "^1.10.0"
58
- psutil = "^6.0.0"
59
- pyee = "^11.0.0"
60
- scrapy = { version = "^2.11.0", optional = true }
61
- sortedcollections = "^2.0.0"
62
- typing-extensions = "^4.1.0"
63
- websockets = "^10.1"
49
+ apify-client = ">=1.7.1"
50
+ apify-shared = ">=1.1.2"
51
+ crawlee = ">=0.3.0"
52
+ cryptography = ">=42.0.0"
53
+ httpx = ">=0.27.0"
54
+ lazy-object-proxy = ">=1.10.0"
55
+ scrapy = { version = ">=2.11.0", optional = true }
56
+ typing-extensions = ">=4.1.0"
57
+ websockets = ">=10.0"
64
58
 
65
59
  [tool.poetry.group.dev.dependencies]
66
- build = "^1.2.0"
67
- filelock = "^3.15.0"
68
- mypy = "^1.11.0"
69
- pre-commit = "^3.8.0"
70
- pydoc-markdown = "^4.8.0"
71
- pytest = "^8.3.0"
72
- pytest-asyncio = "^0.24.0"
73
- pytest-cov = "^5.0.0"
74
- pytest-only = "^2.1.0"
75
- pytest-timeout = "^2.3.0"
76
- pytest-xdist = "^3.6.0"
77
- respx = "^0.21.0"
78
- ruff = "^0.6.0"
79
- setuptools = "^74.0.0" # setuptools are used by pytest but not explicitly required
80
- twine = "^5.1.0"
81
- types-aiofiles = "^24.1.0.20240626"
82
- types-colorama = "^0.4.15.20240311"
83
- types-psutil = "^6.0.0.20240621"
60
+ build = "~1.2.0"
61
+ filelock = "~3.15.0"
62
+ mypy = "~1.11.0"
63
+ pre-commit = "~3.8.0"
64
+ pydoc-markdown = "~4.8.0"
65
+ pytest = "~8.3.0"
66
+ pytest-asyncio = "~0.24.0"
67
+ pytest-cov = "~5.0.0"
68
+ pytest-only = "~2.1.0"
69
+ pytest-timeout = "~2.3.0"
70
+ pytest-xdist = "~3.6.0"
71
+ respx = "~0.21.0"
72
+ ruff = "~0.6.0"
73
+ setuptools = "~74.0.0" # setuptools are used by pytest but not explicitly required
84
74
 
85
75
  [tool.poetry.extras]
86
76
  scrapy = ["scrapy"]
@@ -191,7 +181,7 @@ warn_unused_ignores = true
191
181
  exclude = []
192
182
 
193
183
  [[tool.mypy.overrides]]
194
- module = ['scrapy', 'scrapy.*', 'sortedcollections', 'lazy_object_proxy']
184
+ module = ['scrapy', 'scrapy.*', 'lazy_object_proxy']
195
185
  ignore_missing_imports = true
196
186
 
197
187
  [tool.coverage.report]
@@ -19,11 +19,11 @@ from crawlee.events._types import Event, EventPersistStateData
19
19
  from apify._configuration import Configuration
20
20
  from apify._consts import EVENT_LISTENERS_TIMEOUT
21
21
  from apify._crypto import decrypt_input_secrets, load_private_key
22
- from apify._log import logger
23
22
  from apify._platform_event_manager import EventManager, LocalEventManager, PlatformEventManager
24
23
  from apify._proxy_configuration import ProxyConfiguration
25
24
  from apify._utils import get_system_info, is_running_in_ipython
26
25
  from apify.apify_storage_client import ApifyStorageClient
26
+ from apify.log import logger
27
27
  from apify.storages import Dataset, KeyValueStore, RequestQueue
28
28
 
29
29
  if TYPE_CHECKING:
@@ -20,7 +20,7 @@ from crawlee.events._types import (
20
20
  EventSystemInfoData,
21
21
  )
22
22
 
23
- from apify._log import logger
23
+ from apify.log import logger
24
24
 
25
25
  if TYPE_CHECKING:
26
26
  from types import TracebackType
@@ -16,7 +16,7 @@ from crawlee.proxy_configuration import ProxyInfo as CrawleeProxyInfo
16
16
  from crawlee.proxy_configuration import _NewUrlFunction
17
17
 
18
18
  from apify._configuration import Configuration
19
- from apify._log import logger
19
+ from apify.log import logger
20
20
 
21
21
  if TYPE_CHECKING:
22
22
  from apify_client import ApifyClientAsync
@@ -11,5 +11,5 @@ logger_name = __name__.split('.')[0]
11
11
  logger = logging.getLogger(logger_name)
12
12
 
13
13
 
14
- class ActorLogFormatter(CrawleeLogFormatter): # Inherited from parent class
14
+ class ActorLogFormatter(CrawleeLogFormatter): # noqa: D101 Inherited from parent class
15
15
  pass
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