semvec/pypi-packages huggingface dataset:
poi 1.2.6
Write Excel XLSX declaratively.
Requires Python: >=3.9
Keywords: xlsx, xlswriter, excel, declarative

# Poi: The Declarative Way to Excel at Excel in Python

![CI](https://github.com/ryanwang520/poi/actions/workflows/tests.yaml/badge.svg)

## Why Poi?

Creating Excel files programmatically has always been a chore. Current libraries offer limited flexibility, especially when you need more than a basic table. That's where Poi comes in, offering you a simple, intuitive, yet powerful DSL to make Excel files exactly the way you want them.



## Installation

```bash
pip install poi
```

## Quick start

### Create a sheet object and write to a file.

```python
from poi import Sheet, Cell
sheet = Sheet(
    root=Cell("hello world")
)

sheet.write('hello.xlsx')
```

![hello](https://github.com/baoshishu/poi/raw/master/docs/assets/hello.png)

See, it's pretty simple and clear.


### Create a Dynamic Table with Conditional Formatting


```python
from typing import NamedTuple
from datetime import datetime
import random

from poi import Sheet, Table


class Product(NamedTuple):
    name: str
    desc: str
    price: int
    created_at: datetime
    img: str


data = [
    Product(
        name=f"prod {i}",
        desc=f"desc {i}",
        price=random.randint(1, 100),
        created_at=datetime.now(),
        img="./docs/assets/product.jpg",
    )
    for i in range(5)
]
columns = [
    {
        "type": "image",
        "attr": "img",
        "title": "Product Image",
        "options": {"x_scale": 0.27, "y_scale": 0.25},
    },
    ("name", "Name"),
    ("desc", "Description"),
    ("price", "Price"),
    ("created_at", "Create Time"),
]
sheet = Sheet(
    root=Table(
        data=data,
        columns=columns,
        row_height=80,
        cell_style={
            "color: red": lambda record, col: col.attr == "price" and record.price > 50
        },
        date_format="yyyy-mm-dd",
        align="center",
        border=1,
    )
)
sheet.write("table.xlsx")
```


![table](https://github.com/baoshishu/poi/raw/master/docs/assets/table.png)

See how simple it is to create complex tables? You just wrote a dynamic Excel table with conditional formatting a few lines of code!


### Features

* 🎉 Declarative: Create Excel files with a simple, intuitive DSL.
* 🔥 Fast: Export large Excel files in seconds.
* 🚀 Flexible Layouts: Create any layout you can imagine with our intuitive Row and Col primitives.


### Documentation

For more details, check our comprehensive [Documentation](https://ryanwang520.github.io/poi/)
sprouter 0.1.4
Simple Python project bootstrapper with virtualenv and pip automation.

[![Chat-GPT-Image-Sep-7-2025-04-49-26-PM.png](https://i.postimg.cc/Wb7Y3wzj/Chat-GPT-Image-Sep-7-2025-04-49-26-PM.png)](https://postimg.cc/TppJNmnH)

# Sprouter

⚡ **Sprouter** is a simple project setup utility. It creates a Python virtual environment, installs dependencies, and prepares a working directory for development — all from a single CLI entrypoint.

Think of it as a one-shot “project scaffolder” that asks *where* you want your project to live and does the boring setup for you.

---

## ✨ Features

* Prompts for a target directory (or take it as a CLI argument).
* Builds a `.venv` virtual environment inside that directory.
* Installs all dependencies listed in `requirements.txt`.
* Ensures idempotency: if `.venv` already exists, it won’t overwrite it.
* Can be wired up with `pyproject.toml` to install as a global command.

---

## 🚀 Usage

Clone or download this repo, then run:

```bash
cd sprouter
python3 -m sprouter.cli ~/Projects/myapp
```

You’ll see:

```
⚡ Creating virtualenv at /home/you/Projects/myapp/.venv
⚡ Installing dependencies from requirements.txt
```

Activate your environment:

```bash
source ~/Projects/myapp/.venv/bin/activate
```

Windows (PowerShell):

```powershell
.\Projects\myapp\.venv\Scripts\Activate.ps1
```

---

## 🛠 Development

The code is split into two modules:

* `core.py` → core logic for environment creation & pip installs.
* `cli.py` → command-line interface, argument parsing, user prompts.

This separation makes it easy to import `sprouter.core` in other Python scripts without invoking the CLI.

---

## 📦 Packaging (optional)

To install `sprouter` as a system-wide command:

1. Add this to your `pyproject.toml`:

   ```toml
   [project]
   name = "sprouter"
   version = "0.1.0"
   dependencies = []

   [project.scripts]
   bootstrapper = "sprouter.cli:main"
   ```

2. Install in editable mode:

   ```bash
   pip install -e .
   ```

3. Now you can run:

   ```bash
   sprouter ~/Projects/myapp
   ```

---


## 📄 License

This project is distributed under a [custom license](LICENSE).  
Use freely, hack ruthlessly, share improvements — but ownership remains with the author.
parsedat-bedrock 1.0.0
Lightweight Little-Endian NBT -> JSON CLI utility for Minecraft Bedrock level.dat files
Requires Python: <4.0,>=3.11

# ParseDAT Bedrock

A command line utility that reads a Minecraft Bedrock `level.dat` file (Little-Endian NBT) and outputs the data as JSON.

## Usage

```bash
parsedat-bedrock /path/to/level.dat --out world.json --pretty
parsedat-bedrock /path/to/level.dat --stdout
parsedat-bedrock /path/to/level.dat --preserve-types --pretty
```

## Features

* Automatically detect compression algorithm: gzip, zlib, or uncompressed
* Parse NBT tags (0..12): `End`, `Byte`, `Short`, `Int`, `Long`, `Float`, `Double`,
  `Byte_Array`, `String`, `List`, `Compound`, `Int_Array`, `Long_Array`
* Emits clean JSON values (default)
* Emits typed JSON if --preserve-types flag is used
* Validates tag 0 termination (where applicable)
* No external dependencies

## Notes

This script assumes the input file is Bedrock-style NBTLE, opposed to Java’s Big-Endian NBT.

## Author

[DJ Stomp](https://github.com/DJStompZone)


## License

MIT License. See the [LICENSE](LICENSE) file for more details.