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.1

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

Download URL py10x_fin_base_cxx-0.1.1-cp312-cp312-win_amd64.whl
Size 87.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8f6ec297c00e0942b4a33e76629aa5cfbecac60c17fd802380b9c17c796a807a
BLAKE2b-256 checksum
How to use checksums
0c5ede8c6612b2d4bfdf43668908aa0f73e2799c47bdca1d6593eae5ac1142d5
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.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.1-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
e13ea1c4b306f1e796511693ca6f2a3ab00eaf15021cffd31985ebf66a094dd3
BLAKE2b-256 checksum
How to use checksums
5b0b896afef4f918b4d2d296fa87eefb5ea48a96bea1abeb42ae03376857ec6f
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.1-cp312-cp312-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.1-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
37dc950e719107ba2c071156cfbe61def43ae3e305dca2b476ff078e5e699eb8
BLAKE2b-256 checksum
How to use checksums
a831c80351b02cf39fe1eba54898bb24fe7e29d1028d6d89061a9cd961c4cca9
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.1-cp311-cp311-win_amd64.whl

Download URL py10x_fin_base_cxx-0.1.1-cp311-cp311-win_amd64.whl
Size 86.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
91a48cc12b636617003180b7631be7a7cf1c7f4704e9d86d2f994a574be42a87
BLAKE2b-256 checksum
How to use checksums
0d788b3933640264550fb08dd320927dbb1030c154f58b33f7ffd36fce4c769f
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.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL py10x_fin_base_cxx-0.1.1-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
5756d50213e951d7f77df283bc6605efb996e44578737b393e9b27287320b691
BLAKE2b-256 checksum
How to use checksums
6229eb568485a71806b2aa7064c27bb16b8a46901dafcfa966050aef7953f5f4
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.1-cp311-cp311-macosx_13_0_universal2.whl

Download URL py10x_fin_base_cxx-0.1.1-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
e006d88897b02bfb755216d736fb4516006e3370944693186a23bdafe73a1954
BLAKE2b-256 checksum
How to use checksums
4d4f95d402ec69011add5580d820443e8773e2e2af4373899aa8712eb73d9709
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