In .net its creating classes auto with wsdl. How can i do something like this generating code with python ?
I heard the ZSI module, but when i do
pip install ZSI
its returning with error:
(venv) selman@selman-monster:~/PycharmProjects/e-fatura-entegrasyon$ pip install ZSI
Collecting ZSI
Using cached ZSI-2.0-rc3.tar.gz (1.1 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fa959zz8
cwd: /tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py", line 30
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bb/3b/b2053649e156f2a428cb57999d0361686d8f0f6841987588bef3c5ea0c8c/ZSI-2.0-rc3.tar.gz#sha256=1699ff8f2e0b2f7d6e2a03f8f24f59c9649ce3737f1ed851995efdc6c83e6c71 (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached ZSI-2.0-rc2.tar.gz (410 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-iv_rerb0
cwd: /tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py", line 30
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7a/de/eb6337bd40432ddb732de4c372a7e47bf4e706337d1274eee5d3a26eb58b/ZSI-2.0-rc2.tar.gz#sha256=289c02887250592132416d7d4113140bedd0cfa5a96281a34774ec0a60cec140 (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached ZSI-2.0-rc1.tar.gz (622 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-si5tpto4
cwd: /tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py", line 28
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/28/ee/9451d1d8ea0387893ac84b898afcaf37e783be1c0c6b4467f962ebdcdbd4/ZSI-2.0-rc1.tar.gz#sha256=f448093df75c27da8310b30611c5f1e55c356b934459214a408ceb2306f6dcad (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement ZSI (from versions: 2.0rc1, 2.0rc2, 2.0rc3)
ERROR: No matching distribution found for ZSI