Skip to main content
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'


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

credPass-1.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

credPass-1.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file credPass-1.1.tar.gz.

File metadata

  • Download URL: credPass-1.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for credPass-1.1.tar.gz
Algorithm Hash digest
SHA256 40c9af4756547af334fdafd154dc09ba26f4b5c45202f7c8da397d5922ca1a25
MD5 2f7fee3358232c36d0ba4affe3693acb
BLAKE2b-256 b76ac1b9352b71a22c2cc9b08f649bf8b7c8c85e9e624e73a9c11151cfb8e4ef

See more details on using hashes here.

File details

Details for the file credPass-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for credPass-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f47e151de6268451c694806e69c3582aca15dba18d93c7c1a1816e6ab2c148cc
MD5 11eb6468f9b947710c0d7246e81f0cfb
BLAKE2b-256 6f7c0acad2dd18a9e773e0d84b640ff1efe2acb7fbde6a87e47e89569a57211a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1 This release

2 files

1.0

2 files

Supported by

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