Socket
Book a DemoInstallSign in
Socket

auto-rest-api

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-rest-api

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

pipPyPI
Version
0.1.9
Maintainers
2

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.

FlagDefault DriverDatabase Type
--sqlitesqlite+aiosqliteSQLite
--psqlpostgresql+asyncpgPostgreSQL
--mysqlmysql+asyncmyMySQL
--oracleoracle+oracledbOracle
--mssqlmssql+aiomysqlMicrosoft SQL Server
--driverCustom 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!

Keywords

Better

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts