Questions tagged [pyro]

Pyro is a library that enables you to build applications in which PYthon Remote Objects can talk to each other over the network, with minimal programming effort.

Pyro is a library that enables you to build applications in which Python remote objects can talk to each other over the network, with minimal programming effort.

You use normal Python method calls, with almost every possible parameter and return value type, and Pyro takes care of locating the right object on the right computer to execute the method. It is designed to be very easy to use, and to, generally, be non-obtrusive.

Pyro also provides a set of powerful features that enables you to build distributed applications rapidly and effortlessly. Pyro is written in 100% pure Python and therefore runs on many platforms and Python versions.

176 questions
0
votes
1 answer

HMAC_KEY not set warning

Im trying example from pyro docs, and i get argon@vprime:~/py/pyro$ python greeting.py /usr/local/lib/python2.7/dist-packages/Pyro4-4.14-py2.7.egg/Pyro4/core.py:155: UserWarning: HMAC_KEY not set, protocol data may not be secure …
scythargon
  • 3,363
  • 3
  • 32
  • 62
0
votes
2 answers

Proper PyroStreams where statements in PyroCMS

I'm a Pyro and CI noob, so sorry for any obvious omissions. I'm building a site for a tour company. I've setup a stream with departure_locations and another with tours. Both have an assigned field called departure location name. I'm trying to output…
jayseeg
  • 49
  • 2
  • 9
0
votes
1 answer

List files in Dir using Pyro

I want to list all files in a directory Using PyroCMS. Using the Files module each client has their own folder, the folder is their User ID \files\clients\{ID}\ I need something like this. {{ foreach file in { files:/clients/{{ user:id }} } }}…
IEnumerable
  • 3,610
  • 14
  • 49
  • 78
0
votes
1 answer

Pyro Group Validation

Background I want to display a link to the admin area if a user is part of the Administrators group so in my view code I want to do something like; {{ if user:group group_name="administrators" }}
IEnumerable
  • 3,610
  • 14
  • 49
  • 78
0
votes
1 answer

How to add a Seperator in Pyro CMS Navigation

I would like to add a pipe " | " between each li item in PyroCMS Navigation in the HTML template View we use code {{ navigation:links group="main_nav" }} which outputs output #li>home #li>contact What I…
IEnumerable
  • 3,610
  • 14
  • 49
  • 78
0
votes
1 answer

Reconnect a running daemon to stdout

I have an object running as a daemon in py3k. For that, I use the Pyro4 module inside a thread (based on the code from Sander Marechal, daemon.py). class MyDaemon(Daemon): def run(self): mo = MyObject() daemon =…
Martin Trigaux
  • 5,311
  • 9
  • 45
  • 58
-1
votes
2 answers

Pyro4: Remote object's attributes not changed?

I'm new to Pyro and pretty new to Python. I have the following setup: 2 python scripts Here is server.py: import os import sys import Pyro4 class Packet(object): must_shutdown = False def __init__(self): self.some_attr = "" …
Ispas Claudiu
  • 1,890
  • 2
  • 28
  • 54
-1
votes
1 answer

Are there any alternatves to using Pyro Event Server (subscribe) - by using Pyro4 or other packages?

I'm updating a code (originally written in python 2.7) to be compatible with both python 2.7 and python 3. The code used the package Pyro(3) which doesn't seem to be compatible with python 3, so I've tried to use Pyro4 instead. Although using Pyro4…
rstewart
  • 5
  • 1
-1
votes
1 answer

Cannot send Function to Pyro

I am able to send math.sqrt over a Pyro connection however I cannot send a function that I have defined myself over a Pyro connection. When I do, I get an Pickle Function Error. Both the receiving module and the sending module have the function…
High schooler
  • 1,682
  • 3
  • 30
  • 46
-2
votes
1 answer

Why does all my emission mu of HMM in pyro converge to the same number?

I'm trying to create a Gaussian HMM model in pyro to infer the parameters of a very simple Markov sequence. However, my model fails to infer the parameters and something wired happened during the training process. Using the same sequence, hmmlearn…
-2
votes
1 answer

pyro4 return complex objects

Could someone explain me, how could i return a complex object in pyro4? , here is my code....and the output. My cody is simple, i just want to return complex objects in the client. I dont't want to return only strings, numbers or somthings like…
xXcoronaXx
  • 13
  • 1
  • 8
1 2 3
11
12