altair_tiles-0.4.0
توضیحات
altair_tiles
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | altair_tiles-0.4.0 |
| نام | altair_tiles |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | altair_tiles contributors |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/altair_tiles/ |
| مجوز | - |
<img src="https://raw.githubusercontent.com/altair-viz/altair_tiles/main/doc/logo.svg" height="110"></img>
This package is in an early development stage. You should expect things to break unannounced until we release a version `1.0.0`.
You can use altair_tiles to add tiles from any xyz tile provider such as OpenStreetMap to your Altair chart. It is a counterpart to the amazing [contextily](https://github.com/geopandas/contextily) package which provides this functionality for [matplotlib](https://matplotlib.org/).
You can find the documentation [here](https://vega.github.io/altair_tiles).
For a general introduction to plotting geographic data with Altair, see [Geoshape - Vega-Altair](https://altair-viz.github.io/user_guide/marks/geoshape.html) and [Specifying Data - Vega-Altair](https://altair-viz.github.io/user_guide/data.html#spatial-data).
## Installation
```bash
pip install altair_tiles
```
or
```bash
conda install -c conda-forge altair_tiles
```
altair-tiles requires at least Vega version `5.26.0`. If you use an IDE such as a Jupyter Notebook or VS Code, you usually don't have to worry about this.
## Development
```bash
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
```
Run linters and tests with
```bash
hatch run test
```
Build and view the documentation with
```bash
hatch run doc:clean
hatch run doc:build
hatch run doc:serve
```
To run a clean build and publish, run
```bash
hatch run doc:build-and-publish
```
نیازمندی
| مقدار | نام |
|---|---|
| - | altair |
| - | mercantile |
| - | xyzservices |
| xtr | geopandas; |
| xtr | ghp-import; |
| xtr | hatch; |
| xtr | ipykernel; |
| xtr | ipython; |
| xtr | mypy; |
| xtr | pytest; |
| xtr | ruff>=0.1.4; |
| xtr | vega-datasets; |
| xtr | vl-convert-python; |
| xtr | jupyter-book; |
| xtr | vl-convert-python; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl altair_tiles-0.4.0:
pip install altair_tiles-0.4.0.whl
نصب پکیج tar.gz altair_tiles-0.4.0:
pip install altair_tiles-0.4.0.tar.gz