Skip to main content

Dephy's Actuator Package API library

Project description

Dephy FlexSEA Library

Use this library to work with Dephy's high performance actuators and exoskeletons.

More information at https://dephy.com/faster

Usage

You can use the flexsea library in your code as follows:

from flexsea import fxUtils as fxu
from flexsea import fxEnums as fxe
from flexsea import flexsea as flex

fxs = flex.FlexSEA()
dev_id = fxs.open(...

See the sample scripts in flexsea_demo for reference in this repo.

Build Package

If you are developing this package (instead of using it for your own script). Follow these steps to build it.

This can be run in a virtual environement if needed.

# Install build dependencies
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools wheel twine
# Build package
python3 setup.py bdist_wheel
# this generates a .whl file that can be installed in your working venv

In your working virtual environment

# Install the generated package from the local file
python3 -m pip install dist/flexsea-5.0.0-py3-none-any.whl  #replace the version if needed

Publish

Once the package is ready to publish and the version has been updated. Run this to upload it to PyPi to allow users to install it via pip.

See these instructions in case you need to get a PyPi account or token.

Test Upload

Upload to test server

python3 -m twine upload --repository testpypi dist/*

Install from test server

python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps flexsea

Final upload

python3 -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flexsea-6.0.4-py3-none-any.whl (8.8 MB 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