Skip to content

Instantly share code, notes, and snippets.

View dahliahadfury's full-sized avatar
:octocat:
some internet where

dahliahadfury

:octocat:
some internet where
View GitHub Profile
artist title sexy_score
0 Cigarettes After Sex Young & Dumb 0.321
1 Cigarettes After Sex Heavenly 0.317
2 Cigarettes After Sex Pure 0.314
3 Cigarettes After Sex Sweet 0.302
4 Cigarettes After Sex Crush 0.301
5 Cigarettes After Sex Please Don't Cry 0.301
6 Cigarettes After Sex Hentai 0.299
7 Cigarettes After Sex Truly 0.296
8 Cigarettes After Sex You're the Only Good Thing in My Life 0.294
@dahliahadfury
dahliahadfury / cas_ranking.csv
Last active September 24, 2020 10:52
cas song
title album release_date sexy_score
0 Young & Dumb Cigarettes After Sex 2017-06-09 0.321
1 Heavenly Cry 2019-08-28 0.317
2 Pure Cry 2019-10-25 0.314
3 Sweet Cigarettes After Sex 2017-06-09 0.302
4 Crush Single 2018-06-09 0.301
5 Please Don't Cry Romans 13:9 2011-11-26 0.301
6 Hentai Cry 2019-10-25 0.299
7 Truly Cigarettes After Sex 2017-06-09 0.296
8 You're the Only Good Thing in My Life Cry 2019-10-25 0.294
import stylecloud
stylecloud.gen_stylecloud(text = text,
icon_name = "fas fa-compact-disc",
palette="cartocolors.diverging.TealRose_7",
background_color="black",
collocations=False,
output_name="wc3.png",
size=(2000, 1500))
@dahliahadfury
dahliahadfury / cas_read_json.txt
Last active September 21, 2020 20:06
cas song
import lyricsgenius
genius = lyricsgenius.Genius("TOKEN")
artist = genius.search_artist("Cigarettes After Sex", max_songs=100, sort="title")
artist.to_json("songs.json")
with open('songs.json') as json_file:
data = json.load(json_file)
for item in data["songs"]:
api_path = item["api_path"]
title = item["title"]