Skip to content

DrMohammedhbi/FastApiExamples

Repository files navigation

FastApiExamples

This repository contains various Python scripts demonstrating different programming concepts and utilities.

Files

  • CheckPalindrome.py: Checks if a given string is a palindrome.
  • CheckPrimeNumber.py: Determines if a number is prime.
  • ConcatenateStrings.py: Demonstrates string concatenation.
  • CtoF.py: Converts Celsius to Fahrenheit.
  • FibonacciSequence.py: Generates Fibonacci sequence.
  • HelloWorld.py: A simple "Hello, World!" program.
  • ReverseString.py: Reverses a given string.
  • SquareofNumber.py: Calculates the square of a number.
  • StringLength.py: Computes the length of a string.
  • SumofTwoNumbers.py: Adds two numbers.
  • chapter03_path_parameters_01.py: Example related to FastAPI path parameters.
  • gcd.py: Calculates the Greatest Common Divisor of two numbers.

Usage

Each file is a standalone Python script. You can run them individually using Python:

  • fastapi dev .\filename.py
  • or
  • uvicorn filename:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages