Skip to main content

emulsim

PyPI version License: MIT Build Status Documentation Status

emulsim is a framework for simulating physical systems consisting of multiple, interacting droplets. The current focus of the package lies on simulating interacting droplets in a common environment, but the framework is extensible and flexible.

Main idea

The main idea is that the physical system consists of multiple elements, which together describe the state of the system. The dynamical rules are encoded in actors, which either act on individual elements, encoding their autonomous dynamics, or on multiple elements, introducing couplings.

Installation

emulsim is available on pip, so you should be able to install it through pip:

pip install emulsim

Documentation

The documentation for this package is available online

Running tests

The package comes with automated tests that reside in tests directory. The purpose of these tests is to ensure some basic functionality of the package. Consequently, it is good practice to run the tests and fix problems before committing to the repository. To run tests, first install the the necessary python modules:

pip install -r tests/requirements.txt

The tests can be run using pytest or using the convenient scripts collected in the scripts directory:

  • tests_run.sh runs all tests in sequential order. The script takes an optional argument that selects which tests are run: Only test files or methods that match the argument will be run.
  • tests_parallel.sh runs all tests in parallel. Also takes a pattern argument.
  • tests_coverage.sh checks how much of the code is covered by tests.
  • tests_types.sh tests the type annotations in the python files. Type annotations are optional in python, but they can be helpful to spot subtle programming problems.
  • format_code.sh enforces the code style on all files.

Metadata

Release files for emulsim 0.6.0

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

Source distribution (sdist)

Source distribution for emulsim 0.6.0
File Size Uploaded Provenance Actions
emulsim-0.6.0.tar.gz 529.8 kB Without provenance Details for emulsim-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for emulsim 0.6.0
File Interpreter ABI Platform Actions
emulsim-0.6.0-py3-none-any.whl Python 3 none any Details for emulsim-0.6.0-py3-none-any.whl

Total release size: 632.6 kB

Release files / emulsim-0.6.0.tar.gz

Download URL emulsim-0.6.0.tar.gz
Size 529.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d399c65360292360827e252cd65da5e9dc012a3c0abb0a5e6e10d5e09c391a56
BLAKE2b-256 checksum
How to use checksums
884c5941cfb26ffe0adba519bc2299de4e41d5bfa69bddf111aeb4bb1e23fd29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / emulsim-0.6.0-py3-none-any.whl

Download URL emulsim-0.6.0-py3-none-any.whl
Size 102.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f174ee74d80ffd6b081ed08cc602b2f1663c4189f2543922b5a96fc8a049d5a
BLAKE2b-256 checksum
How to use checksums
988d19845fdd1b9e70726d1ce03033a49b29658061911cc1f402c9cb4609d519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for emulsim 0.6.0

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.6.0 This release

2 release files 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