EntX-Py - Encrypt and Decrypt your python files!
EntXpy allows you to encrypt and decrypt your python files with the EntX library, with encrypted files requiring a password to run/decrypt. All encrypted files have the extension .entxpy.
The FileClient object
To perform operations on a file, you must initialise a FileClient object, with the file path and the password you wish to use.
from entxpy import FileClient
path = "path to .py / .entxpy file"
password = "your password"
my_client = FileClient(password, path)
Encrypting a .py file
from entxpy import FileClient
path = "path to .py/ file"
password = "your password"
my_client = FileClient(password, path)
my_client.pack()
Decrypting a .entxpy file
from entxpy import FileClient
path = "path to entxpy file"
password = "your password"
my_client = FileClient(password, path)
my_client.unpack()
Running a .py / .entxpy file
from entxpy import FileClient
path = "path to .py / .entxpy file"
password = "your password"
my_client = FileClient(password, path)
my_client.run()
Exceptions:
entxpy.errors.InvalidPath
Raised when the path provided does not lead to a valid file
entxpy.errors.InvalidOperation
Raised when an operation is being performed on an incorrect file, i.e running FileClient.unpack() on a .py file.
Metadata
Release files for entx-py 1.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 | Actions |
|---|---|---|---|---|
| entx_py-1.0.2.tar.gz | 2.4 kB | Without provenance | Details for entx_py-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| entx_py-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for entx_py-1.0.2-py3-none-any.whl |
Total release size: 5.7 kB
Release files / entx_py-1.0.2.tar.gz
| Download URL | entx_py-1.0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
164adc6915b040d09b4ad7e035bde6f55b99f0dae33302d0a73c448f679bb5af
|
|
BLAKE2b-256 checksum How to use checksums |
831d174e337d6ea5225db50c8f070baacc60a7a59c9962e6d73eed42240c7242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / entx_py-1.0.2-py3-none-any.whl
| Download URL | entx_py-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9b498bc077ca401ec12457c3e527505f1470875eaf3fa8b1690acc922fed0ee
|
|
BLAKE2b-256 checksum How to use checksums |
5684c270deeae89868135df0b361d84d143a9e16e22e21170094234053084487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for entx-py 1.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.