apify 2.0.2b3__tar.gz → 2.0.2b5__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 (37) hide show
  1. {apify-2.0.2b3 → apify-2.0.2b5}/PKG-INFO +2 -2
  2. {apify-2.0.2b3 → apify-2.0.2b5}/pyproject.toml +7 -13
  3. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_platform_event_manager.py +1 -1
  4. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/log.py +1 -1
  5. {apify-2.0.2b3 → apify-2.0.2b5}/LICENSE +0 -0
  6. {apify-2.0.2b3 → apify-2.0.2b5}/README.md +0 -0
  7. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/__init__.py +0 -0
  8. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_actor.py +0 -0
  9. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_configuration.py +0 -0
  10. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_consts.py +0 -0
  11. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_crypto.py +0 -0
  12. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_models.py +0 -0
  13. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_proxy_configuration.py +0 -0
  14. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/_utils.py +0 -0
  15. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/__init__.py +0 -0
  16. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_apify_storage_client.py +0 -0
  17. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_dataset_client.py +0 -0
  18. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_dataset_collection_client.py +0 -0
  19. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_key_value_store_client.py +0 -0
  20. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_key_value_store_collection_client.py +0 -0
  21. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_request_queue_client.py +0 -0
  22. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/_request_queue_collection_client.py +0 -0
  23. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/apify_storage_client/py.typed +0 -0
  24. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/py.typed +0 -0
  25. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/__init__.py +0 -0
  26. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/middlewares/__init__.py +0 -0
  27. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/middlewares/apify_proxy.py +0 -0
  28. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/middlewares/py.typed +0 -0
  29. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/pipelines/__init__.py +0 -0
  30. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/pipelines/actor_dataset_push.py +0 -0
  31. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/pipelines/py.typed +0 -0
  32. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/py.typed +0 -0
  33. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/requests.py +0 -0
  34. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/scheduler.py +0 -0
  35. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/scrapy/utils.py +0 -0
  36. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/storages/__init__.py +0 -0
  37. {apify-2.0.2b3 → apify-2.0.2b5}/src/apify/storages/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apify
3
- Version: 2.0.2b3
3
+ Version: 2.0.2b5
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
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development :: Libraries
21
21
  Provides-Extra: scrapy
22
22
  Requires-Dist: apify-client (>=1.8.1)
23
23
  Requires-Dist: apify-shared (>=1.1.2)
24
- Requires-Dist: crawlee (>=0.3.8)
24
+ Requires-Dist: crawlee (>=0.3.9)
25
25
  Requires-Dist: cryptography (>=42.0.0)
26
26
  Requires-Dist: httpx (>=0.27.0)
27
27
  Requires-Dist: lazy-object-proxy (>=1.10.0)
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "apify"
7
- version = "2.0.2b3"
7
+ version = "2.0.2b5"
8
8
  description = "Apify SDK for Python"
9
9
  authors = ["Apify Technologies s.r.o. <support@apify.com>"]
10
10
  license = "Apache-2.0"
@@ -48,7 +48,7 @@ keywords = [
48
48
  python = "^3.9"
49
49
  apify-client = ">=1.8.1"
50
50
  apify-shared = ">=1.1.2"
51
- crawlee = ">=0.3.8"
51
+ crawlee = ">=0.3.9"
52
52
  cryptography = ">=42.0.0"
53
53
  httpx = ">=0.27.0"
54
54
  lazy-object-proxy = ">=1.10.0"
@@ -60,8 +60,8 @@ websockets = ">=10.0"
60
60
  build = "~1.2.0"
61
61
  filelock = "~3.16.0"
62
62
  griffe = "~1.5.0"
63
- mypy = "~1.11.0"
64
- pre-commit = "~3.8.0"
63
+ mypy = "~1.13.0"
64
+ pre-commit = "~4.0.0"
65
65
  pydoc-markdown = "~4.8.0"
66
66
  pytest = "~8.3.0"
67
67
  pytest-asyncio = "~0.24.0"
@@ -70,8 +70,8 @@ pytest-only = "~2.1.0"
70
70
  pytest-timeout = "~2.3.0"
71
71
  pytest-xdist = "~3.6.0"
72
72
  respx = "~0.21.0"
73
- ruff = "~0.6.0"
74
- setuptools = "~74.0.0" # setuptools are used by pytest but not explicitly required
73
+ ruff = "~0.7.0"
74
+ setuptools = "~75.0.0" # setuptools are used by pytest but not explicitly required
75
75
 
76
76
  [tool.poetry.extras]
77
77
  scrapy = ["scrapy"]
@@ -121,12 +121,6 @@ indent-style = "space"
121
121
  "**/__init__.py" = [
122
122
  "F401", # Unused imports
123
123
  ]
124
- "**/{scripts}/*" = [
125
- "D", # Everything from the pydocstyle
126
- "INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
127
- "PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
128
- "T20", # flake8-print
129
- ]
130
124
  "**/{tests}/*" = [
131
125
  "D", # Everything from the pydocstyle
132
126
  "INP001", # File {filename} is part of an implicit namespace package, add an __init__.py
@@ -169,7 +163,7 @@ timeout = 1200
169
163
  [tool.mypy]
170
164
  python_version = "3.9"
171
165
  plugins = ["pydantic.mypy"]
172
- files = ["scripts", "src", "tests"]
166
+ files = ["src", "tests"]
173
167
  check_untyped_defs = true
174
168
  disallow_incomplete_defs = true
175
169
  disallow_untyped_calls = true
@@ -49,7 +49,7 @@ class SystemInfoEventData(BaseModel):
49
49
  return EventSystemInfoData.model_validate(
50
50
  {
51
51
  'cpu_info': {
52
- 'used_ratio': self.cpu_current_usage,
52
+ 'used_ratio': self.cpu_current_usage / 100,
53
53
  'created_at': self.created_at,
54
54
  },
55
55
  'memory_info': {
@@ -17,7 +17,7 @@ logger = logging.getLogger(logger_name)
17
17
 
18
18
 
19
19
  @ignore_docs
20
- class ActorLogFormatter(CrawleeLogFormatter): # noqa: D101 Inherited from parent class
20
+ class ActorLogFormatter(CrawleeLogFormatter): # noqa: D101 (Inherited from parent class)
21
21
  pass
22
22
 
23
23
 
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