Data Tools Package
A comprehensive library for data preprocessing in AI development, focusing on scalability, usability, and modular design.
Features
Features
- Data Loading: Efficiently load datasets in various formats.
- Data Cleaning: Handle missing values, outliers, and duplicates.
- Feature Engineering: Create new features using advanced techniques.
- Categorical Processing: One-hot and label encoding for categorical variables.
- Scaling: Normalize and standardize numerical features.
- Outlier Handling: Detect and remove outliers using IQR.
- Text Processing: Clean, tokenize, and vectorize text data.
- Time Series Processing: Create time-based features and resample data.
- Image Processing: Load, resize, normalize, and convert images.
- Image Augmentation: Apply transformations to increase the diversity of your training dataset.
usage
from dataprocessor import DataLoader, DataCleaner, FeatureEngineer, ImageProcessor, ImageAugmenter
# Example usage of the package
loader = DataLoader()
data = loader.load_csv("data.csv")
cleaner = DataCleaner()
cleaned_data = cleaner.clean(data)
# Image processing example
image = ImageProcessor.load_image("path/to/image.jpg")
resized_image = ImageProcessor.resize_image(image, (224, 224))
normalized_image = ImageProcessor.normalize_image(resized_image)
# Image augmentation example
augmented_image = ImageAugmenter.augment_image(normalized_image)
testing
poetry run pytest
TODO:
- Fix file structure
Package
- configure pypi credentials if not already done
poetry config pypi-token.pypi <your-api-token>
- publish the package
poetry publish --build
- make also sure you add token to secrets under your repo settings in github
I think that the version should be updated manually, because now it updates the patch every commit.
Metadata
Release files for dataprocessor_vb 0.1.1
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 |
|---|---|---|---|---|
| dataprocessor_vb-0.1.1.tar.gz | 6.2 kB | Without provenance | Details for dataprocessor_vb-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataprocessor_vb-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for dataprocessor_vb-0.1.1-py3-none-any.whl |
Total release size: 14.8 kB
Release files / dataprocessor_vb-0.1.1.tar.gz
| Download URL | dataprocessor_vb-0.1.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71dd0a4153563127babbd5438a25470b0826a66673ec6861270a8212eab93da4
|
|
BLAKE2b-256 checksum How to use checksums |
d604df2534725b5491e62ce09ca4b1b8fc6a0a3ee3ec461e327db7093943ba8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure
|
Release files / dataprocessor_vb-0.1.1-py3-none-any.whl
| Download URL | dataprocessor_vb-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12b311487a80c0f71547d53acb46be8eb86440beb4a6cb34ed3a527921e57cec
|
|
BLAKE2b-256 checksum How to use checksums |
838e52e682e0d0c10ca971efea3503c80034c30cbcbad9bebc6d8011e265a86a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure
|
Security for dataprocessor_vb 0.1.1
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.