No project description provided
Project description
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 ofpmapthat 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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file niklibpy-0.1.3.tar.gz.
File metadata
- Download URL: niklibpy-0.1.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.1 CPython/3.11.9 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5575a2a36b9b03b5417345accdd550bd0ceb3681c9b49cff6627dff71aa7cf10
|
|
| MD5 |
ee27ecab04f64955ee899d7de623612d
|
|
| BLAKE2b-256 |
b53151715793e9532719b73e6e47f384204c92b3c5db8b926d9b6a8173f6dec5
|
File details
Details for the file niklibpy-0.1.3-py3-none-any.whl.
File metadata
- Download URL: niklibpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.1 CPython/3.11.9 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3ec783a51cafdcaa18ece990ea2719e9807f3497e1b0631c2045b83ae6260be
|
|
| MD5 |
cd5338d7ac2d7167ffb86e308bc13f60
|
|
| BLAKE2b-256 |
59883cd8f17a90104c68348f4903a8499201b5eade2e7fa4a7000d34454f300d
|