tkinter-map


Nametkinter-map JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/Moustikitos/tkinter-map
SummaryEfficient web map tkinter canvas
upload_time2023-07-28 18:22:34
maintainerTHOORENS Bruno
docs_urlNone
authorTHOORENS Bruno
requires_python
licenseCopyright 2023, THOORENS Bruno, MIT licence
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tkmap widget

**Efficient web map canvas for tkinter.**

[![pypi](https://img.shields.io/pypi/l/tkinter-map.svg)](https://github.com/Moustikitos/tkinter-map/blob/master/LICENSE)

## Support this project

[![Liberapay receiving](https://img.shields.io/liberapay/goal/Toons?logo=liberapay)](https://liberapay.com/Toons/donate)
[![Paypal me](https://img.shields.io/badge/PayPal-00457C?logo=paypal&logoColor=white)](https://paypal.me/toons)

## Install

### Version 0.1

```bash
python -m pip install tkinter-map
```

### Developpment version

```bash
python -m pip install git+https://github.com/Moustikitos/tkinter-map.git@master
```

## Requirement

If you plan to use `Tkmap` widget with map providers sending JPEG-based tiles,
it is recommended to install the `tcl` package
[`tkimg`](https://sourceforge.net/projects/tkimg/). Binaries can be extracted
in `.tcl` directory at the root of `tkmap` package (ie the one containing the
`__init__.py` module).

## Use

```python
>>> from tkmap import widget, model
>>> canvas = widget.Tkmap()
>>> canvas.pack(fill="both", expand=True)
>>> canvas.open(model.OpenStreetMap(), zoom=10, location=(48.645272, 1.841411))
```

![Tkmap widget](https://raw.githubusercontent.com/Moustikitos/tkinter-map/master/img/widget.png)

## Features

- [x] Tile set:
  - [x] Google map
  - [x] Google satellite
  - [x] Open Street map
  - [x] Mapbox satellite
- [x] Custom map
- [x] Zoom, pan and fast pan mouse action
- [x] Latitude longitude pixel location
- [x] Tile caching

### Ongoing work

- [ ] Location format and projection

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Moustikitos/tkinter-map",
    "name": "tkinter-map",
    "maintainer": "THOORENS Bruno",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "moustikitos@gmail.com",
    "keywords": "",
    "author": "THOORENS Bruno",
    "author_email": "moustikitos@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0e/69/57e5a2d877b124e05a7695b77544ded4b86b26b99ab94d34cc5617f27b0c/tkinter-map-0.1.2.tar.gz",
    "platform": null,
    "description": "# Tkmap widget\r\n\r\n**Efficient web map canvas for tkinter.**\r\n\r\n[![pypi](https://img.shields.io/pypi/l/tkinter-map.svg)](https://github.com/Moustikitos/tkinter-map/blob/master/LICENSE)\r\n\r\n## Support this project\r\n\r\n[![Liberapay receiving](https://img.shields.io/liberapay/goal/Toons?logo=liberapay)](https://liberapay.com/Toons/donate)\r\n[![Paypal me](https://img.shields.io/badge/PayPal-00457C?logo=paypal&logoColor=white)](https://paypal.me/toons)\r\n\r\n## Install\r\n\r\n### Version 0.1\r\n\r\n```bash\r\npython -m pip install tkinter-map\r\n```\r\n\r\n### Developpment version\r\n\r\n```bash\r\npython -m pip install git+https://github.com/Moustikitos/tkinter-map.git@master\r\n```\r\n\r\n## Requirement\r\n\r\nIf you plan to use `Tkmap` widget with map providers sending JPEG-based tiles,\r\nit is recommended to install the `tcl` package\r\n[`tkimg`](https://sourceforge.net/projects/tkimg/). Binaries can be extracted\r\nin `.tcl` directory at the root of `tkmap` package (ie the one containing the\r\n`__init__.py` module).\r\n\r\n## Use\r\n\r\n```python\r\n>>> from tkmap import widget, model\r\n>>> canvas = widget.Tkmap()\r\n>>> canvas.pack(fill=\"both\", expand=True)\r\n>>> canvas.open(model.OpenStreetMap(), zoom=10, location=(48.645272, 1.841411))\r\n```\r\n\r\n![Tkmap widget](https://raw.githubusercontent.com/Moustikitos/tkinter-map/master/img/widget.png)\r\n\r\n## Features\r\n\r\n- [x] Tile set:\r\n  - [x] Google map\r\n  - [x] Google satellite\r\n  - [x] Open Street map\r\n  - [x] Mapbox satellite\r\n- [x] Custom map\r\n- [x] Zoom, pan and fast pan mouse action\r\n- [x] Latitude longitude pixel location\r\n- [x] Tile caching\r\n\r\n### Ongoing work\r\n\r\n- [ ] Location format and projection\r\n",
    "bugtrack_url": null,
    "license": "Copyright 2023, THOORENS Bruno, MIT licence",
    "summary": "Efficient web map tkinter canvas",
    "version": "0.1.2",
    "project_urls": {
        "Download": "https://github.com/Moustikitos/tkinter-map/archive/master.zip",
        "Homepage": "https://github.com/Moustikitos/tkinter-map"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e6957e5a2d877b124e05a7695b77544ded4b86b26b99ab94d34cc5617f27b0c",
                "md5": "5911f9c6bfc8afe43b441f5a9efee7e1",
                "sha256": "f1f27862d99c3be4462b597a326f8da27242f779bbf32688bf883d7678c207c9"
            },
            "downloads": -1,
            "filename": "tkinter-map-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5911f9c6bfc8afe43b441f5a9efee7e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12352,
            "upload_time": "2023-07-28T18:22:34",
            "upload_time_iso_8601": "2023-07-28T18:22:34.512101Z",
            "url": "https://files.pythonhosted.org/packages/0e/69/57e5a2d877b124e05a7695b77544ded4b86b26b99ab94d34cc5617f27b0c/tkinter-map-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-28 18:22:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Moustikitos",
    "github_project": "tkinter-map",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tkinter-map"
}
        
Elapsed time: 0.20352s