Ncephes
This package provides a python interface for the
Cephes library.
It also supports Numba and its nopython mode.
Usage
from ncephes import cprob
print(cprob.incbet(1., 3., 0.3))
prints 0.657.
You can also call them inside a numba function
from ncephes import cprob
from numba import jit
@jit
def numba_incbet(a, b, x):
return cprob.incbet(a, b, x)
print(numba_incbet(1., 3., 0.3))
and with nopython mode and nogil enabled
from ncephes import cprob
from numba import jit
incbet = cprob.incbet
@jit(nogil=True, nopython=True)
def numba_incbet(a, b, x):
return incbet(a, b, x)
print(numba_incbet(1., 3., 0.3))
One can also statically link the compiled Cephes libraries ncprob and
ncellf. Please, have a peek at the examples/prj_name for a minimalistic
example.
Install
The recommended way of installing it is via conda
conda install -c conda-forge ncephes
An alternative way would be via pip
pip install ncephes
Running the tests
After installation, you can test it
python -c "import ncephes; ncephes.test()"
as long as you have pytest.
Authors
- Danilo Horta - https://github.com/Horta
License
This project is licensed under the MIT License - see the LICENSE file for details
Metadata
Release files for ncephes 1.1.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 |
|---|---|---|---|---|
| ncephes-1.1.0.tar.gz | 9.9 kB | Without provenance | Details for ncephes-1.1.0.tar.gz |
Built distributions (wheels)
Total release size: 1.0 MB
Release files / ncephes-1.1.0.tar.gz
| Download URL | ncephes-1.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a375e942e48fbdde28ec9c7a74f4fa6d3cbaea8ace3cc8cc3da5a6f3b2db9c2
|
|
BLAKE2b-256 checksum How to use checksums |
ce72b54b41dc41046edfd6b3a5338028bdf8356aa27e1e6fa9696f9c41189d23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / ncephes-1.1.0-cp37-cp37m-win_amd64.whl
| Download URL | ncephes-1.1.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 32.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fd462ac93003d9ab935b37944e47c67d8fe1861d00b0be4d3e151490b60101cd
|
|
BLAKE2b-256 checksum How to use checksums |
4fa45de7e785e7fcd3fe016306cad4f4a92dfe73e67192d94956cae697cc8743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / ncephes-1.1.0-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | ncephes-1.1.0-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 146.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
a97146da7092d0f14e12937ddbfc41edd9268d62da5f5923afb313e92e71f8c9
|
|
BLAKE2b-256 checksum How to use checksums |
99da08b546fda0dd2038d5015a995546e112017d4760f02401105780ba1c36d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / ncephes-1.1.0-cp37-cp37m-macosx_10_6_intel.whl
| Download URL | ncephes-1.1.0-cp37-cp37m-macosx_10_6_intel.whl |
|---|---|
| Size | 113.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
945f8d894924f629dbc93ef778088ef32d529c5aedc456fc1b5a8153883431d2
|
|
BLAKE2b-256 checksum How to use checksums |
3108f8e161167b5a3021d12043cc26f6f58fe8cd90ee89b353ff4986815cbc45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / ncephes-1.1.0-cp36-cp36m-win_amd64.whl
| Download URL | ncephes-1.1.0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 32.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c145ec43fe62e5d9ca4132b67334dfb94443040e0658ff3d27edc7517a62e8d6
|
|
BLAKE2b-256 checksum How to use checksums |
78af830170d9dae1eb23cba93a814d58716b0e82b6bdc7ccb3a7d7592c9d3652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / ncephes-1.1.0-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | ncephes-1.1.0-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 146.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
c630d3290bdb93bf7428cb26bfae6f01f78ff718ffbed08075f116221a225ff4
|
|
BLAKE2b-256 checksum How to use checksums |
d3fdbe2c17613a1d0ddbdc3a451471948ebf1c9dba80fedcbe7b2f909fdf3e26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / ncephes-1.1.0-cp36-cp36m-macosx_10_6_intel.whl
| Download URL | ncephes-1.1.0-cp36-cp36m-macosx_10_6_intel.whl |
|---|---|
| Size | 113.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
0e65f7299c22088e8f36452f8ec9abf3160a66ea27f3168a35bb052e8f742ed1
|
|
BLAKE2b-256 checksum How to use checksums |
32296ce37e28e8742f1cad4b1b939772f16534031c19d965b9937fa2b754743f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / ncephes-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
| Download URL | ncephes-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl |
|---|---|
| Size | 149.4 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
532c96556bf1a9e0e1895ca59cafd97010cd763149d09116eeff32675f630683
|
|
BLAKE2b-256 checksum How to use checksums |
f5d3fd50368b44edf854755a4f9e5fbd7d35417ccb24f6167cdb0d09100e2201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / ncephes-1.1.0-cp27-cp27m-manylinux1_x86_64.whl
| Download URL | ncephes-1.1.0-cp27-cp27m-manylinux1_x86_64.whl |
|---|---|
| Size | 149.4 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
cd6b0a3bdbe686f687248143eb818c67b6b93aa1d993dbcd93d36ee2ea1031b8
|
|
BLAKE2b-256 checksum How to use checksums |
2acba6306771fc623c084189deba3ab30e552b604cd33fbb0a8d3317aac628f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / ncephes-1.1.0-cp27-cp27m-macosx_10_6_intel.whl
| Download URL | ncephes-1.1.0-cp27-cp27m-macosx_10_6_intel.whl |
|---|---|
| Size | 113.7 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
77372da57df57623b26c7779cee096ab915888e61398f424a81d11148f0ce91e
|
|
BLAKE2b-256 checksum How to use checksums |
053ee94dab995dafe915cd6a53fbf90d5cfdb5d0950986a40677639db12db85d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for ncephes 1.1.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.