Skip to main content

No project description provided

Project description

Django ORM for FastAPI

This project aim is provide easy integration of Django's ORM into FastAPI applications.

Currently implemented

  • Ability to configure single database connection
  • Ability to define Django models and use them in FastAPI endpoints
  • Simple endpoint decorator for closing unused connections
  • Utilities
    • Function that will create model's tables
    • Function that will delete model's tables
  • Test utils
    • Function that will create test database
    • Function that will tear-down test database
    • Function that will flush test database tables

Todo

  • Migrations
  • Support for multiple databases
  • Transactional test utilities (so flushing won't be needed)
  • Tests

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

django_orm_for_fastapi-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

django_orm_for_fastapi-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file django_orm_for_fastapi-0.1.2.tar.gz.

File metadata

  • Download URL: django_orm_for_fastapi-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.12.8 Darwin/24.5.0

File hashes

Hashes for django_orm_for_fastapi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dfcf531746aa59b4ec048853e16f8988e947c410ba4c57f53f582ca5e14dba1
MD5 39f4f3384abdf9636c9f13f364950f45
BLAKE2b-256 ac7e8f5e51d4ea05713c1ea106db41a172c59f4b690202da6c4d2aba1e36f4e4

See more details on using hashes here.

File details

Details for the file django_orm_for_fastapi-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_orm_for_fastapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86bc7c0cb9b123c5ee2406a634c6268301e548cd0f8abe4013cb819377d771b4
MD5 cda787a28248582b0cae37f66bc4a827
BLAKE2b-256 0b7c021c087cc00bd14d8120272d59b35dc4ead20082569806f8360e17f5779b

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