Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sagemath/sagecell

The Sage Cell Server---providing a way to embed Sage computations into any web page.
https://github.com/sagemath/sagecell

Merge branch 'interact' of https://github.com/jasongrout/simple-python-db-compute into interact

bd492e24544f4013aa1a954f1886c06ae4bb91ab authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Adds method to get changed interact parameters

Also fixes minor polling error (line 113)

d45da3bd455fb511c1ca85c6e5ccc0733e29b607 authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Refactor message queues, fix pyout, pyerr, and execute_reply messages, and convert a bunch of session_id->session. Also take out the session attribute of output messages; the session attribute is in the parent_header.

7008f2bf87735fc9230c33a78d4c25b34c72f686 authored over 13 years ago by Jason Grout <[email protected]>
Merge branch 'codemirrorupdate' into interact

cdcfa4f7392670a339c219f2ab1b9cf6d8785fbb authored over 13 years ago by Jason Grout <[email protected]>
Fix queuing and other small issues with the device

922c6fc69109613f9b85d4411ca527e329eb573d authored over 13 years ago by Jason Grout <[email protected]>
Upgrade CodeMirror to 2.01. Also include the entire CodeMirror distribution rather than selected files so that upgrading is much easier.

72f68b78b85df4658d5ad92f1a80a1f38564bebc authored over 13 years ago by Jason Grout <[email protected]>
Various JSON message fixes.

f0768297e2294016a32aa8301edb2a500e6b27f5 authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Javascript false is all lowercase.

65b6261ae4d10ff3a5bb2548a7dbf123f5a2b875 authored over 13 years ago by Jason Grout <[email protected]>
Merge branch 'interact' of github.com:jasongrout/simple-python-db-compute into interact

eae039721986268618bd770ddf5495f10ad5990d authored over 13 years ago by Jason Grout <[email protected]>
Fixes previous browser messaging

04c94bd20fd1e2d91d6a94a32f52836cf9a2c7a6 authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Merge branch 'interact' of github.com:jasongrout/simple-python-db-compute into interact

ea7e801825bcef53fd1609d02fb978cac2d4e40a authored over 13 years ago by Jason Grout <[email protected]>
Front-end interacts and ipython messaging

Interact example functionality (basic textbox) with onChange JQuery handler
Browser now formats ...

e63efd0972d32059faaf43ad0dc59fdbf30b82cd authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Convert device_process to use ipython messages to specify execution requests, and make it possible to have multiple execution requests per session.

One of the biggest changes here was to convert most message ids to session ids.

1a1706bc1c1263d7e569a57293c254d47616dad9 authored over 13 years ago by Jason Grout <[email protected]>
Document some more thinking and todo items to make interacts work.

b0d99e123e091ce5e766c21cd2490a5374ef4ede authored over 13 years ago by Jason Grout <[email protected]>
Implement basic interact functionality in the backend

ad1177bfbbda4bc832b990a9972a28769e121f25 authored over 13 years ago by Ira Hanson <[email protected]>
Briefly document an interact protocol

e5583e27c6a1cf5125cd212b7434c42fe8787311 authored over 13 years ago by Jason Grout <[email protected]>
Make the tracebacks print out the right level by offsetting the traceback by one.

b530f8f34cbb9246144c293837f81e948c3e5a75 authored over 13 years ago by Jason Grout <[email protected]>
Ipython 0.10 compatibility with pyerr formatting.

The traceback library (ultraTB) included with IPython 0.10 only returns formatted tracebacks as ...

10e33abd4146d8c9fa8e0e9ad3695ff31b56f244 authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Bugfixes with pyerr / pyout messages

fea69368ad4aa9defeee7b61bb92854fa0291727 authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Implements pyerr and pyout messages for the process device.

pyerr code works with IPython 0.10, but slight modifications (where marked in comments) are ...

2faa38f90909e80bf02b99a2fe3b94e3c6c54c9f authored over 13 years ago by Alex Kramer <kramer.alex.kramer@gma>
Merge pull request #21 from ihanson/codemirror

Merge codemirror2 update. Fixes issue #9

ffe45e72ac26e23beb0bd690cc86ea4f13a1759b authored over 13 years ago by Jason Grout <[email protected]>
Use CodeMirror 2 for the textbox.

98cf0e395488da1cebca2a3e44c16e93a71dc4d6 authored over 13 years ago by Ira Hanson <[email protected]>
Add the custom end-of-computation message to process device. Closes #16.

2cb372356f73f0a6aa1a0a93dd4430f4c2fba3e2 authored over 13 years ago by Jason Grout <[email protected]>
Merge pull request #19 from ihanson/ipython-messaging

Use a custom message to announce the end of a computation. Fixes issue #16.

d7d87a4bfe83d18e97b70f1e531dcb8fa67ca9d7 authored over 13 years ago by Jason Grout <[email protected]>
Add a little to the device documentation

e9d40033babc0695327f5220fdca5217b7470ed4 authored over 13 years ago by Jason Grout <[email protected]>
Add necessary files to generate Sphinx documentation.

Install Sphinx. Then go to the doc directory and type "make html", for example, to make the htm...

a98a651b5f508d69fe0f9440f0df8ebc457f248d authored over 13 years ago by Jason Grout <[email protected]>
Use a custom message to announce the end of a computation.

afe4cde5eef11f82d2d9dc639c37d2247ccd5aa8 authored over 13 years ago by Ira Hanson <[email protected]>
Streamline a message from device_process

124917ee423d48a5668a867ec1315cf5f936a555 authored over 13 years ago by Jason Grout <[email protected]>
Use the ipython_root.html template for all backends now, since everything is switched over to using ipython messaging.

28da7f0f753a327382d63d53d141aa38fe23baaf authored over 13 years ago by Jason Grout <[email protected]>
Make file lists work for device_process. Also document a sequence problem with file lists for the ipython device.

63e17fea5123ab9ff1cc3ad3ffed83fcaf5174da authored over 13 years ago by Jason Grout <[email protected]>
Move completely to optparse to cut down on code size. When Sage upgrades its python or ipython, we can move back to argparse.

62f78faad81e775abd84cafd4f35402abc6d8cc1 authored over 13 years ago by Jason Grout <[email protected]>
Fall back to the optparse option parser if we can't find argparse.

This is needed for now since Sage has an old version of Python and an old version of ipython, ne...

4916307fce14f2ff4e33c5d71c8546bff58eeb40 authored over 13 years ago by Jason Grout <[email protected]>
Clean up unused functions from the old device

0f617a31f0a8e13b9a296724afa3d650ca1459ff authored over 13 years ago by Jason Grout <[email protected]>
Print full traceback (in color!)

30f3ff367d694881c18f16a7dc8229bdb70750dd authored over 13 years ago by Ira Hanson <[email protected]>
Making IPython error messages print to the client

d359c9fd3b289067dbd6b02c7bb395fe24312455 authored over 13 years ago by Ira Hanson <[email protected]>
Clean up javascript file (delete comments/whitespace, convert if/else to switch)

2160417ab503ec3fe1a5b6211fade3ca4befe7c1 authored over 13 years ago by Jason Grout <[email protected]>
Change javascript == to === (almost always, we want strict comparison).

d50158bec9f613fed91c907d20463284a23892c1 authored over 13 years ago by Jason Grout <[email protected]>
Make a user-visible convenience function for displaying data, and make the browser deal with text/html display.

Now this will display an h1 html element in the browser:

print 'hi'
MESSAGE.display({'text/html...

fecebe5ee7e54f3b953aec570a1fd7a0fb6b41e0 authored over 13 years ago by Jason Grout <[email protected]>
When appending messages to the html div in the browser, escape html by using the .text() method.

5479b8c9f9e9c86d1bdce866b6e153ae6960010f authored over 13 years ago by Jason Grout <[email protected]>
Make it possible for the user to send a message to the client.

For example, this now sends an 'extension' message with user type 'html':

print 'hi'
MESSAGE.me...

b1c0a229413f7ba44c9700b796b356f5514791f4 authored over 13 years ago by Jason Grout <[email protected]>
Merge pull request #2 from ihanson/ipython-messaging

Files are automatically captured and sent in the ipython device now.

4df80ee5ede4ce4468591ac9a92945b98e7f0c79 authored over 13 years ago by Jason Grout <[email protected]>
If a file is created in an IPython process, it will be passed along to the client.

bec2891ca0e9afc4e3f38a91a13d05e722de0039 authored over 13 years ago by Ira Hanson <[email protected]>
device_process.py now uses the ipython message protocol to send results back to browser.

Code by Jason Grout and Alex Kramer

e23eee31099d674bea4539b77a2f00e3a4923e81 authored over 13 years ago by Jason Grout <[email protected]>
Retrieve messages with parent_header['msg_id']=something, rather than messages with parent_header={'msg_id':something} (i.e., ignore the other keys in parent_header when retrieving the messages).

096ac06885fd344561aae7829c8692064d1298e3 authored over 13 years ago by Jason Grout <[email protected]>
Delete old stdIO context

ba893ce4067fca27db84c4a5a3ba99bbb82a258f authored over 13 years ago by Jason Grout <[email protected]>
Delete unused run_ip_device command in the process device.

b6adcc11b2cf30218cf8c0c5ec66a57f6ee32097 authored over 13 years ago by Jason Grout <[email protected]>
Add todo about unused parameter.

bab49b0c59f4532004c5c763f7682acb4cf24fba authored over 13 years ago by Jason Grout <[email protected]>
Separate out the device_process and device_ipython code a bit more.

ac3ca962f7614d9d7284a7d86c7a861a2a3768a0 authored over 13 years ago by Jason Grout <[email protected]>
Merge branch 'ipython-messaging'

2e0342f8188ad7f7c4857b0d56d5811c86fac244 authored over 13 years ago by Jason Grout <[email protected]>
Copy the device that works by forking a subprocess to its own file.

ae52d28fd5a04eb537f7a87989771bf3440d7d1a authored over 13 years ago by Jason Grout <[email protected]>
Move ipython device to its own separate file.

4cfaa502ea0a780941153ccd7315001f1bf52fe9 authored over 13 years ago by Jason Grout <[email protected]>
Delete some of the old now-unused device code.

09fc0497fd555e3cd410e392bd55a29adb5ee5ef authored over 13 years ago by Jason Grout <[email protected]>
Import argparse from ipython if it doesn't exist in the system. This makes things backwards compatible to python 2.6.

39121f7c842e519e73e2a393289dacbd938d694d authored over 13 years ago by Jason Grout <[email protected]>
Rough cut of a multi-processing ipython device. It works.

c16c1700fd1162817e1fdeca486d032e56c611b4 authored over 13 years ago by Jason Grout <[email protected]>
Initial (broken) changes to make mult-worker device with ipython messaging protocol.

59d2afcb5ac55da9781f11e2f21dc37f95859f2c authored over 13 years ago by Jason Grout <[email protected]>
Correct a sysargs reference from the recent argparse code.

d25edbf81fab34cc9a6a2d203e1fd35db642de9a authored over 13 years ago by Jason Grout <[email protected]>
Merge pull request #1 from ihanson/ipython-messaging

use argparse

7a8c23e91fe8ad3d11727bd9ae3389c1ab711dbb authored over 13 years ago by jasongrout <[email protected]>
Minor fix to usage of argparse

243fab3e00ebea201022499bbff3850b4344b366 authored over 13 years ago by Ira Hanson <[email protected]>
Use argparse instead of trying to do it manually.

4b64890ddf10226ea438cae7b72a2b2d5aa226e6 authored over 13 years ago by Ira Hanson <[email protected]>
Handle some of the ipython message types.

106a1fd8972a7802345686a877cf5e75aadf5d51 authored over 13 years ago by Jason Grout <[email protected]>
Make the device pass actual ipython messages all the way back through to the client.

The client isn't very smart about these messages just yet. That's one of the next steps.

9614fca35deb41b620880f8642f8abaf2f2b53c5 authored over 13 years ago by Jason Grout <[email protected]>
Change a for loop to use enumerate in order to be a bit cleaner

728e7be4a1cc6559c972389926c0da7a1009e96d authored over 13 years ago by Jason Grout <[email protected]>
Started changing things so that messages are passed straight through to the web client. Code is probably broken right now.

1a7519ea3aaee6e7b4b33d7fc8e6fbb8eeecbcdd authored over 13 years ago by Jason Grout <[email protected]>
Make javascript detect tabs in Chrome and other browsers

See http://api.jquery.com/keydown/ and http://api.jquery.com/keypress/, which indicate that keyd...

3f6d80ac81f25fef02bffea40b7f59545ddb1857 authored over 13 years ago by Jason Grout <[email protected]>
Added support for using IPython as the device, with support for tab completion.

Use "ipython" (no quotes) as command line argument on web_server.py and device.py to use IPython.

c6e79c8f60a092a32ffa24db37605cc0c76e3e1c authored over 13 years ago by Ira Hanson <[email protected]>
Add a log command for printing messages from a device.

12036c872f8677dbaba098630e3394e2f0a000f7 authored almost 14 years ago by Jason Grout <[email protected]>
Merged ira's latest changes

601408c4d6a9713aa1c53914835d22b6138740a7 authored almost 14 years ago by Jason Grout <[email protected]>
A few TODO notes added to device.py.

8fbded70998078c73d8085ec0ede6f68911c8246 authored almost 14 years ago by Jason Grout <[email protected]>
Execute code in an empty namespace.

b4f755421d007ff898e75059e34379897ac30900 authored almost 14 years ago by Jason Grout <[email protected]>
Make textbox a bit bigger.

0145ee5c49ca37c77c44093947213660b9256852 authored almost 14 years ago by Jason Grout <[email protected]>
Massively revamp the ping_server script to be a good test script for the multi-mechanize.py package.

43d6426d67c573b348152fad9848391e3a2e4d09 authored almost 14 years ago by Jason Grout <[email protected]>
Make an index for the device field (presumably used when querying for documents with no device).

614cb57434d038c5f9dab939fe8248653f03fc79 authored almost 14 years ago by Jason Grout <[email protected]>
uWSGI was opening up *way* too many connections with mongoDB since it was opening a new connection each time it queried the database. Instead, make the connection a global variable (in each process?).

c1a080a22a396dc47f0c8db85220d94fc9f5a7b8 authored almost 14 years ago by Jason Grout <[email protected]>
Add tsung instructions on OSX to the README

e55439804252110ade53e971caa008fe22b957a5 authored almost 14 years ago by Jason Grout <[email protected]>
Fixing a race condition and some other potential problems

808e007a287bcb408901592cdeb74440b831b08a authored almost 14 years ago by Ira Hanson <[email protected]>
Add a todo to use codemirror eventually.

32d59634770e05081a68f656453a8fcf392f9fa1 authored almost 14 years ago by Jason Grout <[email protected]>
Make the textbox bigger.

5133013ae4f0259312e3b81833f4896992055821 authored almost 14 years ago by Jason Grout <[email protected]>
Use a polling interval to check output of a computation.

eec33e9f5b84311cfb8cbd475b44328b9047c376 authored almost 14 years ago by Jason Grout <[email protected]>
Exec the code in a blank namespace.

1c418921314b713a5a3b6061d89e0278e54b0889 authored almost 14 years ago by Jason Grout <[email protected]>
Add a TODO notes.

cae1c4ec643c845c5e4f2c00295eb40294782c6a authored almost 14 years ago by Jason Grout <[email protected]>
Consolidate printing of log messages.

641e89d313f2dbb50841a84108fb6b4c8f729aa3 authored almost 14 years ago by Jason Grout <[email protected]>
Add live streaming functionality to the device and the web frontend.

982b7ed1c2fe809ba7d3d25382eae429e0077be0 authored almost 14 years ago by Ira Hanson <[email protected]>
Make the number of device workers default to 1

5e8a88b0ef92c2f00280fb35c62f0500f498f809 authored almost 14 years ago by Jason Grout <[email protected]>
Slightly condense some code in sqlalchemy backend.

05004360ccdc43383957fe6377be9b654006c469 authored almost 14 years ago by Jason Grout <[email protected]>
Client now adds links to files listed in "file" output streams.

af0aac181b04c3744cd3e62a684c224b5b3c9162 authored almost 14 years ago by Ira Hanson <[email protected]>
We can't use send_file because it tries to access the file on the hard disk (see the code for send_file). So we have to do our own "send_file" routine that just sends the data.

Now this works and shows a figure:

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig....

96355ec1a66806ce4a91d1404fbff11b995bafad authored almost 14 years ago by Jason Grout <[email protected]>
Make the image URL automatically prepend the necessary file info

4aafb70ae297fbe8e5ae068a3e37c7ae69dcc81c authored almost 14 years ago by Jason Grout <[email protected]>
Fix some bugs in the mongodb filestore.

c40a1ba12da43f550f076b670d28adccfe99f414 authored almost 14 years ago by Jason Grout <[email protected]>
Make the device append a list of files that were created, if files were created, to the output of a command. This is a new stream type, "files".

0b30165127c527de80168a1403fb3f0c281900db authored almost 14 years ago by Jason Grout <[email protected]>
Make new_stream optionally return a value, instead of just print out to stdout.

04c8a2c109f4335b61dc249f4fe268df60b3a89a authored almost 14 years ago by Jason Grout <[email protected]>
Merge Ira's branch

d3569100ae1dee0cb4c9e664ae43bd16f09eed49 authored almost 14 years ago by Jason Grout <[email protected]>
merge

d668ab74efc3ae8f3952cecc0260365f6b47e8fa authored almost 14 years ago by Ira Hanson <[email protected]>
Make device upload (to the filestore) files that were created in the current directory by code.

a82fc59ef671e3b6ae3d326364a8ab37f0b849e5 authored almost 14 years ago by Jason Grout <[email protected]>
Configuring Flask server to send a file given a cell id and a filename.

33b94b41a671999bbde7c8244bcc1c50b4f1978f authored almost 14 years ago by Ira Hanson <[email protected]>
Fix typo in docstring.

5c124a38d629e6a7ed53737372331d36122a3925 authored almost 14 years ago by Jason Grout <[email protected]>
Delete unnecessary imports.

6ce87c951036b9760f81dbc9b32a4022ee2b95b4 authored almost 14 years ago by Jason Grout <[email protected]>
Delete code that is not needed anymore, which was copied from the sqlite driver.

37fc6a4e09dd4085b9d702571a642449d0f8b69c authored almost 14 years ago by Jason Grout <[email protected]>
Ignore the sqlalchemy sqlite table.

f4914491d1355f85403588095e1d7026b19a8a04 authored almost 14 years ago by Jason Grout <[email protected]>
Only update the table if there is something to update.

a8456236bf74626aec8b8a9be9c9ec68057010f9 authored almost 14 years ago by Jason Grout <[email protected]>
Return the primary key instead of a *list* of primary keys.

a6632dc7bfad3368039943d8bebe49d09802be2e authored almost 14 years ago by Jason Grout <[email protected]>