The idea of PyWiki is to be a simple project, capable of searching for information in Wikipedia and returning it's results on the screen.
PyWiki is made using Python. Pygame is used to handle the display and wikipedia is used to get the search results.
You can run PyWiki with python3. I recommend using a virtual environment with:
Clone the repo using
git clone https://github.com/R34prZ/PyWiki
.
python3 -m venv env
in the repo root.
You should see the following file structure:
PyWiki
-- env
-- src
------ ...
------ main.py
-- .gitignore
-- README.md
-- requirements.txt
Activate the virtual environment with
source env/bin/activate
.
Download the requirements withpip
(see the Requirements section).
Then runpython3 ./src/main.py
.
Once done, you can leave the virtual environment withdeactivate
.
The requirements can be found in here. You can download them with pip using python3 -m pip install -r requirements.txt
.
I recommend using at least python 3.10
, as match case
is needed (otherwise you will need to change all the match
structures to traditional if
statements).
- Text input for search
- Link the wikipedia search function to the search button
- Get the wikipedia search result and display it
- Better process search
- Option to favorite results
- Clickable bookmarks that act as a link to search
- Option to save results locally
- Language selection