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)
    .reset_from_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.2.1.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.2.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_starter_kit-0.2.1.tar.gz.

File metadata

  • Download URL: ai_starter_kit-0.2.1.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.2.1.tar.gz
Algorithm Hash digest
SHA256 43883dbec773e06635211a8adc92d65f73e79b4f66a2ec0722c2cee6d2cefdfd
MD5 b8eb47487406408e7b24b995ffee65ca
BLAKE2b-256 cf19dfd994fa7a83240500be33f0b5a08bc3edbd7b981a2721b120e237e2eb23

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_starter_kit-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: ai_starter_kit-0.2.1-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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b661cf2a9f8d913c8ca7ede98fc5a31afb99cb83dfdbd37f75db7f0d249d4d04
MD5 810605d85d9b8f3345984350d222257c
BLAKE2b-256 9047957553967f3e5db7950a5ac40bdcf76687e14b16d8ea3ca64a4befb1cda8

See more details on using hashes here.

Provenance

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