Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.28 KB

index.rst

File metadata and controls

57 lines (36 loc) · 1.28 KB

Welcome to jf's documentation!

JF, aka "jndex fingers" or more commonly "json filter pipeline", is a jq-clone written in python. It supports evaluation of python one-liners, making it especially appealing for data scientists who are used to working with python.

Getting started

To get started, install jf

pip install jf

Basic usage

Filter selected fields

$ cat samples.jsonl | jf 'map({id: x.id, subject: x.fields.subject})'
{"id": "87086895", "subject": "Swedish children stories"}
{"id": "87114792", "subject": "New Finnish storybooks"}

To really get started using JF, start with the userguide.

For examples onf how you might use JF with your own data, check out the examples.

For detailed information about specific JF components, consult the modules.

docs/user_guide docs/modules docs/examples

Indices and tables

  • genindex
  • modindex
  • search