[PR #540] Add __version__ and __all__ to package #623

Open
opened 2026-10-27 21:04:37 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepEP/pull/540
Author: @yurekami
Created: 12/25/2025
Status: 🔄 Open

Base: main ← Head: add-version-and-all


📝 Commits (1)

  • 04f1b6d Add version and all to package

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 deep_ep/__init__.py (+3 -0)

📄 Description

Summary

  • Added __version__ attribute for programmatic version checking
  • Added __all__ to explicitly define the public API

Changes

  • deep_ep/__init__.py - Added version string and public API list

Benefits

  • Users can check version via deep_ep.__version__
  • IDEs and linters get better hints about the public API
  • Follows Python packaging best practices (PEP 396)

Example usage

import deep_ep
print(deep_ep.__version__)  # "1.2.1"

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepEP/pull/540 **Author:** [@yurekami](https://github.com/yurekami) **Created:** 12/25/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-version-and-all` --- ### 📝 Commits (1) - [`04f1b6d`](https://github.com/deepseek-ai/DeepEP/commit/04f1b6d0635241abd9ed2e5c867c4cb3ddbda777) Add __version__ and __all__ to package ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `deep_ep/__init__.py` (+3 -0) </details> ### 📄 Description ## Summary - Added `__version__` attribute for programmatic version checking - Added `__all__` to explicitly define the public API ## Changes - `deep_ep/__init__.py` - Added version string and public API list ## Benefits - Users can check version via `deep_ep.__version__` - IDEs and linters get better hints about the public API - Follows Python packaging best practices (PEP 396) ## Example usage ```python import deep_ep print(deep_ep.__version__) # "1.2.1" ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#623
No description provided.