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.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60956b40ac5fc01769fb88c7aedde3a348f57357e7c5166c43ae65a90396e122 |
|
MD5 | 4eef94008bc68822c11a594980c5bbdb |
|
BLAKE2b-256 | d326acddf009b5f5aa084db3c6088eec66841788d4cac100dc7f8dd06d689198 |
Close
Hashes for python_active_versions-1.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d119a3ec735d420559ab84e6a6097dbef1349e62a74ec90f187eda3e0fd0f52 |
|
MD5 | 8dfff31959a45e72abc08b9e9dcb6c74 |
|
BLAKE2b-256 | d861321ba2ce92e750f2da8db49f68b1c2994aff38b81a63a989148ae5c0f7c3 |