Secrets handle lib.
Project description
BlackHoles
Black Holes is a simple way to handle your projects secrets using a database
or Consul.io
.
Install
Installing from Pip
(pyenv) $ pip install blackhole
Installing from sources
:
(pyenv) $ cd black_holes (pyenv) $ python setup.py install
Usage:
simple usage
Plain {'key': 'values'}
storage.
from black_hole import SqliteBlackHole # Create a new SqliteBlackHole instance near_black_hole = SqliteBlackHole() # Create a key called "key" with value "value" near_black_hole.key = 'value' # print key print(near_black_hole.key)
Advanced usage:
Encrypted {'key': 'values'}
storage.
from black_hole import SqliteBlackHole # Create a new SqliteBlackHole instance near_black_hole = SqliteBlackHole() # Encrypted key near_black_hole.encrypted_key = 'it is a secret' # Encrypted value print(near_black_hole.key) # Decrypted value print(near_black_hole.decrypted_key)
Made it with ❤ by DTecDeal
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
black_holes-0.0.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for black_holes-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c0796f394981016fd3b835c7039a477b44e38552d09540d2e63abddf2f0bdc6 |
|
MD5 | bc8c3384ac94188f36ebd4fce966d4a2 |
|
BLAKE2-256 | ad08e33be9dd600d997a780fd9a2961b2deb11c51910bed498598d78ffa7a38c |