Skip to main content

fastapi-apex: A robust FastAPI framework and scaffolding tool for rapid application development. Apex provides out-of-the-box setup for databases and implements best practices to get your FastAPI applications up and running quickly and efficiently. Start building powerful, modern web applications with Apex today.

Project description

apex_fastapi Framework

This repo contains some extra steup for an FastAPI project

  • fastapi_plus : create fast app with some default settings and handlers
  • logger_plus : logger setup for fastapi, tortoise , aws and etc.
  • schema_plus : Base module for schema
  • settings : Env base settings

Test

  1. Run docker-compose up -d in the test folder.
  2. Copy the test.env file to .env and fill in or change the values.
  3. Run export $(cat .env | xargs) to set the environment variables.
  4. Run pytest in the root folder.

Shell

  1. Instantiate class object ShellCommand
  2. Run the instance
# utils/cli.py
shell = ShellCommand(
    db_url=settings.DATABASE_URL,
    models=settings.APPLICATION_MODELS,
    )
# run shell()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_apex-0.1.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_apex-0.1.3-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_apex-0.1.3.tar.gz.

File metadata

  • Download URL: fastapi_apex-0.1.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.7 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for fastapi_apex-0.1.3.tar.gz
Algorithm Hash digest
SHA256 df286c98496a5887f525f254924a0649f64b3e25ce05905b5d6c70630b508db4
MD5 0d4c2f65ced9edc9aaf950a9a965b61a
BLAKE2b-256 2572aa1b9aa3b290bfa6919518436576668b633c07d2741f6bd50b3ce942ad64

See more details on using hashes here.

File details

Details for the file fastapi_apex-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: fastapi_apex-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.7 Linux/5.15.146.1-microsoft-standard-WSL2

File hashes

Hashes for fastapi_apex-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5d9554d25c585c7945a83c4c172c17c535ef85bd78f4acac40e682028fcfc366
MD5 f21db8f40e60bc9d9b84e850323e3f98
BLAKE2b-256 096ae6707581a58a9fa9a3df1d80bdd267364ac4a5decb014e7db9081d2d866d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page