Secure storage of settings for your python programs. Use strong password
Project description
Description
Secure settings in json file
install
pip install secure-json
import
from secure_json import Settings
Description
The library allows you to encrypt your settings stored in json format.
It is possible to convert from a simple storage option to an encrypted one.
To work with the encrypted version of the settings, you need to pass the startup parameter - the password with which the encryption took place.
Try it, the library is very simple.
Usage
Import lib
settings = Settings('Settings.json').data
path_to_repo = settings.repo.path
user = settings.repo.user
pass = settings.repo.password
base_name = settings.base_name
Encoding\Decoding
encoding settings:
python main.py <password> encode
decoding settings:
python main.py <password> decode
help:
python main.py help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secure_json-1.0.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for secure_json-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e46632bffbc1ae0f24e1c4913fe017c83619cc73cd178bf7d5d94f92e443f60 |
|
MD5 | 557c4cd8977ebfa0c7ad4ac28c1f2199 |
|
BLAKE2b-256 | 9c24e14f83a19799aa50d9c83bc5a30fda191d28a5e189ec15cb8058b6342faf |