Skip to main content

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)

Source distribution for alaric 1.5.0
File Size Uploaded
alaric-1.5.0.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alaric 1.5.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page