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.1.12.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.12-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auto_rest_api-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 d793382ca921a0b114bd398c39691f0b29c084f00ae01bf7907d277634826c03
MD5 908de0bc7d42697fbff537bd8301ebbe
BLAKE2b-256 4d892373e7648c0b1a8fdd614645dfb6185751cd2532b4f711d7d0d8eadffe86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auto_rest_api-0.1.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1573a4e6ca42c83e8da6acafcf06efb6672ebc8d6aca7ea7db4d36c2f261bbfd
MD5 6f52da6d9310253cff6207a08139cabe
BLAKE2b-256 7ef55b827d91693ce43e38e259df63a8b37d0024e452d8747a7285a9aee6904a

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