Skip to main content

ai-starter-kit

PyPI

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

ai_starter_kit-0.6.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_starter_kit-0.6.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

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

Hashes for ai_starter_kit-0.6.0.tar.gz
Algorithm Hash digest
SHA256 6510010f390edcd72557138c6ad8753cc8e992d7ddcf50bdf3ccdc97d785f7b2
MD5 1478d488dbab23471aa5c4beb801a8c1
BLAKE2b-256 5b9d85d989467d0f0c3c9fe3b5af0fceaa8f01505bdce6354ae261a5d6df6271

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_starter_kit-0.6.0.tar.gz:

Publisher: release.yml on mikovilla/ai-starter-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ai_starter_kit-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c052497644fe71d40d78569861bdfb42fd533b2295cb1c467312f5062aa24b
MD5 9e1d80f50949ffb3836c02176962b7f5
BLAKE2b-256 03b2ae7939680590dce9ce73bbe044c38740e47c0d3fc2e75f54eed823273d33

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page