Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

agar

Agar is a set of utilities for Google App Engine python, , created as part of the Substrate Project.

Requirements

Agar requires the Google App Engine SDK, webapp2, webapp2_extras, pytz, restler, and basin. Versions of these (except the Google App Engine SDK) are located in the lib directory.

Installation

To install Agar, download the source and add the agar directory to your Google App Engine project. It must be on your path.

Tests

Agar comes with a set of tests. Running Agar's tests requires unittest2 and WebTest (included in the lib directory). To run them, execute:

$ ./run_tests.py

Testing

Google App Engine now includes testbed to make local unit testing easier. This obsoletes the now-unsupported GAE TestBed library. However, it had several useful helper functions, many of which have been re-implemented in Agar. To use them, you must use unittest2 and inherit from agar.tests.BaseTest or agar.tests.WebTest.

License

Agar is licensed under the MIT License. See LICENSE.txt for details.

Contributing

To contribute to the Agar project, fork the repository, make your changes, and submit a pull request.

Recent activity

Curtis Thompson

Curtis Thompson pushed 35 commits to curtis/agar

538075f - started templatetags tests; login_url and logout_url
9a46b41 - removed google.appengine.ext.webapp import template, using pure django
b3ebf06 - had to go to 0.7.2 to fix previous version to pypi
fbebcab - updated version 0.7.1, changes.rst
662e4d3 - added param to base_test.log_in_user for is_admin
cur...@42.15.168.192.in-addr.arpa

Commits by cur...@42.15.168.192.in-addr.arpa were pushed to curtis/agar

dc6e927 - Fix tests for python2.7 runtime
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.