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.

Metadata

Release files for py10x-fin-base-cxx 0.1.2

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

Download URL py10x_fin_base_cxx-0.1.2-cp312-cp312-win_amd64.whl
Size 87.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
097cb5eb089a137697360637f6b6b8d22c7c6a755115f8c7b06df15facf787d2
BLAKE2b-256 checksum
How to use checksums
f8ca763378f6f66e22da788b0a35a239c3e41ceb961fa08ce63420087f875bdd
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 Oct 2, 2026.

Transparency log

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

Download URL py10x_fin_base_cxx-0.1.2-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
337bc3c5cf05aeb94c496ec3b8cb995cfe7807fa2999dfb8825c2432ab98a5d7
BLAKE2b-256 checksum
How to use checksums
8cfe102b60e3b3273fd1599d623c9717a77b5215fefbd76ca4dc2eac8d52cdc6
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 Oct 2, 2026.

Transparency log

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

Download URL py10x_fin_base_cxx-0.1.2-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
815ee7e61b6c5474ec4c6433617125ead985ef42571cf646e4ab8b5d5b09cf3a
BLAKE2b-256 checksum
How to use checksums
a22f94f7f60f99dd743566a9e79b0ced5fdbd4ef658ef29554fbc469aecbee9f
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 Oct 2, 2026.

Transparency log

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

Download URL py10x_fin_base_cxx-0.1.2-cp311-cp311-win_amd64.whl
Size 86.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4ff8abf83988ee44cfc11d9e12db9b727f7963b61c06d0eb446f0bb81fc5967b
BLAKE2b-256 checksum
How to use checksums
62e9fb17b5c254d737d4111c55518aa8f4ecd868cfbb53777241d6db5bed9028
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 Oct 2, 2026.

Transparency log

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

Download URL py10x_fin_base_cxx-0.1.2-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
c9e452ed4394d5a685617f05d7510b37a03c710cf86784a8ea0de61772003f38
BLAKE2b-256 checksum
How to use checksums
e4ac6524626f551f99618ff517574fec8b23cdf178030fb2c1a91656b4c419d3
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 Oct 2, 2026.

Transparency log

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

Download URL py10x_fin_base_cxx-0.1.2-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
4fac206314f2799c749667bab00b40831de50da5dad68ca586723e2e75244ebd
BLAKE2b-256 checksum
How to use checksums
b22b56a37b2a8c210343cf8f8f233ee461ea60d265aae3b3e5f84437dfb39dfb
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 Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

6 release files

0.1.1

6 release files

0.1.0

6 release files

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