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 datetime import datetime, timedelta | |
from django.conf import settings | |
from django.core.management.base import BaseCommand, CommandError | |
from django.db.models import Q | |
from redash_dynamic_query import RedashDynamicQuery | |
from snippets.base.models import ASRSnippet, DailySnippetMetrics |
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
#!/usr/bin/env python3 | |
""" | |
Exports issues from a list of repositories to individual csv files. | |
Uses basic authentication (Github username + password) to retrieve issues | |
from a repository that username has access to. Supports Github API v3. | |
Forked from https://gist.github.com/patrickfuller/e2ea8a94badc5b6967ef3ca0a9452a43 | |
""" | |
import argparse | |
import csv | |
import json |
OlderNewer