This project simulates a document indexing algorithm similar to Google's, capable of identifying occurrences of terms in text files.
The program has two main modules:
- File management module: (
/ting_file_management
) that allows you to attach text files (.txt); - Search module: (
/ting_word_searches
) that allows operating search functions on attached files.
In this project, I was able to:
- Manipulate and create Queues;
- Manipulate text files.
Python | Pytest |
---|---|
- Clone the repository and enter it
git clone [email protected]:ImVictorM/Ting.git && cd Ting
- Create the virtual environment
python3 -m venv .venv && source .venv/bin/activate
- Install the dependencies
python3 -m pip install -r dev-requirements.txt
To run all tests:
python3 -m pytest
Running only one test file:
python3 -m pytest {test_file_path}.py