Profyle, a development tool for analysing and managing profile statistics
Project description
Profyle
Development tool for analysing and managing profile statistics
Installation
$ pip install profyle
---> 100%
Example
FastApi
Implement
- Implement the middleware:
from fastapi import FastAPI
from profyle.middleware.fastapi import ProfileMiddleware
app = FastAPI()
app.add_middleware(ProfileMiddleware)
@app.get("/items/{item_id}")
async def read_item(item_id: int):
return {"item_id": item_id}
Run
- Run the web server:
$ profyle start
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [28720]
INFO: Started server process [28722]
INFO: Waiting for application startup.
INFO: Application startup complete.
Search
- Search all requests tracing and click on it:
Analyses
- Analyses a request profile:
Flask
... coming soon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
profyle-0.0.2.tar.gz
(529.5 kB
view details)
Built Distribution
profyle-0.0.2-py3-none-any.whl
(538.9 kB
view details)
File details
Details for the file profyle-0.0.2.tar.gz
.
File metadata
- Download URL: profyle-0.0.2.tar.gz
- Upload date:
- Size: 529.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49fbc8afe4f64df332a6a034dabc29bedcbd2c80a94cc64978d21a3ffebe414 |
|
MD5 | e048a579d38b96a3846ad561d44fd2b5 |
|
BLAKE2b-256 | cd6ecfb118eddc0274af2cb23c83bd147d1a59120449255510b6dee6028a8d39 |
Provenance
File details
Details for the file profyle-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: profyle-0.0.2-py3-none-any.whl
- Upload date:
- Size: 538.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f78f958a24e7f18e7dedefbdf3380370af0b23b5e691703dad2a2905cf0f9d |
|
MD5 | 68bc06f04f5a71907c3020b4e053bd00 |
|
BLAKE2b-256 | c3252804c1d2b54e54076a1614f764011ee9154b5d4a1cfef3f79814873d18d0 |