<commit_before>django-primitivegallery
=======================

A simple and primitive gallery for django.

This project is currently in alpha and not intended for production use.

Requirements
------------

The following packages must be installed:

- Django >= 1.5
- Pillow or PIL
- ImageMagick
- jhead


Installation
------------
#. Make sure the requirements above are installed. The first two can be installed with pip, the rest can be found in apt-get if you are using a debian based system.

#. Add ``primitivegallery`` to your ``INSTALLED_APPS``

#. Add the following settings:

::

  PRIMITIVE_GALLERY = {
      'IMAGE_ROOT': os.path.join(BASE_DIR, 'images'),
      'IMAGE_URL': '/static/'
  }

Where ``IMAGE_ROOT`` is the path to your images on disk and ``IMAGE_URL`` are the path the webserver serves them on.

#. Import the primitivegallery urls on some path in your urls.py file:

::

  url(r'^', include('primitivegallery.urls')),<commit_msg>Fixed numbering in readme<commit_after>django-primitivegallery
=======================

A simple and primitive gallery for django.

This project is currently in alpha and not intended for production use.

Requirements
------------

The following packages must be installed:

- Django >= 1.5
- Pillow or PIL
- ImageMagick
- jhead


Installation
------------
1. Make sure the requirements above are installed. The first two can be installed with pip, the rest can be found in apt-get if you are using a debian based system.

2. Add ``primitivegallery`` to your ``INSTALLED_APPS``

3. Add the following settings:

::

  PRIMITIVE_GALLERY = {
      'IMAGE_ROOT': os.path.join(BASE_DIR, 'images'),
      'IMAGE_URL': '/static/'
  }

Where ``IMAGE_ROOT`` is the path to your images on disk and ``IMAGE_URL`` are the path the webserver serves them on.

4. Import the primitivegallery urls on some path in your urls.py file:

::

  url(r'^', include('primitivegallery.urls')),
{'fraction_non_alphanumeric': 0.13305613305613306, 'fraction_numerical': 0.004158004158004158, 'mean_word_length': 3.5833333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5844115', 'n_tokens_mistral': 576, 'n_tokens_neox': 545, 'n_words': 232}