Skip to content

Instantly share code, notes, and snippets.

View mfunk's full-sized avatar

Matt Funk mfunk

View GitHub Profile
@unbracketed
unbracketed / export_repo_issues_to_csv.py
Last active August 3, 2023 18:13
Export Issues from Github repo to CSV (API v3)
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
import csv
# Python Simple csv writer/reader snippets
# NOTE: "rb" "wb" is important csv needs these to be opened in "binary" format
###################################################
# csv writer snippet
@cgudea
cgudea / geodesy_regex.py
Created August 28, 2014 19:38
regular expressions for verifying common coordinate systems
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Basic PyGithub Example - Example/test of using PyGithub (Python Github API)
# Repo(s) Open Issues List to CSV
# requires PyGithub (and python-jose) :
# pip install PyGithub
# -or- conda install -c conda-forge --name yourenvname pygithub
import os
import csv