Skip to content

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
@linear
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.

3 participants