Code Monkey home page Code Monkey logo

Comments (4)

Zentetsu avatar Zentetsu commented on August 15, 2024

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.

BrendanSimon avatar BrendanSimon commented on August 15, 2024

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.

Zentetsu avatar Zentetsu commented on August 15, 2024

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.

Zentetsu avatar Zentetsu commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.