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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_odm_helper-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7e630ea8349c0d3ef9c1b9a442203c10f730f24a632b84d8f04e564981603134
MD5 45c2baea1ea861089866a88d79c3e7af
BLAKE2b-256 e4e8163e57d84e00fa744979365f17dc8e37c24badd24eefdeffbf6bd561f3ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8b396d46c03f6fd742a3874bc76151bac6bc4683b2bca2490da1cefe80454e44
MD5 470117558e8d3148894a3f6d771ae8aa
BLAKE2b-256 a0dbeac6709be4970459f9ab366a2b27628588dfa43f40383b9b9d0497f3c686

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