Better HN
topnewbestaskshowjobs
Log inSign up

chriskaneen

13 karma · joined Aug 31, 2020 (6y ago) · 14 submissions

Submissions

comment 5y ago · link · parent

A standard Python library for getting the Kubernetes token of a AWS EKS cluster.

No AWS CLI, third-party client or library (boto3, botocore, etc.) required.

This was written as part of my job @ https://mist.io/, as a contribution to libcloud: https://libcloud.readthedocs.io/en/stable/ (see the related PR: https://github.com/apache/libcloud/pull/1599).

For more, see the README.

PyPI: https://pypi.org/project/tokeks/

2.

Tokeks: Get AWS EKS cluster token without official CLI or non-standard library(github.com ↗)

2 points · by cs2k · 5y ago · 1 comment

comment 5y ago · link · parent

A standard Python library for getting the Kubernetes token of a AWS EKS cluster.

No AWS CLI, third-party client or library (boto3, botocore, etc.) required.

This was written as part of my job @ https://mist.io/, as a contribution to libcloud: https://libcloud.readthedocs.io/en/stable/ (see the related PR: https://github.com/apache/libcloud/pull/1599).

For more, see the README.

PyPI: https://pypi.org/project/tokeks/

comment 5y ago · link · parent

Check my previous post on pystatx: https://news.ycombinator.com/item?id=26624564

Repo: https://github.com/ckarageorgkaneen/pystatx

5.

pystatx is now on PyPI(pypi.org ↗)

1 points · by chriskaneen · 5y ago · 1 comment

comment 5y ago · link · parent

You are right.

comment 5y ago · link · parent

Interesting summary. I also like your renders.

comment 5y ago · link · parent

At my previous job, I needed to access the birth time attribute of a file on Linux. If I am not mistaken, the standard library doesn't support getting it on Linux (st_birthtime - time of file creation is supported on other unix systems, such as freebsd, see: https://docs.python.org/2/library/os.html#os.stat). So, I created this wrapper for getting the file status (birth time, etc.) using the statx(2) linux system call.

9.

A statx(2) Linux system Python wrapper(github.com ↗)

23 points · by cs2k · 5y ago · 11 comments

comment 5y ago · link · parent

I wanted to be able to describe a state machine in a specific state transition table format and export it as a diagram, so I wrote this library and CLI.

For anyone interested, it parses a state transition table described in a specific .csv format and produces a json, dot or pdf, png, etc. output of the corresponding state machine.

For more, check out the README.

11.

A tiny library for parsing state transition tables(github.com ↗)

3 points · by chriskaneen · 5y ago · 1 comment

comment 6y ago · link · parent

This project contains the examples of Caleb Hattingh's O'Reilly book "Using Asyncio in Python: Understanding Python's Asynchronous Programming Features":

https://www.oreilly.com/library/view/using-asyncio-in/978149...

13.

Using Asyncio in Python book examples(github.com ↗)

2 points · by chriskaneen · 6y ago · 1 comment