{"id":22402773,"url":"https://github.com/open-space-collective/open-space-toolkit","last_synced_at":"2025-07-31T16:31:23.604Z","repository":{"id":37265877,"uuid":"136834262","full_name":"open-space-collective/open-space-toolkit","owner":"open-space-collective","description":"Collection of versatile software libraries for space engineering applications.","archived":false,"fork":false,"pushed_at":"2024-05-21T23:47:13.000Z","size":43018,"stargazers_count":168,"open_issues_count":4,"forks_count":7,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-05-22T11:47:41.391Z","etag":null,"topics":["cpp","engineering","python","space","toolkit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-space-collective.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-10T18:26:14.000Z","updated_at":"2024-06-09T21:22:46.321Z","dependencies_parsed_at":"2024-01-02T04:26:59.241Z","dependency_job_id":"a17d46dd-1133-40c5-aaea-8dbc521c90db","html_url":"https://github.com/open-space-collective/open-space-toolkit","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-space-collective%2Fopen-space-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-space-collective%2Fopen-space-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-space-collective%2Fopen-space-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-space-collective%2Fopen-space-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-space-collective","download_url":"https://codeload.github.com/open-space-collective/open-space-toolkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228267835,"owners_count":17893841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","engineering","python","space","toolkit"],"created_at":"2024-12-05T09:14:18.188Z","updated_at":"2025-07-31T16:31:23.582Z","avatar_url":"https://github.com/open-space-collective.png","language":"Jupyter Notebook","funding_links":[],"categories":["Spacecraft"],"sub_categories":["Mission Design"],"readme":"# Open Space Toolkit\n\n[![Discord](https://dcbadge.vercel.app/api/server/tuHRnjuzWS?style=flat-square)](https://discord.gg/tuHRnjuzWS)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThe Open Space Toolkit (**OSTk**) is a collection of versatile libraries for aerospace engineering use, available in:\n\n- **C++** – the reference implementation, for portability and performance.\n- **Python** – via C++ bindings, formidable for interactive use and prototyping.\n\n![Animation](./assets/animation.gif)\n\n## Getting Started\n\nWant to get started? This is the simplest and quickest way:\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-space-collective/open-space-toolkit/main?urlpath=lab/tree/notebooks)\n\n*This will automatically start a [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) environment in your web browser with Open Space Toolkit libraries and example notebooks ready to use. Nothing to download or install! 🚀*\n\n\n### Local JupyterLab in Docker\n\nAlternatively, you can run a pre-installed OSTk environment on your local machine. This process has the following requirements:\n- [Docker](https://docs.docker.com/get-docker/)\n- [Git](https://git-scm.com/downloads)\n- [GNU Make](https://www.gnu.org/software/make/)\n\nThe following commands will start a [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) server within a Docker container where the OSTk components are already installed:\n\n```shell\n# clone this repo\ngit clone https://github.com/open-space-collective/open-space-toolkit.git \u0026\u0026 cd open-space-toolkit\n\n# Run the jupyter server inside of Docker\nmake run-jupyter\n```\n\nOnce the container is running, access [http://localhost:8888/lab](http://localhost:8888/lab) and create a Python 3 Notebook.\n\n\n## Components\n\n| Name                                                                                       | Description                                                   | Version                                                                                                                                                                                      |\n| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [Core](https://github.com/open-space-collective/open-space-toolkit-core)                   | Fundamental types, containers and utilities.                  | [![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-core.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-core)                   |\n| [I/O](https://github.com/open-space-collective/open-space-toolkit-io)                      | Addressing, networking, database connectors.                  | [![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-io.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-io)                       |\n| [Mathematics](https://github.com/open-space-collective/open-space-toolkit-mathematics)     | Geometry, curve fitting, optimization.                        | [![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-mathematics.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-mathematics)     |\n| [Physics](https://github.com/open-space-collective/open-space-toolkit-physics)             | Physical units, time, reference frames, environment modeling. | [![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-physics.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-physics)             |\n| [Astrodynamics](https://github.com/open-space-collective/open-space-toolkit-astrodynamics) | Orbit, attitude, access.                                      | [![GitHub version](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-astrodynamics.svg)](https://badge.fury.io/gh/open-space-collective%2Fopen-space-toolkit-astrodynamics) |\n\n## Support\n\n- [Use Cases](./docs/Use%20Cases.md)\n- [Frequently Asked Questions](./docs/FAQ.md)\n\n## Using OSTk in your applications\n\nTo help jump-start using OSTk, here is a simple Docker image that you can use to create your applications.\n\n### Docker\n\n```docker\nARG PYTHON_BASE_VERSION=\"3.11\"\nARG OSTK_DATA_LOCAL_CACHE=\"/var/cache/open-space-toolkit-data\"\n\n# Open Space Toolkit install image\n\nFROM mcr.microsoft.com/vscode/devcontainers/python:${PYTHON_BASE_VERSION}\n\n## Install OSTk data install dependencies\n\nRUN apt-get update \u0026\u0026 \\\n    apt-get install -y git-lfs \u0026\u0026 \\\n    rm -rf /var/lib/apt/lists/*\n\n## Seed OSTk Data\n\nARG OSTK_DATA_LOCAL_CACHE\nENV OSTK_PHYSICS_DATA_LOCAL_REPOSITORY=\"${OSTK_DATA_LOCAL_CACHE}/data\"\n\nRUN git clone \\\n    --branch=v1 \\\n    --single-branch \\\n    --depth=1 \\\n    https://github.com/open-space-collective/open-space-toolkit-data.git ${OSTK_DATA_LOCAL_CACHE} \u0026\u0026 \\\n    chmod -R g+w ${OSTK_DATA_LOCAL_CACHE}\n\n## Update libstdc++ for Cpp20 support\n\nRUN echo \"deb http://deb.debian.org/debian testing main\" \u003e /etc/apt/sources.list.d/testing.list \u0026\u0026 \\\n    apt-get update \u0026\u0026 \\\n    apt-get install --yes -t testing libstdc++6 \u0026\u0026 \\\n    rm -rf /var/lib/apt/lists/*\n\n## Update user id and group id with local ones\n\nARG USERNAME=\"vscode\"\nARG USER_UID=\"1000\"\nARG USER_GID=${USER_UID}\nRUN sudo groupmod --gid ${USER_GID} ${USERNAME} \u0026\u0026 \\\n    sudo usermod --uid ${USER_UID} --gid ${USER_GID} ${USERNAME}\n\n## Update permissions of OSTk data repo\n\nARG OSTK_DATA_LOCAL_CACHE\nRUN chown -R ${USER_GID}:${USER_GID} ${OSTK_DATA_LOCAL_CACHE}\n\n## Change user\n\nUSER ${USERNAME}\n\n## Install dependencies\n\nCOPY --chown=${USER_UID}:${USER_GID} pyproject.toml /home/${USERNAME}/tmp/\n\nRUN cd /home/${USERNAME}/tmp/ \u0026\u0026 \\\n    pip --no-cache-dir install --user .[dev] \u0026\u0026 \\\n    rm -rf /home/${USERNAME}/tmp/\n\n## Change default entrypoint folder to /app\n\nWORKDIR /app\n\n## Change default entrypoint to bin/zsh\n\nENTRYPOINT [\"/bin/zsh\"]\n```\n\n### pyproject.toml\n\nAnd an accompanying `pyproject.toml` file that should be in the same folder.\n\n```toml\n[project]\nname = \"my-app\"\nrequires-python = \"\u003e=3.11\"\n\ndynamic = [\"version\"]\n\ndependencies = [\n    \"open-space-toolkit-simulation~=X.Y.Z\",\n]\n\n[project.optional-dependencies]\ndev = [\n    # Development libraries\n    \"ipython~=8.24\",\n]\n```\n\n### Build and Run\n\nYou can then build the Docker image via:\n```\ndocker build . -t my-app\ndocker run -it --rm my-app\n```\n\nEnjoy!\n\n## Contributing\n\nContributions are more than welcome!\n\nPlease read our [contributing guide](CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test the code.\n\n## Special Thanks\n\n[![Loft Orbital](./assets/thanks/loft_orbital.png)](https://www.loftorbital.com/)\n\n## License\n\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-space-collective%2Fopen-space-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-space-collective%2Fopen-space-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-space-collective%2Fopen-space-toolkit/lists"}