diff --git a/README.md b/README.md index 2da1cb80470bdd557139d6da17feca94440a0e76..d4695486cd7c9729a6e3a511bec2beb25ba2b3d9 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,7 @@ Get Python packages backends found in `pyproject.toml` files with the This could be done thanks to [Querying every file in every release on the Python Package Index](https://sethmlarson.dev/security-developer-in-residence-weekly-report-18) from Seth Michael Larson. +The `pyproject-sqlite-get-files-and-extract-backend.py` script makes use of +Seth Michael Larson gist : [pycodeorg.py](https://gist.github.com/sethmlarson/852341a9b7899eda7d22d8c362c0a095) + + diff --git a/plot-packaging-backends.py b/plot-packaging-backends.py index eede2a004bc228d12585f46267332e7e0233737c..869781c0dbd0c8cf0771571eb62c24cb919f6177 100644 --- a/plot-packaging-backends.py +++ b/plot-packaging-backends.py @@ -32,13 +32,14 @@ if __name__ == "__main__": cnx.close() - fig = plt.figure(num=f'{backends_total} backends used in pyproject.toml on PyPI (2018-2023)', figsize=(12,8)) + fig = plt.figure(num='Backends on PyPI', figsize=(12,8)) ax = fig.add_subplot(1, 1, 1) bars = ax.bar(backends, backend_nb, color=['blue' if n > 500 else 'cyan' for n in backend_nb]) + ax.set_title(f'{backends_total} backends declared in pyproject.toml on PyPI (2018-2023)') ax.set_xlabel("Backend") - ax.set_ylabel("Times used") + ax.set_ylabel("Times declared") """ TODO : .../plot-packaging-backends.py:62: diff --git a/python-backends-2018-2023-log-scale.png b/python-backends-2018-2023-log-scale.png index 0c41f7f4008569f61bd27ca8f00b50c7f4ce0f3a..db4b08e06de725778085cd03002caa5bf96eba05 100644 Binary files a/python-backends-2018-2023-log-scale.png and b/python-backends-2018-2023-log-scale.png differ diff --git a/python-backends-2018-2023.png b/python-backends-2018-2023.png index 0c41f7f4008569f61bd27ca8f00b50c7f4ce0f3a..2db81c3afc7b519a128b94c766ac55c54184d206 100644 Binary files a/python-backends-2018-2023.png and b/python-backends-2018-2023.png differ