Skip to main content

Gather active python versions.

Project description

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):
    ...

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


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.14.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

python_active_versions-1.14.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_active_versions-1.14.0.tar.gz
Algorithm Hash digest
SHA256 96819021b1226eefc3c04242eab3ace583ba01ab64e5af575f86fe5836e269f9
MD5 8d71ba2f84ae6ac9cba899b03fb2863e
BLAKE2b-256 8b5525a1c7edc69f7899633a98935b8edcc37b4021bcc9602f802a82ef068aa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_active_versions-1.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07b510acd7e61a66aaf99b586cffb16e8c1dbb00411ea3946e0c4c794bc58dd9
MD5 f26d70c696c8f113aaab98d8ed633786
BLAKE2b-256 57352d7e838b10847ec062418b53a35ab526b32b56daafc3558b6c11bf8a4852

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page