This repository has no description
atplex README.md
2.0 kB
Markdown

atplex #

Name open for discussion; I just needed one but didn't want to think, so i took something where you don't need to think much.

Idea #

A low-level python package for interacting with atproto data, enableing you to use typed python to communicate with XRPC endpoints using custom lexicons found on the web.

What I want it to look in the end #

something like this (except I don't know yet if I want to make it sync or asnyc)

python -m atplex pull com.example.getProfile
import atplex
import lex

client = atplex.Client()

data = await client.exec(lex.com.example.getProfile(user="jojojux.de"))
print(data) # com.example.getProfile#main/output(did=DID("did:plc:f3f3dvty36ztjdqqyxfqhw3p"), name="jojojux.de", displayName=None)

Roadmap #

    • Generate lexicon object representation on the fly?
    • Auto resolve lexicons?