This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.
hello-bat-fwi9
A tiny Windows hello package. Install it, import it, call hello().
import hello_bat_fwi9
hello_bat_fwi9.hello()
hello() copies the bundled hello.bat to
%LOCALAPPDATA%\hello-bat-fwi9\ and runs it. The batch writes
hello.txt with hello from the underground and opens it in Notepad.
The .bat is bundled with the package, fixed, and readable. Nothing is
downloaded at runtime. pip install itself never runs it; the only trigger is
your call.
Install
pip install hello-bat-fwi9
Use
Run the bundled batch
import hello_bat_fwi9
hello_bat_fwi9.hello()
This writes:
%LOCALAPPDATA%\hello-bat-fwi9\hello.txt
with:
hello from the underground
and opens it in Notepad. run_hello() is an alias.
Native popup
import hello_bat_fwi9
hello_bat_fwi9.show_hello()
# or
hello_bat_fwi9.popup()
hello("hi there", "my title") also shows the native message box for
backward compatibility.
The popup is:
- title
hello/ bodyhelloby default - information icon
- one OK button
- topmost and foregrounded
- modal; blocks until you click OK or close it
- Windows only; on other platforms it returns
False
Quiet mode
$env:LN9_QUIET = "1"
hello() and the popup return False and do nothing. Useful for tests and CI.
What the batch does
src/hello_bat_fwi9/hello.bat is the whole file:
@echo off
setlocal
set "TXT=%~dp0hello.txt"
> "%TXT%" echo hello from the underground
start "" notepad "%TXT%"
endlocal
- writes/overwrites
hello.txtnext to the copied batch - opens it in Notepad
- no network, no download, no persistence, no elevation
- one fixed file, included in the wheel
hello() copies it to %LOCALAPPDATA%\hello-bat-fwi9\hello.bat before
running, so it does not write into site-packages.
Command line
hello-bat-fwi9 # run the bundled batch
hello-bat-fwi9 --popup # show the native message box
hello-bat-fwi9 "hi there" --popup
hello-bat-fwi9 --info
What it is not
- No install-time execution.
pip installonly unpacks files. - No
.exe; the package includes one.bat. - No download at runtime.
- No network access.
- No persistence, startup hook, or scheduled task.
- No hidden execution:
hello()is the trigger and the batch is readable.
Uninstall
pip uninstall hello-bat-fwi9
The copy in %LOCALAPPDATA%\hello-bat-fwi9\ is left behind; delete that folder
to remove it.
License
MIT.
Metadata
Release files for hello-bat-fwi9 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hello_bat_fwi9-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hello_bat_fwi9-0.1.0-py3-none-any.whl |
Release files / hello_bat_fwi9-0.1.0-py3-none-any.whl
| Download URL | hello_bat_fwi9-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c44e1bd0d7996ad17f611b7f9209bd460fde14112084f741229003658a5dc4c4
|
|
BLAKE2b-256 checksum How to use checksums |
ac924ac1fd3ce145ee563757a25bb014e5e06b2c8a23ae77b12318126c7db5d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Security for hello-bat-fwi9 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.