py-to-win-app
Make runnable apps from your python scripts!
TODO: description
Installation
Install as dev dependency:
poetry add --dev py-to-win-app
Or using pip:
pip install py-to-win-app
Usage
-
Make
requirements.txtfile:pip freeze > requirements.txtUsing
poetry:poetry export -f requirements.txt -o requirements.txt --without-hashes -
In root directory of your project create file
build.pywith following content:from py_to_win_app import Project project = Project( input_dir="my_project", # directory where your source files are main_file="main.py" ) project.build(python_version="3.9.7") project.make_dist()
-
Run
build.py:python build.py
Documentation
Examples
-
Clone this repo:
git clone https://github.com/ruslan-rv-ua/py2winapp -
Execute any of
example-*.py:python example-flask-desktop.pyYou can find runnable windows application in
build/flask-desktopdirectory. Distributionflask-desktop.zip
More examples:
- telecode — desktop wxPython application
Credits
- inspired by ClimenteA/pyvan
- some examples from ClimenteA/flaskwebgui
Metadata
Release files for py-to-win-app 0.0.2
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 | |
|---|---|---|---|---|
| py-to-win-app-0.0.2.tar.gz | 8.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_to_win_app-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / py-to-win-app-0.0.2.tar.gz
| Download URL | py-to-win-app-0.0.2.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da904c8f74e30adfb67cebcb030de62207798a5f8efa8b81508fb1809c2827fe
|
|
BLAKE2b-256 checksum How to use checksums |
6f4da08cf9d1f32721d32881cb2ef281dbf61fd2845e2b653e383230bd2c1d0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Windows/10
|
Release files / py_to_win_app-0.0.2-py3-none-any.whl
| Download URL | py_to_win_app-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96ca719bb25a4423c7bb6e54d2c096d68b2904c23cc5fe5095ffeb71e6916d71
|
|
BLAKE2b-256 checksum How to use checksums |
17b1b94bc5679066f1b1fceeb15a50bdfc13ef52fbbf535dc240f2b948ad087f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Windows/10
|
Security for py-to-win-app 0.0.2
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.