Skip to main content

No project description provided

Project description

adiumentum

Documentation

Utilities that I find myself using repeatedly in other projects.

Raise No issues and you will be told no lies.

Highlights

adiumentum.fp

Type-specific map and filter operations.

from adiumentum.fp import tmap, smap, lmap, tfilter, sfilter, lfilter

original = [0, 1, 2, 3, 4]

def is_gt_2(i: int) -> bool:
    return i > 2


def halve(i: int) -> float:
    return i / 2


halved_tuple = tmap(halve, original)
halved_list = lmap(halve, original)
halved_set = smap(halve, original)

gt2_tuple = tfilter(is_gt_2, original)
gt2_list = lfilter(is_gt_2, original)
gt2_set = sfilter(is_gt_2, original)

truthy_tuple = tfilter(original)
truthy_list = lfilter(original)
truthy_set = sfilter(original)

Development

With Nix installed, you can enter a development environment with all dependencies installed:

nix develop

Roadmap

  • fix docs; get running in CI
  • full test coverage
  • full documentation
  • divide into a few smaller packages?

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

adiumentum-0.8.11.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adiumentum-0.8.11-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file adiumentum-0.8.11.tar.gz.

File metadata

  • Download URL: adiumentum-0.8.11.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adiumentum-0.8.11.tar.gz
Algorithm Hash digest
SHA256 09a8ae9ec7bba39f80bb7e3451e9b49ea6340a46ed4bbd78249fa1213fb0dbba
MD5 23948644e7e89a5f6b4b65a92439311c
BLAKE2b-256 87755c57e7db020ec69a959f21e27af1fba87c5111fc5f33a4cc89e1a0cf4ac0

See more details on using hashes here.

Provenance

The following attestation bundles were made for adiumentum-0.8.11.tar.gz:

Publisher: python-publish.yml on yelircaasi/adiumentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adiumentum-0.8.11-py3-none-any.whl.

File metadata

  • Download URL: adiumentum-0.8.11-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adiumentum-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 bcec5bfaabc814904163c4ad37118dcabcaef9ee90346ae9f82b2344116dba7c
MD5 070bf57cf6041b5801e52cdafe866bb4
BLAKE2b-256 1383ddbc94f2ccb2ad6be37b21e648564766ce250ef927b3124e7ef1dc17ccb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for adiumentum-0.8.11-py3-none-any.whl:

Publisher: python-publish.yml on yelircaasi/adiumentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page