Ecosyste.ms: Awesome

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

https://github.com/sunhailin-Leo/fastapi_profiler

A FastAPI Middleware of joerick/pyinstrument to check your service performance.
https://github.com/sunhailin-Leo/fastapi_profiler

Last synced: 2 months ago
JSON representation

A FastAPI Middleware of joerick/pyinstrument to check your service performance.

Lists

README

        

fastapi_profiler



A FastAPI Middleware of joerick/pyinstrument to check your service performance.




Codecov


Package version


PyPI - Python Version



PyPI - Format


Contributions welcome


License

## πŸ“£ Info

A FastAPI Middleware of pyinstrument to check your service code performance. Maybe is the best profiler of FastAPI extension.

## πŸ”° Installation

**Use pip**
```shell
$ pip install fastapi_profiler -U
```

## πŸ“ Example

Jump to example folder.[Example](https://github.com/sunhailin-Leo/fastapi_profiler/blob/main/example/fastapi_example.py)

## ⛏ Test the Code

### Integration Test

Use [Travis CI](https://travis-ci.org/) and [AppVeyor](https://ci.appveyor.com/) continuously integrated environmen.

### Code Style

Use [flake8](http://flake8.pycqa.org/en/latest/index.html) and [Codecov](https://codecov.io/) to improve the code quality.

## πŸ’‘ Author

* [@sunhailin-Leo](https://github.com/sunhailin-Leo)

## πŸ“ƒ License

MIT [Β©sunhailin-Leo](https://github.com/sunhailin-Leo)