fastpy
Python made fast. Decorate your functions with @fast, we will infered the types you used, compile to machine code, and execute.
Free software: MIT license
Documentation: https://fastpy.readthedocs.io.
Biased test showing how fast fastpy is:
Initial code:
def long_loop(a):
for i in range(100000):
for j in range(10000):
a += 1
return a
print long_loop(0)
$ time python loop.py
1000000000
python test.py 39.24s user 0.01s system 99% cpu 39.420 total
$ time pypy loop.py
1000000000
pypy test.py 0.92s user 0.01s system 99% cpu 0.937 total
Now we modify the code to use fastpy
from fastpy import fast
@fast
def long_loop(a):
for i in range(100000):
for j in range(10000):
a += 1
return a
print long_loop(0)
$ time python loop.py
1000000000
python test.py 0.11s user 0.00s system 99% cpu 0.117 total
Credits
Based on this tutorial http://dev.stephendiehl.com/numpile/
History
0.1.0 (2016-07-09)
First release on PyPI.
Metadata
Release files for fastpy 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| fastpy-0.1.1.tar.gz | 23.0 kB | Without provenance | Details for fastpy-0.1.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastpy-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for fastpy-0.1.1-py2.py3-none-any.whl |
| fastpy-0.1.1-py2.7.egg | Legacy Egg format | - | - | Details for fastpy-0.1.1-py2.7.egg |
Total release size: 76.9 kB
Release files / fastpy-0.1.1.tar.gz
| Download URL | fastpy-0.1.1.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1322a395f6c57a22549326a20367ea96a3ac86a5dba9e616ab4cc2f962d8b43f
|
|
BLAKE2b-256 checksum How to use checksums |
ea03ec0b312506082a7b0c03de716551a359fcb936a04d1c027b673139d99173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fastpy-0.1.1-py2.py3-none-any.whl
| Download URL | fastpy-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
666b472bae4fc75dce2220dbfd3328981b006d1c19a1ed7d1961eeec5f26c06a
|
|
BLAKE2b-256 checksum How to use checksums |
bf866eff5ddeb1d143d71c1a95d7de5bf339e687484be8002837cb55a6d47257
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fastpy-0.1.1-py2.7.egg
| Download URL | fastpy-0.1.1-py2.7.egg |
|---|---|
| Size | 36.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c5fc52aa0b436a04838eab0a4fb1e1852e51baf11ae024d92d15e7ee361bb974
|
|
BLAKE2b-256 checksum How to use checksums |
f847fdbdfbae0f598a42435cd4ff2ef5c628dbc3329728e518350f2828dda3ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fastpy 0.1.1
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.