Migrating csv.lua to Python based library
-
- Download Python3.
-
-
Install all the requirements:
pip install -r requirements.txt
-
-
-
Navigate to the project root directory
-
Run:
-
Test:
-
To run all tests, run the command
python -m src.main -e ALL
-
To run a specific test, run the command
python -m src.main -e <test-name>
-
To see a list of test names, run the command
python -m src.main -e LS
-
To see the help section, run the command
python -m src.main -h
-
If any of the tests fail, use
-d
flag to see stack trace
-
-
.
├── .github
│ ├── workflows
│ │ ├── run-test.yml # Workflow for git actions
├── Docs
│ ├── TestFile.md # Test file
| ├── src
| | ├── *.html # Documentation files per file
├── data
| ├── README.md # Readme file for data folder
| ├── constants.py # Contains constants to be used by other code
| ├── input.csv # Input file used for testing the logic
├── src
│ ├── Num.py # Num class to get mid & div
│ ├── __init__.py # Init file for src directory
| ├── cols.py # Cols class with its methods
| ├── data.py # Data class to handle data from csv
│ ├── main.py # Main file for src directory
│ ├── misc.py # File for all miscellaneous functions
| ├── row.py # Rows class with its methods
│ ├── sym.py # Sym class to get mid & div
├── tst
│ ├── README.md # Readme file for unit tests
│ ├── __init__.py # Init file for tst directory
│ ├── testEngine.py # Contains code for test engine
│ ├── test_*.py # Specific test files
├── .all-contributorsrc # File for all-contributor bot
├── .gitattributes # File for git attributes
├── .gitignore # File for git ignore
├── CODE_OF_CONDUCT.md # Code of conduct for repository
├── CONTRIBUTING.md # Details about contributing to the repository
├── LICENSE.md # MIT License details
├── README.md # Readme file for repository
├── requirements.txt # Details of dependency packages
├── INSTALL.md # Installation steps for complex packages
└── setup.py # Setup file for the module
Thanks goes to these wonderful people (emoji key):
nagaraj madamshetti 🚇 |
Akash Gupta 🚇 |
Arunsp2000 💻 |
Nitesh Mishra 🚇 |
sumitsinghhazard 🚇 |
This project follows the all-contributors specification. Contributions of any kind welcome!