Skip to main content


Project description

Build Status codecov


Requires Python 3.7

Install with pip install datax, then run with dx [OPTIONS] [FILES]....


  -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.


dx -q "search n>5" file.txt

where file.txt looks like

{"event": 1, "k": "v", "ip": 7, "type": "geoip"}
{"event": 2, "k": "v", "ip": 10, "type": "geoip"}
{"event": 3, "k": "v", "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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for datax, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size datax-0.0.1-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size datax-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page