A Tiny Python Kernel
Project description
Toupie
🗣️ Pronunciation: too-PEE. 🇫🇷 French word for "spinning top".
Getting Started
Get uv and spin a toupie server with
uvx --from git+https://github.com/boisgera/toupie toupie
If you need additional Python dependencies, use the --with option.
For example:
uvx --with raylib --from git+https://github.com/boisgera/toupie toupie
[!CAUTION]
Anyone who gets access to your spinning toupie server can do a lot of damage!
Sanity check
To check that your toupie server works as expected, do
curl -X POST http://127.0.0.1:8000 -H "Content-Type: text/plain" --data-binary "print(1+1)"
or if curl is not available
uvx --with requests python -c "import requests; r = requests.post(url='http://127.0.0.1:8000', headers={'Content-Type': 'text/plain'}, data='print(1+1)'); print(r.text)"
In any case, you should see 2 should printed in your terminal.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toupie-0.1.0.tar.gz.
File metadata
- Download URL: toupie-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
302f72aed3900d6fae4f6f977746b7f06164abe6d1c0782e0e65fb1605ef261b
|
|
| MD5 |
5da4b5866660286f6942cdd607ac2c2e
|
|
| BLAKE2b-256 |
054286b93abc25ea8e98f20ee686e8b09ce5a77e35857d31e3f557a0fae5069b
|
File details
Details for the file toupie-0.1.0-py3-none-any.whl.
File metadata
- Download URL: toupie-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c005fecb75962fe2688f798b7ac3e843ad4ba007fe875202f7dcbef301bda0e9
|
|
| MD5 |
c8ebbffd7b80b610c01506d28cb5c7d8
|
|
| BLAKE2b-256 |
4aefdcd0e0e1e232e93ddc88cb963a547fe2be79a3873199d6b78c8b6a6cd724
|