chitose package#

Subpackages#

Submodules#

chitose.agent module#

class chitose.agent.BskyAgent(service: str)#

Bases: object

property app: App_#
property com: Com_#
count_unread_notifications(**kwargs: dict[str, Any]) bytes#

See get_unread_count() in chitose.app.bsky.notification package for available arguments.

delete_follow(follow_uri: str) bytes#
delete_like(like_uri: str) bytes#
delete_post(post_uri: str) bytes#
delete_repost(repost_uri: str) bytes#
follow(subject_did: str) bytes#
get_author_feed(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_followers(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.graph package for available arguments.

get_follows(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.graph package for available arguments.

get_likes(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_post_thread(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_posts(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_profile(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_profiles(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_reposted_by(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_suggestions(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_timeline(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

like(uri: str, cid: str) bytes#
list_notifications(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.notification package for available arguments.

login(identifier: str, password: str) None#
mute_actor(actor: str) bytes#
post(record: Post) bytes#
repost(uri: str, cid: str) bytes#
search_actors(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

search_actors_typeahead(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

unmute_actor(actor: str) bytes#
update_seen_notifications(seen_at: str | None) bytes#

chitose.blob module#

class chitose.blob.Blob(ref: Link, mime_type: str, size: int)#

Bases: object

to_dict() dict[str, Any]#

chitose.object module#

class chitose.object.Object#

Bases: ABC

abstract to_dict() dict[str, Any]#

chitose.record module#

class chitose.record.Record#

Bases: ABC

abstract to_dict() dict[str, Any]#

chitose.xrpc module#

chitose.xrpc.call(method: str, params: list[tuple[str, str | None | int | list[str]]], d: bytes | dict[str, Any] | None, service: str, headers: dict[str, str]) bytes#
chitose.xrpc.subscribe(method: str, params: list[tuple[str, str | None | int | list[str]]], service: str, handler: Callable[[str | bytes], None]) None#

Module contents#

class chitose.Blob(ref: Link, mime_type: str, size: int)#

Bases: object

to_dict() dict[str, Any]#
class chitose.BskyAgent(service: str)#

Bases: object

property app: App_#
property com: Com_#
count_unread_notifications(**kwargs: dict[str, Any]) bytes#

See get_unread_count() in chitose.app.bsky.notification package for available arguments.

delete_follow(follow_uri: str) bytes#
delete_like(like_uri: str) bytes#
delete_post(post_uri: str) bytes#
delete_repost(repost_uri: str) bytes#
follow(subject_did: str) bytes#
get_author_feed(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_followers(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.graph package for available arguments.

get_follows(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.graph package for available arguments.

get_likes(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_post_thread(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_posts(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_profile(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_profiles(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_reposted_by(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

get_suggestions(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

get_timeline(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.feed package for available arguments.

like(uri: str, cid: str) bytes#
list_notifications(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.notification package for available arguments.

login(identifier: str, password: str) None#
mute_actor(actor: str) bytes#
post(record: Post) bytes#
repost(uri: str, cid: str) bytes#
search_actors(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

search_actors_typeahead(**kwargs: dict[str, Any]) bytes#

See chitose.app.bsky.actor package for available arguments.

unmute_actor(actor: str) bytes#
update_seen_notifications(seen_at: str | None) bytes#

Bases: object

to_dict() dict[str, Any]#
class chitose.Object#

Bases: ABC

abstract to_dict() dict[str, Any]#
class chitose.Record#

Bases: ABC

abstract to_dict() dict[str, Any]#
chitose.call(method: str, params: list[tuple[str, str | None | int | list[str]]], d: bytes | dict[str, Any] | None, service: str, headers: dict[str, str]) bytes#