Skip to content

Zier0Code/fastapi-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Calculator API with FastAPI

A lightweight calculator service that evaluates basic math expressions.

πŸš€ Features

  • Safe evaluation (supports +, -, *, /, **, sqrt, sin, log, etc.)
  • RESTful API built with FastAPI
  • Auto-generated Swagger & ReDoc docs

πŸ› οΈ Requirements

  • Python 3.8+
  • FastAPI
  • Uvicorn

πŸ“¦ Setup

pip install -r requirements.txt
uvicorn main:app --reload

or

python -m main:app --host 0.0.0.0 --port 8000 --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages