Skip to content

Services

Python bindings for C and C++ SDKs

Your SDK is written in C or C++, and more of the people who want to use it write Python. We design and write its Python API, package it for every platform your users run, and hand it over in your repository.

Who asks for it

Python has become the language engineering teams automate with. The requests we see come from four places:

Some SDK vendors in CAD data exchange already ship a Python package, and others have one on their public roadmap. A customer who can pip install your SDK can try it in an afternoon.

What we deliver

Where the difficulty is

Exposing a function takes a few lines. The work is in what happens at the boundary between the two languages, on real files and under real use:

How it runs

  1. 1We talk about your SDK What it does, who uses it, and which part of it your users ask for first. We tell you how we would bind it.
  2. 2Proof of concept, 4 to 6 weeks We choose one module of the SDK together and bind it end to end, from the C++ call to an installable wheel. It validates the architecture before anything larger is decided.
  3. 3Review, about 2 weeks A joint review of the proof of concept, adjustments, and the full scope and technical choices agreed.
  4. 4Project The whole SDK covered, with the test suite, CI and CD, packaging for every platform, and documentation. The length depends on the size of the SDK.
  5. 5Maintenance, if you want it Updates for each SDK release, and changes to the API as your users ask for them.

This order adapts to your constraints. The proof of concept is there so you can judge the approach on your own code at a small cost.

You keep the intellectual property. We work in your repository, under your licence. The bindings, the build and the design of the API belong to you, and so do the decisions about what to expose.

What we have done

A translator on the Datakit SDK in C++17 with Python bindings, shipped as native wheels for Linux and Windows with OpenCASCADE linked in. A NURBS module compiled with Cython, 100× faster than the same evaluation in pure Python. A pure-Python kernel moved onto OpenCASCADE while keeping its Python API.

Start with one module

Tell us which SDK it is, and which part of it your users ask for first. We will propose a proof of concept on that module.

Contact us