GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - arngarden/MongoDBProxy: Proxy around MongoDB connection that automatically handles AutoReconnect-exceptions.

BranchesTags
Open more actions menu

Latest commit

 

History

77 Commits
77 Commits

Folders and files

NameName
Last commit message
Last commit date
mongo_proxy
mongo_proxy
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
setup.py
setup.py
 
 

Repository files navigation

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 mongo_proxy
>>> safe_conn = mongo_proxy.MongoProxy(pymongo.MongoReplicaSetClient(replicaSet='blog_rs')
>>> safe_conn.blogs.posts.insert(post)  # Automatically handles AutoReconnect.

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)

Installation

pip3 install MongoDBProxy-official

About

Proxy around MongoDB connection that automatically handles AutoReconnect-exceptions.

Resources

Readme
License
Activity

Stars

89 stars

Watchers

8 watching

Forks

63 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.