Importable modules for learning machine learning and deep learning.
Project description
ai-starter-kit
Importable modules for learning and starting machine learning / deep learning projects. Install it, import what you need.
Install
pip install ai-starter-kit
Available modules
| Module | Description |
|---|---|
ask.text |
Chains common NLP preprocessing steps (noise/punctuation removal, tokenization, stopword removal, stemming, lemmatization) behind a fluent TextProcessor API using NLTK. |
More modules will be added as the project grows.
Text Processing
from ask.text import TextProcessor, PartOfSpeech
processor = (
TextProcessor(["Running, runners ran quickly through the running trails."])
.to_lowercase()
.remove_noise()
.remove_punctuation()
.tokenize()
.remove_stopwords()
.lemmatize(pos=PartOfSpeech.Verb)
)
print(processor.tokens)
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, then open a PR.
License
MIT
Project details
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.3.0.tar.gz.
File metadata
- Download URL: ai_starter_kit-0.3.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0db4dabbd4264371bc5f4d0f5e5d2903c20a54d00e09b1ea654ee5caf3001b4c
|
|
| MD5 |
5f5aeafd04c3f734da4a9bbbe4246e5a
|
|
| BLAKE2b-256 |
f62bf49ab9fa899f59f61e96dc72a6a975f42b92ddfe4aba6856205d2f76d728
|
Provenance
The following attestation bundles were made for ai_starter_kit-0.3.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.3.0.tar.gz -
Subject digest:
0db4dabbd4264371bc5f4d0f5e5d2903c20a54d00e09b1ea654ee5caf3001b4c - Sigstore transparency entry: 2208722311
- Sigstore integration time:
-
Permalink:
mikovilla/ai-starter-kit@bbe0dbbdd98a7a3f980d0cac8a020b1cdb98661b -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/mikovilla
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bbe0dbbdd98a7a3f980d0cac8a020b1cdb98661b -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_starter_kit-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ai_starter_kit-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1203bf598a03801cfcf5a6c737bf2f2064e5291780bce3537ad41921193663b6
|
|
| MD5 |
06e55302f7ae99a5c5ea08b84769244e
|
|
| BLAKE2b-256 |
12b4c1f420fba9e243e380624dc2aef064fd8a38fea797c9d2029877043046db
|
Provenance
The following attestation bundles were made for ai_starter_kit-0.3.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.3.0-py3-none-any.whl -
Subject digest:
1203bf598a03801cfcf5a6c737bf2f2064e5291780bce3537ad41921193663b6 - Sigstore transparency entry: 2208722357
- Sigstore integration time:
-
Permalink:
mikovilla/ai-starter-kit@bbe0dbbdd98a7a3f980d0cac8a020b1cdb98661b -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/mikovilla
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bbe0dbbdd98a7a3f980d0cac8a020b1cdb98661b -
Trigger Event:
push
-
Statement type: