PyPI · pypi:optree
optree active
Optimized PyTree Utilities.
The latest stable version of optree is 0.20.0, published on 2026-08-20. Verified by Vigia on 2026-11-13.
| Latest stable version | 0.20.0 |
|---|---|
| Published | 2026-08-20 11:36:05 UTC |
| Install | pip install --upgrade optree |
| Requires | python >=3.9 |
| License | Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 05:18:29 UTC |
| Sources | pypi.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the pypi package "optree", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/pypi/optree . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-08-20 11:36:05 UTC · 84 days ago |
| Stable releases in the last 12 months | 4 |
| Published versions | 30 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.20.0 | 2026-08-20 11:36:05 UTC |
0.19.1 | 2026-05-06 02:30:31 UTC |
0.19.0 | 2026-02-23 01:54:38 UTC |
0.18.0 | 2025-11-14 08:56:31 UTC |
0.17.0 | 2025-07-25 11:24:23 UTC |
0.16.0 | 2025-05-28 09:42:56 UTC |
0.15.0 | 2025-04-06 16:11:37 UTC |
0.14.1 | 2025-03-01 22:44:02 UTC |
0.14.0 | 2025-01-16 22:21:49 UTC |
0.13.1 | 2024-11-12 14:53:18 UTC |
0.13.0 | 2024-10-03 15:29:39 UTC |
0.12.1 | 2024-07-06 17:02:01 UTC |
0.12.0 withdrawn | 2024-07-04 21:36:20 UTC |
0.11.0 | 2024-03-25 18:29:32 UTC |
0.10.0 | 2023-11-07 07:24:26 UTC |
0.9.2 withdrawn | 2023-09-18 15:33:59 UTC |
0.9.1 withdrawn | 2023-05-23 15:43:25 UTC |
0.9.0 withdrawn | 2023-03-23 09:55:49 UTC |
0.8.0 withdrawn | 2023-03-14 10:43:49 UTC |
0.7.0 withdrawn | 2023-02-07 16:24:56 UTC |
Showing the 20 most recent of 29 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
python 3.8 | 0.15.0 |
python 3.9 | 0.20.0 |
python 3.10 | 0.20.0 |
python 3.11 | 0.20.0 |
python 3.12 | 0.20.0 |
python 3.13 | 0.20.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of optree?
The latest stable version of optree is 0.20.0, published on 2026-08-20. Verified by Vigia on 2026-11-13.
How do I install the latest version of optree?
Run pip install --upgrade optree. The latest stable version is 0.20.0 (verified 2026-11-13).
Is optree deprecated?
No. optree is not marked as deprecated in the registry.
Which Python version does optree require?
optree 0.20.0 declares this requirement: python >=3.9.
Does optree 0.20.0 have known vulnerabilities?
No known advisories affect optree 0.20.0 according to the data Vigia checks.
Is optree still maintained?
optree published 4 stable releases in the last 12 months; the most recent was 84 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- harbor-rewardkit
- langchain-mcp-adapters
- pyahocorasick
- publicsuffix2
- parver
- fake-useragent
- apache-airflow-providers-databricks
- apache-airflow-providers-google
- scantree
- pylatexenc
- dirhash
- mixpanel
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/pypi/optree) [](https://vigia.coredls.cloud/pypi/optree) [](https://vigia.coredls.cloud/pypi/optree)
For agents
GET https://vigia.coredls.cloud/v1/packages/pypi/optree
GET https://vigia.coredls.cloud/v1/packages/pypi/optree/versions/{version}