Resolve-IT

A CLI tool that fetches Stack Overflow results when an exception is thrown.


Keywords
stackoverflow, python3, exceptions, command-line-tool, exception-handler, exception-handling, contextmanager
License
MIT
Install
pip install Resolve-IT==1.5.0

Documentation

Resolve-IT

Resolve-IT is a command line tool that fetches Stack Overflow results when an exception is thrown or when a query is made. Run your python file with resolveit and see the results.

GitHub Actions build status Code style: black Checked with mypy Imports: isort License

resolveit


How to use it?

That's pretty easy. Follow the following setup steps:

You can install this tool in either of the following ways:

virtualenv venv
source venv/bin/activate
pip install Resolve-IT

or

git clone https://github.com/akshatdalton/Resolve-IT.git
virtualenv venv
source venv/bin/activate
python3 setup.py install

Once you have run all the commands and results are fine, we are all set to run the tool:

(venv) $ resolveit -f <your_file_name>

Other usage

  1. You can use this tool to search results for query from Stack Overflow:

    (venv) $ resolveit -q "difference between json.dump and json.dumps"
    
  2. Want to debug specific functions or part of the code? Run this package as context manager:

    • As function decorator:

      from resolveit import debug
      
      @debug
      def foo():
        # Here goes the code ...
    • As with statement:

        from resolveit import ResolveIT
      
        with ResolveIT():
            # Here goes the code ...