swh.lister.npm.models module

class swh.lister.npm.models.NpmVisitModel(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Table to store the npm registry state at the time of a content listing by Software Heritage

uid
visit_date
doc_count
doc_del_count
update_seq
purge_seq
disk_size
data_size
committed_update_seq
compacted_seq
class swh.lister.npm.models.NpmModel(**kw)[source]

Bases: swh.lister.core.models.IndexingModelBase

A npm package representation

uid
indexable
full_name
html_url
last_seen
name
origin_type
origin_url
task_id