Skip to content

Convert Standalone Python file into library#53

Open
HonakerM wants to merge 14 commits into0x23:mainfrom
HonakerM:open_micro_lib
Open

Convert Standalone Python file into library#53
HonakerM wants to merge 14 commits into0x23:mainfrom
HonakerM:open_micro_lib

Conversation

@HonakerM
Copy link

@HonakerM HonakerM commented Feb 9, 2026

Hello,

This is an example implementation of the python library described here: #52

This PR also adds some base level tests for the lib as well.

@HonakerM
Copy link
Author

HonakerM commented Feb 9, 2026

CC: @0x23 Sorry for the ping but just wanted to put this on your radar

@@ -1,27 +1,27 @@
import re
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost all of these changes are caused by the ruff formatter

if 0 > axis_idx >= len(axis_chars):
raise ValueError('Axis index out of range')
cmd += ' '+axis_chars[axis_idx]
if (0 > axis_idx) or (axis_idx >= len(axis_chars)):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug fix revealed by the new testing suite

@@ -0,0 +1,21 @@
MIT License
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python projects require the license to be local to the folder. THis is a straight copy of the original license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant