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.5.tar.gz (32.7 kB view details)

Uploaded Source

File details

Details for the file mq_sa-0.0.5.tar.gz.

File metadata

  • Download URL: mq_sa-0.0.5.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for mq_sa-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0aba437ffd6f18dbdc0d54b6ed6b86e57576c25c3d0eecabf8bece685ac2993c
MD5 60fd6e1eadd9079328564ecc91098e85
BLAKE2b-256 58d2feda57aae2894cbd6e9ef92fc8e5b66e081bba4b6a50f44745c409cd506c

See more details on using hashes here.

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