Skip to main content

Simple secret diary based on JSON and AES encryption

Project description

Secret Diary

My own project to manage my daily diary, works with only Python 3

How it works

The entire diary is based only on JSON text, everything is done with JSON. Diary has 'public' infos and 'secret' infos, the secret part is encrypted with AES algorithm.

The public part is called 'summary', this will be usefull to help you to know what that page of diary talk about or specific infos.

No connection to internet required, new diary will be created if username is not recognized (obviously with a prompt to allow or deny).

Once you wrote you can't edit text (both public and private) but you can write without limits.

Password of your diary is stored in the same JSON file, the name is yout username setted at first start.

How to install

This code can be installed with pip, if you have pip installed execute the pip command to install new package pip install json_secret_diary

Example of usage

You have 2 ways to use my package from command-line, simply write json_secret_diary and creation start!

You can also use with your python project, here an example:

import json_secret_diary

my_username = 'example'
my_password = 'example_pw'

# Create Diary object
my_diary = json_secret_diary.Diary(my_username, my_password)

# Access to diary, if exist
# if not exist create new one if authorized
my_diary.access()

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

json_secret_diary-1.0.4.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

json_secret_diary-1.0.4.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file json_secret_diary-1.0.4.2.tar.gz.

File metadata

  • Download URL: json_secret_diary-1.0.4.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.16

File hashes

Hashes for json_secret_diary-1.0.4.2.tar.gz
Algorithm Hash digest
SHA256 f9b761ee7130d019f3a7bb9bad28e5e39291d22af9260c878be23dde947b5b42
MD5 d146420cdaddff4c21234e9402ed4bf5
BLAKE2b-256 8c90e674fbb683dec6805aad97c32ad0f3970c1301a7e5fb48264de99a8c437b

See more details on using hashes here.

File details

Details for the file json_secret_diary-1.0.4.2-py3-none-any.whl.

File metadata

  • Download URL: json_secret_diary-1.0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.16

File hashes

Hashes for json_secret_diary-1.0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9fb6ad7ecdbc5434f860a986e47a898e986983efc2cdd6fbeefb5469c2036a2f
MD5 f4160cc719321ee9edc5a2b0b1af0ac3
BLAKE2b-256 b3fe4a119c3a1b82709fb9be318ef3188e7182bbbb25fa2d3698261fef970b01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page