This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Django’s dumpdata management command allows you to dump objects from a given application, but sometimes you’ll want to extract all objects of a given model from a much larger file containing objects from many models.

This package provides the jsonfilter.py commandline utility, which will allow you to do just that.

Ultimately the idea would be to also add options to be able to search on different model fields to extract the objects you want before importing them again into the database.

Although it loads the entire json in memory, it’s actually quite fast. On a 41.6MB json file containing 131515 objects, it takes about 3s to extract 10341 objects of a given type. The 3s is actually fairly constant, however many objects there are of the model it’s extracting.

See jsonfilter.py --help for usage.

You can install this package through easy_install and pip.

© Copyright 2010 Éric St-Jean, email: esj a-t w w d d-o-t c a

This file is part of django-jsonfilter.

django-jsonfilter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

django-jsonfilter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with django-jsonfilter. If not, see <http://www.gnu.org/licenses/>.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-jsonfilter-0.1.1.linux-i686.exe (67.6 kB) Copy SHA256 Checksum SHA256 any Windows Installer May 19, 2010
django-jsonfilter-0.1.1.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source May 19, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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