GithubHelp home page GithubHelp logo

archival-0x / libcpuid Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 18 KB

Simple C to Python CPUID interface library

Home Page: https://codemuch.tech/2018/07/20/python-c-cpuid.html

License: MIT License

C 92.03% Python 7.97%
cpuid python c abi low-level asm

libcpuid's Introduction

libcpuid

cpuid interaction library

intro

cpuid is an instruction supported in various architectures that performs processor introspection, grabbing information about processor type and feature support (i.e SSE).

We create a simple wrapper to cpuid to C and Python.

features

  • Extensible Base C library - libcpuid provides a base library that can easily be plugged into any programming language through FFI (or the language's API, if permittable). There are Python bindings available with this library.

  • Easy-to-use methods - libcpuid utilizes straightforward and simple methods for users.

usage

To build the Python (3.6.x) bindings:

$ python setup.py install
$ python
...
> import cpuid

license

mit

libcpuid's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.