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):
...
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.14.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e371df00d98df5aa4d4d78d3b193dc66b29a77907cfad8f271c812b43b080e8 |
|
MD5 | f69ba106179eaf271803d6b8203fa539 |
|
BLAKE2b-256 | 3a3b8e9408d1a4da443bcd6e1dc5e67bb5b6b4b5ad704abc8cf81702e9bde150 |
Close
Hashes for python_active_versions-1.14.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6866e5f3a16e57cbe1eaf7dab98916876063a223731d4b9202721fa7cffc51fd |
|
MD5 | d35cb5d1f3612e6563a0515663defaf6 |
|
BLAKE2b-256 | c554b58852e2d6d4413be7c0847863fe4d73028b9247e8ff3b5d1f95c3a56cf8 |