Skip to main content

A simple URL Shortener

Project description

2015-10-09: Broke compatibility with all Python versions except of 2.7

v0.0.21

A simple favourites / URL shortening app in Python. Work in progress. The idea is to have a simple, working web application linked with a set of tools - which could be used in larger projects.

Uses:

  • Bottle (microframework), Skeleton

  • PostgreSQL with SQLAlchemy (ORM), fallback to SQLite

  • cookiecutter-bottle template, bumpversion, vendor, crashreporter

  • playing with testing, using unittest, nosetests, tox, behave, WebTest

Works with Travis CI, successfull builds are deployed to Heroku: http://fathomless-everglades-8154.herokuapp.com/

At some moment it will work with Openshift as well.

Quickstart

Running in development mode (prepare virtual environment and run the app inside):

devinit.sh
devrun.sh

I am struggling a bit with releasing to PyPi, it will work soon.

# no uncommited changes at this point
devucl.sh
bumpversion --allow-dirty patch
git add .
git commit -m "Bump version: x.x.x → y.y.y"
git tag vy.y.y
git push
git push --tags
# .pypirc must be prepared, see http://peterdowns.com/posts/first-time-with-pypi.html
# python setup.py register -r pypitest
# python setup.py sdist upload -r pypitest
# python setup.py register -r pypi
# python setup.py sdist upload -r pypi
# python setup.py sdist bdist_wheel upload
https://travis-ci.org/BartGo/bottle-cuturl.svg?branch=master https://semaphoreci.com/api/v1/projects/82f94cd9-6144-4e99-966e-649ca567a603/531764/badge.svg Codeship Status Drone.IO Status Requirements Status Code Issues PyPI Bitdeli badge

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

Bottle-Cuturl-0.0.21.zip (52.2 kB view details)

Uploaded Source

File details

Details for the file Bottle-Cuturl-0.0.21.zip.

File metadata

  • Download URL: Bottle-Cuturl-0.0.21.zip
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Bottle-Cuturl-0.0.21.zip
Algorithm Hash digest
SHA256 5d34a206a17e711ebe70bcdfd367b1a71afbc4b3d35438d656801225108b5f80
MD5 315d0e1e063e1be00af153798f31b1c5
BLAKE2b-256 031768a534c31d68a80e57cb32f6eea6ca81080bd15ceb76dc473acb7070ee8f

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