Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.2rc19

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.2rc19
File
py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
py10x_fin_base_cxx-0.1.2rc19-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.2rc19-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.2rc19-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
py10x_fin_base_cxx-0.1.2rc19-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.2rc19-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.7 kB

Release files / py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-win_amd64.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-win_amd64.whl
Size 87.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a959efc9fa9f4c39d589339639c9e30d06af6d40359cd528a71b875056c1c7bd
BLAKE2b-256 checksum
How to use checksums
f7d6a2a601b1312becba9123e05b8d6f375becd0e028c23c7b23e4f135a53f9e
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 Sep 26, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-manylinux_2_34_x86_64.whl
Size 100.3 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
335430b0f7954e8b10c68c286742df1bb0d989d1f50d92c9c75ab198fbdb5c77
BLAKE2b-256 checksum
How to use checksums
ac265bedba7c7ea88f2ef8ef15b5f0cdeb8e30e73e33b7d2f82d9171350d9d97
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 Sep 26, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-cp312-cp312-macosx_13_0_universal2.whl
Size 165.9 kB
Tags CPython 3.12 macOS 13.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
49e1f389c126846be51c647b143422a2f1d2cef409e6f4d2397135f369e2b0c4
BLAKE2b-256 checksum
How to use checksums
e2d522856377075bafc335cbdd6cd240e040f18f53e99b9b26fcd46f2182c228
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 Sep 26, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.2rc19-cp311-cp311-win_amd64.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-cp311-cp311-win_amd64.whl
Size 86.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9aca6609f31f6d5cf37e634e6e593483acc6bc9db789d563cecd07056b40d752
BLAKE2b-256 checksum
How to use checksums
d233e29a633ccf6c9d6718a42e8967231c6ca7c217301433a45d68c1d4641776
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 Sep 26, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.2rc19-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-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
1f4d1b67a742fb932c81d9f93f27a5846d31ab6c1db936e79f641280ebc41625
BLAKE2b-256 checksum
How to use checksums
5b9e5936babcad73053743f0fae8a68d03aeeecb81c9a57b74e9bbbbe407f329
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 Sep 26, 2026.

Transparency log

Release files / py10x_fin_base_cxx-0.1.2rc19-cp311-cp311-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.2rc19-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
590744f4e2774b845cd52a1859948702fca730e03d8c3b2ac51705110a958d92
BLAKE2b-256 checksum
How to use checksums
62b6fcfc5f9deb2594bb852b42a301e363ab5657a7406dd6d37cecbaddabc13a
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 Sep 26, 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