Skip to content

Instantly share code, notes, and snippets.

View shuki25's full-sized avatar

dr. josh butler shuki25

View GitHub Profile
@shuki25
shuki25 / edversion.py
Last active May 16, 2021 15:01
Elite Dangerous Semantic Versioning
from semantic_version import Version
class EDVersion(Version):
def __init__(self, version_string=None, **kwargs):
self.version_xref = {
"April Update EDH": "3.4.0",
"April Update Patch 1 EDH": "3.4.1",
"April Update Patch 2 EDH": "3.4.2",
"January Update": "3.6.0",
"January Update - Patch 1": "3.6.1",