Skip to main content

A (python) indexer for large collections of json files

Project description

# JsonPydexer
A (python) indexer for large collections of json files.
In development and probably not good for general use yet.
## Usage
```python
from JsonPydexer import JsonPydexer

#initialize with the root directory containing your json files (directory recursion coming soon!)
jp = JsonPydexer("test_data/1")

#index on the given key, creating the file _id.pickle, containing a pickled dict of _id: filename
jp.index("_id")

#index on the given list of nested keys ie {"foo": {"guid": value}}, creating the file fooguid.pickle
jp.index(["foo", "guid"])
```


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

JsonPydexer-0.2.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

JsonPydexer-0.2.3-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 Python 3

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