This package automatically generates a project architecture description and saves it in the README.md file.
Project description
Project Structure Generator
This package automatically generates a project architecture description and saves it in the README.md file.
Installation
Install the package using pip:
pip install structure-generator-by-xakepanonim
Usage
Before using the package, make sure you are in the root directory of the project and run the following command:
generate-structure .
Configuration
The package supports multiple configuration file options for specifying exclusions:
structure.toml— the default configuration filepyproject.toml— use the section[tool.structure_generator]in this file
Parameters:
exclude— a list of files to exclude from the generation processread_docstrings— iftrue, the documentation strings (docstrings) will be read for each fileoutput_file— the path to the file where the architecture description will be saved
Example configuration in structure.toml:
exclude = [
'venv',
'__pycache__',
'.git',
]
read_docstrings = true
output_file = "README.md"
Example configuration in pyproject.toml:
[tool.structure_generator]
exclude = [
'venv',
'__pycache__',
'.git',
]
read_docstrings = true
output_file = "README.md"
Генератор Структуры Проекта
Этот пакет автоматически генерирует описание архитектуры проекта и сохраняет его в файл README.md.
Установка
Установите пакет через pip:
pip install structure-generator-by-xakepanonim
Использование
Перед тем как использовать пакет, убедитесь, что вы находитесь в корневой папке проекта, и выполните следующую команду:
generate-structure .
Конфигурация
Пакет поддерживает несколько вариантов файлов конфигурации для указания исключений:
structure.toml— дефолтный файл конфигурацииpyproject.toml— используйте секцию[tool.structure_generator]в этом файле
Параметры:
exclude— список файлов, которые необходимо исключить из генерацииread_docstrings— еслиtrue, то будет считано описание документации для каждого файлаoutput_file— путь к файлу, в который будет сохранено описание архитектуры
Пример настройки в structure.toml:
exclude = [
'venv',
'__pycache__',
'.git',
]
read_docstrings = true
output_file = "README.md"
Пример настройки в pyproject.toml:
[tool.structure_generator]
exclude = [
'venv',
'__pycache__',
'.git',
]
read_docstrings = true
output_file = "README.md"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file structure_generator_by_xakepanonim-0.3.0.tar.gz.
File metadata
- Download URL: structure_generator_by_xakepanonim-0.3.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9093fe8b31197a4d62889b0b830de805e8ba84c6169ad45ecf55f9138bd5eff
|
|
| MD5 |
0b42ee1b986ce408210fb035b316beeb
|
|
| BLAKE2b-256 |
1c96f01ac3fe94c8dc5673805aa10c37787f19b77386a158982a44427fcfaf72
|
File details
Details for the file structure_generator_by_xakepanonim-0.3.0-py3-none-any.whl.
File metadata
- Download URL: structure_generator_by_xakepanonim-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce907f23e59cb8a8fb3d328387d8061a8f639e824859255877bc234b93247952
|
|
| MD5 |
c02eff16b7aa55d0156309ee243c4a76
|
|
| BLAKE2b-256 |
d3f186a718ae4e6a3e76a23c967beeaf497ae5828ef50cb62ca80cfddb3d9900
|