Metadata-Version: 2.5
Name: thepythonbook
Version: 0.1.0
Summary: Turn a Python file into a link that opens and runs it in the browser at pythoncompiler.io.
Project-URL: Homepage, https://pythoncompiler.io/
Author: Selva Prabhakaran
License-Expression: MIT
License-File: LICENSE
Keywords: education,online compiler,python,share code
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Education
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# thepythonbook

Turn a Python file into a link. Anyone who opens the link gets the code in the online editor at [pythoncompiler.io](https://pythoncompiler.io/), where it runs in their browser with nothing to install.

```
pip install thepythonbook
python -m thepythonbook hello.py
```

From Python, including a notebook:

```python
import thepythonbook as tb

print(tb.link("print('Hello')"))
```

The code travels inside the link, so nothing is uploaded. Very long programs make links too long to open: over 8,000 characters raises an error.
