Skip to content

Add __version__ and __all__ to package#540

Open
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
yurekami:add-version-and-all
Open

Add __version__ and __all__ to package#540
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
yurekami:add-version-and-all

Conversation

@yurekami
Copy link
Copy Markdown
Contributor

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

- Added __version__ attribute for easy version checking via deep_ep.__version__
- Added __all__ to explicitly define the public API

This follows Python packaging best practices and makes it easier for users
to check the installed version programmatically.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant