Skip to main content

pynosqlc-mongodb

MongoDB driver for pynosqlc — connects to MongoDB via pymongo's AsyncMongoClient.

Install

pip install alt-python-pynosqlc-mongodb

Requirements

  • Python 3.12+
  • MongoDB 4.4+
  • pymongo 4.6+

Usage

import asyncio
from pynosqlc.core import DriverManager, Filter
import pynosqlc.mongodb  # auto-registers MongoDriver

async def main():
    async with await DriverManager.get_client(
        'pynosqlc:mongodb://localhost:27017/mydb'
    ) as client:
        col = client.get_collection('orders')
        await col.store('o1', {'item': 'widget', 'qty': 5})
        f = Filter.where('qty').gt(0).build()
        async for doc in await col.find(f):
            print(doc)

asyncio.run(main())

URL scheme

pynosqlc:mongodb://<host>:<port>/<dbname>

Example: pynosqlc:mongodb://localhost:27017/mydb

The pynosqlc: prefix is stripped before passing the URL to pymongo — the remainder is a standard MongoDB connection string, so replica set URIs and authentication options (e.g. mongodb://user:pass@host/db) work as-is.

Metadata

Release files for alt-python-pynosqlc-mongodb 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alt-python-pynosqlc-mongodb 1.0.4
File Size Uploaded Provenance
alt_python_pynosqlc_mongodb-1.0.4.tar.gz 6.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for alt-python-pynosqlc-mongodb 1.0.4
File Interpreter ABI Platform
alt_python_pynosqlc_mongodb-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / alt_python_pynosqlc_mongodb-1.0.4.tar.gz

Download URL alt_python_pynosqlc_mongodb-1.0.4.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a2ba17aebb69a9cff23780aca4979e56d128feb0d0e758e09da4ffbf7ff49c77
BLAKE2b-256 checksum
How to use checksums
2c401d13f606ae3f960baed00e5581e25413c042471343bc62763a0ff92a347a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / alt_python_pynosqlc_mongodb-1.0.4-py3-none-any.whl

Download URL alt_python_pynosqlc_mongodb-1.0.4-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c1dee9df75286c84a1ced44a6ae977eeb12c37a92059fdc81fa8ccdd10102b6
BLAKE2b-256 checksum
How to use checksums
3f5e16c3bd21dfd6a510bbf0194f19a09e62a063b10ca22bdee56ea05dbbfe5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for alt-python-pynosqlc-mongodb 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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