Trying to create a PR.... Im lost in the necessary environment

so, I was trying to create a Pr setting a few simple icons for the moon sensor… or so I thought.

finding myself buried in installing al sorts of local software, of which I dont even start to grasp the interrelations or use for the moment. Simply copying install commands so far, but stuck now, trying to install Black.

Dont even think yet of being able to test my small PR file in Black yet, we’ll see to that if and when I manage to install all necessities.

quoting myself from another thread:

trying to follow guidelines here:https://developers.home-assistant.io/docs/en/development_guidelines.html

thing is I cant even use pip. how then to proceed with https://github.com/psf/black

$ pip install black
-bash: pip: command not found

now what…?
I am on an iMac, using terminal, and have installed Homebrew, Python, and ffmpeg.

After that, im lost. Pip seems to be necessary, but it errors out as above.

Why is this so terribly undocumented?
Do I really need all this to test a simple python file locally: https://developers.home-assistant.io/docs/en/development_environment.html

seems a bit over the top tbh.
Please lend me a hand?
thanks for having a look…

I believe this is what I did to get pip on my Mac, but it’s been a while.

https://pip.pypa.io/en/stable/installing/