Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 `

Release History

This version
History Node

0.1.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
py3shorturl-0.1.0.tar.gz
(1.8 kB) Copy SHA256 Hash SHA256
Source None Sep 22, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting