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.
how to build and distribute
python3 -m build
python3 -m twine upload dist/*
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8f61562cb61690015b59b0b03dea939a93838c039ed39e93b5128f81e85479 |
|
MD5 | d086535c3b30699f24ce5bf4cfb2a1b1 |
|
BLAKE2b-256 | b3f259c5de70aa58359ea2d8cacfb429ef4fcbe261e49250edeb835b39f8b24b |
Close
Hashes for happy_little_helpers-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34962ad5a62e0d48afb1e102d18826681559d6346866a98118924e53f134c873 |
|
MD5 | 35e7e3c300a17b09d248934ecfd7918d |
|
BLAKE2b-256 | 76dcdfdf1af0824d174864e46f92d467d66bc4cfe96c5219ee52e41cf1c30a73 |