Skip to main content

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.

Metadata

Release files for aimbase 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aimbase 0.0.10
File Size Uploaded
aimbase-0.0.10.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aimbase 0.0.10
File Interpreter ABI Platform
aimbase-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / aimbase-0.0.10.tar.gz

Download URL aimbase-0.0.10.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2060b50fcc6ccb1bf56c22386e42e6c335f3f6478982fd68f8b542a877f802d2
BLAKE2b-256 checksum
How to use checksums
0ac2ba5ab799f911b8fce963a3b9db6586370e00b9e4e50852d9b0ecebf78592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.2 Linux/6.2.0-1018-azure

Release files / aimbase-0.0.10-py3-none-any.whl

Download URL aimbase-0.0.10-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d93ec427dbe21af4d2d68f180ef385a2234422f23c36df28ed36b8d36871613
BLAKE2b-256 checksum
How to use checksums
b7971ca0ea7cdc825b153a55d97704e8cd6681e8aa92533ca5d1612133e397ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.2 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page