Skip to content

Python and Labgrid support #4

Description

@Basseuph

Hi,

I looked into this project and found it potentially useful for us in the lab for I2C operation.

Due to the fact that our testing is mostly relying on Python code, I quickly moved forward and prototyped a mostly google gemini generated Python based user space driver, including the examples, derived from your nicely done C code. I renamed this python library to picodepot as pypi reports another depot library existing already, we may find another name if you like.

In addition I prototyped labgrid, see https://github.com/labgrid-project/labgrid, support for the adapted python based cli2c tool.

All of this worked well enough, even remotely operated via network, that we will now investigate if this will be our new way of remote I2C operation in the lab. It will be rarely used, but anyway, one use case is currently being developed.

My question to for now is, are you interested in the respective code? If so, we will do some clean-up, an internal review, some further testing and then open a PR hopefully sooner rather than later. If you are not so interested, then this will be put back on the backlog soon and we will revisit this at some later time, likely.

I am happy to provide some more overview about what we did why so far. Hope to get in touch with you soon.

Ulrich

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions