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.

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.0.tar.gz (11.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for autostack-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a37200737aa32cc05aaeb0f49caeb18da4eaf53a286fbbff522f932f87d99846
MD5 0a0ebbb1dc13b85e447204b47459b4e9
BLAKE2b-256 dcdf907918b932af5394f3800d8d61f82c21427acae716bc27b375f8a9f7bdbb

See more details on using hashes here.

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