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:latest-meinheld
  • strangemachines/efesto:2.3
  • strangemachines/efesto:2.3-meinheld
  • strangemachines/efesto:2.2
  • strangemachines/efesto:2.1

Performance

Efesto performs at about 300 requests/second on the smallest 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.

Release files for efesto 2.3.4

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

Source distribution (sdist)

Source distribution for efesto 2.3.4
File Size Uploaded
efesto-2.3.4.tar.gz 37.7 kB Details

Built distribution (wheel)

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

Total release size: 96.3 kB

Release files / efesto-2.3.4.tar.gz

Download URL efesto-2.3.4.tar.gz
Size 37.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f319e64910d8dd33b51d40fedd5f07d984406517dc44a55ad9fa1e9e215ccde7
BLAKE2b-256 checksum
How to use checksums
cb65298933897f5c2b8a68d61c41b4b598f309716a8466066292ee8dc37a104d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/5.3.0-20-generic

Release files / efesto-2.3.4-py3-none-any.whl

Download URL efesto-2.3.4-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7c172eace6043cc5f95be48f2a7ff3c8b24d582f929cc53f94010bbb8a6c3d2
BLAKE2b-256 checksum
How to use checksums
58daa18246e8601acc079c622f0d0b3979d802ef620bcb2ffbcc3372483b3677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/5.3.0-20-generic

Release history Release notifications | RSS feed

This release

2.3.4 This release

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.3

3 release files

2.0.2

3 release files

2.0.1

3 release files

2.0.0

3 release files

1.2.0

3 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

3 release files

1.1.5

1 release file

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

3 release files

1.0.0

3 release files

0.12.2

2 release files

0.12.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

3 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

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