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
\_______________________________/
_-_ | /
/_ \ |/
(o)(o)
| | |
| \/ /
\ |
¯--¯
>>>
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 bad_import.py
Traceback (most recent call last):
File "~/.local/bin/coding-assistant", line 8, in <module>
sys.exit(cli())
File "~/.local/lib/python3.9/site-packages/coding_assistant/cli.py", line 23, in cli
exec(f.read(), {
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'nonexistant_module'
\_______________________________________________________/
_-_ | /
/_ \ |/
(o)(o)
| | |
| \/ /
\ |
¯--¯
$
How to install?
python3 -m pip install coding-assistant
Q&A
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
tryexceptblocks?
No it only changes the way exceptions are printed not the actual exception.
Is this code "production ready"?
Don't.
Will you get sued by Microsoft?
Hopefully my ascii art is ugly enough that I can claim it's an original character.
Metadata
Release files for coding-assistant 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| coding-assistant-0.1.0.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coding_assistant-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / coding-assistant-0.1.0.tar.gz
| Download URL | coding-assistant-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e6cb93ca0dd4fe0f95271921112e4ec9c28156d9cdc9c93ea4670c3710fbc3f
|
|
BLAKE2b-256 checksum How to use checksums |
bb34eceedf14e7a57cea6a6f28f5884066e3d5b655e54c8a8be0e403aee87e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / coding_assistant-0.1.0-py3-none-any.whl
| Download URL | coding_assistant-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb5ca4becdf0b23a672fe6a7522af0037dc2e9c27c1f484ddddf093ab317d61d
|
|
BLAKE2b-256 checksum How to use checksums |
0b00196e8083818d4878c77ba9d4a627de6e37341389d3e5c5883183cdda0d3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for coding-assistant 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.