Skip to main content

A set of tools to compute periodic solutions to the Newtonian N-body problem

Project description

choreo

Finds periodic solutions to the gravitational N-body problem.

Try out this project, no installation required!

Check out the online in-browser GUI: https://gabrielfougeron.github.io/choreo/

Build wheel for pyodide to be used in GUI

After sourcing emsdk environment, run the following:

pyodide build && python -m build --sdist

Install the package with pip

The package is not available on PyPA yet, but will be in the future. Till then, the installation process is the following:

  • Download this project. For instance using git: git clone git@github.com:gabrielfougeron/choreo.git
  • Open the directory: cd choreo
  • Build and install using pip: pip install .

Power up the GUI solver with the CLI backend

Using clang or gcc as a C compiler, the single-threaded CLI solver is about 3 times faster that the wasm in-browser GUI solver. In addition, several independent single-threaded solvers can be launched simultaneously using a single command.

To use the CLI backend, follow these steps:

  • Install the package
  • In the GUI, define a workspace folder under Play => Workspace => Setup Workspace
  • Every time the workspace is reloaded under Play => Workspace => Reload Workspace or every time a new initial state is generated in the GUI, a new configuration file choreo_config.json is written to disk.
  • In the command line, run the installed script as choreo_CLI_search -f /path/to/workspace/folder/

Online documentation

Available at: https://gabrielfougeron.github.io/choreo-docs/

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

choreo-1.0.0rc0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

choreo-1.0.0rc0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

choreo-1.0.0rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

choreo-1.0.0rc0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file choreo-1.0.0rc0.tar.gz.

File metadata

  • Download URL: choreo-1.0.0rc0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for choreo-1.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 23c6ecef98f33d90d18bad2d88dd5b0e0dccb4427a3c159f5a75029ce389e61f
MD5 1f02ffe429d756245d9ecd2fa0970c79
BLAKE2b-256 7b2d591e700b8ba769c63279b6f85fffa39636bf856988a07c2108df5f545903

See more details on using hashes here.

File details

Details for the file choreo-1.0.0rc0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for choreo-1.0.0rc0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8258b265d6f65f266b563aa414ea272986f5322f5b21811d9ce86386b0391b2c
MD5 1e03d1a6737694ab0c22bd9c5216084f
BLAKE2b-256 02b1234b372afe8504f2a0f144c4f120beae171b1102cd866a44eaa900103852

See more details on using hashes here.

File details

Details for the file choreo-1.0.0rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for choreo-1.0.0rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 584e3126d43a38de85529173b4417ea4c74d51e3194f20d8dd314b88bba8121f
MD5 5d37be5043f62bd33f34732abe123495
BLAKE2b-256 b7ef9f57c73427c5cd1fb2d6e562b8a142bcd200b669f7c2305a98183114ee63

See more details on using hashes here.

File details

Details for the file choreo-1.0.0rc0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for choreo-1.0.0rc0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 826325a1c00fd640d5cd3e195969a01e51d5cf62f3a208321d1ea6e5a2cb336c
MD5 933cccccfdd9b890ee65be6d6456fb2a
BLAKE2b-256 1efc46afb0523c62f8d90a3ebc4e657376954c3828c6bc0d8b91437c2cfbf313

See more details on using hashes here.

Supported by

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