Skip to main content
akpub

=================

A generic ROS2 publisher that can publish numbers, strings, images, or video frames with minimal setup.

Installation
------------
First, make sure you have a working ROS2 environment with `rclpy` and `cv_bridge` installed.

Then clone this repository and install:

git clone https://github.com/yourname/akpub.git
cd akpub
pip install .

Usage
-----
Example Python usage:

import akpub

akpub.metadata(
mode=None, # Auto-detect from datatype
datatype="Float64", # e.g., "String", "Int32", "Image"
node_name="num_publisher",
topic_name="number",
value=42.5, # Can be number, string, or image frame
queue=10,
delay=1.0
# video_source=0 # Only needed for video mode
)

Supported Datatypes
-------------------
- String (std_msgs.msg.String)
- Int32 (std_msgs.msg.Int32)
- Float32 (std_msgs.msg.Float32)
- Float64 (std_msgs.msg.Float64)
- Bool (std_msgs.msg.Bool)
- Image (sensor_msgs.msg.Image)

Notes
-----
- `mode` can be "number", "string", "image", "video", or None for auto-detect.
- For video mode, set `video_source` to a camera index (e.g., 0) or a video file path.
- Requires `rclpy` and `cv_bridge` to be installed in your ROS2 Python environment.

Metadata

Release files for akpub 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 akpub 0.1.0
File Size Uploaded Provenance Actions
akpub-0.1.0.tar.gz 3.2 kB Without provenance Details for akpub-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for akpub 0.1.0
File Interpreter ABI Platform Actions
akpub-0.1.0-py3-none-any.whl Python 3 none any Details for akpub-0.1.0-py3-none-any.whl

Total release size: 6.7 kB

Release files / akpub-0.1.0.tar.gz

Download URL akpub-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1c2da9fc1c80231cdc2f37e31b64dee59fe68cab22ba0abdbae4cf7e4cf1a91b
BLAKE2b-256 checksum
How to use checksums
269dddc5277fc0fd979a5379d4b4e30e1a6f43ed458c03ff66b10b1ea6dcd1d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.4

Release files / akpub-0.1.0-py3-none-any.whl

Download URL akpub-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebad33ffcea877f2beac1495e4fcda29aa7489e1a84f5772a4728f1097f0f4e2
BLAKE2b-256 checksum
How to use checksums
94480df275818d4b46a285a087e6b1d6834f66be91d9482e7f82332c93321d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.4

Security for akpub 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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