Imprint HN: I made a obfuscator for Python wheel

85
Imprint HN: I made a obfuscator for Python wheel

English | 简体中文

Overview

pywhlobf obfuscates your wheel distribution by compiling python source file to shared library.

Utilization

manylinux essentially essentially based docker photography

Following photography are essentially essentially based on pypa/manylinux platforms, with the tagging format as -. The corpulent listing can even be came upon in pywhlobf/tags. Whenever you occur to’d bask in to obfuscate a wheel to pork up a definite purpose platform, i.e. macOS or Windows platform, it’s most life like to aloof set up pywhlobf from PyPI in the aim platform and construct manually, as described in the next share.

  • pywhlobf/pywhlobf:0.2.3-manylinux1_x86_64
  • pywhlobf/pywhlobf:0.2.3-manylinux1_i686
  • pywhlobf/pywhlobf:0.2.3-manylinux2010_x86_64
  • pywhlobf/pywhlobf:0.2.3-manylinux2010_i686
  • pywhlobf/pywhlobf:0.2.3-manylinux2014_x86_64
  • pywhlobf/pywhlobf:0.2.3-manylinux2014_i686
  • pywhlobf/pywhlobf:0.2.3-manylinux_2_24_x86_64
  • pywhlobf/pywhlobf:0.2.3-manylinux_2_24_i686

We also present builds essentially essentially based on Cython 3.0 prerelease version:

  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux1_x86_64
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux1_i686
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux2010_x86_64
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux2010_i686
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux2014_x86_64
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux2014_i686
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux_2_24_x86_64
  • pywhlobf/pywhlobf:0.2.3-cython3-manylinux_2_24_i686

To properly lunge the docker container, particular person must aloof present the next arguments to the docker lunge exclaim:

  • -e PYTHON_ABI_TAG=: required. Indicating the supported Python & ABI label. Would possibly perhaps well additionally simply aloof be one amongst cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39.
  • --particular person "$(id -u):$(id -g)": required. This enviornment will be ancient by boxboat/fixuid to rep sure the permission of output recordsdata are appropriate.
  • --rm -it: elective however urged. This alternatives rep sure the container is deleted on exit.

Example of utilization:

POSITIONAL ARGUMENTS
INPUT_WHL_OR_FOLDER
Direction to the input wheel file, or the folder containing wheel file(s).
OUTPUT_FOLDER
Direction to the output folder.

FLAGS
–temp_folder=TEMP_FOLDER
Form: Elective[]
Default: None
Direction to the root of immediate-length of time folder.
–compiler_options=COMPILER_OPTIONS
Form: Elective[]
Default: None
If offered, must aloof be a dict containing easiest the supported keys of `Cython.Compiler.Alternate choices`, as shown in `https://cython.readthedocs.io/en/hottest/src/userguide/source_files_and_compilation.html#compiler-alternatives`. Example: –compiler_options='{“docstrings”: Untrue}’
–cythonize_options=CYTHONIZE_OPTIONS
Form: Elective[]
Default: None
If offered, must aloof be a dict containing easiest the supported parameters of `Cython.Originate.cythonize, as shown in `https://cython.readthedocs.io/en/hottest/src/userguide/source_files_and_compilation.html#Cython.Originate.cythonize` and `https://github.com/cython/cython/blob/9a761a637fce6a7b70735ae2248963d63e569e14/Cython/Compiler/Alternate choices.py#L566` Example: –cythonize_options='{“compiler_directives”:

Read More

Charlie Layers
WRITTEN BY

Charlie Layers

Fill your life with experiences so you always have a great story to tell