Package | Python 3.10 support |
---|---|
aiohttp | ❔ (deprecation warnings, might use removed loop param somewhere) |
aiohttp-json-rpc | ❔ (deprecation warnings) |
aiosqlite | ❔ (we don't actually use this, so...) |
appdirs | ❔ (probably works fine now but we should probably just move to platformlibs instead) |
apsw-wheels | ❔ |
async-timeout | ❔ (probably works fine now; no indication of that though) |
attrs | ✔️ |
Babel | ✔️ (officially support will be added in 2.9.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 Jakub Kuczys (https://github.com/Jackenmen) | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This workflow needs to be adjusted in places marked with '# TODO: ' comments | |
# | |
# Use this command to generate a keystore and a key if you don't already have one: | |
# $ keytool -genkey -v -keystore my-key.p12 -alias my-key -keyalg RSA -keysize 4096 -validity 50000 -keypass android -storepass android | |
# | |
# You can use this command to create base64 string of the file for later use in KEYSTORE_BASE64: | |
# $ base64 my-key.p12 > my-key.p12.base64 | |
name: Build signed Android APK | |
on: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import operator | |
import requests | |
API_URL = "https://graph.facebook.com/v15.0/" | |
TOKEN = "" | |
PAGE_ID = "" | |
# {"post_id": "folder name"} | |
POST_IDS = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python version | pip version | setuptools version | |
---|---|---|---|
3.11.0rc1 | 22.2.2 | 63.2.0 | |
3.11.0b5 | 22.2 | 63.2.0 | |
3.11.0b4 | 22.0.4 | 58.1.0 | |
3.11.0b3 | 22.0.4 | 58.1.0 | |
3.11.0b2 | 22.0.4 | 58.1.0 | |
3.11.0b1 | 22.0.4 | 58.1.0 | |
3.11.0a7 | 22.0.4 | 58.1.0 | |
3.11.0a6 | 21.2.4 | 58.1.0 | |
3.11.0a5 | 21.2.4 | 58.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from typing import Dict | |
import polib | |
from lxml import etree | |
def _str_field(self, *args, **kwargs): | |
ret = _str_field_orig(self, *args, **kwargs) | |
if len(ret) > 1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gzip | |
import os | |
import sys | |
from io import BytesIO | |
from pathlib import Path | |
import requests | |
from debian import deb822 | |
cwd = Path("processed") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""A way to get all GH contributors by diffing tags alone, without using release milestone.""" | |
import subprocess | |
GET_PR_HISTORY_QUERY = """ | |
query getPRHistory( | |
$owner: String! | |
$name: String! | |
$tag_name: String! | |
$after: String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import cgi | |
import json | |
import logging | |
import urllib.parse | |
import urllib.request | |
import webbrowser | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
from typing import Any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Open Discord message links in desktop client | |
// @namespace https://jacken.men | |
// @version 1.1 | |
// @description Replace Discord message links with links using discord:// protocol so that the messages open in the desktop client. | |
// @author jack1142 | |
// @license Apache-2.0; https://www.apache.org/licenses/LICENSE-2.0 | |
// @match *://*/* | |
// @exclude /^https?://(?:(?:ptb|canary|www)\.)?discord(?:app)?\.com/ | |
// @grant none |
NewerOlder