Skip to main content

The python file encryption library.

Project description

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.

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

entx_py-1.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entx_py-1.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file entx_py-1.0.2.tar.gz.

File metadata

  • Download URL: entx_py-1.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for entx_py-1.0.2.tar.gz
Algorithm Hash digest
SHA256 164adc6915b040d09b4ad7e035bde6f55b99f0dae33302d0a73c448f679bb5af
MD5 0795b1dd79dac34b71d2af945cffa23c
BLAKE2b-256 831d174e337d6ea5225db50c8f070baacc60a7a59c9962e6d73eed42240c7242

See more details on using hashes here.

File details

Details for the file entx_py-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: entx_py-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for entx_py-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b498bc077ca401ec12457c3e527505f1470875eaf3fa8b1690acc922fed0ee
MD5 81db18b46a617222e5781075ecbc7fe8
BLAKE2b-256 5684c270deeae89868135df0b361d84d143a9e16e22e21170094234053084487

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page