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):
...
Container usage
This tool can also be run as container wiht:
podman run --rm python-active-versions:1.15.0
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.
Metadata
Release files for python-active-versions 1.19.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_active_versions-1.19.0.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_active_versions-1.19.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / python_active_versions-1.19.0.tar.gz
| Download URL | python_active_versions-1.19.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d37a5ece7d9c3e643a41e7ef11d22a0545c6d6d85ff4cef55ba102b3bca12a4
|
|
BLAKE2b-256 checksum How to use checksums |
946dc3e88c90396ef8b73c6ad9f948672a87e47e068a9e7f2e5eb486a8e9195f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / python_active_versions-1.19.0-py3-none-any.whl
| Download URL | python_active_versions-1.19.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64cc84bcd6141b21a48e7a815e9f81971ce7f6115b08b3992ecd6e35191956ec
|
|
BLAKE2b-256 checksum How to use checksums |
059bc81301a2b87ae2b48ab232ad257c068c0c77da84aa458cc322cf5cbb0622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|