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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_odm_helper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 837082dd261d740824b34b4717a936a43b6de3badb10dfeb9db6d7390aa300c4
MD5 858fde9e3948e5230b71bca17cd89e42
BLAKE2b-256 9f9e12ce3b756a0efb6f80e7c5f7184f9b55be2c3fea196a9a52dff384413a7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_odm_helper-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e92f954e1b8a853a00ad3f3d4551a8f84c90af8ea0107c43700a38815f2c68b
MD5 2dd21aa375da573f89ff34b817826201
BLAKE2b-256 ea4730686d1f5be945f246ea9bf1f151a0c7d6699d348d80f7f2ef3eb67b61c2

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