semvec/pypi-packages huggingface dataset:
nano-slug 0.1.1
Tiny text → URL slug converter in ~1KB (zero deps)
License: MIT
Requires Python: >=3.8

# nano-slug
[![PyPI](https://img.shields.io/pypi/v/nano-slug.svg?color=blue)](https://pypi.org/project/nano-slug/)
[![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-slug/actions/workflows/ci.yml/badge.svg)](https://github.com/ozgunlu/nano-slug/actions)

Tiny **text → URL slug** converter — ~1 KB, zero deps.
Lowercases, strips accents, replaces whitespace/punct with `-`, collapses dashes. Perfect for code-golf, minimal containers, or just for fun.

---

## ✨ Features
- ✅ Unicode → ASCII (`Café au lait` → `cafe-au-lait`)
- ✅ Punctuation/whitespace → `-`, multi-dash collapse, trim ends
- ✅ Returns `slug` if result would be empty
- ✅ Zero dependencies • single tiny file • CLI included

---

## 🚀 Usage
```bash
# Local (from repo)
python app_min.py "Hello, World!"                        # hello-world
python app_min.py "Türkçe Çalışma — Şaşırtıcı!"          # turkce-calisma-sasirtici
```

After installing:

```bash
# CLI
pip install nano-slug
nano-slug "Café au lait"                                  # cafe-au-lait
echo "  multiple   spaces  " | nano-slug                  # multiple-spaces
```

---

## 🤓 Why so small?

- Pure stdlib: unicodedata (NFKD) + tiny re replacements
- No transliteration tables, no locale deps
- Single tiny file + tiny CLI: perfect for scripts, containers, CI.

---

## 🎉 Fun Ideas

- **Batch rename files**
```bash
for f in *.md; do mv "$f" "$(nano-slug "${f%.md}").md"; done
```
- **Make anchors for headings**
```bash
awk '/^#/{sub(/^#* /,""); cmd="nano-slug \""$0"\""; cmd | getline s; close(cmd); print "- ["$0"]( #"s")"}' README.md
```
- **Slug from git branch**
```bash
nano-slug "$(git rev-parse --abbrev-ref HEAD)"
```

---

> **Notes: ASCII-only output by design. Non-Latin scripts may collapse to empty → returns "slug".**

---

## 📜 License

MIT © 2025
libbiosmoother 1.6.4
On-the-fly processing of interactome data
License: MIT
Requires Python: >=3.8


libBioSmoother is the library behind BioSmoother. It takes care of the runtime-sensitive server-side data processing.
libBioSmoother performs on-the-fly analysis (filtering, normalization, and downstream processing) of interactome data (https://en.wikipedia.org/wiki/Chromosome_conformation_capture). See the GitHub repository for more information: https://github.com/Siegel-Lab/libBioSmoother.

libBioSmoother's documentation is available at https://biosmoother.rtfd.io/.
nano-base 0.1.0
Tiny base converter (2..36) in ~1KB (zero deps).
License: MIT
Requires Python: >=3.8

# nano-base
[![PyPI](https://img.shields.io/pypi/v/nano-base.svg?color=blue)](https://pypi.org/project/nano-base/)
[![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-base/actions/workflows/ci.yml/badge.svg)](https://github.com/ozgunlu/nano-base/actions)

Tiny **base converter (2..36)** — ~1 KB, zero deps.
`255 → FF (base 10→16)`, `FF → 11111111 (16→2)`, negatives supported. Perfect for code-golf, minimal containers, or just for fun.

---

## ✨ Features
- ✅ Convert **between any bases 2..36** (digits `0-9A-Z`, case-insensitive)
- ✅ Two forms:
  - `<value> <to_base>` (assumes `from=10`)
  - `<value> <from_base> <to_base>`
- ✅ Handles negatives, `0`

---

## 🚀 Usage
```bash
# Local (from repo)
python app_min.py 255 16        # FF
python app_min.py FF 16 2       # 11111111
python app_min.py -42 10 16     # -2A
```

After installing:

```bash
# CLI
pip install nano-base
nano-base 255 16                # -> FF
nano-base FF 16 2               # -> 11111111
nano-base -2A 16 10             # -> -42
```

---

## 🤓 Why so small?

- Uses int(s, base) + tiny loop to format in target base
- No bigint libs; Python int already arbitrary precision
- Single tiny file + tiny CLI: perfect for scripts, containers, CI.

---

## 🎉 Fun Ideas

- **Hex table (0..255)**
```bash
for i in $(seq 0 255); do printf "%3d -> %s\n" $i "$(nano-base $i 16)"; done
```
- **Binary width (pad with printf)**
```bash
printf "%08d\n" "$(nano-base 42 2)"   # 000101010 (pad separately)
```
- **Base36 IDs**
```bash
nano-base 123456789 10 36   # -> 21I3V9
```

---

> **Note: Valid range is bases 2..36; input is case-insensitive (a..z ≡ A..Z).**

---

## 📜 License

MIT © 2025