Skip to content

Interact with your Pluto notebooks from other Julia programs!

License

Notifications You must be signed in to change notification settings

JuliaPluto/PlutoRESTClient.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlutoRESTClient.jl

Interact with your Pluto notebooks from other Julia programs!

How to use

using PlutoRESTClient

nb = PlutoNotebook("MyExampleNotebook.jl")
# Alternatively, if Pluto is running somewhere on the internet...
nb = PlutoNotebook("MyExampleNotebook.jl", "http://example.com:1234")

# Gets the value of a variable named `a` from MyExampleNotebook.jl
nb.a
# Gets the value of a variable named `some_other_variable`
nb.some_other_variable

# Calls a function called `my_add` defined in MyExampleNotebook.jl
nb.my_add(1, 2)
# Calls a function called `my_subtract` defined in MyExampleNotebook.jl
nb.my_subtract(1, 2)

# Updates the values of `a` and `b`
# Returns the new value of `c` after the changes
nb(; a=3, b=4).c

About

Interact with your Pluto notebooks from other Julia programs!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages