This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import sounddevice | |
import time | |
import random | |
samples_per_second = 44100 | |
def sawtooth(frequency, duration): | |
each_sample_number = np.range(duration * samples_per_second) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pytrends.request import TrendReq | |
import matplotlib.pyplot as plot | |
# hl = hosting language | |
# tz = timezone | |
pytrends = TrendReq(hl='en-US', tz=360) | |
keywords = ["diamonds", "opal", "rubies", "gold", "silver"] | |
keywords = ["diamonds", "opal", "rubies"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Tracking system frontend for Signet | |
Scattered ideas: | |
- undo scans? (maybe better to handle from server side, or maybe just scan to proper location instead) | |
TODO: implement grid system to handle different window sizes (this is kinda clunky on the buttons, also maybe just use percents?) | |
TODO: get this talking to a server with sockets |