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.0.tar.gz (4.8 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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_starter_kit-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 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.0.tar.gz
Algorithm Hash digest
SHA256 c3f05478d7622f97ff7761fee9e217c918e69e917258570ee349760106f8c935
MD5 6b7f0ad8fb4d9f635716cbc89dd39ef7
BLAKE2b-256 2c12ae6f6a5f3c2506f64d3ca7fda02181d2353eb69eddea91f8abc2e952bd5f

See more details on using hashes here.

Provenance

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

Publisher: publish.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.0-py3-none-any.whl.

File metadata

  • Download URL: ai_starter_kit-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e60b66ad56561aee5b7906991bfe3fe46572b75966b93de0ef0e87f941ca631e
MD5 c8a4f049b47ef0f7c51c9511bec40aa5
BLAKE2b-256 ae998efae5475e6c7f62a4db7f90a52541c62674529e66361e80b0829dfbb27b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_starter_kit-0.2.0-py3-none-any.whl:

Publisher: publish.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