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!

Data Tools

Project Description

Data tools (or, for friends, d) is a command-line-first data analysis library. The goal of the library is to make data-wrangling tasks easy and promote code reuse. Each script is supposed to do one thing well, following the principles of the UNIX philosophy of “doing one thing and doing it well”.

Design principles

  • The command line is your friend.
  • An extra command (and pipe) is better than another argument.
  • CSV and JSON get priority over other formats.
  • Always think of scalability and memory issues. Favour streaming algorithms.
  • DRY.

List of tools

All the tools start with the abbreviated name of datatools, which is d.

  • dbyrow performs operations between elements of the same row.
  • dcompute performs operations which involve one field of multiple rows (for example, the average).
  • dformat (TO DO) translate existing formats to a standard CSV format.
  • djoin performs equality joins between tables, both in semi-streaming and full-streaming fashions.
  • drandom generates random integer and float values.
  • dunique keeps unique values.
  • djsonexplorer loads a JSON document into a Python interpreter.

Release History

This version
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
(11.0 kB) Copy SHA256 Hash SHA256
py2 Wheel Jul 19, 2016

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