Install with:
pip install git+https://github.com/psrc/psrcelmerpy.gitIf you had installed previously and need to update to the current version:
pip install --force-reinstall git+https://github.com/psrc/psrcelmerpy.gitimport psrcelmerpy
e_conn = psrcelmerpy.ElmerConn()import psrcelmerpy
eg_conn = psrcelmerpy.ElmerGeoConn()e_conn = psrcelmerpy.ElmerConn()
df = e_conn.get_table(schema='ofm', table_name='publication_dim')
print(df)df_count = e_conn.get_query('select count(*) as rec_count from ofm.publication_dim')
print(df_count)In this example we are using layer "micen" (Manufacturing/Industrial Centers)
eg_conn = psrcelmerpy.ElmerGeoConn()
gdf = eg_conn.read_geolayer('micen')eg_conn = psrcelmerpy.ElmerGeoConn()
f_classes = eg_conn.list_feature_classes()