Colab URL Generator from Code
Project description
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>'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colaburl-0.1.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file colaburl-0.1.0.tar.gz
.
File metadata
- Download URL: colaburl-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ee194a53b07feab87d57bed2bb96d3c410d50c952211de63b134cd5edc7794 |
|
MD5 | ab633b0cf1012acef7da454dd5dc615d |
|
BLAKE2b-256 | 9269aa527ab1873bab00ea0ff1a1da9ca785ebbeaec763e1b6c4066932bce843 |
File details
Details for the file colaburl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: colaburl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf69c89e76f0195b0336384c5a725bcee90e699182c4f69b30c370a4ac45f6c |
|
MD5 | 936589f12d9c2f728f40033d22491277 |
|
BLAKE2b-256 | 09e01e0986ad1915d598c282092d72be6d0fc3183a18bb095b6bfa0487d074c8 |