A Beginner’s Guide to Juliar Module Creation in Python – Part 1

September 6, 2016 | Views: 2768

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

*Juliar * Alpha 10 has just been released and there is a huge update that came with it.

*Juliar * now allows import of modules created using python. That’s right, you can now easily

create your own modules in python and easily use them in *Juliar *.

(This tutorial assumes you know how to run and execute *Juliar * commands. If you don’t, check out the following tutorials: )


So why use “Python” to create modules for *Juliar *?  With 3 lines of python code, you can create a module. That’s right only 3 lines of python code and you got yourself a fully working module.

To get started, please download the Juliar’s PythonDevKit found at www.juliar.org/pythondevkit.zip

Once you’ve downloaded and extracted the zip file. You should see 3 files.

Once you’ve done that! Right click on pythonedevkit.zip and click extract.

You should now have three files available.

  1. Juliar.exe —Main *Juliar * Language
  2. Juliar.pyc — This is an intermediate file that connects your Python module to Juliar. Each python-Juliar module project must have this.
  3. example.py — The example file (For this tutorial we will not be using it except for reference)

In that folder, let’s create a new file “mymod.py”

Open the newly created file (mymod.py) in your favorite text editor and input the following:

`def hello(content,optionals):

return “Hello Friend!”`

[Please NOTE that each def will REQUIRE (content,optionals): ]

Save the file and close the window.

That’s it! You just created your first Juliar module in python! We can probably guess that it will output “Hello Friend!”, but will it work in Juliar? Let’s test it!

Open up “Juliar.exe” and type in *hello *

Hmm, it says that the command hello is not found…Is something wrong?

Yes, we forgot to import the module into our environment…So let’s do that now.

Type in `*import=py  mymod.py *`

It should output that you successfully imported command: hello!

Now type in:  `*hello *`

It should output “Hello Friend!”


You just got a white belt in creating Juliar modules in python!

If you find any bugs, feature suggestions, or want to help out please contact me.

Package Manager is coming soon, so do not delete the creations you make just yet!

Part 2 is coming soon, so stay tuned!

Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. C/C++, C#/VB, Python, .dll/.so are now supported!

  2. Excellent and I’m a beginner

  3. Very elegant, eagerly anticipating part 2.

Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge



Is Linux Worth Learning in 2020?
Views: 297 / December 14, 2019
How do I Get MTA Certified?
Views: 894 / December 12, 2019
How much does your PAM software really cost?
Views: 1345 / December 10, 2019
How Do I Get into Android Development?
Views: 1724 / December 8, 2019

We recommend always using caution when following any link

Are you sure you want to continue?