Skip to main content

accelasc

Implementation of the accel_asc algorithm for integer partitions. See this stackoverflow post and Jerome Kelleher's website. See also the paper by Kelleher and O'Sullivan: Generating All Partitions: A Comparison Of Two Encodings.

Installation

pip3 install accelasc

or

pip3 install --user accelasc

Usage

from accelasc import accel_asc
tuple(accel_asc(5))
([1, 1, 1, 1, 1], [1, 1, 1, 2], [1, 1, 3], [1, 2, 2], [1, 4], [2, 3], [5])

Metadata

Release files for accelasc 1.0.4

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

Source distribution (sdist)

Source distribution for accelasc 1.0.4
File Size Uploaded Provenance Actions
accelasc-1.0.4.tar.gz 2.5 kB Without provenance Details for accelasc-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for accelasc 1.0.4
File Interpreter ABI Platform Actions
accelasc-1.0.4-py3-none-any.whl Python 3 none any Details for accelasc-1.0.4-py3-none-any.whl

Total release size: 5.6 kB

Release files / accelasc-1.0.4.tar.gz

Download URL accelasc-1.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49f90fa6ef916734e8900dcafba86c4a2ffdb443cd1f2aada6a1dec29a02baf2
BLAKE2b-256 checksum
How to use checksums
eb5fcadc779110d2682c783f35bebb4fa5fa4f62d7c164dc05e04eeda93ec6aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Release files / accelasc-1.0.4-py3-none-any.whl

Download URL accelasc-1.0.4-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c5a7446019ef53f5732ae9266c7e89903ea36c754f08e94376ccd0950b52b6b
BLAKE2b-256 checksum
How to use checksums
8f96b758086435425cadf99a2113c45eab379767fb2497ba5c665e0af2046232
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Security for accelasc 1.0.4

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.

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