semvec/pypi-packages huggingface dataset:
dask-progress-matrix 0.0.1
A 2D progress matrix for visualizing Dask computations by chunk.
Requires Python: >=3.10

[![PyPI version](https://badge.fury.io/py/dask-progress-matrix.svg)](https://pypi.org/p/dask-progress-matrix)
[![Build status](https://github.com/aazuspan/dask-progress-matrix/actions/workflows/ci.yaml/badge.svg)](https://github.com/aazuspan/dask-progress-matrix/actions/workflows/ci.yaml)

Visualize Dask computations by chunk.

![Demo progress matrix](docs/demo.gif)

## Install

```bash
pip install dask-progress-matrix
```

## Quick-start

### API

Use `ProgressMatrix` as a context manager to track Dask computations:

```python
import dask.array as da
from dask_progress_matrix import ProgressMatrix

with ProgressMatrix(cmap="inferno"):
    da.random.random((2, 128, 256), chunks=(1, 16, 16)).compute()
```

### CLI

Track Dask computations in any Python file using the CLI. For example, using [uv](https://docs.astral.sh/uv/):

```bash
$ uvx dask-progress-matrix compute_something.py --cmap=inferno
```

## Features

* **Terminal or Jupyter** - Progress matrixes can be displayed in both terminal environments and Jupyter notebooks.

* **Modes** - When a computation is complete, the `ProgressMatrix` displays a summary with either the completed index or the elapsed time for each chunk, depending on the `mode` parameter.

* **Data structures** - Computing any Dask-backed object will display a progress matrix, including Xarray objects.

* **Dimensionality** - You can track the computation of any Dask array, regardless of dimensionality. For visualization, arrays are truncated to the last two dimensions, so e.g. an array with chunks `(3, 16, 16)` will be rendered as a 16 x 16 matrix where each chunk tracks the progress of 3 different computations.

## Limitations

* **Distributed schedulers** - Support for distributed schedulers like `dask.distributed.Client` isn't currently implemented.

* **Character width** - Each computation chunk is rendered with a minimum width of 2 characters, so arrays with huge numbers of chunks may render slowly or poorly.

* **Chunk shapes** - All chunks are represented by squares, regardles of their shape.

## FAQ

### Why use a progress matrix?

This was mostly developed out of curiosity, but it has some practical debugging and tuning applications, like identifying chunks that are slow to compute.

### Why does it take a long time to start doing anything?

The progress matrix only tracks terminal tasks that correspond directly to chunks in the computed output array. If your computation has a lot of intermediate tasks, you won't see any progress until those are completed.
notionmanager 0.1.28
A Python package for managing courses, projects, and directories with Notion integration.
Requires Python: <4.0,>=3.11


# Notion Manager: A Comprehensive Toolkit for Notion

Welcome to **NotionUtils**, your all-in-one utility toolkit designed to elevate your productivity and streamline your workflow within Notion. Whether you’re managing personal projects or organizing complex databases, NotionUtils provides powerful tools and features to automate tasks, simplify integrations, and optimize your Notion experience.

---

## Key Features

1. **Seamless Integration**: Effortlessly connect your Notion workspace with external services and automate workflows to save time and reduce manual effort.
2. **Enhanced Productivity**: Leverage a suite of features aimed at simplifying repetitive tasks and improving your organizational system.
3. **Customizable Utilities**: Tailor the toolkit to your specific needs with flexible configurations and options for advanced users.
4. **Documentation Support**: Easily create and manage well-documented guides and templates to maintain a consistent and structured Notion environment.
5. **Robust Development Environment**: Built with modern tools like Poetry and designed for scalability, NotionUtils ensures a smooth and efficient setup process.

---

## Installation & Setup

Setting up NotionUtils is a breeze. Follow our detailed installation instructions to configure a dedicated virtual environment using Poetry, connect to GitHub, and customize the tools for your use case. We provide everything you need to get started quickly, from example folder structures to environment management scripts.

---

## Use Cases

1. **Automate Routine Tasks**: Save time by automating actions like updating databases, syncing content, or generating project templates.
2. **Organize Complex Data**: Use NotionUtils to efficiently manage large sets of information, from project tracking to technical documentation.
3. **Facilitate Collaboration**: Streamline communication and collaboration with your team by creating easy-to-use guides and workflows.

---

## Getting Started

1. **Clone the Repository**: Start by cloning the NotionUtils GitHub repository to your local machine.
2. **Create a Virtual Environment**: Use Poetry to set up an isolated environment for the project, ensuring a smooth and conflict-free experience.
3. **Configure Your Setup**: Follow our comprehensive guide to customize settings and integrate with your Notion workspace seamlessly.

---

## Contributing & Support

We welcome contributions from the community! If you have ideas for new features, find bugs, or want to improve the documentation, feel free to submit issues or pull requests. Our goal is to build a supportive and collaborative ecosystem around NotionUtils.

For support and further questions, please check out the documentation or reach out to us on our GitHub page.

---

**Join us on this journey to unlock the full potential of Notion with NotionUtils.** Empower your workflow, automate your tasks, and transform the way you work with Notion!