BarefootSelkie / pktools

a utility library for processing information received from the pluralkit api, for use with my pk-who projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pktools

A set of tools to deal with time conversion functions, some are used by my whois projects, but several of these are only really applicable to my headspace. As I have a base 6 time system and wanted to be able to display that information in the real world.

Implemented functions

rsSecondToFractal(rsSeconds) takes in a period of time in seconds and converts it to a number of headspace fractals, designed to work with datetime.total_seconds(), returns an int

hsFractalTohsTimeObject(hsFractals) converts an int of headspace fractals into a headspace date time object, returns [cycles, seasons, weeks, days, segments, fractals]

hsTimeNow() gets the current time in headspace based on zeropoint in apikeys.json, returns [cycles, seasons, weeks, days, segments, fractals]

hsTimeShort(hsTimeObject)

hsTimeHuman(hsTimeObject)

rsLastSeen(member)

hsLastSeen(member)

rsSinceLastIn(member)

hsSinceLastIn(member)

Fonts

https://fonts.google.com/share?selection.family=Noto+Emoji:wght@300..700|Noto+Sans+Symbols+2|Noto+Sans+Symbols:wght@100..900|Noto+Sans:ital,wght@0,100..900;1,100..900

https://fonts.google.com/selection?preview.text=➎%20⚀%20➁%20-%20🁹%20Hibernal%20(%20❄%EF%B8%8F%20)%20358&noto.query=symbols

About

a utility library for processing information received from the pluralkit api, for use with my pk-who projects

License:MIT License


Languages

Language:Python 54.5%Language:JavaScript 45.5%