Skip to content

Instantly share code, notes, and snippets.

View lnxpy's full-sized avatar
🧑‍🎓
Researching..

Sadra Yahyapour lnxpy

🧑‍🎓
Researching..
View GitHub Profile
@lnxpy
lnxpy / api.py
Created August 19, 2023 11:08
pypistats.org/api API interface
from os import path
from typing import Collection, Dict
import numpy as np
import pandas as pd
import requests
SERVICE_URL = r"https://pypistats.org"
API_BASE_URL = path.join(SERVICE_URL, "api/packages/")
/* triples as < subject, predicate, object > */
<root, DZ, Country Name>
<Country Name, type, Algeria>
<root, DZ, Calling Code>
<root, DZ, Official Language>
<Official Language, type, Arabic>
<root, DZ, Capital>
<Capital, type, Algiers>
<root, DZ, Currency>
@lnxpy
lnxpy / sadra_custom.latte
Created May 19, 2022 15:03
My Latte Dock Configuration
[ActionPlugins][1]
RightButton;NoModifier=org.kde.latte.contextmenu
[Containments][155]
PreloadWeight=0
activityId=
formfactor=2
immutability=1
lastScreen=-1
layoutId=
@lnxpy
lnxpy / vscode.json
Last active November 22, 2023 08:51
My VSCode Configs
{
"editor.fontSize": 17,
"workbench.iconTheme": "eq-material-theme-icons-light",
"workbench.tree.indent": 25,
"editor.renderWhitespace": "none",
"editor.cursorStyle": "line",
"editor.cursorBlinking": "smooth",
"editor.minimap.enabled": false,
"workbench.colorTheme": "Dobri Next -A03- Mirage",
"editor.fontLigatures": true,