Skip to main content

colloq

A shared workspace for teaching: one link, one live notebook, one assistant. Everything runs on the teacher's own machine — no cloud, no third-party server.

pip install colloq
colloq start

The first command installs the program, the second brings a class up and opens your browser. Ctrl+C saves and stops it.

Bare colloq starts nothing: it prints three lines about what lives here. A class takes a port and opens a window, and that should not happen because somebody typed a word at a guess — which is exactly why jupyter on its own prints help too, and jupyter lab is what starts a server.

What the machine needs

  • Docker — the room's Python lives in it. The kernel image is built here, from the Dockerfile that shipped with the package.

That is all on macOS 14+ and on Linux x64/arm64 (glibc 2.28+): pip installs a wheel for the platform with Node.js and the server's dependencies inside.

Elsewhere (macOS 13, Alpine, other architectures) pip installs the universal wheel, which also needs Node.js 22 or newer. colloq finds it on its own, including under nvm, fnm, volta and asdf, and says so in words if Node is missing. On the first run it installs the server's dependencies once (npm install --omit=dev inside its own directory) and says so out loud.

Where your things live

State lives in ~/.colloq, never inside the package: .env, the database, workspace/, and any environments you create. Reinstalling or upgrading the package leaves all of it alone. Point COLLOQ_HOME elsewhere to move it.

colloq start            # a class on this machine
colloq start --share    # the same, plus one public link for your students
colloq host <name>      # publish a running class under your own name
colloq status           # what is running here, no network calls
colloq doctor           # check everything before the lecture
colloq env new <name>   # a Python environment of your own
colloq stop             # end the class

colloq --help lists the rest; colloq <command> --help explains one.

colloq start --share

starts the class, opens a quick Cloudflare tunnel and prints one block: the link to give your students (https://….trycloudflare.com/s/<class>), or — if there is no class yet — where to create one; the class links in the panel's list already use the public address. The link lives while this terminal is open, and Ctrl+C closes it together with the class. A quick tunnel gets a new address on every start, so send the new link each time. Never share a link with /admin/ in it: that is a key to the panel.

The first --share downloads cloudflared if it is not installed: a pinned release from github.com/cloudflare/cloudflared, checked against a pinned SHA-256 before it is ever run, kept in ~/.colloq/bin. COLLOQ_CLOUDFLARED=/path uses your own file instead; COLLOQ_CLOUDFLARED_DOWNLOAD=0 forbids the download. macOS and Linux only; on Windows, use WSL 2.

Cloudflare addresses do not open from Russia. For students there, publish through your own relay instead: colloq start --host <name> with the RELAY_* lines in ~/.colloq/.env.

Boundaries

A class runs on this computer, for your own students: the server listens on the loopback interface, and only an explicit --share, --host or colloq host lets an audience in from outside. Each room's Python runs in a hardened container of its own, cut off from your home network — and a class is published only when that is true: if the kernels do not run one container per room in Docker, publishing refuses and the class stays local. What remains true is that the link is a door: anyone who has it runs code in a sandbox on this computer. Keep it for your class; for an open audience, run the server installation on a machine of its own.

Where this comes from

The package is built from the Colloq repository with make wheel. Inside it is the built application — server, frontend, CLI, kernel Dockerfile; the Python code here is packaging and nothing more, finding Node and handing over control.

MIT.

Metadata

Release files for colloq 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for colloq 0.7.0
File
colloq-0.7.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
colloq-0.7.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
colloq-0.7.0-py3-none-macosx_14_0_x86_64.whl Python 3 none macOS 14.0+ x86-64 Details
colloq-0.7.0-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details
colloq-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 273.2 MB

Release files / colloq-0.7.0-py3-none-manylinux_2_28_x86_64.whl

Download URL colloq-0.7.0-py3-none-manylinux_2_28_x86_64.whl
Size 68.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2d668c51c53d4b1b090fb3a6d76e1e1046790af668158e106f25c7a0de05c7e2
BLAKE2b-256 checksum
How to use checksums
189e3446090677f96be390cbffd8a7334dec8a111156eb80b49407810891d46e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / colloq-0.7.0-py3-none-manylinux_2_28_aarch64.whl

Download URL colloq-0.7.0-py3-none-manylinux_2_28_aarch64.whl
Size 67.6 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cdf93f2c971550499fec8f59b56d519b9ad7f6019ce007833dadf6b2aff918b9
BLAKE2b-256 checksum
How to use checksums
4ddb6279b13dea7e17610b75ba141c8bd224c0cba3cb7f0d26cec27af51c3454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / colloq-0.7.0-py3-none-macosx_14_0_x86_64.whl

Download URL colloq-0.7.0-py3-none-macosx_14_0_x86_64.whl
Size 63.9 MB
Tags Python 3 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
c8eccc0388ffd2392762190dfec8ba93852aee6fee034f7eecf34f3601867cff
BLAKE2b-256 checksum
How to use checksums
3dc5ff86e1cc1bf57997c4720d7487224444d385d99b1dabcb3a992ae78599c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / colloq-0.7.0-py3-none-macosx_14_0_arm64.whl

Download URL colloq-0.7.0-py3-none-macosx_14_0_arm64.whl
Size 62.4 MB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
8907ccc7c8aa0c5e1bb5ad7b7fdc5f1aa56c685dcdda544c9360f9d9c29d6744
BLAKE2b-256 checksum
How to use checksums
a57eb9ce68e0c846531d49aba87af5ae3dc398a384a5f107625d85691c10483f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / colloq-0.7.0-py3-none-any.whl

Download URL colloq-0.7.0-py3-none-any.whl
Size 11.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b863d232ee115108a7bcba68aa93a497ff3b9a596b56d4b484e73a26137e7a05
BLAKE2b-256 checksum
How to use checksums
286770b9d4c7a456ae0df801d893a65a4b884490145bc043d13c8c72e9b5e91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.24.0

5 release files

0.23.0

5 release files

0.22.0

5 release files

0.21.0

5 release files

0.10.0

5 release files

0.9.0

5 release files

0.8.4

5 release files

0.8.3

5 release files

0.8.2

5 release files

0.8.1

5 release files

0.8.0

5 release files

This release

0.7.0 This release

5 release files

0.6.0

5 release files

0.5.2

5 release files

0.5.1

5 release files

0.5.0

5 release files

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page