Skip to main content

ColabURL

Colab URL Generator from Code

Install:

pip install colaburl

Usage:

>>> import colaburl
>>> colaburl.code_url('''
... import my_module
... my_module.something()
... ''')
'https://colaburl.uk/aW1wb3J0IG15X21vZHVsZQpteV9tb2R1bGUuc29tZXRoaW5nKCk=.b64'
>>> colaburl.code_html('''
... import my_module
... my_module.something()
... ''')
'<a href="https://colaburl.uk/aW1wb3J0IG15X21vZHVsZQpteV9tb2R1bGUuc29tZXRoaW5nKCk=.b64" rel="nofollow" target="_blank" class="colaburl"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" style="margin: 0; display: inline-block;" /></a>'

Metadata

Release files for colaburl 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 colaburl 0.1.0
File Size Uploaded
colaburl-0.1.0.tar.gz 4.8 kB Details

Built distribution (wheel)

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

Total release size: 10.2 kB

Release files / colaburl-0.1.0.tar.gz

Download URL colaburl-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
40ee194a53b07feab87d57bed2bb96d3c410d50c952211de63b134cd5edc7794
BLAKE2b-256 checksum
How to use checksums
9269aa527ab1873bab00ea0ff1a1da9ca785ebbeaec763e1b6c4066932bce843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

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

Download URL colaburl-0.1.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf69c89e76f0195b0336384c5a725bcee90e699182c4f69b30c370a4ac45f6c
BLAKE2b-256 checksum
How to use checksums
09e01e0986ad1915d598c282092d72be6d0fc3183a18bb095b6bfa0487d074c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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