Skip to main content

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.6. 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.

Metadata

Release files for sc-lint 0.8.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sc-lint 0.8.6
File Size Uploaded Provenance Actions
sc_lint-0.8.6.tar.gz 540.5 kB Without provenance Details for sc_lint-0.8.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sc-lint 0.8.6
File Actions
sc_lint-0.8.6-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for sc_lint-0.8.6-cp39-abi3-win_arm64.whl
sc_lint-0.8.6-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for sc_lint-0.8.6-cp39-abi3-win_amd64.whl
sc_lint-0.8.6-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for sc_lint-0.8.6-cp39-abi3-manylinux_2_28_x86_64.whl
sc_lint-0.8.6-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for sc_lint-0.8.6-cp39-abi3-manylinux_2_28_aarch64.whl
sc_lint-0.8.6-cp39-abi3-macosx_11_0_x86_64.whl CPython 3.9 abi3 macOS 11.0+ x86-64 Details for sc_lint-0.8.6-cp39-abi3-macosx_11_0_x86_64.whl
sc_lint-0.8.6-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for sc_lint-0.8.6-cp39-abi3-macosx_11_0_arm64.whl

Total release size: 26.5 MB

Release files / sc_lint-0.8.6.tar.gz

Download URL sc_lint-0.8.6.tar.gz
Size 540.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aa6a4094b5462539b2385372e573ce39a36bcd95479bcdc0de915a023b502313
BLAKE2b-256 checksum
How to use checksums
64dee167d913c848de81c94fa4e91d5e21338db475e48c9f685d4eb2ba19c78d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-win_arm64.whl

Download URL sc_lint-0.8.6-cp39-abi3-win_arm64.whl
Size 4.0 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
0ee82496440e20d1ddf838d5e15da2deaf21ec405f23bdc04d9f22831b5e125d
BLAKE2b-256 checksum
How to use checksums
aab3fb0ae48b21ddf8a603e2380cb83a174092611d21fa9898bfebf42b1fba5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-win_amd64.whl

Download URL sc_lint-0.8.6-cp39-abi3-win_amd64.whl
Size 4.4 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4d8e6791851de9dfda4d0b1d03e580a16e4055de2dd8feec9d233923d85c58d4
BLAKE2b-256 checksum
How to use checksums
83ee2c4379e8267780f77bde3c7ce9f6ce141b5dc74231d6a4d36c64bb821f81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL sc_lint-0.8.6-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
68d30f172b6abbbef08b56883049f905026244f29679a98fb9f1790912608eba
BLAKE2b-256 checksum
How to use checksums
2408778c3d517b8b315fd4a7f8dc1ce5645e9710f0d98172677b21d4aaa454ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL sc_lint-0.8.6-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
52d9e427897246ef27b3df7978d963c18b3a5a946f5db6c8701dd57a0ff0689a
BLAKE2b-256 checksum
How to use checksums
aa42a61741806d20b7065021d25787a862a0b85f618bb95825b573a7e2d7e85a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-macosx_11_0_x86_64.whl

Download URL sc_lint-0.8.6-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
655151f858626cc67b683519fa364c25fcd2a9c55b1e9f2b02ba6ac3aae2052b
BLAKE2b-256 checksum
How to use checksums
09848462bf0488f3c4a3065d8e4fc2969f923b7a77a5bfe1bd5c2dee388059ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Release files / sc_lint-0.8.6-cp39-abi3-macosx_11_0_arm64.whl

Download URL sc_lint-0.8.6-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
5d7001a29354b7987df3ad8e039422299231165a5f1b25b2a96dd6fdd2266322
BLAKE2b-256 checksum
How to use checksums
937052760ebe6c0eff23e99533c7d1e5f3f104947de0cd97cdd932a99031cfd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.4

Security for sc-lint 0.8.6

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.

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