Skip to main content

anyio_lmdb

A simple lmdb wrapper for anyio forked from the python lmdb library's aio module. This library is small and easy to use and was seen by it's author as a possible canidate to add to the keyspec library (asynchronous msgspec cache library) as it is supported on windows and all other operating systems.

from anyio_lmdb import AsyncEnvironment


async def main():
    async with AsyncEnvironment.create("db", readonly=False) as env:
        async with env.begin() as b:
            await b.put(b"key", b"value")
            v = await b.get(b"key")
            # b'value'
            print(v)


if __name__ == "__main__":
    import anyio

    anyio.run(main)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anyio_lmdb-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anyio_lmdb-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file anyio_lmdb-0.1.0.tar.gz.

File metadata

  • Download URL: anyio_lmdb-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for anyio_lmdb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18e43973f472f9fb8834f6f61aa636fff47cb617795218d5f0af08d176827d66
MD5 cb140152b17c8ae5918205bc79b67fac
BLAKE2b-256 2837c49728374f12b8ebcde5e5e81cb87494c4bbab6e9c8297d93bafe749ad39

See more details on using hashes here.

File details

Details for the file anyio_lmdb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: anyio_lmdb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for anyio_lmdb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee3b4a02bad871fa6dfe1a317b07cab54da2d949e49d610cf0730a615354dd3
MD5 e202e845a0062d27da3732dd9ef0ba49
BLAKE2b-256 84ae60d8acebd83e3c18cfda4a0ae448430e4cd811825a646090d77cad82057c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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