File size: 1,939 Bytes
73c78bc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Salary Calculator

This Salary Calculator is a Python-based command-line tool designed to help users determine the additional amount needed on top of their desired salary to account for taxes. It takes into consideration factors such as current salary, desired increment, daily travel costs, and the number of physical workdays per week.

## Getting Started

### A. Prerequisites

- Conda environment manager
- Python version 3.11

### B. Setting Up the Environment

1. **Create and activate a Conda environment**:
   - Create: `conda create -n salary_calc_env python=3.11 -y`
   - Activate: `conda activate salary_calc_env`
   - **Note**: You can replace `salary_calc_env` with your preferred environment name.

2. **Install required packages**: 
   ```bash
   pip install -r requirements.txt
   ```

### C. Running the Application

- Using default values:
  ```bash
  python salary_calculator.py 90000
  ```
  This uses default values of `desired_increment_percentage=0.3`, `daily_cost_of_travel=1500`, and `physical_days_per_week=5`.

- Using custom values:
  ```bash
  python salary_calculator.py 220000 --desired-increment-percentage 0.10 --daily-cost-of-travel 2000 --physical-days-per-week 3
  ```
F
- For help and to see all available options:
  ```bash
  python salary_calculator.py --help
  ```

## Features

- Calculates the additional amount needed to achieve the desired net salary after tax deductions
- Considers factors like current salary, desired increment, daily travel costs, and work schedule
- Provides a detailed breakdown of the calculation results
- Offers flexibility to use default values or specify custom inputs

## Contributing

Feel free to fork this project and submit pull requests with any enhancements or bug fixes. For major changes, please open an issue first to discuss the proposed changes.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.