File: __init__.py

package info (click to toggle)
python-contextily 1.5.2%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 944 kB
  • sloc: python: 1,092; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
`contextily`: create context with map tiles in Python
"""

import xyzservices.providers as providers
from .place import Place, plot_map
from .tile import *
from .plotting import add_basemap, add_attribution

from importlib.metadata import PackageNotFoundError, version

try:
    __version__ = version("contextily")
except PackageNotFoundError:  # noqa
    # package is not installed
    pass