Skip to main content

A tool for creating project structures from templates

Project description

STRCT: Structure Creator Tool 🚀

PyPI version Python Versions License: MIT codecov

STRCT is a powerful and flexible command-line tool designed to streamline your project initialization process. Say goodbye to manual directory creation and hello to consistent, scalable project structures! 🎉

🌟 Features

  • 🚀 Create project structures from predefined templates
  • 🔧 Add custom templates from existing directories
  • 🎯 Specify custom destination paths for your projects
  • 📋 List and manage available templates
  • 🔄 Cross-platform compatibility (Windows, macOS, Linux)

🚀 Quick Start

Installation

You can install STRCT using pip:

pip install strct-tool

for Windows:

pip install strct-tool --user

or Run cmd as Adminstrator and use first command

Usage

After installation, you can use STRCT from the command line:

  1. Create a new project structure:

    strct <structure_type> [destination_path]
    
  2. List available templates:

    strct list
    
  3. Add a new template:

    strct add <template_name> <source_path>
    
  4. Delete a template:

    strct delete <template_name>
    
  5. Get help:

    strct help
    

📚 Detailed Usage

Creating a Project Structure

To create a new project structure, use the following command:

strct <structure_type> [destination_path]
  • <structure_type>: The name of the template you want to use.
  • [destination_path]: Optional. The path where you want to create the project. If not specified, the current directory will be used.

Example:

strct python-flask my_new_project

This command will create a new Flask project structure in a directory called my_new_project.

Listing Available Templates

To see all available templates, use:

strct list

This will display a list of all templates you can use to create project structures.

Adding a New Template

To add a new template based on an existing project structure:

strct add <template_name> <source_path>
  • <template_name>: The name you want to give to your new template.
  • <source_path>: The path to the existing project structure you want to use as a template.

Example:

strct add my-react-template ./existing-react-project

Deleting a Template

To remove a template:

strct delete <template_name>

This will permanently remove the specified template.

🛠 How It Works

  1. Template Selection: Choose from predefined or custom project templates.
  2. Structure Creation: STRCT generates the directory structure and files based on the selected template.
  3. Customization: Easily modify the created structure to fit your specific needs.
  4. Reusability: Save time on future projects by reusing your templates.

🤝 Contributing

We welcome contributions from the community! Whether it's bug fixes, new features, or documentation improvements, your help is appreciated. Please see our Contributing Guide for more details on how to get started.

🐛 Reporting Issues

If you encounter any bugs or have feature requests, please file an issue on our GitHub Issue Tracker. When reporting a bug, please include:

  • Your operating system name and version
  • Any details about your local setup that might be helpful in troubleshooting
  • Detailed steps to reproduce the bug

🤔 FAQs

Can I use STRCT for any type of project? Yes! STRCT is language-agnostic and can be used for any type of project structure.
How do I create custom templates? Use the `strct add` command to create a new template from an existing directory structure.
Is STRCT suitable for team use? Absolutely! STRCT helps maintain consistency across team projects by using shared templates.
Can I use STRCT in my CI/CD pipeline? Yes, STRCT can be easily integrated into CI/CD pipelines to ensure consistent project structures across your builds.

📜 License

STRCT is released under the MIT License. See the LICENSE file for more details.

🙏 Acknowledgements

  • All our contributors and users
  • The Python community for their invaluable tools and libraries

📬 Contact

For support or queries, please open an issue on our GitHub repository.


Made with ❤️ by developers, for developers.

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

strct_tool-0.4.8.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

strct_tool-0.4.8-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file strct_tool-0.4.8.tar.gz.

File metadata

  • Download URL: strct_tool-0.4.8.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for strct_tool-0.4.8.tar.gz
Algorithm Hash digest
SHA256 14499996fea71c2e8e0d2ac33aa3a8d5a3be5df0787146ba625a37302ade61fe
MD5 e3e1044ddffc1db4f632439fddf78b74
BLAKE2b-256 f3a8946099f22d30a36bce6e0d2eaa285489d11a6aec6fd4d3d0a53fd28ec1f7

See more details on using hashes here.

File details

Details for the file strct_tool-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: strct_tool-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for strct_tool-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c0ba71a83dd01e68f6ce48788623a3db8fb275cad37ca75da31726be776d05
MD5 ca7750aac6b7ececb8584ee119ae046e
BLAKE2b-256 584d9ea4722f10f373608c9891eb1fca5129e0aec550f4b79d08f10f0e13613a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page