Skip to main content

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.

CI Pypi License Platforms Python Version

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


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.1.2.tar.gz (87.6 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.1.2-py3-none-any.whl (114.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dokku_api-1.1.2.tar.gz
Algorithm Hash digest
SHA256 317541190e7507e7ed4d2e119de88ef6298411843b5e3955443e0ce55ab7b18c
MD5 b7138f90a8c38921ec36b9e54b47a35f
BLAKE2b-256 c6a64543a012125d2389102b54648877f5c1032345a9b2d22921a65dd73105a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dokku_api-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb703c135a88745b93da47283c95db6e305507f8c1510194b66d926a05d054f2
MD5 2e2458d4326ee17142ba29189f20d882
BLAKE2b-256 c78a389b425947499eeafef39ec608231ca3d01ae21cc605eb4aacf4f67b09dd

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