xscanner
Extension C++ (pybind11) qui accélère le scanner AST de sécurité de
xcore : classification des imports
(ImportClassifier) multithread, O(1) pour les listes autorisées/interdites.
xcore fonctionne sans — il retombe automatiquement sur une implémentation
Python pure si scanner_core n'est pas installé. xcorescanner est un
accélérateur optionnel, pas une dépendance dure.
Installation
pip install xcorescanner
# ou, avec xcore :
pip install "XCoreRuntime[cpp]"
Usage
from scanner_core import ImportClassifier
clf = ImportClassifier(allowed=["os", "sys"], forbidden=["subprocess"])
clf.classify("subprocess") # -> "forbidden"
Le nom importable est scanner_core (pas xcorescanner) — xcore l'importe
directement sous ce nom, avec repli sur l'implémentation Python pure en son
absence.
Build local
pip install -e .
Nécessite un compilateur C++17 (std::filesystem).
Plateformes publiées
Wheels précompilées pour Linux (x86_64, aarch64) et macOS (x86_64, arm64),
Python 3.12+. Ailleurs, pip install compile depuis la source (nécessite
un toolchain C++17).
Metadata
Release files for xcorescanner 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 | |
|---|---|---|---|---|
| xcorescanner-0.1.0.tar.gz | 6.3 kB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.17+ x86-64 | Details |
| xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.17+ ARM64 | Details |
| xcorescanner-0.1.0-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details |
| xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ ARM64 | Details |
| xcorescanner-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
Total release size: 1.7 MB
Release files / xcorescanner-0.1.0.tar.gz
| Download URL | xcorescanner-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab4528b223257801682849effca1d0c834020230c29b636b8c93c7a85db017db
|
|
BLAKE2b-256 checksum How to use checksums |
8f0dfc21e9b4dd7a7da2f9598928bebcc11ef4e2aead63336ccfd04d8fdd81ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 359.5 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
adc24d701618d0299057b867cfc02f052d4e0b43651b0bca1429da943be45494
|
|
BLAKE2b-256 checksum How to use checksums |
96bf022d3c084289933a50f8aed5ab23cc1c78c1564526a0370a5635cbaedfdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xcorescanner-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 350.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
04d89b7628f0128bebc43d0084c309abb7143674d68a9344317f50b291a626dd
|
|
BLAKE2b-256 checksum How to use checksums |
44aecc8940dbd0218a5cdd175c163591352e2f118ded3741a6ec4784f8e0ef5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | xcorescanner-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 143.8 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3dd9a2a7dd3fc237f1c2e4e02b68e37066216101cdab4ad84da5648099218d88
|
|
BLAKE2b-256 checksum How to use checksums |
27cd432af34f448be62fa3b3fd1cce7396bbae0093012646a15ae39ea6294d42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 359.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc6f447dd63c48044596068515a9fcadf6ac999b534da3189077f609271db2b7
|
|
BLAKE2b-256 checksum How to use checksums |
8ed986a575b95fd811bc2e1a35d522c60a722763a975fca60dc28f134d0aea0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xcorescanner-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 350.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
98fd6ecfa0a362a4c9f67311bb4feb9f540e360487953cbf489ccff23c7b6739
|
|
BLAKE2b-256 checksum How to use checksums |
25fe2cc6994805ef42f9a2c70976f9dd2d349574093172de2698d428a8f12b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / xcorescanner-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | xcorescanner-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 143.7 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2b61ede86af7fc43df5c6910556909b286dde4198ef93fd09f0488e0670e72b4
|
|
BLAKE2b-256 checksum How to use checksums |
7138f05e8463c0f531b4dba4701c5f5be03d097e6d09faaa2c6eb748ede71296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logSecurity for xcorescanner 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.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for xcorescanner-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logA 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.