A RESTful API for managing applications and resources on a Dokku platform.
Project description
Dokku API
This is a RESTful API for managing applications and resources on Dokku, built with FastAPI.
Installing Dokku API from PyPI:
$ pip install dokku-api
$ dokku-api help
Getting Started (quick run)
The entire project has been built to run entirely on Dokku or Docker.
Create a .env from .env.sample, configure the variables, and execute one of the commands below to run the application:
# For installing and running the API as a Dokku application.
$ make dokku-install
# For installing and running the API on Docker.
$ make docker-run
Now, open the API on your browser at http://dokku-api.yourdomain — if you did not change the default settings.
Access /docs for more information about the API.
Getting Started (development)
Install the dependencies for the project:
$ pip install poetry
$ make install
Now, you can run the server with:
$ make run
Run make help to learn about more commands.
Running Tests
The project has some tests to check if everything is working properly. To run the tests, execute the command below:
$ make test
$ make system-test
Coding Style
Run the commands below to properly format the project's code:
$ make lint
$ make lint-fix
Project details
Release history Release notifications | RSS feed
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 dokku_api-1.2.5.tar.gz.
File metadata
- Download URL: dokku_api-1.2.5.tar.gz
- Upload date:
- Size: 91.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1297c4741f20531c52b6a6fe3ed04964f1cfb5160d4b1ebd5128c0cd7f4691e1
|
|
| MD5 |
bbeab10295ddb9d9d3e80fe3f50e7aea
|
|
| BLAKE2b-256 |
651c8cc72e11185f348037859eb6be231f9bac216c68c3c1d24d66aff9140672
|
File details
Details for the file dokku_api-1.2.5-py3-none-any.whl.
File metadata
- Download URL: dokku_api-1.2.5-py3-none-any.whl
- Upload date:
- Size: 118.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79d459d6681f3753ee670fa5b6ed16d4430d331bee6f763e14bf1ab0f3531891
|
|
| MD5 |
d422d5efed8287054fc425e11a8f0f5e
|
|
| BLAKE2b-256 |
a6d8351dbeb1d4626f2ddbae3742a5d514ef1c9e47a5c57847ff4b17702da8f6
|