credPass-1.1
توضیحات
python class to load credentials or other sensitive data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | credPass-1.1 |
| نام | credPass |
| نسخه کتابخانه | 1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Federico Olivieri |
| ایمیل نویسنده | lvrfrc87@gmail.com |
| آدرس صفحه اصلی | https://github.com/FedericoOlivieri/networkAutomation/ |
| آدرس اینترنتی | https://pypi.org/project/credPass/ |
| مجوز | MIT |
Python library to load credentials or other sensitive data for .json format file.
Credentials must be stored under ``~/.credentials.json` in key:value dictionary format.
Example::
{
"device1":
{ "username": "federico.olivieri", "password": "p4ssw0rd" },
"device2":
{ "username": "olivierif", "password": "mys3cr3t" }
}
If you want change default location of .credentials.json file you need to modify file path under `__init__` methond
How to run it::
db = credPass()
db.load('device1','password') # 'p4ssw0rd'
نحوه نصب
نصب پکیج whl credPass-1.1:
pip install credPass-1.1.whl
نصب پکیج tar.gz credPass-1.1:
pip install credPass-1.1.tar.gz