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.16.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.16-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_odm_helper-0.0.16.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.16.tar.gz
Algorithm Hash digest
SHA256 335a4851944b12d95f2b6c9bfd2feede59299319f79fc6f226d3f2b04a40a957
MD5 fb2772da85569173cb62427a8dd64f52
BLAKE2b-256 67319d9dbb71b4640a264c95bc57a9f488b7af96ba2161e92f4eb0b05d8c3756

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 4e929418006070bc24a2efdb43dadf2ec63c452248f1f2e1607c032bb565f976
MD5 d726e2e786e21812c586e40880d0f706
BLAKE2b-256 0412890db23febf4480d39d07f008f8c82cdb1af151f9c5fd7d76e464c70d068

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