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.2.3

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.2.3
File Size Uploaded
yourls-1.2.3.tar.gz 21.2 kB Details

Built distribution (wheel)

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

Total release size:32.7 kB

Release files / yourls-1.2.3.tar.gz

Download URL yourls-1.2.3.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ec46cd2873f54c2e20976485adc2c5a61f8539eb03627acfbc9d154a6e9803c3
BLAKE2b-256 checksum
How to use checksums
a4c68f8a43d7bedaf7e247dd1a32e6a6297c795cf58dd028654d2d54194be4e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL yourls-1.2.3-py2.py3-none-any.whl
Size 11.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
628dbd622f6a8d7acd1c447db77b46675e0c2b088d9d39088a1b28d66d45eab3
BLAKE2b-256 checksum
How to use checksums
d59ac1950161760c31753d5cf797dfc2053efc3460494a9b1b87cc16f073f51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

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