An open API service indexing awesome lists of open source software.

https://github.com/chicolucio/pi-approximations

Pi approximations calculated using infinite series and Monte Carlo methods
https://github.com/chicolucio/pi-approximations

calculus heroku heroku-deployment pi pi-approximation pi-calculus plotly streamlit streamlit-webapp

Last synced: 2 months ago
JSON representation

Pi approximations calculated using infinite series and Monte Carlo methods

Awesome Lists containing this project

README

          

[![author](https://img.shields.io/badge/Author-Francisco Bustamante-red.svg)](https://www.linkedin.com/in/flsbustamante/)
[![](https://img.shields.io/badge/Python-3.8+-blue.svg)](https://www.python.org/)
[![MIT license](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![contributions welcome](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg?style=flat)](https://github.com/chicolucio/pi-approximations/issues)
[![Heroku](https://img.shields.io/badge/Heroku-430098.svg?style=plastic&logo=Heroku&logoColor=white)](https://piapproximations.herokuapp.com/)
[![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B.svg?style=plastic&logo=streamlit&logoColor=white)](https://piapproximations.herokuapp.com/)

> Pi approximations calculated using infinite series and Monte Carlo methods


banner

Interactive web app:



streamlit app badge

## Installation and usage

1. clone the repo
2. create a virtual environment
3. activate the virtual environment
4. install dependencies with [`requirements.txt`](requirements.txt)
5. use the code and/or run a local Streamlit app

```bash
git clone git@github.com:chicolucio/pi-approximations.git
cd pi-approximations
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Home.py
```

These are the Python packages under the hood:

![NumPy](https://img.shields.io/badge/NumPy-%23013243.svg?style=plastic&logo=numpy&logoColor=white)
![Matplotlib](https://img.shields.io/badge/Matplotlib-3670A0.svg?style=plastic&logo=&logoColor=white)
![Plotly](https://img.shields.io/badge/Plotly-%233F4F75.svg?style=plastic&logo=plotly&logoColor=white)
![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B.svg?style=plastic&logo=streamlit&logoColor=white)

The web app is hosted on [![Heroku](https://img.shields.io/badge/Heroku-430098.svg?style=plastic&logo=Heroku&logoColor=white)](https://piapproximations.herokuapp.com/)

## Contributing

All contributions are welcome.

**Issues**

Feel free to submit issues regarding:

- recommendations
- more interactive visualizations
- enhancement requests and new useful features
- code bugs

**Pull requests**

- before starting to work on your pull request, please submit an issue first
- fork the repo
- clone the project to your own machine
- commit changes to your own branch
- push your work back up to your fork
- submit a pull request so that your changes can be reviewed

## License

MIT, see [LICENSE](LICENSE)

## Citing

If you use this project in a scientific publication or in classes, please consider citing as

> F. L. S. Bustamante, Pi approximations, 2022 - Available at: https://github.com/chicolucio/pi-approximations

## More

- [LinkedIn](https://www.linkedin.com/in/flsbustamante/)
- [Portfolio](https://franciscobustamante.com.br/portfolio)
- [Curriculum Vitae](https://franciscobustamante.com.br/about/)