Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgedmin/ztk-py3-status
Produce a list of Zope Foundation packages and Python versions they support
https://github.com/mgedmin/ztk-py3-status
Last synced: about 1 month ago
JSON representation
Produce a list of Zope Foundation packages and Python versions they support
- Host: GitHub
- URL: https://github.com/mgedmin/ztk-py3-status
- Owner: mgedmin
- License: mit
- Created: 2013-01-28T17:25:39.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T14:59:50.000Z (over 4 years ago)
- Last Synced: 2024-10-13T18:27:47.189Z (2 months ago)
- Language: Python
- Homepage: https://zope3.pov.lt/py3/
- Size: 50.8 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Scripts to determine the Python 3 porting status of various Zope packages
=========================================================================These scripts are run from cron to produce JSON files consumed by JavaScript in
https://github.com/ProgrammersOfVilnius/zope3.pov.lt/tree/master/py3The *actual* cron script is at https://gist.github.com/mgedmin/4686862
Usage::
./update.sh
This takes a while (8 minutes just to get PyPI status; more to download
source distributions).Example output::
[{"name": "zope.interface",
"version": "4.0.3",
"supports": ["2.6", "2.7", "3.2", "3.3", "pypy"]},
"supports_py3": true,
"requires": ["setuptools"],
"blockers": [],
"blocks": [],
"sdist_url": "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.0.3.tar.gz",
"source_web_url": "https://github.com/zopefoundation/zope.interface",
"github_web_url": "https://github.com/zopefoundation/zope.interface",
"svn_web_url": "http://zope3.pov.lt/trac/browser/zope.interface",
"removed_from_svn": false},
...]Caching
-------The ./get_pypi_status.py script caches metadata received from PyPI in
./cache/meta/\*.json for 24 hours by default. You can override these settings
with ::./get_pypi_status.py --cache-dir=~/.cache/pypi-meta --cache-max-age=3600
The sdist cache used by get_deps.py is (a) configurable, and (b) compatible
with buildout. If you use a shared buildout cache, you can speed up
the initial dependency extraction with ::./get_deps.py --cache-dir=~/.buildout/cache/dist < status.json > deps.json
(you'll have to edit update.sh)