[requires.io] dependency update on master branch
|2 years ago|
|.github/workflows||3 years ago|
|docs||3 years ago|
|src/hyperlink||3 years ago|
|.appveyor.yml||3 years ago|
|.coveragerc||3 years ago|
|.gitignore||4 years ago|
|CHANGELOG.md||3 years ago|
|LICENSE||4 years ago|
|MANIFEST.in||4 years ago|
|README.md||3 years ago|
|TODO.md||4 years ago|
|pyproject.toml||4 years ago|
|setup.cfg||7 years ago|
|setup.py||3 years ago|
|tox.ini||2 years ago|
Cool URLs that don't change.
Hyperlink is tested against Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, and PyPy.
Full documentation is available on Read the Docs.
Hyperlink is a pure-Python package and requires nothing but Python. The easiest way to install is with pip:
pip install hyperlink
Then, hyperlink away!
from hyperlink import URL url = URL.from_text(u'http://github.com/python-hyper/hyperlink?utm_source=README') utm_source = url.get(u'utm_source') better_url = url.replace(scheme=u'https', port=443) org_url = better_url.click(u'.')
See the full API docs on Read the Docs.
Hyperlink would not have been possible without the help of Glyph Lefkowitz and many other community members, especially considering that it started as an extract from the Twisted networking library. Thanks to them, Hyperlink's URL has been production-grade for well over a decade.
Still, should you encounter any issues, do file an issue, or submit a pull request.