Questions tagged [rpyc]

A transparent python library for symmetrical remote procedure calls, clustering and distributed-computing.

RPyC (IPA: /ɑɹ paɪ siː/, pronounced like are-pie-see), or Remote Python Call, is a transparent python library for symmetrical remote procedure calls, clustering and distributed-computing. RPyC makes use of object-proxying, a technique that employs python’s dynamic nature, to overcome the physical boundaries between processes and computers, so that remote objects can be manipulated as if they were local.

96 questions
0
votes
0 answers

How to detect from client if rPyc server is successfully initialised and is running?

I have a fastapi project needs to connect to a rPyc server. Since I need to start the rPyc server before I start the fastapi project, how could I know if the rPyc server is already successfully prepared from my fastapi end? Any suggestion? I have…
wjrforcyber
  • 101
  • 1
0
votes
0 answers

Rpyc - Is it possible to get the original type back from rypc?

I am using Rpyc and have setup a client server model. The server sends Python objects but I’m having trouble working with them on the client side as their types changed (eg a dict won’t be a dict but a netref.something) - is it possible to get the…
medihde
  • 21
  • 7
0
votes
1 answer

ERRNO 111 Connection refused when starting server over SSH

I would like to start a rpyc server on a machine I'm connected with over ssh. The general SSH connection is working but when starting the server I receive ERRNO 111 Connection refused. When starting the server manually, by logging in via SSH on the…
morten-s
  • 11
  • 2
0
votes
1 answer

RPyC connection through proxy

Context I have a private server, reachable by using a public server as a proxy |------| |------| |-------| |Remote| -> |Public| -> |Private| |------| |------| |-------| I can connect to the private server (ssh keys are…
Tawy
  • 579
  • 3
  • 14
0
votes
1 answer

Python rpyc run in background

I am using rpyc to create a Service (server). I was able to do this. Now I'm I would like to run it and connect to it using my client. I run the server python3 myserver.py This runs fine. Then I run the client python3 myclient.py The problem is I…
elesh.j
  • 192
  • 1
  • 3
  • 15
0
votes
2 answers

RPyC - inherit from exposed class

I have an RpyC server that imports a specific module, a class inside this module should be exposed so that this class can then be inherited from the client side. For testing purposes I removed the module importing/exposing and created a simple class…
0
votes
1 answer

How to access public attributes in RPyC on nested data?

I am trying access public attributes on RPyC call by following this document but don't see it to be working as mentioned in document. Documentation says if you don't specify protocol_config={'allow_public_attrs': True,} , public attributes , even of…
ViFI
  • 971
  • 1
  • 11
  • 27
0
votes
1 answer

Return object by value (not as Netref) from RPyC service exposed method

I'm using an RPyC Service to make some calculations on a remote machine and then want to return the result, which is a numpy array to the user - the rpyc client. The return value of the service method is Netref to a numpy array, and therefore, when…
Jonathan
  • 1
  • 2
0
votes
1 answer

RPyC: can't save image file

I'm working on a Django application that uses a flatbed scanner. To stay connected to the scanner RPyC is used. (Connecting to the scanner takes a long time so I want to re-use the connection multiple times.) Connecting to the scanner and keeping…
CyberFly
  • 757
  • 1
  • 10
  • 15
0
votes
1 answer

rpyc_classic.py in azure bash environment

How to run rpyc_classic.py python file in azure bash environment? I have tried to install wheel getting below exception. pip install [options] ... no such option: --use-wheel – help me..
Karthik.M
  • 67
  • 11
0
votes
1 answer

Import rpyc not working in azure web service python flask application

1)Import rpyc not working in azure web service python flask application, Its shows "." 2)How to insall rpyc in azure app service with flask application? Please help
Karthik.M
  • 67
  • 11
0
votes
2 answers

Unable to create a dataframe from a list of dictionaries returned by a RPyC function

I am trying to use a function within a RPyC threaded server which returns the dict containing file attributes such as location, filename by looping over all the folders within the specified path. However, when this is returned back to client, the…
ParvBanks
  • 1,316
  • 1
  • 9
  • 15
0
votes
1 answer

Is there a way to assign or know the local port being used by the Client machine while using RPyC in Python3?

We can specify the Server IP/Port while connecting a Client using: c = rpyc.connect("127.0.0.1",port=18812) However, I'd like to know if there is a way in which we can specify which port the Client would use OR if we can identify which port the…
ParvBanks
  • 1,316
  • 1
  • 9
  • 15
0
votes
1 answer

Is it possible to let the client interact with recaptcha on the server side?

I'm using rpyc server to get data using selenium when a connection to a client is established, the problem is that the url I'm trying to access occasionally prompts a reCaptcha to fill in order to access the data needed. I don't really need to find…
Roman
  • 37
  • 1
  • 8
0
votes
1 answer

how to use value from an rpyc client called from a progress script in that script

Trying to use rpyc server via progress script, and have the script do different tasks based on different values I'm trying to get from the client. I'm using a rpyc server to automate some tasks on demand from users, and trying to implement the…
Roman
  • 37
  • 1
  • 8