Skip to content

feat(cg-10482): codegen notebook #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Conversation

jayhack
Copy link
Contributor

@jayhack jayhack commented Jan 24, 2025

  • Install codegen globally via pipx
  • codegen notebook will run init + spin up a notebook with a Codebase
  • removes auth from codegen init
  • temporarily removes docs fetching as part of init

codegen-bot added 2 commits January 24, 2025 11:30
@jayhack jayhack requested a review from codegen-team as a code owner January 24, 2025 19:36
Copy link

linear bot commented Jan 24, 2025

CG-10482 `codegen notebook`

# In a new Repo, one command to open jupyter w/ a parsed codebase
~$: codegen notebook

# Corresponds to:
uv venv --python 3.13.0 .codegen/.venv \
	&& source .codegen/.venv/bin/activate \
	&& uv pip install codegen jupyterlab \
	&& jupyter lab .codegen/jupyter/tmp.ipynb --with-text "..."

# Makes directories:
# ------------------
# .codegen/
#    .venv      <-- creates this for you
#    codemods/
#    jupyter/
#       tmp.ipynb <-- opens this wi

@jayhack jayhack merged commit b260d90 into develop Jan 24, 2025
7 of 12 checks passed
@jayhack jayhack deleted the jayhack-cg-10482-codegen-notebook branch January 24, 2025 19:56
jayhack added a commit that referenced this pull request Feb 9, 2025
- Install `codegen` globally via `pipx`
- `codegen notebook` will run init + spin up a notebook with a
`Codebase`
- removes auth from `codegen init`
- temporarily removes docs fetching as part of init

---------

Co-authored-by: codegen-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants