python-gitmojis 1.0.0__tar.gz → 1.1.0__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 (26) hide show
  1. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/LICENSE +1 -1
  2. {python-gitmojis-1.0.0/src/python_gitmojis.egg-info → python_gitmojis-1.1.0}/PKG-INFO +14 -19
  3. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/README.md +7 -1
  4. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/pyproject.toml +36 -19
  5. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0/src/python_gitmojis.egg-info}/PKG-INFO +14 -19
  6. python_gitmojis-1.1.0/src/python_gitmojis.egg-info/requires.txt +2 -0
  7. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/tests/test_cli.py +2 -2
  8. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/tests/test_core.py +1 -1
  9. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/tests/test_gitmoji.py +2 -2
  10. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/tests/test_guide.py +2 -2
  11. python-gitmojis-1.0.0/src/python_gitmojis.egg-info/requires.txt +0 -19
  12. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/setup.cfg +0 -0
  13. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/__init__.py +0 -0
  14. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/__main__.py +0 -0
  15. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/cli/__init__.py +0 -0
  16. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/cli/commands.py +0 -0
  17. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/core.py +0 -0
  18. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/defaults.py +0 -0
  19. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/exceptions.py +0 -0
  20. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/model.py +0 -0
  21. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/gitmojis/py.typed +0 -0
  22. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/python_gitmojis.egg-info/SOURCES.txt +0 -0
  23. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/python_gitmojis.egg-info/dependency_links.txt +0 -0
  24. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/python_gitmojis.egg-info/entry_points.txt +0 -0
  25. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/src/python_gitmojis.egg-info/top_level.txt +0 -0
  26. {python-gitmojis-1.0.0 → python_gitmojis-1.1.0}/tests/test_defaults.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Kamil Paduszyński
3
+ Copyright (c) 2023-2026 Kamil Paduszyński
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-gitmojis
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: 😜 The official Gitmoji Guide in Python projects 🐍
5
5
  Author-email: Kamil Paduszyński <paduszyk@gmail.com>
6
6
  Keywords: emoji,git,gitmoji
@@ -12,26 +12,15 @@ Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
15
17
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
18
  Requires-Python: >=3.10
17
19
  Description-Content-Type: text/markdown
18
20
  License-File: LICENSE
19
- Requires-Dist: click
20
- Requires-Dist: requests
21
- Provides-Extra: dev
22
- Requires-Dist: nox; extra == "dev"
23
- Requires-Dist: pre-commit; extra == "dev"
24
- Provides-Extra: lint
25
- Requires-Dist: black; extra == "lint"
26
- Requires-Dist: mypy; extra == "lint"
27
- Requires-Dist: ruff; extra == "lint"
28
- Requires-Dist: types-requests; extra == "lint"
29
- Provides-Extra: test
30
- Requires-Dist: pytest; extra == "test"
31
- Requires-Dist: pytest-click; extra == "test"
32
- Requires-Dist: pytest-cov; extra == "test"
33
- Requires-Dist: pytest-custom-exit-code; extra == "test"
34
- Requires-Dist: pytest-mock; extra == "test"
21
+ Requires-Dist: click<9.0.0,>=8.4.2
22
+ Requires-Dist: requests<3.0.0,>=2.34.2
23
+ Dynamic: license-file
35
24
 
36
25
  # python-gitmojis
37
26
 
@@ -44,6 +33,11 @@ Requires-Dist: pytest-mock; extra == "test"
44
33
  [![mypy](https://img.shields.io/badge/type--checked-mypy-blue?style=flat-square)][mypy]
45
34
  [![black](https://img.shields.io/badge/code%20style-black-black?style=flat-square)][black]
46
35
 
36
+ [![pypi-status](https://img.shields.io/pypi/status/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
37
+ [![pypi-version](https://img.shields.io/pypi/v/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
38
+ [![pypi-python-version](https://img.shields.io/pypi/pyversions/python-gitmojis?style=flat-square&logo=python&logoColor=white)][pypi]
39
+ [![pypi-license](https://img.shields.io/pypi/l/python-gitmojis?style=flat-square&label=license)][pypi]
40
+
47
41
  ## Summary
48
42
 
49
43
  This package provides a few simple utilities to apply the official
@@ -56,7 +50,7 @@ commit and pull request messages seem feasible as well.
56
50
 
57
51
  - Handle individual Gitmojis and their lists using Python classes. 👔
58
52
  - Fetch Gitmoji data directly from the official [Gitmoji API][gitmoji-api]. 😜
59
- - Graceful degradation: If the API is unavailable, fall back to backup data. 🛟
53
+ - Graceful degradation: If the API is unavailable, fall back to backup data. 🦺
60
54
 
61
55
  ## Installation
62
56
 
@@ -259,4 +253,5 @@ Released under the [MIT License][license].
259
253
  [nox]: https://github.com/wntrblm/nox
260
254
  [pep-557]: https://peps.python.org/pep-0557/
261
255
  [pre-commit.ci]: https://results.pre-commit.ci/latest/github/paduszyk/python-gitmojis/main
256
+ [pypi]: https://pypi.org/project/python-gitmojis/
262
257
  [ruff]: https://github.com/astral-sh/ruff
@@ -9,6 +9,11 @@
9
9
  [![mypy](https://img.shields.io/badge/type--checked-mypy-blue?style=flat-square)][mypy]
10
10
  [![black](https://img.shields.io/badge/code%20style-black-black?style=flat-square)][black]
11
11
 
12
+ [![pypi-status](https://img.shields.io/pypi/status/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
13
+ [![pypi-version](https://img.shields.io/pypi/v/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
14
+ [![pypi-python-version](https://img.shields.io/pypi/pyversions/python-gitmojis?style=flat-square&logo=python&logoColor=white)][pypi]
15
+ [![pypi-license](https://img.shields.io/pypi/l/python-gitmojis?style=flat-square&label=license)][pypi]
16
+
12
17
  ## Summary
13
18
 
14
19
  This package provides a few simple utilities to apply the official
@@ -21,7 +26,7 @@ commit and pull request messages seem feasible as well.
21
26
 
22
27
  - Handle individual Gitmojis and their lists using Python classes. 👔
23
28
  - Fetch Gitmoji data directly from the official [Gitmoji API][gitmoji-api]. 😜
24
- - Graceful degradation: If the API is unavailable, fall back to backup data. 🛟
29
+ - Graceful degradation: If the API is unavailable, fall back to backup data. 🦺
25
30
 
26
31
  ## Installation
27
32
 
@@ -224,4 +229,5 @@ Released under the [MIT License][license].
224
229
  [nox]: https://github.com/wntrblm/nox
225
230
  [pep-557]: https://peps.python.org/pep-0557/
226
231
  [pre-commit.ci]: https://results.pre-commit.ci/latest/github/paduszyk/python-gitmojis/main
232
+ [pypi]: https://pypi.org/project/python-gitmojis/
227
233
  [ruff]: https://github.com/astral-sh/ruff
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "python-gitmojis"
10
- version = "1.0.0"
10
+ version = "1.1.0"
11
11
  description = "😜 The official Gitmoji Guide in Python projects 🐍"
12
12
  readme = "README.md"
13
13
  authors = [
@@ -23,36 +23,53 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.10",
24
24
  "Programming Language :: Python :: 3.11",
25
25
  "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
26
28
  "Topic :: Software Development :: Libraries :: Python Modules",
27
29
  ]
28
30
  requires-python = ">= 3.10"
29
31
  dependencies = [
30
- "click",
31
- "requests",
32
+ "click>=8.4.2,<9.0.0",
33
+ "requests>=2.34.2,<3.0.0",
32
34
  ]
33
35
 
34
- [project.optional-dependencies]
36
+ [project.scripts]
37
+ "gitmojis" = "gitmojis.__main__:main"
38
+
39
+ [dependency-groups]
40
+ black = [
41
+ "black>=26.5.1,<27.0.0",
42
+ ]
35
43
  dev = [
36
- "nox",
37
- "pre-commit",
44
+ { include-group = "black" },
45
+ { include-group = "local" },
46
+ { include-group = "nox" },
47
+ { include-group = "mypy" },
48
+ { include-group = "ruff" },
49
+ { include-group = "test" },
50
+ ]
51
+ local = [
52
+ "pre-commit>=4.6.1,<5.0.0",
38
53
  ]
39
- lint = [
40
- "black",
41
- "mypy",
42
- "ruff",
43
- "types-requests",
54
+ nox = [
55
+ "nox>=2026.7.11,<2027.0.0",
56
+ "nox-uv>=0.8.0",
57
+ ]
58
+ ruff = [
59
+ "ruff>=0.15.22,<0.16.0",
60
+ ]
61
+ mypy = [
62
+ "mypy>=2.3.0,<3.0.0",
63
+ "types-requests>=2.33.0.20260712,<3.0.0.0",
44
64
  ]
45
65
  test = [
46
- "pytest",
47
- "pytest-click",
48
- "pytest-cov",
49
- "pytest-custom-exit-code",
50
- "pytest-mock",
66
+ "pytest>=9.1.1,<10.0.0",
67
+ "pytest-click>=1.1.0,<2.0.0",
68
+ "pytest-cov>=7.1.0,<8.0.0",
69
+ "pytest-custom-exit-code>=0.3.0,<0.4.0",
70
+ "pytest-mock>=3.15.1,<4.0.0",
51
71
  ]
52
72
 
53
- [project.scripts]
54
- "gitmojis" = "gitmojis.__main__:main"
55
-
56
73
  [tool.setuptools.packages.find]
57
74
  include = ["gitmojis*"]
58
75
  where = ["src"]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-gitmojis
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: 😜 The official Gitmoji Guide in Python projects 🐍
5
5
  Author-email: Kamil Paduszyński <paduszyk@gmail.com>
6
6
  Keywords: emoji,git,gitmoji
@@ -12,26 +12,15 @@ Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
15
17
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
18
  Requires-Python: >=3.10
17
19
  Description-Content-Type: text/markdown
18
20
  License-File: LICENSE
19
- Requires-Dist: click
20
- Requires-Dist: requests
21
- Provides-Extra: dev
22
- Requires-Dist: nox; extra == "dev"
23
- Requires-Dist: pre-commit; extra == "dev"
24
- Provides-Extra: lint
25
- Requires-Dist: black; extra == "lint"
26
- Requires-Dist: mypy; extra == "lint"
27
- Requires-Dist: ruff; extra == "lint"
28
- Requires-Dist: types-requests; extra == "lint"
29
- Provides-Extra: test
30
- Requires-Dist: pytest; extra == "test"
31
- Requires-Dist: pytest-click; extra == "test"
32
- Requires-Dist: pytest-cov; extra == "test"
33
- Requires-Dist: pytest-custom-exit-code; extra == "test"
34
- Requires-Dist: pytest-mock; extra == "test"
21
+ Requires-Dist: click<9.0.0,>=8.4.2
22
+ Requires-Dist: requests<3.0.0,>=2.34.2
23
+ Dynamic: license-file
35
24
 
36
25
  # python-gitmojis
37
26
 
@@ -44,6 +33,11 @@ Requires-Dist: pytest-mock; extra == "test"
44
33
  [![mypy](https://img.shields.io/badge/type--checked-mypy-blue?style=flat-square)][mypy]
45
34
  [![black](https://img.shields.io/badge/code%20style-black-black?style=flat-square)][black]
46
35
 
36
+ [![pypi-status](https://img.shields.io/pypi/status/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
37
+ [![pypi-version](https://img.shields.io/pypi/v/python-gitmojis?style=flat-square&logo=pypi&logoColor=white)][pypi]
38
+ [![pypi-python-version](https://img.shields.io/pypi/pyversions/python-gitmojis?style=flat-square&logo=python&logoColor=white)][pypi]
39
+ [![pypi-license](https://img.shields.io/pypi/l/python-gitmojis?style=flat-square&label=license)][pypi]
40
+
47
41
  ## Summary
48
42
 
49
43
  This package provides a few simple utilities to apply the official
@@ -56,7 +50,7 @@ commit and pull request messages seem feasible as well.
56
50
 
57
51
  - Handle individual Gitmojis and their lists using Python classes. 👔
58
52
  - Fetch Gitmoji data directly from the official [Gitmoji API][gitmoji-api]. 😜
59
- - Graceful degradation: If the API is unavailable, fall back to backup data. 🛟
53
+ - Graceful degradation: If the API is unavailable, fall back to backup data. 🦺
60
54
 
61
55
  ## Installation
62
56
 
@@ -259,4 +253,5 @@ Released under the [MIT License][license].
259
253
  [nox]: https://github.com/wntrblm/nox
260
254
  [pep-557]: https://peps.python.org/pep-0557/
261
255
  [pre-commit.ci]: https://results.pre-commit.ci/latest/github/paduszyk/python-gitmojis/main
256
+ [pypi]: https://pypi.org/project/python-gitmojis/
262
257
  [ruff]: https://github.com/astral-sh/ruff
@@ -0,0 +1,2 @@
1
+ click<9.0.0,>=8.4.2
2
+ requests<3.0.0,>=2.34.2
@@ -10,13 +10,13 @@ from gitmojis.model import Guide
10
10
 
11
11
 
12
12
  def test_gitmojis_cli_runs_as_entry_point():
13
- result = subprocess.run(["gitmojis"])
13
+ result = subprocess.run(["gitmojis", "--version"])
14
14
 
15
15
  assert result.returncode == 0
16
16
 
17
17
 
18
18
  def test_gitmojis_cli_runs_as_python_script():
19
- result = subprocess.run([sys.executable, "-m", "gitmojis"])
19
+ result = subprocess.run([sys.executable, "-m", "gitmojis", "--version"])
20
20
 
21
21
  assert result.returncode == 0
22
22
 
@@ -7,7 +7,7 @@ from gitmojis.exceptions import ApiRequestError, ResponseJsonError
7
7
  from gitmojis.model import Guide
8
8
 
9
9
 
10
- @pytest.fixture()
10
+ @pytest.fixture
11
11
  def response(mocker):
12
12
  return mocker.Mock(spec_set=requests.Response)
13
13
 
@@ -5,7 +5,7 @@ import pytest
5
5
  from gitmojis.model import Gitmoji
6
6
 
7
7
 
8
- @pytest.fixture()
8
+ @pytest.fixture
9
9
  def gitmoji_json():
10
10
  return {
11
11
  "emoji": "🐛",
@@ -17,7 +17,7 @@ def gitmoji_json():
17
17
  }
18
18
 
19
19
 
20
- @pytest.fixture()
20
+ @pytest.fixture
21
21
  def gitmoji(gitmoji_json):
22
22
  return Gitmoji(**gitmoji_json)
23
23
 
@@ -3,7 +3,7 @@ import pytest
3
3
  from gitmojis.model import Gitmoji, Guide
4
4
 
5
5
 
6
- @pytest.fixture()
6
+ @pytest.fixture
7
7
  def gitmojis_json():
8
8
  return [
9
9
  {
@@ -41,7 +41,7 @@ def gitmojis_json():
41
41
  ]
42
42
 
43
43
 
44
- @pytest.fixture()
44
+ @pytest.fixture
45
45
  def guide(gitmojis_json):
46
46
  return Guide(gitmojis=[Gitmoji(**gitmoji_json) for gitmoji_json in gitmojis_json])
47
47
 
@@ -1,19 +0,0 @@
1
- click
2
- requests
3
-
4
- [dev]
5
- nox
6
- pre-commit
7
-
8
- [lint]
9
- black
10
- mypy
11
- ruff
12
- types-requests
13
-
14
- [test]
15
- pytest
16
- pytest-click
17
- pytest-cov
18
- pytest-custom-exit-code
19
- pytest-mock