livery-forge 0.0.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.
- livery_forge-0.0.1/LICENSE +21 -0
- livery_forge-0.0.1/PKG-INFO +25 -0
- livery_forge-0.0.1/README.md +9 -0
- livery_forge-0.0.1/pyproject.toml +28 -0
- livery_forge-0.0.1/pyproject.toml.orig +27 -0
- livery_forge-0.0.1/src/livery/forge/__init__.py +14 -0
- livery_forge-0.0.1/src/livery/forge/_errors.py +11 -0
- livery_forge-0.0.1/src/livery/forge/py.typed +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Willem Kokke
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: livery-forge
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: One interface to GitHub, Gitea, and GitLab — the livery ecosystem's forge.
|
|
5
|
+
Author: Willem Kokke
|
|
6
|
+
Author-email: Willem Kokke <mail@willem.net>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Classifier: Typing :: Typed
|
|
13
|
+
Requires-Python: >=3.11
|
|
14
|
+
Project-URL: Repository, https://github.com/willemkokke/livery
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# livery-forge
|
|
18
|
+
|
|
19
|
+
One interface to GitHub, Gitea, and GitLab. Pre-alpha: this release
|
|
20
|
+
reserves the name and proves the release train. The protocol arrives
|
|
21
|
+
next.
|
|
22
|
+
|
|
23
|
+
Runtime dependencies: the Python standard library, nothing else.
|
|
24
|
+
|
|
25
|
+
Part of the [livery monorepo](https://github.com/willemkokke/livery).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# livery-forge
|
|
2
|
+
|
|
3
|
+
One interface to GitHub, Gitea, and GitLab. Pre-alpha: this release
|
|
4
|
+
reserves the name and proves the release train. The protocol arrives
|
|
5
|
+
next.
|
|
6
|
+
|
|
7
|
+
Runtime dependencies: the Python standard library, nothing else.
|
|
8
|
+
|
|
9
|
+
Part of the [livery monorepo](https://github.com/willemkokke/livery).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["uv_build>=0.11,<0.13"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "livery-forge"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "One interface to GitHub, Gitea, and GitLab — the livery ecosystem's forge."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
17
|
+
"Typing :: Typed",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[project.authors]]
|
|
21
|
+
name = "Willem Kokke"
|
|
22
|
+
email = "mail@willem.net"
|
|
23
|
+
|
|
24
|
+
[project.urls]
|
|
25
|
+
Repository = "https://github.com/willemkokke/livery"
|
|
26
|
+
|
|
27
|
+
[tool.uv.build-backend]
|
|
28
|
+
module-name = "livery.forge"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["uv_build>=0.11,<0.13"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "livery-forge"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "One interface to GitHub, Gitea, and GitLab — the livery ecosystem's forge."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
|
+
authors = [{ name = "Willem Kokke", email = "mail@willem.net" }]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
18
|
+
"Typing :: Typed",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
Repository = "https://github.com/willemkokke/livery"
|
|
23
|
+
|
|
24
|
+
[tool.uv.build-backend]
|
|
25
|
+
# PEP 420 namespace: the importable package is livery.forge and there is
|
|
26
|
+
# no livery/__init__.py anywhere in this repository.
|
|
27
|
+
module-name = "livery.forge"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""One interface to GitHub, Gitea, and GitLab.
|
|
2
|
+
|
|
3
|
+
The protocol is not here yet: this release reserves the distribution
|
|
4
|
+
name and proves the release train. Runtime dependencies are the
|
|
5
|
+
standard library and nothing else; a workspace test enforces it.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from livery.forge._errors import Unsupported
|
|
11
|
+
|
|
12
|
+
__version__ = "0.0.1"
|
|
13
|
+
|
|
14
|
+
__all__ = ["Unsupported", "__version__"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""The exceptions every backend raises the same way."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Unsupported(Exception):
|
|
7
|
+
"""Raised when a forge cannot honour a protocol operation.
|
|
8
|
+
|
|
9
|
+
The message says why: a server version that predates the
|
|
10
|
+
operation, or a capability the forge declines by name.
|
|
11
|
+
"""
|
|
File without changes
|