A CLI tool to generate a basic HTML, CSS, and JS project structure.
Project description
Web Starter Kit Automation
A Python-based automation tool that generates the basic structure for a simple HTML, CSS, and JavaScript project.
Features
- Creates a project directory with the following structure:
index.html: A basic HTML file linked to CSS and JS files.css/: A folder containing an emptystyle.css.js/: A folder containing an emptyscript.js.
Folder Structure
After running the automation script, the following folder structure will be created:
<project_name>/
│
├── css/
│ └── style.css (empty)
│
├── js/
│ └── script.js (empty)
│
└── index.html (HTML file linked to CSS and JS)
<project_name>/: The root folder of your project.css/: A folder containing an emptystyle.cssfile for styling.js/: A folder containing an emptyscript.jsfile for JavaScript code.index.html: The main HTML file that links to thestyle.cssandscript.jsfiles.
Requirements
- Python 3.x
- Git (Optional, for version control)
Installation
- Clone or download this repository.
- Ensure Python 3.x is installed on your system.
- (Optional) Install Git if you plan to use version control.
Install via pip
You can install the package from PyPI:
pip install WebStartKit
Usage
- Open a terminal or command prompt.
- Navigate to the project folder where the script is located.
- Run the Python script:
python web_project_setup.py - Enter the desired project name when prompted.
Run the CLI tool
Once installed, you can generate a new project structure with:
WebStarterKit MyProject
You can also specify a custom path:
WebStarterKit MyProject --path /desired/path
The script will create the necessary project folder structure as follows:
<project_name>/
│
├── css/
│ └── style.css (empty)
│
├── js/
│ └── script.js (empty)
│
└── index.html
License
This project is licensed under the MIT License.
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 webstarterkit-0.1.1.tar.gz.
File metadata
- Download URL: webstarterkit-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aedf6c6279897949411d51081b6dfdcd9eb62570a93f0af620c96a6235be25b2
|
|
| MD5 |
b77081b6293bb75d70559b7fa1b062c5
|
|
| BLAKE2b-256 |
2ce64405b45f59cef09d7fda113f830b31a71fb27013fa90922bf58979b3c9f0
|
File details
Details for the file webstarterkit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: webstarterkit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
525a9fd4ee438adcb3496b1b9b3826958c58c214d8ef5e566c76ec433c2b8153
|
|
| MD5 |
d1399012226fff2989da511c0fc5513b
|
|
| BLAKE2b-256 |
7e75ae5df17c77eeaf65c15a82f2efef75eb8fccb21ed26e0a34fc1ddce7eca4
|