Skip to main content

Apply a function to a list of arguments and collect the results – serial, parallel or distributed.

Project description

Unified

Many implementations, one way of access.

Map

Apply a function to a list of arguments and collect the results – serial, parallel or distributed.

This package provides reasonably simple syntax for a frequent programming task which is implemented in various places (built-in, standard library, external libraries). Here are three descriptions of this task:

  • Map a list of inputs to a list of results via a user-provided function.

  • Apply a given function to a list of arguments to get a list of return values in the same order.

  • A black-box function is evaluated with different inputs and the outputs are collected.

In general, this is a so-called “pleasingly parallel problem” (aka “embarrassingly parallel” or “pleasingly parallel”) because it is straightforward to separate it into independend subtasks. For this reason, and due to its frequent occurrence, it is recognized as a programming idiom (“parallel map”, “parallel for loop”) in parallel computing that can equally simple be applied in distributed computing. This package allows to do so with a focus on simplicity of use.

Project references

Documentation

GitHub Page

Built with Sphinx

Source code

GitHub

License Apache 2.0 | Release version | Release date

Package

PyPI

Python versions | Status | Format

Authors

Robert Haas

Profile on GitHub | e-Mail: robert.haas@protonmail.com

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

unified_map-1.0.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

unified_map-1.0.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file unified_map-1.0.0.tar.gz.

File metadata

  • Download URL: unified_map-1.0.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for unified_map-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5b3d11522c06c665c5faf111ceed27c06ce8b48d33b201927672abb9a4b73979
MD5 9c42f1b3c3e950d0ca89937c6588922e
BLAKE2b-256 b20f224c58c9a2d6710582ab57b7113ccb9d95df2aa784bb4cac4211055509f1

See more details on using hashes here.

File details

Details for the file unified_map-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for unified_map-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 211b97670c5ad5c863e533572fd4405fc73658c0092cf27e726816eebcff8508
MD5 4ae990f7f0108fe26d0e507cc0ecf775
BLAKE2b-256 0d03b977b9162fd25c2bd77dc55856843a104710755ccc2298a4f0ad531447e2

See more details on using hashes here.

Supported by

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