Code Monkey home page Code Monkey logo

travel_cost_calculator's Introduction

Travel Cost Calculator

Introduction

The Travel Cost Calculator is a web-based application designed to help users estimate the costs associated with official travel. Utilizing the General Services Administration (GSA) per diem rates and airfare data for FY24, this tool simplifies the process of planning and budgeting for travel expenses, ensuring compliance with government travel policies.

Key Features

  • State and City Selection: Choose both origin and destination from a comprehensive list of states and cities.
  • Travel Dates and Number of Travelers: Input the duration of the trip and how many people are traveling.
  • Cost Calculation: Automatically calculates expenses for airfare, lodging, per diem, and transportation.
  • Budget Justification: Generates detailed budget justifications suitable for expense reporting and grant applications.

Built With

  • Python - Primary programming language
  • Streamlit - Framework used to create the web application
  • Pandas - Used for data manipulation and analysis

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before running the project, ensure you have the following installed:

  • Python 3.8 or higher
  • pip

Installation

  1. Clone the repository:
    git clone https://github.com/nelkalm/travel_cost_calculator.git
  2. Navigate to the project directory:
    cd travel_cost_calculator
  3. Install the required packages:
    pip install -r requirements.txt

Running the Application

Execute the following command in the project directory:

streamlit run app.py

This will start the Streamlit web server and the application will be accessible via your web browser at localhost:8501.

Usage

After launching the application, use the interface to:

  • Select the origin and destination locations.
  • Choose the travel dates.
  • Enter the number of staff traveling.
  • Click on 'Calculate Travel Costs' to view the estimated expenses.

Contributing

Contributions to enhance the functionality or efficiency of the Travel Cost Calculator are welcome. Please fork the repository and create a pull request with your features or fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • GSA Per Diem Rates
  • GSA Airfare Database
  • Streamlit Documentation

Feel free to explore the app and use it to plan your travel more effectively!

travel_cost_calculator's People

Contributors

nelkalm 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.