A library that allows to import a module in one process (server) and use that module in another process (client).
Project description
interface-proxy
A library that allows to import a module in one process (server) and use that module in another process (client).
Use Cases
- You want to run your application on one computer, but a python module shall be run on another computer (remote control).
- You need to use a library which has conflicting dependencies with other components used by your application (DLL Hell), or is only available for another bitness.
Features and Limitations
- The python module in the server can be used transparently, as if the module was imported on the client.
- Only primitive attributes and function calls are supported. Instantiating objects or calling methods on objects does not work and requires a wrapper on the server.
- Objects can be referenced and these references can be passed to functions as arguments.
- Client can automatically start and terminate the server if running on the same machine.
- No Authentication support. When the computer can be reached from the outside, make sure your firewall only grants access from trusted sources.
- Only supports Windows as OS
Communication Protocols
- Via named pipes (client and server on the same machine).
- Via TCP connection.
Examples
You can check the integration tests in the source code to find out how to use this library. If you are interested in a collaborative project to evaluate the use of this library and implement it in your application, feel free to contact us at contact@sweep-me.net.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file interface_proxy-0.2.1b0-py3-none-any.whl
.
File metadata
- Download URL: interface_proxy-0.2.1b0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b9f1700a5e476af72cffea671cc27393798f5fde852c705917cfe4fb5f21d4 |
|
MD5 | b6ef1c91e72d57a90db0763d3e1773dc |
|
BLAKE2b-256 | 883b44d9d34bd33c5a214331d628adbbf89b2817494c86d0ee2948d22c3cc805 |