forked from bzed/go.debian.net
Home
Harsh Daftary edited this page Aug 21, 2016
·
5 revisions
Project :
go.debian.net and Deb.li
Developers :
Language and Frameworks :
Python, Flask and Jinja2
Additional Libraries :
- Flask
- sqlalchemy
- memcache
- requests
- psycopg2
- ipy
Directory Structure :
- web/static/ - static css, png and ico files used in HTML pages
- web/templates/ - jinja2 HTML templates used for rendering
- web/init.py - Flask based URL handeling, Templating and JSONmethods
- web/jsonrpc.py - lightweight procedure control protocol*
- cache.py -> Memcache options
- config.py -> Global level configuration details of Flask, Memcache, Database(postgresql) and URLencoding
- db.py -> SQLalchemy Models for Original URL and metadata associated, wrapper funcs to perform DB activity
- manage.py -> Top level functions like add_url, add_static_url, update_static_url, get_url and count
- urlencoder.py -> URL encoding, character escaping etc