swh.counters.journal_client module#

swh.counters.journal_client.process_journal_messages(messages: Dict[str, Dict[bytes, bytes]], *, counters: CountersInterface) None[source]#

Count the number of different values of an object’s property. It allow for example to count the persons inside the Release (authors) and Revision (authors and committers) classes

swh.counters.journal_client.process_revisions(revisions: Dict[bytes, bytes], counters: CountersInterface)[source]#

Count the number of different authors and committers on the revisions (in the person collection)

swh.counters.journal_client.process_releases(releases: Dict[bytes, bytes], counters: CountersInterface)[source]#

Count the number of different authors on the releases (in the person collection)