Skip to main content

AutoStruct

Tagline

Organize. Scaffold. Develop.

Motto

From Blueprint to Code in One Command.

Overview

AutoStruct is a powerful command-line tool that transforms a simple text file into a complete directory structure for your project. Designed for developers who value efficiency and organization, AutoStruct automates the tedious task of manual project scaffolding, so you can focus on what truly matters—coding!

Core Features

Quick Setup

  • Generate complex directory trees with a single command.

Flexible Formatting

  • Define both directories and files using an intuitive, plain text format.

Cross-Platform

  • Works seamlessly on any operating system with Python 3.6+.

No External Dependencies

  • Built entirely with Python's standard libraries, ensuring hassle-free installation.

Benefits

  • Time Saving: Automate repetitive folder and file creation to start coding faster.
  • Consistency: Maintain a standardized project structure across all your projects.
  • Simplified Workflow: Easily set up new projects with a predefined scaffold.
  • Error Reduction: Minimize manual mistakes in creating directories and files.
  • Enhanced Productivity: Focus on development instead of spending time on setup.

Getting Started

Installation

Install AutoStruct from PyPI:

pip install autostruct-tool==0.1.5

Note: The package is named autostruct-tool on PyPI, but the command-line tool is accessed via the autostruct command.

How It Works

  1. Plan: Create a structure file (e.g., structure.txt) that defines your project’s layout.
  2. Generate: Run the command in your terminal to generate the directories and files.
  3. Develop: Open your newly created project structure and start coding!

Example Structure File

my_project/
  ├── my_project/
  │   ├── __init__.py
  │   ├── main.py
  │   ├── utils.py
  ├── tests/
  ├── docs/
  ├── README.md
  ├── requirements.txt
  ├── LICENSE

Generated Project Structure

my_project/
  ├── my_project/
  │   ├── __init__.py
  │   ├── main.py
  │   ├── utils.py
  ├── tests/
  ├── docs/
  ├── README.md
  ├── requirements.txt
  ├── LICENSE

Development

Interested in contributing or modifying AutoStruct? Follow these steps to set up your development environment:

Clone the Repository:

git clone https://github.com/amandeepsingh29/autostruct.git
cd autostruct

Set Up a Virtual Environment:

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

Install in Editable Mode:

pip install -e .

Run Tests:

(When tests are added in the future, run them with your preferred test runner, e.g., pytest.)

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions, suggestions, or issues, please open an issue on GitHub or contact the project maintainer, Amandeep Singh.

Happy Coding!

Metadata

Release files for autostruct-tool 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autostruct-tool 0.1.5
File Size Uploaded Provenance
autostruct_tool-0.1.5.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autostruct-tool 0.1.5
File Interpreter ABI Platform
autostruct_tool-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / autostruct_tool-0.1.5.tar.gz

Download URL autostruct_tool-0.1.5.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0920d8ba3ffcb3ca7498395235a5c92dafb3de6a790d6e631edb52eadc2b6fd7
BLAKE2b-256 checksum
How to use checksums
7a4e5417bd1b4123ba1c9b076a0b48a2320d792f2f49a5367ae8f1e2f745d3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / autostruct_tool-0.1.5-py3-none-any.whl

Download URL autostruct_tool-0.1.5-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3beebc4b5ae7b82d98d2d232b5a0403e915f8651861be3690fe2fc52a07a1b2
BLAKE2b-256 checksum
How to use checksums
5500b34d6a104083755b1ec86089b92e4451a455a5e3a0363244efdfdee79be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for autostruct-tool 0.1.5

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.

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