<commit_before>About
=====
Based on: [Dowser](http://www.aminus.net/wiki/Dowser)

Original dowser was wsgi enabled. Unfortunatelly not all django hosting solutions provide wsgi. 
In daily development the most common usage pattern is ./manage.py runserver which defenetly is not wsgi.
That's the story why this fork was created.

In other words the target of this project is to provide easy to use and install django app to debug your memory leaks.

Following enhancements have been implemented on top of original dowser:

- long term analysis, 1m, 1h, 1d, 4w buffers
- optimization by moving from lists to python deque
- server load optimization by moving charts to google chart
- only authenticated superuser can view analysis (django specific)


![Screen shot](https://github.com/munhitsu/django-dowser/raw/master/wiki/screen0.png)



Installation
============
	pip install git+git://github.com/munhitsu/django-dowser.git

Than modify project configuration to add the app:

settings.py
-----------
	INSTALLED_APPS = (
	#...
	    'django_dowser',
	#...
	)

urls.py
-------
	urlpatterns += patterns('',
	    (r'^dowser/', include('django_dowser.urls')),
	)


Example buildout recipe
-----------------------
	[django-dowser]
	location = django-dowser
	recipe = zerokspot.recipe.git<commit_msg>installation change in readme<commit_after>About
=====
Based on: [Dowser](http://www.aminus.net/wiki/Dowser)

Original dowser was wsgi enabled. Unfortunatelly not all django hosting solutions provide wsgi. 
In daily development the most common usage pattern is ./manage.py runserver which defenetly is not wsgi.
That's the story why this fork was created.

In other words the target of this project is to provide easy to use and install django app to debug your memory leaks.

Following enhancements have been implemented on top of original dowser:

- long term analysis, 1m, 1h, 1d, 4w buffers
- optimization by moving from lists to python deque
- server load optimization by moving charts to google chart
- only authenticated superuser can view analysis (django specific)


![Screen shot](https://github.com/munhitsu/django-dowser/raw/master/wiki/screen0.png)



Installation
============
	# latest release
	pip install django-dowser
	# or latest master
	pip install git+git://github.com/munhitsu/django-dowser.git

Than modify project configuration to add the app:

settings.py
-----------
	INSTALLED_APPS = (
	#...
	    'django_dowser',
	#...
	)

urls.py
-------
	urlpatterns += patterns('',
	    (r'^dowser/', include('django_dowser.urls')),
	)


Example buildout recipe
-----------------------
	[django-dowser]
	location = django-dowser
	recipe = zerokspot.recipe.git
{'fraction_non_alphanumeric': 0.12420262664165103, 'fraction_numerical': 0.00375234521575985, 'mean_word_length': 3.612456747404844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '864166', 'n_tokens_mistral': 837, 'n_tokens_neox': 789, 'n_words': 284}