HireFire integration library for Python applications
Project description
HireFire Integration Library for Python Applications
This library integrates Python applications with HireFire's Dyno Managers (Heroku Dyno Autoscalers). Instructions specific to supported web frameworks and worker libraries are provided during the setup process.
Supported web frameworks:
- Django
- Flask
- Quart
- FastAPI
- Starlette
Supported worker libraries:
- Celery
- RQ
Since 2011, over 1,000 companies have trusted HireFire to autoscale more than 5,000 applications hosted on Heroku, managing over 10,000 web and worker dynos.
HireFire is distinguished by its support for both web and worker dynos, extending autoscaling capabilities to Standard-tier dynos. It provides fine-grained control over scaling behavior and improves scaling accuracy by monitoring more reliable metrics at the application level. These metrics include request queue time (web), job queue latency (worker), and job queue size (worker), which contribute to making more effective scaling decisions.
For more information, visit our home page.
Development
# Initial setup (installs pyenv, Python 3.9-3.12, poetry, redis, rabbitmq)
bin/setup
# Add to your shell profile (~/.zshrc, ~/.bashrc, etc.), then restart shell
export PATH="$HOME/.pyenv/shims:$PATH"
# Run tests
poetry run tox -e py312-core # Quick test on Python 3.12
poetry run tox # Full test suite
# Code formatting and linting
poetry run paver format # Format code (autoflake, isort, black)
poetry run paver check # Check formatting without applying
poetry run paver test # Run tests with coverage
poetry run paver doc # Build documentation
poetry run paver # Default: format + test
Release
- Update the
versionproperty inpyproject.toml. - Ensure that
CHANGELOG.mdis up-to-date. - Commit changes with
git commit. - Create a
git tagmatching the new version (e.g.,v1.0.0). - Push the new git tag. Continuous Integration will handle the distribution process.
License
This library is licensed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hirefire_resource-1.0.4.tar.gz.
File metadata
- Download URL: hirefire_resource-1.0.4.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58a1b263aab84d52fa608546244fa9fa6b3c76631232de3c674f76b30a99a4e1
|
|
| MD5 |
4e38e96824b67359c17f4609c42182f8
|
|
| BLAKE2b-256 |
859f35a3b19bec420bd2545036b5702f89fa9de2a8db627a68d7989f562343fa
|
Provenance
The following attestation bundles were made for hirefire_resource-1.0.4.tar.gz:
Publisher:
main.yml on hirefire/hirefire-resource-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hirefire_resource-1.0.4.tar.gz -
Subject digest:
58a1b263aab84d52fa608546244fa9fa6b3c76631232de3c674f76b30a99a4e1 - Sigstore transparency entry: 809866180
- Sigstore integration time:
-
Permalink:
hirefire/hirefire-resource-python@33a24a5dca66648887aded922b65add98831c94f -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/hirefire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@33a24a5dca66648887aded922b65add98831c94f -
Trigger Event:
push
-
Statement type:
File details
Details for the file hirefire_resource-1.0.4-py3-none-any.whl.
File metadata
- Download URL: hirefire_resource-1.0.4-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79b5a8952654bbc11f484e7c381b5b3eb1feae44122af27b0f527e0c97e56a1f
|
|
| MD5 |
1038c361ae8bc7265ef0d44b851c6ac3
|
|
| BLAKE2b-256 |
d1337ac098e1b8c55abd8b6338174affc0e7a853ff01c16b6e3e506b0fd94922
|
Provenance
The following attestation bundles were made for hirefire_resource-1.0.4-py3-none-any.whl:
Publisher:
main.yml on hirefire/hirefire-resource-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hirefire_resource-1.0.4-py3-none-any.whl -
Subject digest:
79b5a8952654bbc11f484e7c381b5b3eb1feae44122af27b0f527e0c97e56a1f - Sigstore transparency entry: 809866230
- Sigstore integration time:
-
Permalink:
hirefire/hirefire-resource-python@33a24a5dca66648887aded922b65add98831c94f -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/hirefire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@33a24a5dca66648887aded922b65add98831c94f -
Trigger Event:
push
-
Statement type: