gitlab-api 25.9.2__tar.gz → 25.9.3__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 (29) hide show
  1. {gitlab_api-25.9.2/gitlab_api.egg-info → gitlab_api-25.9.3}/PKG-INFO +2 -2
  2. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/README.md +1 -1
  3. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/gitlab_api_mcp.py +9 -9
  4. {gitlab_api-25.9.2 → gitlab_api-25.9.3/gitlab_api.egg-info}/PKG-INFO +2 -2
  5. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/pyproject.toml +1 -1
  6. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/LICENSE +0 -0
  7. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/MANIFEST.in +0 -0
  8. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/__init__.py +0 -0
  9. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/__main__.py +0 -0
  10. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/decorators.py +0 -0
  11. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/exceptions.py +0 -0
  12. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/gitlab_api.py +0 -0
  13. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/gitlab_db_models.py +0 -0
  14. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/gitlab_input_models.py +0 -0
  15. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/gitlab_response_models.py +0 -0
  16. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api/utils.py +0 -0
  17. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api.egg-info/SOURCES.txt +0 -0
  18. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api.egg-info/dependency_links.txt +0 -0
  19. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api.egg-info/entry_points.txt +0 -0
  20. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api.egg-info/requires.txt +0 -0
  21. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/gitlab_api.egg-info/top_level.txt +0 -0
  22. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/requirements.txt +0 -0
  23. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/setup.cfg +0 -0
  24. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/conftest.py +0 -0
  25. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/test_gitlab_api.py +0 -0
  26. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/test_gitlab_db_models.py +0 -0
  27. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/test_gitlab_models.py +0 -0
  28. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/test_sqlalchemy.py +0 -0
  29. {gitlab_api-25.9.2 → gitlab_api-25.9.3}/test/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlab-api
3
- Version: 25.9.2
3
+ Version: 25.9.3
4
4
  Summary: GitLab API Python Wrapper
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -43,7 +43,7 @@ Dynamic: license-file
43
43
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
44
44
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
45
45
 
46
- *Version: 25.9.2*
46
+ *Version: 25.9.3*
47
47
 
48
48
  Pythonic GitLab API Library
49
49
 
@@ -20,7 +20,7 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
22
22
 
23
- *Version: 25.9.2*
23
+ *Version: 25.9.3*
24
24
 
25
25
  Pythonic GitLab API Library
26
26
 
@@ -5502,8 +5502,8 @@ def gitlab_api_mcp() -> None:
5502
5502
  "-t",
5503
5503
  "--transport",
5504
5504
  default="stdio",
5505
- choices=["stdio", "tcp"],
5506
- help='Specify transport mode ("stdio" or "tcp"). Defaults to "stdio".',
5505
+ choices=["stdio", "http", "sse"],
5506
+ help="Transport method: 'stdio', 'http', or 'sse' [legacy] (default: stdio)",
5507
5507
  )
5508
5508
  parser.add_argument(
5509
5509
  "-s",
@@ -5517,18 +5517,18 @@ def gitlab_api_mcp() -> None:
5517
5517
  help='Specify port for TCP transport (e.g., "5000"). Required for TCP mode.',
5518
5518
  )
5519
5519
 
5520
- args = parser.parse_args(sys.argv[1:])
5520
+ args = parser.parse_args()
5521
5521
 
5522
- if args.transport == "tcp":
5523
- if not args.host or not args.port:
5524
- parser.error("Both --host and --port are required for TCP transport mode.")
5525
- if not (0 <= args.port <= 65535):
5526
- parser.error(f"Port {args.port} is out of valid range (0-65535).")
5522
+ if args.port < 0 or args.port > 65535:
5523
+ print(f"Error: Port {args.port} is out of valid range (0-65535).")
5524
+ sys.exit(1)
5527
5525
 
5528
5526
  if args.transport == "stdio":
5529
5527
  mcp.run(transport="stdio")
5530
- else:
5528
+ elif args.transport == "http":
5531
5529
  mcp.run(transport="http", host=args.host, port=args.port)
5530
+ elif args.transport == "sse":
5531
+ mcp.run(transport="sse", host=args.host, port=args.port)
5532
5532
 
5533
5533
 
5534
5534
  if __name__ == "__main__":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlab-api
3
- Version: 25.9.2
3
+ Version: 25.9.3
4
4
  Summary: GitLab API Python Wrapper
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -43,7 +43,7 @@ Dynamic: license-file
43
43
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
44
44
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
45
45
 
46
- *Version: 25.9.2*
46
+ *Version: 25.9.3*
47
47
 
48
48
  Pythonic GitLab API Library
49
49
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gitlab-api"
7
- version = "25.9.2"
7
+ version = "25.9.3"
8
8
  description = "GitLab API Python Wrapper"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Audel Rouhi", email = "knucklessg1@gmail.com" }]
File without changes
File without changes
File without changes