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"
}
}
========================================================
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"
}
}
Release files for PPM-Common 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PPM_Common-0.0.1.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PPM_Common-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / PPM_Common-0.0.1.tar.gz
| Download URL | PPM_Common-0.0.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e70a1241d6ac0e91e85f175eee8424169e92bbf48e49ece1f5d64bc02bfc81f
|
|
BLAKE2b-256 checksum How to use checksums |
871ffc59a63cc94136f12ef800ca5e6f60e923165906fad06fd6afa5bfc414b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PPM_Common-0.0.1-py3-none-any.whl
| Download URL | PPM_Common-0.0.1-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88ff61afb4a406f0f29a2807ed9fec26653cef165041e105491abb1276073e4c
|
|
BLAKE2b-256 checksum How to use checksums |
674ec0a725556553bf9c1592f9a168138b972e89a8d6d1de27dfc2df9fbfc0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |