Skip to main content

A utility for mapping feeds to Django models.

Project description

django-feedmapper is a library for synchronizing data from feeds with Django models. The process of synchronizing the data requires the use of three pieces: a parser, a mapping, and a schedule.

Example project

Clone this git repo:

git clone git@github.com:natgeo/django-feedmapper.git
cd django-feedmapper

Make sure you have virtualenvwrapper installed and create a virtual environment:

mkvirtualenv --no-site-packages --distribute django-feedmapper
workon django-feedmapper

Install the requirements:

pip install -r requirements.txt

Synchronize the database and load the dummy data:

cd example
./manage.py syncdb

Synchronize the dummy data:

./manage.py feedmapper_sync

Fire up the development server:

./manage.py runserver

Check out the feed mapping in the admin at http://localhost:8000/admin/feedmapper/mapping/1/ and the sync results in the admin at http://localhost:8000/admin/myapp/thing/.

Full documentation

The full documentation is in the docs folder. You’ll need to have Sphinx installed to build the documentation:

pip install Sphinx

Building the documentation is easy:

cd django-feedmapper/docs/
make html
open build/html/index.html

Project details


Download files

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

Source Distribution

django-feedmapper-1.0.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file django-feedmapper-1.0.tar.gz.

File metadata

File hashes

Hashes for django-feedmapper-1.0.tar.gz
Algorithm Hash digest
SHA256 2900f04b5aa0b83f657e771baa07f9db1c8e4c371ddfd9641cf17d554b8f5de5
MD5 7b027c254747eed4aec21e6787e829ec
BLAKE2b-256 ef55ab898c14e9614f927d50d479a6d2d80a46e5af9a76b6559797bf27db17d5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page