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.0b9.tar.gz (889.2 kB view details)

Uploaded Source

Built Distributions

pynbody-2.0.0b9-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.0b9-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b9-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.0b9-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.0b9-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b9-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.0b9-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.0b9-cp310-cp310-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b9-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.0b9-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.0b9-cp39-cp39-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-2.0.0b9-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.0b9.tar.gz.

File metadata

  • Download URL: pynbody-2.0.0b9.tar.gz
  • Upload date:
  • Size: 889.2 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.0b9.tar.gz
Algorithm Hash digest
SHA256 3ae153613922929bca573d5ecfb2cbca362b860eaf61183dffedd722ce51442e
MD5 8a2f7337965cd80ac660b27e251a8998
BLAKE2b-256 87041ccc26ec1484dcc66ca7151dcd393c20120026a0f5e7c4785e74fbdcec97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50433ae3a3255eb3ec57ddbbd37c5f331c011f04af325143f409cd4f7a920dfb
MD5 67e78518a30f9e5addce778bab217c62
BLAKE2b-256 31130d8db42ab809602dcb266812a7133c5b8d9d3fd246eaabf11981ee1bd504

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15345afd59ea971296818ee3c3b25b83c0fefe40a9272fcab31b5ae358604e96
MD5 912e56e4021998934bca4b640c7bf501
BLAKE2b-256 8c41f8edffec495e158bb611515bacf88fc9eca118a66385741fe074dde20dfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bfdcfbf3ae1da4cc9034cf566d2f61cc8731d90c2eb4037a625c096fa8fc6e8a
MD5 ae5982a45eea2bec8f615be3fce715e6
BLAKE2b-256 f6fb3a19ff609e19db93148fccefb841c36bedf7edc1f07110f7780b2befe3ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 73500f1c36bbe6fb3a31f2c64aec60c3cc09b30b2910ea5a66ff9976ce345a3d
MD5 edcfbbc4ae68cdfca74d11df3b386011
BLAKE2b-256 3b2706d2b41d8f8311d813663b74798e2cbaf7488f648908e5aab8bd79c11703

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd1b0a7262746c4f2ba9ae0c1d3ce696ba66aae9d77cdd4e7151a031239663f4
MD5 3805609419c4fade76eb6deb64dfaf38
BLAKE2b-256 c3ea24ca3b2e31bcf1eed97c159f943cd38144e5a2320728f5099c975eeca714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8f17bdae883072bb9e195b2a3792ca0eb27dcd389de95c0248928c9ec9d9b3f2
MD5 16d838a2d6325ccc4589049a330b9daf
BLAKE2b-256 081c0d8d5cb1ee06bed779310b13ca9ba0f93697d2e10d4e9ec4cc6dfe85649d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 458d307a43fd900326541bfcb217fbd567e2e277c93c53c9bbcbbda73654e1a7
MD5 ed274ef099c92217d534913fc44effcd
BLAKE2b-256 e4af31dc9de6440e127ce5c29e6ff2c70277f9637ded4b54c2a5c4fb09db6831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2974749c96eccb7a7653b21dc9d3940098edcca34aa3deb053891a3508df4b0
MD5 5ce4dd3d52efbbb28590f6997a74815f
BLAKE2b-256 143865472a3dbb1c6fe6f2ca2a8cfa6834796a4d312040c0c8ffd636576455d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 81c136665817108cf47aa47dc060a532dda2804112769881364228301fd9dfcc
MD5 aa7dd341672cad14d94250e72cf20e3f
BLAKE2b-256 f88b5c967b935ce7157c461b4310a5fa29ffa5631868bf338f91901d26633e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 118da4b109a20b29a0dae6d5b19b701b0d3e9cee05a315ecdb30e1279060b89a
MD5 7d3916258d2e4b050982d08b13342a58
BLAKE2b-256 eaf554b209833414433152dc650119292a4d96f3fd50e9e9aed6e6c9961c090a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1586d11082423abfb40ecb6644ddd74637c16d32783fe07caa843e698e50c605
MD5 03676d96068674ec1328b5deecb4523b
BLAKE2b-256 40204f842d5e21afc33ed383cf722af2f315cc3568fffe913f49d11dd0456aec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 af78c74c2531c169a95dbeb0681bb6ebed53cf53c748d412737aeb4147b050f3
MD5 558567a86ecadab1c2b7d7a3cc95fbf2
BLAKE2b-256 62b4fd7edc95f8a0a6a36d4d1e2480052c75c4dac9493cd90e4005d7b5a7f144

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