Skip to main content

Fastidius

Fastidius is a CLI tool for creating FastAPI backends, with integrations for deploying to DigitalOcean via Github Actions.

Installation

pip install fastidius

Usage

To initialize a new project, run

fastidius create

This will take you through a few setup instructions, then you'll have a fully fledged FastAPI application ready to go.

Deploying the API on DigitalOcean

Fastidius's real strength lies in it's quick deploy capability for DigitalOcean.

It's currently set up to use Ubunutu droplets. Once you've spin up a brand new droplet on your DigitalOcean account, run this command

export IP_ADDRESS=<Your droplet's IP>
fastidius initialize-server

This will generate another command for running the initializer – this will set up firewalls, add a non-root user (ubuntu), set up docker, and a few other configurations.

Next, we configure caddy server.

fastidius configure-caddy

Caddy is an awesome replacement for Nginx or Traefik, with SSL out of the box and minimal boilerplate. Fastidius will use the above command to set up a new docker container that will manage caddy.

After you've set up your Caddyfile, you can deploy it using

fastidius deploy-caddy

Next, we want to set up the secrets on Github. This will create a CI/CD pipeline automatically.

fastidius github-setup

Once this is all done, pushing to the main branch on github will deploy your API 😏

Metadata

Release files for fastidius 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastidius 0.0.15
File Size Uploaded
fastidius-0.0.15.tar.gz 122.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastidius 0.0.15
File Interpreter ABI Platform
fastidius-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 259.1 kB

Release files / fastidius-0.0.15.tar.gz

Download URL fastidius-0.0.15.tar.gz
Size 122.1 kB
Tags Source
SHA-256 checksum
How to use checksums
18836af8c242e8e225af9aebe5f9f9d37189bbb0abb10adc03d6cc4841e5740a
BLAKE2b-256 checksum
How to use checksums
a046d9c4c3397f42564cf24e41fed57e57ef0146aa76b1fba363a2376ff464dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / fastidius-0.0.15-py3-none-any.whl

Download URL fastidius-0.0.15-py3-none-any.whl
Size 136.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b6e47adc60c76c16428f981c9fd377fc5a6b0df4f90f41483700ae6997c9183
BLAKE2b-256 checksum
How to use checksums
1c5f179c32f4360329e116aa93229788917f23b149c0429b60e69db02448a82a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page