Giter Site home page Giter Site logo

net-salary-calculator's Introduction

title colorFrom colorTo emoji sdk app_file pinned
Net Salary Calculate
green
green
๐Ÿ’ต๐Ÿค‘๐Ÿซฐ
streamlit
app.py
false

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:

    pip install -r requirements.txt

C. Running the Application

  • Using default values:

    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:

    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:
    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

TODO

  • RestAPI server
  • Streamlit application
  • workflow to deploy in hugging face

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 file for details.

net-salary-calculator's People

Contributors

mattoofahad avatar

Stargazers

MUHAMMAD AHMAD USAMA avatar Tashanam Shahbaz avatar Obed avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.