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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: mq_sa-0.0.3.tar.gz
  • Upload date:
  • Size: 32.2 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.3.tar.gz
Algorithm Hash digest
SHA256 688fa612cca869616a865a41e2c81f3253216e20954841f7a92323bd94d1058f
MD5 832a5a6407bda23dc1ec0ed949491f5f
BLAKE2b-256 684a4be8de38aa4335a9188131a4249192bd59401f61956b627b8defeb231b9d

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