Skip to main content

Transportation System Simulation Tool

Project description

polaris-studio

The polaris-studio package is th Python gateway for all things Polaris. The package is divided in several submodules varying from data preparation to result analysis and is the source of truth for the data model required by Polaris.

For the package's full description and documentation, see: https://polaris.taps.anl.gov/polaris/index.html

For release notes, see: https://polaris.taps.anl.gov/polaris/releases/index.html

The standard installation of Polaris-Studio brings a minimum set of dependencies, which are those required for running a simulation. For a full installation, please install

pip install polaris-studio[builder]

We recommend using virtual environments to prevent dependency clashes. In the root folder of the repo you will find a script called setup_venv.sh (linux) or setup_venv.bat (windows) which will create a virtual environment into a sub-directory venv of the repo and install that as a kernel (named "polaris-studio") which can be used with any jupyter notebooks you are running.

./setup_venv.sh

Documentation

Polaris-studio is also responsible for building the documentation website (https://polaris.taps.anl.gov). The steps for building are outlined in the ci/documentation_ci.yml gitlab CI definition file and require the cloning of the polaris-linux and QPolaris repositories. This can be achieved in a local environment by running

./docs/build_all_locally.sh

There are a number of example notebooks in the documentation that require additional datafiles to run, these can be downloaded and run locally using the following command

./docs/build_consolidated_docs.sh grab
./docs/build_consolidated_docs.sh run_notebooks [optional_pattern]

The optional pattern can be used to only run one notebook if you are adding a new one or debugging one that has developed a problem.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

polaris_studio-26.2.28.dev1-py3-none-win_amd64.whl (33.3 MB view details)

Uploaded Python 3Windows x86-64

polaris_studio-26.2.28.dev1-py3-none-manylinux_2_35_x86_64.whl (37.0 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

File details

Details for the file polaris_studio-26.2.28.dev1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for polaris_studio-26.2.28.dev1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5de51a9bbff8c521a2d51f742e72a1f8c586ba40da3c3e331369583dd89332f9
MD5 f0f0ff9fe39afff031b6c39267b14281
BLAKE2b-256 cf0c2678fc3b0f4c7389a4eb1e8e205e4a4ead549a22f3f8e635195669d22567

See more details on using hashes here.

File details

Details for the file polaris_studio-26.2.28.dev1-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for polaris_studio-26.2.28.dev1-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 6dce1b1f3e35e73abcbef3c38c99ac7621ae5308aa383b3de9fb521d1411d479
MD5 4bbe3c5a8f5ff0f8864ed2ec387adfe6
BLAKE2b-256 ad489e1d34db5e6460f79803f52fc5801e52f96ac82200ac3d15be7c25aad5e7

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