Skip to main content

Theater stage manager — manage cues, lighting, props, scenes, and show flow

Project description

browserbase-stagehand

Theater stage manager — manage cues, lighting, props, scenes, and show flow.

Installation

pip install browserbase-stagehand

Usage

from browserbase_stagehand import Show, Scene, Cue, CueType, Prop, LightingState, Color

show = Show(title="Hamlet", venue="Globe Theatre", stage_manager="You")

# Build a scene with cues
scene = Scene(name="The Battlements", act=1, number=1, cast=["Horatio", "Ghost"])
scene.add_cue(Cue("1", CueType.LIGHTING, "Blue wash — night", fade_in=3.0))
scene.add_cue(Cue("2", CueType.SOUND, "Wind SFX", trigger="Lights settle"))
scene.add_cue(Cue("3", CueType.LIGHTING, "Ghost spotlight", trigger="Ghost enters SR"))
show.add_scene(scene)

# Track props
show.props.add(Prop("Skull", "Yorick's skull", scene="Act 5 Scene 1"))
show.props.add(Prop("Goblet", "Poisoned wine", consumable=True))

# Run the show
show.fire()  # fires cue 1
show.fire()  # fires cue 2

# Lighting presets
warm = LightingState.preset_warm_wash(channels=[1, 2, 3, 4])
spot = LightingState.preset_spotlight(channel=5, color=Color.moonlight())

print(show.call_sheet())
print(show.props.checklist())

CLI

stagehand demo          # run a Hamlet demo
stagehand cue-types     # list cue types
stagehand colors        # list light color presets
stagehand locations     # list prop locations

License

MIT

Project details


Download files

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

Source Distribution

browserbase_stagehand-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

browserbase_stagehand-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file browserbase_stagehand-0.1.0.tar.gz.

File metadata

  • Download URL: browserbase_stagehand-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for browserbase_stagehand-0.1.0.tar.gz
Algorithm Hash digest
SHA256 df806528834b0011985bbdf6f73c2e8a846e9e7000434a807fbfb41ad7c3d7c1
MD5 58f67faa758c195abfccd74f8fee9ef8
BLAKE2b-256 aa1a796971c4694b4160ab8e1e232083208addcdc65fba771caed7d789f60db4

See more details on using hashes here.

File details

Details for the file browserbase_stagehand-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for browserbase_stagehand-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ec9b57e995edddcbd8d2e267876a41c6653d6efe18d240c47034bfb1ffb5427
MD5 a28bdfabeadbbe98a4df3d5dfa385b34
BLAKE2b-256 6c0d1c39d2f655ae15000a25094e3defce8bc437729a2f52dc3f221334abe2aa

See more details on using hashes here.

Supported by

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