This project is designed to analyze my CSV which I used to track my time back from the early days to now. I made this public in case anybody wants to model a custom parser and analyzer for their own CSV data.
Make sure you have Python installed. This project uses Python 3.x, which can be downloaded from python.org. No additional packages are required, as the project only uses Python’s built-in libraries.
Clone the repo:
git clone https://github.com/EyoelYT/Conversion-CSV
cd Conversion-CSV
Run the python file without packaging
Ask for Help
./converter/main.py -h
Input file
./converter/main.py -f "./Example_1.csv"
Search for titles with string ‘leetcod’ in them
./converter/main.py -f "./Example_2.csv" -t "algebra"
Search for titles with strings ‘leetcod’ or ‘physics’ in them
./converter/main.py -f "./Example_2.csv" -t algebra physics
Run the following command. python
and unittest
python module are required.
Test all files
python -m unittest tests/*.*
OR test individual files
python -m unittest tests/some_python_test_file.py tests/some_other_python_test_file.p
I am actively iterating on this repo so it may change.
The MIT License (MIT)
Copyright (c) 2024 Eyoel T
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.