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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_odm_helper-0.0.10.tar.gz
Algorithm Hash digest
SHA256 418482d117b3a3b0c553feee6de407b06e162acbbcb60b0290a0eaae0cda32eb
MD5 93394ef9b4a6b5aca0a527560467b2ef
BLAKE2b-256 ce9982c68c43f2d6fc18409dd98c819b1fb83f0ef95df8614380ba21634d3a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 398653f2d2e65c8d64ef8f8f8f693e8344ca18017e2695d35ed2a70827599a54
MD5 d6c8d539598d825db052483fc0135016
BLAKE2b-256 cc8115fb1b65d5fd0bb68486243dbe0c8cc6f02f6d152ce4298e8f816c26d1ac

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