Project Description
This script generates a Dockerfile with the basic settings to deploy your flask application to heroku. And as a bonus a steps.txt with the step by step for you to publish the project.
Note: Run the script inside your project folder.
Installation from Pypi
pip install sdf-heroku-deploy
Module Usage
from sdf_heroku_deploy import main
main()
CLI Usage
Get the list of available commands
sdfh_cli --help
Output
Options:
-img, --image_name TEXT Type the name of the image you want to give
the image to be created.
-hap, --heroku_app_name TEXT Type the name of the heroku app you want to
give the app to be created.
-r, --run TEXT Type the name of the file that runs your flask
application.
--help Show this message and exit.
Commands usage example
-
sdfh_cli -img my_docker_image -hap my_heroku_app_name -r flask_app_runner -
sdfh_cli --image_name my_docker_image --heroku_app_name my_heroku_app_name --run flask_app_runner
Output
./Dockerfile
./steps.txt
Metadata
Release files for sdf-heroku-deploy 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sdf_heroku_deploy-2.0.0.tar.gz | 15.8 kB | Without provenance | Details for sdf_heroku_deploy-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sdf_heroku_deploy-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for sdf_heroku_deploy-2.0.0-py3-none-any.whl |
Total release size: 44.8 kB
Release files / sdf_heroku_deploy-2.0.0.tar.gz
| Download URL | sdf_heroku_deploy-2.0.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be229c31afd726dc6d16351a4b718101e9238ce3df38a22a307b9fd6e66cf975
|
|
BLAKE2b-256 checksum How to use checksums |
e78e62793119f18cda5c9295342bedc9bcf489867c2527264a3792e073f3f91f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.0 Windows/10
|
Release files / sdf_heroku_deploy-2.0.0-py3-none-any.whl
| Download URL | sdf_heroku_deploy-2.0.0-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3578ea291ea195a7572603de2cd86002b8439a18ecc7805c592690534c7fc1d
|
|
BLAKE2b-256 checksum How to use checksums |
cbf42902276f7b4f4451cd3ad99919f45734b32492850a33a5fc6194e30d7a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.0 Windows/10
|
Security for sdf-heroku-deploy 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.