Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/blog/act-via-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ Crucially, we believe these APIs will extend beyond the codebase itself into the

## Codegen is now OSS

We're excited to release [Codegen](https://github.com/codegen-sh/codegen-sdk) as open source [Apache 2.0](https://github.com/codegen-sh/codegen-sdk?tab=Apache-2.0-1-ov-file) and build out this vision with the broader developer community. [Get started with Codegen](/introduction/getting-started) today or please join us in our [Slack community](https://community.codegen.com) if you have feedback or questions about a use case!
We're excited to release [Codegen](https://github.com/codegen-sh/codegen) as open source [Apache 2.0](https://github.com/codegen-sh/codegen/blob/develop/LICENSE) and build out this vision with the broader developer community. [Get started with Codegen](/introduction/getting-started) today or please join us in our [Slack community](https://community.codegen.com) if you have feedback or questions about a use case!

Jay Hack, Founder
4 changes: 2 additions & 2 deletions docs/blog/fixing-import-loops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: "Identifying and visualizing import loops in the PyTorch codebase"
In this post, we will visualize all import loops in the [PyTorch](https://github.com/pytorch/pytorch) codebase, propose a fix for one potentially unstable case, and use Codegen to refactor that fix.

<Info>
You can find the complete jupyter notebook in our [examples repository](https://github.com/codegen-sh/codegen-examples/tree/main/examples/removing_import_loops_in_pytorch).
You can find the complete jupyter notebook in our [examples repository](https://github.com/codegen-sh/codegen/tree/develop/codegen-examples/examples/removing_import_loops_in_pytorch).
</Info>

Import loops (or circular dependencies) occur when two or more Python modules depend on each other, creating a cycle. For example:
Expand Down Expand Up @@ -156,4 +156,4 @@ Running this codemod will move all the shared symbols to a separate `utils.py` a

Import loops are a common challenge in large Python codebases. Using Codegen, no matter the repo size, you will gain some new insights into your codebase's import structure and be able to perform deterministic manipulations saving developer hours and future runtime errors.

Want to try it yourself? Check out our [complete example](https://github.com/codegen-sh/codegen-examples/tree/main/examples/removing_import_loops_in_pytorch) of fixing import loops using Codegen.
Want to try it yourself? Check out our [complete example](https://github.com/codegen-sh/codegen/tree/develop/codegen-examples/examples/removing_import_loops_in_pytorch) of fixing import loops using Codegen.