Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

commonmeta-rs

Latest version: v0.12.22

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: mfenner
27 Versions
2.9K Downloads

Scan summary

commonmeta-rs was last scanned on 25 Nov 2026 at version 0.12.22. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 27 versions; the latest 5 were published within 5 days (21–25 Nov 2026).
  • Findings: No rules fired in version 0.12.22.
  • Downloads: 2,879 downloads.

Versions

27 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.12.22 LATEST 25 Nov 2026 No rules fired
0.12.21 22 Nov 2026 No rules fired
0.12.20 22 Nov 2026 No rules fired
0.12.19 21 Nov 2026 Not shown
0.12.18 21 Nov 2026 Not shown

No rules fired in 0.12.22

Findings

Findings for v0.12.22. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.12.22; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

commonmeta-rs (Python bindings)

PyO3 bindings exposing commonmeta-rs's list-command batch functions to Python: pidbox daily-dump fetch with local caching, lossless Parquet read/write, and batched archive rendering. Records cross the FFI boundary as plain JSON-shaped dicts — the same shape commonmeta-py's own readers and writers already produce and consume.

Install

uv pip install commonmeta-rs

Requires CPython 3.14 or newer. The wheels are built against the stable ABI (abi3-py314), so one wheel per platform also covers later 3.x releases. commonmeta-py itself keeps a 3.9 floor; only this backend needs 3.14.

Development

The interpreter must be 3.14+, matching requires-python; an older venv fails to build rather than falling back.

uv venv --python 3.14 .venv
uv pip install --python .venv/bin/python maturin pytest
source .venv/bin/activate
maturin develop
pytest tests/

Release

Releases are published by hand. PyPI trusted publishing only issues OIDC identities to GitHub, GitLab, Google Cloud and ActiveState, and this repo lives on Codeberg, so CI cannot authenticate to PyPI — the workflow builds and tests wheels only.

The version comes from [workspace.package] in the root Cargo.toml and is shared with the commonmeta crate, so a wheel names the release it wraps. Bump it there, not here.

Build one wheel per platform plus the sdist, then publish. Both wheels build on the host — no Docker. The macOS wheel is a native build; the Linux manylinux wheel cross-compiles with zig as the C cross-linker (maturin --zig). All commands are run from python/.

rm -rf dist

# One-time: the Linux cross target and zig (a pip package, no system install).
rustup target add x86_64-unknown-linux-gnu
uv pip install --python .venv/bin/python ziglang

# macOS (native — arm64 on Apple silicon)
maturin build --release --out dist

# Linux (manylinux2014 x86_64), cross-compiled with zig — no Docker, no emulation.
maturin build --release --out dist --target x86_64-unknown-linux-gnu --zig

# Source distribution (lets other platforms build from source as a fallback)
maturin sdist --out dist

uv publish --token "$PYPI_TOKEN" dist/*

Publishing from one machine uploads only the wheels present in dist/; any platform without a wheel falls back to building from the sdist. To ship binaries for more platforms (Windows, Intel macOS, Linux aarch64), add the matching maturin build --target … invocations or collect the wheels-* artifacts from the CI workflow into dist/ first.

API

  • fetch_pidbox(source, date, input_path=None, limit=None, offset=0, cache_ttl_days=30) -> list[dict] Fetch records from a pidbox daily dump (source is "crossref" or "datacite"). With input_path, reads a local SQLite file directly (no network); otherwise downloads {source}-{date}.sqlite3.zst from metadata.vraix.org, caching it locally for cache_ttl_days.
  • write_parquet(records: list[dict]) -> bytes Write records as a single lossless Parquet file.
  • read_parquet(data: bytes) -> list[dict] Read records back from Parquet bytes written by write_parquet.
  • write_archive(records: list[dict], to: str, base_name: str, batch_size=100_000) -> list[tuple[str, bytes]] Render records to to format, split into batches of at most batch_size records, returned as (entry_name, bytes) pairs ready to pack into a zip/tar archive.
  • convert(from_: str, to: str, input: str) -> bytes Convert a single record between formats.
  • read_container_sqlite(identifier: str, path: str) -> dict | None Read a container (journal, blog, repository, …) from the local store by any of its identifiers: ISSN, OpenAlex source id, DOI, Wikidata id or DataCite client id.
  • read_container_sqlite_batch(pids: list[str], path: str) -> list[dict] Read containers by the pid a search hit names them by, as {"pid", "record"} dicts; a pid the store holds no container for is left out.
  • search_page(path, query, field=None, kind=None, types=[], countries=[], years=[], languages=[], licenses=[], entities=[], limit=10, offset=0) -> dict One page of a search, narrowed by facet values: {"hits": [...], "total": n}. With kind="container", types, countries and languages narrow containers. entities searches within the works of those entities, such as a container's pid, or funder: and a ROR id.
  • search_facets(path, query, field=None, kind=None, max_values=10, max_matches=0, entities=[]) -> dict The facet counts of what a query matches: for containers, types, countries and languages. entities counts within the works of those entities, as for search_page.

Container facets are in an index built by commonmeta-rs 0.12.15 or later; rebuild an older index to count them.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases commonmeta-rs

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229