Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Django app to download LCBO Product Data.

Project Description
=====
Liquor
=====

Liquor is a simple library that will copy the lcbo's products api to your database.
This was created from a workshop assignment for the YMC (www.theymc.com).

The purpose is to avoid creating fake data, when building sample applications,
Using manage.py steal_booze, we can now populate our database with live data,
and build a sample site with accurate information.

http://git.io/NM2urA

Quick start
-----------
1. `pip install liquor`

2. Add "liquor" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'liquor',
)

3. Run `python manage.py syncdb` to create the LcboProduct models.

4. Run `python manage.py steal_booze` to get data from the LCBO API, and store it in your models.

5. Run `python manage.py analyze_booze` to get some insights.

Accessing the data
-----------------
1. Run `python manage.py shell` to launch the shell
2. `from liquor import models`
3. `models.LcboProduct.objects.all()`
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
liquor-0.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Mar 24, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting