This release is a pre-release and may not be stable for production use.
This is a python package for t.ly url shortener service. Developed by Priom Deb with supports from t.ly team.
Acknowledgement
Thank you t.ly for giving me the opportunity to make this python wrapper/library for t.ly url shortener service. I would like to give a special thank you to Tim Leland from t.ly to cooperate and help me for this project. This is a great honour for me to make this package for t.ly url shortener service.
Install the package
pip install tdotly
tdotly 1.0a1.dev1
This is a developmental release of an alpha release. You can try it now. The package has built-in documentation of all its methods. Visit GitHub project page for more information.
Documentation
from tdotly import tly
# Create an instance
short = tly.tly_shorturl()
# Initialize with your API token from t.ly account
short.initialize(user_api_token)
| Methods | Description |
|---|---|
| short.create_short_url("https://example.com") | Create a short url for a long url |
| short.short_url_stats(short_url="https://t.ly/xxxx") | Get the stats for the short url |
| short.get_short_url_info(user_short_url) | Get information of your short url |
| short.edit_url_settings(**kwargs) | Update/Edit some settings of your short url |
| short.delete_short_url("t.ly/xxxx") | Delete your short url |
| short.expand("https://t.ly/xxxx") | Expand your short url to see the original long url and the expired status of short url |
More documentation will updated soon.
For any help contact the the package developer Priom Deb or the t.ly Support.
Metadata
Release files for tdotly 1.0a1.dev3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tdotly-1.0a1.dev3.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tdotly-1.0a1.dev3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / tdotly-1.0a1.dev3.tar.gz
| Download URL | tdotly-1.0a1.dev3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1e6cdcde174fbba1c1faef70b5e24e1e0138883d53d5a163e5bda1a41a1f5cc
|
|
BLAKE2b-256 checksum How to use checksums |
374f9dda98000bbcd7850d538d31056ec62f1af027694bd6367f077312790527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / tdotly-1.0a1.dev3-py3-none-any.whl
| Download URL | tdotly-1.0a1.dev3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86ddb51b2971fbf81eb2e410b9d0f576de403b6ef0793f7169ddf386515010c5
|
|
BLAKE2b-256 checksum How to use checksums |
ba53179800ba64f8546e89eb888c536ca25306856c1a9dd0922306be98882452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|