Skip to main content

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

datatools-0.1.3-py2-none-any.whl (11.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page