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.15.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adac7e5df098c465b2f1b1302f6e26451a8e0200fde59cb57202dce33234c9e1 |
|
MD5 | 9587165b41cca07ea543b835d4a4e538 |
|
BLAKE2b-256 | e3d54def99d79314972c93f771be7a976153a7a5c46af59c2738f5530239a4b2 |
Close
Hashes for python_active_versions-1.15.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b6538208fee0733e9616fd247112a920b810b2d84905a6db4843aced3d1cc3 |
|
MD5 | 87a81d9ea799184c0eb75d54194268bf |
|
BLAKE2b-256 | cc0b7a8be839b941cc7ab4ac34d89a9581ba08a15fc68d2314ef285e91d886fe |