veridian-api-python-sdk
A simple SDK to clean tabular data using Veridian's remote API. This SDK allows you to clean CSV and Excel files by calling a remote API that processes the data and returns cleaned data in JSON format.
Features
- Supports CSV and XLS/XLSX files.
- Simple and easy-to-use interface.
- Integration with our remote data cleaning API.
- Handles various data cleaning tasks such as handling missing data, outliers, normalization, and intelligent, agentic data cleaning.
Installation
You can install the Veridian package via pip:
pip install veridian
Usage
Basic Usage
Here’s a basic example of how to use the clean function provided by the cleaning_sdk package:
from veridian import clean
# Your API key
api_key = "your_api_key"
# Path to your CSV or Excel file
file_path = "path_to_your_file.csv"
# Call the clean function
result = clean(file_path, api_key)
# Print the cleaned data
print(result)
Parameters
file_path(str): The path to the CSV or Excel file you want to clean.api_key(str): Your API key for authentication.additional_param(optional): Any additional parameter that your API might require.
Response
The clean function returns a JSON object containing the cleaned data and any other relevant information provided by the API.
Error Handling
If the API call fails, the clean function raises an exception with the error message returned by the API. Make sure to handle exceptions appropriately in your code.
try:
result = clean(file_path, api_key)
print(result)
except Exception as e:
print(f"Error: {e}")
License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
Acknowledgements
Thanks to all contributors and supporters of this project.
Metadata
Release files for veridian 0.1.3
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 |
|---|---|---|---|---|
| veridian-0.1.3.tar.gz | 3.3 kB | Without provenance | Details for veridian-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| veridian-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for veridian-0.1.3-py3-none-any.whl |
Total release size: 7.0 kB
Release files / veridian-0.1.3.tar.gz
| Download URL | veridian-0.1.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64725eb301cca20834dd58cc9ce8928bccd1df23174ab8c8a5c163c8dcc920fe
|
|
BLAKE2b-256 checksum How to use checksums |
bb864192f1e63d66e2019522429dd0b1ac0d258ea5d21ec076f1a974e4e028b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / veridian-0.1.3-py3-none-any.whl
| Download URL | veridian-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ba672890294a01f19e4aa79e008c486f0e6fc0ea3eeb2cf2f763d93f4ef318f
|
|
BLAKE2b-256 checksum How to use checksums |
18b63e3b6b4a2876019b148b86b85c574eff429a2802dc334b864e67c6662219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for veridian 0.1.3
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.