pycitysim


Namepycitysim JSON
Version 1.12.2 PyPI version JSON
download
home_pageNone
SummaryCity Simulator and OpenCity Databases Python SDK
upload_time2024-04-08 03:54:03
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2024 FIBLAB Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords city simulation database sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycitysim

City Simulator and OpenCity databases Python SDK

## 安装 Installation

```shell
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:

```shell
sudo apt install build-essential
```

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

```shell
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](https://github.com/tsinghua-fib-lab/pycitysim/tree/main/examples) 查看示例代码。

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pycitysim",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "city, simulation, database, sdk",
    "author": null,
    "author_email": "Jun Zhang <zhangjun990222@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ff/7a/9d2d702f86578d4a9829e492e4d25df681ec9d19567ef5f77c29f830b36e/pycitysim-1.12.2.tar.gz",
    "platform": null,
    "description": "# pycitysim\n\nCity Simulator and OpenCity databases Python SDK\n\n## \u5b89\u88c5 Installation\n\n```shell\npip install pycitysim\n```\n\n\u5b89\u88c5 grpcio \u7684\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u51fa\u73b0\uff1a\nWhen installing grpcio, you may encounter the following error:\n\n```\npip install fails with \"No such file or directory: 'c++': 'c++'\"\n```\n\n\u4ee3\u8868\u7f3a\u5c11 C++\u76f8\u5173\u4f9d\u8d56\u3002\u5728 Debian \u955c\u50cf\u4e0a\uff0c\u6267\u884c\uff1a\nIt means that C++ related dependencies are missing. On the Debian image, execute:\n\n```shell\nsudo apt install build-essential\n```\n\n\u5728 alpine \u955c\u50cf\u4e0a\uff0c\u6267\u884c\uff1a\nOn the alpine image, execute:\n\n```shell\napk add g++\n```\n\n## \u4e3b\u8981\u5b50\u5e93 Sub-packages\n\n- pycitysim.apphub: OpenCity\u540e\u7aef\u4ea4\u4e92\u5e93\u3002OpenCity backend interaction package.\n- pycitysim.map: \u5730\u56fe\u6570\u636e\u64cd\u4f5c\u5e93\u3002Map data operation package.\n- pycitysim.routing: \u8def\u5f84\u89c4\u5212\u64cd\u4f5c\u5e93\u3002Routing operation package.\n- pycitysim.sim: \u6a21\u62df\u5668gRPC\u63a5\u5165\u5ba2\u6237\u7aef\u3002City Simulator gRPC access client.\n- pycitysim.urbankg: \u57ce\u5e02\u77e5\u8bc6\u56fe\u8c31\u8bbf\u95ee\u6a21\u5757\u3002City knowledge graph access module.\n\n## \u793a\u4f8b\u4ee3\u7801\n\n\u8bbf\u95ee [examples](https://github.com/tsinghua-fib-lab/pycitysim/tree/main/examples) \u67e5\u770b\u793a\u4f8b\u4ee3\u7801\u3002\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 FIBLAB  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "City Simulator and OpenCity Databases Python SDK",
    "version": "1.12.2",
    "project_urls": {
        "Documentation": "https://pycitysim.sim.fiblab.net/pycitysim",
        "Homepage": "https://github.com/tsinghua-fib-lab/pycitysim",
        "Issues": "https://github.com/tsinghua-fib-lab/pycitysim/issues",
        "Repository": "https://github.com/tsinghua-fib-lab/pycitysim.git"
    },
    "split_keywords": [
        "city",
        " simulation",
        " database",
        " sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8dae12ef2fa0e0c08cea7c3deda17ee564b293d6eb8bfc4c11f6aee43fccaef0",
                "md5": "3f4df4843814939e376af728071d7619",
                "sha256": "5148b84185f3b5f50653548eb2c5ee90d8c00892d032befe036e2f0f136fa61f"
            },
            "downloads": -1,
            "filename": "pycitysim-1.12.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f4df4843814939e376af728071d7619",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 34380,
            "upload_time": "2024-04-08T03:54:01",
            "upload_time_iso_8601": "2024-04-08T03:54:01.507040Z",
            "url": "https://files.pythonhosted.org/packages/8d/ae/12ef2fa0e0c08cea7c3deda17ee564b293d6eb8bfc4c11f6aee43fccaef0/pycitysim-1.12.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff7a9d2d702f86578d4a9829e492e4d25df681ec9d19567ef5f77c29f830b36e",
                "md5": "eb83ffaafff42b03ce1a69bbce15c0a5",
                "sha256": "63cfb1fa3554768da0e9b806612cb44230e788ade42013f4c8ebb1ddc1522fb2"
            },
            "downloads": -1,
            "filename": "pycitysim-1.12.2.tar.gz",
            "has_sig": false,
            "md5_digest": "eb83ffaafff42b03ce1a69bbce15c0a5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 25356,
            "upload_time": "2024-04-08T03:54:03",
            "upload_time_iso_8601": "2024-04-08T03:54:03.395549Z",
            "url": "https://files.pythonhosted.org/packages/ff/7a/9d2d702f86578d4a9829e492e4d25df681ec9d19567ef5f77c29f830b36e/pycitysim-1.12.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-08 03:54:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tsinghua-fib-lab",
    "github_project": "pycitysim",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pycitysim"
}
        
Elapsed time: 0.27270s