This file contains hidden or 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 csv | |
import requests | |
# Ask the user for necessary inputs | |
GITHUB_TOKEN = "GitHubToken" # Replace with your GitHub token | |
# You can generate a token with repo scope from github.com/settings/tokens | |
# Make sure to keep it secret and not share it with anyone | |
# Replace with your repository owner and name | |
REPO_OWNER = "RepoOwner" |
This file contains hidden or 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
# argv.py | |
from sys import argv | |
import csv | |
def main(): | |
# read dna db into memory as dict, by name | |
database = {} | |
with open(argv[1], newline='') as dbFile: | |
reader = csv.reader(dbFile) |
This file contains hidden or 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
b64_encode(p*) { | |
return b64.encode(p*) | |
} | |
b64_decode(p*) { | |
return b64.decode(p*) | |
} | |
class b64 | |
{ |