Skip to content

Commit

Permalink
chore: changed PyPI name from gptme-python to gptme (fixes #148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 5, 2024
1 parent b47a7bc commit 354d0c2
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
<img src="https://codecov.io/gh/ErikBjare/gptme/graph/badge.svg?token=DYAYJ8EF41" alt="Codecov" />
</a>
<br>
<a href="https://pypi.org/project/gptme-python/">
<img src="https://img.shields.io/pypi/v/gptme-python" alt="PyPI version" />
<a href="https://pypi.org/project/gptme/">
<img src="https://img.shields.io/pypi/v/gptme" alt="PyPI version" />
</a>
<a href="https://pepy.tech/project/gptme-python">
<img src="https://static.pepy.tech/badge/gptme-python" alt="Downloads all-time" />
<a href="https://pepy.tech/project/gptme">
<img src="https://static.pepy.tech/badge/gptme" alt="Downloads all-time" />
</a>
<a href="https://pepy.tech/project/gptme-python">
<img src="https://static.pepy.tech/badge/gptme-python/week" alt="Downloads per week" />
<a href="https://pepy.tech/project/gptme">
<img src="https://static.pepy.tech/badge/gptme/week" alt="Downloads per week" />
</a>
<br>
<a href="https://discord.gg/NMaCmmkxWv">
Expand Down Expand Up @@ -200,7 +200,7 @@ Install with pipx:

```sh
# requires Python 3.10+
pipx install gptme-python
pipx install gptme
```

Now, to get started, run:
Expand Down Expand Up @@ -285,8 +285,8 @@ Options:
- [PePy][pepy]
- [PyPiStats][pypistats]
[pepy]: https://pepy.tech/project/gptme-python
[pypistats]: https://pypistats.org/packages/gptme-python
[pepy]: https://pepy.tech/project/gptme
[pypistats]: https://pypistats.org/packages/gptme
## 🔗 Links
Expand Down
2 changes: 1 addition & 1 deletion docs/automation/example_code_review.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This example demonstrates a simple and composable approach to automated code rev
- uses: actions/checkout@v2
- name: Install gptme and GitHub CLI
run: |
pip install gptme-python
pip install gptme
gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"
- name: Run code review
env:
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To install gptme, we recommend using pipx:

.. code-block:: bash
pipx install gptme-python
pipx install gptme
If pipx is not installed, you can install it using pip:

Expand Down
2 changes: 1 addition & 1 deletion gptme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def main(
"""Main entrypoint for the CLI."""
if version:
# print version
print(f"gptme {importlib.metadata.version('gptme-python')}")
print(f"gptme {importlib.metadata.version('gptme')}")

# print dirs
print(f"Logs dir: {get_logs_dir()}")
Expand Down
2 changes: 1 addition & 1 deletion gptme/server/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def main(debug: bool, verbose: bool, model: str | None): # pragma: no cover
except ImportError:
logger.error(
"gptme installed without needed extras for server. "
"Install them with `pip install gptme-python[server]`"
"Install them with `pip install gptme[server]`"
)
exit(1)
click.echo("Initialization complete, starting server")
Expand Down
3 changes: 2 additions & 1 deletion gptme/tools/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
if TYPE_CHECKING:
from IPython.terminal.embed import InteractiveShellEmbed # fmt: skip


logger = getLogger(__name__)

# TODO: launch the IPython session in the current venv, if any, instead of the pipx-managed gptme-python venv (for example) in which gptme itself runs
# TODO: launch the IPython session in the current venv, if any, instead of the pipx-managed gptme venv (for example) in which gptme itself runs
# would let us use libraries installed with `pip install` in the current venv
# https://github.com/ErikBjare/gptme/issues/29

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "gptme-python"
name = "gptme"
version = "0.19.0"
description = "A fancy CLI to interact with LLMs in a Chat-style interface, with additional capabilities like executing commands on the local machine."
authors = ["Erik Bjäreholt <[email protected]>"]
Expand Down Expand Up @@ -134,7 +134,7 @@ exclude_also = [

# TODO: migrate to PEP 621 once supported by poetry
#[project]
#name = "gptme-python"
#name = "gptme"
#dynamic = ["version"]
#
#[tool.setuptools.dynamic]
Expand Down

0 comments on commit 354d0c2

Please sign in to comment.