Metadata-Version: 2.4
Name: Sales_Manager_GVP
Version: 1.0.2
Summary: This package provides functionalities for managing sales, including price calculations, taxes, and discounts.
Home-page: https://github.com/msgu0603-code/Sales-Manager
Author: Martín Guevara Ulloa
Author-email: msgu0603@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >= 3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# Sales Manager

This package provides functionalities for managing sales, including price calculations, taxes, and discounts.

## Installation

You can install the package using:

```bash
pip install Sales-Manager-GVP

```

## Example of use

```python
from app_sales.sales_manager import SalesManager

def main():
    # Base price of the product
    base_price = 100.0

    # Tax and discount must be values between 0 and 1
    tax_percentage = 0.05      # 5% tax
    discount_percentage = 0.10 # 10% discount

    # Create a SalesManager instance
    manager = SalesManager(base_price, tax_percentage, discount_percentage)

    # Calculate the final price after tax and discount
    final_price = manager.calculate_final_price()

    # Display results
    print(f"Base price: ${base_price}")
    print(f"Tax: {tax_percentage * 100}%")
    print(f"Discount: {discount_percentage * 100}%")
    print(f"Final price: ${final_price}")

if __name__ == "__main__":
    main()

```
