DataXplorer
Requires Python 3.7
Install with pip install datax, then run with dx [OPTIONS] [FILES]....
Options:
-v, --verbose Print verbose messages.
-i, --interactive Enter into an interactive loop to query data.
-q, --query TEXT The query string.
--help Show this message and exit.
Example:
dx -q "search n>5" file.txt
where file.txt looks like
{"event": 1, "n": "2", "ip": 7, "type": "geoip"}
{"event": 2, "n": "6", "ip": 10, "type": "geoip"}
{"event": 3, "n": "8", "ip": 15, "type": "geoip"}
-q TEXT is not required if using interactive mode (-i). When in interactive mode, you will enter an input loop, allowing you to repeatedly query data without having to execute the command again. This is faster because the data is kept in memory and doesn't have to be loaded from disk each query. Type exit, quit, or enter CTRL+C to quit. Type search <query-string> to search the data. If the -q and -i options are used together, the query will be executed, results will be printed, then you will enter into an input loop.
DataXplorer also accepts data from a pipe. Example: cat file.txt | dx -q "search n>5".
DataXplorer uses DXQL to search through the data. See the DXQL readme to learn how to search.
Metadata
Release files for datax 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datax-0.0.3.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datax-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / datax-0.0.3.tar.gz
| Download URL | datax-0.0.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75d613381308a44f42bab35837e44dc264df4b311a1a3a10b0a0f5ea119d8a5f
|
|
BLAKE2b-256 checksum How to use checksums |
769933e7ccaf5368bc3928b00ab6cabec44033899a0fb62120d31486c69bd3a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1
|
Release files / datax-0.0.3-py3-none-any.whl
| Download URL | datax-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a647f0bf5cceb79946af4abca33be792d4a57f116fb9e24a0e688b02a9ce01e2
|
|
BLAKE2b-256 checksum How to use checksums |
0111e491279465acc9dbe7483fbe832fe89a3ac73596b30ad48f90089d1a0620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1
|