Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sukhbinder/winzy-whitelist
Whitelist python created exe's to make them bat scripts
https://github.com/sukhbinder/winzy-whitelist
Last synced: 2 days ago
JSON representation
Whitelist python created exe's to make them bat scripts
- Host: GitHub
- URL: https://github.com/sukhbinder/winzy-whitelist
- Owner: sukhbinder
- License: apache-2.0
- Created: 2024-11-13T13:35:50.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T13:41:50.000Z (2 months ago)
- Last Synced: 2024-12-22T15:03:37.374Z (about 1 month ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# winzy-whitelist
[![PyPI](https://img.shields.io/pypi/v/winzy-whitelist.svg)](https://pypi.org/project/winzy-whitelist/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/winzy-whitelist?include_prereleases&label=changelog)](https://github.com/sukhbinder/winzy-whitelist/releases)
[![Tests](https://github.com/sukhbinder/winzy-whitelist/workflows/Test/badge.svg)](https://github.com/sukhbinder/winzy-whitelist/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/winzy-whitelist/blob/main/LICENSE)Whitelist python created exe's to make them bat scripts.
## Installation
First configure your Winzy project [to use Winzy](https://github.com/sukhbinder/winzy).
Then install this plugin in the same environment as your Winzy application.
```bash
pip install winzy-whitelist
```
## UsageSome 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`
```bash
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.
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd winzy-whitelist
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```