Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aimbase

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aimbase

Declarative, instant REST APIs for base AI Models based on instarest, a FastAPI, Pydantic, SQLAlchemy, and PostgreSQL library, and MinIO.

  • 0.0.10
  • PyPI
  • Socket score

Maintainers
1

Getting Started

To get started with aimbase for your application, visit the docs at https://aimbase.erob.io/

To contribute to aimbase, see the contributing section below.

Contributing

Getting Started Locally

  1. Launch postgres and pgadmin via docker-compose docker-compose up --build.

  2. Keeping your containers running, open a new terminal with the root of this repo as the working directory. Install poetry: pip install poetry (or use pipx on link here if you prefer isolated envs, or consider using conda).

  3. Create and enter the virtual environment: poetry shell

  4. Install the dependencies poetry install

  5. Start the app: uvicorn examples.example_app:auto_app --reload.

  6. Open localhost:8000/v1/docs and start interacting with swagger!

  7. You can shut down and your db / minio data will persist via docker volumes.

MinIO

  • The MinIO console is available at localhost:9001. Login with user:miniouser and password:minioadmin if you launched the containers with docker-compose up --build.

Hooks and Tests

  1. Set up the precommit hook with pre-commit install.

  2. Run tests and get coverage with pytest --cov, and get html reports for vs code live server (or any server) with pytest --cov --cov-report=html:coverage_re

  3. Open a pull request against the repo! Please write tests, your coverage will automatically be added as a comment to any PR via GH actions.

Viewing Docs Locally

  1. Install docs dependencies with pip install -r requirements-docs.txt.
  2. Install mkdocs with pip install mkdocs-material.
  3. Move into the docs/en directory via cd docs/en.
  4. Run mkdocs serve to start a local server.

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