Skip to main content

NeuralCleave plugin — list recent GitHub repository events (pushes, PRs, issues).

Project description

neuralcleave-github

Example NeuralCleave 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 ./NeuralCleave-sdk        # not yet on PyPI
pip install -e examples/plugins/neuralcleave-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 neuralcleave_github import GitHubEventsTool

tool = GitHubEventsTool()
result = await tool.execute(owner="TheAmitChandra", repo="NeuralCleave", limit=5)
print(result.output)

Once installed alongside the NeuralCleave gateway, neuralcleave hub install neuralcleave-github (or simply having it installed in the same environment) makes PluginRegistry.discover() find it via the NeuralCleave.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

neuralcleave_github-0.1.3.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.

neuralcleave_github-0.1.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file neuralcleave_github-0.1.3.tar.gz.

File metadata

  • Download URL: neuralcleave_github-0.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for neuralcleave_github-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3bf069423fc4bd0e960ae8f48b8f30ac831e5ca791c255ce1c298c45985c8fa6
MD5 a41a5ac3a339044bd67066bc77b41bf2
BLAKE2b-256 e019fd28aa3b34dd138dc4fc2a398efd020fe4376794fbfa01c6766bc8fac8f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuralcleave_github-0.1.3.tar.gz:

Publisher: publish-pypi.yml on TheAmitChandra/NeuralCleave

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

File details

Details for the file neuralcleave_github-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for neuralcleave_github-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 161b2e6daba70e86dcb7173351a9971fc81b2fc6576dcb0beb30d5718d388933
MD5 4848e8c184b0f92c2c0acecfdfc3dc03
BLAKE2b-256 347a1f9d8dcd796fb46062b5c23b954b6c7ef6689ceb2b0e616a4f8fcbbcfc8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuralcleave_github-0.1.3-py3-none-any.whl:

Publisher: publish-pypi.yml on TheAmitChandra/NeuralCleave

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