Dependency checker made with python and it is also converted in a package for easy installation in linux and macOS environment.
- Made python package for easy installation of packages in linux.
- CLI tool implemented.
- Response saved in csv file.
- Python
- pip
- virtual environment
- Open command prompt install package
Install package command: pip install dependency-checker-dpch To install pip in linux: sudo apt install python3-pip
- Open cmd and write command for executing the file
dpch --file <csv file name> --dep <dependency to check> --user <github username> --auth <github auth toke> --email <email of your github account> --u <no parameters just wirte it if you need to update the version and create PR>
example command: dpch --file D:\jevin\dyte-assignment\demo.xlsx --dep morgan@1.10.0 --user jevin925 --auth ghp_EnMy*************3qAAf3SRgt1 --email jevin925@gmail.com --u
Note: If you are giving only file name in input make sure the file is present in your current directory.
- Output will be save in file output.csv at your current woking directory.
-
Clone the repo and cd into dependency checker folder
git clone https://github.com/dyte-submissions/dyte-vit-2022-jevin925.git
-
Make virtual environment and activate it
virtual environment command: py -m venv <env name> activating command: <env name>\Scripts\activate.bat
-
Install all dependencies from requirements.txt
install command: pip install -r requirements.txt
-
Run command in terminal
python <name of file> --file <csv file name> --dep <dependency to check> --user <github username> --auth <github auth toke> --email <email of your github account> --u <no parameters just wirte it if you need to update the version and create PR>
example command: python dep_chk.py --file D:\jevin\dyte-assignment\demo.xlsx --dep morgan@1.10.0 --user jevin925 --auth ghp_EnMy*************3qAAf3SRgt1 --email jevin925@gmail.com --u
Note: If you are giving only file name in input make sure the file is present in your current directory.
-
Output will be save in file output.csv at your current woking directory.
Jevin Vekaria - jevn925@gmail.com
Project Link: https://github.com/dyte-submissions/dyte-vit-2022-jevin925