{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3121","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3121/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3121/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3121/events","html_url":"https://github.com/bokeh/bokeh/pull/3121","id":116772863,"number":3121,"title":"Use flexx.pyscript to allow Python callbacks","user":{"login":"almarklein","id":3015475,"avatar_url":"https://avatars.githubusercontent.com/u/3015475?v=3","gravatar_id":"","url":"https://api.github.com/users/almarklein","html_url":"https://github.com/almarklein","followers_url":"https://api.github.com/users/almarklein/followers","following_url":"https://api.github.com/users/almarklein/following{/other_user}","gists_url":"https://api.github.com/users/almarklein/gists{/gist_id}","starred_url":"https://api.github.com/users/almarklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almarklein/subscriptions","organizations_url":"https://api.github.com/users/almarklein/orgs","repos_url":"https://api.github.com/users/almarklein/repos","events_url":"https://api.github.com/users/almarklein/events{/privacy}","received_events_url":"https://api.github.com/users/almarklein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/status:%20WIP","name":"status: WIP","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/22","html_url":"https://github.com/bokeh/bokeh/milestones/0.11.0","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/22/labels","id":1320524,"number":22,"title":"0.11.0","description":"","creator":{"login":"mattpap","id":27475,"avatar_url":"https://avatars.githubusercontent.com/u/27475?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpap","html_url":"https://github.com/mattpap","followers_url":"https://api.github.com/users/mattpap/followers","following_url":"https://api.github.com/users/mattpap/following{/other_user}","gists_url":"https://api.github.com/users/mattpap/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpap/subscriptions","organizations_url":"https://api.github.com/users/mattpap/orgs","repos_url":"https://api.github.com/users/mattpap/repos","events_url":"https://api.github.com/users/mattpap/events{/privacy}","received_events_url":"https://api.github.com/users/mattpap/received_events","type":"User","site_admin":false},"open_issues":87,"closed_issues":119,"state":"open","created_at":"2015-09-23T15:04:43Z","updated_at":"2015-11-25T09:15:37Z","due_on":"2015-12-07T23:00:00Z","closed_at":null},"comments":34,"created_at":"2015-11-13T13:58:26Z","updated_at":"2015-11-25T13:29:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bokeh/bokeh/pulls/3121","html_url":"https://github.com/bokeh/bokeh/pull/3121","diff_url":"https://github.com/bokeh/bokeh/pull/3121.diff","patch_url":"https://github.com/bokeh/bokeh/pull/3121.patch"},"body":"issues: implements part of #2788 \r\nreplaces #2799\r\n\r\nDone in Bokeh:\r\n* Modifies the CustomJS class to allow using it as a decorator for a callback function.\r\n* Adds an example\r\n* Adds docs (note that the result plot for the example in the docs does not work)\r\n\r\nDone in Flexx:\r\n* PyScript is now more Pythonic. Probably enough for most code to work as-is. Users don't need to know about JavaScript's quircks in most cases.\r\n* PyScript now works on all Python versions 3.3+ (including pypy)\r\n* The above is tested with CI\r\n* Released, so it can be pip-installed.\r\n\r\nTo discuss:\r\n* I propose that flexx is an optional dependency. When trying to use this feature when flexx is not installed, we raise an informative exception,\r\n* Flexx can be pip-installed. Should we make it conda installable?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/159607475","html_url":"https://github.com/bokeh/bokeh/pull/3121#issuecomment-159607475","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/3121","id":159607475,"user":{"login":"damianavila","id":1640669,"avatar_url":"https://avatars.githubusercontent.com/u/1640669?v=3","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T13:29:50Z","updated_at":"2015-11-25T13:29:50Z","body":"FYI, I have mane conda packages for flexx in all platforms with py34 and p35...\r\n\r\nSo, change needed:  modify `conda.recipe/meta.yaml` to selectively install flexx in py34 and py35"}}