Skip to main content

A collaborative notebook built for data scientists

Project description

Zero True Logo

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:

More Complicated Example

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

zero-true-0.0.dev15.tar.gz (2.9 MB view hashes)

Uploaded Source

Built Distribution

zero_true-0.0.dev15-py3-none-any.whl (2.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page