Beanita
Local MongoDB-like database, based on Mongita and prepared to work with Beanie ODM
I highly recommend using it only for experiment purposes. It is safer to use a real MongoDB database and for testing, and for production.
Init
from beanie import init_beanie, Document
from beanita import Client
class Sample(Document):
name: str
async def init_database():
cli = Client("LOCAL_DIRECTORY")
db = cli["DATABASE_NAME"]
await init_beanie(
database=db,
document_models=[Sample],
)
Not supported
- Links
- Aggregations
- Union Documents
- other features, that were not implemented in Mongita
Metadata
Release files for beanita 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beanita-0.1.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beanita-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / beanita-0.1.0.tar.gz
| Download URL | beanita-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4611be24eeeaefa8076c6d7e48773090d94f153d501f9141583bde5d7a41ece
|
|
BLAKE2b-256 checksum How to use checksums |
110523c8e632f275a8bef8239a7baffc3d1dae77d79ed639d8aab77675f35ef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-49-generic
|
Release files / beanita-0.1.0-py3-none-any.whl
| Download URL | beanita-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f6d9a803383783b19a8488e9cb384409597e1fe5c84e9863e4f67a9d93f173c
|
|
BLAKE2b-256 checksum How to use checksums |
52a30dd78ff80f05c497dbe7e7559c16d5a6f253bc2af4acd8adf48036fcae67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-49-generic
|