Skip to content

Commit

Permalink
name chanegd to opdm-api and some useless code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjan.vilgo committed Apr 20, 2021
1 parent c04848f commit bcbc877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions OPDM/OPDM_SOAP_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import urllib3



def get_element(element_path, xmltree):
element = xmltree.find(element_path, namespaces = xmltree.nsmap)
return element
Expand All @@ -53,12 +52,6 @@ def add_xml_elements(xml_string, parent_element_url, metadata_dict):
return etree.tostring(xmltree, pretty_print=True)


def xml_to_dict(xml_tree, xml_atrribs = False):

xml_string = etree.tostring(xml_tree)
xml_dict = xmltodict.parse(xml_string, xml_attribs = xml_atrribs)


class create_client():

def __init__(self, server, username="", password="", debug=False, verify=False):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
long_description = fh.read()

setup(
name='opdm',
name='opdm-api',
version=versioneer.get_version().split("+")[0],
cmdclass=versioneer.get_cmdclass(),
packages=['OPDM'],
Expand All @@ -17,7 +17,7 @@
author_email='kristjan.vilgo@gmail.com',
description='ENTSO-E OPDM client SOAP API implementation in python',
install_requires=[
"requests", "zeep", 'urllib3', 'lxml'
"requests", "zeep", 'urllib3', 'lxml', 'aniso8601',
],
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit bcbc877

Please sign in to comment.