Skip to main content

Filter, transform and export a list of JSON objects to JSON or CSV

Project description

[![Build Status](https://travis-ci.org/ckan/losser.svg)](https://travis-ci.org/ckan/losser) [![Coverage Status](https://img.shields.io/coveralls/ckan/losser.svg)](https://coveralls.io/r/ckan/losser)

Losser

A little UNIX command and Python library for lossy filter, transform, and export of JSON to JSON or CSV.

TODO: Detailed explanation.

Requirements

Python 2.7.

Installation

To install run:

pip install losser

To install for development, create and activate a Python virtual environment then do:

git clone https://github.com/ckan/losser.git cd losser python setup.py develop

Usage

TODO: How to use on command-line and from Python.

Running the Tests

First activate your virtualenv then install the dev requirements:

pip install -r dev-requirements.txt

Then to run the tests do:

nosetests

To run the tests and produce a test coverage report do:

nosetests –with-coverage –cover-inclusive –cover-erase –cover-tests

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

losser-0.0.1.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file losser-0.0.1.tar.gz.

File metadata

  • Download URL: losser-0.0.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for losser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c70c6e21e127f27163d2aa53f471af4c8bc56cf7901e267225e39b1279131f8a
MD5 2b80502da0f1d7a72f3d7b384ede548e
BLAKE2b-256 d4410485f3857c01eb787f170e813645999202d2ebf5095eb67a62a89a537ada

See more details on using hashes here.

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