Welcome to IO Bytes File Validator!
Data Validator is your go-to tool for clean data ingestion and validation, seamlessly integrating IO Byte Files and validation tools like Panderas to make your data processing tasks a breeze.
Features
- Easy Data Ingestion: Select your file format (CSV or JSON) and provide a URL to a Panderas schema.
- Streamlined Validation: With just a few clicks, submit your selections and validate your data effortlessly.
io-file-validator
Installation instructions
pip install io-file-validator
Usage instructions
Step 1: Select File Format
Choose the file format you want to ingest. Whether it's CSV or JSON, io-file-validator has got you covered.
Step 2: Provide Panderas Schema URL
Enter the URL to the Panderas schema you want to use for validation. Don't worry, we support various schema sources to suit your needs.
Sample code:
from file_validator.validator import ValidatorDataframe
validator = ValidatorDataframe(
url="https://raw.githubusercontent.com/resilientinfrastructure/standards/main/panderas_schema.yml",
file_format="csv",
)
parent_path = Path(__file__).parent
sample_file_path = parent_path.resolve() / "data" / "sample_prices.csv"
with open(sample_file_path, "rb") as sample_file:
file_contents = sample_file.read()
sample_file_bytesio = BytesIO(file_contents)
yaml_content = validator.get_yaml_content(validator.url)
validated_df = validator.load_and_validate_file(my_upload=sample_file_bytesio, yaml_content=yaml_content)
Run Tests
To ensure everything is functioning smoothly, run the tests using the following commands:
Run the App
Ready to see io-file-validator in action? Simply run the following command:
Contributions
We welcome contributions from the community! If you have any ideas, bug fixes, or enhancements, feel free to submit a pull request.
Feedback
We'd love to hear your feedback! Whether you have suggestions for improvement or just want to share your experience using io-file-validator, don't hesitate to reach out.
Happy data ingesting with io-file-validator!
Feel free to customize it further to better suit your project's tone and style!
Metadata
Release files for io_file_validator 0.1.5
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 |
|---|---|---|---|---|
| io_file_validator-0.1.5.tar.gz | 3.4 kB | Without provenance | Details for io_file_validator-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| io_file_validator-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for io_file_validator-0.1.5-py3-none-any.whl |
Total release size: 7.1 kB
Release files / io_file_validator-0.1.5.tar.gz
| Download URL | io_file_validator-0.1.5.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7b7fddaf73fc24146627f37de6505d538c59ef264afd61922a0009bb7dfdc26
|
|
BLAKE2b-256 checksum How to use checksums |
4d652d08aa4f05afbd2ef5567a99cdd8f58ac50342da1106ef4fa3f486cc798b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
|
Release files / io_file_validator-0.1.5-py3-none-any.whl
| Download URL | io_file_validator-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a202802b995d0d59059619b08fb42bd6603fea42bbb734465eb0423ccf9ebcf6
|
|
BLAKE2b-256 checksum How to use checksums |
e601595c04b35646d7f2e6790198c83c970efb35dd5d6470b3fcd3e1fa981319
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
|
Security for io_file_validator 0.1.5
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.