mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
chore: RIP PEP722
This commit is contained in:
parent
5fb501aa2c
commit
1bb48eedbc
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env -S viv run -s
|
|
||||||
# In order to run, this script needs the following 3rd party libraries
|
|
||||||
#
|
|
||||||
# Script Dependencies:
|
|
||||||
# requests
|
|
||||||
# rich # Needed for the output
|
|
||||||
|
|
||||||
import requests
|
|
||||||
from rich import print
|
|
||||||
|
|
||||||
resp = requests.get("https://peps.python.org/api/peps.json")
|
|
||||||
data = resp.json()
|
|
||||||
print([(k, v["title"]) for k, v in data.items()][:10])
|
|
Loading…
Reference in a new issue