Delete Python scripts at exit
Project description
deleter
Automatically remove python scripts from disk after execution. Main purpose is to delete single file executables generated by PyInstaller. Deleter does not support deleting mult-file scripts.
Installation
From PyPI
pip install deleter -U
From sources
git clone https://github.com/desty2k/deleter.git
cd deleter
pip install .
Usage
Delete app at exit
import deleter
deleter.register()
# your code
Cancel app deletion
import deleter
deleter.register()
# your code
# cames out that we do not need to delete app
deleter.unregister()
# executable stays on disk
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deleter-0.1.1.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deleter-0.1.1.tar.gz.
File metadata
- Download URL: deleter-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7245fb47f121d7e65aa02d6b61fb05695efe7b363f648950f35bb131d8a0535a
|
|
| MD5 |
bfa80bd78d0e7d63a047d4d82c2d8cd2
|
|
| BLAKE2b-256 |
f87af1be9967515001a037ba4ad0bab42ba9b0e4d4760056d0302aa64e2f1a53
|
File details
Details for the file deleter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: deleter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ab637dac8359fa7688bc8f2fd4df6a27cb2a279be06cf18ba68fbb00ac410d6
|
|
| MD5 |
5e01004f788a0d77767dd17647548115
|
|
| BLAKE2b-256 |
417f7191fb3a3a7c46057195e422aa02950d5c5b52909248f597b755012fa5a8
|