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"])
```
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.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for JsonPydexer-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9f5c7b287ac8616c0034d98800ab005e4f441949cd325826a569ce37d81389 |
|
MD5 | d42b712f4eabaf69a56f4f800ba2a9d8 |
|
BLAKE2b-256 | ba23f995fcce1186c1731619f1b4eb595fcceb57d36f983e58996bd986bb8eec |