Skip to main content

Simple URL Shortener written in Python 3

Project description

# shorturl Python 3 Flask web application to generate short URLs.

### Requirements

  • Redis server

  • Python 3

requirements.txt:

` Flask==0.10.1 itsdangerous==0.24 Jinja2==2.8 MarkupSafe==0.23 redis==2.10.5 Werkzeug==0.11.3 `

### Installation

Clone this repository into the document root for your virtual host.

Start the script manually or configure your favorite application and web servers to proxy to it.

### Configuration

Simply modify the following values at the top of the script to point to the appropriate location.

` REDISHOST = 'localhost' REDISPORT = '6379' REDISDB = 0 REDISPASSWD = '' SITEURL = 'http://example.com' KEYLENGTH = 8 `

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

py3shorturl-0.1.0.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file py3shorturl-0.1.0.tar.gz.

File metadata

  • Download URL: py3shorturl-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py3shorturl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd101f8d1c4a33474b5666697b6f1bcdecdc613dc9e672fbcf41f65d1647f3e4
MD5 1f4a3a96781af3879df6451c6d6c9ff6
BLAKE2b-256 929f55160f9928719d87ad207923430035c834d7bacfa27bf9548e9a203944cf

See more details on using hashes here.

Supported by

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