PyPI Connector Reference
3 metrics13 dimensions
The PyPI connector exposes 16 fields (3 metrics, 13 dimensions). Every field ID below can be passed to the Windsor.ai API in the fields parameter.
PyPI Fields
PyPI project fields
The project report of the PyPI connector includes 5 fields.
| ID | Type | Name | Description |
|---|---|---|---|
| project__info | OBJECT | project.info | project.info |
| project__last_serial | NUMERIC | project.last_serial | project.last_serial |
| project__releases | OBJECT | project.releases | project.releases |
| project__urls | OBJECT | project.urls | project.urls |
| project__vulnerabilities | OBJECT | project.vulnerabilities | project.vulnerabilities |
PyPI release fields
The release report of the PyPI connector includes 4 fields.
| ID | Type | Name | Description |
|---|---|---|---|
| release__info | OBJECT | release.info | release.info |
| release__last_serial | NUMERIC | release.last_serial | release.last_serial |
| release__urls | OBJECT | release.urls | release.urls |
| release__vulnerabilities | OBJECT | release.vulnerabilities | release.vulnerabilities |
PyPI other fields
The PyPI connector has 7 fields that do not belong to a named report, or belong to a report with only one or two fields.
| ID | Type | Name | Description | Report |
|---|---|---|---|---|
| data_fetched_at | Data fetched at | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each keeping its own fetch time) instead of being summed. | ||
| datasource | TEXT | Data Source | The name of the Windsor connector returning the row | |
| now | Now | Current timestamp | ||
| source | TEXT | Source | The name of the Windsor connector returning the row | |
| stats__top_packages | OBJECT | stats.top_packages | stats.top_packages | stats |
| stats__total_packages_size | NUMERIC | stats.total_packages_size | stats.total_packages_size | stats |
| today | DATE | Today | Today's date |
