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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_active_versions-1.19.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_active_versions-1.19.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file python_active_versions-1.19.0.tar.gz.

File metadata

  • Download URL: python_active_versions-1.19.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for python_active_versions-1.19.0.tar.gz
Algorithm Hash digest
SHA256 4d37a5ece7d9c3e643a41e7ef11d22a0545c6d6d85ff4cef55ba102b3bca12a4
MD5 faca7e615d5306333358707f64b509df
BLAKE2b-256 946dc3e88c90396ef8b73c6ad9f948672a87e47e068a9e7f2e5eb486a8e9195f

See more details on using hashes here.

File details

Details for the file python_active_versions-1.19.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_active_versions-1.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64cc84bcd6141b21a48e7a815e9f81971ce7f6115b08b3992ecd6e35191956ec
MD5 bf5cd9fe9f19c370d0c4bdabb56bc9d6
BLAKE2b-256 059bc81301a2b87ae2b48ab232ad257c068c0c77da84aa458cc322cf5cbb0622

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.19.0 This release

2 files

1.18.0

2 files

1.17.2

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.2

2 files

1.13.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.1

2 files

1.9.0

2 files

1.8.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page