Is it a good idea to share objects between python processes with the help of any database ? Can't still find any decent tool for sharing objects. Saving and loading them in Sage seems to be a simple approach for user but not for an application to run.
Serge Serge Salamanka пишет: > I found Pyro with exceptional functionality. > pyro.sourceforge.net > This might be used for the purpose? > > I just need to make easily accessible the objects that other user > creates during his session and also share my objects. > Better this would be fully automated rather than loading/saving > > William Stein пишет: >> On Mon, Apr 27, 2009 at 5:01 PM, Serge Salamanka <salsa-...@tut.by> wrote: >>> Hello, >>> >>> I wonder how it is possible to make a common shared objects space for >>> all of the users on the Sage server ? >> If X is any object in any Sage session then any user can type >> >> save(X, '/tmp/name.sobj') >> >> and any other user can load X by typing >> >> X = load('/tmp/name.sobj') >> >> That basically accomplishes what you asked for, right? >> >> -- William >>> The idea is to make available the mathematical space to users providing >>> that they all can have access from within their own sessions to a common >>> session. >>> >>> As far as I understand: >>> I propose to install server as multiuser app with unix accounts. >>> Each user runs IPython shell when working with Sage (also from notebook). >>> There is a need to make the user objects accessible to others (say, like >>> to work in the same session). >>> The best would be even to use ACLs for controlling access to objects >>> (say, another user cannot modify object but only read and use it). >>> >>> Could you please point me to the right direction. >>> >>> I suppose I should look for this somewhere in python functionality ? >>> >>> Comments are welcome. >>> >>> Serge >>> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---