This release is a pre-release and may not be stable for production use.
Swarmauri GitHub Storage Adapter
GithubStorageAdapter is a lightweight placeholder storage adapter for Peagen.
It returns deterministic github:// URIs for uploaded objects without making
any network calls to GitHub. The class is useful for demos, tests, and for
validating code paths that rely on the storage adapter interface.
Installation
Choose the tool that matches your workflow:
# pip
pip install swarmauri_storage_github
# Poetry
poetry add swarmauri_storage_github
# uv
uv add swarmauri_storage_github
Quickstart
GithubStorageAdapter.upload() accepts a key and a binary file-like object. It
returns the key formatted as a github:// URI so callers can wire the adapter
into pipelines that expect GitHub-backed storage without performing any remote
I/O.
from io import BytesIO
from swarmauri_storage_github import GithubStorageAdapter
adapter = GithubStorageAdapter()
# The adapter only inspects the key, so any binary stream is acceptable.
payload = BytesIO(b"# Example README\nThis payload would be uploaded to GitHub.")
uri = adapter.upload("my-org/my-repo/README.md", payload)
print(uri) # github://my-org/my-repo/README.md
Behavior and limitations
upload()does not persist data?it simply echoes the key back as agithub://URI.download(),upload_dir(), anddownload_dir()raiseNotImplementedErrorto signal that full GitHub support is intentionally out of scope for this stub.
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_storage_github 0.11.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swarmauri_storage_github-0.11.0.dev1.tar.gz | 7.0 kB | Without provenance | Details for swarmauri_storage_github-0.11.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_storage_github-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_storage_github-0.11.0.dev1-py3-none-any.whl |
Total release size: 15.0 kB
Release files / swarmauri_storage_github-0.11.0.dev1.tar.gz
| Download URL | swarmauri_storage_github-0.11.0.dev1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
613d7fa9ed80851ab073c113cb743315255b528e1a9dacd644cf8790c176e2eb
|
|
BLAKE2b-256 checksum How to use checksums |
db066a43dc8185325d7934ea5a73ce8b3e9c9f2bdd11af4188d94da874abe7ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_storage_github-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_storage_github-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04a2a817bbdbdb876cfb271e70bff55c4fac65e598f2b2312d84a001d90ae49c
|
|
BLAKE2b-256 checksum How to use checksums |
27e64fd23f25f5fc5b1cdf3aaf9e5b7e4b3f5184d37b74adb5b27de08929759a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for swarmauri_storage_github 0.11.0.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.