Alaric
Providing a beautiful way to interact with MongoDB asynchronously in Python.
Example usage
A simplistic example, read more on the docs!
from motor.motor_asyncio import AsyncIOMotorClient
from alaric import Document
client = AsyncIOMotorClient("Mongo connection url")
database = client["my_database"]
config_document = Document(database, "config")
await config_document.insert({"_id": 1, "data": "hello world"})
...
data = await config_document.find({"_id": 1})
Docs can be found here
Support
Want realtime help? Join the discord here.
License
This project is licensed under the MIT license
Funding
Want a feature added quickly? Want me to help build your software using Alaric?
Sponsor me here
Development
In order to make development easier, I recommend using motor-stubs if you're planning on doing more than Alaric has to offer. I.e. Using motor itself.
Metadata
Release files for alaric 1.5.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 | |
|---|---|---|---|
| alaric-1.5.0.tar.gz | 19.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alaric-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.7 kB
Release files / alaric-1.5.0.tar.gz
| Download URL | alaric-1.5.0.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c5ef626aa657ff6f8f2651ac2d2a4bb821e1bb03bd65888da76e36e979c2614
|
|
BLAKE2b-256 checksum How to use checksums |
311e19f4f87a77540ff626467e5870e730a3ab2370e211782f9fd9ef1d74e3f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-45-generic
|
Release files / alaric-1.5.0-py3-none-any.whl
| Download URL | alaric-1.5.0-py3-none-any.whl |
|---|---|
| Size | 35.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97c2bd677f9d4886c8df346352c0815a486a124804baf5a0523a631392968d4b
|
|
BLAKE2b-256 checksum How to use checksums |
730ff71da7017704258faa47ebd280cf16ed3af6e42e1cf8b28ef4395dfe38e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-45-generic
|