Skip to main content

Recreate the joys of Office Assistant from the comfort of the Python interpreter

Project description

Coding Assistant 📎

Recreate the joys of Office Assistant from the comfort of the Python interpreter.

How to use?

>>> import coding_assistant
>>> # nothing more is needed
>>> 3 / 0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: division by zero
 _-_  | /
/_  \ |/
| | |
| \/ /
\    |

You can also invoke coding assistant as a python wrapper so that even errors happening in the compile phase (ie bad imports and the likes) will be handeled by coding assistant.

$ coding-assistant
Traceback (most recent call last):
  File "~/.local/bin/coding-assistant", line 8, in <module>
  File "~/.local/lib/python3.9/site-packages/coding_assistant/", line 23, in cli
    exec(, {
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'nonexistant_module'
 _-_  | /
/_  \ |/
| | |
| \/ /
\    |

How to install?

python3 -m pip install coding-assistant


Is it possible to have other, maybe custom, assistants?

Not at the moment but if you can draw ascii art please submit a PR.

Will this package break try except blocks?

No it only changes the way exceptions are printed not the actual exception.

Is this code "production ready"?


Will you get sued by Microsoft?

Hopefully my ascii art is ugly enough that I can claim it's an original character.

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

coding-assistant-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

coding_assistant-0.1.0-py3-none-any.whl (4.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page