| Name | SpatialAccessibility JSON |
| Version |
0.0.1
JSON |
| download |
| home_page | None |
| Summary | A Spatial Accessibility Calculation package |
| upload_time | 2024-08-24 14:41:47 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.8 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# SpatialAccessibility Lib
This is a library for spatial accessibility analysis in Python.
## Installation
To install the library, you can use pip:
```
pip install -i https://test.pypi.org/simple/ SpatialAccessibility==0.0.1
```
or if you ara using Colab:
```
!pip install hatchling
!pip install git+https://github.com/wsqstar/SpatialAccessibility.git
```
## Usage
To use the library, you need to have a od matrix of the study area. You can then use the following code to calculate the spatial accessibility:
```python
from SpatialAccessibility import calculate_accessibility
# @title 示例调用
import pandas as pd
Data_df = pd.read_csv("datasets/Data.csv")
Data_df.rename(columns={'O_Popu': 'O_Demand'}, inplace=True)
Current_Accessibility, summary_accessibility = calculate_accessibility(Data_df,print_out=False)
# Load the dataframe
```
Raw data
{
"_id": null,
"home_page": null,
"name": "SpatialAccessibility",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Shiqi Wang <qtec@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/81/12/0ec5b93ef6aa4c16fce00f9f31c9b9a59223d75a014fa3bd405049a44fcd/spatialaccessibility-0.0.1.tar.gz",
"platform": null,
"description": "# SpatialAccessibility Lib\nThis is a library for spatial accessibility analysis in Python. \n\n## Installation\nTo install the library, you can use pip:\n\n```\npip install -i https://test.pypi.org/simple/ SpatialAccessibility==0.0.1\n\n```\nor if you ara using Colab:\n\n```\n!pip install hatchling\n!pip install git+https://github.com/wsqstar/SpatialAccessibility.git\n\n```\n\n## Usage\nTo use the library, you need to have a od matrix of the study area. You can then use the following code to calculate the spatial accessibility:\n```python\nfrom SpatialAccessibility import calculate_accessibility\n# @title \u793a\u4f8b\u8c03\u7528\nimport pandas as pd\nData_df = pd.read_csv(\"datasets/Data.csv\")\n\nData_df.rename(columns={'O_Popu': 'O_Demand'}, inplace=True)\nCurrent_Accessibility, summary_accessibility = calculate_accessibility(Data_df,print_out=False)\n\n# Load the dataframe\n```",
"bugtrack_url": null,
"license": null,
"summary": "A Spatial Accessibility Calculation package",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/wsqstar/SpatialAccessibility",
"Issues": "https://github.com/wsqstar/SpatialAccessibility/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "512f006b446eae3c85c9f44715c624d6ebdc435fbfeb68c7295a5d88037e659b",
"md5": "e3862b97bba392ca536303fb0e1298b5",
"sha256": "5f72bf40b993212f7bb0b0bf84d1775f01ce29d2b3f926a04d0adafa2b1786d3"
},
"downloads": -1,
"filename": "spatialaccessibility-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e3862b97bba392ca536303fb0e1298b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3900,
"upload_time": "2024-08-24T14:41:45",
"upload_time_iso_8601": "2024-08-24T14:41:45.924562Z",
"url": "https://files.pythonhosted.org/packages/51/2f/006b446eae3c85c9f44715c624d6ebdc435fbfeb68c7295a5d88037e659b/spatialaccessibility-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "81120ec5b93ef6aa4c16fce00f9f31c9b9a59223d75a014fa3bd405049a44fcd",
"md5": "70ed1ea2631fe1c3cbe0566c3ba31f39",
"sha256": "c6af74fa1e87311a0dad25001bfe5e701882a0f9a646a9d804f569721e311e31"
},
"downloads": -1,
"filename": "spatialaccessibility-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "70ed1ea2631fe1c3cbe0566c3ba31f39",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3186,
"upload_time": "2024-08-24T14:41:47",
"upload_time_iso_8601": "2024-08-24T14:41:47.612618Z",
"url": "https://files.pythonhosted.org/packages/81/12/0ec5b93ef6aa4c16fce00f9f31c9b9a59223d75a014fa3bd405049a44fcd/spatialaccessibility-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-24 14:41:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wsqstar",
"github_project": "SpatialAccessibility",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "spatialaccessibility"
}