Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question/clarification] obfuscation policy #18

Open
nschloe opened this issue Jul 19, 2024 · 2 comments
Open

[question/clarification] obfuscation policy #18

nschloe opened this issue Jul 19, 2024 · 2 comments

Comments

@nschloe
Copy link

nschloe commented Jul 19, 2024

Two days ago (June 17, 2024), PyPi has implemented a policy against "obfuscation techniques to hide or mask functionality."

I maintain some proprietary packages on PyPi that employ obfuscation to protect our intellectual property (e.g., betterbib). Our obfuscation is not intended to hide functionality though—in fact, I make an effort to document my packages thoroughly.
I assume this policy targets malicious practices, which do not apply to my packages. Therefore, I believe our practices comply with the new policy. I would appreciate confirmation of this and perhaps clarification within the policy.

This might also affect other proprietary packages like gurobipy, which "obfuscate" their source code by providing shared (compiled) libraries only, or by relaying their functionality to API calls.

@saksham-sak
Copy link

Explicit Documentation and Transparency
Detailed Documentation: Clearly document the purpose, functionality, and intended use of your proprietary package. This demonstrates good intent and provides transparency about your package's behavior.
Compliance Statement: Include a specific statement in your package's README or documentation, explaining the use of obfuscation. For instance:
"This package employs obfuscation techniques solely to protect proprietary algorithms and intellectual property. All functionality is well-documented and transparent to end-users, ensuring compliance with PyPi policies."
Proactively reach out to PyPi administrators to confirm that your obfuscation practices align with the policy. Highlight your package's transparency and intent in your communication.

@hugovk
Copy link
Contributor

hugovk commented Jan 28, 2025

@saksham-sak Please don't post AI-generated instructions, it's neither accurate nor helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants