Skip to main content

Sum the values in numeric Datasette columns

Project description

datasette-column-sum

PyPI Changelog Tests License

Sum the values in numeric Datasette columns

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-column-sum

Usage

Numeric columns (float and integer) will have a new "Sum this column" menu item in their column action menu (accessible via the cog icon).

Text columns get options to calculate sums for those numeric columns grouped by the text column.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-column-sum
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Download files

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

Source Distribution

datasette-column-sum-0.1a0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

datasette_column_sum-0.1a0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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