No project description provided
Project description
a Very simple Persistant queue service using sqlite3
How to intialize the queue using the package (to instialize the db)
pip install atk_training_nitesh_psq
from atk_training_nitesh_psq.sqlite_ import SQLITE
queue=SQLITE('db_name')
# if someone is directly jumping to producer queue is automaticallt initialized
How to run intialize the queue using command
queue --db-name db_name
How to initialize the producer using the package
---> Given one has installed the package
from atk_training_nitesh_psq.producer import producer_
producer_("queue.db")
How to initialize the producer using the command
producer "queue.db"
How to initialize the consumer using the package
from atk_training_nitesh_psq.consumer import cons
cons('queue.db')
How to initailize the consumer using the command
consumer "queue.db" or empty
(automatically initializes to queue.db)
Need to implement a manager schuduled to push pending tasks to queue back to procesing and a ops manager
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for atk_training_nitesh_psq-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1ea07337c83f4eebeb2a45db7c80379851619122f32a2d111fcce55b44b7d0 |
|
MD5 | e27e9d097d2e8025d8d31fba5b98f5d8 |
|
BLAKE2b-256 | baf56f92fc18dbcc373f67d2e32b9c3e46788777e47fc89b21012a52925fc962 |
Close
Hashes for atk_training_nitesh_psq-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad48db73c152dda4455c68bc0b2a5ab22162343fa29bd4c759418feeb2d49d7d |
|
MD5 | d004c9a9ae6287565d7ebad0165df8d8 |
|
BLAKE2b-256 | 68b86352852ab47c5feb7168e2f24752d522b8807d37acbf37d0617507e2a160 |