Skip to main content

pyarchinit-photogrammetry-core

Native kernels of pyarchinit-photogrammetry, written in Rust (PyO3 + rayon) and imported as ppg_core. The package is optional: pyarchinit-photogrammetry keeps the numpy version of every kernel, uses it when ppg_core is missing or when PPG_NATIVE=0, and its tests compare the two.

Kernels: fusion of the depth maps of one photo, depth z-buffer and normals, projection of points with the COLMAP camera models, scoring of the photos of an orthomosaic tile, agreement of points with a depth map (confidence), PatchMatch multi-view stereo of one photo (patchmatch_depth: a plane per pixel, normalised cross correlation with the best of its neighbouring photos, red-black propagation and random refinement, from random planes or from a depth map), the GPU kernels (wgpu: SIFT, descriptor matching, PatchMatch, fusion), RTKLIB's post-processing of GNSS observations (ppk_solve, from 0.5: what rnx2rtkp -k options -o solution files does, with RTKLIB built into the extension), and the decoding of Hatanaka-compressed RINEX (crx2rnx, from 0.6: Compact RINEX 1.0, 3.0 and 3.1 into the RINEX that RNXCMP's CRX2RNX writes, by a decoder of our own written from the description of the format in Hatanaka (2008), Bulletin of the Geographical Survey Institute 55, 21-30). From 0.7 (API 10) the kernels of the TIN (engine.tin): the constrained Delaunay triangulation of the vertices with the break lines as constraints (tin_triangulate, with the crate spade, robust predicates in double precision; constraints that cross are split at a new vertex), the TIN rasterised on a grid (tin_rasterize), its contour segments (tin_contours) and its exact cut and fill against a plane (tin_volume). From 0.8 (API 11) RTKLIB's conversion of raw receiver logs into RINEX 3 (raw_to_rinex, what RTKLIB's convbin does, with convert_cancel to stop it): u-blox UBX (time marks TIM-TM2 as event records), RTCM 3 and NovAtel; Septentrio SBF, Trimble RT-17 and Unicore are known by name but their decoders are not built (vendor/rtklib/VERSION says why). RTKLIB is built with NFREQ=3 (and NEXOBS=3), as the post-processing needs, where convbin's makefile has NFREQ=4: at most 6 signals of a satellite in an epoch are kept instead of 7, so on logs of many signals (Galileo E6, BeiDou B3I, B1C and B2a beside the others) the core may write fewer observation types than convbin; on RTKLIB's samples of u-blox, RTCM 3 and NovAtel (3 signals at most) the RINEX is the same.

Build and install in the environment of pyarchinit-photogrammetry (a Rust toolchain is needed):

pip install ./native        # or: uv pip install ./native

Building it compiles RTKLIB's C sources too (vendor/rtklib, with the cc crate): a C compiler is needed (Xcode's command line tools, gcc or clang, MSVC on Windows). RTKLIB is built as C99 and without fused multiply-add (-ffp-contract=off, /fp:precise with MSVC): the integer ambiguities of a kinematic solution hang on the last bit of the arithmetic, and the arm64 compilers, which fuse by default, would otherwise fix other epochs than the x86 builds of the same project (on RTKLIB's test data 115 of 120 instead of about 40).

License: GPL-2.0-or-later. The extension includes RTKLIB-EX v2.5.1 (https://github.com/rtklibexplorer/RTKLIB, commit 62d4677ed8425a4e2748c6d390b500d1afb493fc), Copyright (c) 2007-2020, T. Takasu, distributed under the BSD 2-clause license: its text is in vendor/rtklib/license.txt and in NOTICE, which come with the package. Of RTKLIB's receiver decoders only ublox.c (T. Takasu, T. Suzuki) and novatel.c (T. Takasu) are included. Their headers name no licence: BSD 2-clause for them is inferred from the distribution (T. Takasu holds the copyright of its license.txt), see vendor/rtklib/VERSION. RTKLIB's optional routines of the IAU SOFA library (sofa.c, a licence of their own) are not included.

The Rust crates built into the extension are under licences compatible with the GPL (MIT or Apache-2.0: PyO3, numpy, rayon, wgpu, spade and their dependencies).

Metadata

Release files for pyarchinit-photogrammetry-core 0.8.0

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

Source distribution (sdist)

Source distribution for pyarchinit-photogrammetry-core 0.8.0
File Size Uploaded Provenance Actions
pyarchinit_photogrammetry_core-0.8.0.tar.gz 683.4 kB With provenance Details for pyarchinit_photogrammetry_core-0.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyarchinit-photogrammetry-core 0.8.0
File Actions
pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-win_amd64.whl
pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_11_0_arm64.whl
pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 15.0 MB

Release files / pyarchinit_photogrammetry_core-0.8.0.tar.gz

Download URL pyarchinit_photogrammetry_core-0.8.0.tar.gz
Size 683.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1eeb68b4e4479169f8a2717731bff28176bcd2b69efd6b3142e10eb746e1199c
BLAKE2b-256 checksum
How to use checksums
a740a7e540ab2e3c709cb49f86bb7cf313bf39bb9b5de49126ca2377444c8ddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Release files / pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-win_amd64.whl

Download URL pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
54e3a55526e36f19ab1e219516302c3e2505af09beba1d3bae05bcbb1bc27a9a
BLAKE2b-256 checksum
How to use checksums
d394f281521d5c0c28cc6d13351014437f9127acbbcec309b472f94981103d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Release files / pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
8200ad9844259e4ba7ab375894bcb7ef9f9066a6c6afd36b16648c101a462102
BLAKE2b-256 checksum
How to use checksums
ef1e1932cf828a7d2b61f77c581ccc1152ef3ed1f66a378d42d500b7242bc8ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Release files / pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6401fd48650bfdea9a5c6a99e59aa4fcadb1930bcc08083a42e248261d3a473d
BLAKE2b-256 checksum
How to use checksums
01cc7fd2d3d572e2a5383f8ae90b1cb43ca7d6cc9bf4394e172016b6a9e19ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Release files / pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_11_0_arm64.whl
Size 2.3 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
49e246d0df805cb873f071d47503afc138a7b2023693cdbd9682087ede65dd48
BLAKE2b-256 checksum
How to use checksums
5c75818485e0f7c39bf0ef93be642984844b7ffb133dc5bc9c1e84a4957ebc17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Release files / pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL pyarchinit_photogrammetry_core-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 2.4 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d78f063b493973ed132f928468968c755d2b2ff4a2b30659a539212c47a3370a
BLAKE2b-256 checksum
How to use checksums
58360c06effdce511dc25fc238b0958592b1a1b2ebf97244026e29d7d0a77c95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Security for pyarchinit-photogrammetry-core 0.8.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for pyarchinit_photogrammetry_core-0.8.0.tar.gz

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 Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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