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.1.0.tar.gz (892.0 kB view details)

Uploaded Source

Built Distributions

pynbody-1.1.0-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.1.0-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (1.9 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

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

Uploaded PyPy macOS 10.9+ x86-64

pynbody-1.1.0-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.1.0-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.1.0-cp310-cp310-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.1.0-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.1.0-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.1.0-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pynbody-1.1.0-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.1.0-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.1.0-cp38-cp38-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pynbody-1.1.0-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.1.0-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.1.0-cp37-cp37m-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pynbody-1.1.0-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.1.0-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.1.0-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.1.0.tar.gz.

File metadata

  • Download URL: pynbody-1.1.0.tar.gz
  • Upload date:
  • Size: 892.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e43c99c2c1e471532efd9675aacb88469b5a372250ccd9e05a60897c0e31f469
MD5 05842e8919c0fe21e16784683f7749ad
BLAKE2b-256 102b93ddb594c94c5cc483ed68362303cd317f6270a9af402fefc899cef7a5de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e5bf48c066d26d271dbb94f10f9a25263bfdf068c580f9ea53fe7beef10991a2
MD5 3c39ae104dc851fbe934077fc92b8f11
BLAKE2b-256 e629f8ded147b952eddc4d79276f110b8d20e361fb6829ee667cc0ca864b5417

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 cd588933cd1fa4b502b02cb5cd1af3d9d471b6f1120e1a2a07f510a1b10d143b
MD5 8508120c6587862bf73bd79ad1b97ef6
BLAKE2b-256 e6893e2162ed56f902fc5eb60de1cd8c59f42c5d009ce375bc8274121dc88c77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 278df0bdbc3c460cb10a66a861ca6cd43d82bc577d46fc52fcf1aac746ac88f3
MD5 ede792549ead8966906833c306a90bf0
BLAKE2b-256 463bf7fcf08838a4a9ebea574f729d5536ffca065496e554a451eb0887f4400e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6497e43f6eba5666495fe33947a399b2dec5b105c78022c32c19ed85bd3c4d2d
MD5 1a353a212dd5cd82cdb363852584a89a
BLAKE2b-256 b339381bd3d24a23739c9ed82191a7feab670614fc6153b8ca2082ac1dbe2e0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 75ee1841b4764b4e79d3f021811a685e55132db559d6269e1f7ee01649a73da8
MD5 217cece5f8c374a025f87b896165232b
BLAKE2b-256 cb4a52c3ebe2cb8a5a9c1a29d65a9685a484248fd5f4fd35452d5ad1cddd90b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 08d3cbb9f872afa4a158d97c55fbad9e308797f54562d847de82a035e07a38fb
MD5 085cb6ed27631201643c873746a53f55
BLAKE2b-256 f8553aae25dcf9d03a15ce09ace50615aac83a045db24166c75980476bac198e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b45ed467a4f0d619e90c161c5dbd12127303428115afe7f8b8257f866c51c5c8
MD5 e84649e8fc0ff9451fa561278483137f
BLAKE2b-256 7f22fb803fb94acaf324fbbf8c14101d5362a8fd0a29d865c9141c08e68e4207

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 b0c3d3aa15181d3662f857852ba58a6cd6899d9bf630b8772c19fb2a72615cee
MD5 f854d283a9436cc885f311b33c247f2d
BLAKE2b-256 f0c0f4c7be3f13cdadbd9878df98535d2d5efc94449e575e7d631423acaddf97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b61284bbdbf5f94618a2e9dc327c09b96f6fcb172bbe7a3dcbdad5d9d610bde
MD5 fc764676bde61934aa452649e40419f1
BLAKE2b-256 f9a495f1d31b60e76a8f6efd4d01b6255db8370f8b11899edf55d7653d639452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2d0d84bd461ba2e635a31d349a415602c5d5587686025f9965f699733ef93bcb
MD5 4db158609726bf4ee600f916b296791c
BLAKE2b-256 27781d932541084e0609a6eeded84befc4f1a6ea38714f16815755875fd16a62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f938d98a005d5516bc8f1e06fdaebc526e702c37729988768ae64eb4b8486bbb
MD5 d0f5936c3b9263cf05ea984d94c8585c
BLAKE2b-256 2a0adc52596bcb006f6e9df5679bef0c3e670b8315973b4801f015c8bddd0b81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ab6b4b1ae9a2a10fe2abb8dd1d54e6615e4d545586e9953384ece98ae53998d7
MD5 2c0904814ab5f2e06ce2ce8696c42ffc
BLAKE2b-256 c82490a91b706e3c30cca0de36a46dc2405a30327d9d693f68a5fc6eb29fa8aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e2fd0ddb58b1952b583d9c59b380a1ea54a978a3e8bc4a4662f97e3c8c74511c
MD5 d69d966647467ec3850d12e6ad00a907
BLAKE2b-256 1df0bbe57a378beef5349c0dece86704118688b6f4861c18cb79172c541fe747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d241a0b412a6f524a56169714b5e3e0d6920cbf8385efc6933c9e6b9dc7075c2
MD5 21bf3302400700e7b957f313f3677af7
BLAKE2b-256 60af8b2d61b02ead327960397219573269b09f0131d64d7658b08f459edc947b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 099580a111066e706f1629334cb084cdc790f4594e96095225899df69fc66e13
MD5 5b971cd2278dc112ab08e95a77f62b89
BLAKE2b-256 3137a41becdb1dab69614da54f5906ff65d900274267595a5a189e5f0a30ce13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d0000335b6e9242f7cf28808619e8cfc059e92043eccd8a585ed6541d9cc844f
MD5 e9afd384300190f1581cbb4e4f415fba
BLAKE2b-256 2b5ee7be05a334d767ccb88b1d54952238f987cf6a9af959ba85aff6b43afcb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.1.0-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c88fd48a63b74a64f919db3375acf71e9ecdc7a61a7c91e8071639e7ea40ae4d
MD5 d0c580880056ec9d888c948625ea949b
BLAKE2b-256 adb12fc2aa30c6b8a42937dbdabea378236536f58c3690b7fe95dbc7b43d6ff3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynbody-1.1.0-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pynbody-1.1.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c844423d5bb1359a1468e7f1c7245c83885959a1d27e19dc232aa4a34015b151
MD5 6620e040dbd8dd053a972170976ffa88
BLAKE2b-256 d140667d36fcbec7b480ba6178f571903c45002d66179775a99d8c4bcc769211

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