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.9.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.9-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auto_rest_api-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 427636725bad0fea1c0597bac1503d1ebf12dc5acc3d87496de54f737619aaee
MD5 499afdda94a6ea0b25572ddf8ec89d3b
BLAKE2b-256 fa29ce9d9677a4efb48f1e78e3f52f7b74946b8ecf9f94bc92abd91ba140e202

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auto_rest_api-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 28.9 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0439371c7827c4a7f1052cdeb10e793cf9eca5f5d779a7fbf1c2b5a788f0d55a
MD5 cc1371cfec978a46dbd95d6a526fe5b1
BLAKE2b-256 793fc4696d6ea6c05ee017a9a0e500fe34a75e626f2074c9ab885fc518f6e040

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