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.7.tar.gz (25.2 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.7-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for auto_rest_api-0.1.7.tar.gz
Algorithm Hash digest
SHA256 42b9bc16e2e25753818239f923828968131a1851ac0fb585eb7f22ef6cd604e1
MD5 97e57721e9f3fb24382dc4c51b0c11d6
BLAKE2b-256 dac535d957533bdc11898722d3fe6141a536962c7dfbd146d04df8932af96269

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for auto_rest_api-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0daec26e0fe3c9761a7ec86c9020d7bf9efdb6f8927caab1f3329eee4e1f10c5
MD5 fd2c4fe591a961a7bb46338ad76724bd
BLAKE2b-256 6a4e0e85bb49a7e13ee2ad9d4b4a9c90501170f0691041a8b07062c82c6ed89f

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