Skip to content

Commit eb2f530

Browse files
ZDStudiosclaude
andcommitted
A package browser, and a side strip that grows with the window
Finding something to install meant already knowing its name, and then finding out the hard way whether it was any use as blocks. Packages > Browse packages opens a shelf of about eighty five libraries, each with a plain description and an honest note about how well it suits block programming: ready made blocks, fits nicely, opens a window of its own, needs hardware plugged in, or hard to use as blocks at all. Anything already installed, or already turned into blocks, is marked as such. Type any name and Look it up on PyPI fetches the real description, version and requires-python from pypi.org, works out whether the Python you are using can actually run it, and warns when a package ships no built files so pip would need build tools. That answer arrives before installing rather than after. The category strip down the side now grows a little on a bigger window, capped so it never becomes silly, and the drawer starts wider to match. Package block names are long, and on a large screen they were being cut off. Version 1.4.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 8790442 commit eb2f530

3 files changed

Lines changed: 522 additions & 17 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,29 @@ colour so your palette never turns into soup.
177177
<img src="docs/screenshot-packages.png" width="900" alt="The package dashboard">
178178
</div>
179179

180+
### A shelf to browse
181+
182+
<div align="center">
183+
<img src="docs/screenshot-packagebrowser.png" width="900" alt="The package browser">
184+
</div>
185+
186+
**Packages → Browse packages** opens a shelf of around 85 libraries worth
187+
trying, each with a plain description and an honest note about **how well it
188+
fits block programming**:
189+
190+
| | |
191+
|---|---|
192+
| **Ready made blocks** | ScratchPy has hand-written blocks for it |
193+
| **Fits nicely** | its functions turn into blocks cleanly |
194+
| **Opens a window** | works, but draws in a window of its own |
195+
| **Needs hardware** | works, but wants a device plugged in |
196+
| **Hard to use as blocks** | installs fine, but its ideas do not map well |
197+
198+
Anything already installed, or already turned into blocks, is marked. Type any
199+
name at all and **Look it up on PyPI** fetches its real description, version and
200+
`requires-python`, and tells you whether **your** Python can run it — so you
201+
find out before installing, not after.
202+
180203
* Popular libraries (**requests, numpy, pandas, matplotlib, pillow, pygame,
181204
turtle**) also get hand-written, friendlier blocks.
182205
* Any importable module works — including standard library ones like `turtle`

docs/screenshot-packagebrowser.png

134 KB
Loading

0 commit comments

Comments
 (0)