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.

Source Distribution

PPM_Common-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

PPM_Common-0.0.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file PPM_Common-0.0.1.tar.gz.

File metadata

  • Download URL: PPM_Common-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PPM_Common-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e70a1241d6ac0e91e85f175eee8424169e92bbf48e49ece1f5d64bc02bfc81f
MD5 0ed43eb9698bbb474d77901330f3cf46
BLAKE2b-256 871ffc59a63cc94136f12ef800ca5e6f60e923165906fad06fd6afa5bfc414b7

See more details on using hashes here.

File details

Details for the file PPM_Common-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PPM_Common-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88ff61afb4a406f0f29a2807ed9fec26653cef165041e105491abb1276073e4c
MD5 4cb998cc0fb58280af9dc3d57790f0bf
BLAKE2b-256 674ec0a725556553bf9c1592f9a168138b972e89a8d6d1de27dfc2df9fbfc0db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page