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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auto_rest_api-0.1.8.tar.gz.
File metadata
- Download URL: auto_rest_api-0.1.8.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b528006c7c64246a4b7c81a7f18934cc17f130905f9625939ef5ada4dd58e34
|
|
| MD5 |
23da797b3a5a77f0f70f3613c9d99997
|
|
| BLAKE2b-256 |
ec6ba00b792e3ede07f79ed982e4e4e2307d2f806033e032199ed599c9be6f61
|
File details
Details for the file auto_rest_api-0.1.8-py3-none-any.whl.
File metadata
- Download URL: auto_rest_api-0.1.8-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ee80457e9e9ae36e817e8b2947e7969d4021ff1395cbcf9825498a45c5b1122
|
|
| MD5 |
508aeeb37d0978c372d4f35a908678e3
|
|
| BLAKE2b-256 |
98b75ac3f066d583207c92f5b877923a05b4ec0677948fcecd5643e958f4ea69
|