Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjdoris/pyjuliaup
Python interface to juliaup, the Julia version manager
https://github.com/cjdoris/pyjuliaup
Last synced: 24 days ago
JSON representation
Python interface to juliaup, the Julia version manager
- Host: GitHub
- URL: https://github.com/cjdoris/pyjuliaup
- Owner: cjdoris
- License: mit
- Created: 2022-02-07T17:07:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T18:33:39.000Z (almost 2 years ago)
- Last Synced: 2024-09-14T03:55:26.123Z (about 2 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyjuliaup
A Python interface to [JuliaUp](https://github.com/JuliaLang/juliaup), the Julia version
manager.## Install
```sh
pip install juliaup
```## Usage
### Find JuliaUp
- `executable()` finds the JuliaUp executable.
- `version()` returns version of the JuliaUp executable.
- `available()` returns True if JuliaUp is available.
- `install(interactive=True)` installs JuliaUp. You don't normally need to call this as the
other API functions automatically install JuliaUp if required.
- `meta()` returns the parsed contents of `juliaup.json`, which includes information about
installed versions of Julia.### Run JuliaUp
- `status()` print the status.
- `add(channel)` adds a channel.
- `remove(channel)` removes a channel.
- `update(channel=None)` updates all channels or the given channel.
- `default(channel)` sets the default channel.
- `link(channel, file)` links a Julia executable to a channel.
- `self_update()` updates JuliaUp itself.
- `run(args, **kw)` runs JuliaUp with the given arguments. Keyword arguments are passed on to
`subprocess.run`.