colaburl


Namecolaburl JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/seanmacavaney/colaburl
SummaryColab URL Generator from Code
upload_time2024-09-04 12:49:58
maintainerNone
docs_urlNone
authorSean MacAvaney
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## ColabURL

Colab URL Generator from Code

**Install:**

```bash
pip install colaburl
```

**Usage:**

```python
>>> 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>'
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/seanmacavaney/colaburl",
    "name": "colaburl",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "Sean MacAvaney",
    "author_email": "sean.macavaney@glasgow.ac.uk",
    "download_url": "https://files.pythonhosted.org/packages/92/69/aa527ab1873bab00ea0ff1a1da9ca785ebbeaec763e1b6c4066932bce843/colaburl-0.1.0.tar.gz",
    "platform": null,
    "description": "## ColabURL\n\nColab URL Generator from Code\n\n**Install:**\n\n```bash\npip install colaburl\n```\n\n**Usage:**\n\n```python\n>>> import colaburl\n>>> colaburl.code_url('''\n... import my_module\n... my_module.something()\n... ''')\n'https://colaburl.uk/aW1wb3J0IG15X21vZHVsZQpteV9tb2R1bGUuc29tZXRoaW5nKCk=.b64'\n>>> colaburl.code_html('''\n... import my_module\n... my_module.something()\n... ''')\n'<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>'\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Colab URL Generator from Code",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/seanmacavaney/colaburl"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09e01e0986ad1915d598c282092d72be6d0fc3183a18bb095b6bfa0487d074c8",
                "md5": "936589f12d9c2f728f40033d22491277",
                "sha256": "9bf69c89e76f0195b0336384c5a725bcee90e699182c4f69b30c370a4ac45f6c"
            },
            "downloads": -1,
            "filename": "colaburl-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "936589f12d9c2f728f40033d22491277",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5412,
            "upload_time": "2024-09-04T12:49:57",
            "upload_time_iso_8601": "2024-09-04T12:49:57.434718Z",
            "url": "https://files.pythonhosted.org/packages/09/e0/1e0986ad1915d598c282092d72be6d0fc3183a18bb095b6bfa0487d074c8/colaburl-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9269aa527ab1873bab00ea0ff1a1da9ca785ebbeaec763e1b6c4066932bce843",
                "md5": "ab633b0cf1012acef7da454dd5dc615d",
                "sha256": "40ee194a53b07feab87d57bed2bb96d3c410d50c952211de63b134cd5edc7794"
            },
            "downloads": -1,
            "filename": "colaburl-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ab633b0cf1012acef7da454dd5dc615d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4763,
            "upload_time": "2024-09-04T12:49:58",
            "upload_time_iso_8601": "2024-09-04T12:49:58.661753Z",
            "url": "https://files.pythonhosted.org/packages/92/69/aa527ab1873bab00ea0ff1a1da9ca785ebbeaec763e1b6c4066932bce843/colaburl-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-04 12:49:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "seanmacavaney",
    "github_project": "colaburl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "colaburl"
}
        
Elapsed time: 0.29168s