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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_odm_helper-0.0.12-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_odm_helper-0.0.12.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for fastapi_odm_helper-0.0.12.tar.gz
Algorithm Hash digest
SHA256 d99d3225701c9b3aa9932b1e702d4083503ae78403877dfee613599f39b6ae02
MD5 1f8e55d1a2954e71874b0dfaefef9e01
BLAKE2b-256 f4a4d228f5f4db498437dc4d15d45b3f978283c86ad3b4c9bad95ec552fee9be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4dbc8eeed39f03e242bcc0ac27bc5494985ecb35cc8bb1985ab3245b2742c40e
MD5 d2f0f6f1be0c0e11b0ad7586caa11c79
BLAKE2b-256 c467ebfa1625e971cb5ea2a229dc22fdb40fcfe5f761bc4543fbf76b57a5aed4

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