<commit_before>The OpenShift `python` cartridge documentation can be found at:

https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-python/README.md<commit_msg>Information about running it yourself<commit_after># Hobrogrammer
Hobrogrammer is a web-app that allows users to search for events with free food in their local area.

# Setup
## Requirements
* Flask
* SQLAlchemy
* BeautifulSoup4

# Running
Copy the file `settings.private.default` to `settings.private` and edit the contents using Python format like so:
* `SECRET_KEY`: any random string to salt cookies and for form validation
* `EVENTBRITE_API_KEY`: Apply to [EventBrite for an API key](https://www.eventbrite.com/api/key/) and put it in here

Hobrogrammer will work on any WSGI enabled server but if you want to run a local instance go to `wsgi` and run `run.py`.

# API
We make use of:
* [GeoNames](http://www.geonames.org/): to do convertion of location to latitude and longitude
* [EventBrite](http://developer.eventbrite.com/doc/): to check for events in your area (within 10 miles)

# Technology
* Hobrogrammer is designed to work on OpenShift (it's free for 3 instances)
* Flask is used to dispatch the pages and handle the API calls
* SQLAlchemy is used for caching  the results from what events have free food.
* BeautifulSoup4 is used to process the results from EventBrite to determine if it has free food.

# License
## Code
GPLv3 (see LICENSE)

## Logo
Taken from [OpenClipart](http://openclipart.org/detail/8302/baseball-cap-by-gerald_g-8302) unsure about license but assumed to allow remixes.

# Contact
[OpenClipart](http://openclipart.org/detail/8302/baseball-cap-by-gerald_g-8302)

# Thanks To
* [Moggers87](http://twitter.com/moggers87)
* All organisers of [Hacked.IO](http://hacked.io)
{'fraction_non_alphanumeric': 0.09286898839137644, 'fraction_numerical': 0.014372581536760642, 'mean_word_length': 4.801282051282051, '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': '7332437', 'n_tokens_mistral': 586, 'n_tokens_neox': 549, 'n_words': 207}