Python bindings for the NEST noble element simulations
Project description
# nestpy
(Not ready for use)
[![Build Status](https://travis-ci.org/NESTCollaboration/nestpy.svg?branch=master)](https://travis-ci.org/NESTCollaboration/nestpy)
These are the Python bindings for the [NEST library](https://github.com/NESTCollaboration/nest). You do not have to have NEST already installed to use this package.
## Installing from PyPI
For nearly all systems, instally ‘nestpy’ should just require running:
` pip install nestpy `
You can then test that it works by running the example above.
## Installing from source
Requirements: You must have CMake>=2.8.12 and a C++11 compatible compiler (GCC>=4.8) to build.
First, you must check out this repository then simply run the installer:
` git checkout https://github.com/NESTCollaboration/nestpy cd nestpy python setup.py install `
## Usage
Python bindings to the NEST library:
` from nestpy import nestpy nestpy.NESTcalc().BinomFluct(10, 0.2) `
Install with python setup.py install (PyPI will come later) and be sure to have CMake and a C++ compatible compiler.
## Credit
Help from Henry Schreiner (https://indico.cern.ch/event/694818/contributions/2985778/attachments/1682465/2703470/PyHEPTalk.pdf)
Implementation also based on http://www.benjack.io/2018/02/02/python-cpp-revisited.html
History
2.0.0 (2018-08-14)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for nestpy-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10594dbf9e894f93f5eb3e93769c7436e028beb409c4315086427f8ccf72a51b |
|
MD5 | 8bf0709ccc1d6c3adcd95edc055cb9ab |
|
BLAKE2b-256 | 1c4e228946d2f6d99320de2cc73fb9ee7dbb084c953506d00ba1581ba3600448 |
Hashes for nestpy-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cddba1c3151ccad249408c0fc01ea8cbceda1c0614efb84e0ca223f46e3031c |
|
MD5 | 9135701a9668661df2d3f100270bc3eb |
|
BLAKE2b-256 | 882d3ca13d4bbde3319ada80c4a40f6720fd896bc5c25b6b631cb9af0b978b47 |
Hashes for nestpy-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b8a840125a48bbf2298af97b817dc648f67284038a36d827a2d244ad14aa2cf |
|
MD5 | 1155999fa331f443b5e72a236d940cc1 |
|
BLAKE2b-256 | 54affd271061d8a69504b80b0adf8e4aae4c88e916c05dd8804c09cc5a5638a4 |
Hashes for nestpy-0.1.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f8a91d1a0b8f1242cd1763f6f6f52e6b22d109497f4308e00d5b3fa5484eb5c |
|
MD5 | b8978baa84d81252695bf87dfc75e714 |
|
BLAKE2b-256 | b926df9fd5cdcae31ce9863abbdbfb6f834502e659335f1491aab1226777b7ae |
Hashes for nestpy-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa30c824d4d1c637a9c73fb8f075e35c12f2eefba7b035ddfbe85d2bce96ba3d |
|
MD5 | 7a428268952579126297811a0a6c431a |
|
BLAKE2b-256 | 24a4c6c380790c88792439934c0f05655195f5b09f4e6d74dba4a2f6d163a5f8 |
Hashes for nestpy-0.1.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83ded12677e7aac2d1665be25306358cb39ac82d8a5d6e66f20b693bbd32eca9 |
|
MD5 | e5168b88dae2b734a99a6b745385249f |
|
BLAKE2b-256 | 55293a6f07dd50ad08437283015ccd7c061f0cd25dcf8d83bb305e37d5843486 |