
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
VRt.Routing is designed to find a route between locations and build time-distance matrices.
This Python package is automatically generated by the OpenAPI Generator project:
Python 3.9+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import vrt_lss_routing
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import vrt_lss_routing
Execute pytest
to run the tests.
Please follow the installation procedure and then run the following:
import vrt_lss_routing
from vrt_lss_routing.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.edge7.veeroute.cloud
# See configuration.py for a list of all supported configuration parameters.
configuration = vrt_lss_routing.Configuration(
host = "https://api.edge7.veeroute.cloud"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): ApiKeyAuth
configuration = vrt_lss_routing.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with vrt_lss_routing.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = vrt_lss_routing.MatrixApi(api_client)
matrix_task = vrt_lss_routing.MatrixTask() # MatrixTask | New request for matrix calculation.
try:
# Time-distance matrix
api_response = api_instance.run_matrix_calculation(matrix_task)
print("The response of MatrixApi->run_matrix_calculation:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling MatrixApi->run_matrix_calculation: %s\n" % e)
All URIs are relative to https://api.edge7.veeroute.cloud
Class | Method | HTTP request | Description |
---|---|---|---|
MatrixApi | run_matrix_calculation | POST /routing/matrix/calculation | Time-distance matrix |
RouteApi | run_route_calculation | POST /routing/route/calculation | Route between points |
SystemApi | check | GET /routing/system/check | Checking the availability |
SystemApi | file | GET /routing/file/{filename} | Getting the documentation |
SystemApi | version | GET /routing/system/version | Getting the service version |
Authentication schemes defined for the API:
FAQs
VRt.Routing [RT]
We found that vrt-lss-routing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.