New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

auto-rest-api

Package Overview
Dependencies
Maintainers
2
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.

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
2

Auto-REST

A command line 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 \
  # Enable optional endpoints / functionality
  --enable-docs \
  --enable-write \
  # Define the database type and connection arguments
  --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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc