{"id":13813804,"url":"https://github.com/brunsgaard/asyncio-pysimplesoap","last_synced_at":"2025-05-15T01:31:47.100Z","repository":{"id":32904518,"uuid":"36499321","full_name":"brunsgaard/asyncio-pysimplesoap","owner":"brunsgaard","description":"Python Simple SOAP client with asyncio support","archived":false,"fork":true,"pushed_at":"2017-03-06T10:18:13.000Z","size":819,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-19T08:47:17.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pysimplesoap/pysimplesoap","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunsgaard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-29T11:06:13.000Z","updated_at":"2022-03-09T14:31:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brunsgaard/asyncio-pysimplesoap","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunsgaard%2Fasyncio-pysimplesoap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunsgaard%2Fasyncio-pysimplesoap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunsgaard%2Fasyncio-pysimplesoap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunsgaard%2Fasyncio-pysimplesoap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunsgaard","download_url":"https://codeload.github.com/brunsgaard/asyncio-pysimplesoap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256198,"owners_count":22040248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:01:31.161Z","updated_at":"2025-05-15T01:31:45.019Z","avatar_url":"https://github.com/brunsgaard.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"As of 2017 [Zeep](http://docs.python-zeep.org) is the better option for async SOAP in Python.\n\n\nAsyncio PySimpleSOAP\n====================\nThe `aiopss` package is a fork of PySimpleSoap v1.16 and offers a SOAP client\nfor asyncio [PEP-3146](https://www.python.org/dev/peps/pep-3156).\n\nThe fork has been modified by replacing internal functions with `coroutines`\nand [aiohttp](http://aiohttp.readthedocs.org/) has been used to develop the\nunderlying transport layer.\n\nBelow is shown an example of how to use the client, it is pretty straight\nforward. For more documentation consult the\n[PySimpleSoap](https://code.google.com/p/pysimplesoap/) project.\n\nNote that there is a \n[strange bug in PySimpleSoap with python3](https://github.com/pysimplesoap/pysimplesoap/issues/70),\nwhen collections are returned.\n\n```python\nfrom aiopss.client import AsyncSoapClient\nfrom datetime import datetime\nimport asyncio\n\n\n@asyncio.coroutine\ndef example():\n    client = AsyncSoapClient(\n        wsdl=\"http://example.com/soap.wsdl\",\n        location=\"http://localhost:5000/testendpoint\"\n    )\n\n    yield from client.connect()\n    response = yield from client.receiveSMSStatuses(\n        username='jonas',\n        password='password',\n        statuses=[\n            {'Status':\n                {\n                    'messageID': 1,\n                    'countryCode': 45,\n                    'number': '26159917',\n                    'latestStatus': datetime.today(),\n                    'statusCode': '1',\n                    'errorCode': '2',\n                }\n            }\n        ]\n    )\n    print(response)\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(example())\nloop.close()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunsgaard%2Fasyncio-pysimplesoap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunsgaard%2Fasyncio-pysimplesoap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunsgaard%2Fasyncio-pysimplesoap/lists"}