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.17.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a62eac7fa3db68e407e2c798212aa6f8631eae7b4641dbb211d28e5c56f079 |
|
MD5 | 44f0ca36e3779e98ae9cada4e945ad9a |
|
BLAKE2b-256 | 7d117221dea471953f5c67cb7998091956ce3846d906aa3dded91c41e8d9a341 |
Close
Hashes for python_active_versions-1.17.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866088ec5811da6095e937ef683edd39b2d55a1e9bfb49832739f30950aa18cd |
|
MD5 | a2d0997d6cdc6060ef611b7060301cae |
|
BLAKE2b-256 | 4d0278b12092d911bbcbbc246fa796ee83cf410998f57edbee3035f674d84447 |