Skip to main content

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

Release files for secure-json 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for secure-json 1.1.0
File Size Uploaded
secure_json-1.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for secure-json 1.1.0
File Interpreter ABI Platform
secure_json-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / secure_json-1.1.0.tar.gz

Download URL secure_json-1.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
51322769205ecf28981a88d211d50c692c5d99272c3d32cd92acb7ca1ddf242d
BLAKE2b-256 checksum
How to use checksums
318c177e78099a1d7d926159efd2197f4b79948422c7e0c4d08048a4c00a9d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.1 Windows/10

Release files / secure_json-1.1.0-py3-none-any.whl

Download URL secure_json-1.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55c4126039c41e902b14c5589898b6daa83da62756232afdccbb9d536e4e49ef
BLAKE2b-256 checksum
How to use checksums
597404b2c150f5df7b77533304101fb9f91965550d7e820bd6e5c48c76b0b416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.1 Windows/10

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.31

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page