autoscale-agent-0.2.1
توضیحات
Provides Autoscale.app with the necessary metrics for autoscaling web and worker processes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | autoscale-agent-0.2.1 |
| نام | autoscale-agent |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael R. van Rooijen |
| ایمیل نویسنده | support@autoscale.app |
| آدرس صفحه اصلی | https://autoscale.app |
| آدرس اینترنتی | https://pypi.org/project/autoscale-agent/ |
| مجوز | MIT |
# Python Agent (Autoscale.app)
Provides [Autoscale.app] with the necessary metrics for autoscaling web and worker processes.
## Installation
Install the package:
pip install autoscale-agent
## Usage
This package may be used as a stand-alone agent, or as middleware that integrates with [Django] and [Flask].
Installation instructions are provided during the autoscaler setup process on [Autoscale.app].
## Related Packages
The following packages are currently available.
#### Queues (Worker Metric Functions)
| Worker Library | Repository |
|----------------|------------------------------------------------------|
| Celery | https://github.com/autoscale-app/python-queue-celery |
| RQ | https://github.com/autoscale-app/python-queue-rq |
Let us know if your preferred worker library isn't available and we'll see if we can add support.
## Development
Prepare environment:
pip install poetry
poetry install
Boot the shell:
poetry shell
See Paver for relevant tasks:
paver --help
## Release
1. Update `pyproject.toml`
2. Update `autoscale_agent/__init__.py`
3. Update `CHANGELOG.md`
4. Create a new git tag (`v1.2.3`)
5. Push the new git tag
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/autoscale-app/python-agent
[Autoscale.app]: https://autoscale.app
[Django]: https://www.djangoproject.com
[Flask]: https://palletsprojects.com/p/flask/
[Celery]: https://docs.celeryq.dev/en/stable/
[RQ]: https://python-rq.org
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<3.12 | Python |
نحوه نصب
نصب پکیج whl autoscale-agent-0.2.1:
pip install autoscale-agent-0.2.1.whl
نصب پکیج tar.gz autoscale-agent-0.2.1:
pip install autoscale-agent-0.2.1.tar.gz