Git Product home page Git Product logo

usbinfo's Introduction

USBInfo

USBInfo provides Python developers a way to uniformly access information about USB endpoints on a system without the need to understand the fine details of any one particular platform's implementation of USB. This is useful in robotics and device automation and allows developers to write more portable code.

Build Status

More information can be found in the documentation.

usbinfo's People

Contributors

jeffherman avatar ravsa avatar thetom avatar yusufm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbinfo's Issues

Return proper types for each field

Numerical values like vendor ID, product ID, and interface numbers are all currently encoded as strings. Unfortunately, there's no way to fix this without making the current function backwards incompatible.

To work around this, I'm proposing adding a new method to return data with the right types.

Fixes for Python 3.0+

Proposed pull request #5 contains fixes for Python 3.0 including changes to plist API and iteritems().

Fix macOS version parsing

platform.mac_ver() now returns minor version numbers for recent versions of macOS. The version comparison should be fixed to account for this.

Return data as named tuple

This cannot be done without making the current API backwards incompatible. I'm proposing adding a new method for this with the ability to specify search filters through keyword arguments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.