Skip to main content

Message queue for Interprocess communication

Project description

message-queue

In a parent directory run

pip install message-queue/ 

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 message-queue/ 

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

Uploaded Source

File details

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

File metadata

  • Download URL: mq_sa-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 68b5a6f5d5f58c9e8288f6c476900a8c454e7919a4f528e1708787e275b5f309
MD5 312852e5bc882d5f89a04d7adb8bcfc7
BLAKE2b-256 e7b88e8f2a5f69806514230a5fefdf277ff5e7b6080c268b338f71432bc6aa23

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