Data Harmonization Package
This package provides functionality for file merging and data harmonization using various algorithms and AI models. It allows you to merge CSV files and harmonize data based on a sample-based approach using GPT-based models.
Installation
You can install the package from PyPI using pip:
pip install data-harmonization-ai
Usage
DataHarmonizer Class
The DataHarmonizer class provides the capability to merge CSV files based on different options.
It supports the following merge options:
- ChatGPT
- GPT4
- Fuzzy Wuzzy
- Rapidfuzz
- Jaro Winkler
- JW Layered with ChatGPT
- JW Layered with GPT4
- FW Layered with GPT4
- Recursive Data Harmonization
Example usage:
from utility import DataHarmonizer
Create an instance of DataHarmonizer
key='openai-key' harmonizer = DataHarmonizer(key,'file1.csv', 'file2.csv', 'ChatGPT')
Merge the files based on the specified option
result = harmonizer.merge_files()
print(result)
DataHarmonizationWithSuggestion Class
The DataHarmonizationWithSuggestion class allows you to harmonize data using a sample-based approach.
It takes a sample file and two data files as input.
Example usage: from utility import DataHarmonizationWithSuggestion
Create an instance of DataHarmonizationWithSuggestion
key = 'openai-key' harmonizer = DataHarmonizationWithSuggestion(key, "sample_harmonized_data.csv", "file1.csv", "file2.csv")
Harmonize the data based on the sample
result = harmonizer.harmonize_data()
print(result)
Metadata
Release files for data-harmonization-ai-dp 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| data-harmonization-ai-dp-2.0.0.tar.gz | 10.6 kB | Without provenance | Details for data-harmonization-ai-dp-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_harmonization_ai_dp-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for data_harmonization_ai_dp-2.0.0-py3-none-any.whl |
Total release size: 29.1 kB
Release files / data-harmonization-ai-dp-2.0.0.tar.gz
| Download URL | data-harmonization-ai-dp-2.0.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd8d1c41500c16b7f57350364e66ed3f03c678833f52150860261c3b7dd08f65
|
|
BLAKE2b-256 checksum How to use checksums |
9583268df0b072c7e4bfb636ec20a0157faf94427524ea551d11b36c4aa3abe6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / data_harmonization_ai_dp-2.0.0-py3-none-any.whl
| Download URL | data_harmonization_ai_dp-2.0.0-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2036f5b2e142e96b8674f8ac493076c8a1ab945893673887b7c4508d6acc9ace
|
|
BLAKE2b-256 checksum How to use checksums |
482f8482b1087e50f0473a16f36db469fd37e0d43b96e1355858be964e8159fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for data-harmonization-ai-dp 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.