Skip to main content

Shorten URLs

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shrt-0.3.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

shrt-0.3.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file shrt-0.3.0.tar.gz.

File metadata

  • Download URL: shrt-0.3.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+

File hashes

Hashes for shrt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 21b7883d9b7b4dbbaff4635cddc58c20aefc5e4f2588be3ea77c29e013ab9cc1
MD5 da122d564774afd3b00cc594657cb29a
BLAKE2b-256 096197997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e

See more details on using hashes here.

File details

Details for the file shrt-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: shrt-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+

File hashes

Hashes for shrt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef7eb953c6c85f9a05f692f376155cdd38f8ec5f6d18464a6490ef659153958b
MD5 8bd53e279490a914e560447809938065
BLAKE2b-256 0fd0a0b7072c26f8ee2f93c5c1cd7b6c708106829f2bc47b8ef70642b14e7c7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page