apify 1.1.0b7__py3-none-any.whl → 1.1.1b1__py3-none-any.whl
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/__init__.py +4 -1
- apify/_utils.py +3 -5
- {apify-1.1.0b7.dist-info → apify-1.1.1b1.dist-info}/METADATA +32 -31
- {apify-1.1.0b7.dist-info → apify-1.1.1b1.dist-info}/RECORD +7 -8
- apify/_version.py +0 -1
- {apify-1.1.0b7.dist-info → apify-1.1.1b1.dist-info}/LICENSE +0 -0
- {apify-1.1.0b7.dist-info → apify-1.1.1b1.dist-info}/WHEEL +0 -0
- {apify-1.1.0b7.dist-info → apify-1.1.1b1.dist-info}/top_level.txt +0 -0
apify/__init__.py
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
from
|
|
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__']
|
apify/_utils.py
CHANGED
|
@@ -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':
|
|
59
|
-
'apify_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.
|
|
3
|
+
Version: 1.1.1b1
|
|
4
4
|
Summary: Apify SDK for Python
|
|
5
|
-
|
|
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
|
|
@@ -23,50 +23,51 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
23
23
|
Requires-Python: >=3.8
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: aiofiles (
|
|
27
|
-
Requires-Dist: aioshutil (
|
|
28
|
-
Requires-Dist: apify-client (
|
|
29
|
-
Requires-Dist: colorama (
|
|
30
|
-
Requires-Dist: cryptography (
|
|
31
|
-
Requires-Dist: httpx (
|
|
32
|
-
Requires-Dist: psutil (
|
|
33
|
-
Requires-Dist: pyee (
|
|
34
|
-
Requires-Dist: sortedcollections (
|
|
35
|
-
Requires-Dist: typing-extensions (
|
|
36
|
-
Requires-Dist: websockets (
|
|
26
|
+
Requires-Dist: aiofiles (>=22.1.0)
|
|
27
|
+
Requires-Dist: aioshutil (>=1.0)
|
|
28
|
+
Requires-Dist: apify-client (>=1.2.0)
|
|
29
|
+
Requires-Dist: colorama (>=0.4.6)
|
|
30
|
+
Requires-Dist: cryptography (>=39.0.0)
|
|
31
|
+
Requires-Dist: httpx (>=0.24.1)
|
|
32
|
+
Requires-Dist: psutil (>=5.9.5)
|
|
33
|
+
Requires-Dist: pyee (>=9.0.0)
|
|
34
|
+
Requires-Dist: sortedcollections (>=2.0.1)
|
|
35
|
+
Requires-Dist: typing-extensions (>=4.1.0)
|
|
36
|
+
Requires-Dist: websockets (>=10.1)
|
|
37
37
|
Provides-Extra: dev
|
|
38
|
-
Requires-Dist: autopep8 (~=2.0.
|
|
39
|
-
Requires-Dist:
|
|
38
|
+
Requires-Dist: autopep8 (~=2.0.2) ; extra == 'dev'
|
|
39
|
+
Requires-Dist: build (~=0.10.0) ; extra == 'dev'
|
|
40
|
+
Requires-Dist: filelock (~=3.12.0) ; extra == 'dev'
|
|
40
41
|
Requires-Dist: flake8 (~=6.0.0) ; extra == 'dev'
|
|
41
|
-
Requires-Dist: flake8-bugbear (~=23.
|
|
42
|
+
Requires-Dist: flake8-bugbear (~=23.5.9) ; extra == 'dev'
|
|
42
43
|
Requires-Dist: flake8-commas (~=2.1.0) ; extra == 'dev'
|
|
43
|
-
Requires-Dist: flake8-comprehensions (~=3.
|
|
44
|
+
Requires-Dist: flake8-comprehensions (~=3.12.0) ; extra == 'dev'
|
|
44
45
|
Requires-Dist: flake8-datetimez (~=20.10.0) ; extra == 'dev'
|
|
45
46
|
Requires-Dist: flake8-docstrings (~=1.7.0) ; extra == 'dev'
|
|
46
47
|
Requires-Dist: flake8-encodings (~=0.5.0) ; extra == 'dev'
|
|
47
48
|
Requires-Dist: flake8-isort (~=6.0.0) ; extra == 'dev'
|
|
48
|
-
Requires-Dist: flake8-noqa (~=1.3.
|
|
49
|
+
Requires-Dist: flake8-noqa (~=1.3.1) ; extra == 'dev'
|
|
49
50
|
Requires-Dist: flake8-pytest-style (~=1.7.2) ; extra == 'dev'
|
|
50
|
-
Requires-Dist: flake8-quotes (~=3.3.
|
|
51
|
+
Requires-Dist: flake8-quotes (~=3.3.2) ; extra == 'dev'
|
|
51
52
|
Requires-Dist: flake8-unused-arguments (~=0.0.13) ; extra == 'dev'
|
|
52
53
|
Requires-Dist: isort (~=5.12.0) ; extra == 'dev'
|
|
53
|
-
Requires-Dist: mypy (~=1.
|
|
54
|
-
Requires-Dist: pep8-naming (~=0.13.
|
|
55
|
-
Requires-Dist: pre-commit (~=3.
|
|
56
|
-
Requires-Dist: pytest (~=7.
|
|
57
|
-
Requires-Dist: pytest-asyncio (~=0.
|
|
54
|
+
Requires-Dist: mypy (~=1.3.0) ; extra == 'dev'
|
|
55
|
+
Requires-Dist: pep8-naming (~=0.13.3) ; extra == 'dev'
|
|
56
|
+
Requires-Dist: pre-commit (~=3.3.2) ; extra == 'dev'
|
|
57
|
+
Requires-Dist: pytest (~=7.3.1) ; extra == 'dev'
|
|
58
|
+
Requires-Dist: pytest-asyncio (~=0.21.0) ; extra == 'dev'
|
|
58
59
|
Requires-Dist: pytest-only (~=2.0.0) ; extra == 'dev'
|
|
59
60
|
Requires-Dist: pytest-randomly (~=3.12.0) ; extra == 'dev'
|
|
60
61
|
Requires-Dist: pytest-timeout (~=2.1.0) ; extra == 'dev'
|
|
61
|
-
Requires-Dist: pytest-xdist (~=3.
|
|
62
|
+
Requires-Dist: pytest-xdist (~=3.3.1) ; extra == 'dev'
|
|
62
63
|
Requires-Dist: respx (~=0.20.1) ; extra == 'dev'
|
|
63
64
|
Requires-Dist: sphinx (~=6.1.3) ; extra == 'dev'
|
|
64
65
|
Requires-Dist: sphinx-autodoc-typehints (~=1.22) ; extra == 'dev'
|
|
65
66
|
Requires-Dist: sphinx-markdown-builder (==0.5.4) ; extra == 'dev'
|
|
66
|
-
Requires-Dist:
|
|
67
|
-
Requires-Dist: types-
|
|
68
|
-
Requires-Dist: types-
|
|
69
|
-
Requires-Dist: types-
|
|
67
|
+
Requires-Dist: twine (~=4.0.2) ; extra == 'dev'
|
|
68
|
+
Requires-Dist: types-aiofiles (~=23.1.0.3) ; extra == 'dev'
|
|
69
|
+
Requires-Dist: types-colorama (~=0.4.15.11) ; extra == 'dev'
|
|
70
|
+
Requires-Dist: types-psutil (~=5.9.5.12) ; extra == 'dev'
|
|
70
71
|
|
|
71
72
|
# Apify SDK for Python
|
|
72
73
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
apify/__init__.py,sha256=
|
|
1
|
+
apify/__init__.py,sha256=aAjho-r0-XAqUjD9j55ueCo4lZJzyytOWjk0VCmkeeY,283
|
|
2
2
|
apify/_crypto.py,sha256=KAopiLUY5fKNSs-O-VwvVNC9bpAvv3ronL8QGWtRYZc,5741
|
|
3
3
|
apify/_types.py,sha256=7EGjstUEY5jo9mTxWs98BB9icDRgI74swZoQJnaij-E,405
|
|
4
|
-
apify/_utils.py,sha256=
|
|
5
|
-
apify/_version.py,sha256=GjNpBP1jk9cKQIEk2rVbDgY16ITsurv3fTzUucU1pCk,23
|
|
4
|
+
apify/_utils.py,sha256=DSJ1DpC9YAkxe_2SkQqxV42a9YFu1J68D5zibg5uYeo,15528
|
|
6
5
|
apify/actor.py,sha256=6Bbn56cplxk7A60sVviZ6Q71SQ6cu5dTEXorXr3n8fA,58928
|
|
7
6
|
apify/config.py,sha256=7r1sa0WPnxZ6JksOMSqrdtB2bCwV5M8LHXKOeOSeeLs,8717
|
|
8
7
|
apify/consts.py,sha256=3oSTGlW2GBIhLpxG8RBaYm63g0yOCDEi6flmthW4l8k,7045
|
|
@@ -28,8 +27,8 @@ apify/storages/dataset.py,sha256=b6ygo1Oi8W_8KyfXaYUCpLTEV4YP2XxlBTu9L9e6izU,233
|
|
|
28
27
|
apify/storages/key_value_store.py,sha256=Kn_NfX53AZEFJ7UogDGecHspi-3oPkNNipl-7UiBJzE,10102
|
|
29
28
|
apify/storages/request_queue.py,sha256=oBBqk2ooAmHTTTEWcwaFuaali-yFcJ5CIUc5ibtVxY0,25879
|
|
30
29
|
apify/storages/storage_client_manager.py,sha256=A3BNgHZ51p5gIAZ1bYNmsHsNwxHqpJp0iBPwF_wibhs,2214
|
|
31
|
-
apify-1.1.
|
|
32
|
-
apify-1.1.
|
|
33
|
-
apify-1.1.
|
|
34
|
-
apify-1.1.
|
|
35
|
-
apify-1.1.
|
|
30
|
+
apify-1.1.1b1.dist-info/LICENSE,sha256=_yIHo4TZezG4fMaWG1Er6OH7DW7MiZI-KO4dnONASZI,11355
|
|
31
|
+
apify-1.1.1b1.dist-info/METADATA,sha256=G8iZu5rE9ELtJY4bR3XKhuG-_RdvRLCTboweW_uq_JY,6337
|
|
32
|
+
apify-1.1.1b1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
33
|
+
apify-1.1.1b1.dist-info/top_level.txt,sha256=2oFNsHggn5m_rCaaP7xijQg_-Va2ByOSYuvKgACsS5w,6
|
|
34
|
+
apify-1.1.1b1.dist-info/RECORD,,
|
apify/_version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.1.0b7'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|