I hereby claim:
- I am alextremblay on github.
- I am alextremblay (https://keybase.io/alextremblay) on keybase.
- I have a public key ASCRY-OTDNDA37iCUS3Ggd2iNaGcCYYs09KxF9Q8jlInlQo
To claim this, I am signing this object:
[ | |
{ | |
"backcolor": "#666666", | |
"name": "BFO-9000" | |
}, | |
[ | |
{ | |
"p": "CHICKLET", | |
"a": 3 | |
}, |
# replace the default: | |
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh | |
eval "$(atuin init bash)" | |
# with this: | |
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh | |
eval "$(atuin init bash --disable-up-arrow)" | |
export ATUIN_ARROW_INDEX=-1 | |
export ATUIN_CYCLE_MODE=0 |
[tool.poetry] | |
name = "utsc.core" | |
version = "2022.5.13" | |
description = "an opinionated set of utilities designed to be easily included in any number of projects" | |
readme = "README.md" | |
authors = ["Alex Tremblay <alex.tremblay@utoronto.ca>", "University of Toronto Governing Council <governing.council@utoronto.ca>"] | |
license = "MIT" | |
packages = [ | |
{ include = "utsc/core", from = "../../src" } | |
] |
from pathlib import Path | |
import pickle | |
from typing import Union | |
import csv | |
from uuid import uuid4 | |
import requests | |
import arrow | |
from __future__ import annotations | |
from typing import Any, Callable, List, Literal, Tuple, Union, TypeVar, cast | |
import regex | |
from regex.regex import Match | |
DEFAULT = '_SCANNER_DEFAULT_PATTERN' # a sentinel value | |
T = TypeVar('T') | |
class TokenMeta(type): |
The following is an example of how to asynchronously fetch all objects at a given REST API endpoint by ID, with rate limiting, using the awesome asks library | |
https://asks.readthedocs.io/en/latest/ |
I hereby claim:
To claim this, I am signing this object: