Comments (4)
Yes shared_memory
refers to the multiprocessing
module.
Currently, this module is used in this project, so it is not compatible with earlier versions of python.
The purpose of this project is just to provide the possibility to use dict
and list
that contain any Basic data types, while simplifying the way to interact with shared memory by using it like publisher and subscriber.
If you're still interested, I will put some examples in the readme.
from sharedmemory.
Would definitely be interested in seeing some examples, and how it compares with using the multiprocessing module directly.
I'm currently using Python 3.7 for a project, but there may be a possibility to move to Python 3.8.
I wonder if there is a way to get it running with Python 3.7?
from sharedmemory.
I just added a simple example on how to share a string using the SharedMemory
.
I will also add one on how to share a dict
.
I quickly looked at what is available in python 3.7 for the multiprocessing
module.
I think it's possible to adapt it to run on 3.7, I'm going to do some more research.
By the way, I will soon add the possibility to access to the shared list
or dict
as a normal list
or dict
.
from sharedmemory.
I finally changed the way my library works.
Instead of using the multiprocessing
module, I use the posix-ipc
module.
From now on it is possible to use it from python 3.6.
from sharedmemory.
Related Issues (8)
- Avoid crashing on successive calls of start or stop methods
- Server availability is not updated
- A function to provide full list of shared memory blocks HOT 2
- Does shared memory block gets killed in shared_memory after the python process is complete HOT 2
- Dear author, hello! I tried your tool and it works very well. But I need it more in the field of deep learning. I don't know if you can add numpy-compatible functions. I would be very grateful! HOT 2
- [BUG] Documentation has parameter "exist" which was removed. HOT 2
- Finish Shared Memory API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharedmemory.