Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tools for connection to mongodDB et Elasticsearch

Project description

PPM_Common
========================================================

Gives utilities to manage connexion to MongoDB database and Elasticsearch

You can install with pip:

pip install PPM_Common

Example:

>>> from PPM_Common import MongoConnexion
>>> MongoConnexion(pathToConfigFile)

Configuration file looks like :

{
"mongodb": {
"host": "127.0.0.1",
"host_port": 27017
},
"elastic": {
"host": "127.0.0.1",
"host_port": 9200,
"mode":"dev"
}
}


Project details


Release history Release notifications

Download files

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

Files for PPM-Common, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size PPM_Common-0.0.1-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size PPM_Common-0.0.1.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page