Metadata-Version: 2.4
Name: easymdm
Version: 0.0.8
Summary: easymdm is an open source mdm system, usefull for user data consolidation.
Author-email: ankit K <ankit48365@gmail.com>
License-File: LICENSE
Requires-Python: >=3.13
Requires-Dist: fuzzywuzzy>=0.18.0
Requires-Dist: networkx>=3.5
Requires-Dist: pandas>=2.3.1
Requires-Dist: pyaml>=25.7.0
Requires-Dist: python-levenshtein>=0.27.1
Requires-Dist: recordlinkage>=0.16
Description-Content-Type: text/markdown

![pylint](https://img.shields.io/badge/pylint-2.86-red)

#### Prerequisite
Define a yaml file for configuration details like below, Need to pass its name and location to CLI as shown below

```
sqlite:
  - DB_PATH: 'D:\path\to\database\'
    DB_NAME: 'mydatabase.db'

blocking:
  columns:
    - first_name
    - last_name
similarity:
  - column: first_name
    method: jarowinkler
  - column: middle_name
    method: jarowinkler
  - column: last_name
    method: jarowinkler
  - column: address
    method: levenshtein
  - column: city
    method: jarowinkler
  - column: zip_code
    method: exact

thresholds:
  review: 0.6
  auto_merge: 0.8

survivorship:
  rules:
    - column: Last_Updated_On
      strategy: most_recent

priority_rule:
  conditions:
    - column: original
      value: 1
    - column: Address
      value: *STREET*

```
### CLI Run

```
uv run roar --help

For flat file
> uv run roar --source file --name D:\path\to_your_file\123.csv --config D:\path\to_your_config\config.yaml

or for sqlite
uv run roar --source sqlite --table main.slvr_personal_info --config D:\path\to_your_config\config.yaml --outpath d://outpath// 


```

### CICD Action Messages

```
PleaseDeploytoPyPI


```

### BUILD

```
easymdm> uv init --package

easymdm> uv build                          
Building source distribution...
Building wheel from source distribution...
Successfully built distasymdm-0.1.0.tar.gz
Successfully built distasymdm-0.1.0-py3-none-any.whl

```

Warnings

```
uzzywuzzyuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
  warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')

```

### Deploy

```
> Updated version in pyproject.toml {uv version --bump patch}
> git synch using message - PleaseDeploytoPyPI
> Same version run {git tag 0.0.x} then {git push --tag}

```

### Code Quality
```
> git synch using message - 'CheckCodeQuality'
```
