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.

CLI 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 CLI using your preferred Python package manager:

pipx install auto-rest-api

Verify that the installation completed successfully:

auto-rest --help

Launch an API by supplying connection parameters for your target database:

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

Navigate to localhost:8081/docs/ and 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.0.0.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.0.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auto_rest_api-0.0.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 32b3562119301c612ac4c9be074961d1f3a54d5fcb280e709fcff22a88eed693
MD5 8cdf3984e168509fdd9be34def3cc473
BLAKE2b-256 8da3a0c8931ec7f2fd23d2e9c719efc190af2471e35707c90fe68ce3bde2cd2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auto_rest_api-0.0.0-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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa02e6ff1a06c848a1bf7c909fcb6f7a730a3fa9d174939f238f5b3eeb848c24
MD5 d80541ffeab8b5e33fae1722c1c5c564
BLAKE2b-256 1bb77fedfd1fd836d034398b46593773edf68c744f418dd5e93d5deea3b852cd

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