pyrformance
Linter that makes your Python code faster.
Pyrformance is a collection semgrep rules and a thin wrapper on top of semgrep CLI for a simple way of running these rules. All rules are non-opinionated and performance-focused.
Features:
- Non-opinionated. If pyrformance reports something, changing it will make your code faster. That's it. It won't tell you to change something just because it's a "pythonic", consistent, or whatever else.
- Benchmarked. For each rule, we have a true-north-powered benchmark that shows that the rule indeed makes code faster. We don't play guessing or advice something just because a random Medium article says so.
- Tested. We have tests for each rule, which is quite unusual for semgrep rules you can find in the wild.
- Never compromises readability. We do our best to not recommend any changes that would make the code less readable, even if that would be faster.
Installation
python3 -m pip install pyrformance
Usage
python3 -m pyrformance ./your_project/
License
If you use pyrformance, you should accept both licenses.
Metadata
Release files for pyrformance 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrformance-0.4.0.tar.gz | 9.4 kB | Without provenance | Details for pyrformance-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrformance-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pyrformance-0.4.0-py3-none-any.whl |
Total release size: 21.2 kB
Release files / pyrformance-0.4.0.tar.gz
| Download URL | pyrformance-0.4.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd71992dc8279a75619fbf9e959b07f0d8ec21a8d31aeec3360d634a35042073
|
|
BLAKE2b-256 checksum How to use checksums |
9bba7ee464251756b49f3fc3751bc2ae73f327c272190f40c118ece49979b609
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Release files / pyrformance-0.4.0-py3-none-any.whl
| Download URL | pyrformance-0.4.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d4d241c3db719131a4b884bc88e480479bc33e75636bf60dfa1779015cbff36
|
|
BLAKE2b-256 checksum How to use checksums |
ecf693eb3884acaa3263a254ac0c704b393fd5548d9cf9f2d6633f686ca4a78e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Security for pyrformance 0.4.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.