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

Documentation is on Read the Docs: http://readthedocs.org/docs/django-feedmapper/.

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.2.tar.gz (15.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-feedmapper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c4bc12d950c7cd629f8990867f7b88ebaa1f76a5a7e1cc9d168d39972e3f9be4
MD5 8b4d738ddd63b05ae543ed83105090b6
BLAKE2b-256 e27799bedfd408c9c4dcada3c2ea188e1bb85e4c9012385cea32a0b5ff198d0c

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