ROS Type Tokens
This is a small Python library that provides type tokens (objects that represent a type) for Robot Operating System built-in types and message types.
This library was initially developed as a utility of the HAROS framework, and is now distributed on its own.
What Is In The Box
This repository contains a Python package, and the respective source code, to create (manually or automatically) type tokens for the various ROS data types. Type tokens contain attributes not only of the type itself but also of any related subtypes. For example:
from rostypes import HEADER
HEADER.type_name # 'std_msgs/Header'
HEADER.is_builtin # True
HEADER.is_primitive # False
HEADER.is_message # True
HEADER.constants # {}
HEADER.fields # {'seq': UINT32, 'stamp': TIME, 'frame_id': STRING}
assert HEADER.fields['seq'].is_number
assert HEADER.fields['stamp'].is_time
assert HEADER.fields['frame_id'].is_string
Installing
To install this package, make sure that you have Python 2.7 or greater. Simply run the command:
pip install ros-type-tokens
Bugs, Questions and Support
Please use the issue tracker.
Contributing
See CONTRIBUTING.
Acknowledgment
Until March 2021, this work was financed by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-INF/29583/2017 (POCI-01-0145-FEDER-029583).
Metadata
Release files for ros-type-tokens 0.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 |
|---|---|---|---|---|
| ros-type-tokens-0.1.2.tar.gz | 8.3 kB | Without provenance | Details for ros-type-tokens-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ros_type_tokens-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for ros_type_tokens-0.1.2-py3-none-any.whl |
Total release size: 18.1 kB
Release files / ros-type-tokens-0.1.2.tar.gz
| Download URL | ros-type-tokens-0.1.2.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ef7debb8dab381c574255376d059767be5a882cd0b25a07d69a67c4e9ba78cc
|
|
BLAKE2b-256 checksum How to use checksums |
0c78cdf32bfb25749abe7c61d1f7e4645064de49fb7de0c93798d71bad89a56c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
|
Release files / ros_type_tokens-0.1.2-py3-none-any.whl
| Download URL | ros_type_tokens-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a707a7fe1a0fbbbaf564f54e9cef376d84d25167e2f108db158a7798395b917a
|
|
BLAKE2b-256 checksum How to use checksums |
4ade52caf960970e5ca6c5e8ab9dc5466a8d91cd024db2b2ab233ad9afc0f35a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
|
Security for ros-type-tokens 0.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.