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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b66a33348a0ad9f5febef8ea932d406e6b3e3a62aa3bd2297ded7e402e9f89a
|
|
| MD5 |
647a3cf35a230a4fd7914d06f945e592
|
|
| BLAKE2b-256 |
8bf5af1d5267549a2c257dd22c775fb01da8ed4ce3f4bb6de84e5151322e3e57
|
Provenance
The following attestation bundles were made for mewisme_meta-0.0.1.tar.gz:
Publisher:
release.yml on mewisme/meta.go
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mewisme_meta-0.0.1.tar.gz -
Subject digest:
8b66a33348a0ad9f5febef8ea932d406e6b3e3a62aa3bd2297ded7e402e9f89a - Sigstore transparency entry: 2788567121
- Sigstore integration time:
-
Permalink:
mewisme/meta.go@f949f6f3800a8b5d15e1ecfb389bac3005557726 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mewisme
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f949f6f3800a8b5d15e1ecfb389bac3005557726 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a52fab025be6aac53d3b6aa101eec7c5928546779dab2800f94fa722909721b
|
|
| MD5 |
5f8ddd7b511429a25a7a33365cce1e2f
|
|
| BLAKE2b-256 |
5f51f884b30a8ce9318f1ef69358f14f594bac08dba07c4965e33956beac5d9a
|
Provenance
The following attestation bundles were made for mewisme_meta-0.0.1-py3-none-any.whl:
Publisher:
release.yml on mewisme/meta.go
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mewisme_meta-0.0.1-py3-none-any.whl -
Subject digest:
6a52fab025be6aac53d3b6aa101eec7c5928546779dab2800f94fa722909721b - Sigstore transparency entry: 2788567146
- Sigstore integration time:
-
Permalink:
mewisme/meta.go@f949f6f3800a8b5d15e1ecfb389bac3005557726 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mewisme
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f949f6f3800a8b5d15e1ecfb389bac3005557726 -
Trigger Event:
workflow_dispatch
-
Statement type: