Skip to main content

python active versions

pypi python Build Status codecov

Gather active python versions and, optionally, also docker images.

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)

Source distribution for python-active-versions 1.19.0
File Size Uploaded
python_active_versions-1.19.0.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-active-versions 1.19.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.19.0 This release

2 release files

1.18.0

2 release files

1.17.2

2 release files

1.15.0

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page