Skip to main content

K8Math

Generate math word problems with AI.

NOTE. Requires Anthropic API key.

Usage

Install CLI:

uv tool install k8math

Generate wit CLI:

k8math -k $ANTHROPIC_API_KEY -l english

Print help:

k8math -h

Install as a library:

uv add k8math

Import as a module:

import os
from k8math import K8Math

k8m = K8Math(
  api_key=os.environ.get("ANTHROPIC_API_KEY"),
  languages=["english"],
)
k8m.generate()

Development

Clone:

git clone https://gitlab.com/perritotuerto/codigo/k8math.git

Format:

uv run task format

Check:

uv run task check

Test:

uv run task test

See more tasks:

uv run task -l

Tag version:

git tag v1.0.0
git push origin tag v1.0.0

Metadata

Release files for k8math 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for k8math 0.2.1
File Size Uploaded
k8math-0.2.1.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for k8math 0.2.1
File Interpreter ABI Platform
k8math-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / k8math-0.2.1.tar.gz

Download URL k8math-0.2.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
98e400c23a1160f816e5a759178eb8d06f61b70ff90e0094d95f55fd076f89f6
BLAKE2b-256 checksum
How to use checksums
f67ca4324125f35fa991ebf371608ccba4d6219e6d11687f9abb30ea8162d5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / k8math-0.2.1-py3-none-any.whl

Download URL k8math-0.2.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1c1442f7a3245fd4b6a5ee3809b8cbfeb36e4b4b33b9436f1e6a9ffe7501139
BLAKE2b-256 checksum
How to use checksums
04512e2ad24005260ae8b56f608d1512fc01376e961430b65fd931df3e66bcaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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