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.

Metadata

Release files for mewisme-meta 0.0.1

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

Source distribution (sdist)

Source distribution for mewisme-meta 0.0.1
File Size Uploaded Provenance
mewisme_meta-0.0.1.tar.gz 70.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mewisme-meta 0.0.1
File Interpreter ABI Platform
mewisme_meta-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 154.8 kB

Release files / mewisme_meta-0.0.1.tar.gz

Download URL mewisme_meta-0.0.1.tar.gz
Size 70.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8b66a33348a0ad9f5febef8ea932d406e6b3e3a62aa3bd2297ded7e402e9f89a
BLAKE2b-256 checksum
How to use checksums
8bf5af1d5267549a2c257dd22c775fb01da8ed4ce3f4bb6de84e5151322e3e57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / mewisme_meta-0.0.1-py3-none-any.whl

Download URL mewisme_meta-0.0.1-py3-none-any.whl
Size 84.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a52fab025be6aac53d3b6aa101eec7c5928546779dab2800f94fa722909721b
BLAKE2b-256 checksum
How to use checksums
5f51f884b30a8ce9318f1ef69358f14f594bac08dba07c4965e33956beac5d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Security for mewisme-meta 0.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mewisme_meta-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

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

0.0.1 This release

2 release files Full 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