swarmauri_storage_github 0.2.0.dev52__tar.gz → 0.11.0.dev1__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.
@@ -1,43 +1,43 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarmauri_storage_github
3
- Version: 0.2.0.dev52
3
+ Version: 0.11.0.dev1
4
4
  Summary: GitHub storage adapter stub for Peagen
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
7
7
  Keywords: swarmauri,sdk,standards,storage,github
8
8
  Author: Jacob Stewart
9
9
  Author-email: jacob@swarmauri.com
10
- Requires-Python: >=3.10,<3.13
10
+ Requires-Python: >=3.10,<3.15
11
11
  Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python
12
14
  Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
13
16
  Classifier: Programming Language :: Python :: 3.10
14
17
  Classifier: Programming Language :: Python :: 3.11
15
18
  Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Programming Language :: Python
18
- Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
19
21
  Requires-Dist: swarmauri_base
20
22
  Requires-Dist: swarmauri_core
21
23
  Requires-Dist: swarmauri_standard
22
24
  Description-Content-Type: text/markdown
23
25
 
24
- ![Swarmauri Logo](https://github.com/swarmauri/swarmauri-sdk/blob/3d4d1cfa949399d7019ae9d8f296afba773dfb7f/assets/swarmauri.brand.theme.svg)
26
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
25
27
 
26
28
  <p align="center">
27
- <a href="https://pypi.org/project/swarmauri_storage_github/">
28
- <img src="https://img.shields.io/pypi/dm/swarmauri_storage_github" alt="PyPI - Downloads"/></a>
29
+ <a href="https://pepy.tech/project/swarmauri_storage_github/">
30
+ <img src="https://static.pepy.tech/badge/swarmauri_storage_github/month" alt="PyPI - Downloads"/></a>
29
31
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_storage_github/">
30
32
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_storage_github.svg"/></a>
31
33
  <a href="https://pypi.org/project/swarmauri_storage_github/">
32
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_storage_github" alt="PyPI - Python Version"/></a>
34
+ <img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
33
35
  <a href="https://pypi.org/project/swarmauri_storage_github/">
34
36
  <img src="https://img.shields.io/pypi/l/swarmauri_storage_github" alt="PyPI - License"/></a>
35
37
  <a href="https://pypi.org/project/swarmauri_storage_github/">
36
38
  <img src="https://img.shields.io/pypi/v/swarmauri_storage_github?label=swarmauri_storage_github&color=green" alt="PyPI - swarmauri_storage_github"/></a>
37
-
38
- </p>
39
-
40
- ---
39
+ <a href="https://discord.gg/N4UpBuQv8T">
40
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
41
41
 
42
42
  # Swarmauri GitHub Storage Adapter
43
43
 
@@ -85,7 +85,7 @@ print(uri) # github://my-org/my-repo/README.md
85
85
 
86
86
  ### Behavior and limitations
87
87
 
88
- - `upload()` does not persist data—it simply echoes the key back as a
88
+ - `upload()` does not persist data?it simply echoes the key back as a
89
89
  `github://` URI.
90
90
  - `download()`, `upload_dir()`, and `download_dir()` raise
91
91
  `NotImplementedError` to signal that full GitHub support is intentionally out
@@ -96,3 +96,5 @@ print(uri) # github://my-org/my-repo/README.md
96
96
  If you want to contribute to swarmauri-sdk, read up on our
97
97
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
98
98
  that will help you get started.
99
+
100
+
@@ -1,20 +1,18 @@
1
- ![Swarmauri Logo](https://github.com/swarmauri/swarmauri-sdk/blob/3d4d1cfa949399d7019ae9d8f296afba773dfb7f/assets/swarmauri.brand.theme.svg)
1
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
2
2
 
3
3
  <p align="center">
4
- <a href="https://pypi.org/project/swarmauri_storage_github/">
5
- <img src="https://img.shields.io/pypi/dm/swarmauri_storage_github" alt="PyPI - Downloads"/></a>
4
+ <a href="https://pepy.tech/project/swarmauri_storage_github/">
5
+ <img src="https://static.pepy.tech/badge/swarmauri_storage_github/month" alt="PyPI - Downloads"/></a>
6
6
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_storage_github/">
7
7
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_storage_github.svg"/></a>
8
8
  <a href="https://pypi.org/project/swarmauri_storage_github/">
9
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_storage_github" alt="PyPI - Python Version"/></a>
9
+ <img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
10
10
  <a href="https://pypi.org/project/swarmauri_storage_github/">
11
11
  <img src="https://img.shields.io/pypi/l/swarmauri_storage_github" alt="PyPI - License"/></a>
12
12
  <a href="https://pypi.org/project/swarmauri_storage_github/">
13
13
  <img src="https://img.shields.io/pypi/v/swarmauri_storage_github?label=swarmauri_storage_github&color=green" alt="PyPI - swarmauri_storage_github"/></a>
14
-
15
- </p>
16
-
17
- ---
14
+ <a href="https://discord.gg/N4UpBuQv8T">
15
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
18
16
 
19
17
  # Swarmauri GitHub Storage Adapter
20
18
 
@@ -62,7 +60,7 @@ print(uri) # github://my-org/my-repo/README.md
62
60
 
63
61
  ### Behavior and limitations
64
62
 
65
- - `upload()` does not persist data—it simply echoes the key back as a
63
+ - `upload()` does not persist data?it simply echoes the key back as a
66
64
  `github://` URI.
67
65
  - `download()`, `upload_dir()`, and `download_dir()` raise
68
66
  `NotImplementedError` to signal that full GitHub support is intentionally out
@@ -72,4 +70,5 @@ print(uri) # github://my-org/my-repo/README.md
72
70
 
73
71
  If you want to contribute to swarmauri-sdk, read up on our
74
72
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
75
- that will help you get started.
73
+ that will help you get started.
74
+
@@ -1,23 +1,23 @@
1
1
  [project]
2
2
  name = "swarmauri_storage_github"
3
- version = "0.2.0.dev52"
4
- authors = [
5
- { name = "Jacob Stewart", email = "jacob@swarmauri.com" }
6
- ]
3
+ version = "0.11.0.dev1"
4
+ authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
7
5
  description = "GitHub storage adapter stub for Peagen"
8
6
  readme = "README.md"
9
7
  license = "Apache-2.0"
10
8
  repository = "http://github.com/swarmauri/swarmauri-sdk"
11
- requires-python = ">=3.10,<3.13"
9
+ requires-python = ">=3.10,<3.15"
12
10
  classifiers = [
13
11
  "License :: OSI Approved :: Apache Software License",
12
+ "Operating System :: OS Independent",
13
+ "Programming Language :: Python",
14
14
  "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3 :: Only",
15
16
  "Programming Language :: Python :: 3.10",
16
17
  "Programming Language :: Python :: 3.11",
17
18
  "Programming Language :: Python :: 3.12",
18
- "Operating System :: OS Independent",
19
- "Programming Language :: Python",
20
- "Programming Language :: Python :: 3 :: Only",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
21
  ]
22
22
  dependencies = [
23
23
  "swarmauri_core",
@@ -75,7 +75,7 @@ dev = [
75
75
  "pytest-xdist>=3.6.1",
76
76
  "pytest-json-report>=1.5.0",
77
77
  "python-dotenv",
78
- "requests>=2.32.3",
78
+ "httpx>=0.27",
79
79
  "flake8>=7.0",
80
80
  "pytest-timeout>=2.3.1",
81
81
  "ruff>=0.9.9",
@@ -13,7 +13,9 @@ class GithubStorageAdapter(StorageAdapterBase):
13
13
  super().__init__(**kwargs)
14
14
  self.kwargs = kwargs
15
15
 
16
- def upload(self, key: str, data: BinaryIO) -> str: # pragma: no cover - stub
16
+ def upload(
17
+ self, key: str, data: BinaryIO
18
+ ) -> str: # pragma: no cover - stub
17
19
  return f"github://{key}"
18
20
 
19
21
  def download(self, key: str) -> BinaryIO: # pragma: no cover - stub
@@ -29,10 +31,14 @@ class GithubStorageAdapter(StorageAdapterBase):
29
31
  ) -> None: # pragma: no cover - stub
30
32
  raise NotImplementedError("download_dir() not implemented")
31
33
 
32
- async def remove_object(self, object_key: str) -> None: # pragma: no cover - stub
34
+ async def remove_object(
35
+ self, object_key: str
36
+ ) -> None: # pragma: no cover - stub
33
37
  del object_key
34
38
  return
35
39
 
36
40
  @classmethod
37
- def from_uri(cls, uri: str) -> "GithubStorageAdapter": # pragma: no cover - stub
41
+ def from_uri(
42
+ cls, uri: str
43
+ ) -> "GithubStorageAdapter": # pragma: no cover - stub
38
44
  return cls()