Skip to main content

Light-weight astronomical N-body/SPH analysis for python

Project description

pynbody

Build Status

Pynbody is a light-weight, portable, format-transparent analysis framework for N-body and hydrodynamic astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, N-Chilada, and RAMSES AMR outputs.

Written in Python, the core tools are accompanied by a library of publication-level analysis routines. For a quick tour of some of the features, have a look at this IPython notebook.

Since August 2020, pynbody supports only Python 3.5 or later. To reflect this change, we are moving to a new semantic version numbering scheme, starting with 1.0.0. Earlier versions of pynbody (prior to 1.0) can be installed for users who are still transitioning away from Python 2, support for which ended in January 2020.

Getting started

If python and the standard pip package manager is installed and properly configured, you can simply do:

$ pip install pynbody

If this fails, you may need some more detailed installation instructions. Once you have the package installed, try the introductory tutorials. The full documentation can be found here.

Contributing

Help us make pynbody better! As you develop analysis for your science with pynbody, consider making your code available for everyone else to use. You can do this by creating a tutorial or cookbook or by adding your code to the relevant sub-module and submitting a pull request (make a fork first -- see https://help.github.com/articles/using-pull-requests).

Acknowledging the code

When using pynbody, please acknowledge it by citing the Astrophysics Source Code Library entry. Optionally you can also cite the Zenodo DOI for the specific version of pynbody that you are using, which may be found here.

Support and Contact

If you have trouble with Pynbody or you have feature requests/suggestions you can submit an issue, and/or send us an email on the Usergroup mailing list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynbody-1.0.4.tar.gz (881.1 kB view details)

Uploaded Source

Built Distributions

pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.0 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (1.9 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

pynbody-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (2.8 MB view details)

Uploaded PyPy macOS 10.9+ x86-64

pynbody-1.0.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686

pynbody-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.0.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

pynbody-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pynbody-1.0.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (7.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

pynbody-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pynbody-1.0.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (6.4 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

pynbody-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pynbody-1.0.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

pynbody-1.0.4-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (6.4 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

pynbody-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file pynbody-1.0.4.tar.gz.

File metadata

  • Download URL: pynbody-1.0.4.tar.gz
  • Upload date:
  • Size: 881.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4.tar.gz
Algorithm Hash digest
SHA256 80de4a82f6aad8fcc44323456907a0195accd7cfd10f95daf62c41c91f75c9d3
MD5 05387269867955ff16df7472b24b672e
BLAKE2b-256 740aa768f1881d2e52e4a75f8911ab5248ac063477d1be8b5166e44ffad8cac5

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 18a15a77c12b2b41584551e374e43b52480593981ee6f49f5614eece52bbd8c3
MD5 e57757885b697c1bd9d497205df43138
BLAKE2b-256 1692fdf820bc40af232ec488c69f87a83541909bd54f7a9b62a2a111d340dda0

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3c743d39c2af26ada16850f26237f53dc1527554e067f9b667b1b56a965bbc14
MD5 de99482d7ac5f54168dd9adbdd0cd24c
BLAKE2b-256 5163238c60944eb5af76f85b431fb614a86245b13878b638149729576bd31ea1

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: PyPy, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e33a9ece167ea1f1358b17216725f0d81b09283ed5a3d06c73f68aa623010943
MD5 26983e3ba2e017d5e88c1b7a5efd5807
BLAKE2b-256 a4986a4f65e01f040133ba05181f39315e2c22e025c9f1d58afdb3ed5db4fe20

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 894d0da52e3c9899baaba0ea87f45b1a7ef0087d7b282109759d4dc8e6666929
MD5 c56307afe4d7a98f0c8f055f52e259c3
BLAKE2b-256 5f8c5651f3aaa2f44b75f98502d9d0d124c09bd983b5169047ed32ac91f62253

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a238f2511a69622c11c393b353b85aaed2390aed41fbb44d3826a2fcca9aac3b
MD5 2aaed428291db405e46c0b2ed28dd73f
BLAKE2b-256 c5cea62bcc8f76934931d29f67afb02f391e74e0e24736244433c67ecfa2cdcd

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b812307ae41484bb02f7277ad1b090277e28ad0ee331576bfc3ed7ad3bb215e1
MD5 9b217cec5242faae3a298699a23661bc
BLAKE2b-256 7c331caac621cef90af08c9fabad202c8bfcc4f5d066922599480ed0d47e8d7e

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d152e05457acb5e67d3d190a0042fe04a418cab1612460f86cb2dd20f168c64c
MD5 20041f7be0ceacb963d181715089b194
BLAKE2b-256 ea008948fa8b9cf214ab06bc60ab021384a0771bf91bbbc3e60255157f7a926b

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 0046b5ef86843cad117cf2e3a4da80ceed49bf1c6c2c18afa5e31157b9431b97
MD5 1b49d785d036da98fb9f937f4e46172a
BLAKE2b-256 17b703841a766a0121305e23c02ea4bfa6feec916cec446502c8bed3800202eb

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6c1fb41d9283c7c7688f7580bc4c38d15b8d9cd063a2729fcd1b7733899d79d
MD5 5ae050bb7562162d3afe4678ebac902e
BLAKE2b-256 163fa878335f32bbb0dcf8e2244ee070e8118561aacac5ab2c90c6cd8724abbb

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 904469b9982ac4ec1e22a2d27fdedc3749f121cb53fd96237afad1b0a4c01100
MD5 b03673a78f30fd256036815c43f14c18
BLAKE2b-256 a71d311dbaede911578c306c60d883f0286ed882cc8a37429e0cc8625690a052

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6bb7292a4a176bd2743b496e8eaba7117ee42a0ee9777b5f13baddc39b081dc2
MD5 15b44e06fcb26c8a63704354645100ee
BLAKE2b-256 dc0a274cd1c972af891f1e25945781c80caef56a4156d40d7d33b3f6d25f5810

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ec01862d99e288966dbaab67115b18655a1d2d09ba413180e584354790916798
MD5 288f743c376fc5fbea7ffb7014b2ffe7
BLAKE2b-256 3a9787e8c1a652e30bb617551d42c47cef38c7913fede552b475a8ddbb891776

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e96a643a0919b57ad7ef96969242c330abd4eef38156d69f94f0503719f3e971
MD5 562ff0baddaea74e2cae29fc8ee53d9b
BLAKE2b-256 a0f3adc6096dc473fba03b5e06217a34b0d37fb9f560603fa35fa691368a0c98

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 49099b60dbd1349497d1d4b7d92fc9c7648bff002697357ec0e6904af49dd02e
MD5 1cc3afa691299ed0cec113604f1d8b99
BLAKE2b-256 c645cdfbb644b1faeb7e90bb8a2ad2f702ca6bb08698e50ddf9d478b48e09039

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ccc6643e38501866e0bb91fcd51e6ff1c4ca971d6b9a7a27c35c333640b70550
MD5 cca279000f7d5e00b6aa0e43328bd594
BLAKE2b-256 0f00747ff5a01222c805fe01a7a0d7e71ae3b8514635f789ddeaa833f7d1a4f6

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fc68c6c0bc839b342067a1b4aca346a3cc6f640cdf9b678d3381380791da912c
MD5 2b5a2868260ca96f98fb57402f53c7d6
BLAKE2b-256 3692bf6498561c1a7d2c972c4491cb091b36c4f1aabcba435b5c88f07cbdce91

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pynbody-1.0.4-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 97c0a60692f6b3d12190f3cc0bb1c932f82a540786bb6aabf19dd08472e09d34
MD5 f2e4952e02c53eea6039e72425c26957
BLAKE2b-256 3ee2a5a405f42a996e33efd65b29a21b3b13ddd1461de14e196f344ac1e6882b

See more details on using hashes here.

File details

Details for the file pynbody-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pynbody-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pynbody-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0981db1c61d3c1c30d71cf73bcee8169aaa111977a76d3a4cfbd0cb7b0565097
MD5 7e436febd230fa9f6ce17cb2ba17f50e
BLAKE2b-256 1d4e160f5ae2824ccaba4b8606a295bc87dc7827f0f0536914a0b1bda3eeb74c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page