Want to get started? This is the simplest and quickest way:
Nothing to download or install! This will automatically start a JupyterLab environment in your browser with Open Space Toolkit libraries and example notebooks ready to use.
Using Docker for development is recommended, to simplify the installation of the necessary build tools and dependencies.
Instructions on how to install Docker are available here.
To start the development environment:
make start-development
This will:
Build the openspacecollective/open-space-toolkit-core-development Docker image.
Create a development environment container with local source files and helper scripts mounted.
Start a bash shell from the ./build working directory.
If installing Docker is not an option, you can manually install the development tools (GCC, CMake) and all required dependencies, by following a procedure similar to the one described in the Development Dockerfile.
Build
From the ./build directory:
cmake ..
make
Tip: The ostk-build command simplifies building from within the development environment.
Test
To start a container to build and run the tests:
make test
Or to run them manually:
./bin/open-space-toolkit-core.test
Tip: The ostk-test command simplifies running tests from within the development environment.
Contribution
Contributions are more than welcome!
Please read our contributing guide to learn about our development process, how to propose fixes and improvements, and how to build and test the code.
Special Thanks
License
Apache License 2.0
关于
Open Space Toolkit 核心库(类型、时间、容器等基础能力)。镜像收录自 https://github.com/open-space-collective/open-space-toolkit-core,License:Apache-2.0
Open Space Toolkit ▸ Core
Common types, containers and utilities.
Getting Started
Want to get started? This is the simplest and quickest way:
Nothing to download or install! This will automatically start a JupyterLab environment in your browser with Open Space Toolkit libraries and example notebooks ready to use.
Alternatives
Docker Images
Docker must be installed on your system.
iPython
The following command will start an iPython shell within a container where the OSTk components are already installed:
Once the shell is up and running, playing with it is easy:
Tip: Use tab for auto-completion!
JupyterLab
The following command will start a JupyterLab server within a container where the OSTk components are already installed:
Once the container is running, access http://localhost:8888/lab and create a Python 3 Notebook.
Installation
C++
The binary packages are hosted using GitHub Releases:
open-space-toolkit-core-X.Y.Z-1.x86_64-runtimeopen-space-toolkit-core-X.Y.Z-1.x86_64-developen-space-toolkit-core-X.Y.Z-1.x86_64-pythonDebian / Ubuntu
After downloading the relevant
.debbinary packages, install:Python
Install from PyPI:
Documentation
Documentation is available here:
Setup
Development Environment
Using Docker for development is recommended, to simplify the installation of the necessary build tools and dependencies. Instructions on how to install Docker are available here.
To start the development environment:
This will:
openspacecollective/open-space-toolkit-core-developmentDocker image.bashshell from the./buildworking directory.If installing Docker is not an option, you can manually install the development tools (GCC, CMake) and all required dependencies, by following a procedure similar to the one described in the Development Dockerfile.
Build
From the
./builddirectory:Tip: The
ostk-buildcommand simplifies building from within the development environment.Test
To start a container to build and run the tests:
Or to run them manually:
Tip: The
ostk-testcommand simplifies running tests from within the development environment.Contribution
Contributions are more than welcome!
Please read our contributing guide to learn about our development process, how to propose fixes and improvements, and how to build and test the code.
Special Thanks
License
Apache License 2.0