Skip to main content

bowmark-web-stubs

PEP 561 type stubs for bowmark-web — the whole Bowmark capability surface, typed.

pip install bowmark-web bowmark-web-stubs
async with session() as bm:
    found = await bm.providers.gymshark.search({"query": "hoodie"})
    #                                  ^ your editor knows every provider, every
    #                                    function, every argument and every field

Why it is a separate distribution

PEP 561 is explicit: "The name of the stub package MUST follow the scheme foopkg-stubs." So this is mandated rather than chosen, and PyPI has no rename, alias or redirect mechanism to undo it with.

bowmark-web still ships py.typed, so installing only the client keeps the client's own types and loses only the catalog.

This distribution is marked partial, which matters: without that marker a checker resolving bowmark_web-stubs stops looking at bowmark_web altogether, and every private submodule becomes unresolvable to anyone who imports one.

What is in it, and where it comes from

bowmark_web-stubs/__init__.pyi is generated — from the same LibraryManifest that produces the TypeScript declarations in @bowmark/web. One manifest, one refusal rule, two languages, so the two clients cannot come to disagree about what the library offers. A gate in the source repo asserts the parity on every change.

Everything the library can do is typed in these stubs, and listed by website in covered-functions.txt, regenerated daily. GET https://api.bowmark.ai/v1/library?query=<task> searches it by task.

What it deliberately does NOT type

Some functions are absent, on purpose. A function whose declared argument is a bare destructuring pattern with no field types, or whose signature names a type its own documentation never defines, gets a comment in place of a signature naming it and saying why. Those functions are real and callable at runtime — the stub withholds only the compile-time claim, because we have none to make. A (*args: Any) -> Any stand-in would pass every check and tell you nothing.

Most sites are not enumerated. bowmark.providers.gymshark.search(…) works and is not in these stubs. Type checkers will not complete them; the client sends them happily.

Everything leans toward accepting. An argument-position list is Sequence[T], a number is float (so an int is fine), and anything the schema could not model is Any. A stub that refuses a correct argument is a red squiggle you cannot turn off, and that is a worse failure than one round trip.

Versioning

bowmark-web, bowmark-web-stubs and @bowmark/web on npm are released together and always carry the same version. A skew would mean one ecosystem is on an older contract.

Metadata

Release files for bowmark-web-stubs 1.57.0

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

Source distribution (sdist)

Source distribution for bowmark-web-stubs 1.57.0
File Size Uploaded Provenance Actions
bowmark_web_stubs-1.57.0.tar.gz 1.3 MB Without provenance Details for bowmark_web_stubs-1.57.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bowmark-web-stubs 1.57.0
File Interpreter ABI Platform Actions
bowmark_web_stubs-1.57.0-py3-none-any.whl Python 3 none any Details for bowmark_web_stubs-1.57.0-py3-none-any.whl

Total release size: 2.6 MB

Release files / bowmark_web_stubs-1.57.0.tar.gz

Download URL bowmark_web_stubs-1.57.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
34ae5bc5fa7a266912cf1c1a5874ed85c8cdcb94808ee867edfe04587b7d7fd4
BLAKE2b-256 checksum
How to use checksums
6974e1e09c994fda9b5012bee3ec4ff50c113aad43452695503e5ea1eddbaf8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bowmark_web_stubs-1.57.0-py3-none-any.whl

Download URL bowmark_web_stubs-1.57.0-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cf59a39bf0e12940c4744d5640be9327068dc0d2daf0dabe10c1b48e9a31d4bf
BLAKE2b-256 checksum
How to use checksums
cd4e17dc7de9f85a921bf344e16051fa4531e2caf76a3f33648a78a9ae975f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for bowmark-web-stubs 1.57.0

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.

Release history Release notifications | RSS feed

This release

1.57.0 This release

2 release files No provenance

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