Skip to main content

🧰 chiranjeev-toolkit

A tiny, dependency-free Python toolkit — math, text & statistics helpers with a beautiful terminal UI.

python license deps

Made by Chiranjeev · Roll No. 2432709


✨ Features

Module What it gives you
ctoolkit.mathx is_prime, primes_upto, prime_factors, fibonacci, factorial, gcd, lcm, collatz_steps
ctoolkit.textx word_count, vowel_count, is_palindrome, reverse_words, caesar, slugify
ctoolkit.stats mean, median, mode, variance, std_dev, describe
ctoolkit.display box, table, banner, paint — ANSI colours that respect NO_COLOR

📦 Installation

pip install chiranjeev-toolkit
# or from source
pip install .

🚀 Quick start

import ctoolkit as ct

ct.is_prime(97)                  # True
ct.prime_factors(360)            # [2, 2, 2, 3, 3, 5]
ct.fibonacci(8)                  # [0, 1, 1, 2, 3, 5, 8, 13]
ct.caesar("Hello", 3)            # 'Khoor'
ct.describe([2, 4, 4, 4, 5, 5, 7, 9])["std_dev"]   # 2.0

🖥️ Command line

ctoolkit info                  # banner + author details
ctoolkit prime 97              # primality + factorisation
ctoolkit fib 10                # first 10 Fibonacci numbers
ctoolkit primes 50             # all primes up to 50
ctoolkit stats 2 4 4 4 5 5 7 9 # descriptive statistics table
ctoolkit text "Never odd or even"

(python -m ctoolkit ... works too.)

🧪 Run the tests

python -m unittest discover -s tests

📤 Publishing to PyPI

pip install build twine
python -m build
twine upload dist/*

📄 License

MIT © 2026 Chiranjeev (Roll No. 2432709)

Metadata

Release files for chiranjeev-toolkit 1.0.0

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

Source distribution (sdist)

Source distribution for chiranjeev-toolkit 1.0.0
File Size Uploaded Provenance
chiranjeev_toolkit-1.0.0.tar.gz 8.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chiranjeev-toolkit 1.0.0
File Interpreter ABI Platform
chiranjeev_toolkit-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / chiranjeev_toolkit-1.0.0.tar.gz

Download URL chiranjeev_toolkit-1.0.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b4c3b76021065dfed0a802b534f4edbfcb8a01f230bea6fb93da29d4fd6989ff
BLAKE2b-256 checksum
How to use checksums
fc16fa3611903effa3565d84349e183705becde7ff91b0ada5d061298309d9dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / chiranjeev_toolkit-1.0.0-py3-none-any.whl

Download URL chiranjeev_toolkit-1.0.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b86d450b2100c196566c7b21531d680461da6d7a96c87764c9acbaf28f1eb42
BLAKE2b-256 checksum
How to use checksums
5359d95db80f64619687b932994f689a9ca099ab97b7e41c68003afccf87a4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for chiranjeev-toolkit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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