Let your CLI find available solutions for errors / exceptions online on commands you hit, for you, no need open a Browser. and find something yourself
Project description
Ziim
Never open a Browser-tab again, copy/Paste your error/Exception to find available solutions online randomly!
Ziim will handle everything for you, directly in the CLI after catching an error!
AMAZING RIGHT ?
How it's works
Theese are steps :
- Ziim get your error and ask you, where you want to find solution
- You just need to enter number corresponding the forum you want to fetch answers
- That's all, Ziim will provide you the available questions matching your error, give you the answers, votes,...
YOU GET IT ?\
No need to:
copy the Exception
,Minimize your terminal
,Open the browser
,Paste it on google or any searchEngine
,Open multiple tabs per result
,fetching where the solution of your problem could be
...
Handled Forums
For Now, Ziim can find on:
- [Done] StackOverflow
- [Done] StackExchange
- [Done] Codeproject
- [Done] CodeRanch
- [Done] SitePoint
- [Done] Quora
- [Done] Reddit
You will have the available list in ./parser.json
Requirements
- Python (3.x is recommended)
- requests
- lxml
How to use it
Let's see some examples on how to use it :
In your code
Make sure you have installed all requirements in ./python/requirements.txt, by running :
pip install -r requirements.txt
In the code :
# You import first Ziim Class and instantiate it
import Ziim as Ziim
ziim = Ziim.Ziim() # search_level is not required and as default it's 0
try:
# Your code here
test = 12/0 # This will throws an error
except Exception as es:
# Then call ziim here
ziim.go(es)
# That's all !
Run in the cli :
python3 -m src.example
As a CLI
Just hit this sample command :
# Then hit:
zm node ./example.js
The command node ./example.js
will be executed and the error will be taken to ziim, with this method you can start any kind of process in CLI and use ziimcli to fetch solutions.
Author
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 Ziim.0.0.2-0.0.2.tar.gz
.
File metadata
- Download URL: Ziim.0.0.2-0.0.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7577de8f07da0c68fe69d0ff123c6d84d5cd971a747e2a2b86e88c8010c665c |
|
MD5 | e404c41bec0d8bb7463ba8acc541e83b |
|
BLAKE2b-256 | b08cec79f6d6c2043e14e3139057fed7ee0c3d55a6567d7e7682cb70c07debe8 |
File details
Details for the file Ziim.0.0.2-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: Ziim.0.0.2-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeaaed8b7acdb0f92e3ac3fdf576edd896c32757637dc44289afe6333297498b |
|
MD5 | 0ac3d5629a349b0ef83dd92e34dc2f36 |
|
BLAKE2b-256 | 03fb8db8ab0f4236592348b2daabe46bf5228fde9bba95079d19dd29831566a0 |