Using conda:
conda activate <env>
conda develop ~/github/harrison-functionsUsing pip method 1 (preferred):
conda activate <env>
cd github/harrison-functions
python setup.py developUsing pip method 2:
conda activate <env>
pip install -e github/harrison-functionsTry importing a function:
from harrison_functions.utils.file_io import read_ini_as_dictTo use the files in the configs folder:
- Put an INI_KEY in your bashrc.
- Use the output of the
encrypt_messagefunction inharrison_functions.utils.std.encryptionto replace the fields inconfigs/databases.ini.
To read the queries in the queries folder as a dictionary:
from harrison_functions.etc.queries import queriesUsing conda:
conda develop -u ~/github/harrison-function # to uninstallUsing pip:
pip uninstall harrison-functionsThis code is copyright by Harrison Wang in 2019. This code is for personal use ONLY, not for distribution or profit.