A collection of happy little helpers
Project description
happy-little-helpers
v0.0.1
happy_little_helpers is a python package that gives you some happy little utils including:
flash_env
easy flash drive credential management for moving from system to system.
get_flash_path() - get the path to your credentials flash drive automatically
read_env() - check you are retrieving the right credentials
debugger
quickly turn debugging console prints on and off
debug_print() - replaces the print() function
enable_debug_mode() - global function to enable debugging
disable_debug_mode() - global function to disable debugging (this is the default behavior)
project-structure
happy-little-helpers
├─ .gitignore
├─ README.md
├─ LICENSE
├─ pyproject.toml
├─ src/
| └─ happy_little_helpers/
│ ├─ __init__.py
│ ├─ debugger.py
│ └─ flash_env.py
└─ tests/
├─ __init__.py
├─ credentials/
│ └─ happy-little-helpers/
│ └─ .env
├─ main_test.py
└─ pythonpath.txt
how to test locally
- navigate to the root package directory
happy-little-helpers
and add the tempPYTHONPATH
found inhappy-little-helpers/tests/pythonpath.txt
:
export PYTHONPATH=/home/<username>>/Documents/github/happy-little-helpers/happy_little_helpers:$PYTHONPATH
-
format a flash drive and name the partition
credentials
. -
copy the contents of the
credentials
directory to your newly formated drive. -
run
python3 tests/main_test.py
from your root directory to print the demo .env retrieved from your credentials flash drive.
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
Built Distribution
Close
Hashes for happy-little-helpers-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3306b04e5d903c98509ad003de3b0649709c02ba1745567a7893faf82ad49f90 |
|
MD5 | a3b255964c36615f1ecd92c7787a5db7 |
|
BLAKE2b-256 | 572cbdfcbc9f4c5576d291d9ef987c4fcfc0555089cd3b2df5416c4ff653d04c |
Close
Hashes for happy_little_helpers-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b415247dec05643499c8c357ef48812e42effb9e5d710408155b061001ad9643 |
|
MD5 | ae7a36fb36db53eb27db1144fbbd6117 |
|
BLAKE2b-256 | bba04db708b55c65d3a10764e34ef9defe52196c20365420afff1b048c82ad97 |