wik is used to get information about anything on the shell using Wikipedia
Project description
WIK
wik is a tool to view wikipedia pages from your terminal. It also let you search for any wikipedia up to date article on one query from your terminal.
[Installation] [Options] [Examples] [Contribution]
Requirements
- Python3
- beautifulsoup4
Installation
Linux
From Source
sudo pip3 install beautifulsoup4 flit_core
git clone https://github.com/yashsinghcodes/wik.git
cd wik
sudo pip3 install .
PYPI
sudo pip3 install wik
Windows
From Source
pip install beautifulsoup4 flit_core
git clone https://github.com/yashsinghcodes/wik.git
cd wik
pip install .
Note: Windows users should have added python to there environment variable
PYPI
pip install wik
Options
Using wik is acutally really simple.
usage: wik [-h] [-s SEARCH] [-i INFO] [-q QUICK] [-l LANG] [-x]
optional arguments:
-h, --help show this help message and exit
-s SEARCH, --search SEARCH
Search any topic
-i INFO, --info INFO Get info on any topic
-q QUICK, --quick QUICK
Get the summary on any topic
-l LANG, --lang LANG Get info in your native language (default english)
-x, --rand Get random Wikipedia article
Example
$ wik -i Linux
$ wik -q Linux
$ wik -i Linux -l br
Contribution
You can contribute to the project by opening a issue if you face any or making a pull requests, if you think you can fix somthing or make improvment on the code. If you have some ideas related to the project you can contact me.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wik-1.4.0.tar.gz
.
File metadata
- Download URL: wik-1.4.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820adc4d5a938ba8424f4f7929d8b9a1ef0853c493f6c60dbcfed3e4f84e65bf |
|
MD5 | 4ce492ab5badc5430729f6e77ce37415 |
|
BLAKE2b-256 | fa8e4b1a57145fb201b20fe379ad120306a6a1e51893b8553a433e21449c3821 |
File details
Details for the file wik-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: wik-1.4.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e77d056bc60dd508979419412d822ad129309bd6f56de5a2d03bbff02647483 |
|
MD5 | a433f70cc34b68e30d95efe3fbed757e |
|
BLAKE2b-256 | edac5277b1264749ea909b40692569650be5dbf4fb5da0b055f7b4348d3a5214 |