Skip to main content

What is Apalis?

Apalis is a python library for parallel computing. It focuses on enabling parallel computing with little overhead. To explore the apalis functionality see the Documentation.

Getting started with Apalis

Apalis can be installed from PyPI:

   pip install apalis

Apalis can send an object into a child process and interact with it through a Handler. To send an object into a parallel process just:

   import apalis
   import time

   class A:
    def expensive(self, x):
      time.sleep(1)
      return x
      
   a = A()
   obj = apalis.Handler(a) # Sends the object to a child process.
   token = obj.expensive(5) # Sends the task to the object in the child process.
   token() # Calling the token yields the result of the operation.

The same can be done with multiple Handlers at once.

   objs = [apalis.Handler(A()) for _ in range(16)]
   tokens = [obj.expensive(5) for obj in objs]
   aplais.get(tokens) # Gets the results of the operations.

More examples can be found in this Jupyter Notebook.

Metadata

Release files for apalis 0.1.0.8

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

Source distribution (sdist)

Source distribution for apalis 0.1.0.8
File Size Uploaded Provenance Actions
apalis-0.1.0.8.tar.gz 88.7 kB Without provenance Details for apalis-0.1.0.8.tar.gz

Release files / apalis-0.1.0.8.tar.gz

Download URL apalis-0.1.0.8.tar.gz
Size 88.7 kB
Tags Source
SHA-256 checksum
How to use checksums
84692fec3206630194f19457d0f1480b1974630ba7e2471d33863e7e45c43631
BLAKE2b-256 checksum
How to use checksums
48545cb8903c640354481ca0f3bf9c3ecf42558a4b0c24e564111a751c93cfd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1.post20190818 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.10

Security for apalis 0.1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0.8 This release

1 release file No provenance

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