sc-lint for Python
sc-lint on PyPI provides Python bindings for the Rust sc-lint CLI and the
repository-maintenance helper modules used by the project. It does not install
the Rust CLI executables. Install those separately with Homebrew or from
GitHub Releases.
Current release: 0.8.5. Python 3.9 or newer is required (3.11 or newer on Windows ARM64).
Install
python -m pip install sc-lint
The Python package includes the native extension and the sc_lint Python
package. Its codespell>=2.2 dependency supports the repository spell-check
helper; the package does not expose a sc-lint console script.
Python API
The native module exposes three public helpers:
import sc_lint
# JSON string with the bound sc-lint version.
version = sc_lint.version_json()
# Run the CLI in-process; argv[0] is the program name.
exit_code = sc_lint.run(["sc-lint", "version"])
# Resolve the product executable from SC_LINT_BIN, the managed install
# directory, or PATH. Raises FileNotFoundError if no executable is found.
binary = sc_lint.binary_path()
run(argv) returns the CLI exit code instead of terminating the Python
interpreter. It does not add a command-line entry point to the wheel.
The native extension also provides toml_loads(text), which the helper modules
use so TOML is parsed by the same Rust parser as the CLI on every supported
Python version.
Links
Metadata
Release files for sc-lint 0.8.5
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 |
|---|---|---|---|---|
| sc_lint-0.8.5.tar.gz | 530.0 kB | Without provenance | Details for sc_lint-0.8.5.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| sc_lint-0.8.5-cp39-abi3-win_arm64.whl | CPython 3.9 | abi3 | Windows ARM64 | Details for sc_lint-0.8.5-cp39-abi3-win_arm64.whl |
| sc_lint-0.8.5-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for sc_lint-0.8.5-cp39-abi3-win_amd64.whl |
| sc_lint-0.8.5-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details for sc_lint-0.8.5-cp39-abi3-manylinux_2_28_x86_64.whl |
| sc_lint-0.8.5-cp39-abi3-manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ ARM64 | Details for sc_lint-0.8.5-cp39-abi3-manylinux_2_28_aarch64.whl |
| sc_lint-0.8.5-cp39-abi3-macosx_11_0_x86_64.whl | CPython 3.9 | abi3 | macOS 11.0+ x86-64 | Details for sc_lint-0.8.5-cp39-abi3-macosx_11_0_x86_64.whl |
| sc_lint-0.8.5-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for sc_lint-0.8.5-cp39-abi3-macosx_11_0_arm64.whl |
Total release size: 26.4 MB
Release files / sc_lint-0.8.5.tar.gz
| Download URL | sc_lint-0.8.5.tar.gz |
|---|---|
| Size | 530.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75bbf888eba2f480a59aa6778db0e671419177e231b92cd5c0c77ce3ae350946
|
|
BLAKE2b-256 checksum How to use checksums |
d10cac46d4fdad638339e2b48396125ce843ec7ae0fa4267186a67026dfd3aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-win_arm64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d104ab580e42270f578d611bda32961a04fc0a0b1aec503a806d590ead4358b4
|
|
BLAKE2b-256 checksum How to use checksums |
520b5735c5de23c8a816d34f16596b0486318715fcca6ee819a76119562e2561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-win_amd64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
556b7c4864f5de55b7e120076045cfb686e6548f9cad459cd6458cb0290c8ca0
|
|
BLAKE2b-256 checksum How to use checksums |
d61696f467c252788fb48ef7cbeab0ce56a184428f01dc59b421200cc72a33e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cf690c15312143d7f9c882001fdd5e6c0459fa7f6107c47385bc51d484a7c595
|
|
BLAKE2b-256 checksum How to use checksums |
b5c1c1f2d6380cb30fded4a574691f1a6c1e1d070cd072c919387d7e1b55f717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
01ea18159d542c9d79d0d761de689090783aac161a2fd0415cd088d58886bb6f
|
|
BLAKE2b-256 checksum How to use checksums |
1c593950ca2cc747d18f185d21167ff56e7ee57a990a93f4da2518d0ec9bad83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-macosx_11_0_x86_64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5b6deab85081a3465d5278496984436059d58e555888ad72e77483119474d951
|
|
BLAKE2b-256 checksum How to use checksums |
0b878619c93a3ff25a92af3d32cb21a9976d2dc77c552dd43a2b6d4ff74fb0ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / sc_lint-0.8.5-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | sc_lint-0.8.5-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9c6cb1314c57497eddf1ea39d1df696bb164b2eadc8d6cac4d28e740c49760f0
|
|
BLAKE2b-256 checksum How to use checksums |
21c679dbe46ad3e56b948d72041b7a59a00871574b2a2d72363cb3bb7e28e3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Security for sc-lint 0.8.5
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.