PYPI PACKAGE AUDIT v0.0.9 Enterprise-konform

standards-sync

Keep the canonical code standards in sync with the workspace root and dotfiles copies.

PyPkgScore standards-sync
Methodik & Kriterien ♥ Donate
955 / 1000
Schnellinstallation
pip install standards-sync
1. Governance
200/200
2. PEP-Metadaten
200/200
3. Sicherheit
200/200
4. Doku & SEO
155/200
5. CI-Engineering
200/200
📣 Prüfung teilen: Teilen Sie diesen Bericht und die Vorschau in der aktuellen Sprache
Advertisement
PYPI-TELEMETRIE

Downloads & Community-Verbreitung

Letzte 30 Tage (ohne Spiegelserver)
Letzte 7 Tage
615
Letzte 30 Tage
615
Gesamt (180 Tage)
615
Metrik / Ökosystem Status / Wert Quelle
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 955 / 1000 PyPkgScore Engine

Gesundheits- & Engineering-Analyse (5 Säulen)

1. Governance & Community200 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✓ 50 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✓ 50 pts
2. PEP-Metadaten & Paketierung200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Sicherheit & Lieferkette200 / 200 ▾
Null CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS-Repository✓ 50 pts
4. Dokumentation, SEO & Ökosystem155 / 200 ▾
Strukturierte README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Webseite / Fachartikel✓ 45 pts
5. Engineering, CI & Qualität200 / 200 ▾
Automatisierte Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✓ 35 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✓ 35 pts
Advertisement
README & DOCS

Offizielle Dokumentation & Nutzungsleitfaden — standards-sync

PyPI Metadata v0.0.9
Vollständige Originaldokumentation anzeigen (Englisches README) ▾

Contents

Getting started

  • Install: from PyPI, make install, or the dotfiles
  • Requirements: toolchain floor, platforms
  • Quick Start: push the standards to a scratch directory and check them

The standards ecosystem

Library reference

Operational


Install

As a Python library

uv tool install standards-sync      # or: pipx install standards-sync

This installs the standards-sync command from PyPI; its functions are importable as standards_sync. The upload is made by trusted publishing and carries build provenance (Verifying releases).

From a clone, with the manpage and bash, zsh and fish completions:

make PREFIX="$HOME/.local" install

The dotfiles also install it as ~/.local/bin/standards-sync, and link ~/Code's standards to a clone of this repository.


Requirements

Requirement Version Why
Python 3.9 or later the minimum toolchain is the macOS system python3; see the policy in docs/POLICIES.md
git any to tell a published version of a file from an edit
OS macOS, Linux tested on both in CI

Quick Start

make PREFIX="$HOME/.local" install
export PATH="$HOME/.local/bin:$PATH"
export STANDARDS_REPO="$PWD" STANDARDS_TARGETS="$PWD/build/quickstart"
standards-sync --push     # copy the five standards to the scratch directory
standards-sync --check    # every file [OK]

Run from a clone, this installs the command and tries it on a scratch directory, leaving ~/Code and the dotfiles alone. Unset STANDARDS_TARGETS to work on the real targets. CI runs this block as written.


The standards ecosystem

The standards are edited here, carried to every machine by the dotfiles, and measured across the portfolio by the compliance audit.

Component Purpose Use case
AGENTS.md Invariants for AI-assisted and human work Read before changing any repository
GEMINI.md Pointer file for Gemini and other agents Loaded at the start of an agent session
REPO-STANDARD.md The eight-category scorecard and its phases Rating and raising a repository
README-TEMPLATE.md The layout of every primary README Writing or checking a README
PR-TEMPLATE.md The shape of every pull request description Opening a pull request
standards-sync Keeps every copy identical without losing an edit ~/Code and dotfiles upkeep
dotfiles Installs the command, links ~/Code here A new machine

Capabilities at a glance

Area Capability Status
Standards Five canonical files, released together Stable
Sync Drift check with diffs Stable
Sync Push that keeps edits made in place Stable
Sync Pull that adopts a ~/Code edit Stable
Sync Git hooks that push on commit and merge Stable
Tooling Manpage and completions from the parser Stable

Ecosystem comparison

This section does not apply: the repository is one portfolio's governance, not a product with alternatives, and no comparison is claimed.


Benchmarks

This section does not apply: standards-sync hashes and copies five small text files, and no performance claim is made.


Features

  • One source. A rule changes here, in a pull request, and nowhere else.
  • Safe push. A target file is overwritten only if it is missing, identical, or a version this repository committed. An edit made in place is kept and named, and the push exits 1.
  • Links respected. A target that links to the source is left alone.
  • Pull. An edit made in ~/Code is adopted, then pushed to the dotfiles copies.
  • Checks that bind this repository too. CI holds the README to README-TEMPLATE.md, the GitHub PR template to PR-TEMPLATE.md, and every function to the complexity ceilings of AGENTS.md.

Configuration

Variable Effect
STANDARDS_REPO The source directory, tried before any other
STANDARDS_TARGETS Target directories, separated by :, replacing the defaults

Without them, the source is found from the script's location or under ~/Code, and the targets are ~/Code and the dotfiles copies that exist. docs/ARCHITECTURE.md lists the exact order.


Examples

standards-sync --check          # what differs, with diffs; changes nothing
standards-sync --check -q       # one warning line, or silence
standards-sync --push           # bring every copy up to date
standards-sync --push --force   # also overwrite files edited in place
standards-sync --pull           # adopt an edit made in ~/Code
standards-sync --install-hooks  # push after every commit and merge here

When not to use standards

  • The default targets are one workspace's layout (~/Code, chezmoi dotfiles). Elsewhere, set STANDARDS_TARGETS.
  • It syncs exactly five files. It is not a general file synchroniser.
  • The rules are opinionated (0.0.x versioning, one release pull request, signed-off commits). Adopt them knowingly.
  • Windows is not tested.

Development

uv sync --frozen
make check        # every gate CI runs
make help         # every task

make check runs ruff, the complexity ceilings, codespell, REUSE, markdownlint, actionlint, the tests at 95 percent branch coverage, the property-based fuzz corpus, the strict manual build, the API breakage check, pip-audit and a reproducible-build comparison. See DEVELOPMENT.md.


Security

standards-sync writes only the five standard files, into the targets it lists, and git hooks into this checkout. Commits and tags are signed (KEYS.asc), every Action is pinned by SHA, dependencies are locked and audited on every push, and releases carry checksums, an SBOM and build provenance. CodeQL, secret scanning and the OpenSSF Scorecard run on main.

The project holds the OpenSSF Best Practices passing badge.

Report vulnerabilities according to SECURITY.md.


Documentation


Stability guarantees

Versions rise by 0.0.1 per release (AGENTS.md section 3). For standards-sync, the options, exit status, status words and environment variables are the contract, and a push never overwrites an edit made in place without --force: changing any of these is breaking, even with no option renamed. The public Python API is checked against the last release in CI. The minimum toolchain is Python 3.9 and rises only with the macOS system Python. Details in docs/POLICIES.md.


License

Dual-licensed under either:

at your option.

Copyright © 2026 Sebastien Rousseau.