A set of IT utilities to help my daily life as a programmer, and a system administrator. It includes tools for converting csv to json and zipping directories.
These instructions will get you a copy of the project and running on your local machine for development and testing purposes.
git clone https://github.com/kranz912/IT_Utilities.git
cd IT_Utilities
Python is required for some tools to work.
You can download and install python from:
Pipenv is required to install the dependencies. It creates a virtual environment for you.
To install Pipenv:
pip install pipenv
Run the following command to install all the dependencies.
pipenv install
In order to use you must be on pipenv shell.
Run the following command on your terminal.
pipenv shell
A tool for converting a CSV file to JSON file
usage: CsvToJson.py [-h] <source> <destination>
A utility to convert csv file to json file
positional arguments:
<source> source csv file
<destination> destination json file
optional arguments:
-h, --help show this help message and exit
example:
python CsvToJson.py ../test.csv ../test.json
A tool for zipping a directory
usage: Zipdir.py [-h] <source> <destination>
a utility that will convert a directory into a ZipFile
positional arguments:
<source> source directory directory path
<destination> destination directory path
optional arguments:
-h, --help show this help message and exit
example:
#zipping the current directory
python Zipdir.py . ../test.zip
#zipping another directory
python Zipdir.py D:\example D:\example.zip