AnyPyTools
AnyPyTools is a toolkit for working with the AnyBody Modeling System (AMS) from Python. It enables reproduceable research with the AnyBody Modeling System, and bridges the gap to whole ecosystem of open source scientific Python.
The AnyPyTools Python package enables batch processing, parallization of model simulations, model sensitivity studies, and parameter studies, using either Monte-Carlo (random sampling) or Latin hypercube sampling. It makes reproducible research much easier and replaces the tedious process of manually automating the musculoskeletal simulations and aggregating the results.
If you use the library for publications please cite as:
Lund et al., (2019). AnyPyTools: A Python package for reproducible research with the AnyBody Modeling System. Journal of Open Source Software, 4(33), 1108, https://doi.org/10.21105/joss.01108
Installation
- Download and install the pixi package manager
- After installation open a command prompt in you project directory and type:
pixi init
pixi add anypytools
This will install a virtual environment with python, anypytools and all
dependencies. You can then run you scripts in the virtual environment by typing
by prefixing the command with pixi run: e.g. pixi run python myscript.py
The library is also available on PyPi for installing using pip.
Usage
The simplest case:
from anypytools import AnyPyProcess
app = AnyPyProcess()
macro = [
'load "Model.main.any"',
'operation Main.Study.InverseDynamics',
'run',
]
app.start_macro(macro)
Please see the [Jupyter Notebook based tutorial], or check the the following for more information:
Metadata
Release files for anypytools 1.20.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anypytools-1.20.6.tar.gz | 6.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anypytools-1.20.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 MB
Release files / anypytools-1.20.6.tar.gz
| Download URL | anypytools-1.20.6.tar.gz |
|---|---|
| Size | 6.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34150152a98c267aa4534efa7d0535f603b42b47b416f22381123570aba7e72e
|
|
BLAKE2b-256 checksum How to use checksums |
72abb691a678fcba361f11d729ce60bd69e262f861374a02817abb3b1d48160f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 15, 2026.
Transparency logRelease files / anypytools-1.20.6-py3-none-any.whl
| Download URL | anypytools-1.20.6-py3-none-any.whl |
|---|---|
| Size | 44.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
292a40dbc59e9b09174a31b04c2682045ab5329b07962259f19beb40cd3c6336
|
|
BLAKE2b-256 checksum How to use checksums |
c2aa1a6b9255f32028602e4002e78cca8f228628af1cf5bb0797db20979c0695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 15, 2026.
Transparency log