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.0.tar.gz.
File metadata
- Download URL: cortexflow_github-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd41bda70d0e4627a43ceddd910133161bcf21861001a4bfe57c7813b6e8068f
|
|
| MD5 |
fbecf16edbefb5ddc48df521f8e34bec
|
|
| BLAKE2b-256 |
1541643fb9768b8c099ab93d6bd3b5de7ffeb60c2f017ab08318523bd4785fef
|
File details
Details for the file cortexflow_github-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cortexflow_github-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9367a7a726aa19a1104e1fd497e31562f0e3e38efd1216542fd2ff2419b5b6
|
|
| MD5 |
187fbdf16436daac506c12e8185d490a
|
|
| BLAKE2b-256 |
604999d0021d7b7d7112da6202056a1f96ad7bbf31d8dc1e95d9ed362b9d9852
|