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 |
|---|---|---|---|---|---|---|---|---|
10032650 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json.loads(... | 1 | Merge branch 'master' into grid-metadata | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032651 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json.loads(... | 1 | Merge branch 'master' into grid-metadata | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032652 | <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... | 5 | validator and cb working for simple test | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032653 | <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... | 5 | validator and cb working for simple test | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032654 | <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... | 5 | validator and cb working for simple test | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032655 | <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... | 118 | Merge branch 'separate-response-work' into jobs | 85 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032656 | <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... | 118 | Merge branch 'separate-response-work' into jobs | 85 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032657 | <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... | 118 | Merge branch 'separate-response-work' into jobs | 85 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032658 | <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... | 1 | Merge pull request #295 from UrbanCCD-UChicago/development | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032659 | <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... | 1 | Merge pull request #295 from UrbanCCD-UChicago/development | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032660 | <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... | 1 | Merge pull request #295 from UrbanCCD-UChicago/development | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032661 | <NME> etl_tests.py
<BEF> ADDFILE
<MSG> Move tests to top-level directory
<DFF> @@ -0,0 +1,11 @@
+import unittest
+
+
+class ETLTests(unittest.TestCase):
+
+ def setUp(self):
+ pass
+
+ def test_accept_badly_formatted_numbers(self):
+ pass
+
| 11 | Move tests to top-level directory | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032662 | <NME> etl_tests.py
<BEF> ADDFILE
<MSG> Move tests to top-level directory
<DFF> @@ -0,0 +1,11 @@
+import unittest
+
+
+class ETLTests(unittest.TestCase):
+
+ def setUp(self):
+ pass
+
+ def test_accept_badly_formatted_numbers(self):
+ pass
+
| 11 | Move tests to top-level directory | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032663 | <NME> etl_tests.py
<BEF> ADDFILE
<MSG> Move tests to top-level directory
<DFF> @@ -0,0 +1,11 @@
+import unittest
+
+
+class ETLTests(unittest.TestCase):
+
+ def setUp(self):
+ pass
+
+ def test_accept_badly_formatted_numbers(self):
+ pass
+
| 11 | Move tests to top-level directory | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032664 | <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 plenario.utils.helpers import get_socrata_data_info, iter_column, send_mail, slugify
from plenario.utils.polygon_etl import PolygonTable
from plenario.tasks import up... | 21 | Remove unused shape update and crime-specific code | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032665 | <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 plenario.utils.helpers import get_socrata_data_info, iter_column, send_mail, slugify
from plenario.utils.polygon_etl import PolygonTable
from plenario.tasks import up... | 21 | Remove unused shape update and crime-specific code | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032666 | <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 plenario.utils.helpers import get_socrata_data_info, iter_column, send_mail, slugify
from plenario.utils.polygon_etl import PolygonTable
from plenario.tasks import up... | 21 | Remove unused shape update and crime-specific code | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032667 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint, flash
from plenario.models import MasterTable, MetaTable
from plenario.database import session, Base, app_engine as engine
from collections import namedtuple
from hashlib import md5
from io import StringIO
f... | 2 | fixed timezone for last updated, redirecting to view datasets on edit save | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032668 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint, flash
from plenario.models import MasterTable, MetaTable
from plenario.database import session, Base, app_engine as engine
from collections import namedtuple
from hashlib import md5
from io import StringIO
f... | 2 | fixed timezone for last updated, redirecting to view datasets on edit save | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032669 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint, flash
from plenario.models import MasterTable, MetaTable
from plenario.database import session, Base, app_engine as engine
from collections import namedtuple
from hashlib import md5
from io import StringIO
f... | 2 | fixed timezone for last updated, redirecting to view datasets on edit save | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032670 | <NME> response.py
<BEF> import json
import os
import tempfile
from datetime import datetime
from functools import reduce
from itertools import groupby
from operator import itemgetter
import shapely.wkb
from flask import jsonify, make_response, request
from plenario.api.common import date_json_handler, make_csv, unkno... | 8 | CSV Errors resolved with less chance of breaking things. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032671 | <NME> response.py
<BEF> import json
import os
import tempfile
from datetime import datetime
from functools import reduce
from itertools import groupby
from operator import itemgetter
import shapely.wkb
from flask import jsonify, make_response, request
from plenario.api.common import date_json_handler, make_csv, unkno... | 8 | CSV Errors resolved with less chance of breaking things. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032672 | <NME> response.py
<BEF> import json
import os
import tempfile
from datetime import datetime
from functools import reduce
from itertools import groupby
from operator import itemgetter
import shapely.wkb
from flask import jsonify, make_response, request
from plenario.api.common import date_json_handler, make_csv, unkno... | 8 | CSV Errors resolved with less chance of breaking things. | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032673 | <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 | updated aws creds | 7 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032674 | <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 | updated aws creds | 7 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032675 | <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 | updated aws creds | 7 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032676 | <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... | 5 | added master row count to view-datasets | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032677 | <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... | 5 | added master row count to view-datasets | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032678 | <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... | 5 | added master row count to view-datasets | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032679 | <NME> submit_tests.py
<BEF> import unittest
from plenario.views import Submission
class EvilSubmitTests(unittest.TestCase):
def test_nonsense_url(self):
self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense'))
def test_hopeless_url(self):
self.assertRaises(RuntimeError,
... | 31 | Passing CSV submit tests | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032680 | <NME> submit_tests.py
<BEF> import unittest
from plenario.views import Submission
class EvilSubmitTests(unittest.TestCase):
def test_nonsense_url(self):
self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense'))
def test_hopeless_url(self):
self.assertRaises(RuntimeError,
... | 31 | Passing CSV submit tests | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032681 | <NME> submit_tests.py
<BEF> import unittest
from plenario.views import Submission
class EvilSubmitTests(unittest.TestCase):
def test_nonsense_url(self):
self.assertRaises(RuntimeError, lambda: Submission('totes Non$ense'))
def test_hopeless_url(self):
self.assertRaises(RuntimeError,
... | 31 | Passing CSV submit tests | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032682 | <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... | 5 | Add meta filter test | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032683 | <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... | 5 | Add meta filter test | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032684 | <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... | 5 | Add meta filter test | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032685 | <NME> test_shape.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
import zipfile
from io import StringIO
from plenario.database import session, app_engine as engine
from plenario.models import ShapeMetadata
from plenario.etl.shape import ShapeETL
from plenario.utils.shapefile import Sha... | 34 | Merge remote-tracking branch 'origin/shape-fix' into python3 | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032686 | <NME> test_shape.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
import zipfile
from io import StringIO
from plenario.database import session, app_engine as engine
from plenario.models import ShapeMetadata
from plenario.etl.shape import ShapeETL
from plenario.utils.shapefile import Sha... | 34 | Merge remote-tracking branch 'origin/shape-fix' into python3 | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032687 | <NME> test_shape.py
<BEF> import json
import os
import urllib.request, urllib.parse, urllib.error
import zipfile
from io import StringIO
from plenario.database import session, app_engine as engine
from plenario.models import ShapeMetadata
from plenario.etl.shape import ShapeETL
from plenario.utils.shapefile import Sha... | 34 | Merge remote-tracking branch 'origin/shape-fix' into python3 | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032688 | <NME> requirements.txt
<BEF> alembic==0.8.8
bcrypt==3.1.2
blinker==1.4
boto
boto3==1.4.0
celery==4.0.2
cffi==1.8.3
click==6.6
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
Flask-Bcrypt==0.7.1
Flask-Cache==0.13.1
Flask-CORS==3.0.2
Flask-Login==0.3.2
Flask-Mail=... | 70 | Updated Requirements to Latest Versions | 44 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032689 | <NME> requirements.txt
<BEF> alembic==0.8.8
bcrypt==3.1.2
blinker==1.4
boto
boto3==1.4.0
celery==4.0.2
cffi==1.8.3
click==6.6
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
Flask-Bcrypt==0.7.1
Flask-Cache==0.13.1
Flask-CORS==3.0.2
Flask-Login==0.3.2
Flask-Mail=... | 70 | Updated Requirements to Latest Versions | 44 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032690 | <NME> requirements.txt
<BEF> alembic==0.8.8
bcrypt==3.1.2
blinker==1.4
boto
boto3==1.4.0
celery==4.0.2
cffi==1.8.3
click==6.6
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
Flask-Bcrypt==0.7.1
Flask-Cache==0.13.1
Flask-CORS==3.0.2
Flask-Login==0.3.2
Flask-Mail=... | 70 | Updated Requirements to Latest Versions | 44 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032691 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 82 | Re-add the running locally how-to | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10032692 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 82 | Re-add the running locally how-to | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10032693 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 82 | Re-add the running locally how-to | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10032694 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json.loads(... | 1 | Merge pull request #313 from UrbanCCD-UChicago/lint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032695 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json.loads(... | 1 | Merge pull request #313 from UrbanCCD-UChicago/lint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032696 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json.loads(... | 1 | Merge pull request #313 from UrbanCCD-UChicago/lint | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032697 | <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... | 5 | Merge pull request #340 from UrbanCCD-UChicago/critical-fixes-dec-2018 | 4 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032698 | <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... | 5 | Merge pull request #340 from UrbanCCD-UChicago/critical-fixes-dec-2018 | 4 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032699 | <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... | 5 | Merge pull request #340 from UrbanCCD-UChicago/critical-fixes-dec-2018 | 4 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032700 | <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
pytz
datetime_truncate
pyshp
dbfread... | 1 | Added a /contribute view with similar functionality to /add-dataset | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032701 | <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
pytz
datetime_truncate
pyshp
dbfread... | 1 | Added a /contribute view with similar functionality to /add-dataset | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032702 | <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
pytz
datetime_truncate
pyshp
dbfread... | 1 | Added a /contribute view with similar functionality to /add-dataset | 0 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032703 | <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... | 86 | Comment out worker views, add manager | 86 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032704 | <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... | 86 | Comment out worker views, add manager | 86 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032705 | <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... | 86 | Comment out worker views, add manager | 86 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032706 | <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
dist: trusty
cache: pip
before_install:
- pip install -r requirements.txt
install:
- sudo -u postgres psql -c "AL... | 20 | Update deployment keys for travis | 31 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032707 | <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
dist: trusty
cache: pip
before_install:
- pip install -r requirements.txt
install:
- sudo -u postgres psql -c "AL... | 20 | Update deployment keys for travis | 31 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032708 | <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
dist: trusty
cache: pip
before_install:
- pip install -r requirements.txt
install:
- sudo -u postgres psql -c "AL... | 20 | Update deployment keys for travis | 31 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032709 | <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... | 1 | fix timeseries reporting values as incorrectly unused | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032710 | <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... | 1 | fix timeseries reporting values as incorrectly unused | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032711 | <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... | 1 | fix timeseries reporting values as incorrectly unused | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032712 | <NME> fixtures.py
<BEF> import os
import signal
import subprocess
from datetime import datetime
from random import randint, random
from sqlalchemy import create_engine
from sqlalchemy.exc import IntegrityError, ProgrammingError
from plenario.database import psql
from plenario.settings import DB_USER, DB_PASSWORD, DB_... | 12 | Format sensor download name, remove plv8 | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032713 | <NME> fixtures.py
<BEF> import os
import signal
import subprocess
from datetime import datetime
from random import randint, random
from sqlalchemy import create_engine
from sqlalchemy.exc import IntegrityError, ProgrammingError
from plenario.database import psql
from plenario.settings import DB_USER, DB_PASSWORD, DB_... | 12 | Format sensor download name, remove plv8 | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032714 | <NME> fixtures.py
<BEF> import os
import signal
import subprocess
from datetime import datetime
from random import randint, random
from sqlalchemy import create_engine
from sqlalchemy.exc import IntegrityError, ProgrammingError
from plenario.database import psql
from plenario.settings import DB_USER, DB_PASSWORD, DB_... | 12 | Format sensor download name, remove plv8 | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032715 | <NME> test_archive.py
<BEF> ADDFILE
<MSG> Add tests for the archive task
<DFF> @@ -0,0 +1,102 @@
+import csv
+import os
+import tarfile
+import unittest
+
+from datetime import timedelta
+from dateutil.parser import parse as date_parse
+from sqlalchemy import create_engine, MetaData
+from sqlalchemy import Table, Colu... | 102 | Add tests for the archive task | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032716 | <NME> test_archive.py
<BEF> ADDFILE
<MSG> Add tests for the archive task
<DFF> @@ -0,0 +1,102 @@
+import csv
+import os
+import tarfile
+import unittest
+
+from datetime import timedelta
+from dateutil.parser import parse as date_parse
+from sqlalchemy import create_engine, MetaData
+from sqlalchemy import Table, Colu... | 102 | Add tests for the archive task | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032717 | <NME> test_archive.py
<BEF> ADDFILE
<MSG> Add tests for the archive task
<DFF> @@ -0,0 +1,102 @@
+import csv
+import os
+import tarfile
+import unittest
+
+from datetime import timedelta
+from dateutil.parser import parse as date_parse
+from sqlalchemy import create_engine, MetaData
+from sqlalchemy import Table, Colu... | 102 | Add tests for the archive task | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032718 | <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... | 1 | Checkpoint. | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032719 | <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... | 1 | Checkpoint. | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032720 | <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... | 1 | Checkpoint. | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032721 | <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 pull request #307 from vforgione/dockerize | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032722 | <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 pull request #307 from vforgione/dockerize | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032723 | <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 pull request #307 from vforgione/dockerize | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032724 | <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 | begin fixing test suite | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032725 | <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 | begin fixing test suite | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032726 | <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 | begin fixing test suite | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032727 | <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
Flask-Login==0.3.2
Flask-... | 3 | Merge pull request #290 from UrbanCCD-UChicago/speedup-download | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032728 | <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
Flask-Login==0.3.2
Flask-... | 3 | Merge pull request #290 from UrbanCCD-UChicago/speedup-download | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032729 | <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
Flask-Login==0.3.2
Flask-... | 3 | Merge pull request #290 from UrbanCCD-UChicago/speedup-download | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10032730 | <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... | 18 | Merge pull request #304 from UrbanCCD-UChicago/nearest-ifttt | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032731 | <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... | 18 | Merge pull request #304 from UrbanCCD-UChicago/nearest-ifttt | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032732 | <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... | 18 | Merge pull request #304 from UrbanCCD-UChicago/nearest-ifttt | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032733 | <NME> shape.py
<BEF> import csv
import os
import json
import tempfile
import re
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func, and_
from sqlalchemy.exc import NoSuchTableError
from plenario.api.common import crossdomain, extract_first_geometry_fragment
from p... | 111 | cleaning up validator | 122 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032734 | <NME> shape.py
<BEF> import csv
import os
import json
import tempfile
import re
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func, and_
from sqlalchemy.exc import NoSuchTableError
from plenario.api.common import crossdomain, extract_first_geometry_fragment
from p... | 111 | cleaning up validator | 122 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032735 | <NME> shape.py
<BEF> import csv
import os
import json
import tempfile
import re
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func, and_
from sqlalchemy.exc import NoSuchTableError
from plenario.api.common import crossdomain, extract_first_geometry_fragment
from p... | 111 | cleaning up validator | 122 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032736 | <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 | merged from live into branch | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032737 | <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 | merged from live into branch | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032738 | <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 | merged from live into branch | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032739 | <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... | 8 | When contributed types fail, attempt inference | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032740 | <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... | 8 | When contributed types fail, attempt inference | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032741 | <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... | 8 | When contributed types fail, attempt inference | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032742 | <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)
DB_USER = get('DB_USER', '')
DB_PASSWORD = get('DB_PASSWORD', '')
DB_HOST = get('DB_HOST', '')
DB_PORT = get('DB_PORT', '')
DB_NAME = get('DB_N... | 2 | fix port '' to 0 mistake | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032743 | <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)
DB_USER = get('DB_USER', '')
DB_PASSWORD = get('DB_PASSWORD', '')
DB_HOST = get('DB_HOST', '')
DB_PORT = get('DB_PORT', '')
DB_NAME = get('DB_N... | 2 | fix port '' to 0 mistake | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032744 | <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)
DB_USER = get('DB_USER', '')
DB_PASSWORD = get('DB_PASSWORD', '')
DB_HOST = get('DB_HOST', '')
DB_PORT = get('DB_PORT', '')
DB_NAME = get('DB_N... | 2 | fix port '' to 0 mistake | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032745 | <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 | setting source_url to proper location for Socrata sources, added back Location option, changed language for update_frequency | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032746 | <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 | setting source_url to proper location for Socrata sources, added back Location option, changed language for update_frequency | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032747 | <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 | setting source_url to proper location for Socrata sources, added back Location option, changed language for update_frequency | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10032748 | <NME> .travis.yml
<BEF> language: python
python:
- "2.7"
install: "pip install -r requirements.txt"
script: nosetests tests
addons:
postgresql: "9.4"
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
before_script:
- cp tests/settings.py.test plenario/settings.py
- sudo mv /etc/apt/sou... | 1 | Give up on ogr-dependent tests for now :( | 6 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10032749 | <NME> .travis.yml
<BEF> language: python
python:
- "2.7"
install: "pip install -r requirements.txt"
script: nosetests tests
addons:
postgresql: "9.4"
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
before_script:
- cp tests/settings.py.test plenario/settings.py
- sudo mv /etc/apt/sou... | 1 | Give up on ogr-dependent tests for now :( | 6 | .yml | travis | mit | UrbanCCD-UChicago/plenario |