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.19.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d37a5ece7d9c3e643a41e7ef11d22a0545c6d6d85ff4cef55ba102b3bca12a4 |
|
MD5 | faca7e615d5306333358707f64b509df |
|
BLAKE2b-256 | 946dc3e88c90396ef8b73c6ad9f948672a87e47e068a9e7f2e5eb486a8e9195f |
Close
Hashes for python_active_versions-1.19.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64cc84bcd6141b21a48e7a815e9f81971ce7f6115b08b3992ecd6e35191956ec |
|
MD5 | bf5cd9fe9f19c370d0c4bdabb56bc9d6 |
|
BLAKE2b-256 | 059bc81301a2b87ae2b48ab232ad257c068c0c77da84aa458cc322cf5cbb0622 |