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/
- 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):
...
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.13.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b19f7667c04d68b2dfc11456145ce4b2edebbfd87c5fcd0ef1f68eba7a5a8e |
|
MD5 | 1462477c1705f76a45d9b5d54851cabe |
|
BLAKE2b-256 | a497d363165f577157ad16e53f34d2c2783b56f3abcd3c93354b6c6563f23b9e |
Close
Hashes for python_active_versions-1.13.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 703d4b713b92ebe224f3ab1fb02b89ac333321148665cca4bf184760d3ef9287 |
|
MD5 | e6c6a188e7b801dbe01c5f467487c6f0 |
|
BLAKE2b-256 | 86f79b489e6b368e4e096cb44c689eb68c857056b19bff5b2b2bf146663c9b37 |