Metadata-Version: 2.1
Name: atk-training-nitesh-psq
Version: 0.1.3
Summary: 
Author: Nitesh
Author-email: nitesh@aganitha.ai
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: PyYAML (>=6.0,<7.0)
Requires-Dist: db-sqlite3 (>=0.0.1,<0.0.2)
Requires-Dist: schedule (>=1.1.0,<2.0.0)
Requires-Dist: typer (>=0.7.0,<0.8.0)
Description-Content-Type: text/markdown

# 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
```

