Skip to main content

pymg is a CLI tool that can interpret Python files and display errors in a more optimized and more readable way.

Project description

img1

Table of Contents:

What exactlry is pymg?

pymg is a CLI tool that can interpret Python files and display errors in a more optimized and more readable way.

This tool interprets the selected Python file using the Python interpreter that is already installed on the system, and in case of errors, it displays the errors in separate, diverse and more readable forms.

The zen of pymg

In the beginning, pymg was created to make the debugging process easier for blind people.

If you've ever run a Python file and see the error message that Python produces, you'll notice that it's full of jumbled texts. Since the debugging is one of the main tasks of a programmer, surely the debugging process becomes difficult with these confusing texts.

Now imagine how difficult it is for blind people! (Yes there are many blind developers out there)

The philosophy of pymg is to simplify, make more readable, organized and separate error messages that the Python interpreter produces.

Surely people who are sighted can use this tool to debug their projects and even develop pymg and provide better and more tools for people who have more specific needs.

How does pymg work?

img1

How to install?

Note that the Python version on your system must be 3.11 or higher to be able to run pymg. (In the latest version of Python, more accurate and better error messages are generated)

Click here to download the latest version of Python.

You can easily use pip to install pymg:

python3 -m pip install pymg

How to use pymg?

After you have successfully installed pymg, just run it with the pymg command like this:

pymg my_python_file.py

The file is executed with the Python interpreter and if an error occurs, pymg displays the errors, otherwise the program continues to run.

pymg has various options for displaying errors, which you can use the --help option for more guidance:

pymg --help

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

pymg-1.0.0.tar.gz (20.7 kB view hashes)

Uploaded Source

Built Distribution

pymg-1.0.0-py3-none-any.whl (20.3 kB view hashes)

Uploaded Python 3

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