Skip to main content

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 empty style.css.
    • js/: A folder containing an empty script.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 empty style.css file for styling.
    • js/: A folder containing an empty script.js file for JavaScript code.
    • index.html: The main HTML file that links to the style.css and script.js files.

Requirements

  • Python 3.x
  • Git (Optional, for version control)

Installation

  1. Clone or download this repository.
  2. Ensure Python 3.x is installed on your system.
  3. (Optional) Install Git if you plan to use version control.

Install via pip

You can install the package from PyPI:

pip install WebStartKit

Usage

  1. Open a terminal or command prompt.
  2. Navigate to the project folder where the script is located.
  3. Run the Python script:
    python web_project_setup.py
    
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webstarterkit-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

webstarterkit-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for webstarterkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aedf6c6279897949411d51081b6dfdcd9eb62570a93f0af620c96a6235be25b2
MD5 b77081b6293bb75d70559b7fa1b062c5
BLAKE2b-256 2ce64405b45f59cef09d7fda113f830b31a71fb27013fa90922bf58979b3c9f0

See more details on using hashes here.

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

Hashes for webstarterkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 525a9fd4ee438adcb3496b1b9b3826958c58c214d8ef5e566c76ec433c2b8153
MD5 d1399012226fff2989da511c0fc5513b
BLAKE2b-256 7e75ae5df17c77eeaf65c15a82f2efef75eb8fccb21ed26e0a34fc1ddce7eca4

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