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.0.tar.gz (2.0 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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_orm_for_fastapi-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 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.0.tar.gz
Algorithm Hash digest
SHA256 383b61f8980e7c3bf239634634938a0505ee0e3e840b199ef5619a3f7cf04fa2
MD5 73a7f02a2a7d8f78af6e307c9759cc1d
BLAKE2b-256 39be40a4e03ce99159834af1a61209cfcc20d0405b42d3036812b834622ddb2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_orm_for_fastapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 092711a575542d2813fd5ca8bd9bf459ea77b9ed97e22370ecdd011dfda2cc6a
MD5 cc698d06c9e3e8e3114b06770c0b245b
BLAKE2b-256 f3ba8a78bfc0c54ca6950a9981c53e5b5ef8c582e267bea42dd2d3a0b0f880b3

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