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

Uploaded Source

Built Distribution

python_active_versions-1.12.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_active_versions-1.12.0.tar.gz
Algorithm Hash digest
SHA256 5bc546b1c6b62afc1b781f04ee869f734314c5b48fc63aa42bf89122d7b06718
MD5 e1b5ace9bf45bdc1c0b3772ea18fc15d
BLAKE2b-256 9be06c0193e4871a734871a6e7afa0abfae166eca57afe31d30c623dca6c5479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_active_versions-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63bbdc71210cb9f55ab036f763da2a0edb2fe2988bbfbba1a3ace02a4a9036d9
MD5 32d9238083a2b7f0ffbf3b3381726800
BLAKE2b-256 e3bb968ef52c70ba27e8678580ec252bfcf441a4f9334f9a9b790749d25da1b2

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