Convert URL-like and email-like strings into links.
Installation
pip install autolink
Usage
from autolink import linkify
linkify('some text google.com, ...')
# -> 'some text <a href="http://google.com">google.com</a>, ...'
linkify('https://github.com', {'rel': 'nofollow'})
# -> '<a href="https://github.com" rel="nofollow">https://github.com</a>'
linkify('me@ya.ru')
# -> '<a href="mailto:me@ya.ru">me@ya.ru</a>'
Metadata
Release files for autolink 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autolink-0.1.2.tar.gz | 4.5 kB | Details |
Release files / autolink-0.1.2.tar.gz
| Download URL | autolink-0.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42e8573ee2007b0b98b4144b734933ae42321dcf538424f041a08faa751a0a9d
|
|
BLAKE2b-256 checksum How to use checksums |
8fd7b89e1195beabc2d7d0a17c65b0cde6efff1990c2203657454849e0e43f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |