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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_odm_helper-0.0.9.tar.gz
Algorithm Hash digest
SHA256 da7d4de1c1afc9f888addf7047ad096983cf018957b32022da554c79117d6350
MD5 f94b0b520bc14459e64a75b0987637b1
BLAKE2b-256 ffcf07c5c8d3c068d241a58fc1dcce91b88823d2f7e8bda932f6fb61310dbb67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 05bb5ed71a6428385783a138b2ed72a358a0d04552651a7b5b2f97e01c6a7f0a
MD5 66f943c686c0877b787104d0a6f658b9
BLAKE2b-256 90ee8e7cac01b1ea52305f809411b86ab92ea3e49abd3cc747071d2dac99be11

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