Skip to main content

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

ai_starter_kit-0.3.0.tar.gz (4.9 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.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for ai_starter_kit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0db4dabbd4264371bc5f4d0f5e5d2903c20a54d00e09b1ea654ee5caf3001b4c
MD5 5f5aeafd04c3f734da4a9bbbe4246e5a
BLAKE2b-256 f62bf49ab9fa899f59f61e96dc72a6a975f42b92ddfe4aba6856205d2f76d728

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_starter_kit-0.3.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.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

Hashes for ai_starter_kit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1203bf598a03801cfcf5a6c737bf2f2064e5291780bce3537ad41921193663b6
MD5 06e55302f7ae99a5c5ea08b84769244e
BLAKE2b-256 12b4c1f420fba9e243e380624dc2aef064fd8a38fea797c9d2029877043046db

See more details on using hashes here.

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

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page