semvec/pypi-packages huggingface dataset:
filetextstruct 1.0.0
A tiny utility for generating directory trees and files from a Python dictionary structure.
License: MIT
Requires Python: >=3.8
Keywords: structure, structures, automatization, structure generator

# filetextstruct

`filetextstruct` is a small Python library for generating and creating folder/file structures from dictionaries.  
It can also generate a visual tree representation (like `tree` command) without creating any files.


## Features

- Create folder/file structures from a Python dictionary  
- Generate tree-like text output  
- Simple API for use in build scripts or generators  
- Pure Python, no dependencies


## Installation

pip install filetextstruct



## Usage Example (creating files)
from filetextstruct import create_structure

project = {
    "src": {
        "main.c": "int main() {return 0;}",
        "utils": {
            "helper.c": "void helper() {}"
        }
    },
    "README.md": "My project"
}

create_structure("project", project)

## Usage Example (printing tree)
from filetextstruct import generate_tree

structure = {
    "src": {
        "main.c": "",
        "utils": {
            "helper.c": ""
        }
    },
    "README.md": ""
}

print(generate_tree(structure, "project"))

## Example Output
project/
 ├── src
 │   ├── main.c
 │   └── utils
 │       └── helper.c
 └── README.md

## License

MIT License
DataTig 0.9.0
DataTig helps you crowdsource and use data stored in files in a git repository.
License: MIT
Requires Python: >=3.10

DataTig helps you crowdsource and use data stored in files in a git repository.

Home Page: [https://www.datatig.com](https://www.datatig.com)

Documentation: [https://datatig.readthedocs.io/en/latest/](https://datatig.readthedocs.io/en/latest/)

Issues: [https://github.com/DataTig/DataTig/issues](https://github.com/DataTig/DataTig/issues)

Source: [https://github.com/DataTig/DataTig](https://github.com/DataTig/DataTig)