Skip to main content

module-revolucy-seo

Moteur d'audit SEO & GEO (Generative Engine Optimization) pour Django.

Analyse une page web et produit un score sur 100 avec des recommandations, organisees en 4 categories : SEO, GEO & IA, Contenu, Technique.

Installation

pip install module-revolucy-seo

Configuration

# settings.py
INSTALLED_APPS = [
    ...
    'revolucy_seo',
]

# urls.py
path('seo/', include('revolucy_seo.urls')),

Migration :

python manage.py migrate revolucy_seo

Variables d'environnement

Toutes optionnelles :

Variable Usage Sans la variable
URL_PROTOCOL Protocole pour les URLs du panneau admin (http ou https) Defaut : https
URL_DOMAIN Domaine pour les URLs du panneau admin Defaut : localhost

Categories d'analyse

SEO (22 checks)

Titre, meta description, H1, H2, hierarchie des titres, mot-cle (titre, H1, slug, densite, premier paragraphe, 100 premiers mots), canonical, robots, hreflang, images alt, liens internes/externes, OpenGraph, Twitter Card.

GEO & IA (9 checks)

Donnees structurees JSON-LD, Schema Organization/LocalBusiness, Schema BreadcrumbList, Schema FAQ, Schema WebSite, signaux E-E-A-T, Schema HowTo, liens vers des sources fiables (Wikipedia, .gouv.fr, Europa, etc.), fil d'Ariane HTML visible.

Contenu (6 checks)

Nombre de mots (>= 300), contenu approfondi (>= 600 mots pour GEO), lisibilite Flesch FR, structure H2 + H3, listes ou tableaux, donnees chiffrees et statistiques.

Technique (7 checks)

Attribut lang, meta viewport, longueur URL, profondeur URL, slug lisible, ancres vides, alt trop courts.

Utilisation

Analyse HTML (sans requete reseau)

from revolucy_seo.services.analyzer import analyze_html

result = analyze_html(html, url, focus_kw="erp")
print(result['score'])  # 75
print(result['checks'])  # liste des checks avec category, ok, hint

Panneau admin

Ajoute un panneau SEO & GEO en bas de n'importe quel ModelAdmin :

from revolucy_seo.admin import SeoPanelAdminMixin

class PageAdmin(SeoPanelAdminMixin, admin.ModelAdmin):
    readonly_fields = ['seo_panel']

Le panneau pre-remplit l'URL de la page via reverse() si le modele a un champ lien qui correspond a un nom de route Django.

Crawler CLI

python manage.py seo_audit --start-url https://exemple.fr --focus-kw "erp" --max-pages 50

Crawle le site en BFS et affiche le score SEO & GEO de chaque page.

Dependances

  • Django >= 4.2
  • requests
  • beautifulsoup4
  • lxml (fallback automatique sur html.parser si absent)

Metadata

Release files for module-revolucy-seo 0.1.2

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

Source distribution (sdist)

Source distribution for module-revolucy-seo 0.1.2
File Size Uploaded Provenance Actions
module_revolucy_seo-0.1.2.tar.gz 15.3 kB Without provenance Details for module_revolucy_seo-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for module-revolucy-seo 0.1.2
File Interpreter ABI Platform Actions
module_revolucy_seo-0.1.2-py3-none-any.whl Python 3 none any Details for module_revolucy_seo-0.1.2-py3-none-any.whl

Total release size: 33.6 kB

Release files / module_revolucy_seo-0.1.2.tar.gz

Download URL module_revolucy_seo-0.1.2.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
21459b06086f9beaa61c37325f753a139bacf3b7aef011b9e3efce05d6e94484
BLAKE2b-256 checksum
How to use checksums
f0d51d6422f58c7715421ba2ecb0ffe5410048932d1504372662ccad04d34b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / module_revolucy_seo-0.1.2-py3-none-any.whl

Download URL module_revolucy_seo-0.1.2-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ceb6dff5d499cd5730f46a4f105bdf5a0a2b1b1fc6f78b493b48015cad102881
BLAKE2b-256 checksum
How to use checksums
93e91c33efa0d173ae42ff12e29346bd32c5a30cc87dede78e49ec43c6ffb78c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for module-revolucy-seo 0.1.2

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