Skip to main content

A REST API for managing applications and resources on a Dokku platform.

Project description

Dokku API

This is a REST API for managing applications and resources on Dokku, built with FastAPI.

CI Pypi License Python Version OS Platform Downloads

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.

For installing and running the API as a Dokku application:

$ dokku plugin:install https://github.com/JeanExtreme002/Dokku-API.git
$ dokku dokku-api:start

For installing and running the API on Docker:

Create a .env from .env.sample, configure the variables, and execute one of the commands below to run the application:

$ make docker-run

Now, open the API on your browser at http://dokku-api.yourdomain — if you did not change the default settings.

$ curl 'http://dokku-api.yourdomain/api/'

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dokku_api-1.3.10.tar.gz (102.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dokku_api-1.3.10-py3-none-any.whl (139.4 kB view details)

Uploaded Python 3

File details

Details for the file dokku_api-1.3.10.tar.gz.

File metadata

  • Download URL: dokku_api-1.3.10.tar.gz
  • Upload date:
  • Size: 102.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dokku_api-1.3.10.tar.gz
Algorithm Hash digest
SHA256 664f06e390c2062d05b43314686ba744412c874e7397ce5cf0973a61fb7b00fb
MD5 8ca2c2cfebd9236b2bd16defc0f42d47
BLAKE2b-256 8ab34f78861d38cfac03bb85b14533490ac11bcbe3624bc9ae2db661f584de40

See more details on using hashes here.

File details

Details for the file dokku_api-1.3.10-py3-none-any.whl.

File metadata

  • Download URL: dokku_api-1.3.10-py3-none-any.whl
  • Upload date:
  • Size: 139.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dokku_api-1.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 22c8ae0f2db09195a05696cbaa201391b67d90fb0c89c39e2980a5fa9b594a68
MD5 0a4bfaa04488883a62406342b54b8fdf
BLAKE2b-256 f0651742024ca6ea20ff5b8faa9178765965af8cb882ac2d481055c7b5861f84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page