# Obfuscate Julia module and import it Python

**URL:** <https://discourse.julialang.org/t/obfuscate-julia-module-and-import-it-python/73026>\
**Category:** General Usage\
**Tags:** module, python, package-compiler\
**Created:** [December 13, 2021, 2:10pm UTC](https://discourse.julialang.org/t/obfuscate-julia-module-and-import-it-python/73026 "2021-12-13T14:10:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [December 13, 2021, 2:26pm UTC](https://discourse.julialang.org/t/obfuscate-julia-module-and-import-it-python/73026/2 "2021-12-13T14:26:32Z")

</div>

Previous posts:

> [@Commercial codes using Julia - code obfuscation?](https://discourse.julialang.org/t/commercial-codes-using-julia-code-obfuscation/12429):
>
> Forking from the discussion on static compilation in Julia. One of the arguments for static compilation seems to be the commercial code and obfuscation argument. When shipping a commerical and paid for code the company does not want its work to be easily pirated. But that has changed with open source. I am familar with systems installation, systems management and installing both open source and commercial compiled codes. I worked for one company who had venture capital, and I was told they …

> [@Make a secret or black box function?](https://discourse.julialang.org/t/make-a-secret-or-black-box-function/58017/8):
>
> Suppose my function was f(x,y) = x^2+sin(y). Can you use this as an example to tell me how to use IRTools to generate some intermediate representation that is directly callable? I looked at the README for IRTools; I could see how code was turned into some “lower level” julia, but it wasn’t clear to me how to call/use that lower level stuff. In the README, I didn’t fully understand julia\> f = IRTools.func(ir); # Turn the new IR into a lambda julia\> f(nothing, 10, 5) though that seems to be wha…

---

_[View the full topic](https://discourse.julialang.org/t/obfuscate-julia-module-and-import-it-python/73026)._
