Skip to main content

cycarla-backend is a Python Flask server that serves as the backend to CYCARLA

The three components of Cycarla are:

  1. CARLA - An open-source simulator for autonomous driving research.
  2. cycarla_backend - This Python Flask server which links the frontend to CARLA.
  3. cycarla_frontend - A Javascript (Next.js) front-end which presents a web-based interface from your browser.

Installation

Supported platforms: Windows 10, Ubuntu 22.04. Other versions can work if you install Python 3.10 and pipx.

Windows 10-specific Prerequisites

If you are on Ubuntu 22.04, skip ahead to the next section. Windows needs a couple of things to be set up beforehand.

1. Install Python 3.10

Scroll to the bottom and download the 'Windows Installer (64-bit)'.

At the installer, make sure to enable the bottom option "Add python.exe to PATH"

2. Install Scoop

Install using pipx

cycarla-backend is a CLI package that is developed with poetry and published on pypi.

We'll use pipx to run it in an isolated python environment.

Install pipx

Follow relevant instructions for your platform

Install cycarla-backend using pipx

pipx install cycarla-backend

Note the dash (minus) sign.

Run App

In your terminal (Ubuntu) or Powershell (Windows):

cycarla_backend

Note the underscore.

On Windows, Allow firewall permissions when prompted.r Cycoutput including:

 * Running on http://127.0.0.1:9000

This app will receive web requests from the CYCARLA Frontend which should run at localhost port 3000, and communicate with the Python API of a local CARLA simulator whose default port is 2000.

You should start the CARLA and frontend applications next, if they haven't been started already.

See CYCARLA top-level project README for more information

Compatibility

  • Currently, Windows 10 and Ubuntu 22.04 are the officially supported OSes for the CYCARLA project. Mac is not supported because CARLA can't run on it.
  • It is possible to run CARLA and this backend on two different computers, but it is very slow (~5 FPS).

Metadata

Release files for cycarla-backend 0.1.12

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

Source distribution (sdist)

Source distribution for cycarla-backend 0.1.12
File Size Uploaded Provenance Actions
cycarla_backend-0.1.12.tar.gz 155.7 kB Without provenance Details for cycarla_backend-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cycarla-backend 0.1.12
File Interpreter ABI Platform Actions
cycarla_backend-0.1.12-py3-none-any.whl Python 3 none any Details for cycarla_backend-0.1.12-py3-none-any.whl

Total release size: 320.7 kB

Release files / cycarla_backend-0.1.12.tar.gz

Download URL cycarla_backend-0.1.12.tar.gz
Size 155.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e24002c724522c055adfe18fe4ed12795d771cd8f2f955941b52e131431291e9
BLAKE2b-256 checksum
How to use checksums
8ebab8629a81e6c43f8fa0281bc1dc3e44c698f613d54e1c9b1b68da8c256e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.11 Windows/10

Release files / cycarla_backend-0.1.12-py3-none-any.whl

Download URL cycarla_backend-0.1.12-py3-none-any.whl
Size 164.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
028f90daa511f58d292b5153421bfb15038cb1bc72fcf525b5f1d0da6aadeef6
BLAKE2b-256 checksum
How to use checksums
80398358fa36796154981f664735cb83885e1dede8102a4eeb1999f76f49b56e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.11 Windows/10

Security for cycarla-backend 0.1.12

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