Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Command-line tool for querying DXR.

Project description

A small command-line tool for searching DXR.


DXR-cmd is written in Python and can be installed using pip, which comes included with most recent versions of Python:

pip install dxr-cmd


Adds a command called dxr:

Run a search against DXR.

Usage: dxr [options] <query>...

  --case-insensitive  Perform a case-insensitive search (searches are
                      case-sensitive by default).
  -h --help           Show this screen.
  --limit=LIMIT       Maximum number of matches [default: 50]
  --no-highlight      Disable syntax highlighting.
  --pager=PROGRAM     Direct output through PROGRAM.
  --server=DOMAIN     DXR instance to send the search request to.
  --style=STYLE       Name of Pygments style for syntax highlighting.
                      [default: paraiso-dark]
  --tree=TREE         Code tree to search against.
                      [default: mozilla-central]
  -v --version        Show program version.

Developer Setup

  1. Use a virtualenv!

  2. Install the package in development mode:

    $ ./ develop


This software is licensed under the MIT License. For more information, see the LICENSE file.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dxr-cmd-0.2.2.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Aug 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page