Search is not available for this dataset
id
stringlengths
1
8
text
stringlengths
72
9.81M
addition_count
int64
0
10k
commit_subject
stringlengths
0
3.7k
deletion_count
int64
0
8.43k
file_extension
stringlengths
0
32
lang
stringlengths
1
94
license
stringclasses
10 values
repo_name
stringlengths
9
59
10030850
<NME> views.py <BEF> import itertools import json import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, redirect, render_template, request, session as flask_session, url_for from flask_login imp...
72
Added a view for monitoring worker status.
27
.py
py
mit
UrbanCCD-UChicago/plenario
10030851
<NME> views.py <BEF> import itertools import json import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, redirect, render_template, request, session as flask_session, url_for from flask_login imp...
72
Added a view for monitoring worker status.
27
.py
py
mit
UrbanCCD-UChicago/plenario
10030852
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
0
Revert weather and weather metar
2
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030853
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
0
Revert weather and weather metar
2
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030854
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
0
Revert weather and weather metar
2
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030855
<NME> weather_metar.py <BEF> import csv import os import requests from lxml import etree, objectify from lxml.etree import fromstring from metar.metar import Metar from plenario.database import postgres_engine as engine # Example METAR URL: 'https://aviationweather.gov/adds/dataserver_current/httpparam?datasource=me...
1
Fix update_metar
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030856
<NME> weather_metar.py <BEF> import csv import os import requests from lxml import etree, objectify from lxml.etree import fromstring from metar.metar import Metar from plenario.database import postgres_engine as engine # Example METAR URL: 'https://aviationweather.gov/adds/dataserver_current/httpparam?datasource=me...
1
Fix update_metar
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030857
<NME> weather_metar.py <BEF> import csv import os import requests from lxml import etree, objectify from lxml.etree import fromstring from metar.metar import Metar from plenario.database import postgres_engine as engine # Example METAR URL: 'https://aviationweather.gov/adds/dataserver_current/httpparam?datasource=me...
1
Fix update_metar
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030858
<NME> point.py <BEF> # import json # from csvkit.unicsv import UnicodeCSVReader import csv from logging import getLogger from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaData from sqlalchemy import select, func, text from sqlalchemy.sql import col...
4
Merge branch 'hash-etl' of github.com:UrbanCCD-UChicago/plenario into hash-etl
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030859
<NME> point.py <BEF> # import json # from csvkit.unicsv import UnicodeCSVReader import csv from logging import getLogger from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaData from sqlalchemy import select, func, text from sqlalchemy.sql import col...
4
Merge branch 'hash-etl' of github.com:UrbanCCD-UChicago/plenario into hash-etl
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030860
<NME> point.py <BEF> # import json # from csvkit.unicsv import UnicodeCSVReader import csv from logging import getLogger from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaData from sqlalchemy import select, func, text from sqlalchemy.sql import col...
4
Merge branch 'hash-etl' of github.com:UrbanCCD-UChicago/plenario into hash-etl
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030861
<NME> public_opera_performances.csv <BEF> ADDFILE <MSG> Merge branch 'master' into shape-detail <DFF> @@ -0,0 +1,6 @@ +Event Name,Date,Location +foo,10/25/2015,"(42.288066973, -87.729512789)" +bar,10/27/2015,"(40.43564, -87.4327926789)" +baz,11/10/2015,"(41.888066973, -87.7322789)" +fizz,11/15/2015,"(41.875066973, -87...
6
Merge branch 'master' into shape-detail
0
.csv
csv
mit
UrbanCCD-UChicago/plenario
10030862
<NME> public_opera_performances.csv <BEF> ADDFILE <MSG> Merge branch 'master' into shape-detail <DFF> @@ -0,0 +1,6 @@ +Event Name,Date,Location +foo,10/25/2015,"(42.288066973, -87.729512789)" +bar,10/27/2015,"(40.43564, -87.4327926789)" +baz,11/10/2015,"(41.888066973, -87.7322789)" +fizz,11/15/2015,"(41.875066973, -87...
6
Merge branch 'master' into shape-detail
0
.csv
csv
mit
UrbanCCD-UChicago/plenario
10030863
<NME> public_opera_performances.csv <BEF> ADDFILE <MSG> Merge branch 'master' into shape-detail <DFF> @@ -0,0 +1,6 @@ +Event Name,Date,Location +foo,10/25/2015,"(42.288066973, -87.729512789)" +bar,10/27/2015,"(40.43564, -87.4327926789)" +baz,11/10/2015,"(41.888066973, -87.7322789)" +fizz,11/15/2015,"(41.875066973, -87...
6
Merge branch 'master' into shape-detail
0
.csv
csv
mit
UrbanCCD-UChicago/plenario
10030864
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
6
Reorganization / support for contribute form
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030865
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
6
Reorganization / support for contribute form
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030866
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
6
Reorganization / support for contribute form
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030867
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
4
Return of the YAML and Travis Bugs
4
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030868
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
4
Return of the YAML and Travis Bugs
4
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030869
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
4
Return of the YAML and Travis Bugs
4
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030870
<NME> celery.config <BEF> ADDFILE <MSG> Try adding Celery daemon to elastic worker <DFF> @@ -0,0 +1,47 @@ +files: + "/opt/elasticbeanstalk/hooks/appdeploy/post/run_supervised_celeryd.sh": + mode: "000755" + owner: root + group: root + content: | + #!/usr/bin/env bash + # Many thanks to http://st...
47
Try adding Celery daemon to elastic worker
0
.config
ebextensions/celery
mit
UrbanCCD-UChicago/plenario
10030871
<NME> celery.config <BEF> ADDFILE <MSG> Try adding Celery daemon to elastic worker <DFF> @@ -0,0 +1,47 @@ +files: + "/opt/elasticbeanstalk/hooks/appdeploy/post/run_supervised_celeryd.sh": + mode: "000755" + owner: root + group: root + content: | + #!/usr/bin/env bash + # Many thanks to http://st...
47
Try adding Celery daemon to elastic worker
0
.config
ebextensions/celery
mit
UrbanCCD-UChicago/plenario
10030872
<NME> celery.config <BEF> ADDFILE <MSG> Try adding Celery daemon to elastic worker <DFF> @@ -0,0 +1,47 @@ +files: + "/opt/elasticbeanstalk/hooks/appdeploy/post/run_supervised_celeryd.sh": + mode: "000755" + owner: root + group: root + content: | + #!/usr/bin/env bash + # Many thanks to http://st...
47
Try adding Celery daemon to elastic worker
0
.config
ebextensions/celery
mit
UrbanCCD-UChicago/plenario
10030873
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
16
Formatting in point.
13
.py
py
mit
UrbanCCD-UChicago/plenario
10030874
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
16
Formatting in point.
13
.py
py
mit
UrbanCCD-UChicago/plenario
10030875
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
16
Formatting in point.
13
.py
py
mit
UrbanCCD-UChicago/plenario
10030876
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Don't update uningested datasets
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030877
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Don't update uningested datasets
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030878
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Don't update uningested datasets
1
.py
py
mit
UrbanCCD-UChicago/plenario
10030879
<NME> views.py <BEF> import itertools import json import re from cStringIO import StringIO from collections import namedtuple from datetime import datetime from hashlib import md5 from urlparse import urlparse import dateutil.relativedelta import requests import sqlalchemy from flask import make_response, request, red...
13
Convert files called by running init_db
14
.py
py
mit
UrbanCCD-UChicago/plenario
10030880
<NME> views.py <BEF> import itertools import json import re from cStringIO import StringIO from collections import namedtuple from datetime import datetime from hashlib import md5 from urlparse import urlparse import dateutil.relativedelta import requests import sqlalchemy from flask import make_response, request, red...
13
Convert files called by running init_db
14
.py
py
mit
UrbanCCD-UChicago/plenario
10030881
<NME> views.py <BEF> import itertools import json import re from cStringIO import StringIO from collections import namedtuple from datetime import datetime from hashlib import md5 from urlparse import urlparse import dateutil.relativedelta import requests import sqlalchemy from flask import make_response, request, red...
13
Convert files called by running init_db
14
.py
py
mit
UrbanCCD-UChicago/plenario
10030882
<NME> update.py <BEF> ADDFILE <MSG> Merge branch 'master' into shape-column-selection <DFF> @@ -0,0 +1,52 @@ +import sys +import plenario.tasks as tasks + +# Alternative to celerybeat configuration in plenario/celery_settings.py +# +# I ran into bugs with celerybeat in production, +# but in general celry + redis were ...
52
Merge branch 'master' into shape-column-selection
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030883
<NME> update.py <BEF> ADDFILE <MSG> Merge branch 'master' into shape-column-selection <DFF> @@ -0,0 +1,52 @@ +import sys +import plenario.tasks as tasks + +# Alternative to celerybeat configuration in plenario/celery_settings.py +# +# I ran into bugs with celerybeat in production, +# but in general celry + redis were ...
52
Merge branch 'master' into shape-column-selection
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030884
<NME> update.py <BEF> ADDFILE <MSG> Merge branch 'master' into shape-column-selection <DFF> @@ -0,0 +1,52 @@ +import sys +import plenario.tasks as tasks + +# Alternative to celerybeat configuration in plenario/celery_settings.py +# +# I ran into bugs with celerybeat in production, +# but in general celry + redis were ...
52
Merge branch 'master' into shape-column-selection
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030885
<NME> README.md <BEF> # W.O.P.R. API RESTful API for geospatial and time aggregation across multiple Chicago open datasets. Lovingly dubbed the WOPR. ## Running locally ``` bash git clone git@github.com:datamade/wopr-api.git cd wopr-api pip install -r requirements.txt python runserver.py ``` It is maintained by Urba...
7
rename to Plenario
7
.md
md
mit
UrbanCCD-UChicago/plenario
10030886
<NME> README.md <BEF> # W.O.P.R. API RESTful API for geospatial and time aggregation across multiple Chicago open datasets. Lovingly dubbed the WOPR. ## Running locally ``` bash git clone git@github.com:datamade/wopr-api.git cd wopr-api pip install -r requirements.txt python runserver.py ``` It is maintained by Urba...
7
rename to Plenario
7
.md
md
mit
UrbanCCD-UChicago/plenario
10030887
<NME> README.md <BEF> # W.O.P.R. API RESTful API for geospatial and time aggregation across multiple Chicago open datasets. Lovingly dubbed the WOPR. ## Running locally ``` bash git clone git@github.com:datamade/wopr-api.git cd wopr-api pip install -r requirements.txt python runserver.py ``` It is maintained by Urba...
7
rename to Plenario
7
.md
md
mit
UrbanCCD-UChicago/plenario
10030888
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Kludge out local row estimate problems by using dummy number
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030889
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Kludge out local row estimate problems by using dummy number
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030890
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Kludge out local row estimate problems by using dummy number
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030891
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import copy import sqlalchemy import traceback import response as api_response from dateutil import parser from flask import Response, jsonify, request, stream_with_context from plenario...
7
Get local workers running for shapes and datadump
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030892
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import copy import sqlalchemy import traceback import response as api_response from dateutil import parser from flask import Response, jsonify, request, stream_with_context from plenario...
7
Get local workers running for shapes and datadump
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030893
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import copy import sqlalchemy import traceback import response as api_response from dateutil import parser from flask import Response, jsonify, request, stream_with_context from plenario...
7
Get local workers running for shapes and datadump
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030894
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
39
Merge pull request #293 from UrbanCCD-UChicago/development
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030895
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
39
Merge pull request #293 from UrbanCCD-UChicago/development
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030896
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
39
Merge pull request #293 from UrbanCCD-UChicago/development
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030897
<NME> views.py <BEF> from flask import Blueprint, request from json import dumps, loads from redis import Redis from plenario.settings import REDIS_HOST_SAFE blueprint = Blueprint("apiary", __name__) redis = Redis(REDIS_HOST_SAFE) @blueprint.route("/apiary/send_message", methods=["POST"]) def send_message(): t...
17
Add a rudimentary view for tracking mapper errors
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030898
<NME> views.py <BEF> from flask import Blueprint, request from json import dumps, loads from redis import Redis from plenario.settings import REDIS_HOST_SAFE blueprint = Blueprint("apiary", __name__) redis = Redis(REDIS_HOST_SAFE) @blueprint.route("/apiary/send_message", methods=["POST"]) def send_message(): t...
17
Add a rudimentary view for tracking mapper errors
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030899
<NME> views.py <BEF> from flask import Blueprint, request from json import dumps, loads from redis import Redis from plenario.settings import REDIS_HOST_SAFE blueprint = Blueprint("apiary", __name__) redis = Redis(REDIS_HOST_SAFE) @blueprint.route("/apiary/send_message", methods=["POST"]) def send_message(): t...
17
Add a rudimentary view for tracking mapper errors
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030900
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
1
It's Not a Bug, It's a CVE as a Feature!
1
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030901
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
1
It's Not a Bug, It's a CVE as a Feature!
1
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030902
<NME> requirements.txt <BEF> agate==1.6.0 agate-dbf==0.2.0 agate-excel==0.2.1 agate-sql==0.5.2 alembic==0.9.2 amqp==2.1.4 Babel==2.4.0 bcrypt==3.1.3 billiard==3.5.0.2 blinker==1.4 boto==2.47.0 boto3==1.4.4 botocore==1.5.79 celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 chardet==3.0.4 click==6.7 contextlib2==0.5.5 csvkit...
1
It's Not a Bug, It's a CVE as a Feature!
1
.txt
txt
mit
UrbanCCD-UChicago/plenario
10030903
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Add migration scripts to reflect new schema Restart migration from master.
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030904
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Add migration scripts to reflect new schema Restart migration from master.
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030905
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
3
Add migration scripts to reflect new schema Restart migration from master.
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030906
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
0
column_names moved back to the ETL, found its proper place
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030907
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
0
column_names moved back to the ETL, found its proper place
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030908
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
0
column_names moved back to the ETL, found its proper place
5
.py
py
mit
UrbanCCD-UChicago/plenario
10030909
<NME> test_archive.py <BEF> import csv import os import tarfile import boto3 from plenario.settings import S3_BUCKET from plenario.tasks import archive from tests import BaseTest class TestArchive(BaseTest): def test_archive(self): archive('2017-01') s3 = boto3.client('s3') with open(...
3
Merge branch 'master' into 'v8-sensor-tree'
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030910
<NME> test_archive.py <BEF> import csv import os import tarfile import boto3 from plenario.settings import S3_BUCKET from plenario.tasks import archive from tests import BaseTest class TestArchive(BaseTest): def test_archive(self): archive('2017-01') s3 = boto3.client('s3') with open(...
3
Merge branch 'master' into 'v8-sensor-tree'
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030911
<NME> test_archive.py <BEF> import csv import os import tarfile import boto3 from plenario.settings import S3_BUCKET from plenario.tasks import archive from tests import BaseTest class TestArchive(BaseTest): def test_archive(self): archive('2017-01') s3 = boto3.client('s3') with open(...
3
Merge branch 'master' into 'v8-sensor-tree'
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030912
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
1
Find the ultimate answer to the admin panel bug
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030913
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
1
Find the ultimate answer to the admin panel bug
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030914
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
1
Find the ultimate answer to the admin panel bug
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030915
<NME> submit_tests.py <BEF> ADDFILE <MSG> Begin sketching out submission class <DFF> @@ -0,0 +1,39 @@ +import unittest +from plenario.views import Submission + + +class EvilSubmitTests(unittest.TestCase): + def test_nonsense_url(self): + self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense')) +...
39
Begin sketching out submission class
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030916
<NME> submit_tests.py <BEF> ADDFILE <MSG> Begin sketching out submission class <DFF> @@ -0,0 +1,39 @@ +import unittest +from plenario.views import Submission + + +class EvilSubmitTests(unittest.TestCase): + def test_nonsense_url(self): + self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense')) +...
39
Begin sketching out submission class
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030917
<NME> submit_tests.py <BEF> ADDFILE <MSG> Begin sketching out submission class <DFF> @@ -0,0 +1,39 @@ +import unittest +from plenario.views import Submission + + +class EvilSubmitTests(unittest.TestCase): + def test_nonsense_url(self): + self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense')) +...
39
Begin sketching out submission class
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030918
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
6
Merge pull request #302 from UrbanCCD-UChicago/extend-metadata
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030919
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
6
Merge pull request #302 from UrbanCCD-UChicago/extend-metadata
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030920
<NME> test_sensor_networks.py <BEF> import json import time import unittest from .fixtures import Fixtures from plenario.server import create_app class TestSensorNetworks(unittest.TestCase): fixtures = Fixtures() def get_result(self, url): response = self.app.get(url) return response, json...
6
Merge pull request #302 from UrbanCCD-UChicago/extend-metadata
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030921
<NME> point.py <BEF> # import json from sqlalchemy.exc import NoSuchTableError from plenario.database import app_engine as engine, session from plenario.utils.helpers import iter_column, slugify from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaDat...
21
Add pkey constraint to hash column
10
.py
py
mit
UrbanCCD-UChicago/plenario
10030922
<NME> point.py <BEF> # import json from sqlalchemy.exc import NoSuchTableError from plenario.database import app_engine as engine, session from plenario.utils.helpers import iter_column, slugify from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaDat...
21
Add pkey constraint to hash column
10
.py
py
mit
UrbanCCD-UChicago/plenario
10030923
<NME> point.py <BEF> # import json from sqlalchemy.exc import NoSuchTableError from plenario.database import app_engine as engine, session from plenario.utils.helpers import iter_column, slugify from sqlalchemy import Boolean, Integer, BigInteger, Float, String, Date, TIME, TIMESTAMP, Text,\ Table, Column, MetaDat...
21
Add pkey constraint to hash column
10
.py
py
mit
UrbanCCD-UChicago/plenario
10030924
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
1
Disable archive tests for now till its less spotty
1
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030925
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
1
Disable archive tests for now till its less spotty
1
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030926
<NME> .travis.yml <BEF> language: python python: - '3.4' addons: postgresql: '9.4' apt: packages: - gdal-bin - postgresql-9.4-postgis-2.3 - postgresql-9.4-plv8 services: - postgresql - redis-server sudo: required dist: trusty cache: pip before_install: - pip install -r requirements.txt # inst...
1
Disable archive tests for now till its less spotty
1
.yml
travis
mit
UrbanCCD-UChicago/plenario
10030927
<NME> weather.py <BEF> import requests import os import tarfile import zipfile from cStringIO import StringIO import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP import calendar from plenario.database import task_session as session, task_engine as engine, \ Base from ...
452
Added code to parse monthly and daily QCLCD data (since May 2007 only)
24
.py
py
mit
UrbanCCD-UChicago/plenario
10030928
<NME> weather.py <BEF> import requests import os import tarfile import zipfile from cStringIO import StringIO import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP import calendar from plenario.database import task_session as session, task_engine as engine, \ Base from ...
452
Added code to parse monthly and daily QCLCD data (since May 2007 only)
24
.py
py
mit
UrbanCCD-UChicago/plenario
10030929
<NME> weather.py <BEF> import requests import os import tarfile import zipfile from cStringIO import StringIO import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP import calendar from plenario.database import task_session as session, task_engine as engine, \ Base from ...
452
Added code to parse monthly and daily QCLCD data (since May 2007 only)
24
.py
py
mit
UrbanCCD-UChicago/plenario
10030930
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
11
Disambiguating self.station_table, self.daily_table, self.hourly_table.
11
.py
py
mit
UrbanCCD-UChicago/plenario
10030931
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
11
Disambiguating self.station_table, self.daily_table, self.hourly_table.
11
.py
py
mit
UrbanCCD-UChicago/plenario
10030932
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
11
Disambiguating self.station_table, self.daily_table, self.hourly_table.
11
.py
py
mit
UrbanCCD-UChicago/plenario
10030933
<NME> flask-admin.py <BEF> ADDFILE <MSG> Initial Flask-Admin commit. <DFF> @@ -0,0 +1,118 @@ +from flask import Flask, render_template, request, url_for, redirect +from flask_admin import Admin, helpers as admin_helpers, AdminIndexView +from flask_admin.contrib.sqla import ModelView + +from flask_sqlalchemy import SQL...
118
Initial Flask-Admin commit.
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030934
<NME> flask-admin.py <BEF> ADDFILE <MSG> Initial Flask-Admin commit. <DFF> @@ -0,0 +1,118 @@ +from flask import Flask, render_template, request, url_for, redirect +from flask_admin import Admin, helpers as admin_helpers, AdminIndexView +from flask_admin.contrib.sqla import ModelView + +from flask_sqlalchemy import SQL...
118
Initial Flask-Admin commit.
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030935
<NME> flask-admin.py <BEF> ADDFILE <MSG> Initial Flask-Admin commit. <DFF> @@ -0,0 +1,118 @@ +from flask import Flask, render_template, request, url_for, redirect +from flask_admin import Admin, helpers as admin_helpers, AdminIndexView +from flask_admin.contrib.sqla import ModelView + +from flask_sqlalchemy import SQL...
118
Initial Flask-Admin commit.
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030936
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
3
Don't claim dataset_name is unused in warnings
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030937
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
3
Don't claim dataset_name is unused in warnings
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030938
<NME> point.py <BEF> import codecs import csv import io import json import re import traceback from collections import OrderedDict import shapely.geometry import shapely.wkb import sqlalchemy from collections import OrderedDict from datetime import datetime, timedelta from dateutil import parser from flask import Res...
3
Don't claim dataset_name is unused in warnings
3
.py
py
mit
UrbanCCD-UChicago/plenario
10030939
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
2
Revert weird reformatting of weather.py
4
.py
py
mit
UrbanCCD-UChicago/plenario
10030940
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
2
Revert weird reformatting of weather.py
4
.py
py
mit
UrbanCCD-UChicago/plenario
10030941
<NME> weather.py <BEF> import calendar import csv import operator import os import re import sys import tarfile import zipfile from datetime import date, datetime, timedelta from ftplib import FTP from io import StringIO import requests import sqlalchemy from dateutil import parser, relativedelta from geoalchemy2 impo...
2
Revert weird reformatting of weather.py
4
.py
py
mit
UrbanCCD-UChicago/plenario
10030942
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030943
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030944
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
0
.py
py
mit
UrbanCCD-UChicago/plenario
10030945
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'data-dump' into unified-jobs
23
.py
py
mit
UrbanCCD-UChicago/plenario
10030946
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'data-dump' into unified-jobs
23
.py
py
mit
UrbanCCD-UChicago/plenario
10030947
<NME> views.py <BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention import itertools import re from collections import namedtuple from hashlib import md5 from io import StringIO from urllib.parse import urlparse import requests from flask import Blueprint, flash, r...
4
Merge branch 'data-dump' into unified-jobs
23
.py
py
mit
UrbanCCD-UChicago/plenario
10030948
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
5
Get resolve task working
7
.py
py
mit
UrbanCCD-UChicago/plenario
10030949
<NME> tasks.py <BEF> import csv import logging import os import tarfile from datetime import datetime, timedelta import boto3 from celery import Celery from dateutil.parser import parse as date_parse from raven import Client from sqlalchemy import Table from plenario.database import redshift_base, redshift_session, p...
5
Get resolve task working
7
.py
py
mit
UrbanCCD-UChicago/plenario