{"id":13572949,"url":"https://github.com/polywrap/python-client","last_synced_at":"2025-06-18T03:04:44.659Z","repository":{"id":61817628,"uuid":"551874653","full_name":"polywrap/python-client","owner":"polywrap","description":"Python polywrap client","archived":false,"fork":false,"pushed_at":"2024-03-21T04:16:40.000Z","size":3359,"stargazers_count":4,"open_issues_count":19,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-20T01:11:37.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://polywrap-client.rtfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polywrap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-15T09:34:04.000Z","updated_at":"2024-04-09T13:34:00.000Z","dependencies_parsed_at":"2024-11-05T07:42:01.955Z","dependency_job_id":null,"html_url":"https://github.com/polywrap/python-client","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/polywrap/python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fpython-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fpython-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fpython-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fpython-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polywrap","download_url":"https://codeload.github.com/polywrap/python-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polywrap%2Fpython-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260477914,"owners_count":23015063,"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-01T15:00:25.077Z","updated_at":"2025-06-18T03:04:39.644Z","avatar_url":"https://github.com/polywrap.png","language":"Python","readme":"![Public Release Announcement](https://user-images.githubusercontent.com/5522128/177473887-2689cf25-7937-4620-8ca5-17620729a65d.png)\n\n# Polywrap Python Client\n\n[Polywrap](https://polywrap.io) is a protocol for building and executing composable wrappers for any web3 protocol. Polywrap Python Client is a Python library that allows you to easily execute Polywrap Wrappers.\n\n## Quickstart\n\n### Install the package\n\n```bash\npip install polywrap\n```\n\n### Import necessary packages\n\n```python\nfrom polywrap import (\n    Uri,\n    ClientConfig,\n    PolywrapClient,\n    PolywrapClientConfigBuilder,\n    sys_bundle,\n    web3_bundle\n)\n```\n\n### Configure and Instantiate the client\n```python\nbuilder = (\n    PolywrapClientConfigBuilder()\n    .add_bundle(sys_bundle)\n    .add_bundle(web3_bundle)\n)\nconfig = builder.build()\nclient = PolywrapClient(config)\n```\n\n### Invoke a wrapper\n\n```python\nuri = Uri.from_str(\n    'wrapscan.io/polywrap/ipfs-http-client'\n)\nargs = {\n    \"cid\": \"QmZ4d7KWCtH3xfWFwcdRXEkjZJdYNwonrCwUckGF1gRAH9\",\n    \"ipfsProvider\": \"https://ipfs.io\",\n}\nresult = client.invoke(uri=uri, method=\"cat\", args=args, encode_result=False)\nassert result.startswith(b\"\u003csvg\")\n```\n\n## Working Features\n\n[Here](https://github.com/polywrap/client-test-harness) you can see which features have been implemented on each language client, and make the decision of which one to use for your project.\n\n## Feedback \u0026 Contributions\nBugs and feature requests can be made via [GitHub issues](https://github.com/polywrap/python-client/issues). Be aware that these issues are not private, so take care when providing output to make sure you are not disclosing any personal informations.\n\n[Pull requests](https://github.com/polywrap/python-client/pulls) are also welcome via git.\n\nNew contributors should read the [contributor guide](./CONTRIBUTING.rst) to get started.\nFolk who already have experience contributing to open source projects may not need the full guide but should still use the pull request checklist to make things easy for everyone.\nPolywrap Python Client contributors are asked to adhere to the [Python Community Code of Conduct](https://www.python.org/psf/conduct/).\n\n# Contact Us:\n\n[Join our discord](https://discord.polywrap.io) and ask your questions right away!\n\n# Resources\n\n- [Polywrap Documentation](https://docs.polywrap.io)\n- [Python Client Documentation](https://polywrap-client.rtfd.io)\n- [Client Readiness](https://github.com/polywrap/client-readiness)\n- [Discover Wrappers](https://wrapscan.io)\n- [Polywrap Discord](https://discord.polywrap.io)\n","funding_links":[],"categories":["Clients"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolywrap%2Fpython-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolywrap%2Fpython-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolywrap%2Fpython-client/lists"}