Skip to main content

SHRT - Shortened URL service

An MVP to serve shortened URLs

Usage

Serve using uvicorn by running

uvicorn --host=0.0.0.0 shrt.web:app

Manage URLs from the CLI

# List URLs
shrt url list
# Create a random short path
shrt url add https://x59.us
# Create a custom short path
shrt url add https://x59.co --path x59
# Create a new short path, even if the target exists in the DB
shrt url add https://x59.co --create-new
# Get details for a given short path
shrt url get x59
# Delete a given short path
shrt url delete x59

Metadata

Release files for shrt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shrt 0.3.0
File Size Uploaded Provenance
shrt-0.3.0.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for shrt 0.3.0
File Interpreter ABI Platform
shrt-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / shrt-0.3.0.tar.gz

Download URL shrt-0.3.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
21b7883d9b7b4dbbaff4635cddc58c20aefc5e4f2588be3ea77c29e013ab9cc1
BLAKE2b-256 checksum
How to use checksums
096197997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+

Release files / shrt-0.3.0-py3-none-any.whl

Download URL shrt-0.3.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef7eb953c6c85f9a05f692f376155cdd38f8ec5f6d18464a6490ef659153958b
BLAKE2b-256 checksum
How to use checksums
0fd0a0b7072c26f8ee2f93c5c1cd7b6c708106829f2bc47b8ef70642b14e7c7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+

Security for shrt 0.3.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.

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