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)
| File | Size | Uploaded | |
|---|---|---|---|
| yourls-1.1.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 |