Skip to main content

Message queue for Interprocess communication

Project description

message-queue

In a parent directory run

pip install mq_sa 

Create interprocess message queue and send

import mq_sa
q=mq_sa.create('myqueue')
mq_sa.send(q, 'fo', 'bar', 'baz', 'quux')

Receive like this

import mq_sa
q=mq_sa.open('myqueue')
mq_sa.receive(q)
('fo', 'bar', 'baz', 'quux')

Release new version

rm -rf dist/ && \
python setup.py sdist && \
twine upload dist/*

Boost install directory and Pyenv

If boost installed in eg $HOME/boost then, why - https://github.com/scikit-build/scikit-build/issues/733

export SKBUILD_CONFIGURE_OPTIONS="-DBOOST_ROOT=$HOME/boost" && \
pip install mq_sa 

And copy boost python to where Python can find it with its @rpath like this

cp $HOME/boost/lib/libboost_python311.* $HOME/.pyenv/versions/3.11.2/lib

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mq_sa-0.0.3.tar.gz (32.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page