Skip to content

Commit 2fd7bb4

Browse files
eacodegenbagel897
andauthored
Update urls (#9)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed - [ ] I have read and agree to the [Contributor License Agreement](../CLA.md) --------- Co-authored-by: bagel897 <[email protected]>
1 parent 5b16328 commit 2fd7bb4

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Graph sitter
22

33
[![Documentation](https://img.shields.io/badge/docs-docs.codegen.com-blue)](https://docs.codegen.com)
4-
[![Upload Python Package](https://github.com/codegen-sh/graph-sitter/actions/workflows/release.yml/badge.svg)](https://github.com/codegen-sh/graph-sitter/actions/workflows/release.yml)
5-
[![Unit Tests](https://github.com/codegen-sh/graph-sitter/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/codegen-sh/graph-sitter/actions/workflows/unit-tests.yml)
4+
[![Upload Python Package](https://github.com/codegen-sh/codegen-sdk/actions/workflows/release.yml/badge.svg)](https://github.com/codegen-sh/codegen-sdk/actions/workflows/release.yml)
5+
[![Unit Tests](https://github.com/codegen-sh/codegen-sdk/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/codegen-sh/codegen-sdk/actions/workflows/unit-tests.yml)
66

77
[Codegen](https://docs.codegen.com) is a python library for manipulating codebases.
88

docs/api-reference/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ If you're new to Codegen, we recommend:
7575

7676
1. Following the [Getting Started](/introduction/getting-started) guide
7777
2. Exploring the [Tutorials](/tutorials/at-a-glance)
78-
3. Looking at example codemods in our [GitHub repository](https://github.com/codegen-sh/graph-sitter/tree/main/examples)
78+
3. Looking at example codemods in our [GitHub repository](https://github.com/codegen-sh/codegen-sdk/tree/main/examples)
7979

8080
<Tip>
8181
Use the search bar (⌘ K) to quickly find specific APIs and functionality.

docs/introduction/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Based in San Francisco, we're a team of engineers and researchers passionate abo
3636

3737
## Open Source
3838

39-
We believe in the power of open source software. Our core library, [codegen](https://github.com/codegen-sh/graph-sitter), is freely available and open to contributions from the community.
39+
We believe in the power of open source software. Our core library, [codegen](https://github.com/codegen-sh/codegen-sdk), is freely available and open to contributions from the community.
4040

4141
## Join Us
4242

docs/introduction/community.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Join the growing Codegen community! We're excited to have you be part of our jou
1919
<Card
2020
title="GitHub"
2121
icon="github"
22-
href="https://github.com/codegen-sh/graph-sitter"
22+
href="https://github.com/codegen-sh/codegen-sdk"
2323
>
2424
Star us on GitHub, report issues, submit PRs, and contribute to the project.
2525
</Card>
@@ -72,7 +72,7 @@ Follow us on Twitter/X to:
7272

7373
We welcome contributions of all kinds! Whether you're fixing a typo in documentation, reporting a bug, or implementing a new feature, we appreciate your help in making Codegen better.
7474

75-
Check out our [Contributing Guide](https://github.com/codegen-sh/graph-sitter/blob/main/CONTRIBUTING.md) on GitHub to learn how to:
75+
Check out our [Contributing Guide](https://github.com/codegen-sh/codegen-sdk/blob/main/CONTRIBUTING.md) on GitHub to learn how to:
7676

7777
- Set up your development environment
7878
- Submit pull requests

docs/introduction/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ iconType: "solid"
4242
documentation, examples, and code improvements.
4343
</Accordion>
4444
<Accordion title="Is Codegen free to use?" icon="scale-balanced">
45-
Yes, Codegen is [open source](https://github.com/codegen-sh/graph-sitter) and free to use under the [Apache 2.0
45+
Yes, Codegen is [open source](https://github.com/codegen-sh/codegen-sdk) and free to use under the [Apache 2.0
4646
license](https://github.com/codegen-sh/codegen-cli?tab=Apache-2.0-1-ov-file).
4747
You can use it for both personal and commercial projects.
4848
</Accordion>

docs/introduction/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ icon: "code"
55
iconType: "solid"
66
---
77

8-
[Codegen](https://github.com/codegen-sh/graph-sitter) is a python library for manipulating codebases.
8+
[Codegen](https://github.com/codegen-sh/codegen-sdk) is a python library for manipulating codebases.
99

1010
It provides a scriptable interface to a powerful, multi-lingual language server built on top of [Tree-sitter](https://tree-sitter.github.io/tree-sitter/).
1111

@@ -33,7 +33,7 @@ pip install codegen
3333
<Card
3434
title="View on GitHub"
3535
icon="github"
36-
href="https://github.com/codegen-sh/graph-sitter"
36+
href="https://github.com/codegen-sh/codegen-sdk"
3737
>
3838
Star us on GitHub and contribute to the project.
3939
</Card>

hatch.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ packages = [
7777
]
7878

7979
[metadata.hooks.vcs]
80-
Homepage = "https://github.com/codegen-sh/graph_sitter"
81-
source_archive = "https://github.com/codegen-sh/graph_sitter/archive/{commit_hash}.zip"
80+
Homepage = "https://github.com/codegen-sh/codegen-sdk"
81+
source_archive = "https://github.com/codegen-sh/codegen-sdk/archive/{commit_hash}.zip"
8282

8383

8484
[build.targets.wheel.hooks.custom]

scripts/profiling/apis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
import base64
12
import logging
3+
import pickle
24
from pathlib import Path
35

6+
import networkx as nx
47
from tabulate import tabulate
58

69
from graph_sitter.codebase.factory.get_dev_customer_codebase import get_codebase_codegen
@@ -9,7 +12,6 @@
912
logging.basicConfig(level=logging.INFO)
1013
codegen = get_codebase_codegen("../codegen", ".")
1114
res = []
12-
import networkx as nx
1315

1416
# Create a directed graph
1517
G = nx.DiGraph()
@@ -53,8 +55,6 @@
5355
# Print some basic statistics
5456
print(f"Number of files: {G.number_of_nodes()}")
5557
print(f"Number of import relationships: {G.number_of_edges()}")
56-
import base64
57-
import pickle
5858

5959
# Serialize the graph to a pickle
6060
graph_pickle = pickle.dumps(G)

0 commit comments

Comments
 (0)