semvec/pypi-packages huggingface dataset:
poorcal 0.1.0
一个简单的加减乘除计算包，完美演绎了Python包的应用过程。
Requires Python: >=3.12
Keywords: calculator, python-beginner

# 🧮 Poorcal

**Poorcal (Poor Calculator) **是一个简单的计算器项目示例，包含了最基本的 **加减乘除** 函数，并提供了**同名命令行工具**，完美演示了Python包的应用过程，适合初学者参考。

<br/>



> 📌 更多学习内容，请参考 [**Python项目全流程指南**](https://github.com/hollson/poorcal/blob/master/docs/Python%E9%A1%B9%E7%9B%AE%E5%85%A8%E6%B5%81%E7%A8%8B%E6%8C%87%E5%8D%97.md)  



<br/>



## 🚀 安装方法

要求 Python 3.12 及以上版本，通过 pip 快速安装：

```bash
pip install poorcal
```



<br/>



## 📚 使用示例

### 基本用法

```python
from poorcal import Calculator

# 创建计算器实例
calc = Calculator()

# 执行基础算术运算
print(calc.add(2, 3))       # 输出：5
print(calc.subtract(10, 4)) # 输出：6
print(calc.multiply(5, 6))  # 输出：30
print(calc.divide(8, 2))    # 输出：4.0

# 处理除零异常（会抛出 ValueError）
try:
    calc.divide(5, 0)
except ValueError as e:
    print(e)  # 输出：不允许除以零
```



### 命令行用法

poorcal默认提供了`poorcal`命令行工具，使用方式如下： 

```bash
poorcal "1 + 2"
poorcal "3 - 1"
poorcal "2 * 3"
poorcal "8 / 2"
```



<br/>



## 📜 许可证

本项目基于 MIT 许可证开源 - 详见 [LICENSE](LICENSE) 文件。



<br/>



## 📞 支持与反馈

如果有任何问题或建议，欢迎在 [GitHub](https://github.com/hollson/poorcal/issues) 上提交 Issue。
shs-calculator 0.1.3
一个简单的加减乘除计算包，完美演绎了Python包的应用过程。
Requires Python: >=3.12
Keywords: calculator, python-beginner

# shs_calculator

这是一个简单的计算器项目示例，包含了最基本的 **加减乘除** 函数，并提供了命令行 `ccli`命令行工具，完美演示了Python包的应用过程，适合初学者参考。


<br/>


> 📌 更多学习内容，请参考 [**Python项目全流程指南**](https://github.com/hollson/shs_calculator/blob/master/docs/Python%E9%A1%B9%E7%9B%AE%E5%85%A8%E6%B5%81%E7%A8%8B%E6%8C%87%E5%8D%97.md)  



<br/>



## 🚀 安装方法

要求 Python 3.12 及以上版本，通过 pip 快速安装：

```bash
pip install shs_calculator
```



<br/>



## 📚 使用示例

### 基本用法

```python
from shs_calculator import Calculator

# 创建计算器实例
calc = Calculator()

# 执行基础算术运算
print(calc.add(2, 3))       # 输出：5
print(calc.subtract(10, 4)) # 输出：6
print(calc.multiply(5, 6))  # 输出：30
print(calc.divide(8, 2))    # 输出：4.0

# 处理除零异常（会抛出 ValueError）
try:
    calc.divide(5, 0)
except ValueError as e:
    print(e)  # 输出：不允许除以零
```



### 命令行用法

shs_calculator默认提供了`ccli`命令行工具，使用方式如下： 

```bash
ccli "1 + 2"
ccli "3 - 1"
ccli "2 * 3"
ccli "8 / 2"
```



<br/>



## 📜 许可证

本项目基于 MIT 许可证开源 - 详见 [LICENSE](LICENSE) 文件。



<br/>



## 📞 支持与反馈

如果有任何问题或建议，欢迎在 [GitHub](https://github.com/hollson/shs_calculator/issues) 上提交 Issue。
coding-agent-python 0.1.0
Add your description here
Requires Python: >=3.11

# coding-agent

`coding-agent` is a small CLI wrapper around Google GenAI (Gemini) to run prompt-based agents that may call out to local helper functions.  
This repo provides an installable package with a `coding-agent` command-line entry point and a Python module `coding_agent` for programmatic usage.

> ⚠️ This project expects a Gemini API key in your environment (see **Configuration**).

---

## Features

- Installable package via `pip` (supports editable installs for development).
- Console script `coding-agent` for quick prompt runs.
- Includes a `call_function` helper module so the model can request function execution.
- Designed to be small and extensible.

---

## Quick install

**From PyPI (when published):**

```bash
pip install coding-agent
````

**From local source (editable, for development):**

```bash
# inside a virtualenv
pip install -e .
```

**From local source (non-editable wheel):**

```bash
python -m build
pip install dist/coding_agent-0.1.0-py3-none-any.whl
```

---

## Configuration

Create a `.env` file in the project root (or set environment variables). At minimum set:

```
GEMINI_API_KEY=your_real_gemini_api_key_here
```

The package uses `python-dotenv` to load `.env` at runtime.

---

## Usage

### CLI

After installing (and activating your virtualenv if needed):

```bash
# Run the CLI; wrap your prompt in quotes
coding-agent "Write a Python script for calculation"
```

If `coding-agent` is not available on your PATH, you can run it with the module mode:

```bash
python -m coding_agent "Write a Python script for calculation"
```

### Programmatic

You can call the core runner from Python:

```python
from coding_agent.cli import run

# run returns None and prints output; you can modify run() to return values for tests
run("Write a small script that computes factorial", verbose=True)
```

---

## Development

Recommended project layout: use `src/` layout to avoid accidental packaging of extra top-level folders.

```
coding-agent/
├─ pyproject.toml
├─ README.md
├─ LICENSE
├─ src/
│  └─ coding_agent/
│     ├─ __init__.py
│     ├─ cli.py
│     ├─ __main__.py
│     ├─ config.py
│     └─ functions/
│        └─ call_function.py
├─ streamlit_app.py
├─ main.py
└─ tests/
```

Install development dependencies and editable install:

```bash
# inside a virtualenv
pip install -r requirements-dev.txt
pip install -e .
```

Made with 💖 by Swikrit and open for contributions
domgen 0.4.1a0
A package for generating HTML and CSS
Requires Python: >=3.6

# Domgen

Domgen is a library which can be used to generate minified HTML, with rich custom component support and material design components as standard.

To make a basic page's HTML code:

```py
import dom

page_model = dom.HTML(
    dom.Head(
        dom.Title("My Glorious Test Page"),
        dom.ExternalResourceLink(rel="stylesheet", href="assets/style.css")
    ),
    dom.Body(
        dom.ContentDivision(classes={"red", "centre"})(
            "My red and centred content with",
            dom.Button(onclick="alert('hello user')")(
                "a button"
            ),
            "in it",
        )
    )
)
page_code = page_model.serialise()
page_code_readable = page_model.serialise(minify=False)
```

```html
<!-- page_code -->
<!DOCTYPE html><html><head><title>My Glorious Test Page</title><link rel="stylesheet" href="assets/style.css" /></head><body><div class="red centre">My red and centred content with<button onclick="alert('hello user')">a button</button>in it</div></body></html>
<!-- page_code_readable -->
<!DOCTYPE html>
<html>
    <head>
        <title>
            My Glorious Test Page
        </title>
        <link rel="stylesheet" href="assets/style.css" />
    </head>
    <body>
        <div class="red centre">
            My red and centred content with
            <button onclick="alert('hello user')">
                a button
            </button>
            in it
        </div>
    </body>
</html>
```
simple-colortext 0.1.1
A simple package to print colored text in terminal
Requires Python: >=3.6

# Simple ColorText

A simple Python package to print colored text in your terminal.

## Installation

```bash
pip install simple-colortext
```

## Usage

```python
from colortext import print_color

# Print text in different colors
print_color("Hello, World!", "red")
print_color("Success!", "green")
print_color("Warning!", "yellow")
print_color("Info", "blue")
```

## Available Colors

- red
- green
- yellow
- blue
- magenta
- cyan
- white

## License

MIT License