Just AnyBar status python nano-library
Just AnyBar is a tiny library that allows you to control the AnyBar application on macOS. AnyBar is a simple app that displays colored dots in the menu bar, which can be used for notifications or status indicators.
-
Just run it:
uv run set yellow -
Or use it in your Python code:
from anybar import AnyBar AnyBar().set('yellow')
Version control is handled using Astral UV tool. When building the image, uv is sourced from the official repository by copying the binary. Installation on a developer's machine can be done in various ways, which we'll cover shortly.
Managing the interpreter version project tools, project environment variables, and setting up the virtual environment is done with the Mise tool. It install any interpreter version by reading it from the project description and/or the version bound by uv, it also run the appropriate uv & just binary for user platform and architecture.
(after you have installed mise, read below for details, read INSTALL.md for details how to install and configure required tools)
-
Go to project root.
-
Copy .env.sample to .env, add your personal settings, tokens, passwords, etc
-
Run
make install:- mise will mark project directory as trusted
- mise copy sample development environment variables to .env (if .env not exists)
- mise grab environment variables defined in project .env, evaluate it and provide to current shell session (dotenv functionality, if mise activated in your shell)
- mise checks what project python versions is installed, otherwise download and install it
- uv make virtual environment in project root (by
uv venv) - uv read project packages list, download, install and link it (via
uv syncrun, read justfile) - uv install pre-commit hooks
-
Run
make portsif service required access to another services in kubernetes cluster. -
Run
make develop, that's all, have fun!
app/orsrc/application or module sources rootetc/linter and checker configurations, pre-commit, etc
-
.envgit-ignored for local development, autoexpanded to current sheel environment by tooling; feel free to use it -
.mise.tomlmise config, contains all used development tooling and maintain python installations -
README.mdthis file -
INSTALL.mdhow to install and configure required tools -
Makefileback compatible fallback to make utility, but it's just a wrapper for justfile -
justfileproject development workflow scenarios -
pyproject.tomlmain project configuration file