https://github.com/zaloog/rye-tui
A Text-based User Interface (Tui) for rye powered by Textual
https://github.com/zaloog/rye-tui
python rye textual tui
Last synced: 8 months ago
JSON representation
A Text-based User Interface (Tui) for rye powered by Textual
- Host: GitHub
- URL: https://github.com/zaloog/rye-tui
- Owner: Zaloog
- License: mit
- Created: 2024-04-18T20:53:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T19:43:24.000Z (over 1 year ago)
- Last Synced: 2024-05-22T20:47:49.094Z (over 1 year ago)
- Topics: python, rye, textual, tui
- Language: Python
- Homepage:
- Size: 263 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://rye-up.com)
[](https://pypi.org/project/rye-tui/)
[](https://pypi.python.org/pypi/rye-tui)
[](https://github.com/astral-sh/rye-tui/blob/main/LICENSE)
[](https://pepy.tech/project/rye-tui)
> Archived. Please consider switching to uv, which is the successor of rye by the same maintainers.
# rye-tui
> Rye meets Textual. Manage your python projects with a Tui
rye-tui is a CLI tool to manage your [rye] projects. It offers a UI to interact with your projects.

## Currently still under development
For a list of missing features check the [Open Points](#open-points) below
## Installation
You can already install a first release with one of the three options:
```bash
pip install rye-tui
```
```bash
pipx install rye-tui
```
```bash
rye install rye-tui
```
I recommend using [pipx] or [rye] to install CLI Tools into an isolated environment.
## Usage
Once installed, you can open the tui with
```bash
trye
```
On first execution a configuration file is created. Afterwards you can run `trye` again to get into the tui view.
The configuration file contains a list of the paths of your rye-managed pojects.
Also a project home directory is defined (default: `HOMEPATH`), which helps initializing new projects under a certain location.
Rye-Tui is following the [XDG] basedir-spec. Therefore the configuration file is located under your OS specific `config_user_dir`.
## Features
Rye-Tui is divided into 3 Tabs:
1. Projects
2. General
3. Config
### Projects Tab
The Projects Tab holds all your rye projects and gives you an overview to each project based on the `pyproject.toml` and installed packages.
The `Edit`- Button can be used to open and edit the pyproject.toml from within the TUI.

`rye add` and `rye add --dev` is already supported, flags are still missing currently.

### General Tab
The General Tab has an input field to define your project-home path, which acts as an default location, to easily create a new project there.
Furthermore you get an overview over your globally installed tools including version and available scripts.
The final section lists all installed toolchain.

### Config Tab
The Config Tab can be used to change rye's underlying config and add or delete additional sources.

## Feedback and Issues
Feel free to reach out and share your feedback, or open an Issue, if something doesnt work as expected.
Also check the [Changelog](https://github.com/Zaloog/rye-tui/blob/main/CHANGELOG.md) for new updates.
## Open Points:
- [ ] Support Flags for Rye Init and Rye add
- [ ] Support publishing
- [ ] Enable Rye Tool Management, like rye add
- [ ] Folder Scanner for rye projects
[XDG]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
[platformdirs]: https://platformdirs.readthedocs.io/en/latest/
[textual]: https://textual.textualize.io
[pipx]: https://github.com/pypa/pipx
[rye]: https://rye-up.com
[PyPi]: https://pypi.org/project/rye-tui/