Skip to main content

Project Bootstrap Tool

Project description

Initium Project Bootstrap

One-click generator for automation projects. This tool helps you quickly set up standardized project structures for various automation systems.

Installation

Option 1: Using pip (recommended)

pip install initium-sun

Option 2: From source (developer mode)

  1. Clone the repository:

    git clone https://gitlab.com/autowerk/initium.git
    cd initium
    
  2. Make the script executable (Linux/macOS):

    chmod +x scripts/generate_project.sh
    
  3. Run directly from source:

    ./scripts/generate_project.sh
    

    Or install in development mode:

    pip install -e .
    

Usage

Option 1: Using the Python module (after pip install)

python -m initium.cli <project_name> <project_type> [--remote]

Option 2: Using the interactive script (from source)

./scripts/generate_project.sh

Then follow the interactive prompts to:

  1. Enter your project name
  2. Select project type (plc/hmi/ros/bioreactor)
  3. Optionally create a remote GitLab repository

Supported Project Types

  • PLC Templates

    • Standard PLC project structure
    • Common PLC libraries and configurations
    • Example programs and documentation
  • HMI Templates

    • Modern HMI interface templates
    • Common visualization components
    • Standard communication protocols
  • ROS Templates

    • ROS 2 project structure
    • Common ROS nodes and messages
    • Integration with hardware
  • Bioreactor Templates

    • Complete bioreactor control system
    • Simulation environment
    • Visualization dashboard
    • PID control implementation

Examples

Using Python module:

# Create a new PLC project
python -m initium.cli my_plc_project plc

# Create an HMI project with a remote GitLab repository
python -m initium.cli my_hmi_project hmi --remote

# Create a bioreactor project
python -m initium.cli my_bioreactor_project bioreactor

Using the interactive script:

./scripts/generate_project.sh
# Then follow the prompts to:
# 1. Enter project name
# 2. Select project type
# 3. Optionally create a remote GitLab repository

Getting Started

  1. Install the package as shown above
  2. Run the command with your desired project name and type
  3. If using --remote, make sure you have GitLab access configured

Project Structure

Each generated project includes:

  • Standard directory structure
  • CI/CD configuration
  • Documentation templates
  • Example implementation
  • Test framework

Requirements

  • Python 3.6+
  • Git (for version control)
  • GitLab account (if using --remote flag)
  • requests Python package (automatically installed with the package)

License

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

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

initium_sun-0.1.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

initium_sun-0.1.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file initium_sun-0.1.1.tar.gz.

File metadata

  • Download URL: initium_sun-0.1.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for initium_sun-0.1.1.tar.gz
Algorithm Hash digest
SHA256 27e647e3fab8e7d96c692e50fa89f5727aab361cc73d85a87917c5fb553077ea
MD5 5ddda2191b86d0600494a79a1dde6342
BLAKE2b-256 baca33f884d624ac70bffed084c66b7bb9981b72f03945a0b6f4f4a92c51c1c5

See more details on using hashes here.

File details

Details for the file initium_sun-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: initium_sun-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for initium_sun-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f03860fba1dcab6c66bd637b5618abe7f1432cd6aa34131a8c760b233345d7e1
MD5 896eeecf9d7cc1faee314a49a067c23d
BLAKE2b-256 aba42b72548993e8fe123111f354bc636f2ff5609860a8fb36642b0a36d940ab

See more details on using hashes here.

Supported by

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