Skip to main content

imansur-tools

A professional utility to build directory structures and files from indentation patterns or YAML files.

Features

  • Smart Routing: Automatically distinguishes between files and directories.
  • Target Destination: Specify exactly where you want your tree to be built.
  • Special Files Support: Recognizes Dockerfile, LICENSE, README, etc.
  • Multi-format: Supports both Indented Strings and YAML files.

Installation

pip install imansur-tools

Usage

1. Specify Output Directory

You can define where the tree should be created by providing the output_dir parameter. If omitted, it defaults to the current directory (.).

from imansur_tools import build_tree

# This will create the structure inside '/Users/ilkermansur/proyectos/new_app'
build_tree("structure.yaml", output_dir="/Users/name/projects/my_app", is_yaml=True)

2. From Indented String (Default Directory)

from imansur_tools import build_tree

structure = """
project/
  src/
    main.py
  README
"""

# Will be created in the current working directory
build_tree(structure)

License

MIT

Metadata

Release files for imansur-tools 0.2.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 imansur-tools 0.2.1
File Size Uploaded Provenance Actions
imansur_tools-0.2.1.tar.gz 3.8 kB Without provenance Details for imansur_tools-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imansur-tools 0.2.1
File Interpreter ABI Platform Actions
imansur_tools-0.2.1-py3-none-any.whl Python 3 none any Details for imansur_tools-0.2.1-py3-none-any.whl

Total release size: 7.9 kB

Release files / imansur_tools-0.2.1.tar.gz

Download URL imansur_tools-0.2.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2e887935f347ff64ca2685c607cf24cd3277e977a8ca07055c462629516384c4
BLAKE2b-256 checksum
How to use checksums
2dc72493141eb4a9260076d9b8d2d417761ec21c22ccebb9335b5373e76b7c74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / imansur_tools-0.2.1-py3-none-any.whl

Download URL imansur_tools-0.2.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df903aea1ea73d628e9d0918c3e3da29e11bfddf56353c4c61687b3c892f1a52
BLAKE2b-256 checksum
How to use checksums
439df463c6db93000475bb11fdce26bed11ecd0d88fb67ef62bdc2c21a9f907c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for imansur-tools 0.2.1

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