Skip to main content

winzy-whitelist

PyPI Changelog Tests License

Whitelist python created exe's to make them bat scripts.

Installation

First configure your Winzy project to use Winzy.

Then install this plugin in the same environment as your Winzy application.

pip install winzy-whitelist

Usage

Some orgs doesn't allow using exe created by python, this plugin will create and equivalent batch file that can be used.

usage: Lets say winzy.exe created by pip install winzy is not usable, do this to call it wiz

winzy wlist winzy --alt-app-name wiz

This will create a wiz.bat in the correct place and now you can use winzy using the new name wiz. If alt-app-name is not provided winzy.bat gets created.

How it Works

When you run winzy wlist <app_name>, the tool performs the following steps:

  1. Finds the Executable: It searches for the <app_name>.exe file in your system's PATH.
  2. Creates a Companion Script: In the same directory as the executable, it creates a Python script named <app_name>-script.py. This script is designed to call the main function of your application. The tool automatically detects the correct module to import and function to call by inspecting the console_scripts entry points defined in your application's packaging.
  3. Creates a Batch File: Finally, it creates a batch file (e.g., <app_name>.bat or an alternative name if specified) that executes the companion script using python. This allows you to run your application through the batch file without directly using the .exe.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd winzy-whitelist
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

Running Tests

To run the tests:

python -m pytest

Metadata

Release files for winzy-whitelist 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winzy-whitelist 0.1.0
File Size Uploaded Provenance
winzy_whitelist-0.1.0.tar.gz 8.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for winzy-whitelist 0.1.0
File Interpreter ABI Platform
winzy_whitelist-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / winzy_whitelist-0.1.0.tar.gz

Download URL winzy_whitelist-0.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ce3a08f3c5c9f8c7a6fbe06e77441f2a5f290e1d6beef306c8bd4593ac625856
BLAKE2b-256 checksum
How to use checksums
ca0c4c3f465436a2ec1ff1267948e564ec95bfec662f17f29af5e3bcd9bafee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 18, 2026.

Transparency log

Release files / winzy_whitelist-0.1.0-py3-none-any.whl

Download URL winzy_whitelist-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40457b8c020c5b5ece4abaee967837403d3c6e3f96215ad921ce80701f4f9c1d
BLAKE2b-256 checksum
How to use checksums
16e8bab5b5c41f01eb01d96154d05489e0cdbc520b60ddbe1df7f04b4d61a621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 18, 2026.

Transparency log

Security for winzy-whitelist 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for winzy_whitelist-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page