Skip to main content

Automatically detect python errors and search Stack Overflow.

Project description

Logo

Build status Code coverage Maintainability GitHub commit activity PyPI - Downloads PyPI License Chat Follow on Twitter Support on Patreon Logo designer's instagram

autostack is a command-line debugging tool for Python projects that automatically displays Stack Overflow answers for thrown errors.

What is the first thing you do when a confusing error message is displayed in your terminal window? You search for an answer on Stack Overflow, of course! With autostack, you no longer have to search for answers on Stack Overflow, they are found for you. Gone are the days of scouring the internet for hours to find an answer to your development questions! autostack is here to automate the debugging process and in turn, expedite Python project development.

Table of Contents

Installation

1. Clone the repo and use the install script.

Clone the repo.

git clone https://github.com/autostack-team/autostack.git

Navigate to the project directory, and run the install bash script.

cd /path/to/project/
chmod +x install.sh
./install.sh 

2. Or just use pip to install.

pip3 install autostack

Usage

In one terminal window, execute "autostack capture" which will capture all errors in the terminal. You can run this command in as many terminal windows as you'd like.

autostack capture

In another terminal window, execute "autostack display" to display Stack Overflow posts for all captured errors.

autostack display

To stop running autostack, use the exit command in the terminals that executed "autostack capture". This automatically stops the terminal window displaying Stack Overflow posts for captured errors.

exit

Demo

Checkout the demo below!

Demo

Contributing

For information on how to get started contributing to autostack, see the contributing guidlines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Show your support

Give a ⭐️ if autostack has helped you!

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autostack-1.2.1.tar.gz (11.3 kB view details)

Uploaded Source

File details

Details for the file autostack-1.2.1.tar.gz.

File metadata

  • Download URL: autostack-1.2.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for autostack-1.2.1.tar.gz
Algorithm Hash digest
SHA256 bce703696cdc61c1453a51f9f4228a1e87451a96a3955446bb73c4b0c0b7851d
MD5 2486cf39816e7da3da28db82b1bbfc83
BLAKE2b-256 a8baaaf0f9a707ba2a832dd128cbdd094afcdd4002d3edcae898a5a96e9431f0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page