Skip to main content

This package contains the system configuration bundle for Polywrap Client.

Bundled Wraps

wrap

description

http

To make HTTP requests

http_resolver

To resolve URIs from HTTP server

wrapscan_resolver

To resolve URIs from wrapscan.io

ipfs_http_client

To add or retrieve items from IPFS

ipfs_resolver

To fetch wraps from IPFS

github_resolver

To fetch wraps from github repo

file_system

To perform file system operations

file_system_resolver

To fetch wraps from File System

Quickstart

Imports

>>> from polywrap_client_config_builder import PolywrapClientConfigBuilder
>>> from polywrap_sys_config_bundle import sys_bundle
>>> from polywrap_client import PolywrapClient
>>> from polywrap_core import Uri, UriPackage

Configure

>>> config = PolywrapClientConfigBuilder().add_bundle(sys_bundle).build()
>>> client = PolywrapClient(config)

Invoke bundled http plugin

>>> response = client.invoke(
...     uri=Uri.from_str("wrapscan.io/polywrap/http@1.0"),
...     method="get",
...     args={"url": "https://www.google.com"},
... )
>>> response.get("status")
200

Resolve URI with bundled wrapscan resolver

>>> response = client.try_resolve_uri(
...     Uri("wrapscan.io", "polywrap/uri-resolver@1.0"),
... )
>>> assert isinstance(response, UriPackage)

Metadata

Release files for polywrap-sys-config-bundle 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polywrap-sys-config-bundle 0.1.2
File Size Uploaded Provenance Actions
polywrap_sys_config_bundle-0.1.2.tar.gz 190.9 kB Without provenance Details for polywrap_sys_config_bundle-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polywrap-sys-config-bundle 0.1.2
File Interpreter ABI Platform Actions
polywrap_sys_config_bundle-0.1.2-py3-none-any.whl Python 3 none any Details for polywrap_sys_config_bundle-0.1.2-py3-none-any.whl

Total release size: 385.1 kB

Release files / polywrap_sys_config_bundle-0.1.2.tar.gz

Download URL polywrap_sys_config_bundle-0.1.2.tar.gz
Size 190.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ddfb6e6b6dad5ba2ff7c38dd38aee4e950d2b39bcfcf63c29de63a6666973408
BLAKE2b-256 checksum
How to use checksums
567bd4a79c210d4753c77370efa7b79c569774394fea475f2b9624840ba26ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.13 Darwin/22.6.0

Release files / polywrap_sys_config_bundle-0.1.2-py3-none-any.whl

Download URL polywrap_sys_config_bundle-0.1.2-py3-none-any.whl
Size 194.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58e7ced8e6089bbf47712a5f114a1e31f375a7838a85f3e136f62abe7ab5f8ee
BLAKE2b-256 checksum
How to use checksums
8a6fdfc1969539e42fe28bdfff98a7fa4eefd5ff1b1ef1780d808968994afbcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.13 Darwin/22.6.0

Security for polywrap-sys-config-bundle 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page