Metadata-Version: 2.3
Name: sankalp-deepak
Version: 0.1.2
Summary: This is a cli tool to organize tasks
Author: Deepak Prakash
Author-email: deepak.prakash@flipkart.com
Requires-Python: >=3.9.0,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: apscheduler (==3.11.0)
Requires-Dist: async-timeout (==5.0.1)
Requires-Dist: black (==25.1.0)
Requires-Dist: click (==8.1.8)
Requires-Dist: markdown-it-py (==3.0.0)
Requires-Dist: mdurl (==0.1.2)
Requires-Dist: mypy (==1.16.0)
Requires-Dist: mypy-extensions (==1.1.0)
Requires-Dist: packaging (==25.0)
Requires-Dist: pathspec (==0.12.1)
Requires-Dist: peewee (==3.18.1)
Requires-Dist: peewee-migrate (==1.13.0)
Requires-Dist: platformdirs (==4.3.8)
Requires-Dist: poetry-core (==2.1.3)
Requires-Dist: psycopg2-binary (==2.9.9)
Requires-Dist: pygments (==2.19.1)
Requires-Dist: pync (==2.0.3)
Requires-Dist: python-dateutil (==2.9.0.post0)
Requires-Dist: rich (==14.0.0) ; python_version >= "3.8.0"
Requires-Dist: shellingham (==1.5.4)
Requires-Dist: six (==1.17.0)
Requires-Dist: sqlalchemy (==2.0.41)
Requires-Dist: tomli (==2.2.1)
Requires-Dist: typer (==0.16.0)
Requires-Dist: types-peewee (==3.18.1.20250516)
Requires-Dist: typing-extensions (==4.13.2)
Requires-Dist: tzlocal (==5.3.1)
Description-Content-Type: text/markdown

# Sankalp
A simple cli tool for organizing your daily tasks.

## Requirements
- PostgreSQL Database

## Configurations
- Set environment variables
- `SANKALP_DATABASE_URI`: PostgreSQL connection string
- `SANKALP_REMINDER_POLICY`: Reminder policy for scheduler

### Sample reminder policy

```json
{
  "CRITICAL": [
    "half",
    {"hours": 1},
    {"minutes":  30},
    {"minutes":  10},
    {"minutes":  5},
    {"minutes":  1}
  ],
  "HIGH": [
    "half",
    {"hours": 1},
    {"minutes":  5},
    {"minutes":  1}
  ],
  "MEDIUM": [
    {"hours": 1},
    {"minutes":  5}
  ]
}
```

## Usage
```bash
sankalp --help
```

## Starting the scheduler for reminders
```bash
nohup python -m sankalp.scheduler_manager & 
```
