# nanoid (Python) — card for AI agents

Tiny, secure, URL-friendly unique string ID generator for Python.

Category: Utilities · PyPI package `nanoid` · latest version 2.0.0 (checked 2026-11-01)
Install: `pip install nanoid`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 40.4 (#3101 of all tools, 327 of 408 in its category)
- Downloads last week: 1,578,610 (as of 2026-11-24), +16.7% over 4 weeks
- GitHub stars: 512 (as of 2026-11-24)
- Last push: 2026-04-13

## Often used with
aiofiles 96.0%, aiohttp 96.0%, Alembic 96.0%, AnyIO 96.0%, asgiref 96.0%, attrs 96.0%

## Links
- AgentGid page: https://agentgid.com/tools/nanoid-pypi/
- Homepage: https://github.com/puyuan/py-nanoid
- Repository: https://github.com/puyuan/py-nanoid

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
