Livebook is a tool for crafting interactive and collaborative code notebooks.
Each notebook consists of a number of cells, which serve as primary building blocks. There are Markdown cells (such as this one) that allow you to describe your work and Code cells to run your Elixir code!
To insert a new cell move your cursor between cells and click one of the revealed buttons. 👇
# This is a Code cell - as the name suggests that's where the code goes.
# To evaluate this cell, you can either press the "Evaluate" button above
# or use `Ctrl + Enter` (or Cmd + Enter on a Mac)!
message = "hey, grab yourself a cup of 🍵"Subsequent cells have access to the bindings you've defined:
String.replace(message, "🍵", "☕")Note however that bindings are not global, so each cell sees only stuff that goes above itself. This approach helps to keep the notebook clean and predictable as you keep working on it.
To run on Linux, Docker, embedded devices, or Elixir’s Mix, check our README.
select * from orders join users on users.id = user_iddefmodule Formulas do
import Nx.Defn
defn softm
defn sigmoid(x) do
1 / (1 + Nx.exp(-x))
end
defn relu(x) do
Nx.m
end
endGet to know Livebook, see how it works, and learn its features.

A fast-paced introduction to Elixir by building distributed data-transfer portals.
Write and deploy a chat app with Kino control and frames.

Learn how to quickly create numerous plots for your data.

Seamlessly plot maps using geospatial and tabular data.