Skip to main content

mewisme-meta

Async Python SDK for the meta.go gRPC runtime.

from mewisme_meta import AppStateAuth, AppStateCookie, CookieAuth, MetaClient

async with await MetaClient.managed(runtime_path="/path/to/meta-runtime") as meta:
    session = await meta.create_session(CookieAuth({"c_user": "...", "xs": "..."}))
    events = meta.events(session.session_id)
    events.on("message", lambda event: print(event.message.message))

    snapshot = await meta.refresh_auth(
        session.session_id,
        AppStateAuth((AppStateCookie("c_user", "..."), AppStateCookie("xs", "..."))),
    )

    async for event in events:
        print(event.WhichOneof("payload"))

Sessions accept CookieAuth, AppStateAuth, or CredentialAuth. Credentials requires identifier, password, and exactly one of totp or otp. refresh_auth() rotates auth in-place without replacing the runtime session or SDK event streams; auth_snapshot() exports normalized cookies, AppState and Facebook session metadata.

Use await MetaClient.external(endpoint, token) to connect to an already running runtime. Managed mode resolves runtime_path, then META_RUNTIME_PATH, then the bundled mewisme-meta-runtime wheel, then meta-runtime on PATH. If none is available it fails locally without downloading anything.

Release builds pin mewisme-meta-runtime to the exact SDK version so pip installs a matching platform wheel. An explicitly installed runtime remains supported as an override; the protocol-major handshake still rejects incompatible binaries after launch.

Download files

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

Source Distribution

mewisme_meta-0.0.1.tar.gz (70.7 kB view details)

Uploaded Source

Built Distribution

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

mewisme_meta-0.0.1-py3-none-any.whl (84.1 kB view details)

Uploaded Python 3

File details

Details for the file mewisme_meta-0.0.1.tar.gz.

File metadata

  • Download URL: mewisme_meta-0.0.1.tar.gz
  • Upload date:
  • Size: 70.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mewisme_meta-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8b66a33348a0ad9f5febef8ea932d406e6b3e3a62aa3bd2297ded7e402e9f89a
MD5 647a3cf35a230a4fd7914d06f945e592
BLAKE2b-256 8bf5af1d5267549a2c257dd22c775fb01da8ed4ce3f4bb6de84e5151322e3e57

See more details on using hashes here.

Provenance

The following attestation bundles were made for mewisme_meta-0.0.1.tar.gz:

Publisher: release.yml on mewisme/meta.go

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mewisme_meta-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mewisme_meta-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 84.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mewisme_meta-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a52fab025be6aac53d3b6aa101eec7c5928546779dab2800f94fa722909721b
MD5 5f8ddd7b511429a25a7a33365cce1e2f
BLAKE2b-256 5f51f884b30a8ce9318f1ef69358f14f594bac08dba07c4965e33956beac5d9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mewisme_meta-0.0.1-py3-none-any.whl:

Publisher: release.yml on mewisme/meta.go

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

0.0.0

1 file

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