A simplistic yet powerful asynchronous MongoDB query engine.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alaric-1.5.0.tar.gz.
File metadata
- Download URL: alaric-1.5.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c5ef626aa657ff6f8f2651ac2d2a4bb821e1bb03bd65888da76e36e979c2614
|
|
| MD5 |
4f74950ba9cf06e40ca6254cc9be6709
|
|
| BLAKE2b-256 |
311e19f4f87a77540ff626467e5870e730a3ab2370e211782f9fd9ef1d74e3f6
|
File details
Details for the file alaric-1.5.0-py3-none-any.whl.
File metadata
- Download URL: alaric-1.5.0-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97c2bd677f9d4886c8df346352c0815a486a124804baf5a0523a631392968d4b
|
|
| MD5 |
8ada6f38f4118a53dc0d575f037ca054
|
|
| BLAKE2b-256 |
730ff71da7017704258faa47ebd280cf16ed3af6e42e1cf8b28ef4395dfe38e8
|