blizzardapi2 2.0.0__tar.gz → 2.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/.github/workflows/python-package.yml +36 -2
  2. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/PKG-INFO +1 -1
  3. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/_version.py +2 -2
  4. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2.egg-info/PKG-INFO +1 -1
  5. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/pyproject.toml +2 -2
  6. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  7. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  8. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/.github/dependabot.yml +0 -0
  9. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/.gitignore +0 -0
  10. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/CODE_OF_CONDUCT.md +0 -0
  11. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/CONTRIBUTING.md +0 -0
  12. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/LICENSE +0 -0
  13. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/README.md +0 -0
  14. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/SECURITY.md +0 -0
  15. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/__init__.py +0 -0
  16. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/api.py +0 -0
  17. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/battlenet/__init__.py +0 -0
  18. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/battlenet/battlenet_api.py +0 -0
  19. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/battlenet/battlenet_oauth_api.py +0 -0
  20. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/blizzard_api.py +0 -0
  21. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/diablo3/__init__.py +0 -0
  22. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/diablo3/diablo3_api.py +0 -0
  23. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/diablo3/diablo3_community_api.py +0 -0
  24. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/diablo3/diablo3_game_data_api.py +0 -0
  25. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/hearthstone/__init__.py +0 -0
  26. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/hearthstone/hearthstone_api.py +0 -0
  27. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/hearthstone/hearthstone_game_data_api.py +0 -0
  28. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/starcraft2/__init__.py +0 -0
  29. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/starcraft2/starcraft2_api.py +0 -0
  30. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/starcraft2/starcraft2_community_api.py +0 -0
  31. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/starcraft2/starcraft2_game_data_api.py +0 -0
  32. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/types.py +0 -0
  33. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/wow/__init__.py +0 -0
  34. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/wow/wow_api.py +0 -0
  35. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/wow/wow_game_data_api.py +0 -0
  36. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2/wow/wow_profile_api.py +0 -0
  37. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2.egg-info/SOURCES.txt +0 -0
  38. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2.egg-info/dependency_links.txt +0 -0
  39. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2.egg-info/requires.txt +0 -0
  40. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/blizzardapi2.egg-info/top_level.txt +0 -0
  41. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/battlenet/README.md +0 -0
  42. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/diablo3/README.md +0 -0
  43. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/hearthstone/README.md +0 -0
  44. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/pull_request_template.md +0 -0
  45. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/starcraft2/README.md +0 -0
  46. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/docs/wow/README.md +0 -0
  47. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/setup.cfg +0 -0
  48. {blizzardapi2-2.0.0 → blizzardapi2-2.1.1}/uv.lock +0 -0
@@ -10,7 +10,7 @@ on:
10
10
  branches: ["main"]
11
11
 
12
12
  jobs:
13
- build:
13
+ test:
14
14
  runs-on: ubuntu-latest
15
15
  strategy:
16
16
  fail-fast: false
@@ -40,10 +40,44 @@ jobs:
40
40
  run: |
41
41
  uv pip install -e ".[dev]"
42
42
 
43
+ publish:
44
+ needs: test
45
+ if: github.ref == 'refs/heads/main'
46
+ runs-on: ubuntu-latest
47
+ steps:
48
+ - uses: actions/checkout@v4
49
+ with:
50
+ fetch-depth: 0
51
+
52
+ - name: Set up Python
53
+ uses: actions/setup-python@v5
54
+ with:
55
+ python-version: "3.11"
56
+
57
+ - name: Install uv
58
+ run: |
59
+ curl -LsSf https://astral.sh/uv/install.sh | sh
60
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
61
+
62
+ - name: Create virtual environment
63
+ run: |
64
+ uv venv
65
+
66
+ - name: Install dependencies
67
+ run: |
68
+ uv pip install -e ".[dev]"
69
+
43
70
  - name: Build and publish to PyPI
44
- if: github.ref == 'refs/heads/main'
45
71
  run: |
46
72
  python -m pip install --upgrade pip
47
73
  pip install build twine setuptools_scm
74
+ # Get the current version from pyproject.toml
75
+ CURRENT_VERSION=$(grep 'version = ' pyproject.toml | cut -d'"' -f2)
76
+ # Split version into major.minor.patch
77
+ IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT_VERSION"
78
+ # Increment minor version
79
+ NEW_VERSION="$MAJOR.$((MINOR + 1)).$PATCH"
80
+ # Update version in pyproject.toml
81
+ sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml
48
82
  python -m build
49
83
  twine upload dist/* --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blizzardapi2
3
- Version: 2.0.0
3
+ Version: 2.1.1
4
4
  Summary: A Python wrapper for Blizzard API
5
5
  Author-email: lostcol0ny <c098os0k@4wrd.cc>
6
6
  License: MIT
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.1.4b1.dev13+ga4874e3'
21
- __version_tuple__ = version_tuple = (1, 1, 4, 'b1', 'dev13', 'ga4874e3')
20
+ __version__ = version = '1.1.4b1.dev15+g18e4615.d20250615014319'
21
+ __version_tuple__ = version_tuple = (1, 1, 4, 'b1', 'dev15', 'g18e4615.d20250615014319')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blizzardapi2
3
- Version: 2.0.0
3
+ Version: 2.1.1
4
4
  Summary: A Python wrapper for Blizzard API
5
5
  Author-email: lostcol0ny <c098os0k@4wrd.cc>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "blizzardapi2"
3
- version = "2.0.0"
3
+ version = "2.1.1"
4
4
  description = "A Python wrapper for Blizzard API"
5
5
  authors = [{ name = "lostcol0ny", email = "c098os0k@4wrd.cc" }]
6
6
  license = { text = "MIT" }
@@ -68,7 +68,7 @@ exclude = [
68
68
  line-length = 120
69
69
 
70
70
  # Assume Python 3.1
71
- target-version = "py311"
71
+ target-version = "2.1.1"
72
72
 
73
73
  [tool.ruff.lint]
74
74
  # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes