Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

MongoDBProxy

MongoDBProxy is used to create a proxy around a MongoDB-connection in order to automatically handle AutoReconnect-exceptions. You use MongoDBProxy in the same way you would an ordinary MongoDB-connection but don't need to worry about handling AutoReconnects by yourself.

Usage:

import pymongo

import mongodb_proxy

safe_conn = mongodb_proxy.MongoProxy(pymongo.MongoReplicaSetClient(replicaSet='blog_rs')

safe_conn.blogs.posts.insert(post)

See here for more details: http://www.arngarden.com/2013/04/29/handling-mongodb-autoreconnect-exceptions-in-python-using-a-proxy/

Contributors:

Jonathan Kamens (https://github.com/jikamens)

Michael Cetrulo (https://github.com/git2samus)

Richard Frank (https://github.com/richafrank)

David Lindquist (https://github.com/dlindquist)

Metadata

Release files for openedx-mongodbproxy 0.3.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 openedx-mongodbproxy 0.3.0
File Size Uploaded Provenance Actions
openedx_mongodbproxy-0.3.0.tar.gz 3.6 kB Without provenance Details for openedx_mongodbproxy-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openedx-mongodbproxy 0.3.0
File Interpreter ABI Platform Actions
openedx_mongodbproxy-0.3.0-py3-none-any.whl Python 3 none any Details for openedx_mongodbproxy-0.3.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / openedx_mongodbproxy-0.3.0.tar.gz

Download URL openedx_mongodbproxy-0.3.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1f33038cb78b75a62079568bcf6b9090bcc0909d6bb6c937af553967f9638cf7
BLAKE2b-256 checksum
How to use checksums
c1e99fb383a526b72d1c7b293f28a79117e0f6559745ca6c8b2c74259ff63de6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / openedx_mongodbproxy-0.3.0-py3-none-any.whl

Download URL openedx_mongodbproxy-0.3.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68dff73dca1c18580112337479353fff0f48a6d039d72218679250af1ac51e33
BLAKE2b-256 checksum
How to use checksums
9083ab05be69cab74c3fb7ae48c008bd5e4da6d57f0bc36cc34b79850db1122f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for openedx-mongodbproxy 0.3.0

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