
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
structure-generator-by-xakepanonim
Advanced tools
This package automatically generates a project architecture description and saves it in the README.md file.
This package automatically generates a project architecture description and saves it in the README.md
file.
Install the package using pip:
pip install structure-generator-by-xakepanonim
Before using the package, make sure you are in the root directory of the project and run the following command:
generate-structure .
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 fileParameters:
exclude
— a list of files to exclude from the generation processread_docstrings
— if true
, the documentation strings (docstrings) will be read for each fileoutput_file
— the path to the file where the architecture description will be savedExample 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"
FAQs
This package automatically generates a project architecture description and saves it in the README.md file.
We found that structure-generator-by-xakepanonim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.