From 95f9ea754a199ae4b2c4fb5c312430812f9317ba Mon Sep 17 00:00:00 2001 From: KOLANICH Date: Tue, 10 Oct 2023 01:38:45 +0300 Subject: [PATCH] We had to move to Codeberg --- ReadMe.md | 8 ++++++++ inkwave/__init__.py | 3 +++ 2 files changed, 11 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index 4e2379e..2644cd7 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -5,6 +5,14 @@ inkwave.py [![Libraries.io Status](https://img.shields.io/librariesio/github/KOLANICH-tools/inkwave.py.svg)](https://libraries.io/github/KOLANICH-tools/inkwave.py) [![Code style: antiflash](https://img.shields.io/badge/code%20style-antiflash-FFF.svg)](https://codeberg.org/KOLANICH-tools/antiflash.py) +**We have moved to https://codeberg.org/KOLANICH-tools/inkwave.py, grab new versions there.** + +Under the disguise of "better security" Micro$oft-owned GitHub has [discriminated users of 1FA passwords](https://github.blog/2023-03-09-raising-the-bar-for-software-security-github-2fa-begins-march-13/) while having commercial interest in success of [FIDO 1FA specifications](https://fidoalliance.org/specifications/download/) and [Windows Hello implementation](https://support.microsoft.com/en-us/windows/passkeys-in-windows-301c8944-5ea2-452b-9886-97e4d2ef4422) which [it promotes as a replacement for passwords](https://github.blog/2023-07-12-introducing-passwordless-authentication-on-github-com/). It will result in dire consequencies and is competely inacceptable, [read why](https://codeberg.org/KOLANICH/Fuck-GuanTEEnomo). + +If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is [the list of alternatives and rationales to do it](https://github.com/orgs/community/discussions/49869). If they delete the discussion, there are certain well-known places where you can get a copy of it. [Read why you should also leave GitHub](https://codeberg.org/KOLANICH/Fuck-GuanTEEnomo). + +--- + This is my rewrite of [`inkwave`](https://github.com/fread-ink/inkwave) into Python in order make it easier for me to create and debug a [Kaitai Struct spec](https://codeberg.org/KOLANICH-specs/kaitai_struct_formats/blob/eink_wbf/hardware/eink_wbf.ksy) for `wbf` format. [`inkwave`](https://github.com/fread-ink/inkwave) is a command-line utility for converting `.wbf` to `.wrf` files and displaying meta-data information from `.wbf` and `.wrf` files in a human readable format. See its README for more details. diff --git a/inkwave/__init__.py b/inkwave/__init__.py index 7ff0e00..094ff54 100644 --- a/inkwave/__init__.py +++ b/inkwave/__init__.py @@ -13,11 +13,14 @@ from pathlib import Path from typing import Dict, List, Mapping, Optional, Union from zlib import crc32 +from warnings import warn import kaitaistruct from .kaitai.eink_wbf import EinkWbf +warn("We have moved from M$ GitHub to https://codeberg.org/KOLANICH-tools/inkwave.py , read why on https://codeberg.org/KOLANICH/Fuck-GuanTEEnomo .") + class uint(int): def __init__(self, v: Union[int, "uint"]) -> None: self = v