# adcustom
A custom Python module developed by Amit Dutta, providing a collection of useful mathematical, string, and matrix manipulation functions.
## Installation
You can install `adcustom` using pip:
```bash
pip install adcustom
```
# Usage
Here's how you can use the functions in the adcustom module:
```bash
import adcustom as c
## Example: Addition
result = c.add(5, 3)
print(f"5 + 3 = {result}")
## Example: Check Prime
is_prime = c.check_prime(17)
print(f"Is 17 prime? {is_prime}")
## Example: Matrix Addition
matrix1 = [[1, 2], [3, 4]]
matrix2 = [[5, 6], [7, 8]]
sum_matrix = c.matrix_addition(matrix1, matrix2)
print("Matrix Sum:\n", sum_matrix)
## Get help on the module
help_info = c.help()
print(help_info)
```
# Available Functions :
```bash
check_prime(num): Checks if an integer is prime.
factorial(num): Calculates the factorial of a non-negative integer.
permutation(total, chosen): Calculates permutations.
combination(total, chosen): Calculates combinations.
string_reverse(text): Reverses a string.
matrix_addition(mat1, mat2): Adds two matrices.
matrix_multiplication(mat1, mat2): Multiplies two matrices.
matrix_transpose(mat): Transposes a matrix.
determinant_value(mat): Calculates the determinant of a square matrix (1x1, 2x2, 3x3).
mean(data_list): Calculates the mean of a list of numbers.
median(data_list): Calculates the median of a list of numbers.
mode(data_list): Calculates the mode(s) and their frequency.
help(): Provides detailed help about the module and its functions.
```
## Developed by Amit Dutta.
## Thank you for using this module!
Raw data
{
"_id": null,
"home_page": null,
"name": "adcustom",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "mathematics, matrix, string, utility, prime, factorial, permutation, combination, mean, median, mode",
"author": null,
"author_email": "Amit Dutta <amitdutta4255@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/3d/26/2f7bf09bbbb64e38a5304e1f0d7a47b67c3f64143bd51cb3694b9ce4cd51/adcustom-0.0.4.tar.gz",
"platform": null,
"description": "# adcustom\r\n\r\nA custom Python module developed by Amit Dutta, providing a collection of useful mathematical, string, and matrix manipulation functions.\r\n\r\n## Installation\r\n\r\nYou can install `adcustom` using pip:\r\n\r\n```bash\r\npip install adcustom\r\n```\r\n\r\n# Usage\r\nHere's how you can use the functions in the adcustom module:\r\n\r\n```bash\r\nimport adcustom as c\r\n\r\n## Example: Addition\r\nresult = c.add(5, 3)\r\nprint(f\"5 + 3 = {result}\")\r\n\r\n## Example: Check Prime\r\nis_prime = c.check_prime(17)\r\nprint(f\"Is 17 prime? {is_prime}\")\r\n\r\n## Example: Matrix Addition\r\nmatrix1 = [[1, 2], [3, 4]]\r\nmatrix2 = [[5, 6], [7, 8]]\r\nsum_matrix = c.matrix_addition(matrix1, matrix2)\r\nprint(\"Matrix Sum:\\n\", sum_matrix)\r\n\r\n## Get help on the module\r\nhelp_info = c.help()\r\nprint(help_info)\r\n```\r\n\r\n# Available Functions : \r\n\r\n```bash\r\ncheck_prime(num): Checks if an integer is prime.\r\nfactorial(num): Calculates the factorial of a non-negative integer.\r\npermutation(total, chosen): Calculates permutations.\r\ncombination(total, chosen): Calculates combinations.\r\nstring_reverse(text): Reverses a string.\r\nmatrix_addition(mat1, mat2): Adds two matrices.\r\nmatrix_multiplication(mat1, mat2): Multiplies two matrices.\r\nmatrix_transpose(mat): Transposes a matrix.\r\ndeterminant_value(mat): Calculates the determinant of a square matrix (1x1, 2x2, 3x3).\r\nmean(data_list): Calculates the mean of a list of numbers.\r\nmedian(data_list): Calculates the median of a list of numbers.\r\nmode(data_list): Calculates the mode(s) and their frequency.\r\nhelp(): Provides detailed help about the module and its functions.\r\n```\r\n\r\n## Developed by Amit Dutta.\r\n## Thank you for using this module!\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A custom Python module containing various mathematical, string, and matrix operations.",
"version": "0.0.4",
"project_urls": {
"Github": "https://github.com/notamitgamer"
},
"split_keywords": [
"mathematics",
" matrix",
" string",
" utility",
" prime",
" factorial",
" permutation",
" combination",
" mean",
" median",
" mode"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d37c660bed77e8c1246193738df6c0148debf9b170ac3ee33d47d58c6c605b2d",
"md5": "11802ccde7c9ddd71aa46cb75d4d3d3c",
"sha256": "9b6493ea2a7ed4a74256919d6e6130e646d32dc02097071a935044d2cd47f3ff"
},
"downloads": -1,
"filename": "adcustom-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11802ccde7c9ddd71aa46cb75d4d3d3c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7746,
"upload_time": "2025-07-26T05:52:11",
"upload_time_iso_8601": "2025-07-26T05:52:11.889215Z",
"url": "https://files.pythonhosted.org/packages/d3/7c/660bed77e8c1246193738df6c0148debf9b170ac3ee33d47d58c6c605b2d/adcustom-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3d262f7bf09bbbb64e38a5304e1f0d7a47b67c3f64143bd51cb3694b9ce4cd51",
"md5": "731792b21574e958662ade3e4e64aea0",
"sha256": "6eb786be544fdc90029414eb6a84fc283a2bb26bf6aa464e792a50042b1d5621"
},
"downloads": -1,
"filename": "adcustom-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "731792b21574e958662ade3e4e64aea0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 8206,
"upload_time": "2025-07-26T05:52:13",
"upload_time_iso_8601": "2025-07-26T05:52:13.059033Z",
"url": "https://files.pythonhosted.org/packages/3d/26/2f7bf09bbbb64e38a5304e1f0d7a47b67c3f64143bd51cb3694b9ce4cd51/adcustom-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-26 05:52:13",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "adcustom"
}