Skip to main content

thepythonbook

Turn a Python file into a link. Anyone who opens the link gets the code in the online editor at 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:

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.

Metadata

Release files for thepythonbook 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thepythonbook 0.1.0
File Size Uploaded Provenance Actions
thepythonbook-0.1.0.tar.gz 3.5 kB Without provenance Details for thepythonbook-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thepythonbook 0.1.0
File Interpreter ABI Platform Actions
thepythonbook-0.1.0-py3-none-any.whl Python 3 none any Details for thepythonbook-0.1.0-py3-none-any.whl

Total release size: 7.7 kB

Release files / thepythonbook-0.1.0.tar.gz

Download URL thepythonbook-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
898e53aff391365bbbbe8882a06c161349f95fdae287fecefd6437a12c3efd3e
BLAKE2b-256 checksum
How to use checksums
e8e3fde9548288e250a04a6add951ca0dae71683585562ad8bf8229ee2b848ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / thepythonbook-0.1.0-py3-none-any.whl

Download URL thepythonbook-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c70e16d3f9efc8a5832d4dd12f8804e406855a86c2987a395b73000d636cc967
BLAKE2b-256 checksum
How to use checksums
7b7eaff2cccc314cec0c16e44f1b3b6f9d7e1f059e3adedac9c51bc3c2aa604d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for thepythonbook 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page