Metadata-Version: 2.3
Name: mary-elizabeth-utils
Version: 0.1.15
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Dist: polars
Requires-Dist: matplotlib
Requires-Dist: seaborn
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: colorama
Requires-Dist: pyyaml
License-File: LICENSE
Summary: My utilities for the different projects
Author-email: Tobias Kragholm <tkragholm@gmail.com>
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# mary-elizabeth-utils

My utilities for the different projects

## Installation

```bash
pip install mary-elizabeth-utils
```

## Usage

```python
from mary_elizabeth_utils import get_readstat_path
from readstat_wrapper import ReadstatWrapper

# Initialize the wrapper with the path to the readstat binary
readstat = ReadstatWrapper(get_readstat_path())

# Get metadata
metadata = readstat.metadata("/path/to/example.sas7bdat")
print(metadata)

# Preview data
preview = readstat.preview("/path/to/example.sas7bdat", rows=20)
print(preview)

# Convert to CSV
readstat.convert_to_csv("/path/to/example.sas7bdat", "/path/to/output.csv", rows=50000, overwrite=True, parallel=True)

# Convert to Parquet
readstat.convert_to_parquet("/path/to/example.sas7bdat", "/path/to/output.parquet", overwrite=True, parallel=True)
```

