GitHub Action integration for Jules API architecture planning
Project description
Jules Planner
A Python package and GitHub Action for integrating Jules architecture planning into your development workflow.
Overview
This package simplifies interfacing with the Jules API from GitHub Actions. It allows you to automatically generate architecture and implementation plans for issues and pull requests directly within GitHub.
Installation
pip install jules-planner
Usage
As a GitHub Action
This package is designed to be used primarily within a GitHub Actions workflow.
-
Set up secrets:
JULES_API_KEY: Your Jules API key (Get it from Jules Settings).GITHUB_TOKEN: Automatically provided by GitHub Actions.
-
Create a workflow file: (e.g.,
.github/workflows/jules-plan.yml)name: Jules Architecture Planning on: issue_comment: types: [created] permissions: contents: read issues: write pull-requests: write jobs: plan: if: contains(github.event.comment.body, '@jules plan') runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install Jules Planner run: pip install jules-planner - name: Generate Plan env: JULES_API_KEY: ${{ secrets.JULES_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: jules-planner
As a Python Library
You can also use the client directly in your Python scripts:
from jules_planner import JulesPlanner
planner = JulesPlanner(
api_key="your-api-key",
repo_owner="owner",
repo_name="repo"
)
# ... use planner methods ...
Configuration
The CLI tool expects the following environment variables:
JULES_API_KEY: Required. Your Jules API key.GITHUB_REPOSITORY: The repository name inowner/repoformat (automatically set in GitHub Actions).GITHUB_EVENT_PATH: Path to the event payload file (automatically set in GitHub Actions).GITHUB_TOKEN: GitHub token for API access (automatically set in GitHub Actions).
License
MIT
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 jules_planner-0.1.0.tar.gz.
File metadata
- Download URL: jules_planner-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
415f9b5c13d2e89921668c28634690ef248be4f3440f1eb0b5b2106650850ffc
|
|
| MD5 |
9cbf03282174c1fbe6dcd0fe4bb86aa3
|
|
| BLAKE2b-256 |
d6b0a0cd8ae4133d703e78d05ffcabf67dc69eafd19e5ae408a274f76fbcd09d
|
Provenance
The following attestation bundles were made for jules_planner-0.1.0.tar.gz:
Publisher:
publish.yml on maravedi/jules-planner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jules_planner-0.1.0.tar.gz -
Subject digest:
415f9b5c13d2e89921668c28634690ef248be4f3440f1eb0b5b2106650850ffc - Sigstore transparency entry: 731786176
- Sigstore integration time:
-
Permalink:
maravedi/jules-planner@e6aadda1ce965f259b965216a7434e8af0dc99fc -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/maravedi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6aadda1ce965f259b965216a7434e8af0dc99fc -
Trigger Event:
release
-
Statement type:
File details
Details for the file jules_planner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jules_planner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cea9d53428f43a3960eda3a9a68a4a971327e4ce3d20709d7ec78aa718ee586
|
|
| MD5 |
b44c4fda196dab69fbe10e6e6bcaca12
|
|
| BLAKE2b-256 |
36506e000f3db69246c4009fe16bff52923901278fc8e7c0537c399ea586ba4c
|
Provenance
The following attestation bundles were made for jules_planner-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on maravedi/jules-planner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jules_planner-0.1.0-py3-none-any.whl -
Subject digest:
4cea9d53428f43a3960eda3a9a68a4a971327e4ce3d20709d7ec78aa718ee586 - Sigstore transparency entry: 731786178
- Sigstore integration time:
-
Permalink:
maravedi/jules-planner@e6aadda1ce965f259b965216a7434e8af0dc99fc -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/maravedi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6aadda1ce965f259b965216a7434e8af0dc99fc -
Trigger Event:
release
-
Statement type: