Skip to content

[RFC] Module scripts#649

Closed
klamike wants to merge 27 commits intoJuliaPy:mainfrom
klamike:mk/dundermain
Closed

[RFC] Module scripts#649
klamike wants to merge 27 commits intoJuliaPy:mainfrom
klamike:mk/dundermain

Conversation

@klamike
Copy link

@klamike klamike commented Jul 22, 2025

This PR adds two module scripts:

  • python -m juliacall / python -m juliacall.repl to launch a REPL (with a custom banner 😄)
  • python -m juliacall.init to (lazily) download Julia and optionally show juliapkg env info.

The idea is these are nice for debugging -- calling python -m juliacall with the same exact environment as python juliacall_script.py, you know you are running exactly the same julia and project. The juliacall.init is nice as a quick sanity check, and in distributed settings like discourse post.

Happy to make any changes!

Here's what the REPL looks like:
Screenshot 2025-07-22 at 7 36 02 PM

Loading
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

Successfully merging this pull request may close these issues.

2 participants