Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cortexflow_github-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cortexflow_github-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for cortexflow_github-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cf0c71e34c98b67d460e095857ea7b404562eb95178eeb3a8a9b6be6bfba07c6
MD5 650a19d6b4f138ccfb4c8bd175afb4d7
BLAKE2b-256 5762ac97216e24cea12c4bcde9c37971168f4632eaaafb8e7ae762ab73f47553

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortexflow_github-0.1.2.tar.gz:

Publisher: publish-pypi.yml on TheAmitChandra/CortexFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cortexflow_github-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cortexflow_github-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 afd6d0f389f3b0ace604d62ca131afbcca18da22b202bd66ffca0d04af5607cb
MD5 fced9b679b927ac0a1e9a9f91bd641ad
BLAKE2b-256 68e2472835b1f71fcf29562ef2a885c865f1003713ddfd7501bfba9a035fa7ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortexflow_github-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on TheAmitChandra/CortexFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page