Skip to main content

pycitysim

City Simulator and OpenCity databases Python SDK

安装 Installation

pip install pycitysim

安装 grpcio 的过程中,如果出现: When installing grpcio, you may encounter the following error:

pip install fails with "No such file or directory: 'c++': 'c++'"

代表缺少 C++相关依赖。在 Debian 镜像上,执行: It means that C++ related dependencies are missing. On the Debian image, execute:

sudo apt install build-essential

在 alpine 镜像上,执行: On the alpine image, execute:

apk add g++

主要子库 Sub-packages

  • pycitysim.apphub: OpenCity后端交互库。OpenCity backend interaction package.
  • pycitysim.map: 地图数据操作库。Map data operation package.
  • pycitysim.routing: 路径规划操作库。Routing operation package.
  • pycitysim.sim: 模拟器gRPC接入客户端。City Simulator gRPC access client.
  • pycitysim.urbankg: 城市知识图谱访问模块。City knowledge graph access module.

示例代码

访问 examples 查看示例代码。

Metadata

Release files for pycitysim 1.21.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 pycitysim 1.21.0
File Size Uploaded Provenance
pycitysim-1.21.0.tar.gz 37.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pycitysim 1.21.0
File Interpreter ABI Platform
pycitysim-1.21.0-py3-none-any.whl Python 3 none any Details

Total release size: 87.3 kB

Release files / pycitysim-1.21.0.tar.gz

Download URL pycitysim-1.21.0.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3eab98525dec3e2973edaea80ff446f1d4db2406d90d4a066a2a15195b9c85a3
BLAKE2b-256 checksum
How to use checksums
2106449ec5dd2c92c4feb7308157255c53771214e590569ccfe9353288a8ee8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / pycitysim-1.21.0-py3-none-any.whl

Download URL pycitysim-1.21.0-py3-none-any.whl
Size 49.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c773e70f0703de1dc7105ef3f5b5852b566e1bef74bfc07f98d596e6c1cc9be
BLAKE2b-256 checksum
How to use checksums
e44d8510c17b41fc5ca2e9003d7b83c21d7a9eb17a183e133712926cfe25f7a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for pycitysim 1.21.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.

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