Rye meets Textual. Manage your python projects with a Tui
Project description
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
A 0.2.0 version is already released on PyPi
Installation
You can already install a first release with one of the three options:
pip install rye-tui
pipx install rye-tui
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
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:
- Projects
- General
- 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.
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.
TODOS:
- projects tab
- project_list
- further check if folder is actually a rye project
- edit button functionality -[ ] open pyproject.toml in modal
- button functionalities
- New Project
- extract path/options/name from command, add flags?
- build
- publish when wheels in dist/*
- New Project
- project_list
- general tab
- Add Rye Project Home from config.ini
- config tab
- source adding/removing
- other/general stuff
- focus widget color?
- Docs/Readme
- Input Validators for Path
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rye_tui-0.2.0.tar.gz
.
File metadata
- Download URL: rye_tui-0.2.0.tar.gz
- Upload date:
- Size: 150.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba201520d34b54bfc249f05ebaf64092694843023499ac7561a8ceee8d936682 |
|
MD5 | ed2a5fcaea07820a0648304d1765dc7b |
|
BLAKE2b-256 | 926d9fce971d31e926701dbafdf5458bc122e904994a2d9835b411840c4ae13a |
File details
Details for the file rye_tui-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: rye_tui-0.2.0-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d238e670ec550000477ef7649651bbb94daae398d7d27d28f7adfb16320faf82 |
|
MD5 | e219e9804a0ed70a4ff4f2ce05220cb4 |
|
BLAKE2b-256 | ef680a7b20fa0b9980491776bf4f54765f485b045d949cec36782f78e88df4f3 |