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.19.tar.gz (6.2 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.19-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_odm_helper-0.0.19.tar.gz
  • Upload date:
  • Size: 6.2 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.19.tar.gz
Algorithm Hash digest
SHA256 4d3fc12b1edf0f66c4b16fa6e71da1320c99d2c2c26a0b69aecf4f737207285a
MD5 ef00281003dd6c69994bd4a79caac956
BLAKE2b-256 ec1a003adb21ae109ab191a5b1a0b652cedf22857cd03d6a7d2a27717ce600c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 d09dff4e061e614dcf80523942ca450409343b662acf4c44b9ef35f8200049f1
MD5 4dc916370db4120480522300e204550c
BLAKE2b-256 7f4356d70d4573a560c6f8d0fe9426ddff80e5da613d8e7923dca3f4ea0b70d8

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