sites-conformes-ia
Rend un site sites-conformes lisible par les agents IA. Demande Wagtail 8.1.
Installation
uv add sites-conformes-ia
# settings.py
INSTALLED_APPS = [
"sites_conformes_ia", # avant "sites_conformes"
...,
]
MIDDLEWARE = [
...,
"sites_conformes_ia.middleware.MarkdownMiddleware", # en dernier
]
# urls.py, avant les URL de Wagtail
urlpatterns = [
path("", include("sites_conformes_ia.urls")),
...,
]
Puis python manage.py migrate.
Réglages
Tout est désactivé par défaut.
| Réglage | Active |
|---|---|
SF_IA_MARKDOWN |
chaque page en Markdown : /conseils.md, /index.md, ou l'en-tête Accept: text/markdown |
SF_IA_LLMS_TXT |
/llms.txt, complété depuis Réglages → llms.txt dans l'administration |
SF_IA_WEBMCP |
des outils WebMCP de lecture du site |
SF_IA_SEMANTIC_SEARCH |
la recherche classée par l'API Albert |
Recherche avec Albert
SF_IA_SEMANTIC_SEARCH = True
ALBERT_API_KEY = "..."
ALBERT_COLLECTION_ID = 123 # affiché par albert_index à sa première exécution
SEARCH_VIEW = "sites_conformes_ia.search.SemanticSearchView"
python manage.py albert_index crée la collection si besoin et y envoie
toutes les pages. Ensuite, chaque publication met Albert à jour. Si Albert ne
répond pas, la recherche de sites-conformes prend le relais.
L'URL de recherche du projet doit passer par
sites_conformes.core.search_view_loader.get_search_results_view().
Développement
just install
just lint
just test
Metadata
Release files for sites-conformes-ia 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 |
|---|---|---|---|---|
| sites_conformes_ia-0.1.0.tar.gz | 9.9 kB | With provenance | Details for sites_conformes_ia-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sites_conformes_ia-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sites_conformes_ia-0.1.0-py3-none-any.whl |
Total release size: 24.3 kB
Release files / sites_conformes_ia-0.1.0.tar.gz
| Download URL | sites_conformes_ia-0.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7c7262cd5c32b7909ea050f63a4983da452caf46be676575de0ea7d28e4ee8c
|
|
BLAKE2b-256 checksum How to use checksums |
7a9795fab4a6a76fe3c36ae8cc95bdf51e798ee2f4ff58610474fa81f42cfe9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 2, 2026.
Transparency logRelease files / sites_conformes_ia-0.1.0-py3-none-any.whl
| Download URL | sites_conformes_ia-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdfd068131bd15095e159b26ac1b7e7015c6a5532a3febb270b451bbe0d59029
|
|
BLAKE2b-256 checksum How to use checksums |
b107b81176799cb3cf46dd8bce1c9b0d097a87f086f717289617d5442ea72f36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 2, 2026.
Transparency logSecurity for sites-conformes-ia 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
Both files in this release have been uploaded with provenance metadata.
Attestation for sites_conformes_ia-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 Dec 2, 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.