Python tools and utilities for working with the AnyBody Modeling System
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anypytools-1.20.4.tar.gz.
File metadata
- Download URL: anypytools-1.20.4.tar.gz
- Upload date:
- Size: 6.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41666f813e70cfdc48db95e0b240e62b042d4719b17a9d45cd2ddb18a01ef4d5
|
|
| MD5 |
64aa0a27744533aeafcd86aab9ca0b67
|
|
| BLAKE2b-256 |
6db534587398c9c244406d146420aa0cdb0ece8e40b5a4e9b2f13266298f3908
|
Provenance
The following attestation bundles were made for anypytools-1.20.4.tar.gz:
Publisher:
build.yml on AnyBody-Research-Group/AnyPyTools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anypytools-1.20.4.tar.gz -
Subject digest:
41666f813e70cfdc48db95e0b240e62b042d4719b17a9d45cd2ddb18a01ef4d5 - Sigstore transparency entry: 828868900
- Sigstore integration time:
-
Permalink:
AnyBody-Research-Group/AnyPyTools@939247512b8cb58ccf33713ec942f7da03c24c3f -
Branch / Tag:
refs/tags/1.20.4 - Owner: https://github.com/AnyBody-Research-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@939247512b8cb58ccf33713ec942f7da03c24c3f -
Trigger Event:
push
-
Statement type:
File details
Details for the file anypytools-1.20.4-py3-none-any.whl.
File metadata
- Download URL: anypytools-1.20.4-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e23cee9430514b17f458ad18d311239c6e64c4f262bb7e72ccbb092a7ee240e8
|
|
| MD5 |
6b827ff997b846066b6bf651f6a6e090
|
|
| BLAKE2b-256 |
fd1070b4c6f0500777b20ef34eebe2af368109f78f8d921fb27865cbf650449b
|
Provenance
The following attestation bundles were made for anypytools-1.20.4-py3-none-any.whl:
Publisher:
build.yml on AnyBody-Research-Group/AnyPyTools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anypytools-1.20.4-py3-none-any.whl -
Subject digest:
e23cee9430514b17f458ad18d311239c6e64c4f262bb7e72ccbb092a7ee240e8 - Sigstore transparency entry: 828868911
- Sigstore integration time:
-
Permalink:
AnyBody-Research-Group/AnyPyTools@939247512b8cb58ccf33713ec942f7da03c24c3f -
Branch / Tag:
refs/tags/1.20.4 - Owner: https://github.com/AnyBody-Research-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@939247512b8cb58ccf33713ec942f7da03c24c3f -
Trigger Event:
push
-
Statement type: