Skip to main content

Async Microcosm API client wrapper

Project description

microcosm-client

Async Microcosm API client wrapper

Quickstart

import asyncio
from microcosm import AsyncMicrocosmClient

async def main():
    async with AsyncMicrocosmClient() as micro:
        data = await micro.links_distinct_dids("at://did:plc:oky5czdrnfjpqslsw2a5iclo/app.bsky.feed.post/3lzu6nguhwk2f", "app.bsky.feed.like", ".subject.uri")
        print(data)

asyncio.run(main())

See docstrings for more details on method return shapes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microcosm_client-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microcosm_client-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file microcosm_client-0.1.0.tar.gz.

File metadata

  • Download URL: microcosm_client-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for microcosm_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95449736676644f8792d6e7c3dad50372fef3b95fccf90d306f81034a9ecce4b
MD5 35548d85e707e3c885769d7a9dd19b16
BLAKE2b-256 d6526ac693c83e4d37b21ccbdabae08b42f257a8a4e82916b02f36b166e57fdc

See more details on using hashes here.

File details

Details for the file microcosm_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for microcosm_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb43e4a2988a6b18940e75c1b30be408f9677f47622406667dff6aaaaab17d4b
MD5 f0571d81995f9f2f96909126215e5142
BLAKE2b-256 b4265f4699ef91b020d4d8df3896134a18049bf2bdd9cfa7e65da5b8c618b60c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page