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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fca6614834fa5744a0f468adc1e21bd154a1dcb9fd83ed07e1ffbc7da9f39ff3 |
|
MD5 | fdb5ad54b2b11964fd6a65cd6788b09c |
|
BLAKE2b-256 | ff5c514e14d1056608fc9bd1bac3b0d332f24fb8a7955e2d47d07d1d548f4add |
Close
Hashes for atk_training_nitesh_psq-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1e5376eb9187da1ed6ec80445688592b49827df2b46cc6697444542f89db807 |
|
MD5 | add5d1f599e9eec5f153de7696be4814 |
|
BLAKE2b-256 | 30b5fc3da189922b68de01e41bb478d2a8ca81d550c77a92cc76de4cf52f8715 |