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', 100)
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
Bump version in setup.py
and
rm -rf dist/ && \
python setup.py sdist && \
twine upload dist/* -usmashingalpha -p`cat .env | grep TWINE_PASSWORD | cut -d '=' -f 2- | tr -d '"'`
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.7.tar.gz
(32.9 kB
view details)
File details
Details for the file mq_sa-0.0.7.tar.gz
.
File metadata
- Download URL: mq_sa-0.0.7.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1c2ecb1acef98371dd652b128559135d9ff170f0e80bd922dc6299392e5d236 |
|
MD5 | e5ff5dc92d6f4eb27e0bc6bb8ea3d226 |
|
BLAKE2b-256 | e4f4d66c9bce9d7bb8609395d8498fbe8b4ba9d55f1835f24aab51ed0b4266ab |