Skip to main content

Python package which includes Opentrafficsim (OTS)

Project description

opentrafficsim

This package provides opentrafficsim (OTS) so that it can be integrated into python porjects.

Installation

Install from PyPi:

$ pip install opentrafficsim

Note: You cannot use this package as a git dependency, because OTS must be built before packaging and poetry is currently not able to do this.

Usage

The following code, will make OTS available to your python program:

import opentrafficsim

This will populate the OTS_HOME and OTS_VERSION environment variables accordingly. OTS_HOME follows the layout of the opentrafficsim repo. So you will find the distribution JAR under $OTS_HOME/ots-distribution/target/ots-distribution-$OTS_VERSION.jar.

Update

  1. Update the git submodule to the new version
  2. Install dev dependencies: poetry install --with dev
  3. Bump to new version poetry run bump-my-version <patch|minior|major (choose the appropriate version upgrade)
  4. push to repo and publish through pipeline

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

opentrafficsim-1.7.5.tar.gz (13.8 MB view details)

Uploaded Source

Built Distribution

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

opentrafficsim-1.7.5-py3-none-any.whl (13.8 MB view details)

Uploaded Python 3

File details

Details for the file opentrafficsim-1.7.5.tar.gz.

File metadata

  • Download URL: opentrafficsim-1.7.5.tar.gz
  • Upload date:
  • Size: 13.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.23 Linux/5.15.0-87-generic

File hashes

Hashes for opentrafficsim-1.7.5.tar.gz
Algorithm Hash digest
SHA256 4abcee60fc90105fcbe90c6c9a62b092391cb1b15c5c62da694528a952f76e03
MD5 bb9cd573a92ddcbe4a88a9640a565ecb
BLAKE2b-256 7c8ed0c8a53ed6f38908a15171acdd090ae03596a2cb9fa31e18b486b612365a

See more details on using hashes here.

File details

Details for the file opentrafficsim-1.7.5-py3-none-any.whl.

File metadata

  • Download URL: opentrafficsim-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 13.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.23 Linux/5.15.0-87-generic

File hashes

Hashes for opentrafficsim-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5647d91ed75499cee25f1b9d6610ed6645ae0a2c1f209e5487df3365dee1a85b
MD5 916350456b3c6181558a60ff235897c2
BLAKE2b-256 24de8268b169fa0f092c4b3468a829dcd302334b5fea82384110b32d90c4568b

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