- Is UV the FUTURE of Python PACKAGING? 🐍📦, by Hynek Schlawack
- Which Python Package Manager Should You Use?
- How virtual environments work by Brett Cannon
""" | |
Structlog example configuration with FastAPI. | |
Features: | |
- async bound logger | |
- contextvars to log request-id and other meta data | |
- custom format for default logging loggers and structlog loggers | |
""" | |
import asyncio | |
import logging |
import numpy as np | |
import pandas as pd | |
from matplotlib.figure import Figure | |
data_url = "https://cdn.jsdelivr.net/gh/holoviz/panel@master/examples/assets/occupancy.csv" | |
data = pd.read_csv(data_url, parse_dates=["date"]).set_index("date") | |
primary_color = "#0072B5" | |
secondary_color = "#94EA84" |
from datetime import datetime | |
from typing import Optional | |
import pandas as pd | |
from rich import box | |
from rich.console import Console | |
from rich.table import Table | |
console = Console() |
This is the repository containig the ricing configuration of the system. Please follow the steps of the README.md file in the repository to get the desired effect of ricing.
i3 is one of the most popular open source software that is used for ricing. 'Ricing' basically represents customizing desktop and enables multi-tasking tiling features and so on.
$ sudo apt install i3
This is the sample scripts for creating new event with Google Meet link to Google Calendar using various languages. When I saw the official document of "Add video and phone conferences to events", in the current stage, I can see only the sample script for Javascript. But I saw the several questions related to this for various languages. So I published the sample scripts for creating new event with Google Meet link to Google Calendar using various languages.
In order to create new event with Google Meet link to Google Calendar, it is required to set the request body and query parameter as follows.
Please add the following object to the request body.
conferenceData: {
""" | |
WARNING: dont use loguru, use structlog | |
https://gist.github.com/nkhitrov/38adbb314f0d35371eba4ffb8f27078f | |
Configure handlers and formats for application loggers. | |
""" | |
import logging | |
import sys | |
from pprint import pformat |
#!/bin/sh | |
# Configure the workspaces | |
for monitor in $(bspc query -M); do | |
bspc monitor $monitor -d 1 2 3 4 5 6 7 8 9 | |
done | |
sxhkd &> /var/log/sxhkd.log & | |
bspc config border_width 1 |