New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

galah-python

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

galah-python - pypi Package Compare versions

Comparing version
0.9.0
to
0.9.1
+7
-1
galah/common_functions.py

@@ -124,3 +124,5 @@ import requests

max_entries=-1,
offset=None):
offset=None,
verbose=False):
'''Function for getting responses for all of the show_all functions'''

@@ -132,2 +134,6 @@ # get headers

URL,method = get_api_url(column1=column1,column1value=column1value,column2=column2,column2value=column2value)
if verbose:
print("URL for querying:\n\n{}".format(URL))
print("Method: {}".format(method))
print()
if max_entries is not None and offset is not None:

@@ -134,0 +140,0 @@ URL += "?max={}&offset={}".format(max_entries,offset)

+12
-11

@@ -25,2 +25,3 @@ import os

reasons=False,
verbose=False
):

@@ -98,3 +99,3 @@ """

elif atlas in ATLASES:
response = get_response_show_all(column1='called_by',column1value='show_all-assertions',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-assertions',atlas=atlas,headers=headers,verbose=verbose)
else:

@@ -186,3 +187,3 @@ raise ValueError("Atlas {} not taken into account in galah for assertions.".format(atlas))

elif atlas in ATLASES:
response = get_response_show_all(column1='called_by',column1value='show_all-collections',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-collections',atlas=atlas,headers=headers,verbose=verbose)
else:

@@ -207,6 +208,6 @@ raise ValueError("Atlas {} not taken into account in galah for collections.".format(atlas))

if atlas in ["Global","GBIF"]:
response = get_response_show_all(column1='called_by',column1value='show_all-datasets',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-datasets',atlas=atlas,headers=headers,verbose=verbose)
datasets_list = pd.DataFrame.from_dict(response.json()['results'])
elif atlas in ATLASES:
response = get_response_show_all(column1='called_by',column1value='show_all-datasets',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-datasets',atlas=atlas,headers=headers,verbose=verbose)
datasets_list = pd.DataFrame.from_dict(response.json())

@@ -235,3 +236,3 @@ else:

# get data from API
response = get_response_show_all(column1='called_by',column1value='show_all-fields',column2='api_name',column2value='records_fields',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-fields',column2='api_name',column2value='records_fields',atlas=atlas,headers=headers,verbose=verbose)

@@ -268,3 +269,3 @@ # get fields values in a table

# get data from API
response = get_response_show_all(column1='called_by',column1value='show_all-fields',column2='api_name',column2value='spatial_layers',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-fields',column2='api_name',column2value='spatial_layers',atlas=atlas,headers=headers,verbose=verbose)

@@ -352,3 +353,3 @@ # process data

response = get_response_show_all(column1='called_by',column1value='show_all-licences',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-licences',atlas=atlas,headers=headers,verbose=verbose)

@@ -383,3 +384,3 @@ # check to see if this URL is not working

if atlas in ATLASES:
response = get_response_show_all(column1='called_by',column1value='show_all-lists',atlas=atlas,headers=headers,max_entries=-1,offset=0)
response = get_response_show_all(column1='called_by',column1value='show_all-lists',atlas=atlas,headers=headers,max_entries=-1,offset=0,verbose=verbose)
else:

@@ -413,3 +414,3 @@ raise ValueError("Atlas {} not taken into account for lists.".format(atlas))

# get data
response = get_response_show_all(column1='called_by',column1value='show_all-profiles',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-profiles',atlas=atlas,headers=headers,verbose=verbose)

@@ -449,3 +450,3 @@ # create dataframe

# get data
response = get_response_show_all(column1='called_by',column1value='show_all-providers',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-providers',atlas=atlas,headers=headers,verbose=verbose)

@@ -525,3 +526,3 @@ # make data frame

# get data
response = get_response_show_all(column1='called_by',column1value='show_all-reasons',atlas=atlas,headers=headers)
response = get_response_show_all(column1='called_by',column1value='show_all-reasons',atlas=atlas,headers=headers,verbose=verbose)

@@ -528,0 +529,0 @@ # else, do default call

#-------------------------------------------------------
# version
#-------------------------------------------------------
__version__ = "0.9.0"
__version__ = "0.9.1"
Metadata-Version: 2.1
Name: galah-python
Version: 0.9.0
Version: 0.9.1
Summary: Get counts and information on species from many different atlases

@@ -5,0 +5,0 @@ Home-page: https://galah.ala.org.au/Python/

+7
-7

@@ -12,3 +12,3 @@ galah/ALA_keys.json,sha256=Tc2amWI8852cFovenRyw3TlUINMQz2CAgh43piiJfGY,183

galah/common_dictionaries.py,sha256=5lKo8d1FU6TkxoL7szuSy2B3F7Vr7U55hQov9fJi37U,11356
galah/common_functions.py,sha256=6Tu0S7PqYOePkwVl2XDD1PAZvhTk6crdcDk0gSoPB60,12979
galah/common_functions.py,sha256=JjrNp4XdTP6re2MjQTrtLPdjzErCXnGwCMgidSj-ouI,13149
galah/config.ini,sha256=I-CAiFEpCXNWmVK4dpmQH0Y8jAdwgqnA7Smnd3Ihblo,140

@@ -35,5 +35,5 @@ galah/config.ini.default,sha256=I-CAiFEpCXNWmVK4dpmQH0Y8jAdwgqnA7Smnd3Ihblo,140

galah/search_values.py,sha256=QP1WLi3SraIpZsuI8NiJC2UM5a03Uo1rysrLsD1aGiA,2300
galah/show_all.py,sha256=pHkDr9gzMZjzfkJ264humD1uHKwx0cDY0RzizvDtTUI,22562
galah/show_all.py,sha256=G30EcFAUyR_6kTkZ1GOBsdGMggOcr0oD2KxMBxeK94U,22765
galah/show_values.py,sha256=r1mn8T2ulzOf4dm1v0k_vXYkQXQp6K4mi-2tW6fmJbU,6093
galah/version.py,sha256=sZISoV4NxuaLouHwZ0QGjbyppI0-PnriqMCjmmV4l6Y,145
galah/version.py,sha256=D6eTzNaMMCaft6VGxLGP_ZCIgrOafsYcxMgI6TJZcBU,145
galah/.idea/.gitignore,sha256=qeVPxPCLyX2CwEvYb_N9OvhLqe9K2H_Py0ONq2Iuiqo,47

@@ -66,5 +66,5 @@ galah/.idea/galah.iml,sha256=2MMJ7h4gI3HJojp_o8835x5uT1wpAQ41MHIxGm8M86I,336

galah/__pycache__/version.cpython-311.pyc,sha256=o6_8KBvzOUFfqZhx-msq-Gh-Wh4sCpEm-lblf1-beZ4,201
galah_python-0.9.0.dist-info/METADATA,sha256=dgNRS6Vxe_K1riNqwMWYsSNaa87aIADRbBkh-iQkcNQ,710
galah_python-0.9.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
galah_python-0.9.0.dist-info/top_level.txt,sha256=kfWzvRF4Ut3of0Zi7jXK3dzb-mTOEvaXSdtCyXkrQkI,6
galah_python-0.9.0.dist-info/RECORD,,
galah_python-0.9.1.dist-info/METADATA,sha256=nNWOfEZnV2fytBOL8gBUjAkbQd0_cplfdATCuebvVFQ,710
galah_python-0.9.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
galah_python-0.9.1.dist-info/top_level.txt,sha256=kfWzvRF4Ut3of0Zi7jXK3dzb-mTOEvaXSdtCyXkrQkI,6
galah_python-0.9.1.dist-info/RECORD,,