too-short-url
shorturl based on too.st
Install it
pip install too-short-url
# or pip install git+https://github.com/ffreemt/too-short-url
# or clone the repo and
Use it
Command line
too-st http://baid.com
# too.st/b
With in python
from too_short_url import too_st
print(too_st("http://baidu.com"))
# too.st/b
Docs
too-st --help
Usage: too-st [OPTIONS] URL
Generate too.st short url.
e.g.
* too-st baidu.com # https://too.st/b
* too-st baidu.com -k abc # https://too.st/b
* too-st baidu.com -k abc -b # https://too.st/abc or https://too.st/b
dependent on whether https://too.st/abc is already taken or reserved by th
admin of too.st.
Arguments:
URL url to be shortened [required]
Options:
-k, --keyword, --kw KEYWORD desired keyword, e.g. https://too.st/abc for
KEYWORD set to abc
-b, --best-effort, --besteffort
whether to try hard to generaet the desired
shorturl https://too.st/KEYWORD
-v, -V, --version Show version info and exit.
--help Show this message and exit.
Metadata
Release files for too-short-url 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| too-short-url-0.1.0.tar.gz | 5.1 kB | Without provenance | Details for too-short-url-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| too_short_url-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for too_short_url-0.1.0-py3-none-any.whl |
Total release size: 10.8 kB
Release files / too-short-url-0.1.0.tar.gz
| Download URL | too-short-url-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebeea3fc5ea8acd91daa06834fc2350074e90e9a13d0470dd6147d27099856e5
|
|
BLAKE2b-256 checksum How to use checksums |
7d1045749476da522c0e55bcbf675e7e649463792a81f0d359df52a58376fc36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.5 Windows/10
|
Release files / too_short_url-0.1.0-py3-none-any.whl
| Download URL | too_short_url-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d367c3e4f96545bb8183d0085323edc182361cf1f06289a305bfc457be79b176
|
|
BLAKE2b-256 checksum How to use checksums |
e499f4ff04dd9054fa1f8a18cac6b110a6bcbff0dae251423c4762e964868ddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.5 Windows/10
|
Security for too-short-url 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.