bovine.activitystreams.utils
actor_for_object(data)
Look up for the actor id either from attributedTo or actor
Source code in bovine/bovine/activitystreams/utils/__init__.py
copy_to_and_cc(origin, destination)
Copies the audience from the origin object to the destination object
Source code in bovine/bovine/activitystreams/utils/__init__.py
fediverse_handle_from_actor(actor)
Given an actor object, i.e. a dict, determines the fediverse handle
Source code in bovine/bovine/activitystreams/utils/__init__.py
id_for_object(data)
Determines the id of an object
is_public(data)
Determines if the object should be considered public based on its recipients
Source code in bovine/bovine/activitystreams/utils/__init__.py
recipients_for_object(data)
Combines the recipients from to, cc, bto, bcc, audience into a set