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.dev12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0fcb2ae013ccad5db8ff3acf2b509eb9b25ce3aa28f0d9e6ae8997bb731c17 |
|
MD5 | d2a71d6465f83a236fc67d3d939211d3 |
|
BLAKE2b-256 | 0efd17b11ca3d7699fc9a2faab8c6f0616bf557c5a2dad90381efec383fd26a2 |