Gather active python versions.
Project description
python active versions
Gather active python versions and, optionally, also docker images.
- Documentation: https://gpongelli.github.io/python-active-versions
- GitHub: https://github.com/gpongelli/python-active-versions
- PyPI: https://pypi.org/project/python-active-versions/
- Docker image here
- Free software: MIT
Usage
For its usage, as CLI/docker container/library please refer to usega page into documentation.
An interesting usage is in combination with nox, where this library can provide python versions as following snippet:
import nox
from python_active_versions.python_active_versions import get_active_python_versions
from typing import List
def _get_active_version(_active_versions: List[dict]) -> List[str]:
return [_av['version'] for _av in _active_versions]
_python_versions = _get_active_version(get_active_python_versions())
@nox.session(python=_python_versions)
def test_something(session):
...
@nox.session(python=_python_versions)
def test_another(session):
...
Container usage
This tool can also be run as container wiht:
podman run --rm python-active-versions:1.15.0
Features
- Scrape official python website to get active versions
- Scrape dockerhub website to add optional python's available images
Credits
This package was created with Cookiecutter and the gpongelli/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python_active_versions-1.18.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892c889d0ca846af61f36e26e9b12d89c4927812a46a7ead3c0b098b815a4e6a |
|
MD5 | f519709f74492bb0690ef9769895b506 |
|
BLAKE2b-256 | 5fb3f76ece7c87076662fa21055168c7d2d4dc5a47e78252f95513c145563ee3 |
Close
Hashes for python_active_versions-1.18.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a9b76f96130c37520fba5d09c6341357fd275067d3df81c4078706625e02a0 |
|
MD5 | 6a0e8b0290aed3f6265693c67c2fe1b6 |
|
BLAKE2b-256 | 30a16210db63ff63d5e8bf62f9db433cdc936c8b7e8b34c2dbc733444b244402 |