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.12.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc546b1c6b62afc1b781f04ee869f734314c5b48fc63aa42bf89122d7b06718 |
|
MD5 | e1b5ace9bf45bdc1c0b3772ea18fc15d |
|
BLAKE2b-256 | 9be06c0193e4871a734871a6e7afa0abfae166eca57afe31d30c623dca6c5479 |
Close
Hashes for python_active_versions-1.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bbdc71210cb9f55ab036f763da2a0edb2fe2988bbfbba1a3ace02a4a9036d9 |
|
MD5 | 32d9238083a2b7f0ffbf3b3381726800 |
|
BLAKE2b-256 | e3bb968ef52c70ba27e8678580ec252bfcf441a4f9334f9a9b790749d25da1b2 |