Skip to main content

| Overview | Download | Instalation | License | Contact |

Symupy

Documentation Status PyPI PyPI - Python Version

A Python API to control and interact with SymuFlow. Please find more information in the documentation

Overview

SymuPy is a python package to perform and deploy traffic simulations within the SymuVia ecosystem via python without much effort.

Download

You can download the latest version in this link or clone this repository at

git clone https://github.com/licit-lab/symupy.git

Installation

There are two possibilities to install this package.

  1. To get the last stable release. You can install this package via anaconda:
conda install -c licit-lab symupy

Note: We recommend to use conda as a default environment for installation. An alternative version is also available via PyPI. But in this version the simulation platform symuflow is not distributed and it is required to be installed externally.

  1. To retrieve the edge version with latest changes. You can install from the source code:

    pip install https://github.com/licit-lab/symupy/archive/master.zip
    

Usage

For more details check the documentation or this repository with examples:

License

This code is licensed via an MIT license

Contact

If you run into problems or bugs, please let us know by creating an issue in this repository.

History

1.0.0

  • SymuPy is now available as a conda package
  • Default microsimulation library SymyVia → SymuFlow
  • Add MonitorApp feature in order to monitor your network
  • New commands added:
    • AlterRoute
    • ``
  • New command line interface available
    • symuflow
    • symymaster

0.5.1 (2021-02-15)

  • Now detection of symuflow is based on default installation of symuflow (via conda)
  • Pining python version

0.5.0 (2020-12-8)

  • XML buffer parser has a new implementation
  • Now you can trace vehicle data inside the connector via connector.vehicles
  • Observer patterns to handle vehicle list
  • Sorted frozen sets to handle subset of vehicles

0.4.2 (2020-11-09)

  • Refactoring configurator
  • Updating constants
  • Changing signature of connector

0.4.1 (2020-10-06)

  • Adding basic tutorials

0.4.0 (2020-10-05)

  • The API is in process to be cleaned.
  • Tests are now launched in pytest

0.3.4 (2020-06-04)

  • Fix bug retrieve text from simulator request

0.3.3 (2020-05-23)

  • Now get_total_travel_distance/get_total_travel_time support list of sensors

0.3.2 (2020-05-23)

  • Fix bug of Network Add Control Zone.

0.3.1 (2020-04-22)

  • Fix bug of Network Control Zone by introducing SymApplyControlZonesEx

0.3.0 (2020-04-22)

  • Now a configurator can be declared at the declaration of a Simulator via multiple parameters
  • You can launch a simulation by passing a string to run_simulation method or register_simulation method
  • State machine has been internally implemented. Some Fixes are required in order to
  • Filenames are now handled by the scenario.
  • Simulation ends now by calling the method SymUnloadCurrentNetworkEx

0.2.5 (2020-04-10)

  • Fixes an error when creating an instance of Simulator
  • Adds documentation to the Simulator class

0.2.4 (2020-04-09)

  • A basic state machine has been implemented to handle simulation status
  • Now documentation is available
  • A configurator has been added to handle execution of the functions SymRunNextStepLiteEx and SymRunNextStepEx

0.2.3 (2020-03-27)

  • Fix bug entries on add/ modify control zone
  • Fix bug now simulationtime accessible before starting simulation

0.2.2 (2020-03-25)

  • Fix bug on vehicle time creation

0.2.1 (2020-03-20)

  • Adding control zones
  • Creating vehicles with routes
  • Extract indicators such as TTT, TTD and SPD for zones
  • Makefile now tests distribution

0.2.0 (2020-02-20)

  • Standardizing python package
  • Adding documentation
  • Makefile is now available for testing, cleaning, building, installing

0.1.1 (2019-06-14)

  • Small fixes on basic interfacing

0.1.0 (2019-06-19)

  • First release on PyPI.

Metadata

Release files for symupy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for symupy 1.0.0
File Size Uploaded Provenance Actions
symupy-1.0.0.tar.gz 111.4 kB Without provenance Details for symupy-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for symupy 1.0.0
File Interpreter ABI Platform Actions
symupy-1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for symupy-1.0.0-py2.py3-none-any.whl

Total release size: 182.3 kB

Release files / symupy-1.0.0.tar.gz

Download URL symupy-1.0.0.tar.gz
Size 111.4 kB
Tags Source
SHA-256 checksum
How to use checksums
67089478ea44202776078ef467af274d91f8000762b59fc52e7ecba298bcde8f
BLAKE2b-256 checksum
How to use checksums
da108897eb32e5b979c39d2b29c2ff62a71a3152281c35dd05b9c7281a9acb02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

Release files / symupy-1.0.0-py2.py3-none-any.whl

Download URL symupy-1.0.0-py2.py3-none-any.whl
Size 71.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4370e386a8c4eb32fcfca0a2b78ee52d0468cdaa55307fae8a893b8e15e572bd
BLAKE2b-256 checksum
How to use checksums
73e6aca1db1f62be430bf9588d2e7d3ded6a73827dc64250359523c1c2bfad36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

Security for symupy 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page