Skip to main content

pydy-viz

Visualization of multibody systems generated with PyDy.

Installation

This package relies on dependencies included in the SciPy stack (i.e. NumPy and matplotlib). These packages are not necessarily easy to install from source, so it is best to follow the instructions available on the SciPy installation page.

One example of installing the setuptools, NumPy, and matplotlib dependencies for Debian based Linux systems is to install from the apt package manager:

$ apt-get install python-setuptools python-numpy python-matplotlib

Once the dependencies are installed, then download the source and install with:

$ python setup.py install

This will automatically install the latest version of the final dependency SymPy if needed.

Tests

The Python tests require nose so get them with your package manager:

$ apt-get python-nose python-coverage

or pip:

$ pip install nose coverage

The tests can be run from the root directory with:

$ nosetests

And to see more detail with coverage, run:

$ nosetests -v --with-coverage --cover-package=pydy_viz

These are alternative ways to run the Python tests:

$ bin/test
$ python setup.py nosetests

For the Javascript tests the Jasmine and blanket.js libraries are used. Both of these libraries are included in pydy-viz with the source. To run the Javascript tests, go to the javascript library directory:

$ cd pydy_viz/static/js

Then run a simple HTTP Server with Python (the server is required due to some cross browser issues with blanket.js):

$ python -m SimpleHTTPServer

Now visit http://localhost:8000/SpecRunner.html in a webgl compliant browser.

Documentation

Requires:

  • Sphinx

  • numpydoc

pip install sphinx numpydoc

To build the HTML docs:

$ sphinx-build -b html docs/src docs/build

View:

$ firefox docs/build/index.html

Release Notes

0.1.0

  • Initial release.

Release files for pydy-viz 0.1.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 pydy-viz 0.1.0
File Size Uploaded
pydy-viz-0.1.0.tar.gz 345.8 kB Details

Release files / pydy-viz-0.1.0.tar.gz

Download URL pydy-viz-0.1.0.tar.gz
Size 345.8 kB
Tags Source
SHA-256 checksum
How to use checksums
11923fc2b1bc24ac5e13c9c0d1a26c791828582e07ec20fa4b0e58b023d5b041
BLAKE2b-256 checksum
How to use checksums
8ea1a6ef443beb44b2f288c306149724e6b762e3fc7da6052b1bcf68fa3ba51d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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