semvec/pypi-packages huggingface dataset:
novo-sdk 0.1.1
Novosns CLI sdk
License: MIT
Requires Python: >=3.7

# novosns-sdk

## 介绍
novosns-sdk 仓库主要为了方便在 CLI 环境下使用 Keil 进行编译, 烧录等等。并提供了类似串口读取等工具。

## 安装教程

使用 Python >= 3.7 运行下面命令
```
pip install novo_sdk
```

## 使用说明

1. 环境中注入 uv4.exe 的路径
    ```
    export UV4_PATH=<uv4.exe path>
    ```

2. 调用 commands

    - `novo_sdk build` 用于编译 Keil 工程
    - `novo_sdk flash` 用于烧录 Keil 工程
    - `novo_sdk monitor` 监听串口
    - `novo_sdk clean` 清除编译产物

3. 可选参数

    - `--project_path` 填写示例路径，为空则默认为当前目录

## 构建 PIP 包

1. pip install build

2. python -m build

3. pip install twine

4. twine upload dist/*

## Change Log

### V0.1.0

- 初始版本
nano-roman 0.1.1
Tiny Roman↔Decimal converter in ~1KB (zero deps)
License: MIT
Requires Python: >=3.8

# nano-roman
[![PyPI](https://img.shields.io/pypi/v/nano-roman.svg?color=blue)](https://pypi.org/project/nano-roman/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
![Size](https://img.shields.io/badge/size-~1KB-lightgrey.svg)
[![CI](https://github.com/ozgunlu/nano-roman/actions/workflows/ci.yml/badge.svg)](https://github.com/ozgunlu/nano-roman/actions)

World’s *tiniest* **Roman ↔ Decimal** number converter — ~1 KB, zero deps.
Single-file, CLI included. Perfect for code-golf, minimal containers, or just for fun.

---

## ✨ Features
- ✅ `int → ROMAN` and `ROMAN → int` (case-insensitive)
- ✅ Standard subtractive forms: `IV, IX, XL, XC, CD, CM`
- ✅ Classic 1–3999 supported; >3999 continues with repeated `M`
- ✅ Zero dependencies, single tiny file
- ✅ CLI: `nano-roman`

---

## 🚀 Usage
```bash
# Local (from repo)
python app_min.py 3999   # MMMCMXCIX
python app_min.py XL     # 40
```

After installing:

```bash
# CLI
pip install nano-roman
nano-roman 1984   # -> MCMLXXXIV
nano-roman XLII   # -> 42
nano-roman mmxxv  # -> 2025
```

---

## 🤓 Why so small?

- Minimal token table (S and V) + greedy subtractive matching
- No heavy parsing/regex trees, no dependencies
- Single module + tiny CLI wrapper

---

## 🎉 Fun Ideas

- **Convert the current year**
```powershell
(Get-Date -Format yyyy) | % { nano-roman $_ }   # 2025 -> MMXXV
```
```bash
date +%Y | xargs nano-roman                     # 2025 -> MMXXV
```
- **“Roman clock” (hour only)**
```powershell
  (Get-Date -Format HH) | % { nano-roman $_ }     # 14 -> XIV
```
```bash
date +%I | xargs nano-roman                     # 07 -> VII
```
- **Git tag in Roman**
```bash
git tag "v$(nano-roman 2025)" && git push origin "v$(nano-roman 2025)"
```
- **Batch convert a list**
```bash
printf "4\n9\n42\n1999\n" | while read n; do nano-roman "$n"; done
# IV, IX, XLII, MCMXCIX
```
- **Quick Windows alias**
```powershell
Set-Alias r nano-roman
r 3999   # -> MMMCMXCIX
```

Note: Classical Roman numerals have no zero and no negative values.

---

## 📜 License

MIT © 2025