Skip to main content

generate_scroller

PyPI version
Python Versions
License: MIT


Description

generate_scroller est un outil en ligne de commande pour générer un fichier Markdown (scroller.md) contenant les chemins et contenus des fichiers texte d’un répertoire donné.
Il permet d’exclure automatiquement les fichiers, dossiers et extensions non pertinents, pour fournir une vue d’ensemble claire et exploitable du projet.


Fonctionnalités

  • Analyse récursive des dossiers
  • Exclusions par défaut adaptées aux projets Python
  • Filtrage fin des extensions à inclure ou exclure
  • Affichage d’une barre de progression en temps réel
  • Gestion robuste des erreurs de lecture
  • Sortie Markdown avec titres pour chaque fichier

Installation

Vous pouvez installer generate_scroller directement depuis PyPI :

pip install generate_scroller

Utilisation

generate_scroller --dir chemin/vers/le/projet --output scroller.md [options]

Options disponibles

  • --dir : Répertoire à analyser (par défaut, le répertoire courant)
  • --output : Nom du fichier de sortie Markdown (par défaut scroller.md)
  • --include-ext : Extensions à inclure (exemple : .py,.md)
  • --exclude-ext : Extensions supplémentaires à exclure (exemple : .log,.tmp)

Exclusions par défaut

Dossiers exclus

.git, .vscode, .env, env, .venv, __pycache__, build, dist, media, static, downloads,
migrations, htmlcov, .tox, .nox, .hypothesis, .pytest_cache, .scrapy, docs/_build,
.pybuilder, target, .ipynb_checkpoints, profile_default, .mypy_cache, __pypackages__,
.pyre, .pytype, cython_debug, .idea, .ropeproject, .spyderproject, .spyproject,
instance, .webassets-cache, site

Fichiers exclus

requirements.txt, .gitignore, db.sqlite3, db.sqlite3-journal, local_settings.py, setup.cfg,
dump.rdb, celerybeat-schedule.db, celerybeat-schedule, celerybeat.pid, pip-log.txt,
pip-delete-this-directory.txt, .python-version, Pipfile.lock, poetry.lock, pdm.lock,
.pdm.toml, MANIFEST

Extensions de fichiers exclues

.png, .jpg, .jpeg, .gif, .bmp, .ico, .svg, .webp,
.ttf, .otf, .woff, .woff2, .eot,
.css, .js, .ts, .html, .htm,
.mp3, .mp4, .avi, .mov, .mkv,
.exe, .dll, .bin,
.zip, .tar, .gz, .rar, .7z,
.pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx,
.pyc, .class, .so, .dylib,
.log, .cover,
.mo, .pot, .manifest, .spec, .coverage,
.sage.py, .dmypy.json, dmypy.json,
.py,cover

Contribution

Contributions, suggestions et rapports de bugs sont les bienvenus. Merci de forker le projet et de créer une pull request.


Licence

Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.


Auteur

Daniel Guedegbe — danielguedebe10027@gmail.com


Project URLs

Release files for generate-scroller 1.0.1

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

Source distribution (sdist)

Source distribution for generate-scroller 1.0.1
File Size Uploaded
generate_scroller-1.0.1.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for generate-scroller 1.0.1
File Interpreter ABI Platform
generate_scroller-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / generate_scroller-1.0.1.tar.gz

Download URL generate_scroller-1.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
172ac39df343edc33dd3feec21033503b1f7a96dc7150452aa42ea5c5c1cc177
BLAKE2b-256 checksum
How to use checksums
5e6c9e14f59954f4c1a66f3ab48bad003195577b26682c76db4128752b0ebf49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / generate_scroller-1.0.1-py3-none-any.whl

Download URL generate_scroller-1.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5188a7832a20878ca8efe623d94e89963436befea41544f57ee2f77ef59f73f7
BLAKE2b-256 checksum
How to use checksums
1d64aca40557dcab6669a8f87d06433f27b426df3d74500205cc266676bcef9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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