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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad1cde47d9e4d8c4d572740f935e5123cf59c858cd082f94d045de3cd79805e |
|
MD5 | 35844eb08a9bd886979001b793539544 |
|
BLAKE2b-256 | 2b08ca371bc452376d4b01ce5a2d3d55d32df9a4b5471f8a28aae443e0f337e9 |
Close
Hashes for atk_training_nitesh_psq-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02185ac88c08db51b12833adc60d2e336755716296fe27ebb540d5a849f2d3c5 |
|
MD5 | a2271d8c3e1ad8a0ac7760245e0a94a5 |
|
BLAKE2b-256 | 340b352fd155a88f8af7d3058272ab57740a520b63d2d15b70fd661bbaef5e8f |