Skip to main content

niklibpy

This is a Python library that provides a set of utility functions for common programming tasks. The library includes the following functions:

  • pmap: A simple parallel map construction, using a thread pool executor. It takes an array of functions and executes them in parallel, returning the results in the same order as the input functions.

  • pipe: Applies a series of functions to an input value, with the output of each function being passed as the input to the next function in the series. Returns the final output value after all functions have been applied.

  • apmap: An asynchronous version of pmap that takes an array of async functions and executes them in parallel, returning the results in the same order as the input functions.

  • dig: Attempts to retrieve a value from a nested data structure (dictionary or list) using a sequence of keys. If no key is found, it returns None.

  • bury: Inserts a value into a nested data structure (dictionary or list) at a location specified by a sequence of keys. If the location does not exist, it creates the necessary structure to accommodate the value. If the data structure is a list and the key exceeds its current length, it extends the list with None values.

Release files for niklibpy 0.1.3

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

Source distribution (sdist)

Source distribution for niklibpy 0.1.3
File Size Uploaded
niklibpy-0.1.3.tar.gz 2.8 kB Details

Built distribution (wheel)

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

Total release size: 6.3 kB

Release files / niklibpy-0.1.3.tar.gz

Download URL niklibpy-0.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5575a2a36b9b03b5417345accdd550bd0ceb3681c9b49cff6627dff71aa7cf10
BLAKE2b-256 checksum
How to use checksums
b53151715793e9532719b73e6e47f384204c92b3c5db8b926d9b6a8173f6dec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.1 CPython/3.11.9 Darwin/23.4.0

Release files / niklibpy-0.1.3-py3-none-any.whl

Download URL niklibpy-0.1.3-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3ec783a51cafdcaa18ece990ea2719e9807f3497e1b0631c2045b83ae6260be
BLAKE2b-256 checksum
How to use checksums
59883cd8f17a90104c68348f4903a8499201b5eade2e7fa4a7000d34454f300d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.1 CPython/3.11.9 Darwin/23.4.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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