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.13.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cad7b2a59e97b7bc389ef9c3bbb8fb90b83a7b6c6334bf9a5d1416e084d3e5b |
|
MD5 | d839283121fbe3b11d7993aecbf3f206 |
|
BLAKE2b-256 | baf7dff653adb1fced897baa1b3bf7f121eeec8a4b5376770f179387805c127c |
Close
Hashes for python_active_versions-1.13.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f534a2fff09b5aec370f6806d91c950ee48039f292958d7058f49af0d1fecb7 |
|
MD5 | 1d8f67f650360915ac76afcd540c4ced |
|
BLAKE2b-256 | 45fd7afdec628bf5ab93046aeddbbd35d2588b238842cb56dcf4e87078d5cc45 |