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)
-
Clone the repository:
git clone https://gitlab.com/autowerk/initium.git cd initium
-
Make the script executable (Linux/macOS):
chmod +x scripts/generate_project.sh
-
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:
- Enter your project name
- Select project type (plc/hmi/ros/bioreactor)
- 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
- Install the package as shown above
- Run the command with your desired project name and type
- 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
--remoteflag) requestsPython package (automatically installed with the package)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e647e3fab8e7d96c692e50fa89f5727aab361cc73d85a87917c5fb553077ea
|
|
| MD5 |
5ddda2191b86d0600494a79a1dde6342
|
|
| BLAKE2b-256 |
baca33f884d624ac70bffed084c66b7bb9981b72f03945a0b6f4f4a92c51c1c5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f03860fba1dcab6c66bd637b5618abe7f1432cd6aa34131a8c760b233345d7e1
|
|
| MD5 |
896eeecf9d7cc1faee314a49a067c23d
|
|
| BLAKE2b-256 |
aba42b72548993e8fe123111f354bc636f2ff5609860a8fb36642b0a36d940ab
|