Skip to main content

Ncephes

Travis AppVeyor Documentation Status

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

License

This project is licensed under the MIT License - see the LICENSE file for details

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)

Source distribution for ncephes 1.1.0
File Size Uploaded
ncephes-1.1.0.tar.gz 9.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ncephes 1.1.0
File
ncephes-1.1.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
ncephes-1.1.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
ncephes-1.1.0-cp37-cp37m-macosx_10_6_intel.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
ncephes-1.1.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
ncephes-1.1.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
ncephes-1.1.0-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
ncephes-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
ncephes-1.1.0-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
ncephes-1.1.0-cp27-cp27m-macosx_10_6_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

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

Release history Release notifications | RSS feed

This release

1.1.0 This release

10 release files

1.0.39

1 release file

1.0.38

8 release files

1.0.37

8 release files

1.0.36

1 release file

1.0.35

1 release file

1.0.34

1 release file

1.0.33

1 release file

1.0.32

1 release file

1.0.31

1 release file

1.0.30

8 release files

1.0.29

1 release file

1.0.28

5 release files

1.0.27

8 release files

1.0.26

8 release files

1.0.25

6 release files

1.0.24

6 release files

1.0.23

1 release file

1.0.21

1 release file

1.0.20

1.0.19

1.0.18

1 release file

1.0.17

1 release file

1.0.16

1 release file

1.0.15

1 release file

1.0.14

1 release file

1.0.13

1 release file

1.0.12

1 release file

1.0.11

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page