Skip to main content

Efesto

Pypi Travis build Codacy grade Codacy coverage Docs

A micro REST API meant to be used almost out of the box with other microservices.

It kickstarts you by providing a simple way to build a backend and expose it. Efesto uses PostgreSQL and JWTs for authentication.

Efesto follows the UNIX principle of doing one thing and well, leaving you the freedom of choice about other components (authentication, caching, rate-limiting, load balancer).

Installing

Install efesto, possibly in a virtual environment:

pip install efesto

Create a postgresql database and export the database url:

export DB_URL=postgres://postgres:postgres@localhost:5432/efesto

Export the jwt secret:

export JWT_SECRET=secret

Populate the db:

efesto install

Create an admin:

efesto create users tofu --superuser

Now you can start efesto, with either uwsgi or gunicorn:

gunicorn "efesto.App:App.run()"

Efesto should now be running:

curl http://localhost:8000/version

Read the complete documentation to find out more.

Docker

Docker images are available in the hub:

  • strangemachines/efesto:latest
  • strangemachines/efesto:2.3
  • strangemachines/efesto:2.2
  • strangemachines/efesto:2.1

Performance

Efesto performs at about 200 requests/second on a small digital ocean droplet, for requests that include JWT authentication, fetching data and printing out JSON.

You have seen 100k requests benchmarks, but don't be fooled: most benchmarks from authors are made so that their package comes to the top and do not reflect real conditions.

Download files

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

Source Distribution

efesto-2.3.3.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

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

efesto-2.3.3-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file efesto-2.3.3.tar.gz.

File metadata

  • Download URL: efesto-2.3.3.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-29-generic

File hashes

Hashes for efesto-2.3.3.tar.gz
Algorithm Hash digest
SHA256 e7e8c70205b9458a2ced2c551e7e66782f7b92e93b07978c8aa45c5b4cd13f66
MD5 7dc3102bb9b998a39012be98728cbb8a
BLAKE2b-256 1ec2194b0f4af210479cc3111fff78abb9da96afa5874517b1b46d4d93635cb9

See more details on using hashes here.

File details

Details for the file efesto-2.3.3-py3-none-any.whl.

File metadata

  • Download URL: efesto-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-29-generic

File hashes

Hashes for efesto-2.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f7f71b77e5a8bf9e236c6a9bd6d5550d18661bfd539c592090975467b0b2fec1
MD5 476790022ce1f7285ba7e03e797e3757
BLAKE2b-256 7462d912fd526e8ccbef604213545e148dd4aa6e2ad306f0426e4e2c2a4ced92

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