pyk8sver returns the latest version of kubernetes
Requirements
TBD
Setup
If you want to run the test cases, do this extra step
pip install -r requirements-dev.txt
Install the package:
python setup.py develop
(Optional) Run all tests:
$ paver test_all
======================== 112 passed, 2 xfailed in 2.01 seconds
___ _ ___ ___ ___ ___
| _ \/_\ / __/ __| __| \
| _/ _ \\__ \__ \ _|| |) |
|_|/_/ \_\___/___/___|___/
Example
from pyk8sver import app
o = app.Kubernetes('your-github-access-token')
releases = o.fetch_releases()
print("Latest is {0}".format(releases[0])) # GitRelease(title="v1.13.2")
Metadata
Release files for pyk8sver 1.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 | |
|---|---|---|---|
| pyk8sver-1.0.tar.gz | 14.8 kB | Details |
Release files / pyk8sver-1.0.tar.gz
| Download URL | pyk8sver-1.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
579b0f34d4cebc7fd0e6ed90526b812b5eb8af37da64e4e99545fa954d891b56
|
|
BLAKE2b-256 checksum How to use checksums |
fb5e7abb114905cb0df2f247e80230ccb6727820452592b7a0ef55dfa6645e60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|