adpkg

A package containing Python mo...
Log | Files | Refs | README | LICENSE

commit ac0b68f991db1ca245fea0cdc04fb1183783a32d
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Sun, 17 Aug 2025 19:27:52 +0530

Initial commit

Diffstat:
A.gitattributes | 2++
ALICENSE | 21+++++++++++++++++++++
AREADME.md | 2++
3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/.gitattributes b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/LICENSE b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Amit Dutta + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md @@ -0,0 +1,2 @@ +# adpkg +An adpkg package containing several Python modules for performing a variety of mathematical, statistical, and data manipulation tasks. The modules cover areas such as financial calculations, geometry, number theory, combinatorics, matrix operations, and string manipulation. Key Features: adcustom.py: A versatile module with functions for checking prime numbers, calculating factorials, permutations, and combinations, reversing strings, and performing matrix operations like addition, multiplication, and transposition. It also includes functions for calculating the mean, median, and mode of a dataset. finance.py: This module features a compound interest calculator that supports various time duration formats (e.g., "5y6m", "15m", "5y"). triangle.py: A geometry module that calculates the area of a triangle using Heron's formula based on the lengths of its three sides. It also validates the triangle inequality theorem to ensure the sides form a valid triangle. Usage: The package is designed for easy integration into projects requiring these specific functionalities. Each function includes docstrings explaining its purpose, arguments, and return values, ensuring clarity and ease of use. The modules are structured to handle common input errors gracefully, providing informative error messages to the user.
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror