Package: abasepytest
Platform Specific WheelNoteThis package currently only support on python version 3.10 or lower , because pyarmor module is still in development for version 3.11 or higher , so you need to wait for upgrading your virtual_environment to python 3.11This package does not need platform specific wheel it runs on devices that have python. currently it is OS independentIMPORTANTpython is intrepreter language , hiding its source code from public is not easy , we are taking difficult path to hide by using pyarmor module , we are using trial version and it can only take upto 8000 lines of code i think , you need to be updated on changes that happen to pyarmor modules and its bugs and fixesPyPi is open-source distribution , so source will be visible , we are just only encrypting it.
If you are ok with Users or Developers seeing the source code but not public , you can just share the wheel file that have extension .whl to the users without being to uploading into PyPi repo(it is meant for open source distributers) . So in this way you can remove the use of pyarmor encryptionSteps To Reproduceinstall pyarmorpip install pyarmormake sure your python version is 3.10 or belowpython --versionFILE STRUCTURENow run pyarmor on project folderpyarmor gen --obf-mod=1 .if it is successful there should be dist folderdist folder will contains two folderpyarmor_runtime_00000andsrcreplace orginalsrcfolder withsrcfolder in dist folder. you can see codes insrcfolder in dist is in encrypted formmovepyarmor_runtime_00000folder to src folderdeletedistfoldernow your file structure should be like thisnow open pyproject.toml file and type thischeck your file structure for any mistakesnow run this in parent directorypython -m build wheel.this will create adistfolder that contains wheel fileyou can now share this wheel file to users you want , without having to uploading into PyPIImporting the Packagefrom package_name.base import DatabaseConnector , AgentRunnerUploading to PyPIThe first thing you’ll need to do is register an account on PyPI, To register an account, go tohttps://pypi.org/account/register/and complete the steps on that page. You will also need to verify your email address before you’re able to upload any packages.To securely upload your project, you’ll need a PyPIAPI token. Create one athttps://pypi.org/manage/account/#api-tokens, setting the “Scope” to “Entire account”.Don’t close the page until you have copied and saved the token — you won’t see that token again.Now that you are registered, you can usetwineto upload the distribution packages. You’ll need to install Twine:Installing twinepython3  -m  pip  install  --upgrade  twineUploading with twineOnce installed, run Twine to upload all of the archives underdist:run this command on package directorypython3  -m  twine  upload  --repository  pypi dist/*You will be prompted for a username and password. For the username, use__token__. For the password, use the token value (API token that created in PyPI earlier), including thepypi-prefix.Once uploaded your package should be visible on PyPI . Try to install it from thereUploading to PyPi with wheeldownload the wheel file i send to youyou only need the wheel file for this , you don't need other project filesThe first thing you’ll need to do is register an account on PyPI, To register an account, go tohttps://pypi.org/account/register/and complete the steps on that page. You will also need to verify your email address before you’re able to upload any packages.To securely upload your project, you’ll need a PyPIAPI token. Create one athttps://pypi.org/manage/account/#api-tokens, setting the “Scope” to “Entire account”.Don’t close the page until you have copied and saved the token — you won’t see that token again.Now that you are registered, you can usetwineto upload the distribution packages. You’ll need to install Twine:Installing twinepython3  -m  pip  install  --upgrade  twineUploading with twineOnce installed, run Twine to upload all of the archives underdist:run this command on folder that contains download wheel filepython3  -m  twine  upload  --repository  pypi *type wheel name here*You will be prompted for a username and password. For the username, use__token__. For the password, use the token value (API token that created in PyPI earlier), including thepypi-prefix.Once uploaded your package should be visible on PyPI . Try to install it from thereIMPORTANTif some issue persist in future , try downgrading pyarmor , and build the package by referring above steps to reproduce ,
there is change in pyarmor commands . refer to pyarmor docs