Catalog PyPI
PACKAGE EXPLORERView in registry

accelasc

PyPI

implementation of accel_asc algorithm for integer partitions

Versions collected1
Direct dependencies0From release 1.0.4
Last observed20 Oct, 17:53 UTC

README

Version 1.0.4 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.416 Oct 20220

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
anthony-aylward/accelasc

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:baa02c950ee98d151a8d816aee80a99ec6eea26a6d2b1c3203a2b5e07430b81a