Skip to main content

FastAPI ODM Helper

Project description

FastAPI ODM Helper

FastAPI ODM Helper helps us to work with beanie easier with lots of useful functions

How to use

  1. BaseRepository
from fastapi_odm_helper import BaseRepository
from users.entities.user import UserEntity

class UserRepository(BaseRepository[UserEntity]):
    _entity = UserEntity
  1. @Entity decorator
from fastapi_odm_helper import Entity

@Entity()
class UserEntity(BaseEntity):
    id: UUID

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_odm_helper-0.0.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

fastapi_odm_helper-0.0.7-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_odm_helper-0.0.7.tar.gz.

File metadata

  • Download URL: fastapi_odm_helper-0.0.7.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for fastapi_odm_helper-0.0.7.tar.gz
Algorithm Hash digest
SHA256 6909ca5698fa19c6f888340ce9fdc08cd9561e0836fca0464358acc76efa4e36
MD5 a525aa8fba65a6566c83e3bca118f5ae
BLAKE2b-256 28b4400ad1dc13d3f4106f367c61970711443a58b673d6bd373223f4fcd4c05c

See more details on using hashes here.

File details

Details for the file fastapi_odm_helper-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f958420a04ae8c85252e5d60c90bdff362df303432c319d3c6ecccf0ac5f97e0
MD5 69ff7f5bef625a631c51251f68d7055d
BLAKE2b-256 d145559cfac4e98fa5fa4ecc1df5cb65f8968113c841bbdcf925e5239fda349a

See more details on using hashes here.

Supported by

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