Skip to content

[RFC] Module scripts #649

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

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open

[RFC] Module scripts #649

wants to merge 22 commits into from

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

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.

1 participant