Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcgibbons/pypi-semantic-versions
https://github.com/marcgibbons/pypi-semantic-versions
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcgibbons/pypi-semantic-versions
- Owner: marcgibbons
- Created: 2024-04-23T16:25:00.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T16:25:10.000Z (5 months ago)
- Last Synced: 2024-04-23T17:58:26.001Z (5 months ago)
- Language: Jupyter Notebook
- Size: 5.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyPI semantic versions
This repo analyzes PyPI package versions and determines:
- How many packages use semantic versions? (using https://pypi.org/project/semantic-version/)
- Of these, how many use 0.x, 1.x, 2.x and up major versions?## Running
```bash
pip install -r requirements.txt
jupyter notebook pypi_analysis.ipynb
```## Data source
Data was obtained following this guide: https://warehouse.pypa.io/api-reference/bigquery-datasets.html
The BigQuery query I used to generate the CSV was this:
```sql
SELECT
name,
MAX(version) AS latest_version
FROM
`bigquery-public-data.pypi.distribution_metadata`
GROUP BY
name
```I generated the CSV on April 20, 2024.