Skip to content

Example pybind11 module built with a Python-based build system

License

Notifications You must be signed in to change notification settings

mxklabs/mxklabs-bitblaster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mxklabs-bitblaster

⚠️ This library is under development and is not ready for general use.

Installation

On Unix (Linux, OS X)

  • clone this repository
  • pip install ./mxklabs-bitblaster

On Windows (Requires Visual Studio 2015)

  • For Python 3.6+:
    • clone this repository
    • pip install ./mxklabs-bitblaster

CI Examples

There are examples for CI in .github/workflows. A simple way to produces binary "wheels" for all platforms is illustrated in the "wheels.yml" file, using cibuildwheel. You can also see a basic recipe for building and testing in pip.yml, and conda.yml has an example of a conda recipe build.

Building the documentation

Documentation for the example project is generated using Sphinx. Sphinx has the ability to automatically inspect the signatures and documentation strings in the extension module to generate beautiful documentation in a variety formats. The following command generates HTML-based reference documentation; for other formats please refer to the Sphinx manual:

  • cd mxklabs-bitblaster/docs
  • make html

License

pybind11 is provided under a BSD-style license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

Test call

import bitblaster
bitblaster.add(1, 2)

About

Example pybind11 module built with a Python-based build system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • CMake 1.1%
  • C++ 0.8%