Skip to main content

Библиотека для генерации описания структуры проекта в README.md

Project description

Project Structure Generator

Этот пакет позволяет автоматически создавать описание архитектуры проекта и сохранять его в README.md.

Установка

Установите пакет через pip:

pip install structure-generator-by-xakepanonim

Как пользоваться

Перед тем как использовать пакет, убедитесь что находитесь в корневой папке проекта и запустите команду:

generate-structure .

Настройки

Пакет поддерживает несколько вариантов файлов конфигурации для указания исключений:

  1. structure.toml — дефолтный файл
  2. pyproject.toml — в этом файле используйте секцию [tool.structure_generator]

Параметры:

  • exclude — список файлов, которые необходимо исключить из генерации
  • read_docstrings — если true, то будет считано описание документации для каждого файла

Пример настройки в structure.toml:

exclude = [
    'venv',
    '__pycache__',
    '.git',
]

read_docstrings = true

Пример настройки в pyproject.toml:

[tool.structure_generator]
exclude = [
    'venv',
    '__pycache__',
    '.git',
]

read_docstrings = true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

structure_generator_by_xakepanonim-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file structure_generator_by_xakepanonim-0.2.0.tar.gz.

File metadata

File hashes

Hashes for structure_generator_by_xakepanonim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 93af1d6ee9fc79be06a6095913ec9aff19c5790dd252d8e4fc9e5c4b0579b48e
MD5 a036a572fd2d9aef5759ae9e928c6bd4
BLAKE2b-256 ccca4158f0e83f52b8498c4496a9269730ded8b0f033d52ec772a2ef8f87660a

See more details on using hashes here.

File details

Details for the file structure_generator_by_xakepanonim-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for structure_generator_by_xakepanonim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47b2694be8f2c06366441ae3f2853e5df41495ae1a905a860f24d89812eb70bf
MD5 69d41a59cb161af53e5f9b9d25fbdf97
BLAKE2b-256 ecf2d5b232d3ee9a5a08f1aa66140316612a88639cf610642d2f89f2a7e2d6b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page