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 |
|---|---|---|---|---|---|---|---|---|
10031650 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
.idea/
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellan... | 2 | Updated gitignore to ignore EB ZIP packages. | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031651 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
.idea/
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellan... | 2 | Updated gitignore to ignore EB ZIP packages. | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031652 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
.idea/
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellan... | 2 | Updated gitignore to ignore EB ZIP packages. | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031653 | <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 | removed unused javascript libraries | 30 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031654 | <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 | removed unused javascript libraries | 30 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031655 | <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 | removed unused javascript libraries | 30 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031656 | <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 | Don't assign abels to text clauses | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031657 | <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 | Don't assign abels to text clauses | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031658 | <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 | Don't assign abels to text clauses | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031659 | <NME> validator_tests.py
<BEF> ADDFILE
<MSG> Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters
Adding support for tree filters
<DFF> @@ -0,0 +1,180 @@
+import json
+import unittest
+from plenario import create_app
+
+
+class TestValidator(unittest.TestCase):
+
+ def get_json_response_da... | 180 | Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031660 | <NME> validator_tests.py
<BEF> ADDFILE
<MSG> Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters
Adding support for tree filters
<DFF> @@ -0,0 +1,180 @@
+import json
+import unittest
+from plenario import create_app
+
+
+class TestValidator(unittest.TestCase):
+
+ def get_json_response_da... | 180 | Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031661 | <NME> validator_tests.py
<BEF> ADDFILE
<MSG> Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters
Adding support for tree filters
<DFF> @@ -0,0 +1,180 @@
+import json
+import unittest
+from plenario import create_app
+
+
+class TestValidator(unittest.TestCase):
+
+ def get_json_response_da... | 180 | Merge pull request #240 from UrbanCCD-UChicago/adding-support-for-tree-filters | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031662 | <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
- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
... | 1 | Added jobs testing to travis. | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031663 | <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
- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
... | 1 | Added jobs testing to travis. | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031664 | <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
- sudo -u postgres psql -c "CREATE EXTENSION postgis;" plenario_test
... | 1 | Added jobs testing to travis. | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031665 | <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... | 31 | Add logging for tasks.py | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031666 | <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... | 31 | Add logging for tasks.py | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031667 | <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... | 31 | Add logging for tasks.py | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031668 | <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 | Show columns used when generating queries | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031669 | <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 | Show columns used when generating queries | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031670 | <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 | Show columns used when generating queries | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031671 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 4 | updated readme | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031672 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 4 | updated readme | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031673 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 4 | updated readme | 0 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031674 | <NME> redshift_ops.py
<BEF> import logging
from sqlalchemy import text
from sqlalchemy.exc import ProgrammingError
from plenario.database import redshift_engine
logger = logging.getLogger(__name__)
def create_foi_table(foi_name, properties):
"""Create a new foi table
:param foi_name: name of feature
... | 1 | update redshift table creation | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031675 | <NME> redshift_ops.py
<BEF> import logging
from sqlalchemy import text
from sqlalchemy.exc import ProgrammingError
from plenario.database import redshift_engine
logger = logging.getLogger(__name__)
def create_foi_table(foi_name, properties):
"""Create a new foi table
:param foi_name: name of feature
... | 1 | update redshift table creation | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031676 | <NME> redshift_ops.py
<BEF> import logging
from sqlalchemy import text
from sqlalchemy.exc import ProgrammingError
from plenario.database import redshift_engine
logger = logging.getLogger(__name__)
def create_foi_table(foi_name, properties):
"""Create a new foi table
:param foi_name: name of feature
... | 1 | update redshift table creation | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031677 | <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... | 14 | jobs submission on etl tasks | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031678 | <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... | 14 | jobs submission on etl tasks | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031679 | <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... | 14 | jobs submission on etl tasks | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031680 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import os
import re
import sys
import tarfile
import zipfile
from datetime import date, datetime, timedelta
from ftplib import FTP
from io import StringIO
import requests
import sqlalchemy
from dateutil import parser, relativedelta
from geoalchemy2 impo... | 4 | error handling for weather.py:clear_metars() | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031681 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import os
import re
import sys
import tarfile
import zipfile
from datetime import date, datetime, timedelta
from ftplib import FTP
from io import StringIO
import requests
import sqlalchemy
from dateutil import parser, relativedelta
from geoalchemy2 impo... | 4 | error handling for weather.py:clear_metars() | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031682 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import os
import re
import sys
import tarfile
import zipfile
from datetime import date, datetime, timedelta
from ftplib import FTP
from io import StringIO
import requests
import sqlalchemy
from dateutil import parser, relativedelta
from geoalchemy2 impo... | 4 | error handling for weather.py:clear_metars() | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031683 | <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 plenario.database import session, Base, app_engine as engine
import shapely.wkb, shapely.geometry
from sqlalchemy.types i... | 35 | Sketch more robust geojson output | 29 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031684 | <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 plenario.database import session, Base, app_engine as engine
import shapely.wkb, shapely.geometry
from sqlalchemy.types i... | 35 | Sketch more robust geojson output | 29 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031685 | <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 plenario.database import session, Base, app_engine as engine
import shapely.wkb, shapely.geometry
from sqlalchemy.types i... | 35 | Sketch more robust geojson output | 29 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031686 | <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 | Remove resolve task | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031687 | <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 | Remove resolve task | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031688 | <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 | Remove resolve task | 3 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031689 | <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
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'cr... | 1 | Nope nope nope. Don't leak credentials. | 12 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031690 | <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
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'cr... | 1 | Nope nope nope. Don't leak credentials. | 12 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031691 | <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
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'cr... | 1 | Nope nope nope. Don't leak credentials. | 12 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031692 | <NME> test_nearest.py
<BEF> ADDFILE
<MSG> Add basic tests for the nearest endpoint
<DFF> @@ -0,0 +1,82 @@
+import unittest
+
+from sqlalchemy import create_engine
+from sqlalchemy.exc import ProgrammingError
+from sqlalchemy.orm import sessionmaker
+
+from plenario import create_app
+from plenario.database import Base... | 82 | Add basic tests for the nearest endpoint | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031693 | <NME> test_nearest.py
<BEF> ADDFILE
<MSG> Add basic tests for the nearest endpoint
<DFF> @@ -0,0 +1,82 @@
+import unittest
+
+from sqlalchemy import create_engine
+from sqlalchemy.exc import ProgrammingError
+from sqlalchemy.orm import sessionmaker
+
+from plenario import create_app
+from plenario.database import Base... | 82 | Add basic tests for the nearest endpoint | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031694 | <NME> test_nearest.py
<BEF> ADDFILE
<MSG> Add basic tests for the nearest endpoint
<DFF> @@ -0,0 +1,82 @@
+import unittest
+
+from sqlalchemy import create_engine
+from sqlalchemy.exc import ProgrammingError
+from sqlalchemy.orm import sessionmaker
+
+from plenario import create_app
+from plenario.database import Base... | 82 | Add basic tests for the nearest endpoint | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031695 | <NME> ogr2ogr.py
<BEF> import os
import shutil
import subprocess
import tempfile
import zipfile
from plenario.settings import DB_HOST, DB_NAME, DB_PASSWORD, DB_PORT, DB_USER
postgres_connection_arg = 'PG:host={} user={} port={} dbname={} password={}'.format(
DB_HOST, DB_USER, DB_PORT, DB_NAME, DB_PASSWORD)
cla... | 10 | changed ogr2ogr utility object to accept sql query parameters, applied this change to run filter queries on shapes to filter with a bounding_box | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031696 | <NME> ogr2ogr.py
<BEF> import os
import shutil
import subprocess
import tempfile
import zipfile
from plenario.settings import DB_HOST, DB_NAME, DB_PASSWORD, DB_PORT, DB_USER
postgres_connection_arg = 'PG:host={} user={} port={} dbname={} password={}'.format(
DB_HOST, DB_USER, DB_PORT, DB_NAME, DB_PASSWORD)
cla... | 10 | changed ogr2ogr utility object to accept sql query parameters, applied this change to run filter queries on shapes to filter with a bounding_box | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031697 | <NME> ogr2ogr.py
<BEF> import os
import shutil
import subprocess
import tempfile
import zipfile
from plenario.settings import DB_HOST, DB_NAME, DB_PASSWORD, DB_PORT, DB_USER
postgres_connection_arg = 'PG:host={} user={} port={} dbname={} password={}'.format(
DB_HOST, DB_USER, DB_PORT, DB_NAME, DB_PASSWORD)
cla... | 10 | changed ogr2ogr utility object to accept sql query parameters, applied this change to run filter queries on shapes to filter with a bounding_box | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031698 | <NME> .travis.yml
<BEF> language: python
python:
- '3.4'
addons:
postgresql: '9.4'
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'create extens... | 2 | Try adding ogr2ogr dependent tests | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031699 | <NME> .travis.yml
<BEF> language: python
python:
- '3.4'
addons:
postgresql: '9.4'
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'create extens... | 2 | Try adding ogr2ogr dependent tests | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031700 | <NME> .travis.yml
<BEF> language: python
python:
- '3.4'
addons:
postgresql: '9.4'
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql
before_script:
- cp tests/settings.py.test plenario/settings.py
- psql -c 'create database plenario_test;' -U postgres
- psql -c 'create extens... | 2 | Try adding ogr2ogr dependent tests | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031701 | <NME> dataTemplate.ejs
<BEF> ADDFILE
<MSG> Queries returning useful things
<DFF> @@ -0,0 +1,4 @@
+<h4>This is it</h4>
+<% $.each(props, function(i, prop){ %>
+ <p><strong><%= i %></strong>: <%= prop %></p>
+<% }) %>
| 4 | Queries returning useful things | 0 | .ejs | ejs | mit | UrbanCCD-UChicago/plenario |
10031702 | <NME> dataTemplate.ejs
<BEF> ADDFILE
<MSG> Queries returning useful things
<DFF> @@ -0,0 +1,4 @@
+<h4>This is it</h4>
+<% $.each(props, function(i, prop){ %>
+ <p><strong><%= i %></strong>: <%= prop %></p>
+<% }) %>
| 4 | Queries returning useful things | 0 | .ejs | ejs | mit | UrbanCCD-UChicago/plenario |
10031703 | <NME> dataTemplate.ejs
<BEF> ADDFILE
<MSG> Queries returning useful things
<DFF> @@ -0,0 +1,4 @@
+<h4>This is it</h4>
+<% $.each(props, function(i, prop){ %>
+ <p><strong><%= i %></strong>: <%= prop %></p>
+<% }) %>
| 4 | Queries returning useful things | 0 | .ejs | ejs | mit | UrbanCCD-UChicago/plenario |
10031704 | <NME> custom.css
<BEF> /* Space out content a bit */
body {
height: 100%;
font-size: 17px;
padding-bottom: 0;
}
.label:hover {
text-decoration: none;
}
.showmore-content {
overflow: hidden;
height: 165px;
}
.panel-group {
margin-bottom: 5px;
}
.panel-heading a {
display: block;
}
.p... | 2 | form-izing the contribute page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10031705 | <NME> custom.css
<BEF> /* Space out content a bit */
body {
height: 100%;
font-size: 17px;
padding-bottom: 0;
}
.label:hover {
text-decoration: none;
}
.showmore-content {
overflow: hidden;
height: 165px;
}
.panel-group {
margin-bottom: 5px;
}
.panel-heading a {
display: block;
}
.p... | 2 | form-izing the contribute page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10031706 | <NME> custom.css
<BEF> /* Space out content a bit */
body {
height: 100%;
font-size: 17px;
padding-bottom: 0;
}
.label:hover {
text-decoration: none;
}
.showmore-content {
overflow: hidden;
height: 165px;
}
.panel-group {
margin-bottom: 5px;
}
.panel-heading a {
display: block;
}
.p... | 2 | form-izing the contribute page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10031707 | <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... | 14 | Test all metadata endpoints with geom filter | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031708 | <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... | 14 | Test all metadata endpoints with geom filter | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031709 | <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... | 14 | Test all metadata endpoints with geom filter | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031710 | <NME> typeinference.py
<BEF> ADDFILE
<MSG> add and update methods are working
<DFF> @@ -0,0 +1,129 @@
+#!/usr/bin/env python
+
+import datetime
+
+from dateutil.parser import parse
+from sqlalchemy import Boolean, Integer, BigInteger, Float, Date, Time, \
+ String
+from sqlalchemy.dialects.postgresql import TIMESTA... | 129 | add and update methods are working | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031711 | <NME> typeinference.py
<BEF> ADDFILE
<MSG> add and update methods are working
<DFF> @@ -0,0 +1,129 @@
+#!/usr/bin/env python
+
+import datetime
+
+from dateutil.parser import parse
+from sqlalchemy import Boolean, Integer, BigInteger, Float, Date, Time, \
+ String
+from sqlalchemy.dialects.postgresql import TIMESTA... | 129 | add and update methods are working | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031712 | <NME> typeinference.py
<BEF> ADDFILE
<MSG> add and update methods are working
<DFF> @@ -0,0 +1,129 @@
+#!/usr/bin/env python
+
+import datetime
+
+from dateutil.parser import parse
+from sqlalchemy import Boolean, Integer, BigInteger, Float, Date, Time, \
+ String
+from sqlalchemy.dialects.postgresql import TIMESTA... | 129 | add and update methods are working | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031713 | <NME> README.md
<BEF> # Plenar.io
RESTful API for geospatial and time aggregation across multiple Chicago open datasets.
This project is funded by the [NSF Social, Behavioral, and Economics Research Directorate](http://www.nsf.gov/dir/index.jsp?org=SBE) through a grant to the [Urban Center for Computation and Data](h... | 3 | minor fixes | 3 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031714 | <NME> README.md
<BEF> # Plenar.io
RESTful API for geospatial and time aggregation across multiple Chicago open datasets.
This project is funded by the [NSF Social, Behavioral, and Economics Research Directorate](http://www.nsf.gov/dir/index.jsp?org=SBE) through a grant to the [Urban Center for Computation and Data](h... | 3 | minor fixes | 3 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031715 | <NME> README.md
<BEF> # Plenar.io
RESTful API for geospatial and time aggregation across multiple Chicago open datasets.
This project is funded by the [NSF Social, Behavioral, and Economics Research Directorate](http://www.nsf.gov/dir/index.jsp?org=SBE) through a grant to the [Urban Center for Computation and Data](h... | 3 | minor fixes | 3 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031716 | <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 the stupid way I handle extra date columns | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031717 | <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 the stupid way I handle extra date columns | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031718 | <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 the stupid way I handle extra date columns | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031719 | <NME> python.config
<BEF> option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
NumProcesses: 3
NumThreads: 20
<MSG> Reduce number of processes to 1 and threads to 4
<DFF> @@ -1,5 +1,5 @@
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
- ... | 2 | Reduce number of processes to 1 and threads to 4 | 2 | .config | ebextensions/python | mit | UrbanCCD-UChicago/plenario |
10031720 | <NME> python.config
<BEF> option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
NumProcesses: 3
NumThreads: 20
<MSG> Reduce number of processes to 1 and threads to 4
<DFF> @@ -1,5 +1,5 @@
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
- ... | 2 | Reduce number of processes to 1 and threads to 4 | 2 | .config | ebextensions/python | mit | UrbanCCD-UChicago/plenario |
10031721 | <NME> python.config
<BEF> option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
NumProcesses: 3
NumThreads: 20
<MSG> Reduce number of processes to 1 and threads to 4
<DFF> @@ -1,5 +1,5 @@
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: runserver.py
- ... | 2 | Reduce number of processes to 1 and threads to 4 | 2 | .config | ebextensions/python | mit | UrbanCCD-UChicago/plenario |
10031722 | <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 | Increase coverage of query and aggregate endpoints | 12 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031723 | <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 | Increase coverage of query and aggregate endpoints | 12 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031724 | <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 | Increase coverage of query and aggregate endpoints | 12 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031725 | <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
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
dbf==0.94.3
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
certifi==2017.4.17
cffi==1.10.0
chardet==3.0.4
click=... | 0 | Convert init_db to python 3 | 2 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031726 | <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
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
dbf==0.94.3
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
certifi==2017.4.17
cffi==1.10.0
chardet==3.0.4
click=... | 0 | Convert init_db to python 3 | 2 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031727 | <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
contextlib2==0.5.4
csvkit==0.9.1
datetime-truncate==1.0.1
dbf==0.94.3
docutils==0.12
Flask==0.11.1
Flask-Admin==1.4.2
certifi==2017.4.17
cffi==1.10.0
chardet==3.0.4
click=... | 0 | Convert init_db to python 3 | 2 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10031728 | <NME> post_data.py
<BEF> ADDFILE
<MSG> correct Validator dataset_name__in handling
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data = dict([
+ ('dataset_attribution', u'Bri... | 26 | correct Validator dataset_name__in handling | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031729 | <NME> post_data.py
<BEF> ADDFILE
<MSG> correct Validator dataset_name__in handling
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data = dict([
+ ('dataset_attribution', u'Bri... | 26 | correct Validator dataset_name__in handling | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031730 | <NME> post_data.py
<BEF> ADDFILE
<MSG> correct Validator dataset_name__in handling
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data = dict([
+ ('dataset_attribution', u'Bri... | 26 | correct Validator dataset_name__in handling | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031731 | <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 | fix a line that would otherwise unnecessarily cause 'dataset_name__in' to be deleted from the 'meta' field in a response | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031732 | <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 | fix a line that would otherwise unnecessarily cause 'dataset_name__in' to be deleted from the 'meta' field in a response | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031733 | <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 | fix a line that would otherwise unnecessarily cause 'dataset_name__in' to be deleted from the 'meta' field in a response | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031734 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import tarfile
import zipfile
import re
from cStringIO import StringIO
from csvkit.unicsv import UnicodeCSVReader, UnicodeCSVWriter, \
UnicodeCSVDictReader
from dateutil import parser
from datetime import datetime, date, timedelta
import calendar
imp... | 207 | Merging master into contrib_dataset branch | 140 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031735 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import tarfile
import zipfile
import re
from cStringIO import StringIO
from csvkit.unicsv import UnicodeCSVReader, UnicodeCSVWriter, \
UnicodeCSVDictReader
from dateutil import parser
from datetime import datetime, date, timedelta
import calendar
imp... | 207 | Merging master into contrib_dataset branch | 140 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031736 | <NME> weather.py
<BEF> import calendar
import csv
import operator
import tarfile
import zipfile
import re
from cStringIO import StringIO
from csvkit.unicsv import UnicodeCSVReader, UnicodeCSVWriter, \
UnicodeCSVDictReader
from dateutil import parser
from datetime import datetime, date, timedelta
import calendar
imp... | 207 | Merging master into contrib_dataset branch | 140 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031737 | <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... | 26 | Tweaked configuration for our medium EC2/RDS instances. Added worker handlers for orphaned jobs and respawning. Reorganized code a bit. | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031738 | <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... | 26 | Tweaked configuration for our medium EC2/RDS instances. Added worker handlers for orphaned jobs and respawning. Reorganized code a bit. | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031739 | <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... | 26 | Tweaked configuration for our medium EC2/RDS instances. Added worker handlers for orphaned jobs and respawning. Reorganized code a bit. | 31 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031740 | <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 datetime import datetime, timedelta
from urlparse import urlparse
import requests
views = Blueprint('views... | 3 | make login_required active | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031741 | <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 datetime import datetime, timedelta
from urlparse import urlparse
import requests
views = Blueprint('views... | 3 | make login_required active | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031742 | <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 datetime import datetime, timedelta
from urlparse import urlparse
import requests
views = Blueprint('views... | 3 | make login_required active | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031743 | <NME> point.py
<BEF> import codecs
import csv
import io
import json
import re
import traceback
from collections import OrderedDict
import shapely.geometry
import shapely.wkb
import sqlalchemy
from collections import OrderedDict
from datetime import datetime, timedelta
from dateutil import parser
from flask import Res... | 3 | Remove attempt to generalize datadump | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031744 | <NME> point.py
<BEF> import codecs
import csv
import io
import json
import re
import traceback
from collections import OrderedDict
import shapely.geometry
import shapely.wkb
import sqlalchemy
from collections import OrderedDict
from datetime import datetime, timedelta
from dateutil import parser
from flask import Res... | 3 | Remove attempt to generalize datadump | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031745 | <NME> point.py
<BEF> import codecs
import csv
import io
import json
import re
import traceback
from collections import OrderedDict
import shapely.geometry
import shapely.wkb
import sqlalchemy
from collections import OrderedDict
from datetime import datetime, timedelta
from dateutil import parser
from flask import Res... | 3 | Remove attempt to generalize datadump | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031746 | <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... | 97 | Checkpoint. | 43 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031747 | <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... | 97 | Checkpoint. | 43 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031748 | <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... | 97 | Checkpoint. | 43 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031749 | <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... | 150 | Merge branch 'master' into shape-update | 148 | .py | py | mit | UrbanCCD-UChicago/plenario |