CortexFlow plugin — list recent GitHub repository events (pushes, PRs, issues).
Project description
cortexflow-github
Example CortexFlow plugin: a github_events tool that lists recent events
(pushes, PRs, issues) for a GitHub repository via the public REST API.
Install
pip install -e ./cortexflow-sdk # not yet on PyPI
pip install -e examples/plugins/cortexflow-github
Usage
Set GITHUB_TOKEN in your environment for authenticated requests (raises the
rate limit from 60/hr to 5000/hr) — optional, the tool works without it.
from cortexflow_github import GitHubEventsTool
tool = GitHubEventsTool()
result = await tool.execute(owner="TheAmitChandra", repo="CortexFlow", limit=5)
print(result.output)
Once installed alongside the CortexFlow gateway, cortex plugin add cortexflow-github (or simply having it installed in the same environment)
makes PluginRegistry.discover() find it via the cortexflow.plugins entry
point declared in pyproject.toml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cortexflow_github-0.1.2.tar.gz.
File metadata
- Download URL: cortexflow_github-0.1.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf0c71e34c98b67d460e095857ea7b404562eb95178eeb3a8a9b6be6bfba07c6
|
|
| MD5 |
650a19d6b4f138ccfb4c8bd175afb4d7
|
|
| BLAKE2b-256 |
5762ac97216e24cea12c4bcde9c37971168f4632eaaafb8e7ae762ab73f47553
|
Provenance
The following attestation bundles were made for cortexflow_github-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on TheAmitChandra/CortexFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortexflow_github-0.1.2.tar.gz -
Subject digest:
cf0c71e34c98b67d460e095857ea7b404562eb95178eeb3a8a9b6be6bfba07c6 - Sigstore transparency entry: 1970644821
- Sigstore integration time:
-
Permalink:
TheAmitChandra/CortexFlow@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Branch / Tag:
refs/tags/github-plugin-v0.1.2 - Owner: https://github.com/TheAmitChandra
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Trigger Event:
release
-
Statement type:
File details
Details for the file cortexflow_github-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cortexflow_github-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd6d0f389f3b0ace604d62ca131afbcca18da22b202bd66ffca0d04af5607cb
|
|
| MD5 |
fced9b679b927ac0a1e9a9f91bd641ad
|
|
| BLAKE2b-256 |
68e2472835b1f71fcf29562ef2a885c865f1003713ddfd7501bfba9a035fa7ea
|
Provenance
The following attestation bundles were made for cortexflow_github-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on TheAmitChandra/CortexFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortexflow_github-0.1.2-py3-none-any.whl -
Subject digest:
afd6d0f389f3b0ace604d62ca131afbcca18da22b202bd66ffca0d04af5607cb - Sigstore transparency entry: 1970644973
- Sigstore integration time:
-
Permalink:
TheAmitChandra/CortexFlow@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Branch / Tag:
refs/tags/github-plugin-v0.1.2 - Owner: https://github.com/TheAmitChandra
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Trigger Event:
release
-
Statement type: