Skip to main content

Extension of concurrent.futures for Cloud-Function-as-a-Service compatibility

Project description

Kanokkul's Pool Executor

Kanokkul's AWS Lambda-Compatible process and thread pool executor

Installation

pip install KnKPoolExecutor

Usage

Simply substitute ProcessPoolExecutor with AWSLambdaProcessPoolExecutor

from knk_pool_executor import AWSLambdaProcessPoolExecutor

with AWSLambdaProcessPoolExecutor() as pool:
    future = pool.submit(some_function, arg, kw=kw)
    
    # do another thing

    result = future.result()

Inspiration

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

KnKPoolExecutor-0.0.4.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

KnKPoolExecutor-0.0.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file KnKPoolExecutor-0.0.4.tar.gz.

File metadata

  • Download URL: KnKPoolExecutor-0.0.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.3

File hashes

Hashes for KnKPoolExecutor-0.0.4.tar.gz
Algorithm Hash digest
SHA256 db0fee4be60e6c797a85d2d45675c3503d67744eedaf0d0ea0c8829fa3cc0331
MD5 68857fc878588f772c519622baa45c0b
BLAKE2b-256 e71afd6b02858433da7b3c1f6df08e8b072bc5341d0ba4bf99391d5190df8deb

See more details on using hashes here.

File details

Details for the file KnKPoolExecutor-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: KnKPoolExecutor-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.3

File hashes

Hashes for KnKPoolExecutor-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c3bd1c86c5e504c61d5613c1e81d611e16b315ccca2b6e450c43a46f9d3c5c
MD5 5b840944f1609e7863c524cc45cd07a0
BLAKE2b-256 967eb71e96715c2684ca6850ce625cf9493dfb426d4092b0ebd98d8c564b7b2d

See more details on using hashes here.

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