Skip to main content

PyPI Version Documentation Travis Coverage Python Version MIT License

Installation

$ pip install yourls

Example

>>> from yourls import YOURLSClient

>>> yourls = YOURLSClient('http://example.com/yourls-api.php', signature='6f344c2a8p')
>>> yourls.shorten('http://google.com')
ShortenedURL(
    shorturl='http://example.com/abcde',
    url='http://google.com',
    title='Google',
    date=datetime.datetime(2015, 10, 31, 14, 31, 4),
    ip='203.0.113.0',
    clicks=0,
    keyword='abcde')

Documentation

For in-depth information, visit the documentation!

Release files for yourls 1.1.1

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

Source distribution (sdist)

Source distribution for yourls 1.1.1
File Size Uploaded
yourls-1.1.1.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yourls 1.1.1
File Interpreter ABI Platform
yourls-1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:26.4 kB

Release files / yourls-1.1.1.tar.gz

Download URL yourls-1.1.1.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a180a3eb3c84490eb1a3e269754aa31de48a98c843257c69100a8d72e685eab7
BLAKE2b-256 checksum
How to use checksums
408deb76c9971ce7b748dc860781ba6d6a84e222016d95cc6db877d396d7864d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / yourls-1.1.1-py2.py3-none-any.whl

Download URL yourls-1.1.1-py2.py3-none-any.whl
Size 15.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a1e3c24680fa250c0146ca7176bcd0dda061dec8309da98772338ba7eb04ce96
BLAKE2b-256 checksum
How to use checksums
498308a9d2e0c1fbca4871a29eb507699033c3db6120c02c4e95830204e0c2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

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