Skip to main content

Toupie

🗣️ Pronunciation: too-PEE. 🇫🇷 French word for "spinning top".

Toupie

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toupie-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toupie-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for toupie-0.1.0.tar.gz
Algorithm Hash digest
SHA256 302f72aed3900d6fae4f6f977746b7f06164abe6d1c0782e0e65fb1605ef261b
MD5 5da4b5866660286f6942cdd607ac2c2e
BLAKE2b-256 054286b93abc25ea8e98f20ee686e8b09ce5a77e35857d31e3f557a0fae5069b

See more details on using hashes here.

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

Hashes for toupie-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c005fecb75962fe2688f798b7ac3e843ad4ba007fe875202f7dcbef301bda0e9
MD5 c8ebbffd7b80b610c01506d28cb5c7d8
BLAKE2b-256 4aefdcd0e0e1e232e93ddc88cb963a547fe2be79a3873199d6b78c8b6a6cd724

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page