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'
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'
Metadata
Release files for credPass 1.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 | |
|---|---|---|---|
| credPass-1.1.tar.gz | 1.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| credPass-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 kB
Release files / credPass-1.1.tar.gz
| Download URL | credPass-1.1.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c9af4756547af334fdafd154dc09ba26f4b5c45202f7c8da397d5922ca1a25
|
|
BLAKE2b-256 checksum How to use checksums |
b76ac1b9352b71a22c2cc9b08f649bf8b7c8c85e9e624e73a9c11151cfb8e4ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / credPass-1.1-py3-none-any.whl
| Download URL | credPass-1.1-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f47e151de6268451c694806e69c3582aca15dba18d93c7c1a1816e6ab2c148cc
|
|
BLAKE2b-256 checksum How to use checksums |
6f7c0acad2dd18a9e773e0d84b640ff1efe2acb7fbde6a87e47e89569a57211a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |