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 |
|---|---|---|---|---|---|---|---|---|
10031250 | <NME> tasks.py
<BEF> import csv
import logging
from datetime import datetime, timedelta
from functools import wraps
from raven import Client
from sqlalchemy.exc import NoSuchTableError, InternalError
from plenario.database import session as session, app_engine as engine
from plenario.etl.point import PlenarioETL
from ... | 13 | Merge branch 'unified-jobs' of https://github.com/UrbanCCD-UChicago/plenario into unified-jobs | 9 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031251 | <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... | 19 | CRUD Interactions with ETLTask and tests | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031252 | <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... | 19 | CRUD Interactions with ETLTask and tests | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031253 | <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... | 19 | CRUD Interactions with ETLTask and tests | 7 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031254 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import itertools
import re
from collections import namedtuple
from hashlib import md5
from io import StringIO
from urllib.parse import urlparse
import requests
from flask import Blueprint, flash, r... | 1 | Fixed a couple tiny little bugs with parsing csvs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031255 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import itertools
import re
from collections import namedtuple
from hashlib import md5
from io import StringIO
from urllib.parse import urlparse
import requests
from flask import Blueprint, flash, r... | 1 | Fixed a couple tiny little bugs with parsing csvs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031256 | <NME> views.py
<BEF> # TODO: this needs to be refactored. we've got views, utils, forms... this needs a lot of attention
import itertools
import re
from collections import namedtuple
from hashlib import md5
from io import StringIO
from urllib.parse import urlparse
import requests
from flask import Blueprint, flash, r... | 1 | Fixed a couple tiny little bugs with parsing csvs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031257 | <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 | Add audit trigger to init_db and point ETL | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031258 | <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 | Add audit trigger to init_db and point ETL | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031259 | <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 | Add audit trigger to init_db and point ETL | 4 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031260 | <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... | 4 | Merge branch 'master' into point-delete | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031261 | <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... | 4 | Merge branch 'master' into point-delete | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031262 | <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... | 4 | Merge branch 'master' into point-delete | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031263 | <NME> test_node_meta.py
<BEF> ADDFILE
<MSG> Correct datetime defaults and add nearest neighbor test
<DFF> @@ -0,0 +1,13 @@
+import unittest
+
+
+class TestNodeMeta(unittest.TestCase):
+
+ def test_nearest_neighbor_with_valid_node(self):
+
+ from plenario.sensor_network.sensor_models import NodeMeta
+
+ ... | 13 | Correct datetime defaults and add nearest neighbor test | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031264 | <NME> test_node_meta.py
<BEF> ADDFILE
<MSG> Correct datetime defaults and add nearest neighbor test
<DFF> @@ -0,0 +1,13 @@
+import unittest
+
+
+class TestNodeMeta(unittest.TestCase):
+
+ def test_nearest_neighbor_with_valid_node(self):
+
+ from plenario.sensor_network.sensor_models import NodeMeta
+
+ ... | 13 | Correct datetime defaults and add nearest neighbor test | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031265 | <NME> test_node_meta.py
<BEF> ADDFILE
<MSG> Correct datetime defaults and add nearest neighbor test
<DFF> @@ -0,0 +1,13 @@
+import unittest
+
+
+class TestNodeMeta(unittest.TestCase):
+
+ def test_nearest_neighbor_with_valid_node(self):
+
+ from plenario.sensor_network.sensor_models import NodeMeta
+
+ ... | 13 | Correct datetime defaults and add nearest neighbor test | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031266 | <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... | 3 | hail Mary | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031267 | <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... | 3 | hail Mary | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031268 | <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... | 3 | hail Mary | 1 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031269 | <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... | 239 | Plan submission view handler | 150 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031270 | <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... | 239 | Plan submission view handler | 150 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031271 | <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... | 239 | Plan submission view handler | 150 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031272 | <NME> README.md
<BEF> [](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.io
# Plenar.io
API for geospatial and time aggregation across multiple open datasets.
This project is funded by the [NSF Computer and Information Science and Engin... | 1 | Add codeclimate linting | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031273 | <NME> README.md
<BEF> [](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.io
# Plenar.io
API for geospatial and time aggregation across multiple open datasets.
This project is funded by the [NSF Computer and Information Science and Engin... | 1 | Add codeclimate linting | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031274 | <NME> README.md
<BEF> [](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.io
# Plenar.io
API for geospatial and time aggregation across multiple open datasets.
This project is funded by the [NSF Computer and Information Science and Engin... | 1 | Add codeclimate linting | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031275 | <NME> __init__.py
<BEF> import os
from flask import Flask, render_template, redirect, url_for, request
from raven.contrib.flask import Sentry
from plenario.database import session as db_session
from plenario.auth import auth, login_manager
from plenario.views import views
from plenario.utils.helpers import mail, slugif... | 9 | Tweak Sentry init to allow running from default settings.py. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031276 | <NME> __init__.py
<BEF> import os
from flask import Flask, render_template, redirect, url_for, request
from raven.contrib.flask import Sentry
from plenario.database import session as db_session
from plenario.auth import auth, login_manager
from plenario.views import views
from plenario.utils.helpers import mail, slugif... | 9 | Tweak Sentry init to allow running from default settings.py. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031277 | <NME> __init__.py
<BEF> import os
from flask import Flask, render_template, redirect, url_for, request
from raven.contrib.flask import Sentry
from plenario.database import session as db_session
from plenario.auth import auth, login_manager
from plenario.views import views
from plenario.utils.helpers import mail, slugif... | 9 | Tweak Sentry init to allow running from default settings.py. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031278 | <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 | removed terms of use page and link, closes #70 | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031279 | <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 | removed terms of use page and link, closes #70 | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031280 | <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 | removed terms of use page and link, closes #70 | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031281 | <NME> validator.py
<BEF> import json
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 sqlalchemy impor... | 5 | Merge pull request #248 from UrbanCCD-UChicago/fix-dataset-with-trailing-underscore-error | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031282 | <NME> validator.py
<BEF> import json
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 sqlalchemy impor... | 5 | Merge pull request #248 from UrbanCCD-UChicago/fix-dataset-with-trailing-underscore-error | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031283 | <NME> validator.py
<BEF> import json
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 sqlalchemy impor... | 5 | Merge pull request #248 from UrbanCCD-UChicago/fix-dataset-with-trailing-underscore-error | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031284 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 16 | updated readme with NSF and UrbanCCD credits | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031285 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 16 | updated readme with NSF and UrbanCCD credits | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031286 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 16 | updated readme with NSF and UrbanCCD credits | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031287 | <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... | 6 | Kludge a solution for non-socrata shape submission | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031288 | <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... | 6 | Kludge a solution for non-socrata shape submission | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031289 | <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... | 6 | Kludge a solution for non-socrata shape submission | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031290 | <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... | 30 | Add hash column to StagingTable | 25 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031291 | <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... | 30 | Add hash column to StagingTable | 25 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031292 | <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... | 30 | Add hash column to StagingTable | 25 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031293 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from sqlalchemy.exc import NoSuchTableError
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import ... | 34 | renamed polygon_filter API to generic shapes/<poly>/<point> endpoint and allowed use of parameters for filtering by date, location, etc. Added unit tests and modified docs as well | 19 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031294 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from sqlalchemy.exc import NoSuchTableError
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import ... | 34 | renamed polygon_filter API to generic shapes/<poly>/<point> endpoint and allowed use of parameters for filtering by date, location, etc. Added unit tests and modified docs as well | 19 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031295 | <NME> shape.py
<BEF> import json
from collections import OrderedDict
from flask import make_response, request
from sqlalchemy import func
from sqlalchemy.exc import NoSuchTableError
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import ... | 34 | renamed polygon_filter API to generic shapes/<poly>/<point> endpoint and allowed use of parameters for filtering by date, location, etc. Added unit tests and modified docs as well | 19 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031296 | <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... | 15 | Merge branch 'contrib_dataset' of github.com:UrbanCCD-UChicago/plenario into contrib_dataset | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031297 | <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... | 15 | Merge branch 'contrib_dataset' of github.com:UrbanCCD-UChicago/plenario into contrib_dataset | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031298 | <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... | 15 | Merge branch 'contrib_dataset' of github.com:UrbanCCD-UChicago/plenario into contrib_dataset | 6 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031299 | <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 | Remove fast count, fix csv export name showing up as None. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031300 | <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 | Remove fast count, fix csv export name showing up as None. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031301 | <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 | Remove fast count, fix csv export name showing up as None. | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031302 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
*~
#.*#
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
# Development
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellaneous
Icon?
.vagrant
... | 1 | Add sample celery config | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031303 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
*~
#.*#
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
# Development
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellaneous
Icon?
.vagrant
... | 1 | Add sample celery config | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031304 | <NME> .gitignore
<BEF> # OS Generated Files
.DS_Store
# Python
*.pyc
# Vim Generated Files
*.swp
# Elastic Beanstalk Files
*~
#.*#
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
# Development
*~
#.*#
*.todo
/.idea/
.vscode/
# Miscellaneous
Icon?
.vagrant
... | 1 | Add sample celery config | 0 | gitignore | mit | UrbanCCD-UChicago/plenario | |
10031305 | <NME> worker.py
<BEF> ADDFILE
<MSG> Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs
<DFF> @@ -0,0 +1,130 @@
+### THIS IS AN INDEPENDENT PYTHON SCRIPT THAT RUNS THE WORKER ###
+### AVOID IMPORTING FROM THIS FILE ###
+
+import datetime, time, signal
+impor... | 130 | Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031306 | <NME> worker.py
<BEF> ADDFILE
<MSG> Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs
<DFF> @@ -0,0 +1,130 @@
+### THIS IS AN INDEPENDENT PYTHON SCRIPT THAT RUNS THE WORKER ###
+### AVOID IMPORTING FROM THIS FILE ###
+
+import datetime, time, signal
+impor... | 130 | Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031307 | <NME> worker.py
<BEF> ADDFILE
<MSG> Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs
<DFF> @@ -0,0 +1,130 @@
+### THIS IS AN INDEPENDENT PYTHON SCRIPT THAT RUNS THE WORKER ###
+### AVOID IMPORTING FROM THIS FILE ###
+
+import datetime, time, signal
+impor... | 130 | Merge branch 'jobs' of https://github.com/UrbanCCD-UChicago/plenario into origin/jobs | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031308 | <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... | 5 | Changed extend_existing to keep_existing for weather tables. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031309 | <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... | 5 | Changed extend_existing to keep_existing for weather tables. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031310 | <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... | 5 | Changed extend_existing to keep_existing for weather tables. | 5 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031311 | <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... | 5 | Add .py suffixes to travis.yml | 5 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031312 | <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... | 5 | Add .py suffixes to travis.yml | 5 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031313 | <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... | 5 | Add .py suffixes to travis.yml | 5 | .yml | travis | mit | UrbanCCD-UChicago/plenario |
10031314 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | add datatype parameter | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031315 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | add datatype parameter | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031316 | <NME> README.md
<BEF>
[](https://codeclimate.com/github/UrbanCCD-UChicago/plenario)
[](https://travis-ci.org/UrbanCCD-UChicago/plenario)
# Plenar.... | 1 | add datatype parameter | 1 | .md | md | mit | UrbanCCD-UChicago/plenario |
10031317 | <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... | 17 | added helper for estimating table size quickly, displaying census blocks and weather observations | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031318 | <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... | 17 | added helper for estimating table size quickly, displaying census blocks and weather observations | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031319 | <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... | 17 | added helper for estimating table size quickly, displaying census blocks and weather observations | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031320 | <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 | ordering ETL logs descending, fix for pending operations | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031321 | <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 | ordering ETL logs descending, fix for pending operations | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031322 | <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 | ordering ETL logs descending, fix for pending operations | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031323 | <NME> wsgi.py
<BEF> ADDFILE
<MSG> Experiment, does wsgi need to be told to run?
<DFF> @@ -0,0 +1,3 @@
+from plenario import create_app
+
+application = create_app()
\ No newline at end of file
| 3 | Experiment, does wsgi need to be told to run? | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031324 | <NME> wsgi.py
<BEF> ADDFILE
<MSG> Experiment, does wsgi need to be told to run?
<DFF> @@ -0,0 +1,3 @@
+from plenario import create_app
+
+application = create_app()
\ No newline at end of file
| 3 | Experiment, does wsgi need to be told to run? | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031325 | <NME> wsgi.py
<BEF> ADDFILE
<MSG> Experiment, does wsgi need to be told to run?
<DFF> @@ -0,0 +1,3 @@
+from plenario import create_app
+
+application = create_app()
\ No newline at end of file
| 3 | Experiment, does wsgi need to be told to run? | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031326 | <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... | 149 | Extract update method from metar and hourly | 156 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031327 | <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... | 149 | Extract update method from metar and hourly | 156 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031328 | <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... | 149 | Extract update method from metar and hourly | 156 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031329 | <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 | Remove count and windowed query | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031330 | <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 | Remove count and windowed query | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031331 | <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 | Remove count and windowed query | 1 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031332 | <NME> shape.py
<BEF> import os
import json
import tempfile
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import OgrExport
from plenario.api.common import crossdomain, extract_first_geometry_fra... | 21 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario | 108 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031333 | <NME> shape.py
<BEF> import os
import json
import tempfile
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import OgrExport
from plenario.api.common import crossdomain, extract_first_geometry_fra... | 21 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario | 108 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031334 | <NME> shape.py
<BEF> import os
import json
import tempfile
from flask import make_response, request
from plenario.models import ShapeMetadata
from plenario.database import session, app_engine as engine
from plenario.utils.ogr2ogr import OgrExport
from plenario.api.common import crossdomain, extract_first_geometry_fra... | 21 | Merge branch 'master' of https://github.com/UrbanCCD-UChicago/plenario | 108 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031335 | <NME> settings.py.docker
<BEF> ADDFILE
<MSG> Merge branch 'dockerfile'
<DFF> @@ -0,0 +1,31 @@
+SECRET_KEY = 'abcdefghijklmnop'
+PLENARIO_SENTRY_URL = ''
+CELERY_SENTRY_URL = ''
+DATABASE_CONN = 'postgresql://docker:docker@172.17.0.103:5432/docker'
+DATA_DIR = '/tmp'
+
+# See: https://pythonhosted.org/Flask-Cache/#conf... | 31 | Merge branch 'dockerfile' | 0 | .docker | py | mit | UrbanCCD-UChicago/plenario |
10031336 | <NME> settings.py.docker
<BEF> ADDFILE
<MSG> Merge branch 'dockerfile'
<DFF> @@ -0,0 +1,31 @@
+SECRET_KEY = 'abcdefghijklmnop'
+PLENARIO_SENTRY_URL = ''
+CELERY_SENTRY_URL = ''
+DATABASE_CONN = 'postgresql://docker:docker@172.17.0.103:5432/docker'
+DATA_DIR = '/tmp'
+
+# See: https://pythonhosted.org/Flask-Cache/#conf... | 31 | Merge branch 'dockerfile' | 0 | .docker | py | mit | UrbanCCD-UChicago/plenario |
10031337 | <NME> settings.py.docker
<BEF> ADDFILE
<MSG> Merge branch 'dockerfile'
<DFF> @@ -0,0 +1,31 @@
+SECRET_KEY = 'abcdefghijklmnop'
+PLENARIO_SENTRY_URL = ''
+CELERY_SENTRY_URL = ''
+DATABASE_CONN = 'postgresql://docker:docker@172.17.0.103:5432/docker'
+DATA_DIR = '/tmp'
+
+# See: https://pythonhosted.org/Flask-Cache/#conf... | 31 | Merge branch 'dockerfile' | 0 | .docker | py | mit | UrbanCCD-UChicago/plenario |
10031338 | <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 | Added login requirement to flush-cache and /workers/purge | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031339 | <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 | Added login requirement to flush-cache and /workers/purge | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031340 | <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 | Added login requirement to flush-cache and /workers/purge | 0 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031341 | <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... | 9 | fix obs_date handling in grid | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031342 | <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... | 9 | fix obs_date handling in grid | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031343 | <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... | 9 | fix obs_date handling in grid | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031344 | <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 | Handling the case where Socrata falls off the internet | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031345 | <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 | Handling the case where Socrata falls off the internet | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031346 | <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 | Handling the case where Socrata falls off the internet | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031347 | <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 | Catch duplicate shapefile submissions | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031348 | <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 | Catch duplicate shapefile submissions | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |
10031349 | <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 | Catch duplicate shapefile submissions | 3 | .py | py | mit | UrbanCCD-UChicago/plenario |