An API building library with a focus on Django
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
savory_pie
.coveragerc
.gitignore
.travis.yml
LICENSE
README.md
make_html_docs.py
requirements.txt
run_tests.py
setup.py
tox.ini

README.md

#Savory Pie

Savory Pie is an API building library, we give you the pieces to build the API you need. Currently Django is the main target, but the only dependencies on Django are a single view and Resources and Fields that understand Django's ORM.

Build Status Coverage Status

PyPi version PyPi downloads PyPi license

Documentation

http://savory-pie.readthedocs.org/en/latest/

Installing

Note: it's recommended that you use ujson over the built in json library due to increased performance

    pip install savory-pie

Installing for Django

    pip install django_dirty_bits >= 0.1.3.2
    pip install Django > 1.4

Local Development Environment

It is highly recommended to use a virtualenv

    pip install -r requirements.txt
    pip install -e .

Running Tests

    python run_tests.py

Running Tests Coverage

    python run_tests.py --with-coverage
    coverage report -m  # To check the %
    coverage html

Updating PyPi (to whom it may concern)

Build a release (e.g. dist/savory-pie-0.2.0.tar.gz), then upload via the PyPi website.

python setup.py sdist
its a pie, mate

        ---                       ---
    -.UU   UU.-     _____     -.UU    UU.-
   -UU       UU.------------.UU         UU-
   -U   ``                       ``     U-
    ~Uu  ```                   ```   uU~
     ~u                              u~
      '       ()            ()       '
       '           / "" \           '
      ~            |    |            ~
       ~           \    /           ~
       ~             ''             ~
        ~          /-----\         ~
          ~~~                  ~~~
              ~~~~~~~~~~~~~~~~