Meta tags:
description= Contribute to plotly/choreographer development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, tests, repository, about, files, use, footer, resources, code, of, conduct, stars, watchers, forks, choreographer, menu, latest, commit, history, folders, and, wait, thought, this, was, kaleido, status, testing, help, wanted, quickstart, with, asyncio, synchronous, low, level, releases, packages, used, by, contributors, languages, process, control, browser, interaction, writing, subscribing, to, events,
Text of the page (most frequently used words):
the (29), and (19), browser (19), github (17), for (16), you (13), code (12), tests (12), this (11), #choreographer (11), repository (9), tab (9), await (9), can (8), asyncio (8), with (8), async (8), but (7), use (6), all (6), response (6), example (6), that (5), security (5), conduct (5), license (5), readme (5), are (5), target (5), another (5), error (5), your (5), test_process (5), support (5), changelog (5), commit (5), navigation (4), used (4), forks (4), stars (4), session (4), other (4), subscribe (4), dump_event (4), events (4), python (4), package (4), files (4), add (4), pytest (4), build (4), signed (4), copilot (4), not (3), docs (3), status (3), custom (3), mit (3), resources (3), about (3), from (3), must (3), false (3), choreo (3), synchronous (3), verbose (3), documentation (3), page (3), def (3), see (3), sleep (3), create (3), using (3), testing (3), tools (3), headless (3), step (3), run (3), chrome (3), kaleido (3), more (3), actions (3), quality (3), window (3), refresh (3), reload (3), sign (3), developers (3), customer (3), enterprise (3), grade (3), features (3), community (2), footer (2), report (2), watching (2), watchers (2), properties (2), activity (2), description (2), website (2), topics (2), provided (2), level (2), really (2), what (2), printing (2), blocking (2), open (2), library (2), always (2), which (2), new_tab (2), error_event (2), str (2), callback (2), result (2), following (2), function (2), note (2), like (2), puppeteer (2), wait (2), created (2), display (2), only (2), functions (2), required (2), https (2), com (2), import (2), install (2), help (2), test (2), different (2), process (2), file (2), quiet (2), ignore (2), vvv (2), control (2), work (2), browsers (2), pull (2), requests (2), platform (2), next (2), was (2), items (2), lock (2), pyproject (2), toml (2), mkdocs (2), yml (2), roadmap (2), release (2), code_of_conduct (2), pre (2), config (2), yaml (2), gitignore (2), src (2), workflows (2), last (2), message (2), name (2), 941 (2), commits (2), latest (2), menu (2), star (2), settings (2), insights (2), projects (2), plotly (2), universe (2), training (2), integrations (2), stories (2), center (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, contact, privacy, terms, 2026, inc, languages, contributors, packages, releases, provide, interface, there, lower, interfaces, needed, low, words, unless, sure, know, doing, starts, thread, constantly, messages, received, nor, will, play, nice, any, read, run_output_thread, however, call, manually, organizing, results, pipe, read_jsons, true, until, my_browser, without, useful, debugging, dumping, too, isn, clear, sent, unsubscribe, something, lifecycleevent, subscribe_once, dumps, loadeventfired, targetcrashed, exception, raise, raising, print, try, adding, shown, above, subscribing, list, possible, commands, devtools, reference, runs, again, users, rearrange, programmatically, generated, tabs, mouse, trying, replace, three, seconds, asks, tells, screen, default, defines, because, inside, imports, libraries, __main__, __name__, url, params, navigate, send_command, google, create_tab, save, quickstart, paste, output, into, issue, dtdoctor, equivalent, pip, activate, virtual, environment, clone, need, platforms, cases, get, started, wanted, api, minimum, template, test_placeholder, copy, fixtures, separate, sync, _sync, writing, also, want, pop, debug, interaction, strongly, recommend, absolutely, intended, building, blocks, asynchronous, strategies, may, favor, over, future, progress, ish, supported, moment, though, hope, others, greatly, appreciated, cross, generating, static, images, plots, original, implementation, included, has, proven, very, difficult, maintain, contrast, uses, binary, user, machine, same, way, implement, layer, top, thought, available, pypi, allows, remote, image, generation, based, charting, purposes, well, view, date, folders, history, tags, branches, main, fork, change, notification, notifications, public, issues, dismiss, alert, switched, accounts, out, appearance, search, pricing, event, talks, workshops, partners, company, forum, webinars, blog, resource, connect, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, improvements, across, one, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, review, collaboration, skip, content,
Text of the page (random words):
github plotly choreographer github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message plotly choreographer repository navigation code issues 6 6 pull requests 3 3 actions projects security and quality insights more items choreographer public notifications you must be signed in to change notification settings fork 10 10 star 17 17 you must be signed in to star a repository about no description website or topics provided resources readme mit license code of conduct code of conduct activity custom properties stars 17 stars watchers 1 watching forks 10 forks report repository main branches tags go to file code open more actions menu latest commit history 1 941 commits 1 941 commits folders and files name name last commit message last commit date github workflows github workflows docs docs src choreographer src choreographer tests tests gitignore gitignore pre commit config yaml pre commit config yaml changelog md changelog md code_of_conduct md code_of_conduct md license md license md readme md readme md release md release md roadmap md roadmap md mkdocs yml mkdocs yml pyproject toml pyproject toml uv lock uv lock view all files repository files navigation readme code of conduct mit license more items choreographer choreographer allows remote control of browsers from python it was created to support image generation from browser based charting tools but can be used for other purposes as well choreographer is available pypi and github wait i thought this was kaleido kaleido is a cross platform library for generating static images of plots the original implementation included a custom build of chrome which has proven very difficult to maintain in contrast this package uses the chrome binary on the user s machine in the same way as testing tools like puppeteer the next step is to re implement kaleido as a layer on top of it status choreographer is a work in progress only chrome ish browsers are supported at the moment though we hope to add others pull requests are greatly appreciated note that we strongly recommend using async await with this package but it is not absolutely required the synchronous functions in this package are intended as building blocks for other asynchronous strategies that python may favor over async await in the future testing process control tests verbose pytest w error vvv tests test_process py quiet pytest w error v tests test_process py browser interaction tests verbose pytest debug w error vvv ignore tests test_process py quiet pytest w error v ignore tests test_process py you can also add no headless if you want to see the browser pop up writing tests separate async and sync test files add _sync py to synchronous tests for process tests copy the fixtures in test_process py file for api tests use test_placeholder py as the minimum template help wanted we need your help to test this package on different platforms and for different use cases to get started clone this repository create and activate a python virtual environment install this repository using pip install or the equivalent run dtdoctor and paste the output into an issue in this repository quickstart with asyncio save the following code to example py and run with python import asyncio import choreographer as choreo async def example browser await choreo browser headless false tab await browser create_tab https google com await asyncio sleep 3 await tab send_command page navigate params url https github com await asyncio sleep 3 if __name__ __main__ asyncio run example step by step this example imports the required libraries defines an async function because await can only be used inside async functions asks choreographer to create a browser headless false tells it to display the browser on the screen the default is no display wait three seconds for the browser to be created create another tab note that users can t rearrange programmatically generated tabs using the mouse but that s ok we re not trying to replace testing tools like puppeteer sleep again runs the example function see the devtools reference for a list of possible commands subscribing to events try adding the following to the example shown above callback for printing result async def dump_event response print str response callback for raising result as error async def error_event response raise exception str response browser subscribe target targetcrashed error_event new_tab subscribe page loadeventfired dump_event browser subscribe target dump_event dumps all target events response await new_tab subscribe_once page lifecycleevent do something with response browser unsubscribe target events are always sent to a browser or tab but the documentation isn t always clear which dumping all browser subscribe dump_event on tab too can be useful but verbose for debugging synchronous use you can use this library without asyncio my_browser choreo browser blocking until open however you must call browser pipe read_jsons blocking true false manually and organizing the results browser run_output_thread starts another thread constantly printing messages received from the browser but it can t be used with asyncio nor will it play nice with any other read in other words unless you re really really sure you know what you re doing use asyncio low level use we provide a browser and tab interface but there are lower level target and session interfaces if needed about no description website or topics provided resources readme mit license code of conduct code of conduct activity custom properties stars 17 stars watchers 1 watching forks 10 forks report repository releases packages used by contributors languages footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|