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.3.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for JsonPydexer-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adab221e64a697f35a3ec8082639132debca0b51689a98a1a6b133f16c53d7c4 |
|
MD5 | ecfe9e1bdb791449ee02c1291f38f2e9 |
|
BLAKE2b-256 | 5f0e6da78beaab6ffe5a5ac409b9d97e52b285d99336c2ec3fd3d9f6f12c974c |