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.1.tar.gz (1.9 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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_orm_for_fastapi-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 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.1.tar.gz
Algorithm Hash digest
SHA256 ef4540d4176cb6747707ed90523028c31db9ad88efd5efcfd0150fda3c012c7a
MD5 a3df9b554c9f32e0246f56e23a13a07d
BLAKE2b-256 661ebbc425de0b36598dd57b9f29d97f91affa7cee656560d45e8ea6d9353610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_orm_for_fastapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20f611170a5bd311af367588c4fe2eafdb13f67918eb652aaa51c7747e0d1de4
MD5 97b3fc0e835c2b5bc546529ed7db42ea
BLAKE2b-256 5cf102d8b5a76fb4f34a9e7ab95a32b604f995942ae6de133ccf81a1376da701

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