Skip to content

Tooling such as CLI to improve dev experience working with pyscript!

Notifications You must be signed in to change notification settings

Hussseinkizz/pyscript-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pyscript Tools v0.0.1

A comprehensive toolkit for PyScript development, providing commands for project initialization, development server, production builds, testing, and code analysis.

Installation

From PyPI (recommended):

pip install pyscript-tools

For development:

git clone https://github.com/yourusername/pyscript-tools
cd pyscript-tools
pip install -e .

Available Commands

pyscript init [PROJECT_NAME]

Initialize a new PyScript project. This command is fully implemented and:

  • Creates a new project directory (or uses current directory with ".")
  • Sets up initial project structure
  • Copies template files

Example:

pyscript init my-app     # Create in new directory
pyscript init .          # Initialize in current directory

Planned Features (Work in Progress)

The following commands are currently placeholders and will be implemented in future releases:

pyscript serve (TODO)

Development server with hot reload

pyscript serve           # Default port 8000
pyscript serve -p 3000   # Custom port

pyscript build (TODO)

Production build process

pyscript build          # Basic build
pyscript build --no-optimize  # Skip optimization

pyscript test (TODO)

Test runner with watch mode

pyscript test           # Run tests once
pyscript test -w        # Watch mode

pyscript lint (TODO)

Code analysis and best practices

pyscript lint          # Check code
pyscript lint --fix    # Auto-fix issues

Contributing

This project is under active development. Feel free to contribute by implementing any of the planned features or suggesting new ones.

License

MIT License

About

Tooling such as CLI to improve dev experience working with pyscript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published