Skip to main content

Automatically map database schemas and deploy per-table REST API endpoints.

Project description

Auto-REST

A light-weight CLI tool for deploying dynamically generated REST APIs against relational databases. See the project documentation for detailed usage instructions.

Supported Databases

Auto-REST provides built-in support for the database types listed below. Support for additional databases can be added by installing the corresponding database drivers. See the official documentation for instructions.

Flag Default Driver Database Type
--sqlite sqlite+aiosqlite SQLite
--psql postgresql+asyncpg PostgreSQL
--mysql mysql+asyncmy MySQL
--oracle oracle+oracledb Oracle
--mssql mssql+aiomysql Microsoft SQL Server
--driver Custom driver (user-defined) Custom

Quickstart

Install the command line utility using your favorite Python package manager.

pipx install auto-rest-api

Check the package installed correctly.

auto-rest --help

Launch an API by providing connection arguments to a database of your choice.

auto-rest \
  --psql 
  --db-host localhost
  --db-port 5432
  --db-name default
  --db-user jsmith
  --db-password secure123!

Navigate localhost:8081/docs/ to view the OpenAPI documentation for your dynamically generated REST API!

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

auto_rest_api-0.1.11.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

auto_rest_api-0.1.11-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file auto_rest_api-0.1.11.tar.gz.

File metadata

  • Download URL: auto_rest_api-0.1.11.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for auto_rest_api-0.1.11.tar.gz
Algorithm Hash digest
SHA256 45e38d682474b6e0fe182cee409106ff87efb79c3ed66236910eb0d4002c2018
MD5 e2250b1379c04552836f4932f106a5c0
BLAKE2b-256 d97993854a4f7aed82419dd6c23cb1032f864f7396fac5d186f8aae0f9276a35

See more details on using hashes here.

File details

Details for the file auto_rest_api-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: auto_rest_api-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for auto_rest_api-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 44ff7cc35c692f22a8a94fa2041f6fcb257f634d64e4bc89ff148ed851552cc6
MD5 e3c4162a06099bc62c539e42a52ecf1d
BLAKE2b-256 b115f1cfdc1066e928b22fdab387860ccc4d26ae3886e47fcd4de80a86c41f98

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