|
1 | 1 | # Apify Shared Python |
2 | 2 |
|
3 | | -The `apify-shared-python` is a Python library for containing constants and utilities which are used across |
4 | | -our other Python projects like [apify-client-python](https://github.com/apify/apify-client-python) |
5 | | -and [apify-sdk-python](https://github.com/apify/apify-sdk-python). |
| 3 | +> ⚠️ **DEPRECATED - this package is no longer maintained.** |
| 4 | +> |
| 5 | +> The `apify-shared` package is not used by any Apify Python library anymore - its constants and utilities were moved |
| 6 | +> into the packages that need them. Already published versions stay installable from PyPI, but there will be no |
| 7 | +> further releases, bug fixes, or security updates, and this repository has been archived. |
6 | 8 |
|
7 | | -If you want to develop Apify Actors in Python, |
8 | | -check out the [Apify SDK for Python](https://docs.apify.com/sdk/python) instead. |
| 9 | +## What to use instead |
| 10 | + |
| 11 | +- The [Apify SDK for Python](https://docs.apify.com/sdk/python) (the `apify` package) exposes the Actor constants, |
| 12 | + such as `ActorEnvVars`, `ApifyEnvVars`, `ActorEventTypes`, and `WebhookEventType`. |
| 13 | +- The [Apify API client for Python](https://docs.apify.com/api/client/python) (the `apify-client` package) provides |
| 14 | + fully typed models and literals for the API resources it works with. |
| 15 | + |
| 16 | +The signing helpers (`encode_base62`, `create_hmac_signature`, and `create_storage_content_signature`) have no public |
| 17 | +replacement - they are an implementation detail of the packages above. Copy them into your own project if you depend |
| 18 | +on them. |
| 19 | + |
| 20 | +If you want to develop Apify Actors in Python, check out the [Apify SDK for Python](https://docs.apify.com/sdk/python). |
9 | 21 |
|
10 | 22 | ## Installation |
11 | 23 |
|
12 | 24 | Requires Python 3.10+ |
13 | 25 |
|
14 | | -You can install the package from its [PyPI listing](https://pypi.org/project/apify-shared). |
15 | | -To do that, simply run `pip install apify-shared` in your terminal. |
| 26 | +The last published version is still available on its [PyPI listing](https://pypi.org/project/apify-shared), so |
| 27 | +existing installations keep working. Importing the package emits a `DeprecationWarning`. Do not add it to new projects. |
0 commit comments