GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python/src/useknockout/__init__.py at main · useknockout/python Expand file tree/ Copy path__init__.pyMore file actions 47 lines (38 loc) · 1.02 KB / Copy path__init__.pyFile metadata and controls47 lines (38 loc) · 1.02 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 """ useknockout — state-of-the-art background removal API. Quickstart: from useknockout import Knockout client = Knockout(token="kno_public_beta_4d7e9f1a3c5b2e8d6a9f7c1b3e5d8a2f") png_bytes = client.remove("photo.jpg") open("out.png", "wb").write(png_bytes) Async: import asyncio from useknockout import AsyncKnockout async def main(): async with AsyncKnockout(token="...") as client: png = await client.remove("photo.jpg") open("out.png", "wb").write(png) asyncio.run(main()) """ from useknockout._version import __version__ from useknockout.client import Knockout from useknockout.async_client import AsyncKnockout from useknockout.errors import ( KnockoutError, AuthError, BadRequestError, PayloadTooLargeError, RateLimitError, ServerError, ) __all__ = [ "__version__", "Knockout", "AsyncKnockout", "KnockoutError", "AuthError", "BadRequestError", "PayloadTooLargeError", "RateLimitError", "ServerError", ] |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |