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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file datasette-column-sum-0.1a0.tar.gz.

File metadata

  • Download URL: datasette-column-sum-0.1a0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for datasette-column-sum-0.1a0.tar.gz
Algorithm Hash digest
SHA256 b02693f45788456cc02317c6acc70dc05c01cc0fddd4d0c4e451ca0a60714190
MD5 ff5c13295e371c52855a47fbb429661c
BLAKE2b-256 c8320c6d1d228ea3629bdbe6565334217954944a6a3fe84292f35e6c16bdccd5

See more details on using hashes here.

File details

Details for the file datasette_column_sum-0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_column_sum-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 85ee99b11c0e8beca944a7fd0d8a938b2a72834b66fa0d1ed987664327f9e209
MD5 8a1806a898ce4ee2b54dd458dd824ea9
BLAKE2b-256 f43c5163d82911242933ae73e9cefcae26a50fd87faa1ce70a235bb3df4e4ce7

See more details on using hashes here.

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