Skip to content

ImVictorM/Ting

Repository files navigation

Ting 🌐

Project Context 💡

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.

Acquired Knowledge 📖

In this project, I was able to:

  • Manipulate and create Queues;
  • Manipulate text files.

Main Technologies 🧰

Python Pytest
python pytest

Running the application ⚙️

  1. Clone the repository and enter it
git clone [email protected]:ImVictorM/Ting.git && cd Ting
  1. Create the virtual environment
python3 -m venv .venv && source .venv/bin/activate
  1. Install the dependencies
python3 -m pip install -r dev-requirements.txt

Testing 🛠️

To run all tests:

python3 -m pytest

Running only one test file:

python3 -m pytest {test_file_path}.py