Skip to main content

citation-cli

Cite, don't import — track cited code in pyproject.toml with Quote / Paraphrase / Synthesize semantics.

Install

uv tool install citation-cli

Or with pip:

pip install citation-cli

Usage

Record a citation — scans files in the target directory and records each as a quote with its sha256 hash in pyproject.toml:

cite add my-pkg \
  --source ../packages/ref \
  --version 1.0.0 \
  --target ./src/clients/my-pkg

Check integrity of cited files — compares sha256 hashes of quoted files, reports drift or missing files:

cite check

Check a specific package:

cite check my-pkg

File status

Files are tracked with one of three statuses:

  • quote — exact copy, sha256 recorded, checked for drift
  • paraphrase — intentionally modified, skipped during check
  • synthesize — merged into an existing file, skipped during check

Migrating from assimilai

If you have a legacy [tool.assimilai] manifest, migrate it to the v2 [tool.citation] schema with:

cite migrate

Use --dry-run to preview the translation without writing.

Documentation

Metadata

Release files for citation-cli 0.1.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 citation-cli 0.1.0
File Size Uploaded Provenance
citation_cli-0.1.0.tar.gz 6.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for citation-cli 0.1.0
File Interpreter ABI Platform
citation_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / citation_cli-0.1.0.tar.gz

Download URL citation_cli-0.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0629c8ea2e1733162f34b66f9ca539c5cf8ac0e6acbf04a5d8e4fd7031ff07a0
BLAKE2b-256 checksum
How to use checksums
c7facaa57183d370b88531ea50918a55592ec8d89ac22f5d8429b8198a7e4df9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / citation_cli-0.1.0-py3-none-any.whl

Download URL citation_cli-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33c633778a8a39ad561f954ea0f6085f6a37a3b16ed1f2411a93779755e98145
BLAKE2b-256 checksum
How to use checksums
e974a9538a062dd0c16f4db46b5a2d63476c8ea212a48771718f532b79a2430e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for citation-cli 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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