Skip to main content

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


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
Filename, size PPM_Common-0.0.1.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page