ai-starter-kit
Importable boilerplate for machine learning / deep learning projects — reusable code wrapped around common libraries (like NLTK and spaCy) so you don't have to rewrite the same setup every time. Install it, import what you need.
Install
pip install ai-starter-kit
Some modules need extra dependencies beyond the core install — see each module's own README, linked below, for what's required and how to install it.
Available modules
| Module | Description |
|---|---|
ask.text |
NLP preprocessing and description: TextProcessor chains lowercasing, noise/punctuation removal, tokenization, stopword removal, stemming, and lemmatization via NLTK. SocialTextPreprocessor extends it for noisy, code-switched (Filipino/English) social-media text — URLs/@mentions/#hashtags, emoji, letter elongation, leetspeak, irregular casing. PosAnalyzer (spaCy), NgramModel (NLTK), and CodeSwitchAnalyzer (NLTK) describe text instead of transforming it — POS tagging, morphology, N-gram modeling, and code-switching ratios as pandas DataFrames. |
ask.image |
Synthetic grayscale test-image generation: SyntheticImageGenerator builds a reproducible six-image complexity gradient (flat, sharp-edged, smooth, textured, noisy, mixed) plus an FFT/DWT localization pair, one image at a time or all at once, from fully configurable recipes. |
More modules will be added as the project grows.
Development
To set up a local environment for running the test suite:
# Windows
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap.ps1
# macOS/Linux
./scripts/bootstrap.sh
This creates a .venv, installs the package in editable mode, and pulls in dev/test dependencies (nltk, pytest). Then activate it and run the tests:
# Windows
. .\.venv\Scripts\Activate.ps1
pytest -v
# macOS/Linux
source .venv/bin/activate
pytest -v
Contributing
New modules are welcome. Add a package under src/ask/<name>/, cover it with tests and its own README.md, then open a PR.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_starter_kit-0.6.0.tar.gz.
File metadata
- Download URL: ai_starter_kit-0.6.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6510010f390edcd72557138c6ad8753cc8e992d7ddcf50bdf3ccdc97d785f7b2
|
|
| MD5 |
1478d488dbab23471aa5c4beb801a8c1
|
|
| BLAKE2b-256 |
5b9d85d989467d0f0c3c9fe3b5af0fceaa8f01505bdce6354ae261a5d6df6271
|
Provenance
The following attestation bundles were made for ai_starter_kit-0.6.0.tar.gz:
Publisher:
release.yml on mikovilla/ai-starter-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_starter_kit-0.6.0.tar.gz -
Subject digest:
6510010f390edcd72557138c6ad8753cc8e992d7ddcf50bdf3ccdc97d785f7b2 - Sigstore transparency entry: 2485413152
- Sigstore integration time:
-
Permalink:
mikovilla/ai-starter-kit@c652743bd11fbee073f50be44e74d6ae766f0aa9 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/mikovilla
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c652743bd11fbee073f50be44e74d6ae766f0aa9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_starter_kit-0.6.0-py3-none-any.whl.
File metadata
- Download URL: ai_starter_kit-0.6.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4c052497644fe71d40d78569861bdfb42fd533b2295cb1c467312f5062aa24b
|
|
| MD5 |
9e1d80f50949ffb3836c02176962b7f5
|
|
| BLAKE2b-256 |
03b2ae7939680590dce9ce73bbe044c38740e47c0d3fc2e75f54eed823273d33
|
Provenance
The following attestation bundles were made for ai_starter_kit-0.6.0-py3-none-any.whl:
Publisher:
release.yml on mikovilla/ai-starter-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_starter_kit-0.6.0-py3-none-any.whl -
Subject digest:
c4c052497644fe71d40d78569861bdfb42fd533b2295cb1c467312f5062aa24b - Sigstore transparency entry: 2485413170
- Sigstore integration time:
-
Permalink:
mikovilla/ai-starter-kit@c652743bd11fbee073f50be44e74d6ae766f0aa9 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/mikovilla
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c652743bd11fbee073f50be44e74d6ae766f0aa9 -
Trigger Event:
push
-
Statement type: