Skip to main content

Multiclass interface

Project description

Multiclass interface

multiclass_interface is a package that allows you to interact with multiple objects as if it was a single object.

The interfaced objects can be executed:

  • in the same thread MultiClassInterface
  • in individual threads, MultiThreadClassInterface
  • in individual processes
    • using multiprocessing: MultiProcessClassInterface
    • using mpi4py: MPIClassInterface

Furthermore, the ProcessClass can be used to interface an object in a different process as if it was in the current process. This feature is useful when running an object that needs to interface a dll/so in its own memory space.

Installation

pip install multiclass_interface

Usage

See https://hawc2.pages.windenergy.dtu.dk/HAWC2Lib/MulticlassInterface.html

Support

Please use the issue tracker to report problems, ideas for improvments etc.

Merge requests are very welcome

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

Multiclass_interface-1.1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

Multiclass_interface-1.1-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

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