iyanuashiri /
meethub
This is a Python/Django based event management system.
Loading repository data…
jlauron / repository
A python/django based combo loader for javascript and css
djamboloader (for django combo loader) is a simple django application used to load and combine a list of javascript or css files from the filesystem for a specific library.
It is very useful for projects containing a lot of javascript or css files where making one single HTTP request that combines all required files at once can improve performance of a web application significantly.
djamboloader is inspired by the combo handler provided by Yahoo! for YUI3 (http://yui.yahooapis.com/combo) and is intended for developers willing to run their own combo handler. It makes it easy to integrate the handler in your existing django web application but can also be run as a standalone handler.
djamboloader is available for use under the MIT software license. See LICENSE file for more details.
To add djamboloader to your django webapp you have to make sure the path
to djamboloader is in your PYTHONPATH, add 'djamboloader' to your django
INSTALLED_APPS and add the following to your django url patterns:
url(r'^djamboloader/', include('djamboloader.urls'))
Feel free to also add a new handler in your django logging configuration
for 'djamboloader'.
For more information on how to setup django, refer to http://www.djangoproject.com
To configure djamboloader, open djamboloader/settings.py and edit the
LIBRARIES definition, for example:
LIBRARIES = {
"yui3": {
"path": "/home/libs/yui3/build/",
},
"yui2in3": {
"path": "/home/libs/yui2in3/dist/2.8.0/build/",
},
"mylib": {
"path": "/home/libs/mylib/build/",
},
}
Alternatively, you could configure djamboloader in Django's settings.py file by using the JAVASCRIPT_LIBRARIES setting. The syntax is the same as for LIBRARIES above.
Djamboloader will try to import from Django's settings.py file first, then it falls back on djamboloader/settings.py.
This option will make it easier to install djamboloader as a package in virtual environment and to easily upgrade to later versions, without having to change anything inside the djamboloader package itself.
Djamboloader supports caching of the JavaScript libraries by using Django's cache framework.
The first step is to make sure you have set up the Django cache as described in the Django documentation.
After that, you can use the cache_for setting to specify how many seconds would you like to cache each library.
Example for a Django settings.py file:
TEN_DAYS = 10 * 24 * 60 * 60
THIRTY_DAYS = 30 * 24 * 60 * 60
JAVASCRIPT_LIBRARIES = {
"yui_3_5_1": {
"path": os.path.join(PROJECT_DIRECTORY, "static/javascript/lib/yui-3.5.1/build/"),
"cache_for": TEN_DAYS,
},
"yui2in3_2_9_0": {
"path": os.path.join(PROJECT_DIRECTORY, "static/javascript/lib/yui-2in3/dist/2.9.0/build/"),
"cache_for": THIRTY_DAYS,
},
}
In the example above YUI 3 will be cached for 10 days, yui2in3 will be cached for 30 days. The cache_for setting is optional, in case you don't use it the libraries won't be cached at all.
Note In case you do cache for a long period, it is probably a good idea to include the version number of the JS library in the URL (as you see above) to make upgrading of libraries easier.
http://yourserver.com/djamboloader/yui3/combo?base/base.js&dom/dom.js&node/node.js... http://yourserver.com/djamboloader/yourlib/combo?pathto/libfile1.js&pathto/libfile2.js...
will return a single response with all requested javascript files combined
Selected from shared topics, language and repository description—not editorial ratings.
iyanuashiri /
This is a Python/Django based event management system.
opensemanticsearch /
Python/Django based webapps and web user interfaces for search, structure (meta data management like thesaurus, ontologies, annotations and named entities) and data import (ETL like text extraction, OCR and crawling filesystems or websites)
shr1911 /
• Proposed system enhances user experience by providing a recommendation in travel domain more specifically for food, hotel and travel places to provide user with various sets of options like time based, nearby places, rating based, user personalized suggestions, etc.M RECOMMENDATION METHODS : • Near-by Recommendation Algorithm - KNN Algorithm • Rating based and Price based Recommendation Algorithm - K-Means algorithm • User personalized recommendation Algorithm - Classification - Decision tree using Gini index • Time based Recommendation Algorithm - Using Data Mining Technology - Python, Django Framework, ML Algorithms, Graphlab Ipython (For Proof of Concept)
micolous /
A Python/Django-based Captive Portal System for LAN Parties. (Linux)
mahmud-sajib /
Classified Ads (Python/Django/JavaScript) is a buy/sell platform with features such as email signup, ad posting with approval, location or category-based browsing, filtering, and direct buyer contact.
urian121 /
Un CRUD fundamental en Django y MySQL permite crear, leer, actualizar y eliminar (CRUD) registros en una base de datos MySQL a través de una aplicación web desarrollada con el framework Django.