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:
@@ -1 +1 @@
|
||||
"""Tests for wikijs-python-sdk."""
|
||||
"""Tests for py-wikijs."""
|
||||
|
||||
@@ -28,7 +28,7 @@ class TestAsyncWikiJSClientInit:
|
||||
assert isinstance(client._auth_handler, APIKeyAuth)
|
||||
assert client.timeout == 30
|
||||
assert client.verify_ssl is True
|
||||
assert "wikijs-python-sdk" in client.user_agent
|
||||
assert "py-wikijs" in client.user_agent
|
||||
|
||||
def test_init_with_auth_handler(self):
|
||||
"""Test initialization with auth handler."""
|
||||
@@ -265,7 +265,7 @@ class TestAsyncWikiJSClientSessionCreation:
|
||||
session = client._create_session()
|
||||
|
||||
assert isinstance(session, aiohttp.ClientSession)
|
||||
assert "wikijs-python-sdk" in session.headers["User-Agent"]
|
||||
assert "py-wikijs" in session.headers["User-Agent"]
|
||||
assert session.headers["Accept"] == "application/json"
|
||||
assert session.headers["Content-Type"] == "application/json"
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
"""Authentication tests for wikijs-python-sdk."""
|
||||
"""Authentication tests for py-wikijs."""
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Test configuration and fixtures for wikijs-python-sdk."""
|
||||
"""Test configuration and fixtures for py-wikijs."""
|
||||
|
||||
import pytest
|
||||
import responses
|
||||
|
||||
@@ -28,7 +28,7 @@ class TestWikiJSClientInit:
|
||||
assert isinstance(client._auth_handler, APIKeyAuth)
|
||||
assert client.timeout == 30
|
||||
assert client.verify_ssl is True
|
||||
assert "wikijs-python-sdk" in client.user_agent
|
||||
assert "py-wikijs" in client.user_agent
|
||||
|
||||
def test_init_with_auth_handler(self):
|
||||
"""Test initialization with auth handler."""
|
||||
|
||||
Reference in New Issue
Block a user