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 |
|---|---|---|---|---|---|---|---|---|
10033350 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Add Dockerfile
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis/ppa
+RUN apt-get update -y
+RUN apt-get install gdal-bin
+
+# Inst... | 19 | Add Dockerfile | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033351 | <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... | 10 | about to break everything moving to sensor-centric system | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033352 | <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... | 10 | about to break everything moving to sensor-centric system | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033353 | <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... | 10 | about to break everything moving to sensor-centric system | 8 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033354 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Create LICENSE
<DFF> @@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 DataMade and The University of Chicago
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in t... | 21 | Create LICENSE | 0 | LICENSE | mit | UrbanCCD-UChicago/plenario | |
10033355 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Create LICENSE
<DFF> @@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 DataMade and The University of Chicago
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in t... | 21 | Create LICENSE | 0 | LICENSE | mit | UrbanCCD-UChicago/plenario | |
10033356 | <NME> LICENSE
<BEF> ADDFILE
<MSG> Create LICENSE
<DFF> @@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 DataMade and The University of Chicago
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in t... | 21 | Create LICENSE | 0 | LICENSE | mit | UrbanCCD-UChicago/plenario | |
10033357 | <NME> post_data.py
<BEF> ADDFILE
<MSG> Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data... | 26 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033358 | <NME> post_data.py
<BEF> ADDFILE
<MSG> Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data... | 26 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033359 | <NME> post_data.py
<BEF> ADDFILE
<MSG> Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring
<DFF> @@ -0,0 +1,26 @@
+# index
+# -----
+# roadworks_post_data (dataset)
+
+# post data
+# -----------------------------------------------------------------------------
+
+roadworks_post_data... | 26 | Merge branch 'master' of github.com:UrbanCCD-UChicago/plenario into etl-task-monitoring | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033360 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 16 | Filter on sensors in the aggregate endpoint | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033361 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 16 | Filter on sensors in the aggregate endpoint | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033362 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 16 | Filter on sensors in the aggregate endpoint | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033363 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 2 | Mention Celery settings in README | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033364 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 2 | Mention Celery settings in README | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033365 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 2 | Mention Celery settings in README | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033366 | <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... | 54 | Reorder route methods for sensor-networks | 54 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033367 | <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... | 54 | Reorder route methods for sensor-networks | 54 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033368 | <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... | 54 | Reorder route methods for sensor-networks | 54 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033369 | <NME> helpers.py
<BEF> import csv
import math
from collections import namedtuple
import boto3
from slugify import slugify as _slugify
from sqlalchemy import Table
from plenario.settings import ADMIN_EMAILS, AWS_ACCESS_KEY, AWS_REGION_NAME, AWS_SECRET_KEY, MAIL_USERNAME
from plenario.utils.typeinference import normali... | 1 | Fix string replace in helpers.send_mail | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033370 | <NME> helpers.py
<BEF> import csv
import math
from collections import namedtuple
import boto3
from slugify import slugify as _slugify
from sqlalchemy import Table
from plenario.settings import ADMIN_EMAILS, AWS_ACCESS_KEY, AWS_REGION_NAME, AWS_SECRET_KEY, MAIL_USERNAME
from plenario.utils.typeinference import normali... | 1 | Fix string replace in helpers.send_mail | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033371 | <NME> helpers.py
<BEF> import csv
import math
from collections import namedtuple
import boto3
from slugify import slugify as _slugify
from sqlalchemy import Table
from plenario.settings import ADMIN_EMAILS, AWS_ACCESS_KEY, AWS_REGION_NAME, AWS_SECRET_KEY, MAIL_USERNAME
from plenario.utils.typeinference import normali... | 1 | Fix string replace in helpers.send_mail | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033372 | <NME> Dockerfile
<BEF> FROM ubuntu
MAINTAINER hunter@hunterowens.net
RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install aptitude
RUN aptitude -y install wget git curl build-essential make gcc
RUN aptitude... | 29 | Merge pull request #186 from WillEngler/new-dockerfile | 24 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033373 | <NME> Dockerfile
<BEF> FROM ubuntu
MAINTAINER hunter@hunterowens.net
RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install aptitude
RUN aptitude -y install wget git curl build-essential make gcc
RUN aptitude... | 29 | Merge pull request #186 from WillEngler/new-dockerfile | 24 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033374 | <NME> Dockerfile
<BEF> FROM ubuntu
MAINTAINER hunter@hunterowens.net
RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install aptitude
RUN aptitude -y install wget git curl build-essential make gcc
RUN aptitude... | 29 | Merge pull request #186 from WillEngler/new-dockerfile | 24 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033375 | <NME> .travis.yml
<BEF> language: python
python:
- '2.7'
addons:
postgresql: '9.4'
apt:
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
services:
- postgresql
cache: pip
env:
global:
- JOBS_QUEUE=Plenario-Testing-Queue
- secure: G1RWlnwPIPSW2XRD7IItotgzTw41IAkty... | 2 | Change travis.yml file to specify Python 2.7.11 | 2 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033376 | <NME> .travis.yml
<BEF> language: python
python:
- '2.7'
addons:
postgresql: '9.4'
apt:
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
services:
- postgresql
cache: pip
env:
global:
- JOBS_QUEUE=Plenario-Testing-Queue
- secure: G1RWlnwPIPSW2XRD7IItotgzTw41IAkty... | 2 | Change travis.yml file to specify Python 2.7.11 | 2 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033377 | <NME> .travis.yml
<BEF> language: python
python:
- '2.7'
addons:
postgresql: '9.4'
apt:
apt:
packages:
- gdal-bin
- postgresql-9.4-postgis-2.3
- postgresql-9.4-plv8
services:
- postgresql
cache: pip
env:
global:
- JOBS_QUEUE=Plenario-Testing-Queue
- secure: G1RWlnwPIPSW2XRD7IItotgzTw41IAkty... | 2 | Change travis.yml file to specify Python 2.7.11 | 2 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033378 | <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 filtering for timestamp without tz values | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033379 | <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 filtering for timestamp without tz values | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033380 | <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 filtering for timestamp without tz values | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033381 | <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;
}
.e... | 1 | rendering sparkline chart on detail page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10033382 | <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;
}
.e... | 1 | rendering sparkline chart on detail page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10033383 | <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;
}
.e... | 1 | rendering sparkline chart on detail page | 0 | .css | css | mit | UrbanCCD-UChicago/plenario |
10033384 | <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 | Job support for shapes endpoints, as well as download support for endpoints that support it. | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033385 | <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 | Job support for shapes endpoints, as well as download support for endpoints that support it. | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033386 | <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 | Job support for shapes endpoints, as well as download support for endpoints that support it. | 10 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033387 | <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... | 15 | Fix an issue where Validator would throw out valid date arguments because they were not obs_date | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033388 | <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... | 15 | Fix an issue where Validator would throw out valid date arguments because they were not obs_date | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033389 | <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... | 15 | Fix an issue where Validator would throw out valid date arguments because they were not obs_date | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033390 | <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... | 25 | Displays on global etl log! | 23 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033391 | <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... | 25 | Displays on global etl log! | 23 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033392 | <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... | 25 | Displays on global etl log! | 23 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033393 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 6 | Include address in node metadata | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033394 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 6 | Include address in node metadata | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033395 | <NME> test_sensor_networks.py
<BEF> import json
import time
import unittest
from .fixtures import Fixtures
from plenario.server import create_app
class TestSensorNetworks(unittest.TestCase):
fixtures = Fixtures()
def get_result(self, url):
response = self.app.get(url)
return response, json... | 6 | Include address in node metadata | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033396 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix validator OneOf() | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033397 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix validator OneOf() | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033398 | <NME> sensor_networks.py
<BEF> import csv
import io
import json
from datetime import datetime, timedelta
import boto3
from flask import Response, jsonify, redirect, request, stream_with_context
from marshmallow import Schema
from marshmallow.exceptions import ValidationError
from marshmallow.fields import DateTime, Fi... | 3 | fix validator OneOf() | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033399 | <NME> worker.py
<BEF> from datetime import datetime
from logging import getLogger
from flask import Flask
import plenario.tasks as tasks
logger = getLogger(__name__)
def create_worker():
logger.info('beginning worker setup')
app = Flask(__name__)
app.config.from_object('plenario.settings')
app.ur... | 0 | Increase weather update window for december | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033400 | <NME> worker.py
<BEF> from datetime import datetime
from logging import getLogger
from flask import Flask
import plenario.tasks as tasks
logger = getLogger(__name__)
def create_worker():
logger.info('beginning worker setup')
app = Flask(__name__)
app.config.from_object('plenario.settings')
app.ur... | 0 | Increase weather update window for december | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033401 | <NME> worker.py
<BEF> from datetime import datetime
from logging import getLogger
from flask import Flask
import plenario.tasks as tasks
logger = getLogger(__name__)
def create_worker():
logger.info('beginning worker setup')
app = Flask(__name__)
app.config.from_object('plenario.settings')
app.ur... | 0 | Increase weather update window for december | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033402 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import BigInteger, Boolean, Column, DateTime, Float, ForeignKey, ForeignKeyConstraint, String, Table, \
func as sqla_fn
from sqlalchemy.dialects.postgresql import DOUBLE_PRECISION, JSONB
from sqlalchemy.orm import relationshi... | 5 | Add nearest neighbor to arbitrary point | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033403 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import BigInteger, Boolean, Column, DateTime, Float, ForeignKey, ForeignKeyConstraint, String, Table, \
func as sqla_fn
from sqlalchemy.dialects.postgresql import DOUBLE_PRECISION, JSONB
from sqlalchemy.orm import relationshi... | 5 | Add nearest neighbor to arbitrary point | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033404 | <NME> SensorNetwork.py
<BEF> import json
from geoalchemy2 import Geometry
from sqlalchemy import BigInteger, Boolean, Column, DateTime, Float, ForeignKey, ForeignKeyConstraint, String, Table, \
func as sqla_fn
from sqlalchemy.dialects.postgresql import DOUBLE_PRECISION, JSONB
from sqlalchemy.orm import relationshi... | 5 | Add nearest neighbor to arbitrary point | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033405 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> Added .travis.yml that enables push-to-deploy.
<DFF> @@ -0,0 +1,52 @@
+language: python
+python:
+- '2.7'
+### test dependencies ###
+#addons:
+# postgresql: "9.4"
+#services:
+#- postgresql"
+#- redis-server
+sudo: required
+cache:
+env:
+ global:
+ - secure: AAkV/qhJ7Cm7n4Op... | 52 | Added .travis.yml that enables push-to-deploy. | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033406 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> Added .travis.yml that enables push-to-deploy.
<DFF> @@ -0,0 +1,52 @@
+language: python
+python:
+- '2.7'
+### test dependencies ###
+#addons:
+# postgresql: "9.4"
+#services:
+#- postgresql"
+#- redis-server
+sudo: required
+cache:
+env:
+ global:
+ - secure: AAkV/qhJ7Cm7n4Op... | 52 | Added .travis.yml that enables push-to-deploy. | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033407 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> Added .travis.yml that enables push-to-deploy.
<DFF> @@ -0,0 +1,52 @@
+language: python
+python:
+- '2.7'
+### test dependencies ###
+#addons:
+# postgresql: "9.4"
+#services:
+#- postgresql"
+#- redis-server
+sudo: required
+cache:
+env:
+ global:
+ - secure: AAkV/qhJ7Cm7n4Op... | 52 | Added .travis.yml that enables push-to-deploy. | 0 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10033408 | <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
Flask-M... | 1 | Put boto3 in requirements.txt | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033409 | <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
Flask-M... | 1 | Put boto3 in requirements.txt | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033410 | <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
Flask-M... | 1 | Put boto3 in requirements.txt | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033411 | <NME> server.py
<BEF> import codecs
import logging.config
from flask import Flask, render_template, redirect, url_for, request
from flask_cors import CORS
from logging import getLogger
from raven.contrib.flask import Sentry
import yaml
from plenario.database import postgres_session as db_session
from plenario.models ... | 1 | Linted `plenario/apiary` and Moved Blueprints | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033412 | <NME> server.py
<BEF> import codecs
import logging.config
from flask import Flask, render_template, redirect, url_for, request
from flask_cors import CORS
from logging import getLogger
from raven.contrib.flask import Sentry
import yaml
from plenario.database import postgres_session as db_session
from plenario.models ... | 1 | Linted `plenario/apiary` and Moved Blueprints | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033413 | <NME> server.py
<BEF> import codecs
import logging.config
from flask import Flask, render_template, redirect, url_for, request
from flask_cors import CORS
from logging import getLogger
from raven.contrib.flask import Sentry
import yaml
from plenario.database import postgres_session as db_session
from plenario.models ... | 1 | Linted `plenario/apiary` and Moved Blueprints | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033414 | <NME> redshift_ops.py
<BEF> ADDFILE
<MSG> queries reflect observation table from redshift
<DFF> @@ -0,0 +1,22 @@
+from sqlalchemy import text
+
+from plenario.database import redshift_engine
+
+
+def create_network_table(network_name):
+ op = text('CREATE TABLE {} ('
+ '"nodeId" VARCHAR NOT NULL,'
+ ... | 22 | queries reflect observation table from redshift | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033415 | <NME> redshift_ops.py
<BEF> ADDFILE
<MSG> queries reflect observation table from redshift
<DFF> @@ -0,0 +1,22 @@
+from sqlalchemy import text
+
+from plenario.database import redshift_engine
+
+
+def create_network_table(network_name):
+ op = text('CREATE TABLE {} ('
+ '"nodeId" VARCHAR NOT NULL,'
+ ... | 22 | queries reflect observation table from redshift | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033416 | <NME> redshift_ops.py
<BEF> ADDFILE
<MSG> queries reflect observation table from redshift
<DFF> @@ -0,0 +1,22 @@
+from sqlalchemy import text
+
+from plenario.database import redshift_engine
+
+
+def create_network_table(network_name):
+ op = text('CREATE TABLE {} ('
+ '"nodeId" VARCHAR NOT NULL,'
+ ... | 22 | queries reflect observation table from redshift | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033417 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis... | 19 | Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033418 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis... | 19 | Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033419 | <NME> Dockerfile
<BEF> ADDFILE
<MSG> Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary
<DFF> @@ -0,0 +1,19 @@
+FROM python:2.7.12
+
+# Get add-apt-repository
+RUN apt-get update -y
+RUN apt-get install -y software-properties-common
+
+# Get GDAL
+RUN add-apt-repository -y ppa:ubuntugis... | 19 | Merge branch 'aot-apiary' of github.com:UrbanCCD-UChicago/plenario into aot-apiary | 0 | Dockerfile | mit | UrbanCCD-UChicago/plenario | |
10033420 | <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 json
import re
import dateutil.relativedelta
from cStringIO import StringIO
from collections import namedtuple
import requests
from flask import Blueprint, flash, redirect, r... | 52 | Job stability improvements. | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033421 | <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 json
import re
import dateutil.relativedelta
from cStringIO import StringIO
from collections import namedtuple
import requests
from flask import Blueprint, flash, redirect, r... | 52 | Job stability improvements. | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033422 | <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 json
import re
import dateutil.relativedelta
from cStringIO import StringIO
from collections import namedtuple
import requests
from flask import Blueprint, flash, redirect, r... | 52 | Job stability improvements. | 15 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033423 | <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 | Merge pull request #210 from UrbanCCD-UChicago/shape-filter | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033424 | <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 | Merge pull request #210 from UrbanCCD-UChicago/shape-filter | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033425 | <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 | Merge pull request #210 from UrbanCCD-UChicago/shape-filter | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033426 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | Some more grid tweaks. Getting started on the basic query builder | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033427 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | Some more grid tweaks. Getting started on the basic query builder | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033428 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | Some more grid tweaks. Getting started on the basic query builder | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10033429 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import re
from cStringIO import StringIO
from collections import namedtuple
from datetime import datetime, timedelta
from hashlib import md5
from urlparse import urlparse
import requests
from flask... | 33 | Fix Global ETL to include shape and point datasets. | 44 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033430 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import re
from cStringIO import StringIO
from collections import namedtuple
from datetime import datetime, timedelta
from hashlib import md5
from urlparse import urlparse
import requests
from flask... | 33 | Fix Global ETL to include shape and point datasets. | 44 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033431 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import re
from cStringIO import StringIO
from collections import namedtuple
from datetime import datetime, timedelta
from hashlib import md5
from urlparse import urlparse
import requests
from flask... | 33 | Fix Global ETL to include shape and point datasets. | 44 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033432 | <NME> daterangepicker.js
<BEF> ADDFILE
<MSG> Got date range stuff working
<DFF> @@ -0,0 +1,1026 @@
+/**
+* @version: 1.3.7
+* @author: Dan Grossman http://www.dangrossman.info/
+* @date: 2014-04-29
+* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
+* @license: Licensed under Apache License v2.0... | 1,026 | Got date range stuff working | 0 | .js | js | mit | UrbanCCD-UChicago/plenario |
10033433 | <NME> daterangepicker.js
<BEF> ADDFILE
<MSG> Got date range stuff working
<DFF> @@ -0,0 +1,1026 @@
+/**
+* @version: 1.3.7
+* @author: Dan Grossman http://www.dangrossman.info/
+* @date: 2014-04-29
+* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
+* @license: Licensed under Apache License v2.0... | 1,026 | Got date range stuff working | 0 | .js | js | mit | UrbanCCD-UChicago/plenario |
10033434 | <NME> daterangepicker.js
<BEF> ADDFILE
<MSG> Got date range stuff working
<DFF> @@ -0,0 +1,1026 @@
+/**
+* @version: 1.3.7
+* @author: Dan Grossman http://www.dangrossman.info/
+* @date: 2014-04-29
+* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
+* @license: Licensed under Apache License v2.0... | 1,026 | Got date range stuff working | 0 | .js | js | mit | UrbanCCD-UChicago/plenario |
10033435 | <NME> database.py
<BEF> import subprocess
from contextlib import contextmanager
from logging import getLogger
from sqlalchemy import create_engine
from sqlalchemy.engine.base import Engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, scoped_session
from plenario.set... | 4 | First pass at providing local ETL support in absence of S3 | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033436 | <NME> database.py
<BEF> import subprocess
from contextlib import contextmanager
from logging import getLogger
from sqlalchemy import create_engine
from sqlalchemy.engine.base import Engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, scoped_session
from plenario.set... | 4 | First pass at providing local ETL support in absence of S3 | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033437 | <NME> database.py
<BEF> import subprocess
from contextlib import contextmanager
from logging import getLogger
from sqlalchemy import create_engine
from sqlalchemy.engine.base import Engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, scoped_session
from plenario.set... | 4 | First pass at providing local ETL support in absence of S3 | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033438 | <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 | reorganized admin templates | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033439 | <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 | reorganized admin templates | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033440 | <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 | reorganized admin templates | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033441 | <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 | soring elt log by id descending | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033442 | <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 | soring elt log by id descending | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033443 | <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 | soring elt log by id descending | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033444 | <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
datetime_truncate
pyshp
F... | 1 | Update metar package to datamade fork | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033445 | <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
datetime_truncate
pyshp
F... | 1 | Update metar package to datamade fork | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033446 | <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
datetime_truncate
pyshp
F... | 1 | Update metar package to datamade fork | 1 | .txt | txt | mit | UrbanCCD-UChicago/plenario |
10033447 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint
from wopr.models import MasterTable, MetaTable
from wopr.database import session
from datetime import datetime, timedelta
views = Blueprint('views', __name__)
from urllib.parse import urlparse
import reques... | 2 | renamed internal libraries to plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033448 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint
from wopr.models import MasterTable, MetaTable
from wopr.database import session
from datetime import datetime, timedelta
views = Blueprint('views', __name__)
from urllib.parse import urlparse
import reques... | 2 | renamed internal libraries to plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |
10033449 | <NME> views.py
<BEF> from flask import make_response, request, render_template, current_app, g, \
Blueprint
from wopr.models import MasterTable, MetaTable
from wopr.database import session
from datetime import datetime, timedelta
views = Blueprint('views', __name__)
from urllib.parse import urlparse
import reques... | 2 | renamed internal libraries to plenario | 2 | .py | py | mit | UrbanCCD-UChicago/plenario |