clipboard-claim-audit
Version 0.1.0. Offline static audit of documented pasteboard delivery capabilities against Python source. Source is parsed as AST and never executed. No runtime dependencies.
Install and run:
python3 -m pip install .
clipboard-claim-audit ./project --json
python3 -m clipboard_claim_audit ./project --verbose
python3 -m unittest discover
The positional argument is a readable project directory. --ignore GLOB is repeatable and matches root-relative paths. --fail-on HIGH is the default; --fail-on MEDIUM also fails for test-only evidence. --json emits structured results; --verbose lists evidence paths in human output. --version prints the version. Exits: 0 for PASS, 2 for findings reaching the threshold, 1 for usage or read errors. Findings below the threshold remain visible.
Root README.md and Markdown files beneath any docs path component supply claims. Fenced blocks are excluded; inline code counts. Matching lowercases text, expands contracted negation, replaces hyphens with spaces, collapses whitespace within paragraphs, and uses word boundaries. Negative spans are removed first. Only the exact predefined phrase templates in the package constants count. A bare noun, tool name, or dependency list is insufficient. Adjacent promises about voice, SMS, email, push, network protocols, or memory and file duplication are outside scope.
Production evidence is a provider-resolved call from pyperclip, the similarly named pasteboard package, or win32clipboard. Import aliases and direct function imports are resolved per module. Tkinter method names also count when that module imports tkinter. Bare imports, strings, comments, docstrings, memory duplication and file duplication do not count. Positive promises lacking production evidence produce HIGH findings, reduced to MEDIUM when evidence exists only in tests. Negative promises conflicting with production evidence produce HIGH findings. Each family produces at most one finding. Absent claims always pass; absent source fails a positive promise and passes a negative promise.
Limitations
This is a syntactic approximation, not runtime verification. Only the predefined exact phrase templates count; arbitrary paraphrases are not detected. Provider aliases are tracked per module without control-flow or rebinding analysis. Tkinter method detection requires an import in the same module but does not prove the receiver is a Tk instance. Qt pasteboard access and shell pasteboard helpers are not detected. Invalid source syntax supplies no evidence.
Production scanning excludes tests directories, test-prefixed and test-suffixed modules, fixtures, docs, examples, and symlinked files or directories. Test modules are scanned separately to identify MEDIUM findings; fixtures, docs and examples never supply evidence. Environment files are never opened. Glob exclusions apply to documents and source. Unreadable inputs are usage errors.
Metadata
Release files for clipboard-claim-audit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clipboard_claim_audit-0.1.0.tar.gz | 9.1 kB | Without provenance | Details for clipboard_claim_audit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clipboard_claim_audit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for clipboard_claim_audit-0.1.0-py3-none-any.whl |
Total release size: 15.8 kB
Release files / clipboard_claim_audit-0.1.0.tar.gz
| Download URL | clipboard_claim_audit-0.1.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9359ab3992d6b4ef718bb8b6a3b521fff210ee9e9f50e30c79b6f5127ea54a4
|
|
BLAKE2b-256 checksum How to use checksums |
a262c5ac66f6164c943274c95bf9fd322b21cdb12bae61c6fe935acf27f86a43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / clipboard_claim_audit-0.1.0-py3-none-any.whl
| Download URL | clipboard_claim_audit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
499a565270f409343028be8fde3a45a71f8213006115f74ece33078ab6aefe30
|
|
BLAKE2b-256 checksum How to use checksums |
c2a94fdec0f7f1aecf3e660e46fd3d481885c46fc56e99833acb6f69ed4bfa9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for clipboard-claim-audit 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.