apify 2.3.1b2__tar.gz → 2.4.0b1__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-2.3.1b2 → apify-2.4.0b1}/PKG-INFO +3 -3
- {apify-2.3.1b2 → apify-2.4.0b1}/pyproject.toml +4 -4
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_actor.py +2 -2
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_apify_storage_client.py +3 -3
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_dataset_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_dataset_collection_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_key_value_store_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_key_value_store_collection_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_request_queue_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_request_queue_collection_client.py +1 -1
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/storages/_request_list.py +4 -4
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_log.py +5 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/uv.lock +100 -304
- {apify-2.3.1b2 → apify-2.4.0b1}/website/package-lock.json +20 -4
- {apify-2.3.1b2 → apify-2.4.0b1}/.editorconfig +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/CODEOWNERS +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/build_and_deploy_docs.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/check_pr_title.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/pre_release.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/release.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/run_code_checks.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.github/workflows/update_new_issue.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.gitignore +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.markdownlint.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/.pre-commit-config.yaml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/CHANGELOG.md +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/CONTRIBUTING.md +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/LICENSE +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/Makefile +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/README.md +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/01_introduction.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/02_running_actors_locally.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/03_actor_structure.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/code/01_introduction.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/code/actor_structure/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/code/actor_structure/__main__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/code/actor_structure/main.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/01_overview/code/actor_structure/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/01_beautifulsoup_httpx.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/02_crawlee.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/03_playwright.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/04_selenium.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/05_scrapy.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/01_beautifulsoup_httpx.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/02_crawlee_beautifulsoup.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/02_crawlee_playwright.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/03_playwright.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/04_selenium.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/__main__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/items.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/main.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/settings.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/spiders/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/spiders/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/02_guides/code/scrapy_project/src/spiders/title.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/01_actor_lifecycle.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/02_actor_input.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/03_storages.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/04_actor_events.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/05_proxy_management.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/06_interacting_with_other_actors.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/07_webhooks.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/08_access_apify_api.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/09_running_webserver.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/10_logging.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/11_configuration.mdx +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/01_context_manager.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/01_init_exit.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/01_reboot.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/01_status_message.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/02_input.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_dataset_exports.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_dataset_read_write.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_deleting_storages.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_kvs_iterating.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_kvs_public_url.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_kvs_read_write.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_opening_storages.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/03_rq.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/04_actor_events.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_apify_proxy.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_apify_proxy_config.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_custom_proxy.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_custom_proxy_function.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_proxy_actor_input.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_proxy_httpx.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/05_proxy_rotation.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/06_interacting_call.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/06_interacting_call_task.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/06_interacting_metamorph.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/06_interacting_start.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/07_webhook.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/07_webhook_preventing.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/08_actor_client.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/08_actor_new_client.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/09_webserver.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/10_log_config.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/10_logger_usage.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/03_concepts/code/11_config.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/04_upgrading/upgrading_to_v2.md +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/docs/pyproject.toml +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/renovate.json +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_charging.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_configuration.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_consts.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_crypto.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_models.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_platform_event_manager.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_proxy_configuration.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/_utils.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/log.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/_actor_runner.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/_async_thread.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/_logging_config.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/middlewares/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/middlewares/apify_proxy.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/middlewares/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/pipelines/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/pipelines/actor_dataset_push.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/pipelines/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/requests.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/scheduler.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/scrapy/utils.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/storages/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/src/apify/storages/py.typed +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/README.md +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/_utils.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/actor_source_base/Dockerfile +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/actor_source_base/requirements.txt +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/actor_source_base/src/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/actor_source_base/src/__main__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/actor_source_base/src/main.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/conftest.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_api_helpers.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_charge.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_create_proxy_configuration.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_dataset.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_events.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_key_value_store.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_lifecycle.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_request_queue.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_actor_scrapy.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_fixtures.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/integration/test_request_queue.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_create_proxy_configuration.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_dataset.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_env_helpers.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_helpers.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_key_value_store.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_lifecycle.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_log.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_non_default_instance.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_actor_request_queue.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/actor/test_request_list.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/conftest.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/middlewares/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/middlewares/test_apify_proxy.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/pipelines/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/pipelines/test_actor_dataset_push.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/requests/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/requests/test_to_apify_request.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/requests/test_to_scrapy_request.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/utils/__init__.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/utils/test_apply_apify_settings.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/scrapy/utils/test_get_basic_auth_header.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/test_crypto.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/test_platform_event_manager.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/tests/unit/test_proxy_configuration.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/.eslintrc.json +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/babel.config.js +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/build_api_reference.sh +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/docusaurus.config.js +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/generate_module_shortcuts.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/package.json +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/sidebars.js +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/src/css/custom.css +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/src/pages/home_page_example.py +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/src/pages/index.js +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/src/pages/index.module.css +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/static/.nojekyll +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/static/img/docs-og.png +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/tools/docs-prettier.config.js +0 -0
- {apify-2.3.1b2 → apify-2.4.0b1}/website/tools/utils/externalLink.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apify
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0b1
|
|
4
4
|
Summary: Apify SDK for Python
|
|
5
5
|
Project-URL: Homepage, https://docs.apify.com/sdk/python/
|
|
6
6
|
Project-URL: Apify homepage, https://apify.com
|
|
@@ -224,8 +224,8 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
224
224
|
Classifier: Topic :: Software Development :: Libraries
|
|
225
225
|
Requires-Python: >=3.9
|
|
226
226
|
Requires-Dist: apify-client>=1.9.2
|
|
227
|
-
Requires-Dist: apify-shared>=1.
|
|
228
|
-
Requires-Dist: crawlee~=0.
|
|
227
|
+
Requires-Dist: apify-shared>=1.3.0
|
|
228
|
+
Requires-Dist: crawlee~=0.6.0
|
|
229
229
|
Requires-Dist: cryptography>=42.0.0
|
|
230
230
|
Requires-Dist: httpx>=0.27.0
|
|
231
231
|
Requires-Dist: lazy-object-proxy>=1.10.0
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "apify"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.4.0b1"
|
|
8
8
|
description = "Apify SDK for Python"
|
|
9
9
|
authors = [{ name = "Apify Technologies s.r.o.", email = "support@apify.com" }]
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -35,8 +35,8 @@ keywords = [
|
|
|
35
35
|
]
|
|
36
36
|
dependencies = [
|
|
37
37
|
"apify-client>=1.9.2",
|
|
38
|
-
"apify-shared>=1.
|
|
39
|
-
"crawlee~=0.
|
|
38
|
+
"apify-shared>=1.3.0",
|
|
39
|
+
"crawlee~=0.6.0",
|
|
40
40
|
"cryptography>=42.0.0",
|
|
41
41
|
"httpx>=0.27.0",
|
|
42
42
|
"lazy-object-proxy>=1.10.0",
|
|
@@ -62,7 +62,7 @@ scrapy = ["scrapy>=2.11.0"]
|
|
|
62
62
|
dev = [
|
|
63
63
|
"build~=1.2.0",
|
|
64
64
|
"filelock~=3.17.0",
|
|
65
|
-
"griffe~=1.
|
|
65
|
+
"griffe~=1.6.0",
|
|
66
66
|
"mypy~=1.15.0",
|
|
67
67
|
"pre-commit~=4.1.0",
|
|
68
68
|
"pydoc-markdown~=4.8.0",
|
|
@@ -43,7 +43,7 @@ if TYPE_CHECKING:
|
|
|
43
43
|
from typing_extensions import Self
|
|
44
44
|
|
|
45
45
|
from crawlee.proxy_configuration import _NewUrlFunction
|
|
46
|
-
from crawlee.storage_clients import
|
|
46
|
+
from crawlee.storage_clients import StorageClient
|
|
47
47
|
|
|
48
48
|
from apify._models import Webhook
|
|
49
49
|
|
|
@@ -171,7 +171,7 @@ class _ActorType:
|
|
|
171
171
|
return logger
|
|
172
172
|
|
|
173
173
|
@property
|
|
174
|
-
def _local_storage_client(self) ->
|
|
174
|
+
def _local_storage_client(self) -> StorageClient:
|
|
175
175
|
"""The local storage client the Actor instance uses."""
|
|
176
176
|
return service_locator.get_storage_client()
|
|
177
177
|
|
|
@@ -6,7 +6,7 @@ from typing_extensions import override
|
|
|
6
6
|
|
|
7
7
|
from apify_client import ApifyClientAsync
|
|
8
8
|
from crawlee._utils.crypto import crypto_random_object_id
|
|
9
|
-
from crawlee.storage_clients import
|
|
9
|
+
from crawlee.storage_clients import StorageClient
|
|
10
10
|
|
|
11
11
|
from apify._utils import docs_group
|
|
12
12
|
from apify.apify_storage_client._dataset_client import DatasetClient
|
|
@@ -21,7 +21,7 @@ if TYPE_CHECKING:
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
@docs_group('Classes')
|
|
24
|
-
class ApifyStorageClient(
|
|
24
|
+
class ApifyStorageClient(StorageClient):
|
|
25
25
|
"""A storage client implementation based on the Apify platform storage."""
|
|
26
26
|
|
|
27
27
|
def __init__(self, *, configuration: Configuration) -> None:
|
|
@@ -68,5 +68,5 @@ class ApifyStorageClient(BaseStorageClient):
|
|
|
68
68
|
pass
|
|
69
69
|
|
|
70
70
|
@override
|
|
71
|
-
def get_rate_limit_errors(self) -> dict[int, int]:
|
|
71
|
+
def get_rate_limit_errors(self) -> dict[int, int]:
|
|
72
72
|
return self._apify_client.stats.rate_limit_errors
|
|
@@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from typing_extensions import override
|
|
6
6
|
|
|
7
|
-
from crawlee.storage_clients._base import BaseDatasetClient
|
|
7
|
+
from crawlee.storage_clients._base import DatasetClient as BaseDatasetClient
|
|
8
8
|
from crawlee.storage_clients.models import DatasetItemsListPage, DatasetMetadata
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
{apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_dataset_collection_client.py
RENAMED
|
@@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from typing_extensions import override
|
|
6
6
|
|
|
7
|
-
from crawlee.storage_clients._base import BaseDatasetCollectionClient
|
|
7
|
+
from crawlee.storage_clients._base import DatasetCollectionClient as BaseDatasetCollectionClient
|
|
8
8
|
from crawlee.storage_clients.models import DatasetListPage, DatasetMetadata
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
|
@@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any
|
|
|
5
5
|
|
|
6
6
|
from typing_extensions import override
|
|
7
7
|
|
|
8
|
-
from crawlee.storage_clients._base import BaseKeyValueStoreClient
|
|
8
|
+
from crawlee.storage_clients._base import KeyValueStoreClient as BaseKeyValueStoreClient
|
|
9
9
|
from crawlee.storage_clients.models import KeyValueStoreListKeysPage, KeyValueStoreMetadata, KeyValueStoreRecord
|
|
10
10
|
|
|
11
11
|
if TYPE_CHECKING:
|
{apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_key_value_store_collection_client.py
RENAMED
|
@@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from typing_extensions import override
|
|
6
6
|
|
|
7
|
-
from crawlee.storage_clients._base import BaseKeyValueStoreCollectionClient
|
|
7
|
+
from crawlee.storage_clients._base import KeyValueStoreCollectionClient as BaseKeyValueStoreCollectionClient
|
|
8
8
|
from crawlee.storage_clients.models import KeyValueStoreListPage, KeyValueStoreMetadata
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
|
@@ -5,7 +5,7 @@ from typing import TYPE_CHECKING
|
|
|
5
5
|
from typing_extensions import override
|
|
6
6
|
|
|
7
7
|
from crawlee import Request
|
|
8
|
-
from crawlee.storage_clients._base import BaseRequestQueueClient
|
|
8
|
+
from crawlee.storage_clients._base import RequestQueueClient as BaseRequestQueueClient
|
|
9
9
|
from crawlee.storage_clients.models import (
|
|
10
10
|
BatchRequestsOperationResponse,
|
|
11
11
|
ProcessedRequest,
|
{apify-2.3.1b2 → apify-2.4.0b1}/src/apify/apify_storage_client/_request_queue_collection_client.py
RENAMED
|
@@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from typing_extensions import override
|
|
6
6
|
|
|
7
|
-
from crawlee.storage_clients._base import BaseRequestQueueCollectionClient
|
|
7
|
+
from crawlee.storage_clients._base import RequestQueueCollectionClient as BaseRequestQueueCollectionClient
|
|
8
8
|
from crawlee.storage_clients.models import RequestQueueListPage, RequestQueueMetadata
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
|
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field, TypeAdapter
|
|
|
10
10
|
|
|
11
11
|
from crawlee import Request
|
|
12
12
|
from crawlee._types import HttpMethod
|
|
13
|
-
from crawlee.http_clients import
|
|
13
|
+
from crawlee.http_clients import HttpClient, HttpxHttpClient
|
|
14
14
|
from crawlee.request_loaders import RequestList as CrawleeRequestList
|
|
15
15
|
|
|
16
16
|
from apify._utils import docs_group
|
|
@@ -49,7 +49,7 @@ class RequestList(CrawleeRequestList):
|
|
|
49
49
|
async def open(
|
|
50
50
|
name: str | None = None,
|
|
51
51
|
request_list_sources_input: list[dict[str, Any]] | None = None,
|
|
52
|
-
http_client:
|
|
52
|
+
http_client: HttpClient | None = None,
|
|
53
53
|
) -> RequestList:
|
|
54
54
|
"""Creates RequestList from Actor input requestListSources.
|
|
55
55
|
|
|
@@ -78,7 +78,7 @@ class RequestList(CrawleeRequestList):
|
|
|
78
78
|
|
|
79
79
|
@staticmethod
|
|
80
80
|
async def _create_request_list(
|
|
81
|
-
name: str | None, request_list_sources_input: list[dict[str, Any]], http_client:
|
|
81
|
+
name: str | None, request_list_sources_input: list[dict[str, Any]], http_client: HttpClient | None
|
|
82
82
|
) -> RequestList:
|
|
83
83
|
if not http_client:
|
|
84
84
|
http_client = HttpxHttpClient()
|
|
@@ -108,7 +108,7 @@ class RequestList(CrawleeRequestList):
|
|
|
108
108
|
|
|
109
109
|
@staticmethod
|
|
110
110
|
async def _fetch_requests_from_url(
|
|
111
|
-
remote_url_requests_inputs: list[_RequestsFromUrlInput], http_client:
|
|
111
|
+
remote_url_requests_inputs: list[_RequestsFromUrlInput], http_client: HttpClient
|
|
112
112
|
) -> list[Request]:
|
|
113
113
|
"""Crete list of requests from url.
|
|
114
114
|
|
|
@@ -2,12 +2,17 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from typing import TYPE_CHECKING
|
|
4
4
|
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
5
7
|
from apify import Actor, __version__
|
|
6
8
|
|
|
7
9
|
if TYPE_CHECKING:
|
|
8
10
|
from .conftest import MakeActorFunction, RunActorFunction
|
|
9
11
|
|
|
10
12
|
|
|
13
|
+
# TODO: What to do with the `browserforge` output?
|
|
14
|
+
# https://github.com/apify/apify-sdk-python/issues/423
|
|
15
|
+
@pytest.mark.skip
|
|
11
16
|
async def test_actor_logging(
|
|
12
17
|
make_actor: MakeActorFunction,
|
|
13
18
|
run_actor: RunActorFunction,
|