Thebe (WIP)
Thebe is a python command line app. Its purpose is to let you run your code in cells like Jupyter but while using any editor. It does this by watching the cells for changes, and running them if it sees one.
- So far it only is tested to run on Mac and Ubuntu
- It probably has a metric dump truck full of bugs
- And it only works with matplotlib graphs
Installation
Dependencies:
Install pandoc:
on Mac via brew:
brew install pandoc
for linux see pandoc.org
Install ipykernel:
python3 -m pip install ipykernel
python3 -m ipykernel install --user
Install thebe
Run: pip install thebe
How to use
Run:
thebe (File you want to run) (Port you want to display on)
To utilize cells encapsulate your code blocks in: $$$$.
e.g.:
$$$$
from random import random
import numpy as np
import matplotlib.pyplot as plt
print(random())
$$$$
plt.plot(np.sin(np.arange(10)))
print(random())
$$$$
print(random())
$$$$
In your browser of choice go to localhost:(Port number) to look at your standard outputs, errors, and plots.
This program is still pretty early on so there's likely a lot of bugs.
Metadata
Release files for thebe 0.0.4.6
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 | Actions |
|---|---|---|---|---|
| thebe-0.0.4.6.tar.gz | 10.3 MB | Without provenance | Details for thebe-0.0.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thebe-0.0.4.6-py3-none-any.whl | Python 3 | none | any | Details for thebe-0.0.4.6-py3-none-any.whl |
Total release size: 20.7 MB
Release files / thebe-0.0.4.6.tar.gz
| Download URL | thebe-0.0.4.6.tar.gz |
|---|---|
| Size | 10.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63ed74978f24adc5acc8d48a87fb66f156f0f3c8ed5c2590461e8aa128789d40
|
|
BLAKE2b-256 checksum How to use checksums |
174520c5053dcbef334296196942abf9e498c80c22bd9cabb562d09f17b593da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / thebe-0.0.4.6-py3-none-any.whl
| Download URL | thebe-0.0.4.6-py3-none-any.whl |
|---|---|
| Size | 10.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75347359789b197421939df32216613e7250137f11957e5ccbfdbd11ee983d05
|
|
BLAKE2b-256 checksum How to use checksums |
0438fb05b82335090a3e52557802b6084e6bac9cd91d351af6ac5099d55c165b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for thebe 0.0.4.6
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.