| Name | Calculator-martynara JSON |
| Version |
0.0.2
JSON |
| download |
| home_page | |
| Summary | Calculator |
| upload_time | 2023-10-11 10:47:08 |
| maintainer | |
| docs_url | None |
| author | |
| requires_python | >=3.7 |
| license | |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# mrasta-DWWP.1
# Introduction
Welcome to the "Calculator_martynara" Python package!
The "Calculator_martynara" package provides a versatile and easy-to-use calculator
class capable of performing various arithmetic operations and maintaining a memory value.
Whether you need to perform addition, subtraction, multiplication, division, or
even calculate roots, this package has you covered.
# Description
The "Calculator_martynara" Python package introduces a powerful and user-friendly
calculator class designed to simplify arithmetic calculations and memory management.
With this package, you can effortlessly perform a wide range of operations and
maintain a memory value for convenient recall and reuse.
## Features
- Addition (calculator.add(number)) - add the number to the memory value
- Subtraction (calculator.subtract(number))- subtract the number from the memory value
- Multiplication (calculator.multiply(number)) - multiply the memory value by a number
- Division (calculator.divide(number))- divide the memory value by a number
- Root (calculator.root(power))- calculate the root of a number with a specified power
- Reset (calculator.reset())- reset the memory value to 0
## Instructions
# Instalation
You can easily install this package using pip:
pip install Calculator-martynara==0.0.1
# Usage
Firstly - import the Calculator class to perform calculations:
from Calculator_martynara.calculator_martynara import Calculator
# Create a calculator instance
calculator = Calculator()
# Example usage:
calculator.add(5)
# Examples
Examples demonstrating how to use the Calculator class and its methods.
from Calculator_martynara.calculator_martynara import Calculator
# Create a Calculator instance
calculator = Calculator()
# Examples
# Inserts number '5' as a memory value
calculator.insert(5)
# Add number '2' to the memory value
calculator.add(2)
# Subtract number '2' from the memory value
calculator.subtract(2)
# Multiply the memory value by '3'
calculator.multiply(3)
# Divide the memory value by '4'
calculator.divide(4)
# Calculate the square root of the memory value
calculator.root(2)
# Reset the memory to 0
calculator.reset()
# Tips
- For advanced usage and detailed information on available methods,
consult the package's documentation.
- If you encounter any issues or have questions, don't hesitate to reach out to the
package's author or the community for assistance.
Make the most of the "Calculator_martynara" package to enhance your Python projects and
simplify your calculations.
Enjoy accurate results and efficient memory management with this versatile tool.
Raw data
{
"_id": null,
"home_page": "",
"name": "Calculator-martynara",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Martyna Rastauskaite <rastauskaitemartyna@gmail.com>",
"download_url": "",
"platform": null,
"description": "# mrasta-DWWP.1\n\n# Introduction\n\n Welcome to the \"Calculator_martynara\" Python package!\n\n The \"Calculator_martynara\" package provides a versatile and easy-to-use calculator \n class capable of performing various arithmetic operations and maintaining a memory value. \n Whether you need to perform addition, subtraction, multiplication, division, or \n even calculate roots, this package has you covered.\n\n# Description\n\n The \"Calculator_martynara\" Python package introduces a powerful and user-friendly \n calculator class designed to simplify arithmetic calculations and memory management. \n With this package, you can effortlessly perform a wide range of operations and \n maintain a memory value for convenient recall and reuse.\n\n## Features\n - Addition (calculator.add(number)) - add the number to the memory value\n - Subtraction (calculator.subtract(number))- subtract the number from the memory value\n - Multiplication (calculator.multiply(number)) - multiply the memory value by a number\n - Division (calculator.divide(number))- divide the memory value by a number\n - Root (calculator.root(power))- calculate the root of a number with a specified power\n - Reset (calculator.reset())- reset the memory value to 0\n\n## Instructions\n\n# Instalation\nYou can easily install this package using pip:\n pip install Calculator-martynara==0.0.1\n\n# Usage\nFirstly - import the Calculator class to perform calculations:\n \n from Calculator_martynara.calculator_martynara import Calculator\n \n # Create a calculator instance\n calculator = Calculator()\n\n # Example usage:\n calculator.add(5)\n\n# Examples\nExamples demonstrating how to use the Calculator class and its methods.\n\n from Calculator_martynara.calculator_martynara import Calculator\n\n # Create a Calculator instance\n calculator = Calculator()\n\n # Examples\n \n # Inserts number '5' as a memory value\n calculator.insert(5)\n\n # Add number '2' to the memory value\n calculator.add(2)\n\n # Subtract number '2' from the memory value\n calculator.subtract(2)\n \n # Multiply the memory value by '3'\n calculator.multiply(3)\n\n # Divide the memory value by '4'\n calculator.divide(4)\n \n # Calculate the square root of the memory value\n calculator.root(2)\n \n # Reset the memory to 0\n calculator.reset()\n\n\n# Tips\n - For advanced usage and detailed information on available methods, \n consult the package's documentation.\n - If you encounter any issues or have questions, don't hesitate to reach out to the \n package's author or the community for assistance.\n\n\nMake the most of the \"Calculator_martynara\" package to enhance your Python projects and \nsimplify your calculations. \nEnjoy accurate results and efficient memory management with this versatile tool.\n",
"bugtrack_url": null,
"license": "",
"summary": "Calculator",
"version": "0.0.2",
"project_urls": {
"Bug Tracker": "https://github.com/pypa/sampleproject/issues",
"Homepage": "https://github.com/pypa/sampleproject"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "297e21783559b02f1d71bbfb5b7e53b8ab9bb4af7e6532fea35fb2c32f49b9b6",
"md5": "bec42113e0f37c2d232f8bd9d2d342c2",
"sha256": "813f750fb0536b5c84a5be2ac28c4d4bed435cecdb9a4aa242d9b0faaaa8be40"
},
"downloads": -1,
"filename": "calculator_martynara-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bec42113e0f37c2d232f8bd9d2d342c2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3985,
"upload_time": "2023-10-11T10:47:08",
"upload_time_iso_8601": "2023-10-11T10:47:08.913673Z",
"url": "https://files.pythonhosted.org/packages/29/7e/21783559b02f1d71bbfb5b7e53b8ab9bb4af7e6532fea35fb2c32f49b9b6/calculator_martynara-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-11 10:47:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pypa",
"github_project": "sampleproject",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "calculator-martynara"
}