SFPS - Smooth FPS
SFPS is a small and very efficient Python library which helps calculate the real-time computing frame rate with a few lines of code.
You can install from PyPI:
pip install sfps
You can import and initialize SFPS in your Python code:
from sfps import SFPS
sfps = SFPS(nframes=8, interval=1)
nframes(int,default=5) : Number of the last frames, used for averaging.interval(int,default=1) : Time interval in second.
And then you can call fps() or raw_fps() to calculate the real-time frame rate.
...
fps = sfps.fps(format_spec='.2f')
...
For usage details, please check SFPS. You can also check an example here.
Release files for sfps 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sfps-0.0.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sfps-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / sfps-0.0.1.tar.gz
| Download URL | sfps-0.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abc1bcb4eeac78022830dad0e476fba40b3bb10ac0e283a8a6af9460be4870f5
|
|
BLAKE2b-256 checksum How to use checksums |
6f246053513392525fe891288e4ff4e0a53105471d07e0800d6bd6136706116d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logRelease files / sfps-0.0.1-py3-none-any.whl
| Download URL | sfps-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db2832806964ee0597fdd159675ea0966375151d99627dd7b5e893a3a970b150
|
|
BLAKE2b-256 checksum How to use checksums |
39240e59f0daa67ba1a46ab4838a7f3df125c7d70730b32c823da589ee0e00d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency log