Skip to main content

slice-aggregator

https://travis-ci.org/bm371613/slice-aggregator.svg?branch=master https://readthedocs.org/projects/slice-aggregator/badge/?version=latest

A library for aggregating values assigned to indices by slices

>>> import slice_aggregator
>>> a = slice_aggregator.ixs_by_slices()
>>> a[-5] += 1
>>> a[10] -= 2.5
>>> a[-10:]
-1.5

and the other way around

>>> import slice_aggregator
>>> a = slice_aggregator.slices_by_ixs()
>>> a[:-5] += 1
>>> a[-10:10] -= 2.5
>>> a[-10]
-1.5

Read the docs to find out more!

Installation

pip install slice-aggregator

Metadata

Release files for slice-aggregator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slice-aggregator 0.1.1
File Size Uploaded Provenance Actions
slice-aggregator-0.1.1.tar.gz 4.7 kB Without provenance Details for slice-aggregator-0.1.1.tar.gz

Release files / slice-aggregator-0.1.1.tar.gz

Download URL slice-aggregator-0.1.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f5ece4117386a3774dae178fc5e096fad5d7a870d7641e19f365256d6dc9253
BLAKE2b-256 checksum
How to use checksums
5135eae9aed11a8c8ad8cbb6c1e940053812b8e06291544d0614f67322ae7bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for slice-aggregator 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page