What is techmanpy?
techmanpy is an easy-to-use communication driver for Techman robots written in Python.
With it, motion commands can be executed, internal parameters can be changed and the state of the robot can be monitored: providing a solid foundation for any custom (ROS) control software.
By using asyncio for all socket communications, it provides an elegant coroutine-based API.
Here's how to command your robot to move:
#!/usr/bin/env python
import asyncio
import techmanpy
async def move():
async with techmanpy.connect_sct(robot_ip='<robot IP address>') as conn:
await conn.move_to_joint_angles_ptp([10, -10, 10, -10, 10, -10], 0.10, 200)
asyncio.run(move())
And here's how to listen to the TMFlow server:
#!/usr/bin/env python
import asyncio
import techmanpy
async def listen():
async with techmanpy.connect_svr(robot_ip='<robot IP address>') as conn:
conn.add_broadcast_callback(print)
await conn.keep_alive()
asyncio.run(listen())
Requirements
TMFlow: 1.80+
Python: 3.8+
Installation
$ python3 -m pip install techmanpy
Test connection with TMFlow
To verify that your connection with the robot is all set-up:
$ python3 test_connection.py <robot IP address>
What else?
Bug reports, patches and suggestions are welcome! Feel free to open an issue or send a pull request.
techmanpy is not affiliated, authorized, or in any way officially connected with Techman Robot. Use this software at your own risk, it did not undergo any official quality assurance.
This package is released under the MIT license.
Metadata
Release files for techmanpy 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| techmanpy-1.2.tar.gz | 12.3 kB | Without provenance | Details for techmanpy-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| techmanpy-1.2-py3-none-any.whl | Python 3 | none | any | Details for techmanpy-1.2-py3-none-any.whl |
Total release size: 29.5 kB
Release files / techmanpy-1.2.tar.gz
| Download URL | techmanpy-1.2.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08c71dc27492609aaa3191d124e2e97ebb7ca136c6c3d79846b32f8bf1f42eea
|
|
BLAKE2b-256 checksum How to use checksums |
9f59c0379d867fcede067604c504d47f8ed590405e693cc1117ada56474b1fcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
|
Release files / techmanpy-1.2-py3-none-any.whl
| Download URL | techmanpy-1.2-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c55b5adef1467ec1092649fc7aef7f98273ce784322a8025df21e13e63520ad
|
|
BLAKE2b-256 checksum How to use checksums |
addecc7cfaeee6ad1a46caeba2d91f2d28f148a46c42bfa555f0a073404d92fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
|
Security for techmanpy 1.2
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.