Skip to content

Releases: punitarani/fli

v0.7.0

23 Dec 05:56
6c53304

Choose a tag to compare

  • Enhance MCP Server Functionality and CLI Improvements

This commit introduces significant updates to the MCP server and CLI for flight search:

  • MCP Server Enhancements:

    • Added search_dates tool for finding cheapest travel dates.
    • Improved parameter handling in FlightSearchParams and DateSearchParams for better clarity and usability.
    • Refactored server to streamline request handling and improve error messaging.
  • CLI Updates:

    • Updated command options to reflect new parameter names and improve user experience.
    • Enhanced validation and parsing utilities for better error handling.
    • Improved documentation and examples for MCP server integration.
  • Core Utilities:

    • Introduced shared parsing and building utilities to reduce code duplication between CLI and MCP.

These changes aim to enhance the overall functionality and user experience of the flight search tools.

  • Refactor CLI Commands and Enhance Flight Search Functionality

This commit updates the CLI commands for flight searches, replacing the previous search and cheap commands with flights and dates. Key changes include:

  • CLI Command Updates:

    • Renamed commands to better reflect their functionality.
    • Updated documentation and examples to align with new command names.
  • New Command Implementations:

    • Introduced dates.py for searching the cheapest travel dates.
    • Implemented flights.py for searching specific flights with enhanced filtering options.
  • Testing Enhancements:

    • Added comprehensive tests for both new commands to ensure functionality and reliability.

These changes aim to improve user experience and streamline the flight search process.

  • Bump Package Version to 0.7.0

  • Format

  • Add plotext dependency and integrate sparkline chart in date results display

This commit introduces the plotext library as a new dependency for rendering sparkline charts. The display_date_results function is updated to visualize price trends over dates using a sparkline chart, enhancing the user experience by providing a graphical representation of data alongside the existing table format. The chart includes proper labeling and formatting for clarity.

  • Add retry logic for flight search API calls

This commit introduces a new search_with_retry function that implements retry logic for the flight search API, utilizing the tenacity library. The function attempts to search for flights up to three times with exponential backoff if the initial search returns empty results. This enhancement aims to improve the reliability of flight search results in the face of flaky API responses.

v0.6.1

22 Dec 19:43
0db1663

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

23 Sep 16:11
a2a95c8

Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

12 Aug 17:02
0efa69e

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

24 Jan 18:46

Choose a tag to compare

Round trip search is now supported!

Full Changelog: v0.3.0...v0.4.0

v0.3.0

14 Jan 00:35
b766a35

Choose a tag to compare

  • Add support for --airlines/-a filter for fli cheap
  • Update `Update SearchDates.search() to search in chunks.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

09 Jan 18:27
fbd9e9d

Choose a tag to compare

Created Streamlit App

Full Changelog: v0.1.0...v0.2.0

v0.1.0

08 Jan 10:42
e058f9c

Choose a tag to compare

Initial Release