###V0.1
- Repo initialized
It's just a simple multiple URL shortener built on top of FlaskEngine and Google App Engine.
The code is really easy to read. The main challenge i've found building it was to implement a distributed "autoincrement" subsystem.
You may want to take a look at it. It's located at: /libs/url_shortener/ShardGenerator.py
git clone https://github.com/zachwill/flask-engine.git <your_app_name_here>
dev_appserver.py .
appcfg.py update .
Tests are written using GAE v1.4.3's testbed
functionality. Currently, there
is a known bug for users without PIL
installed.
python test.py
python appengine_console.py multbe
- Improve names (i know ShardGenerator is not a good name at all!)
- Check concurrency safety in ShardGenerator
- Indexes
- add more tests
- add pep8.py to libs
- create PEP8 TestCase, too
Author: Santiago Basulto
The code is released under the GPLv2 license for personal use only.
It can't be used for commercial use. i.e: If you make money with it. Why? Becouse it's for learning purposes.