A (python) indexer for large collections of json files
Project description
# JsonPydexer
A (python) indexer for large collections of json files.
In development and NOT SAFE for 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 (nested keys coming soon!), creating the file _id.pickle, containing a pickled dict of _id: filename
jp.index("_id")
#alternatively, specify a filename:
jp.index("_id", filename="MyIndex.xyz")
```
A (python) indexer for large collections of json files.
In development and NOT SAFE for 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 (nested keys coming soon!), creating the file _id.pickle, containing a pickled dict of _id: filename
jp.index("_id")
#alternatively, specify a filename:
jp.index("_id", filename="MyIndex.xyz")
```
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.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for JsonPydexer-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669c3fe5c84ec9299616196c801b6f8aa88bc11cc42ba3a1467560f79d3180a4 |
|
MD5 | 3810baca7ffb015abdd16319549a05d6 |
|
BLAKE2b-256 | c205b04af288520be7c728ab10aaeb98ede87f0a43b13a380bdf855dbade37b0 |