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 |
|---|---|---|---|---|---|---|---|---|
10033250 | <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... | 60 | ETL jobs working. Need to test | 46 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033251 | <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... | 60 | ETL jobs working. Need to test | 46 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033252 | <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 | Fixed typo in Worker Status view. Tweaked orphaned jobs handler (which still needs to be tested). | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033253 | <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 | Fixed typo in Worker Status view. Tweaked orphaned jobs handler (which still needs to be tested). | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033254 | <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 | Fixed typo in Worker Status view. Tweaked orphaned jobs handler (which still needs to be tested). | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033255 | <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... | 2 | Fix bug blocking view of shape status | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033256 | <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... | 2 | Fix bug blocking view of shape status | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033257 | <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... | 2 | Fix bug blocking view of shape status | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033258 | <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... | 1 | Debug detail-aggregate | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033259 | <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... | 1 | Debug detail-aggregate | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033260 | <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... | 1 | Debug detail-aggregate | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033261 | <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 | Fixed AUTOSCALING_GROUP bug, tweaked worker status page, edited logging. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033262 | <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 | Fixed AUTOSCALING_GROUP bug, tweaked worker status page, edited logging. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033263 | <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 | Fixed AUTOSCALING_GROUP bug, tweaked worker status page, edited logging. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033264 | <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... | 3 | Fix GenericDataset formatting | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033265 | <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... | 3 | Fix GenericDataset formatting | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033266 | <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... | 3 | Fix GenericDataset formatting | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033267 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 9 | Merge remote-tracking branch 'origin/aot-apiary' into aot-apiary | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033268 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 9 | Merge remote-tracking branch 'origin/aot-apiary' into aot-apiary | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033269 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 9 | Merge remote-tracking branch 'origin/aot-apiary' into aot-apiary | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033270 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 0 | Remove stray pdb.set_trace | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033271 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 0 | Remove stray pdb.set_trace | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033272 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 0 | Remove stray pdb.set_trace | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033273 | <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 | Removing SQLAlchemy print statements | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033274 | <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 | Removing SQLAlchemy print statements | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033275 | <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 | Removing SQLAlchemy print statements | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033276 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import Og... | 5 | Put off shape column selection | 35 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033277 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import Og... | 5 | Put off shape column selection | 35 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033278 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import Og... | 5 | Put off shape column selection | 35 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033279 | <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... | 2 | Add in barebones celery | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033280 | <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... | 2 | Add in barebones celery | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033281 | <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... | 2 | Add in barebones celery | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033282 | <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... | 2 | Fixing error on admin/edit-dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033283 | <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... | 2 | Fixing error on admin/edit-dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033284 | <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... | 2 | Fixing error on admin/edit-dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033285 | <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... | 42 | Merge branch 'master' into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033286 | <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... | 42 | Merge branch 'master' into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033287 | <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... | 42 | Merge branch 'master' into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033288 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 11 | Preserve current changes from computer freezing | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033289 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 11 | Preserve current changes from computer freezing | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033290 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 11 | Preserve current changes from computer freezing | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033291 | <NME> sensor_aggregate_functions.py
<BEF> from collections import defaultdict
from copy import deepcopy
from datetime import datetime, timedelta
from sqlalchemy import Table, and_, asc, func
from sqlalchemy.sql import select
from plenario.database import redshift_base as redshift_base, redshift_session as r_session
... | 1 | Fix sensors in the aggregate endpoint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033292 | <NME> sensor_aggregate_functions.py
<BEF> from collections import defaultdict
from copy import deepcopy
from datetime import datetime, timedelta
from sqlalchemy import Table, and_, asc, func
from sqlalchemy.sql import select
from plenario.database import redshift_base as redshift_base, redshift_session as r_session
... | 1 | Fix sensors in the aggregate endpoint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033293 | <NME> sensor_aggregate_functions.py
<BEF> from collections import defaultdict
from copy import deepcopy
from datetime import datetime, timedelta
from sqlalchemy import Table, and_, asc, func
from sqlalchemy.sql import select
from plenario.database import redshift_base as redshift_base, redshift_session as r_session
... | 1 | Fix sensors in the aggregate endpoint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033294 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import and_, func as sqla_fn
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.orm import relationship
from plenario.database import B... | 38 | Uncomment mirror code | 40 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033295 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import and_, func as sqla_fn
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.orm import relationship
from plenario.database import B... | 38 | Uncomment mirror code | 40 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033296 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import and_, func as sqla_fn
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.orm import relationship
from plenario.database import B... | 38 | Uncomment mirror code | 40 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033297 | <NME> sensor_aggregate_functions.py
<BEF> apply_aggregate_fn = {
}
if col.name in meta_columns:
continue
if col.name not in target_columns:
continue
if str(col.type).split('(')[0] != 'DOUBLE PRECISION':
continue
selects.append(agg_fn(col).label(col.na... | 91 | merge fix | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033298 | <NME> sensor_aggregate_functions.py
<BEF> apply_aggregate_fn = {
}
if col.name in meta_columns:
continue
if col.name not in target_columns:
continue
if str(col.type).split('(')[0] != 'DOUBLE PRECISION':
continue
selects.append(agg_fn(col).label(col.na... | 91 | merge fix | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033299 | <NME> sensor_aggregate_functions.py
<BEF> apply_aggregate_fn = {
}
if col.name in meta_columns:
continue
if col.name not in target_columns:
continue
if str(col.type).split('(')[0] != 'DOUBLE PRECISION':
continue
selects.append(agg_fn(col).label(col.na... | 91 | merge fix | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033300 | <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... | 2 | Try bypassing cache to solve weird metadata display bug | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033301 | <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... | 2 | Try bypassing cache to solve weird metadata display bug | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033302 | <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... | 2 | Try bypassing cache to solve weird metadata display bug | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033303 | <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... | 1 | Don't display result ids for dataset metadata | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033304 | <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... | 1 | Don't display result ids for dataset metadata | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033305 | <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... | 1 | Don't display result ids for dataset metadata | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033306 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 6 | Update README.md | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033307 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 6 | Update README.md | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033308 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 6 | Update README.md | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033309 | <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 | Removing some debug statements. Related to #95 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033310 | <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 | Removing some debug statements. Related to #95 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033311 | <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 | Removing some debug statements. Related to #95 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033312 | <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... | 10 | Merge pull request #77 from datamade/about_page_redux_2 | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033313 | <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... | 10 | Merge pull request #77 from datamade/about_page_redux_2 | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033314 | <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... | 10 | Merge pull request #77 from datamade/about_page_redux_2 | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033315 | <NME> submit_tests.py
<BEF> ADDFILE
<MSG> fixed group by clause in /shape/point api so that sql query now runs and all tests pass
<DFF> @@ -0,0 +1,73 @@
+import unittest
+from plenario.views import process_suggestion
+
+
+class EvilSubmitTests(unittest.TestCase):
+ def test_nonsense_url(self):
+ self.assertR... | 73 | fixed group by clause in /shape/point api so that sql query now runs and all tests pass | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033316 | <NME> submit_tests.py
<BEF> ADDFILE
<MSG> fixed group by clause in /shape/point api so that sql query now runs and all tests pass
<DFF> @@ -0,0 +1,73 @@
+import unittest
+from plenario.views import process_suggestion
+
+
+class EvilSubmitTests(unittest.TestCase):
+ def test_nonsense_url(self):
+ self.assertR... | 73 | fixed group by clause in /shape/point api so that sql query now runs and all tests pass | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033317 | <NME> submit_tests.py
<BEF> ADDFILE
<MSG> fixed group by clause in /shape/point api so that sql query now runs and all tests pass
<DFF> @@ -0,0 +1,73 @@
+import unittest
+from plenario.views import process_suggestion
+
+
+class EvilSubmitTests(unittest.TestCase):
+ def test_nonsense_url(self):
+ self.assertR... | 73 | fixed group by clause in /shape/point api so that sql query now runs and all tests pass | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033318 | <NME> dog_park_permits_deleted.csv
<BEF> ADDFILE
<MSG> Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
<DFF> @@ -0,0 +1,5 @@
+Hooded Figure ID,Date,lat,lon
+1,10/25/2015,41.6915835405,-87.5351333203
+2,10/27/2015,41.7915865543,-87.6495076896
+4,11/15/2015,41.89,-88.984
+5,11/19... | 5 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail | 0 | .csv | csv | mit | UrbanCCD-UChicago/plenario |
10033319 | <NME> dog_park_permits_deleted.csv
<BEF> ADDFILE
<MSG> Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
<DFF> @@ -0,0 +1,5 @@
+Hooded Figure ID,Date,lat,lon
+1,10/25/2015,41.6915835405,-87.5351333203
+2,10/27/2015,41.7915865543,-87.6495076896
+4,11/15/2015,41.89,-88.984
+5,11/19... | 5 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail | 0 | .csv | csv | mit | UrbanCCD-UChicago/plenario |
10033320 | <NME> dog_park_permits_deleted.csv
<BEF> ADDFILE
<MSG> Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail
<DFF> @@ -0,0 +1,5 @@
+Hooded Figure ID,Date,lat,lon
+1,10/25/2015,41.6915835405,-87.5351333203
+2,10/27/2015,41.7915865543,-87.6495076896
+4,11/15/2015,41.89,-88.984
+5,11/19... | 5 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario into shape-detail | 0 | .csv | csv | mit | UrbanCCD-UChicago/plenario |
10033321 | <NME> validator.py
<BEF> import json
import re
from collections import namedtuple
from datetime import datetime, timedelta
import sqlalchemy
from dateutil import parser
from marshmallow import fields, Schema
from marshmallow.fields import Field
from marshmallow.validate import Range, OneOf, ValidationError
from sqlalc... | 14 | more informative way of handling invalid tree filters | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033322 | <NME> validator.py
<BEF> import json
import re
from collections import namedtuple
from datetime import datetime, timedelta
import sqlalchemy
from dateutil import parser
from marshmallow import fields, Schema
from marshmallow.fields import Field
from marshmallow.validate import Range, OneOf, ValidationError
from sqlalc... | 14 | more informative way of handling invalid tree filters | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033323 | <NME> validator.py
<BEF> import json
import re
from collections import namedtuple
from datetime import datetime, timedelta
import sqlalchemy
from dateutil import parser
from marshmallow import fields, Schema
from marshmallow.fields import Field
from marshmallow.validate import Range, OneOf, ValidationError
from sqlalc... | 14 | more informative way of handling invalid tree filters | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033324 | <NME> update_metatable_columns.py
<BEF> ADDFILE
<MSG> Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest
Origin/update metatable column names upon table ingest
<DFF> @@ -0,0 +1,51 @@
+from plenario.settings import DATABASE_CONN
+from plenario.database import Base
+fro... | 51 | Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033325 | <NME> update_metatable_columns.py
<BEF> ADDFILE
<MSG> Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest
Origin/update metatable column names upon table ingest
<DFF> @@ -0,0 +1,51 @@
+from plenario.settings import DATABASE_CONN
+from plenario.database import Base
+fro... | 51 | Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033326 | <NME> update_metatable_columns.py
<BEF> ADDFILE
<MSG> Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest
Origin/update metatable column names upon table ingest
<DFF> @@ -0,0 +1,51 @@
+from plenario.settings import DATABASE_CONN
+from plenario.database import Base
+fro... | 51 | Merge pull request #229 from UrbanCCD-UChicago/origin/update-metatable-column_names-upon-table-ingest | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033327 | <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... | 0 | implemented ConditionBuilder | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033328 | <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... | 0 | implemented ConditionBuilder | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033329 | <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... | 0 | implemented ConditionBuilder | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033330 | <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... | 1 | Add view url to meta data where users can view the dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033331 | <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... | 1 | Add view url to meta data where users can view the dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033332 | <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... | 1 | Add view url to meta data where users can view the dataset | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033333 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from datetime import datetime, timedelta
import boto3
from celery import Celery
from raven.conf import setup_logging
from plenario.settings import CELERY_SENTRY_URL
from sqlalchemy import Table
from sqlalchemy.exc import NoSuchTableError
if CELER... | 8 | Adding better exception handling for dataset deletion | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033334 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from datetime import datetime, timedelta
import boto3
from celery import Celery
from raven.conf import setup_logging
from plenario.settings import CELERY_SENTRY_URL
from sqlalchemy import Table
from sqlalchemy.exc import NoSuchTableError
if CELER... | 8 | Adding better exception handling for dataset deletion | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033335 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from datetime import datetime, timedelta
import boto3
from celery import Celery
from raven.conf import setup_logging
from plenario.settings import CELERY_SENTRY_URL
from sqlalchemy import Table
from sqlalchemy.exc import NoSuchTableError
if CELER... | 8 | Adding better exception handling for dataset deletion | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033336 | <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... | 7 | stubbed out explore detail page, renamed map to explore | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033337 | <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... | 7 | stubbed out explore detail page, renamed map to explore | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033338 | <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... | 7 | stubbed out explore detail page, renamed map to explore | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033339 | <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... | 15 | bbox should be in dataset metadata | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033340 | <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... | 15 | bbox should be in dataset metadata | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033341 | <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... | 15 | bbox should be in dataset metadata | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033342 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix model changes to query API | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033343 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix model changes to query API | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033344 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix model changes to query API | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033345 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
Blueprint
from plenario.models import MasterTable, MetaTable
from plenario.database import session
from plenario.helpers import get_socrata_data_info
from datetime import datetime, timedelta
from... | 1 | Almost ready to insert raw data | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033346 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
Blueprint
from plenario.models import MasterTable, MetaTable
from plenario.database import session
from plenario.helpers import get_socrata_data_info
from datetime import datetime, timedelta
from... | 1 | Almost ready to insert raw data | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033347 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
Blueprint
from plenario.models import MasterTable, MetaTable
from plenario.database import session
from plenario.helpers import get_socrata_data_info
from datetime import datetime, timedelta
from... | 1 | Almost ready to insert raw data | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033348 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Add Dockerfile
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis/ppa
+RUN apt-get update -y
+RUN apt-get install gdal-bin
+
+# Inst... | 19 | Add Dockerfile | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033349 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Add Dockerfile
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis/ppa
+RUN apt-get update -y
+RUN apt-get install gdal-bin
+
+# Inst... | 19 | Add Dockerfile | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario |