Local draft scanner for direct Mathlib dependency evidence.
Project description
zero-mathlib-checker draft
Local draft package candidate for scanning a repository or fixture tree for direct Mathlib import/dependency evidence.
This package candidate is not published, not release-ready, not upload-ready, and has not had its package name availability checked. No PyPI token is needed or handled.
Local Draft Status
- Version:
0.0.0.dev0 - Package name availability:
UNKNOWN_NOT_CHECKED - Publish status: no package publish performed
- Upload status: no PyPI upload performed
- Token status: no PyPI token handling performed
- Release status: not release-ready
Install From Source Locally
Use a local editable install only after human review:
python -m pip install -e package_candidates/zero_mathlib_checker
No upload, build, or twine command is required for local testing.
Usage
zero-mathlib-checker scan .
zero-mathlib-checker scan . --json
zero-mathlib-checker scan . --allow-policy-text
zero-mathlib-checker scan . --include "*.lean"
zero-mathlib-checker scan . --exclude-dir node_modules
python -m zero_mathlib_checker.cli scan . --json
JSON Output Example
{
"dependency_evidence_count": 0,
"direct_match_count": 0,
"evidence": [],
"passed": true,
"policy_text_count": 0,
"root": "/path/to/repo",
"scanned_files": 1,
"skipped_files": 0
}
Exit Codes
0: no dependency evidence found1: dependency evidence found
Scanner Scope
The scanner recursively reads text-like files, skips common cache/build/vendor directories, and detects:
IMPORT_MATHLIBFROM_MATHLIBMATHLIB_DOT_REFERENCEMATHLIB_DEPENDENCY_DECLARATION
Policy or historical text can be ignored only when the line is explicitly marked and --allow-policy-text is set.
Relation To MachLib
This draft is inspired by MachLib's local zero-Mathlib checker, but it is a smaller package-shaped prototype. It does not replace the repository gate.
Limitations
- String-pattern scanner only
- No package name availability check
- No publish or upload path
- No certification of a repository
- No theorem/proof/open-problem claim
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zero_mathlib_checker-0.0.0.dev0.tar.gz.
File metadata
- Download URL: zero_mathlib_checker-0.0.0.dev0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d896e26ef70b8f61fa5ae8a725ca78eced6fb2c3def787974a4f6ad3bfb2906
|
|
| MD5 |
6d22e38b78579bf5decebdf0217b46e8
|
|
| BLAKE2b-256 |
486ae968dda2d12019c34545fb1c6b5589d485fd3954ab19d4b792db608b0d50
|
File details
Details for the file zero_mathlib_checker-0.0.0.dev0-py3-none-any.whl.
File metadata
- Download URL: zero_mathlib_checker-0.0.0.dev0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
575cc0b3fa8b39ff03cb7c95629dc5922add6c0f549a2b6b5a7ae55510ab0909
|
|
| MD5 |
64e6cde6b1fb16db5191d7e30b47d4bc
|
|
| BLAKE2b-256 |
b56341a982f0376f4ffaabe808db09912db485aade820f1b1605258515f42d78
|