quecto-py
Quecto-py is a simple and official wrapper of Quecto, an open-source and self-hostable solution for link shortening.
Installation
pip install quecto
Usage
Shorten a link
from quecto import Quecto
client = Quecto("https://s.oriondev.fr")
r = client.shortUrl("https://example.com", "password") # password is optional
print(r) # https://s.oriondev.fr/s/189d28e9b9ae6
Unshorten a link
from quecto import Quecto
client = Quecto("https://s.oriondev.fr")
r = client.unshortUrl("https://s.oriondev.fr/s/189d28e9b9ae6", "password") # password is optional
print(r) # https://example.com
Check if the domain is a valid Quecto instance
from quecto import Quecto
client = Quecto("https://s.oriondev.fr")
r = client.isValidInstance()
print(r) # True
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for quecto 1.0.3
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 |
|---|---|---|---|---|
| quecto-1.0.3.tar.gz | 39.5 kB | Without provenance | Details for quecto-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quecto-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for quecto-1.0.3-py3-none-any.whl |
Total release size: 66.9 kB
Release files / quecto-1.0.3.tar.gz
| Download URL | quecto-1.0.3.tar.gz |
|---|---|
| Size | 39.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96aad1c48562798e204414fefcbfd131ba3f94b790ea04fec8c3d1c7d9222f80
|
|
BLAKE2b-256 checksum How to use checksums |
590d86737bdddeda3c3a8946e754e2b472f306000c56757b841eece7b1eaac65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / quecto-1.0.3-py3-none-any.whl
| Download URL | quecto-1.0.3-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51972c5a306bebf3a6c03793ce290f412f951e37fad5a9c0040dd1236ecee855
|
|
BLAKE2b-256 checksum How to use checksums |
820f8e92abf944c72b3edb2687822a24d94bdfed29278d23c9b4c1d3fc9a8189
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for quecto 1.0.3
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.