Skip to main content

Linkify plain text, convert URLs and emails

Project description



linking is easy to use linkifier that converts URLs and emails to HTML hyperlinks

Issue tracker
License MIT License; see LICENSE file

###Installing linking

linking is available on PyPI, so you can install it with pip::

$ pip install linking

###Basic use

The simplest way to use linking is:

import linking

linking.text('some text, ...')
# -> 'some text <a href=""></a>, ...'

linking.text('', {'rel': 'nofollow'})
# -> '<a href="" rel="nofollow"></a>'

# -> '<a href=""></a>'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linking-0.0.4.tar.gz (10.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page