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 |
|---|---|---|---|---|---|---|---|---|
10033450 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 7 | Update README and example settings file | 5 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033451 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 7 | Update README and example settings file | 5 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033452 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 7 | Update README and example settings file | 5 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033453 | <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 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033454 | <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 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033455 | <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 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033456 | <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... | 7 | Merge pull request #237 from UrbanCCD-UChicago/revert-fields-output | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033457 | <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... | 7 | Merge pull request #237 from UrbanCCD-UChicago/revert-fields-output | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033458 | <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... | 7 | Merge pull request #237 from UrbanCCD-UChicago/revert-fields-output | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033459 | <NME> test_point.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
from io import StringIO
import csv
from tests.fixtures.base_test import BasePlenarioTest, fixtures_path
# Filters
# =======
# Constants holding query string values, helps to have them all in one place.
# The row counts c... | 2 | linted plenario/api/validator.py - updated tests | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033460 | <NME> test_point.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
from io import StringIO
import csv
from tests.fixtures.base_test import BasePlenarioTest, fixtures_path
# Filters
# =======
# Constants holding query string values, helps to have them all in one place.
# The row counts c... | 2 | linted plenario/api/validator.py - updated tests | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033461 | <NME> test_point.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
from io import StringIO
import csv
from tests.fixtures.base_test import BasePlenarioTest, fixtures_path
# Filters
# =======
# Constants holding query string values, helps to have them all in one place.
# The row counts c... | 2 | linted plenario/api/validator.py - updated tests | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033462 | <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... | 28 | Include column metadata in dataset metadata | 16 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033463 | <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... | 28 | Include column metadata in dataset metadata | 16 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033464 | <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... | 28 | Include column metadata in dataset metadata | 16 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033465 | <NME> requirements.txt
<BEF> Flask
Flask-Cache
flask_sqlalchemy
gunicorn
psycopg2
geoalchemy2
boto
shapely
requests
raven
blinker
Flask-WTF
Flask-Login
flask-bcrypt
csvkit
redis
pytz
datetime_truncate
pyshp
git+https://github.com/datamade/python-metar.git#egg=metar
lxml
alembic
boto3
marshmallow
functools32
sqlalchemy-... | 55 | Update requirements file | 26 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033466 | <NME> requirements.txt
<BEF> Flask
Flask-Cache
flask_sqlalchemy
gunicorn
psycopg2
geoalchemy2
boto
shapely
requests
raven
blinker
Flask-WTF
Flask-Login
flask-bcrypt
csvkit
redis
pytz
datetime_truncate
pyshp
git+https://github.com/datamade/python-metar.git#egg=metar
lxml
alembic
boto3
marshmallow
functools32
sqlalchemy-... | 55 | Update requirements file | 26 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033467 | <NME> requirements.txt
<BEF> Flask
Flask-Cache
flask_sqlalchemy
gunicorn
psycopg2
geoalchemy2
boto
shapely
requests
raven
blinker
Flask-WTF
Flask-Login
flask-bcrypt
csvkit
redis
pytz
datetime_truncate
pyshp
git+https://github.com/datamade/python-metar.git#egg=metar
lxml
alembic
boto3
marshmallow
functools32
sqlalchemy-... | 55 | Update requirements file | 26 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033468 | <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 | implemented 404 and 500 error pages, closes #43 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033469 | <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 | implemented 404 and 500 error pages, closes #43 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033470 | <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 | implemented 404 and 500 error pages, closes #43 | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033471 | <NME> process_running.py
<BEF> ADDFILE
<MSG> Add check to prevent more than one worker.py process
<DFF> @@ -0,0 +1,20 @@
+import subprocess
+import re
+
+
+def is_process_running(process_name):
+ ps = subprocess.Popen('ps -ef | grep "{}"'.format(process_name), shell=True, stdout=subprocess.PIPE)
+ output = ps.st... | 20 | Add check to prevent more than one worker.py process | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033472 | <NME> process_running.py
<BEF> ADDFILE
<MSG> Add check to prevent more than one worker.py process
<DFF> @@ -0,0 +1,20 @@
+import subprocess
+import re
+
+
+def is_process_running(process_name):
+ ps = subprocess.Popen('ps -ef | grep "{}"'.format(process_name), shell=True, stdout=subprocess.PIPE)
+ output = ps.st... | 20 | Add check to prevent more than one worker.py process | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033473 | <NME> process_running.py
<BEF> ADDFILE
<MSG> Add check to prevent more than one worker.py process
<DFF> @@ -0,0 +1,20 @@
+import subprocess
+import re
+
+
+def is_process_running(process_name):
+ ps = subprocess.Popen('ps -ef | grep "{}"'.format(process_name), shell=True, stdout=subprocess.PIPE)
+ output = ps.st... | 20 | Add check to prevent more than one worker.py process | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033474 | <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... | 2 | fix metadata validation | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033475 | <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... | 2 | fix metadata validation | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033476 | <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... | 2 | fix metadata validation | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033477 | <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 | Remove boto dependency from plenario_worker | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033478 | <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 | Remove boto dependency from plenario_worker | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033479 | <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 | Remove boto dependency from plenario_worker | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033480 | <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... | 9 | Resolve 'UnicodeEncodeError'. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033481 | <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... | 9 | Resolve 'UnicodeEncodeError'. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033482 | <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... | 9 | Resolve 'UnicodeEncodeError'. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033483 | <NME> sensor.py
<BEF> import json
import shapely.geometry
import shapely.wkb
import sqlalchemy as sa
from flask import jsonify, make_response, request
from sqlalchemy import Table, func
from sqlalchemy.exc import SQLAlchemyError
from plenario.api.common import CACHE_TIMEOUT, RESPONSE_LIMIT, cache, crossdomain, date_j... | 23 | Enable providing mulitple WBANs | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033484 | <NME> sensor.py
<BEF> import json
import shapely.geometry
import shapely.wkb
import sqlalchemy as sa
from flask import jsonify, make_response, request
from sqlalchemy import Table, func
from sqlalchemy.exc import SQLAlchemyError
from plenario.api.common import CACHE_TIMEOUT, RESPONSE_LIMIT, cache, crossdomain, date_j... | 23 | Enable providing mulitple WBANs | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033485 | <NME> sensor.py
<BEF> import json
import shapely.geometry
import shapely.wkb
import sqlalchemy as sa
from flask import jsonify, make_response, request
from sqlalchemy import Table, func
from sqlalchemy.exc import SQLAlchemyError
from plenario.api.common import CACHE_TIMEOUT, RESPONSE_LIMIT, cache, crossdomain, date_j... | 23 | Enable providing mulitple WBANs | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033486 | <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... | 9 | Remove caller_session kludge | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033487 | <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... | 9 | Remove caller_session kludge | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033488 | <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... | 9 | Remove caller_session kludge | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033489 | <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.validate import Range
from shapely import wkb
from sqlalchemy import MetaData... | 20 | Use sqlalchemy core table over orm | 65 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033490 | <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.validate import Range
from shapely import wkb
from sqlalchemy import MetaData... | 20 | Use sqlalchemy core table over orm | 65 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033491 | <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.validate import Range
from shapely import wkb
from sqlalchemy import MetaData... | 20 | Use sqlalchemy core table over orm | 65 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033492 | <NME> settings.py
<BEF> from os import environ
get = environ.get
SECRET_KEY = get('SECRET_KEY', 'abcdefghijklmnop')
PLENARIO_SENTRY_URL = get('PLENARIO_SENTRY_URL', None)
DATA_DIR = '/tmp'
# Travis CI relies on the default values to build correctly,
# just keep in mind that if you push changes to the default
# value... | 16 | linted plenario/settings.py | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033493 | <NME> settings.py
<BEF> from os import environ
get = environ.get
SECRET_KEY = get('SECRET_KEY', 'abcdefghijklmnop')
PLENARIO_SENTRY_URL = get('PLENARIO_SENTRY_URL', None)
DATA_DIR = '/tmp'
# Travis CI relies on the default values to build correctly,
# just keep in mind that if you push changes to the default
# value... | 16 | linted plenario/settings.py | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033494 | <NME> settings.py
<BEF> from os import environ
get = environ.get
SECRET_KEY = get('SECRET_KEY', 'abcdefghijklmnop')
PLENARIO_SENTRY_URL = get('PLENARIO_SENTRY_URL', None)
DATA_DIR = '/tmp'
# Travis CI relies on the default values to build correctly,
# just keep in mind that if you push changes to the default
# value... | 16 | linted plenario/settings.py | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033495 | <NME> SensorNetwork.py
<BEF> from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import func as sqla_fn, Boolean, BigInteger, DateTime, Float
from sqlalchemy.dialects.postgresql import JSONB, DOUBLE_PRECISION
from sqlalchemy.orm import relation... | 5 | Add imports for knn | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033496 | <NME> SensorNetwork.py
<BEF> from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import func as sqla_fn, Boolean, BigInteger, DateTime, Float
from sqlalchemy.dialects.postgresql import JSONB, DOUBLE_PRECISION
from sqlalchemy.orm import relation... | 5 | Add imports for knn | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033497 | <NME> SensorNetwork.py
<BEF> from geoalchemy2 import Geometry
from sqlalchemy import Table, String, Column, ForeignKey, ForeignKeyConstraint
from sqlalchemy import func as sqla_fn, Boolean, BigInteger, DateTime, Float
from sqlalchemy.dialects.postgresql import JSONB, DOUBLE_PRECISION
from sqlalchemy.orm import relation... | 5 | Add imports for knn | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033498 | <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 filter uningested datasets from /meta | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033499 | <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 filter uningested datasets from /meta | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033500 | <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 filter uningested datasets from /meta | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033501 | <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... | 7 | Fixed merge conflicts with master. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033502 | <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... | 7 | Fixed merge conflicts with master. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033503 | <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... | 7 | Fixed merge conflicts with master. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033504 | <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... | 11 | Hash-etl change Merge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033505 | <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... | 11 | Hash-etl change Merge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033506 | <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... | 11 | Hash-etl change Merge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033507 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from plenario.database import task_session as session, task_engine as engine, \
Base
from plenario.utils.etl import PlenarioETL
from raven.handlers.logging import SentryHandler
from raven.conf import setup_logging
from plenario.settings import ... | 1 | Making sure weather ETL actually happens | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033508 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from plenario.database import task_session as session, task_engine as engine, \
Base
from plenario.utils.etl import PlenarioETL
from raven.handlers.logging import SentryHandler
from raven.conf import setup_logging
from plenario.settings import ... | 1 | Making sure weather ETL actually happens | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033509 | <NME> tasks.py
<BEF> import csv
import logging
import os
import tarfile
from plenario.database import task_session as session, task_engine as engine, \
Base
from plenario.utils.etl import PlenarioETL
from raven.handlers.logging import SentryHandler
from raven.conf import setup_logging
from plenario.settings import ... | 1 | Making sure weather ETL actually happens | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033510 | <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 | Audit modification in Create Table | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033511 | <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 | Audit modification in Create Table | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033512 | <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 | Audit modification in Create Table | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033513 | <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... | 1 | Uh, man. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033514 | <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... | 1 | Uh, man. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033515 | <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... | 1 | Uh, man. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033516 | <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 | MergeMerge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033517 | <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 | MergeMerge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033518 | <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 | MergeMerge branch 'hash-etl' of https://github.com/UrbanCCD-UChicago/plenario into hash-etl | 21 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033519 | <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
setup_logging(handler)
@celery_app.task
def add_dataset(sou... | 2 | Fixed a few bugs | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033520 | <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
setup_logging(handler)
@celery_app.task
def add_dataset(sou... | 2 | Fixed a few bugs | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033521 | <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
setup_logging(handler)
@celery_app.task
def add_dataset(sou... | 2 | Fixed a few bugs | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033522 | <NME> celery_settings.example
<BEF> ADDFILE
<MSG> Took celery settings out of main module and put them in their own thing
<DFF> @@ -0,0 +1,22 @@
+from celery.schedules import crontab
+
+BROKER_URL = 'some://broker:@url/thing'
+
+CELERYBEAT_SCHEDULE = {
+ 'daily_update': {
+ 'task': 'plenario.tasks.daily_upda... | 22 | Took celery settings out of main module and put them in their own thing | 0 | .example | example | mit | UrbanCCD-UChicago/plenario |
10033523 | <NME> celery_settings.example
<BEF> ADDFILE
<MSG> Took celery settings out of main module and put them in their own thing
<DFF> @@ -0,0 +1,22 @@
+from celery.schedules import crontab
+
+BROKER_URL = 'some://broker:@url/thing'
+
+CELERYBEAT_SCHEDULE = {
+ 'daily_update': {
+ 'task': 'plenario.tasks.daily_upda... | 22 | Took celery settings out of main module and put them in their own thing | 0 | .example | example | mit | UrbanCCD-UChicago/plenario |
10033524 | <NME> celery_settings.example
<BEF> ADDFILE
<MSG> Took celery settings out of main module and put them in their own thing
<DFF> @@ -0,0 +1,22 @@
+from celery.schedules import crontab
+
+BROKER_URL = 'some://broker:@url/thing'
+
+CELERYBEAT_SCHEDULE = {
+ 'daily_update': {
+ 'task': 'plenario.tasks.daily_upda... | 22 | Took celery settings out of main module and put them in their own thing | 0 | .example | example | mit | UrbanCCD-UChicago/plenario |
10033525 | <NME> README.md
<BEF> [](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.i... | 1 | Add Gitter badge | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033526 | <NME> README.md
<BEF> [](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.i... | 1 | Add Gitter badge | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033527 | <NME> README.md
<BEF> [](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.i... | 1 | Add Gitter badge | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033528 | <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 | Merge branch 'master' of github.com:datamade/plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033529 | <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 | Merge branch 'master' of github.com:datamade/plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033530 | <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 | Merge branch 'master' of github.com:datamade/plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033531 | <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 | Updated API view to point to our new plenario docs. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033532 | <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 | Updated API view to point to our new plenario docs. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033533 | <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 | Updated API view to point to our new plenario docs. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033534 | <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
Base
from plenario.settings import DATA_DIR
from sqlalchemy import Table, Colu... | 47 | adding the longitude and latitude of the weather stations to individual weather observations | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033535 | <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
Base
from plenario.settings import DATA_DIR
from sqlalchemy import Table, Colu... | 47 | adding the longitude and latitude of the weather stations to individual weather observations | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033536 | <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
Base
from plenario.settings import DATA_DIR
from sqlalchemy import Table, Colu... | 47 | adding the longitude and latitude of the weather stations to individual weather observations | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033537 | <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 | Merge pull request #231 from UrbanCCD-UChicago/fix-datasets-caching | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033538 | <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 | Merge pull request #231 from UrbanCCD-UChicago/fix-datasets-caching | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033539 | <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 | Merge pull request #231 from UrbanCCD-UChicago/fix-datasets-caching | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033540 | <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 urlparse import urlparse
import ... | 50 | Add shape edit/approve/delete page | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033541 | <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 urlparse import urlparse
import ... | 50 | Add shape edit/approve/delete page | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033542 | <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 urlparse import urlparse
import ... | 50 | Add shape edit/approve/delete page | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033543 | <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 | Slugified field names for functional Socrata contribute pipeline | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033544 | <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 | Slugified field names for functional Socrata contribute pipeline | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033545 | <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 | Slugified field names for functional Socrata contribute pipeline | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033546 | <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... | 4 | Don't try to grab dict item after deletion | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033547 | <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... | 4 | Don't try to grab dict item after deletion | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033548 | <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... | 4 | Don't try to grab dict item after deletion | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033549 | <NME> point.py
<BEF> # import json
# from csvkit.unicsv import UnicodeCSVReader
import csv
from logging import getLogger
from geoalchemy2 import Geometry
from sqlalchemy import TIMESTAMP, Table, Column, MetaData, String
from sqlalchemy import select, func
from sqlalchemy.exc import NoSuchTableError
from plenario.data... | 2 | Add indexes to point and geom columns | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |