<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://altair-viz.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
```
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
```
Raw data
{
"_id": null,
"home_page": null,
"name": "altair_tiles",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "altair,basemaps,tiles",
"author": "altair_tiles contributors",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/00/08/afbd3ebc1e0de4b622f19ff86cc86ec73d8c1af2900d7ccf1a1f8b7b1ce9/altair_tiles-0.3.0.tar.gz",
"platform": null,
"description": "<img src=\"https://raw.githubusercontent.com/altair-viz/altair_tiles/main/doc/logo.svg\" height=\"110\"></img>\n\nThis package is in an early development stage. You should expect things to break unannounced until we release a version `1.0.0`.\n\nYou 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/).\n\nYou can find the documentation [here](https://altair-viz.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).\n\n## Installation\n```bash\npip install altair_tiles\n```\n\naltair-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.\n\n## Development\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npip install -e '.[dev]'\n```\n\nRun linters and tests with\n```bash\nhatch run test\n```\n\nBuild and view the documentation with\n```bash\nhatch run doc:clean\nhatch run doc:build\nhatch run doc:serve\n```\n\nTo run a clean build and publish, run\n```bash\nhatch run doc:build-and-publish\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "altair_tiles",
"version": "0.3.0",
"project_urls": {
"Source": "https://github.com/altair-viz/altair_tiles"
},
"split_keywords": [
"altair",
"basemaps",
"tiles"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ab8c1f76ae01359215bf163600242424d11bc0b429be9a887969094b602f918e",
"md5": "04c727998a104f2b140835d43ab18768",
"sha256": "b9ddeb3b85780b0c5309e06f1dfd8470661f47e27575541121d603f825b599b4"
},
"downloads": -1,
"filename": "altair_tiles-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04c727998a104f2b140835d43ab18768",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8694,
"upload_time": "2024-03-10T12:25:16",
"upload_time_iso_8601": "2024-03-10T12:25:16.819953Z",
"url": "https://files.pythonhosted.org/packages/ab/8c/1f76ae01359215bf163600242424d11bc0b429be9a887969094b602f918e/altair_tiles-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0008afbd3ebc1e0de4b622f19ff86cc86ec73d8c1af2900d7ccf1a1f8b7b1ce9",
"md5": "515b058473c0d5e65d29da22db92e1e1",
"sha256": "4e0c3d8233fc6697557171bfaef449fbc7eb10e36a730be48235007f60a5e62a"
},
"downloads": -1,
"filename": "altair_tiles-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "515b058473c0d5e65d29da22db92e1e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9196,
"upload_time": "2024-03-10T12:25:15",
"upload_time_iso_8601": "2024-03-10T12:25:15.354807Z",
"url": "https://files.pythonhosted.org/packages/00/08/afbd3ebc1e0de4b622f19ff86cc86ec73d8c1af2900d7ccf1a1f8b7b1ce9/altair_tiles-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-10 12:25:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "altair-viz",
"github_project": "altair_tiles",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "altair_tiles"
}