Skip to main content

CLI tools for windows. A plugin based approach.

Project description

PyPI Changelog Tests License

winzy

A plugin-based CLI toolset for Windows, built on top of the Python language.

Overview

Winzy is a collection of command-line tools designed to make working with windows easier. The project takes a plugin-based approach, allowing users to extend its functionality by creating custom plugins.

There are few plugins that i am activiley using. I will soon add all of them here.

Features

  • A simple and intuitive CLI interface
  • Extensive plugin support for customizing and extending the toolset
  • Integration with popular Python libraries and frameworks
  • Support for multiple Python versions (>=3.9)

Requirements

  • Python 3.9 or later
  • The pluggy library for plugin ment

Installation

pip install winzy

Developing your plugin


You'll need to have cookiecutter installed.

pipx install cookiecutter

Regular pip will work OK too.

Usage

Run cookiecutter gh:sukhbinder/winzy-plugin and then answer the prompts. Here's an example run:

cookiecutter gh:sukhbinder/winzy-plugin

This will show this. Fill this and the template is ready. Just add your code.

plugin_name []: winzy plugin template demo
description []: Demonstrating https://github.com/sukhbinder/winzy-plugin
hyphenated [winzy-plugin-template-demo]:
underscored [winzy_plugin_template_demo]:
github_username []: sukhbinder
author_name []: Sukhbinder Singh

Creating Command Aliases

Winzy includes an add-alias command that allows you to create custom command aliases by generating Windows batch files. This is especially useful for creating shortcuts to commonly used commands.

winzy add-alias ls=dir $*
winzy add-alias cp=copy $*
winzy add-alias open=start $*
winzy add-alias search=start https://www.google.co.uk/search?q=$*
winzy add-alias newsuk=start http://news.google.co.uk
winzy add-alias cat=type $*
winzy add-alias cal=python -m calendar $1 $2
winzy add-alias serve=set ptemp=%cd%  & cd $* & start python -m SimpleHTTPServer 8888 & cd %ptemp%
winzy add-alias web=python -m webbrowser -t $*
winzy add-alias news=start http://news.google.co.in
winzy add-alias touch=python -c "open('$1','w').close()"

The created aliases are stored as batch files in ~/.local/bin/ directory and will be available from your command line once that directory is in your PATH.

List of Available Plugins

Here's the list of plugin available in pypi.

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

winzy-0.0.4.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

winzy-0.0.4-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file winzy-0.0.4.tar.gz.

File metadata

  • Download URL: winzy-0.0.4.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for winzy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 eb85d23d9ba368e5487e796bd9b8ff2ca5a93c79b0c6444c2b8623e350a5eef7
MD5 fd0b20ab3d28253c2f9203ab1c97a5b8
BLAKE2b-256 8ded9b789749e3d567bc32ae4e9b10db44951fa188225f4dca17ef3a94728bbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy-0.0.4.tar.gz:

Publisher: publish.yml on sukhbinder/winzy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file winzy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: winzy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for winzy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 80f29e4f395dbd25eae79eed6f56d060264c624448c48f15e19d112d5b44dd2a
MD5 417a2f3005ecbc91acfe76369b4fef2d
BLAKE2b-256 970f64a88fa0894c41c6e1f429cc785ffce3e46d9016a54b3f06c35f4c7facc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy-0.0.4-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/winzy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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