Skip to main content

py10x-fin-base-cxx (cxxfin import)

Native extension for py10x-fin-base. Dist name is py10x-fin-base-cxx; the import module remains cxxfin. Install py10x-fin-base (not this package directly). Built with pybind11 and scikit-build-core.

Architecture

  • cxxfin.cpp — pybind11 module source; PYBIND11_MODULE name is cxxfin
  • generate_stubs.py — post-build stub generation; promotes py10x_kernel to RTLD_GLOBAL before importing cxxfin so that BTraitable typeinfo is visible (macOS flat namespace requirement)
  • Headers fetched from cxx10x at the exact git commit matching the installed py10x_kernel binary (version string contains the hash)

Subclassing py10x_kernel types

py10x_kernel is built with CXX_VISIBILITY_PRESET default so its vtables and typeinfo are exported. On import it promotes itself to RTLD_GLOBAL via dladdr + dlopen(RTLD_NOW | RTLD_GLOBAL | RTLD_NOLOAD), making its symbols visible to subsequently loaded extension modules. py10x_kernel must be imported before cxxfin — this holds in normal usage since it is always loaded as part of the py10x-core import chain.

Incremental, automatic rebuild

cxxfin is automatically rebuilt on import cxxfin whenever the sources changed.

Clean rebuild

Needed when changing build structure, e.g. adding source files, editing CMakeLists.txt):

uv pip uninstall py10x-fin-base-cxx
rm -rf .venv/py10x-build/cxxfin
uv sync --reinstall-package py10x-fin-base-cxx
  • uv pip uninstall py10x-fin-base-cxx — removes the editable finder from site-packages, which otherwise intercepts import cxxfin during stub generation and causes a circular rebuild failure
  • rm -rf .venv/py10x-build/cxxfin — wipes the stale CMake cache
  • uv sync --reinstall-package py10x-fin-base-cxx — rebuilds and reinstalls from scratch

Normal development (edit C++ source → run) does not require this; the editable rebuild fires automatically on import.

Debug build

cxxfin builds Release by default. For Debug build, set the build type via scikit-build-core's env override and re-run uv sync, for example:

SKBUILD_CMAKE_BUILD_TYPE=Debug uv sync --reinstall-package py10x-fin-base-cxx

The build type is fixed at sync time (baked into the editable install along with the build-dir), so switching is just another sync — SKBUILD_CMAKE_BUILD_TYPE=Debug uv sync --reinstall-package py10x-fin-base-cxx for Debug, plain uv sync --reinstall-package py10x-fin-base-cxx for Release. Because each type has its own tree under .venv/py10x-build/cxxfin/<Debug|Release>/, switching does not rebuild from scratch.

Release files for py10x-fin-base-cxx 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for py10x-fin-base-cxx 0.1.0
File
py10x_fin_base_cxx-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
py10x_fin_base_cxx-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
py10x_fin_base_cxx-0.1.0-cp312-cp312-macosx_13_0_universal2.whl CPython 3.12 CPython 3.12 macOS 13.0+ universal2 (ARM64, x86-64) Details
py10x_fin_base_cxx-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
py10x_fin_base_cxx-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
py10x_fin_base_cxx-0.1.0-cp311-cp311-macosx_13_0_universal2.whl CPython 3.11 CPython 3.11 macOS 13.0+ universal2 (ARM64, x86-64) Details

Total release size: 705.3 kB

Release files / py10x_fin_base_cxx-0.1.0-cp312-cp312-win_amd64.whl

Download URL py10x_fin_base_cxx-0.1.0-cp312-cp312-win_amd64.whl
Size 87.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
03ce6ffdaaca904926ea46aef62d6e553bbfc91cfefd050d71ceb204696b43a1
BLAKE2b-256 checksum
How to use checksums
f96069cbc26227a5e1220dc326531e95ff6a099b9f3780c261c4273fe1f35583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Size 100.2 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
76c5d86d3ac1ac03a1784cfd25ca97a1a117e17431ade23febab1fe02769df1f
BLAKE2b-256 checksum
How to use checksums
a790a955d8a3596e08ff8dbf32b968dd8a5e4e41f10de10adc09cbfd89d528d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.0-cp312-cp312-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.0-cp312-cp312-macosx_13_0_universal2.whl
Size 165.8 kB
Tags CPython 3.12 macOS 13.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6bc162ad00ec7333be7d705189370ce274db37f46aea60f4bc8b6607134a3df8
BLAKE2b-256 checksum
How to use checksums
34a91edaa4cb5efe01fc02cc29751890fc43b65d632c25f958ba43ee5b893786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.0-cp311-cp311-win_amd64.whl

Download URL py10x_fin_base_cxx-0.1.0-cp311-cp311-win_amd64.whl
Size 86.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
98a1053dde6624f636e3f2540e5c92bf9288daa0711d88f049f3a211373e8207
BLAKE2b-256 checksum
How to use checksums
b91c4d5d7cd7cccd28baa0b8dd580fb33965493a5e8a6e2ceee41c9df48f182f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Size 100.1 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b559d0099a4470650b402e38a884f48600d8e2928649f488f3e28a61b0e18fd4
BLAKE2b-256 checksum
How to use checksums
3c92b0255c6f09453095bd5799f69693ba093f1a6400c2da03ec8d26a27438f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.0-cp311-cp311-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.0-cp311-cp311-macosx_13_0_universal2.whl
Size 165.6 kB
Tags CPython 3.11 macOS 13.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
cae141bb045f12a3db83f8da30b8d38601cb728e811fe620dd33e36e3c9b0f47
BLAKE2b-256 checksum
How to use checksums
9fbc7f75d700dd4f17ec87eff04f766fa8927a9b31aec65c820fd7c548f27450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page