Skip to content

Commit

Permalink
geemap code
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgitonga authored Jan 2, 2024
1 parent f40ad1f commit c9a946c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ecoscope/contrib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
"""
External code included for simplified distribution.
"""
__version__ = "0.30.0"


def in_colab_shell():
"""Tests if the code is being executed within Google Colab."""
import sys

if "google.colab" in sys.modules:
return True
else:
return False

0 comments on commit c9a946c

Please sign in to comment.