Skip to content

wjkw1/python-scripts

Repository files navigation

python-scripts

Repo to collate useful example python scripts in one place for future use.

Provide anz bank statement as input and it will concatenate the fields under new 'Description' label, and delete obsolete fields for booster money management app. The new output file will make for better importing of statements into booster

See website here - https://booster.co.nz

Usage:

python3 run.py -i input-file.csv -f output-file.csv

This script gets range utilisation statistics using the Men and Mice Rest api

Usage:

To see complete usage run this command:

python3 men_and_mice_report.py -h

This script includes examples for python libraries argparse, getpass, logging and requests (api calls).

Usage: To see complete usage run this command:

python3 python-boilerplate.py -h

Python Virtual Environments

Creating your virtual environment

cd /path/you/desire
mkdir /path/you/desire/py_virtual_envs
cd py_virtual_envs
python3 -m venv environment_name

Enabling use of your virtual environment

source /path/you/desire/py_virtual_envs/environment_name/bin/activate

I suggest adding an alias to your .bash_alias file to make swapping to it easy. Can change alias to whatever you prefer.

alias p-venv-env='source /path/you/desire/py_virtual_envs/py-virtual-env/environment_name/bin/activate'

About

Repo to collate useful example python scripts in one place for future use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages