Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(3.5 kB) Copy SHA256 Hash SHA256
Source Aug 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting