Skip to main content

#linking

Badge

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

Code https://github.com/w95/linking
Issue tracker https://github.com/w95/linking/issues
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 tesla.com, ...')
# -> 'some text <a href="http://tesla.com">tesla.com</a>, ...'

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

linking.text('elon@tesla.com')
# -> '<a href="mailto:elon@tesla.com">elon@tesla.com</a>'

Metadata

Release files for linking 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linking 0.0.4
File Size Uploaded Provenance Actions
linking-0.0.4.tar.gz 10.4 kB Without provenance Details for linking-0.0.4.tar.gz

Release files / linking-0.0.4.tar.gz

Download URL linking-0.0.4.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43c422fc58b995a78ec4ff9bb05ebc31743b51a30cf6e85afa25bd690a701ef5
BLAKE2b-256 checksum
How to use checksums
dcd38470eee7ae966af684ea050fca39402516ba28b0fd68babb948301cb61fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Security for linking 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file No provenance

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