A collaborative notebook built for data scientists
Project description
Zero True: A New Kind of Code Notebook
🌐 Overview
Welcome to Zero True, your go-to platform for creating beautiful and professional data-driven notebooks and applications in pure Python. Designed to foster collaboration and improve data accessibility, Zero True offers a rich UI library along with an intelligent code parser. Your notebook will always stay in sync.
📚 Table of Contents
Features
- 📝 Multi-language code editor with real-time execution.
- 🌌 Hierarchical organization for code cells.
- 📊 Dynamic UI rendering with beautiful Vuetify components.
- 🔄 Automatic dependency tracking between cells.
- 🚀 Integrated app publishing with a simple command or click.
⚙ Requirements
- Python 3.9 (Anaconda or virtual environment recommended)
🚀 Quick Start
pip install zero-true
zero-true notebook
Usage
Once the application is running, navigate to http://localhost:2613 and start creating and executing code cells. Click the "Run" button to execute code and visualize the output below the editor.
Basic Example
import zero_true as zt
my_slider = zt.Slider(id="my_slider")
More Complicated Example
import plotly.graph_objects as go
from plotly.graph_objects import Figure
import zero_true as zt
# Generate a layout
layout = {
"title": "My Plot",
"xaxis": {"title": "x-axis"},
"yaxis": {"title": "y-axis"}
}
slider=zt.Slider(id='slider1')
zt.Slider(id='slider2')
zt.Slider(id='slider3')
zt.Slider(id='slider4')
zt.Slider(id='slider5')
fig = go.Figure(data=[go.Scatter(x=[slider.value, slider.value+2, slider.value+3], y=[1, 4, 9])])
zt.PlotlyComponent(id = 'acds',figure=fig.to_dict(), layout=layout)
zt.Layout(rows=[zt.Row(components=['slider3',zt.Column(components=['slider4','slider5'])])],columns=[zt.Column(components=['acds','slider1']),
zt.Column(components=['slider2'])])
And the resulting layout:
For more information checkout our docs!
Community
Reach out on GitHub with any feature requests or bugs that you encounter and share your work with us on Twitter/X! We would love to see what you're able to build using Zero-True.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zero_true-0.0.dev14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420eda39e34edb298daaee5c24224371d61f1cd21502549f96af902843cd2d94 |
|
MD5 | f9ed02664514d55e458b2b0d0111ba49 |
|
BLAKE2b-256 | f347212b55e9d584f162a31269883bd3ee6b6a2aeb4a6fda89754b3ac0f30443 |