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

planningalerts data layer Python client package

Project Description

Aims to provide a simple, standardised perisistance layer for PlanningAlerts records.

Mainly intended to use when writing PlanningAlerts scrapers on Morph python environments already have nice libraries, like scraperwiki installed, but those don’t enforce the data requirements expected by PlanningAlerts. This library attempts to do so.


From source

python install


pip install morph_planningalerts


from morph_planningalerts import DevelopmentApplication, MorphDatabase

# Make sure the database file exists. If it does, this won't do anything.

# Time passes... data is scraped...
new_record = DevelopmentApplication.create(
    address='64 Zoo Lane',
    description='this is the least info needed to prevent explosions',

# Or, if you only want to insert new records:
record, was_created = DevelopmentApplication.create_or_get(

For more examples, check out the docs on querying with the Peewee ORM.

Source code

You can get the code here:


tox is being used to run the tests across python 2.7 & 3.x.

To bootstrap your test environment, the easiest way is you use the pip requirements file:

pip install -r requirements.txt

Then you can simply run:

Release History

Release History

This version
History Node


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
morph_planningalerts-1.0.0.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Jul 30, 2015

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