refactor: Rename package from wikijs-python-sdk to py-wikijs and migrate to GitHub

Complete package renaming and platform migration:

Package Name Changes:
- Rename package from 'wikijs-python-sdk' to 'py-wikijs'
- Update setup.py package name
- Update pyproject.toml package name
- Users can now install with: pip install py-wikijs

URL Migration (Gitea → GitHub):
- Replace all Gitea URLs with GitHub URLs
- Update repository: github.com/l3ocho/py-wikijs
- Update issue tracker: github.com/l3ocho/py-wikijs/issues
- Update documentation links
- Fix URL path format (/src/branch/main/ → /blob/main/)

Documentation Updates:
- Update README.md badges (PyPI, GitHub)
- Update installation instructions (pip install py-wikijs)
- Update all doc references to new package name
- Update all examples with GitHub URLs
- Update DEPLOYMENT_READY.md with new package name
- Update deployment.md with new package name

Testing:
- Successfully built py_wikijs-0.1.0.tar.gz (138 KB)
- Successfully built py_wikijs-0.1.0-py3-none-any.whl (66 KB)
- Package installs correctly: pip install py-wikijs
- Imports work: from wikijs import WikiJSClient
- Package metadata correct (Home-page: github.com/l3ocho/py-wikijs)

Breaking Changes:
- Package name changed from wikijs-python-sdk to py-wikijs
- Repository migrated from Gitea to GitHub
- All URLs updated to GitHub

Users should now:
pip install py-wikijs  # Instead of wikijs-python-sdk

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2025-10-23 20:23:50 +00:00
parent c18d00cd47
commit 59cdf5ee01
52 changed files with 128 additions and 125 deletions

View File

@@ -1,4 +1,4 @@
"""Async WikiJS client for wikijs-python-sdk."""
"""Async WikiJS client for py-wikijs."""
import json
from typing import Any, Dict, Optional, Union
@@ -8,7 +8,7 @@ try:
except ImportError:
raise ImportError(
"aiohttp is required for async support. "
"Install it with: pip install wikijs-python-sdk[async]"
"Install it with: pip install py-wikijs[async]"
)
from ..auth import APIKeyAuth, AuthHandler
@@ -99,7 +99,7 @@ class AsyncWikiJSClient:
# Request configuration
self.timeout = timeout
self.verify_ssl = verify_ssl
self.user_agent = user_agent or f"wikijs-python-sdk/{__version__}"
self.user_agent = user_agent or f"py-wikijs/{__version__}"
# Endpoint handlers (will be initialized when session is created)
self.pages = AsyncPagesEndpoint(self)

View File

@@ -1,4 +1,4 @@
"""Base async endpoint class for wikijs-python-sdk."""
"""Base async endpoint class for py-wikijs."""
from typing import TYPE_CHECKING, Any, Dict, Optional

View File

@@ -1,4 +1,4 @@
"""Async Pages API endpoint for wikijs-python-sdk."""
"""Async Pages API endpoint for py-wikijs."""
from typing import Any, Dict, List, Optional, Union

View File

@@ -1,4 +1,4 @@
"""Async Users API endpoint for wikijs-python-sdk."""
"""Async Users API endpoint for py-wikijs."""
from typing import Any, Dict, List, Optional, Union