Name | datasette-column-sum JSON |
Version |
0.1a0
JSON |
| download |
home_page | |
Summary | Sum the values in numeric Datasette columns |
upload_time | 2024-03-01 04:13:57 |
maintainer | |
docs_url | None |
author | Simon Willison |
requires_python | >=3.8 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# datasette-column-sum
[![PyPI](https://img.shields.io/pypi/v/datasette-column-sum.svg)](https://pypi.org/project/datasette-column-sum/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-column-sum?include_prereleases&label=changelog)](https://github.com/datasette/datasette-column-sum/releases)
[![Tests](https://github.com/datasette/datasette-column-sum/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-column-sum/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-column-sum/blob/main/LICENSE)
Sum the values in numeric Datasette columns
## Installation
Install this plugin in the same environment as Datasette.
```bash
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:
```bash
cd datasette-column-sum
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
pytest
```
Raw data
{
"_id": null,
"home_page": "",
"name": "datasette-column-sum",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Simon Willison",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c8/32/0c6d1d228ea3629bdbe6565334217954944a6a3fe84292f35e6c16bdccd5/datasette-column-sum-0.1a0.tar.gz",
"platform": null,
"description": "# datasette-column-sum\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-column-sum.svg)](https://pypi.org/project/datasette-column-sum/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-column-sum?include_prereleases&label=changelog)](https://github.com/datasette/datasette-column-sum/releases)\n[![Tests](https://github.com/datasette/datasette-column-sum/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-column-sum/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-column-sum/blob/main/LICENSE)\n\nSum the values in numeric Datasette columns\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-column-sum\n```\n## Usage\n\nNumeric columns (float and integer) will have a new \"Sum this column\" menu item in their column action menu (accessible via the cog icon).\n\nText columns get options to calculate sums for those numeric columns grouped by the text column.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-column-sum\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Sum the values in numeric Datasette columns",
"version": "0.1a0",
"project_urls": {
"CI": "https://github.com/datasette/datasette-column-sum/actions",
"Changelog": "https://github.com/datasette/datasette-column-sum/releases",
"Homepage": "https://github.com/datasette/datasette-column-sum",
"Issues": "https://github.com/datasette/datasette-column-sum/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f43c5163d82911242933ae73e9cefcae26a50fd87faa1ce70a235bb3df4e4ce7",
"md5": "8a1806a898ce4ee2b54dd458dd824ea9",
"sha256": "85ee99b11c0e8beca944a7fd0d8a938b2a72834b66fa0d1ed987664327f9e209"
},
"downloads": -1,
"filename": "datasette_column_sum-0.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a1806a898ce4ee2b54dd458dd824ea9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7160,
"upload_time": "2024-03-01T04:13:56",
"upload_time_iso_8601": "2024-03-01T04:13:56.250504Z",
"url": "https://files.pythonhosted.org/packages/f4/3c/5163d82911242933ae73e9cefcae26a50fd87faa1ce70a235bb3df4e4ce7/datasette_column_sum-0.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c8320c6d1d228ea3629bdbe6565334217954944a6a3fe84292f35e6c16bdccd5",
"md5": "ff5c13295e371c52855a47fbb429661c",
"sha256": "b02693f45788456cc02317c6acc70dc05c01cc0fddd4d0c4e451ca0a60714190"
},
"downloads": -1,
"filename": "datasette-column-sum-0.1a0.tar.gz",
"has_sig": false,
"md5_digest": "ff5c13295e371c52855a47fbb429661c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7505,
"upload_time": "2024-03-01T04:13:57",
"upload_time_iso_8601": "2024-03-01T04:13:57.624571Z",
"url": "https://files.pythonhosted.org/packages/c8/32/0c6d1d228ea3629bdbe6565334217954944a6a3fe84292f35e6c16bdccd5/datasette-column-sum-0.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-01 04:13:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datasette",
"github_project": "datasette-column-sum",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "datasette-column-sum"
}