classes package¶
Submodules¶
classes.adt_class module¶
-
class
classes.adt_class.DynamicArray¶ Bases:
objectDynamic array class creator
-
append(obj)¶ Add object to end of the array
-
insert(k, value)¶ Insert value at index k, shifting subsequent values rightward
-
remove(value)¶ Remove first occurrence of value(or raise ValueError)
-
-
class
classes.adt_class.Multiset¶ Bases:
objectCLass for representing multiset
-
add(value)¶ Adds the value to multiset
-
delete(value)¶ Deletes certain value
-
remove_all()¶ Removes all inside multiset
-
-
class
classes.adt_class.Node(item, next=None)¶ Bases:
objectClass for representing node
classes.link_class module¶
classes.map_class module¶
-
class
classes.map_class.Map(data)¶ Bases:
object-
ATTR= '<a href="https://github.com/openplanetary/opm/wiki/OPM-Basemaps" target="blank">OpenPlanetaryMap</a>'¶
-
TILE= 'https://cartocdn-gusc.global.ssl.fastly.net/opmbuilder/api/v1/map/named/opm-mars-basemap-v0-1/all/{z}/{x}/{y}.png'¶
-
add_circle_marker(location, popup, fill_color, color, radius)¶ Adds marker to certain position on map
-
add_lines(data)¶ Connects dots on the map with single line
-
add_popup_image(img_link, width, height, location_tuple)¶ Adds image to the marker
-
static
need_to_update_map(filename)¶ Checks map for updates
-
save_map(filename)¶ Saves file
-