nwversioninfofiles
Introduction
This packages consists of the following modules:
nwversioninfofilesis a library that facilitates the creation of Version Info Files for PyInstaller.nwversioninfofilescliis a command-line application built on the top ofnwversioninfofiles.
Getting Started
I'll use Debian as operating system, but the concept is similar for Windows or Mac.
Procedure:
- Install
pipandvenv:
sudo apt install python3-pip python3.12-venv
- Create a virtual environment:
python3 -m venv /tmp/nwpackageversions
source /tmp/nwpackageversions/bin/activate
- Download and install the package:
pip install nwpackageversions
- Enter in the interactive Python environment:
python3
Python 3.12.3 (main, Aug 31 2026, 10:18:26) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
- Try out if the library works:
from nwpackageversions import VersionInfoFileVerifier
vinf_verifier : VersionInfoFileVerifier = VersionInfoFileVerifier()
- Exit from the interactive Python environment:
exit()
- Try out if the CLI application works:
nwpackageversionscli
- Deactivate and delete the virtual environment:
deactivate
rm -rf /tmp/nwpackageversions
- Done!
Examples
Run it with only mandatory arguments:
nwpackageversionscli --company_name "numbworks" --legal_copyright "numbworks" --file_description "An app that does something." --file_version "1.0.0" --product_name "numbworks" --original_filename "app.exe"
***********************************************************
'##::: ##:'##:::::'##:'##::::'##:'####:'##::: ##:'########:
###:: ##: ##:'##: ##: ##:::: ##:. ##:: ###:: ##: ##.....::
####: ##: ##: ##: ##: ##:::: ##:: ##:: ####: ##: ##:::::::
## ## ##: ##: ##: ##: ##:::: ##:: ##:: ## ## ##: ######:::
##. ####: ##: ##: ##:. ##:: ##::: ##:: ##. ####: ##...::::
##:. ###: ##: ##: ##::. ## ##:::: ##:: ##:. ###: ##:::::::
##::. ##:. ###. ###::::. ###::::'####: ##::. ##: ##:::::::
..::::..:::...::...::::::...:::::....::..::::..::..::::::::
****************************************Version: 2.0.1*****
company_name: 'numbworks'
file_description: 'An app that does something.'
file_version: '1.0.0'
legal_copyright: 'numbworks'
original_filename: 'app.exe'
product_name: 'numbworks'
output_path: 'None'
verify: 'False'
Run it with output_path:
nwpackageversionscli --company_name "numbworks" --legal_copyright "numbworks" --file_description "An app that does something." --file_version "1.0.0" --product_name "numbworks" --original_filename "app.exe" --output_path "version_info_file.txt"
Run it with verify:
nwpackageversionscli --company_name "numbworks" --legal_copyright "numbworks" --file_description "An app that does something." --file_version "1.0.0" --product_name "numbworks" --original_filename "app.exe" --verify
Links
- Source: https://github.com/numbworks/nwpackageversions
- License: https://github.com/numbworks/nwpackageversions/blob/master/LICENSE
Total Downloads (PyPi)
Metadata
Release files for nwversioninfofiles 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nwversioninfofiles-2.0.1.tar.gz | 8.7 kB | Without provenance | Details for nwversioninfofiles-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nwversioninfofiles-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for nwversioninfofiles-2.0.1-py3-none-any.whl |
Total release size: 17.8 kB
Release files / nwversioninfofiles-2.0.1.tar.gz
| Download URL | nwversioninfofiles-2.0.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df62114b1a1eb9d4d420b11b91fafd7efc9caaf6e0a0953b6bde6d46d8ff3998
|
|
BLAKE2b-256 checksum How to use checksums |
61b5e157b4195038666dbce22a7fadda9dc8a91d5e319c7288873fd141ff6e9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Release files / nwversioninfofiles-2.0.1-py3-none-any.whl
| Download URL | nwversioninfofiles-2.0.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
137a66c864247b20dd009ff89bd93d023e67748f4a29311e8db2088da9bd9557
|
|
BLAKE2b-256 checksum How to use checksums |
c9e2b030864ce95cc9ff235f444a5e6ba3c9dcb071ed1dab252cfce9e3150eef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.5
|
Security for nwversioninfofiles 2.0.1
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.