Ai Package Wrapper
This is a wrapper package for multiple ai tools
It contains 4 total modules:
- OCR Module
- Augmentation Module
- Sentiment Analysis Module
- Explainable AI Module
OCR MODULE (made by @Madhavseekri)
This is a simple and efficient OCR (Optical Character Recognition) module written in Python. It allows you to extract text from images using pytesseract and Pillow.
What It Does
- Extracts readable text from image files.
- Supports PNG, JPEG, and other image formats.
- Can be extended for use in document scanning, data entry automation, and AI projects.
How It Works
- extract_text(image_path)
Opens an image file and extracts text from it using pytesseract. Returns the extracted text.
Augmentation Module (made by @Ayushi-000)
augmentation is a Python package built for learning how to deploy real-world Python projects using Pip and Poetry. It includes simple examples of data augmentation for image, text, and audio files.
This package was created and deployed as part of a Prodigal's first task on Python package deployment using *Poetry, **PyPI, **GitHub, and *CI/CD pipelines.
How It Works
- init()
Sets up three augmentation pipelines:
Audio Augmentation: Applies Gaussian noise, time stretching, and pitch shifting.
Image Augmentation: Uses horizontal flipping, random brightness/contrast, and rotation.
Text Augmentation: Performs synonym replacement using nlpaug.
- augment_audio(input_path, output_path)
Reads an audio file, applies the audio augmentation pipeline, writes the augmented audio to a file, and returns the output path.
- augment_image(input_path, output_path)
Loads an image, applies image augmentation, writes the augmented image back to disk, and returns the output path.
- augment_text(text)
Processes a given text string through the text augmentation pipeline and returns the augmented text (a list of augmented strings).
Sentiment Analyzer (made by @abhay-cerberus)
A simple sentiment analysis package that leverages TextBlob to determine whether a piece of text expresses positive, negative, or neutral sentiment. It provides an easy-to-use interface for analyzing both single texts and batches of texts.
How It Works
- analyze_text(text)
Processes a single text string by converting it to lowercase, calculating its sentiment polarity using TextBlob, and returning a sentiment label ("positive", "negative", or "neutral").
- analyze_batch(texts)
Takes a list of text strings, analyzes each one using analyze_text, and then returns both the raw counts and percentages for each sentiment category.
ExplainableAi (made by @priyanshibindal)
How It Works
- explain_model(model, data, method='shap')
Loads a pre-saved model and dataset (from churn_model.pkl), creates a SHAP explainer for the model, and generates visual explanations:
Produces a waterfall plot for the first prediction.
Produces a beeswarm plot summarizing feature importance.
Metadata
Release files for aipackagewrapper 1.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 |
|---|---|---|---|---|
| aipackagewrapper-1.0.0.tar.gz | 4.4 kB | With provenance | Details for aipackagewrapper-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aipackagewrapper-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for aipackagewrapper-1.0.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / aipackagewrapper-1.0.0.tar.gz
| Download URL | aipackagewrapper-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f60a18dd85d061f5474d83a39042539c5c88547b0c9bade306b8c309ac336540
|
|
BLAKE2b-256 checksum How to use checksums |
809d4f912d966d6d1def1484ac14fbec4a508147c0ece89fc42c06d0120b68b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2025.
Transparency logRelease files / aipackagewrapper-1.0.0-py3-none-any.whl
| Download URL | aipackagewrapper-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2841d377265af71e29029d6a1df29a08e610e07423332bf0eb0b382aab06d657
|
|
BLAKE2b-256 checksum How to use checksums |
a46e2ab4f84d5f9b980570c03de32c58aa7f547845e3cbf1b03ed25e2c32776e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2025.
Transparency logSecurity for aipackagewrapper 1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for aipackagewrapper-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2025.
Transparency logA 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.