Skip to content

Commit

Permalink
tutu
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Jul 27, 2020
1 parent 57a50ba commit ad73544
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 17 deletions.
1 change: 0 additions & 1 deletion sepal_ui/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
import scripts
8 changes: 5 additions & 3 deletions sepal_ui/scripts/gee.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import ee
import time
from scripts import utils
from scripts import messages as ms

import ee

from sepal_ui.scripts import utils
from sepal_ui.scripts import messages as ms

ee.Initialize()

Expand Down
8 changes: 5 additions & 3 deletions sepal_ui/scripts/run_aoi_selection.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import ee
import time
import sys
import re
import os

import ee
import geemap
from scripts import utils, gee
from scripts import messages as ms

from sepal_ui.scripts import utils, gee
from sepal_ui.scripts import messages as ms

#initialize earth engine
ee.Initialize()
Expand Down
4 changes: 3 additions & 1 deletion sepal_ui/scripts/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import time
import ipyvuetify as v
from datetime import datetime
import os
import glob
from pathlib import Path
import csv

import ipyvuetify as v


def displayIO(widget_alert, message, alert_type='info'):
""" Display the message in a vuetify alert DOM object with specific coloring
Args:
Expand Down
9 changes: 6 additions & 3 deletions sepal_ui/widgetBinding.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import ipyvuetify as v
from functools import partial
from scripts import utils, run_aoi_selection, mapping

import ipyvuetify as v
import geemap
import ee
import ee

from sepal_ui.scripts import utils, run_aoi_selection, mapping


ee.Initialize()

Expand Down
10 changes: 6 additions & 4 deletions sepal_ui/widgetFactory.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import ipyvuetify as v
from markdown import markdown
import ipywidgets as w
from datetime import datetime
from scripts import mapping, utils
from sepal_ui import widgetBinding as wb
import traitlets

import ipyvuetify as v

from toto.sepal_ui import widgetBinding as wb
from toto.sepal_ui.scripts import mapping, utils


sepal_main = '#2e7d32'
sepal_darker = '#005005'

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name = 'sepal_ui',
packages = ['sepal_ui'],
version = '0.1.5-alpha',
version = '0.1.6-alpha',
license='MIT',
description = 'wrapper for ipyvuetify widgets to unify the display of voila dashboards in the sepal plateform',
author = 'Pierrick Rambaud',
author_email = '[email protected]',
url = 'https://github.com/12rambau/sepal_ui',
download_url = 'https://github.com/12rambau/sepal_ui/archive/v_0.1.5-alpha.tar.gz',
download_url = 'https://github.com/12rambau/sepal_ui/archive/v_0.1.6-alpha.tar.gz',
keywords = ['UI', 'Python', 'widget', 'sepal'],
install_requires=[
'haversine',
Expand Down

0 comments on commit ad73544

Please sign in to comment.