pyinstaller-versionfile
Create a windows version-file from metadata stored in a simple self-written YAML file or obtained from an installed distribution.
Decision gist · record as of 2026-08-14
Yes. If you bundle Python applications for Windows with PyInstaller and need version metadata in the executable, this package eliminates tedious manual VERSIONINFO file creation. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a straightforward addition to Windows build workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Windows-only: the generated VERSIONINFO resource is specific to Windows executables; PyInstaller must be available to use the output file.
- Low friction: pure Python wheel with only three lightweight runtime dependencies (Jinja2, PyYAML, packaging).
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and open-source projects alike.
last release 2026-03-22 (145 days) · last repo commit 2026-08-01 · 48 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 181,493 downloads/mo, #10,125 on PyPI
Alternatives
Verify before relying
pip install pyinstaller-versionfile
import pyinstaller_versionfile
pyinstaller_versionfile.create_versionfile(
output_file="versionfile.txt",
version="1.2.3.4",
company_name="My Company",
product_name="My App"
)- Whether the package handles all Windows language and character-set codes correctly in practice.
- Performance characteristics when extracting metadata from large or complex distributions.
What it is and what it does
pyinstaller-versionfile automates the creation of Windows VERSIONINFO resource files—metadata blocks embedded in .exe files that display version, company, copyright, and product information in file properties. It bridges the gap between Python package metadata and PyInstaller's version-file format, eliminating manual crafting and version-number synchronization.
The package offers both a command-line interface (pyivf-make_version) and a functional Python API. You can source metadata from a YAML configuration file, extract it from an installed Python distribution, or specify values directly in code. It handles version strings flexibly—from hardcoded values to external files to CI build numbers—making it practical for automated build pipelines.
Use it for
- Embed version metadata in PyInstaller-bundled Windows applications without manual VERSIONINFO file editing.
- Automate version-file generation in CI/CD pipelines by reading version from distribution metadata or environment.
- Maintain synchronized version numbers across Python package and Windows executable properties.
- Generate VERSIONINFO resources from YAML configuration for reproducible, version-controlled builds.
- Extract and repackage metadata from installed editable distributions into Windows version resources.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you bundle Python applications for Windows with PyInstaller and need version metadata in the executable, this package eliminates tedious manual VERSIONINFO file creation. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a straightforward addition to Windows build workflows.
Install
pyinstaller-versionfile on PyPI
Before you install
Low friction: pure Python wheel with only three lightweight runtime dependencies (Jinja2, PyYAML, packaging). Actively maintained with recent commits and no known vulnerabilities.
Windows-only: the generated VERSIONINFO resource is specific to Windows executables; PyInstaller must be available to use the output file.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and open-source projects alike.
Quickstart
pip install pyinstaller-versionfile
import pyinstaller_versionfile
pyinstaller_versionfile.create_versionfile(
output_file="versionfile.txt",
version="1.2.3.4",
company_name="My Company",
product_name="My App"
)
Verify before relying
- Whether the package handles all Windows language and character-set codes correctly in practice.
- Performance characteristics when extracting metadata from large or complex distributions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesJinja2PyYAMLpackaging |
| Maintenance | Actively maintained 145 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 181,493 / month, #10,125 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: ConsoleLicense :: OSI Approved :: MIT LicenseOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: Build Tools |
Evidence: pyinstaller_versionfile-3.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “windows version file generator”
- pyinstaller-versionfileGenerates Windows VERSIONINFO resource files for PyInstaller from…
- mesonMeson is a build system that reads declarative meson.build…
- ua-generatorGenerates realistic, randomized user-agent strings for modern…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also auto-py-to-exe · pyinstxtractor-ng · pyinstaller · pyinstaller-hooks-contrib · win32-setctime · types-pyinstaller · hatch-vcs · csaf-tool · py-cpuinfo · PyYAML