Skip to main content

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

Project description

pynbody

Build Status

Pynbody is an analysis framework for N-body and hydrodynamic astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, Gadget4/Arepo, N-Chilada and RAMSES AMR outputs. It supports Python 3 only (versions prior to 1.0 are still available on PyPI for Python 2). Minor version support adheres roughly to NEP29.

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.

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-2.0.0b8.tar.gz (888.8 kB view details)

Uploaded Source

Built Distributions

pynbody-2.0.0b8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b8-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b8-cp312-cp312-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pynbody-2.0.0b8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b8-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b8-cp311-cp311-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-2.0.0b8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b8-cp310-cp310-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b8-cp310-cp310-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-2.0.0b8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b8-cp39-cp39-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-2.0.0b8-cp39-cp39-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file pynbody-2.0.0b8.tar.gz.

File metadata

  • Download URL: pynbody-2.0.0b8.tar.gz
  • Upload date:
  • Size: 888.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pynbody-2.0.0b8.tar.gz
Algorithm Hash digest
SHA256 eb1d477039d2fd1394c9e6a33af7362403418e330e0cb3939934a002e99b4cb4
MD5 60c13994c2e4db26f66642f454ac15f7
BLAKE2b-256 f2438c7a092b1e598a8cf9bb8bd06f1b3775bcef65b1292e5a286b9285c4c07b

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c77a0c88f0a77ffa375689b998a29ab244bc60ec738fedf8622cd090456d9647
MD5 e3a1afa75056d9903f51b58189d747d1
BLAKE2b-256 0cb37d985fdb0fde52ece9feee07691941581bfac31caad2d6dce272563f240d

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 84ed4188e1cd42f7aa5bde731f57eb18fd2d634007eae0f1f6b789380eccaff9
MD5 78a2e8cbafa2f71466085b3a9fe4a45a
BLAKE2b-256 430db3cd77290e0aa16e6e4a725ce41a888c51606876ebd64234bb791392e34a

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5e7556b80bc9b1d701a54526f8226f6e138355774fd0d81e791d6c892db49e85
MD5 d296bec50f5349fa045ef17d221b5346
BLAKE2b-256 658eee4c7c127db106cafad8003d87fec8b72e423a36a765ec8768ef0a3c941f

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39d72d8f86b3ba68e4482938fe77e1ca85b49d185b34e2cbbdc1f6fa4872b048
MD5 562b5cd151d33a81a3942bf6ea9afda0
BLAKE2b-256 09023f0a6d927c9c0b164fad24fa51fa422e8a6688272f5ae6c28cac57bfb04e

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1538947d62ca0b6e81d7ef10914b7d647ebeebf9e1a6caa97c4e9169551dde0a
MD5 731fe45902a6f7b3de381259aff3585a
BLAKE2b-256 575084928d738d40e90d5d070013fbb96eb79c62180e245adf8493335fcb0da1

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 908f31696e93c6d9f70d85680aea1106f82986619ca84bc8123c3bc449512e73
MD5 033de4d3b28910ee4881c4fc25a4caa3
BLAKE2b-256 2482d9463ea2855dd9dd0d3de085703448cc0edc7ec01010bb49a100df355db8

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35e8ddd7e39f7ce2f2e6d971a985b845a00375e14f1aeb5d61665805535b19c2
MD5 ea5570bf8ea3a8f15bc88692a12c1ca1
BLAKE2b-256 e9d2e5ccab50245e6dd12488e3efe39f71246a65bbd3d1b06fa8ac705be2b5a7

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d22f0c7e876eaa584ea622ea6b538ad0944fb7cef728b9012d1913adc1ed6d8
MD5 fd64348cb9499ae7f634bae0dcb975cf
BLAKE2b-256 6244cea5501e3d13ccfc90c569e160be33f745c6eb1b343872f174fa04206c33

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4309b032c0aca777c86b5f74517071bd09f8fc1dc2d43a4c69ab97ce276b0e8f
MD5 e81f268de345051a6e86d48f054ab8f1
BLAKE2b-256 1e1997766a0e3c1149940b57fadcb70134dd47c5ee4b71d9a5b0785fb39de1c6

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50f5c503b99436b023cc997109bd7fdc15ae5ed050933b0082e410c9c3ee26ea
MD5 7ac73764aa7d5db874e60894d8a0cdef
BLAKE2b-256 b09beab1fdb80c9c765de6b17dff2810e881513769c97b3837e0c713585a9106

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e4ed1ef1e0a4f9dac0bb734788bb0d26df8e8afe3b32b62d8ccfcf102072f9f4
MD5 394d440128354ed076554b0ec4efa507
BLAKE2b-256 10ebdbdeb56f38f43e19f9d089dcbdac38f0791e82a75b97741124c9ffd674ad

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b8-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dec3769d0b3ff057f8e47a97801c675d25e352a8362bef183aeeafb796e78bda
MD5 a0c0439cd86b9e6add7fdb4ed4d04d3b
BLAKE2b-256 229cdfc300a259c738bade0a43ef91dafcb04e014b901e3dad2a0e4a3918f935

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