Gallery

Description of kinds of examples, how they are managed, and how the Gallery works.

Examples...it's what the Collective does! The examples in the Gallery come in different flavors. Let's take a look.

Integrated

The featured examples have something in common...they all use the same CSS and same PyScript/Pyodide. This makes the page-to-page experience really slick. As a side effect, it makes it easier for us to manage, co-own, test, etc.

Secondary

Some examples need to be more standalone: their own styling, their own Pyodide. These run in an iframe and might not have the same QA level.

Incubator

Sometimes we have newcomers with a crazy new idea for an example. The code isn't polished, might not be tested. And most of all, the Collective team might not want to take long-term ownership.

These go in the "incubator" part of the Collective.

Gallery

The Gallery is, surprisingly, a Python package -- `psga`. You can install it and run it! The same content that goes up on the website, goes out in the package.

Future

PWA offline-first, edit-in-place.