commit stringlengths 40 40 | old_file stringlengths 4 118 | new_file stringlengths 4 118 | old_contents stringlengths 0 2.94k | new_contents stringlengths 1 4.43k | subject stringlengths 15 444 | message stringlengths 16 3.45k | lang stringclasses 1
value | license stringclasses 13
values | repos stringlengths 5 43.2k | prompt stringlengths 17 4.58k | response stringlengths 1 4.43k | prompt_tagged stringlengths 58 4.62k | response_tagged stringlengths 1 4.43k | text stringlengths 132 7.29k | text_tagged stringlengths 173 7.33k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9ca274a1a5e9596de553d2ae16950a845359321 | examples/plotting/file/geojson_points.py | examples/plotting/file/geojson_points.py | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSource(geojson=geo... | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource, HoverTool
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, size=20, source=GeoJSONDa... | Add HoverTool to show off properties availability | Add HoverTool to show off properties availability
| Python | bsd-3-clause | draperjames/bokeh,bokeh/bokeh,timsnyder/bokeh,dennisobrien/bokeh,maxalbert/bokeh,phobson/bokeh,jakirkham/bokeh,stonebig/bokeh,jakirkham/bokeh,bokeh/bokeh,DuCorey/bokeh,justacec/bokeh,dennisobrien/bokeh,clairetang6/bokeh,azjps/bokeh,timsnyder/bokeh,aiguofer/bokeh,timsnyder/bokeh,ericmjl/bokeh,DuCorey/bokeh,rs2/bokeh,bok... | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSource(geojson=geo... | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource, HoverTool
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, size=20, source=GeoJSONDa... | <commit_before>from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSou... | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource, HoverTool
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, size=20, source=GeoJSONDa... | from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSource(geojson=geo... | <commit_before>from bokeh.io import output_file, show
from bokeh.models import GeoJSONDataSource
from bokeh.plotting import figure
from bokeh.sampledata.sample_geojson import geojson
output_file("geojson_points.html", title="GeoJSON Points")
p = figure()
p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSou... |
a0fc801130fa9068c5acc0a48d389f469cdb4bb2 | tasks.py | tasks.py | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(show=True):
"""Build the docs and show them in default web browser."""
run('sphinx-build docs docs/_build')
... | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in default web browser."""
build_cmd ... | Add more options to the `docs` task | Add more options to the `docs` task
| Python | bsd-3-clause | Xion/callee | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(show=True):
"""Build the docs and show them in default web browser."""
run('sphinx-build docs docs/_build')
... | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in default web browser."""
build_cmd ... | <commit_before>"""
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(show=True):
"""Build the docs and show them in default web browser."""
run('sphinx-build docs do... | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in default web browser."""
build_cmd ... | """
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(show=True):
"""Build the docs and show them in default web browser."""
run('sphinx-build docs docs/_build')
... | <commit_before>"""
Automation tasks, aided by the Invoke package.
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(show=True):
"""Build the docs and show them in default web browser."""
run('sphinx-build docs do... |
704439e7ae99d215948c94a5dfa61ee1f3f57971 | fireplace/cards/tgt/neutral_legendary.py | fireplace/cards/tgt/neutral_legendary.py | from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
| from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
# Gormok the Impaler
class AT_122:
play = Hit(TARGET, 4)
# ... | Implement more TGT Neutral Legendaries | Implement more TGT Neutral Legendaries
| Python | agpl-3.0 | Ragowit/fireplace,liujimj/fireplace,oftc-ftw/fireplace,amw2104/fireplace,amw2104/fireplace,beheh/fireplace,smallnamespace/fireplace,smallnamespace/fireplace,NightKev/fireplace,liujimj/fireplace,oftc-ftw/fireplace,jleclanche/fireplace,Ragowit/fireplace,Meerkov/fireplace,Meerkov/fireplace | from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
Implement more TGT Neutral Legendaries | from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
# Gormok the Impaler
class AT_122:
play = Hit(TARGET, 4)
# ... | <commit_before>from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
<commit_msg>Implement more TGT Neutral Legendarie... | from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
# Gormok the Impaler
class AT_122:
play = Hit(TARGET, 4)
# ... | from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
Implement more TGT Neutral Legendariesfrom ..utils import *
##... | <commit_before>from ..utils import *
##
# Minions
# Confessor Paletress
class AT_018:
inspire = Summon(CONTROLLER, RandomMinion(rarity=Rarity.LEGENDARY))
# Skycap'n Kragg
class AT_070:
cost = lambda self, i: i - len(self.controller.field.filter(race=Race.PIRATE))
<commit_msg>Implement more TGT Neutral Legendarie... |
d86a4b75b1d8b4d18aadbb2bc98387b5ce78f939 | tests/web/splinter/test_view_album.py | tests/web/splinter/test_view_album.py | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestUploadImage(TestCase):
@with_settings(bucket='humptydump')
... | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestViewAlbum(TestCase):
@with_settings(bucket='humptydump')
d... | Fix a test class name | Fix a test class name
| Python | mit | ErinCall/catsnap,ErinCall/catsnap,ErinCall/catsnap | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestUploadImage(TestCase):
@with_settings(bucket='humptydump')
... | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestViewAlbum(TestCase):
@with_settings(bucket='humptydump')
d... | <commit_before>from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestUploadImage(TestCase):
@with_settings(bucket='h... | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestViewAlbum(TestCase):
@with_settings(bucket='humptydump')
d... | from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestUploadImage(TestCase):
@with_settings(bucket='humptydump')
... | <commit_before>from __future__ import unicode_literals
from tests import with_settings
from tests.web.splinter import TestCase
from catsnap import Client
from catsnap.table.image import Image
from catsnap.table.album import Album
from nose.tools import eq_
class TestUploadImage(TestCase):
@with_settings(bucket='h... |
eac78bcb95e2c34a5c2de75db785dd6532306819 | ibei/main.py | ibei/main.py | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | Add draft of DeVos solar cell power function | Add draft of DeVos solar cell power function
| Python | mit | jrsmith3/tec,jrsmith3/ibei,jrsmith3/tec | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | <commit_before># -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = ene... | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | # -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = energy_lo / kT
... | <commit_before># -*- coding: utf-8 -*-
import numpy as np
from astropy import constants
from astropy import units
from sympy.mpmath import polylog
def uibei(order, energy_lo, temp, chem_potential):
"""
Upper incomplete Bose-Einstein integral.
"""
kT = temp * constants.k_B
reduced_energy_lo = ene... |
8377bbca8b49a7a973d5521795d6df238774db8b | codenamegenerator/__init__.py | codenamegenerator/__init__.py | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | Fix for empty lines in data sets | Fix for empty lines in data sets | Python | mit | mariocesar/namegenerator | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | <commit_before>from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_D... | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_DIR, f"{name}.cs... | <commit_before>from typing import List
import csv
import os
import random
DICT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "dicts")
def dictionary_sample(name: str, sample: int = 1) -> List[str]:
# TODO: Cache counting, and use file.seek to speed file reading.
fname = os.path.join(DICT_D... |
1650c9d9620ba9b9262598d3a47208c6c8180768 | app/views.py | app/views.py | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
data = {
"items": []
}
for episode in Episode.query.filter_b... | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
# Return all episodes with showcase set to True.
data = {
"items... | Make shows and episodes only appear if published is true. | Make shows and episodes only appear if published is true.
| Python | mit | frequencyasia/website,frequencyasia/website | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
data = {
"items": []
}
for episode in Episode.query.filter_b... | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
# Return all episodes with showcase set to True.
data = {
"items... | <commit_before>from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
data = {
"items": []
}
for episode in Episode... | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
# Return all episodes with showcase set to True.
data = {
"items... | from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
data = {
"items": []
}
for episode in Episode.query.filter_b... | <commit_before>from flask import render_template, jsonify
from app import app
from models import Show, Episode
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html')
@app.route("/api/new-episodes/")
def new_episodes():
data = {
"items": []
}
for episode in Episode... |
f32685ef4ad847bd237845da6b5b8c44dac0ea9b | tests/skipif_markers.py | tests/skipif_markers.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
travis = os.environ[u'TRAVIS']
except KeyError:
travis = False
try:
no_network = os.environ[u'DISABLE_NETWORK_TESTS']
except KeyError... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
os.environ[u'TRAVIS']
except KeyError:
travis = False
else:
travis = True
try:
os.environ[u'DISABLE_NETWORK_TESTS']
except KeyErr... | Fix travis, make sure skipif condition resolves to a bool | Fix travis, make sure skipif condition resolves to a bool
| Python | bsd-3-clause | audreyr/cookiecutter,dajose/cookiecutter,kkujawinski/cookiecutter,hackebrot/cookiecutter,venumech/cookiecutter,vintasoftware/cookiecutter,pjbull/cookiecutter,lucius-feng/cookiecutter,ramiroluz/cookiecutter,venumech/cookiecutter,0k/cookiecutter,christabor/cookiecutter,hackebrot/cookiecutter,Vauxoo/cookiecutter,Springerl... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
travis = os.environ[u'TRAVIS']
except KeyError:
travis = False
try:
no_network = os.environ[u'DISABLE_NETWORK_TESTS']
except KeyError... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
os.environ[u'TRAVIS']
except KeyError:
travis = False
else:
travis = True
try:
os.environ[u'DISABLE_NETWORK_TESTS']
except KeyErr... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
travis = os.environ[u'TRAVIS']
except KeyError:
travis = False
try:
no_network = os.environ[u'DISABLE_NETWORK_TESTS']
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
os.environ[u'TRAVIS']
except KeyError:
travis = False
else:
travis = True
try:
os.environ[u'DISABLE_NETWORK_TESTS']
except KeyErr... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
travis = os.environ[u'TRAVIS']
except KeyError:
travis = False
try:
no_network = os.environ[u'DISABLE_NETWORK_TESTS']
except KeyError... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
skipif_markers
--------------
Contains pytest skipif markers to be used in the suite.
"""
import pytest
import os
try:
travis = os.environ[u'TRAVIS']
except KeyError:
travis = False
try:
no_network = os.environ[u'DISABLE_NETWORK_TESTS']
... |
114a6eb827c0e3dd4557aee8f76fde1bbd111bb9 | archalice.py | archalice.py | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+self.ip,"r")
... | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+sel... | Update indentation to 4 spaces | Update indentation to 4 spaces
| Python | mit | imrehg/archalice | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+self.ip,"r")
... | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+sel... | <commit_before>#!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+... | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+sel... | #!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+self.ip,"r")
... | <commit_before>#!/usr/bin/env python
import os
import re
import time
import sys
from threading import Thread
class testit(Thread):
def __init__ (self,ip):
Thread.__init__(self)
self.ip = ip
self.status = -1
self.responsetime = -1
def run(self):
pingaling = os.popen("ping -q -c2 "+... |
b63bda37aa2e9b5251cf6c54d59785d2856659ca | tests/python/unittest/test_random.py | tests/python/unittest/test_random.py | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
shape = (100, 100)
mx.random.seed(128)
ret1 = mx.random.normal(mu, sigma, shape)
u... | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
for i in range(5):
shape = (100 + i, 100 + i)
mx.random.seed(128)
ret1... | Update random number generator test | Update random number generator test
| Python | apache-2.0 | sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
shape = (100, 100)
mx.random.seed(128)
ret1 = mx.random.normal(mu, sigma, shape)
u... | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
for i in range(5):
shape = (100 + i, 100 + i)
mx.random.seed(128)
ret1... | <commit_before>import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
shape = (100, 100)
mx.random.seed(128)
ret1 = mx.random.normal(mu, sigma, s... | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
for i in range(5):
shape = (100 + i, 100 + i)
mx.random.seed(128)
ret1... | import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
shape = (100, 100)
mx.random.seed(128)
ret1 = mx.random.normal(mu, sigma, shape)
u... | <commit_before>import os
import mxnet as mx
import numpy as np
def same(a, b):
return np.sum(a != b) == 0
def check_with_device(device):
with mx.Context(device):
a, b = -10, 10
mu, sigma = 10, 2
shape = (100, 100)
mx.random.seed(128)
ret1 = mx.random.normal(mu, sigma, s... |
221413b5715286bb7b61e18f8e678f2ca097a5e1 | rover.py | rover.py | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
| class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
def set_position(self, x, y, direction):
self.x = ... | Add set_position method to Rover | Add set_position method to Rover
| Python | mit | authentik8/rover | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
Add set_position method to Rover | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
def set_position(self, x, y, direction):
self.x = ... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
<commit_msg>Add set_position method to Rover<com... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
def set_position(self, x, y, direction):
self.x = ... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
Add set_position method to Roverclass Rover:
compass = ['N... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
<commit_msg>Add set_position method to Rover<com... |
64038fad35e7a1b9756921a79b6b13d59925e682 | tests/test_endpoints.py | tests/test_endpoints.py | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | Expand test on URL endpoints in API client | Expand test on URL endpoints in API client
| Python | mit | soccermetrics/soccermetrics-client-py | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | <commit_before>import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_servic... | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_service_root(self):
... | <commit_before>import unittest
from soccermetrics.rest import SoccermetricsRestClient
class ClientEndpointTest(unittest.TestCase):
"""
Test endpoints of API resources in client.
"""
def setUp(self):
self.client = SoccermetricsRestClient(account="APP_ID",api_key="APP_KEY")
def test_servic... |
238494a1323d82a791b244a84af64eda3d9be750 | tests/services/test_reverse_proxy.py | tests/services/test_reverse_proxy.py | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | Solve deprecation warning from Traitlets | Solve deprecation warning from Traitlets
| Python | bsd-3-clause | simphony/simphony-remote,simphony/simphony-remote,simphony/simphony-remote,simphony/simphony-remote | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | <commit_before>from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
... | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
@gen.coro... | <commit_before>from unittest.mock import Mock
from jupyterhub import orm
from remoteappmanager.services.reverse_proxy import ReverseProxy
from tornado import gen, testing
class TestReverseProxy(testing.AsyncTestCase):
@testing.gen_test
def test_reverse_proxy_operations(self):
coroutine_out = None
... |
dac770314da39c5494ff6c1ccd46d507ff1b2540 | tests/test_errorware.py | tests/test_errorware.py | from tg.error import ErrorReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
app = ErrorReporter(simple_app, {})... | from tg.error import ErrorReporter
from tg.error import SlowReqsReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
... | Add tests for slow requests reporting configuration | Add tests for slow requests reporting configuration
| Python | mit | lucius-feng/tg2,lucius-feng/tg2 | from tg.error import ErrorReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
app = ErrorReporter(simple_app, {})... | from tg.error import ErrorReporter
from tg.error import SlowReqsReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
... | <commit_before>from tg.error import ErrorReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
app = ErrorReporter(... | from tg.error import ErrorReporter
from tg.error import SlowReqsReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
... | from tg.error import ErrorReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
app = ErrorReporter(simple_app, {})... | <commit_before>from tg.error import ErrorReporter
def simple_app(environ, start_response):
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return ['HELLO']
class TestErrorReporterConfig(object):
def test_disable_all(self):
app = ErrorReporter(... |
6b9cc519deaecd093087d5190888b97b7b7eaf02 | icekit/project/settings/_production.py | icekit/project/settings/_production.py | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | Remove vestigial hard coded production settings. These should be defined in a dotenv file, now. | Remove vestigial hard coded production settings. These should be defined in a dotenv file, now.
| Python | mit | ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | <commit_before>from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://... | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://redis:6379/1',
... | <commit_before>from ._base import *
SITE_PUBLIC_PORT = None # Default: SITE_PORT
# DJANGO ######################################################################
CACHES['default'].update({
# 'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'redis_lock.django_cache.RedisCache',
'LOCATION': 'redis://... |
96d798685c53f4568edaaf990b0bbe8e2e10e24a | tests_tf/test_mnist_tutorial_jsma.py | tests_tf/test_mnist_tutorial_jsma.py | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | Update JSMA test tutorial constant | Update JSMA test tutorial constant
| Python | mit | cleverhans-lab/cleverhans,cleverhans-lab/cleverhans,openai/cleverhans,carlini/cleverhans,cihangxie/cleverhans,cleverhans-lab/cleverhans,carlini/cleverhans,fartashf/cleverhans | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | <commit_before>import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... | <commit_before>import unittest
class TestMNISTTutorialJSMA(unittest.TestCase):
def test_mnist_tutorial_jsma(self):
from tutorials import mnist_tutorial_jsma
# Run the MNIST tutorial on a dataset of reduced size
# and disable visualization.
jsma_tutorial_args = {'train_start': 0,
... |
e19b11c8598fe7a7e68640638a3489c05002f968 | tests/test_supercron.py | tests/test_supercron.py | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | Delete the jobs in tearDown() in tests | Delete the jobs in tearDown() in tests
| Python | bsd-3-clause | linostar/SuperCron | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | <commit_before>#!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness... | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | #!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness"""
def setUp... | <commit_before>#!/usr/bin/env python
import sys
import os
import unittest
from subprocess import Popen, PIPE
ROOT_DIR = os.path.join(os.path.dirname(__file__), "..")
sys.path.append(ROOT_DIR)
from supercron import SuperCron
class RunTests(unittest.TestCase):
"""class that tests supercron for behavior correctness... |
b0b2c03f04a5f29e11dc01558d272e27665555ce | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | Update Django requirement to latest LTS | Update Django requirement to latest LTS
| Python | bsd-3-clause | lamby/django-append-url-to-sql | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
author_email='c... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-append-url-to-sql',
description="Appends the request URL to SQL statements in Django.",
version='1.0.1',
url='https://chris-lamb.co.uk/projects/django-append-url-to-sql',
author='Chris Lamb',
... |
566fa441f3864be4f813673dbaf8ffff87d28e17 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup, Extension
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
module1 = E... | #!/usr/bin/env python
from distutils.core import setup, Extension
import os
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
m... | Add NO_PY_EXT environment variable to disable compilation of the C module, which is not working very well in cross-compile mode. | Add NO_PY_EXT environment variable to disable compilation of
the C module, which is not working very well in cross-compile
mode.
| Python | bsd-2-clause | sobomax/libelperiodic,sobomax/libelperiodic,sobomax/libelperiodic,sobomax/libelperiodic | #!/usr/bin/env python
from distutils.core import setup, Extension
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
module1 = E... | #!/usr/bin/env python
from distutils.core import setup, Extension
import os
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
m... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Extension
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c... | #!/usr/bin/env python
from distutils.core import setup, Extension
import os
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
m... | #!/usr/bin/env python
from distutils.core import setup, Extension
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c']
module1 = E... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Extension
elp_srcs = ['src/periodic.c', 'src/prdic_math.c', \
'src/prdic_fd.c', \
'src/prdic_pfd.c', \
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter.c', 'src/prdic_shmtrig.c', \
'src/prdic_sign.c... |
9ffd929e200fd5b292a24d990cb549beaef20379 | setup.py | setup.py | from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
zip_safe=False)
| from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
install_requires=[
... | Add the "scipy" and "numpy" packages as dependencies. | Add the "scipy" and "numpy" packages as dependencies.
By specifying the dependencies of a package we allow the user to install
"sobol_seq" with a single `pip install` command, even in a clean environment.
| Python | mit | naught101/sobol_seq | from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
zip_safe=False)
Add ... | from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
zip_s... | from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
install_requires=[
... | from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
zip_safe=False)
Add ... | <commit_before>from setuptools import setup
setup(name='sobol_seq',
version='0.1.2',
description='Sobol sequence generator',
url='https://github.com/naught101/sobol_seq',
author='naught101',
author_email='[email protected]',
license='MIT',
packages=['sobol_seq'],
zip_s... |
5ce630f820652c4d4e984e14cf93a4ac49b297aa | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.2",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.3",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | Test trigger for Travis CI | Test trigger for Travis CI
| Python | mit | grokzen/pykwalify | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.2",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.3",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.2",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema valida... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.3",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.2",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema validation',
auth... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
settings = dict()
settings.update(
name="pykwalify",
version="0.1.2",
description='Python lib/cli for JSON/YAML schema validation',
long_description='Python lib/cli for JSON/YAML schema valida... |
1e817a833ae0f86338199635ab2e43c592331d08 | setup.py | setup.py | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__), 'version.txt')), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'version.txt'), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | Fix issue with path variable | Fix issue with path variable
| Python | apache-2.0 | odin-public/osaAPI | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__), 'version.txt')), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'version.txt'), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | <commit_before>import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__), 'version.txt')), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.... | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'version.txt'), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__), 'version.txt')), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | <commit_before>import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__), 'version.txt')), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.... |
a6b13f81ce7e39462ec188fad998755a2b66d26c | setup.py | setup.py | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
setup(name='Youtube-DLG',
version=version.__version__,
description='Youtube-dl GUI',
long_description='A cross platform front-end GUI of the popular youtube-dl written in wxPython.',
license='UNLICENSE',... | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
name = 'Youtube-DLG'
desc = 'Youtube-dl GUI'
ldesc = 'A cross platform front-end GUI of the popular youtube-dl written in wxPython'
license = 'UNLICENSE'
platform = 'Cross-Platform'
author = 'Sotiris Papadopoulos'
author_email ... | Add icons on package install | Add icons on package install
| Python | unlicense | Sofronio/youtube-dl-gui,pr0d1r2/youtube-dl-gui,dstftw/youtube-dl-gui,dstftw/youtube-dl-gui,pr0d1r2/youtube-dl-gui,MrS0m30n3/youtube-dl-gui,Sofronio/youtube-dl-gui,ukazap/youtube-dl-gui,MrS0m30n3/youtube-dl-gui,ukazap/youtube-dl-gui | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
setup(name='Youtube-DLG',
version=version.__version__,
description='Youtube-dl GUI',
long_description='A cross platform front-end GUI of the popular youtube-dl written in wxPython.',
license='UNLICENSE',... | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
name = 'Youtube-DLG'
desc = 'Youtube-dl GUI'
ldesc = 'A cross platform front-end GUI of the popular youtube-dl written in wxPython'
license = 'UNLICENSE'
platform = 'Cross-Platform'
author = 'Sotiris Papadopoulos'
author_email ... | <commit_before>#! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
setup(name='Youtube-DLG',
version=version.__version__,
description='Youtube-dl GUI',
long_description='A cross platform front-end GUI of the popular youtube-dl written in wxPython.',
licen... | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
name = 'Youtube-DLG'
desc = 'Youtube-dl GUI'
ldesc = 'A cross platform front-end GUI of the popular youtube-dl written in wxPython'
license = 'UNLICENSE'
platform = 'Cross-Platform'
author = 'Sotiris Papadopoulos'
author_email ... | #! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
setup(name='Youtube-DLG',
version=version.__version__,
description='Youtube-dl GUI',
long_description='A cross platform front-end GUI of the popular youtube-dl written in wxPython.',
license='UNLICENSE',... | <commit_before>#! /usr/bin/env python
from distutils.core import setup
from youtube_dl_gui import version
setup(name='Youtube-DLG',
version=version.__version__,
description='Youtube-dl GUI',
long_description='A cross platform front-end GUI of the popular youtube-dl written in wxPython.',
licen... |
c2297672afff206bdae91aa479cb946b932a35e9 | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | Switch to the "Stable" development status classifier | Switch to the "Stable" development status classifier
| Python | mit | vberlier/nbtlib | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | <commit_before>from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT'... | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT',
descript... | <commit_before>from setuptools import setup, find_packages
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtlib',
version='1.2.2',
license='MIT'... |
e7ea098a4700c6f338fc7ef223b696aaed448629 | test/test_gn.py | test/test_gn.py | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | Add test for one subdirectory | Add test for one subdirectory
| Python | bsd-2-clause | ambidextrousTx/GotoNewest | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | <commit_before>'''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeE... | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | '''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeError
''... | <commit_before>'''
GotoNewest tests
'''
import unittest
import sys
sys.path.append('../src/')
import gn
TEST_DIR = '/tmp/test'
class TestGotoNewest(unittest.TestCase):
''' Test class for GotoNewest
'''
def test_empty_base_dir(self):
''' If the base directory is empty, raise an
AttributeE... |
cc55521c1e2af71893eff701bebc51acc112fa75 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | Update requests requirement from <2.24,>=2.4.2 to >=2.4.2,<2.25 | Update requests requirement from <2.24,>=2.4.2 to >=2.4.2,<2.25
Updates the requirements on [requests](https://github.com/psf/requests) to permit the latest version.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://git... | Python | apache-2.0 | zooniverse/panoptes-python-client | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install... | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.1.1',
packages=find_packages(),
include_package_data=True,
install... |
28460d76d483e47b6faa63f5b9c3013031a68dea | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
setup(
name='sentry-sso-google',
version='1.1',
description='Google SSO support for Sentry',
author='Educreations ... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
setup(
name='sentry-sso-google'... | Use new README.rst as package long_description | Use new README.rst as package long_description
| Python | mit | educreations/sentry-sso-google | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
setup(
name='sentry-sso-google',
version='1.1',
description='Google SSO support for Sentry',
author='Educreations ... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
setup(
name='sentry-sso-google'... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
setup(
name='sentry-sso-google',
version='1.1',
description='Google SSO support for Sentry',
author... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
setup(
name='sentry-sso-google'... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
setup(
name='sentry-sso-google',
version='1.1',
description='Google SSO support for Sentry',
author='Educreations ... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py register sdist bdist_wheel upload')
sys.exit()
setup(
name='sentry-sso-google',
version='1.1',
description='Google SSO support for Sentry',
author... |
9e88d6eb6d6d97ea9046dbf842cdc0b5beb62b90 | src/main.py | src/main.py | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | Add better error support for answers file | Add better error support for answers file
| Python | mit | djangokillen/minion-hate-bot | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | <commit_before>import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACC... | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
... | <commit_before>import tweepy, time, random
def main():
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_KEY = 'your_access_key'
ACCESS_SECRET = 'your_access_secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACC... |
daa004f214956ee0e906540313bdb84b8e31a3e8 | setup.py | setup.py | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | Increment version after making parser properties non-private | Increment version after making parser properties non-private | Python | bsd-3-clause | consbio/gis-metadata-parser | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_me... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_me... |
4f1124c7526ee1d30f0de180d459f42d716ad2c8 | setup.py | setup.py | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | Update master version to 0.3-dev | Update master version to 0.3-dev
| Python | mit | jni/viridis | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | <commit_before>#from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION =... | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | #from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION = descr
MAINTAIN... | <commit_before>#from distutils.core import setup
from setuptools import setup
descr = """Tree representations and algorithms for Python.
Viridis is named after the green tree python, Morelia viridis.
"""
DISTNAME = 'viridis'
DESCRIPTION = 'Tree data structures and algorithms'
LONG_DESCRIPTION =... |
045b8add1a2e45e120f1353f5412b8047dfa1a81 | setup.py | setup.py | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.6.3',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.7.0',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | Increment version number for release of new features and bug fixes to pypi | Increment version number for release of new features and bug fixes to pypi
| Python | mit | lepinsk/pydub,cbelth/pyMusic,joshrobo/pydub,miguelgrinberg/pydub,jiaaro/pydub,Geoion/pydub,sgml/pydub | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.6.3',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.7.0',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.6.3',
author='James Robert',
author_email='[email protected]',
descriptio... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.7.0',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.6.3',
author='James Robert',
author_email='[email protected]',
description='Manipulate a... | <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.6.3',
author='James Robert',
author_email='[email protected]',
descriptio... |
a0d17f10dd269aa0a1be97276c312f3f522787f5 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.1.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.2.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | Increase version and add python 3 classifier | Increase version and add python 3 classifier
| Python | mit | ngraziano/isystem-to-mqtt | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.1.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.2.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.1.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.2.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.1.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin/dump_isystem.p... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='isystem-to-mqtt',
version='0.1.0',
author='Nicolas Graziano',
author_email='[email protected]',
packages= find_packages(),
scripts=['bin/poll_isystem_mqtt.py', 'bin... |
b0dda121e03f593afb6ee1b3959b71b615df2b39 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | Replace enum34 with enum-compat to allow use with Py3.6+ | Replace enum34 with enum-compat to allow use with Py3.6+
| Python | apache-2.0 | williballenthin/python-registry | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.wi... | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.williballenthin.c... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='[email protected]',
url='http://www.wi... |
0ff0389d017de119053b3cd38e503eb3d8bdadff | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | Add six to the explicit dependencies | Add six to the explicit dependencies
| Python | mpl-2.0 | mozilla/jupyter-notebook-gist,mreid-moz/jupyter-notebook-gist,mozilla/jupyter-notebook-gist,mreid-moz/jupyter-notebook-gist | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | <commit_before>from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
... | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
package_dir={... | <commit_before>from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='[email protected]',
packages=find_packages(where='src'),
... |
52609334bdd25eb89dbc67b75921029c37babd63 | setup.py | setup.py | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | Update description and long description | Update description and long description
[ci skip]
| Python | mit | joebos/twython,Oire/twython,fibears/twython,Devyani-Divs/twython,Hasimir/twython,akarambir/twython,ping/twython,vivek8943/twython,ryanmcgrath/twython,Fueled/twython | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | <commit_before>import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package info... | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | <commit_before>import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package info... |
ea30858852815043fd95888add674778893bac42 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | Add PyYAML as a direct dependency for tests. | Add PyYAML as a direct dependency for tests.
| Python | bsd-3-clause | praekelt/go-auth,praekelt/go-auth | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | <commit_before>from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praeke... | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | <commit_before>from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praeke... |
81fc515539474e720a9b96ef1bc5679e053952f9 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | Add new requirements from CMG middleware | Add new requirements from CMG middleware
| Python | mit | ironfroggy/django-better-cache,ironfroggy/django-better-cache | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfrogg... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfroggy/django-better... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='[email protected]',
url='http://github.com/ironfrogg... |
f7aedd45ad103e66621bad04bfcbbba7d30b4e35 | tv_namer.py | tv_namer.py | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | Change info to warning if files not renamed | Change info to warning if files not renamed
| Python | mit | samcheck/PyMedia,samcheck/PyMedia,samcheck/PyMedia | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | <commit_before>#!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
for... | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | <commit_before>#!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
for... |
ab417052f3d41ee5b140e3044a6a925c3895d1ee | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = "Calculator for... | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei", "physicalproperty"],
url = "https://github.com/jrsmith3/ibei",
descripti... | Add 'physicalproperty' to pkg list for install | Add 'physicalproperty' to pkg list for install
| Python | mit | jrsmith3/ibei | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = "Calculator for... | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei", "physicalproperty"],
url = "https://github.com/jrsmith3/ibei",
descripti... | <commit_before># -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = ... | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei", "physicalproperty"],
url = "https://github.com/jrsmith3/ibei",
descripti... | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = "Calculator for... | <commit_before># -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = ... |
ca38e933f4dd43fc3fdcc4db27564b5e1559edf1 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.1",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | Increment version to 0.2.1 - now with primer3 function | Increment version to 0.2.1 - now with primer3 function
| Python | mit | OLC-Bioinformatics/SigSeekr | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.1",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr"... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.1",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr",
install_r... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="[email protected]",
url="https://github.com/lowandrew/SigSeekr"... |
1780c1d6230669922c9fef2798fdfccf56bbe294 | setup.py | setup.py | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | Add information (url, download url, ...) for packaging | Add information (url, download url, ...) for packaging
| Python | mit | regisf/geocluster | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | <commit_before># coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'R... | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | <commit_before># coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'R... |
16e2d0180cc48c2d3be238ebe17797d8c0acbf62 | setup.py | setup.py | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | Fix typo for cli entrypoint | Fix typo for cli entrypoint
| Python | mit | brandoshmando/devour | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | <commit_before>from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_da... | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_data=True,
te... | <commit_before>from setuptools import setup
setup(
name='devour',
version='0.4',
url='',
author='http://github.com/brandoshmando',
author_email='[email protected]',
license='MIT',
packages=['devour',],
install_requires=[
'pykafka',
'kazoo'
],
include_package_da... |
c92fe387725ee16ba7d452454fea65aacfe429b4 | setup.py | setup.py | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | Enable Python 3 compatibility using 2to3. | Enable Python 3 compatibility using 2to3. | Python | lgpl-2.1 | kszys/num2words,savoirfairelinux/num2words | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | <commit_before>from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software... | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development ::... | <commit_before>from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python :: 2.7',
'Topic :: Software... |
8fed7f136912fecf8dfb223807b818f37ee306e8 | setup.py | setup.py | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | Remove enum and add absl-py. | Remove enum and add absl-py.
PiperOrigin-RevId: 256969582
| Python | apache-2.0 | google/empirical_calibration | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | <commit_before># Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | # Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | <commit_before># Copyright 2019 The Empirical Calibration Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... |
7fb2155a7884bbebe3b29c1580b37354309c0d1e | setup.py | setup.py | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | Use install_requires to install the requirements. | Use install_requires to install the requirements.
| Python | bsd-2-clause | arokem/pyAFQ,yeatmanlab/pyAFQ,arokem/pyAFQ,yeatmanlab/pyAFQ | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | <commit_before>from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
... | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
REQUIRES = []
... | <commit_before>from setuptools import find_packages
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get version and release info, which is all stored in AFQ/version.py
ver_file = os.path.join('AFQ', 'version.py')
with open(ver_file) as f:
exec(f.read())
... |
82b24bde5a681a0630056c2649ebece7c5b35686 | setup.py | setup.py | import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for Python",
long_description=read_long_description(),
use_hg_version=True,
... | import sys
import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for P... | Declare importlib requirement on Python 2.6 | Declare importlib requirement on Python 2.6
| Python | lgpl-2.1 | sim0629/irc | import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for Python",
long_description=read_long_description(),
use_hg_version=True,
... | import sys
import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for P... | <commit_before>import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for Python",
long_description=read_long_description(),
use_hg_v... | import sys
import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for P... | import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for Python",
long_description=read_long_description(),
use_hg_version=True,
... | <commit_before>import setuptools
def read_long_description():
with open('README') as f:
data = f.read()
return data
setup_params = dict(
name="irc",
description="IRC (Internet Relay Chat) protocol client library for Python",
long_description=read_long_description(),
use_hg_v... |
e9ac75d7f3f023bb0116446a2d358faa36fa90e2 | setup.py | setup.py | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a12',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a13',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | Upgrade django-local-settings 1.0a12 => 1.0a13 | Upgrade django-local-settings 1.0a12 => 1.0a13
| Python | mit | PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a12',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a13',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a12',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https:/... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a13',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a12',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a12',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https:/... |
983bdcc48c8feef5e65280e02a83a1f3721bce70 | setup.py | setup.py | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | Change version number to 1.4 | Change version number to 1.4 | Python | apache-2.0 | pemontto/engine-python,prelert/engine-python | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | <commit_before>#!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | #!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... | <commit_before>#!/usr/bin/env python
############################################################################
# #
# Copyright 2014 Prelert Ltd #
# ... |
330f4a6829f39684b7a37961f6f2ee5f692c536d | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | Add Python 3 to supported languages | Add Python 3 to supported languages
Closes #8
| Python | bsd-3-clause | dirn/Flask-Simon,dirn/Flask-Simon | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.r... | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | #!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.rst').read(),
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='Flask-Simon',
version='0.3.0',
description='Simple MongoDB Models for Flask',
long_description=open('README.r... |
66581c78e4abf9ff94b954ba0500e6f93fda1d35 | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | Add installation requirements for developers | Add installation requirements for developers
| Python | mit | wind-python/windpowerlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... |
a6147357f93295e5b363f36da1c14fd3db7dc062 | setup.py | setup.py | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | Add email (required) and packages | Add email (required) and packages
| Python | bsd-3-clause | evadot/millipede-python,evadot/millipede-python,getmillipede/millipede-python,moul/millipede-python,EasonYi/millipede-python,moul/millipede-python,EasonYi/millipede-python,getmillipede/millipede-python | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | <commit_before>"""Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.r... | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | """Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | <commit_before>"""Millipede installation script
https://github.com/evadot/millipede
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.r... |
213b6303eba6edb4ebb0f9f5101ab2a1e76acfaf | setup.py | setup.py | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging library for Django.',
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
io.open('HISTORY.rst', enc... | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
import sys
install_requires = []
if (sys.version_info[0], sys.version_info[1]) < (3, 2):
install_requires.append('futures>=2.1.3')
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging ... | Remove useless requirement on Python 3.2+ | Remove useless requirement on Python 3.2+
| Python | mit | perdona/django-pipeline,chipx86/django-pipeline,cyberdelia/django-pipeline,kronion/django-pipeline,cyberdelia/django-pipeline,skolsuper/django-pipeline,kronion/django-pipeline,beedesk/django-pipeline,sideffect0/django-pipeline,lexqt/django-pipeline,jazzband/django-pipeline,theatlantic/django-pipeline,chipx86/django-pip... | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging library for Django.',
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
io.open('HISTORY.rst', enc... | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
import sys
install_requires = []
if (sys.version_info[0], sys.version_info[1]) < (3, 2):
install_requires.append('futures>=2.1.3')
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging ... | <commit_before># -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging library for Django.',
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
io.open('HI... | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
import sys
install_requires = []
if (sys.version_info[0], sys.version_info[1]) < (3, 2):
install_requires.append('futures>=2.1.3')
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging ... | # -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging library for Django.',
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
io.open('HISTORY.rst', enc... | <commit_before># -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
setup(
name='django-pipeline',
version='1.5.2',
description='Pipeline is an asset packaging library for Django.',
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
io.open('HI... |
88f241b77438ae59912be6df75b66260a39c7c12 | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | Change package name from 's3' to 'ucldc_iiif'. | Change package name from 's3' to 'ucldc_iiif'.
| Python | bsd-3-clause | barbarahui/ucldc-iiif,mredar/ucldc-iiif,mredar/ucldc-iiif,barbarahui/ucldc-iiif | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
description... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = "ucldc-iiif",
version = "0.0.1",
... |
efacef78764f9b74d57adb3e092fdd8ac24939b3 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | Allow use of newer django-photologue | Allow use of newer django-photologue
| Python | bsd-3-clause | praekelt/panya | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | <commit_before>from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='de... | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='[email protected]'... | <commit_before>from setuptools import setup, find_packages
setup(
name='panya',
version='0.1.6',
description='Panya base app.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='de... |
a8163b0da1da0c303f4b7427473360ddddf982e8 | setup.py | setup.py | from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name='manuale',
version='1.0.1.dev0',
license='MIT',
description="A fully manual Let's Encr... | import subprocess
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
readme = path.join(here, 'README.md')
# Convert the README to reStructuredText for PyPI if pandoc is available.
# Otherwise, just read it.
try:
readme = subprocess.check_output(['... | Convert the README to rst if pandoc is installed | Convert the README to rst if pandoc is installed
| Python | mit | veeti/manuale | from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name='manuale',
version='1.0.1.dev0',
license='MIT',
description="A fully manual Let's Encr... | import subprocess
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
readme = path.join(here, 'README.md')
# Convert the README to reStructuredText for PyPI if pandoc is available.
# Otherwise, just read it.
try:
readme = subprocess.check_output(['... | <commit_before>from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name='manuale',
version='1.0.1.dev0',
license='MIT',
description="A fully ma... | import subprocess
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
readme = path.join(here, 'README.md')
# Convert the README to reStructuredText for PyPI if pandoc is available.
# Otherwise, just read it.
try:
readme = subprocess.check_output(['... | from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name='manuale',
version='1.0.1.dev0',
license='MIT',
description="A fully manual Let's Encr... | <commit_before>from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
setup(
name='manuale',
version='1.0.1.dev0',
license='MIT',
description="A fully ma... |
a84102f0736105fb6fb257c1feddc40633d11fcb | setup.py | setup.py | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]',
... | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.1.dev0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]... | Bump to next development cycle | Bump to next development cycle
| Python | unlicense | ctrueden/jrun,ctrueden/jrun | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]',
... | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.1.dev0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]... | <commit_before>from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='hanslovskyp@janel... | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.1.dev0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]... | from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='[email protected]',
... | <commit_before>from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md')) as f:
jgo_long_description = f.read()
setup(
name='jgo',
version='0.1.0',
author='Philipp Hanslovsky, Curtis Rueden',
author_email='hanslovskyp@janel... |
001f9a3520daefdc64e16e7c29887d27e68d9f4b | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | Mark the package not zipsafe so test discovery finds directories. | Mark the package not zipsafe so test discovery finds directories.
| Python | bsd-3-clause | nyergler/nested-formset | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | <commit_before>from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifie... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifiers=[
... | <commit_before>from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
version = '0.1'
setup(name='nested_formset',
version=version,
description="",
long_description=README,
classifie... |
4a601336ee5fccfe2cb4ebf50bd7fdfe127f3a61 | setup.py | setup.py | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | Update deps and bump version. ANL-10319 | Update deps and bump version. ANL-10319
| Python | apache-2.0 | uberVU/mongo-pool,uberVU/mongo-pool | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | <commit_before>from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encodin... | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
... | <commit_before>from setuptools import setup
import io
import os
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encodin... |
758c80b543bfe095718082673901533c2603e69f | setup.py | setup.py | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | Use the same headline as the API | Use the same headline as the API
| Python | mit | jacebrowning/coverage-space-cli | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | <commit_before>#!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION =... | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | #!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION = README + '\n' ... | <commit_before>#!/usr/bin/env python
"""Setup script for The Coverage Space CLI."""
import setuptools
from coveragespace import __project__, __version__, CLI
try:
README = open("README.rst").read()
CHANGES = open("CHANGES.rst").read()
except IOError:
DESCRIPTION = "<placeholder>"
else:
DESCRIPTION =... |
e2cdf1be3a9f1e9eb501332a4f2358f037dea0bd | setup.py | setup.py | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
url='http... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='docker-crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
ur... | Use docker-crane for pypi name, since somebody already took crane | Use docker-crane for pypi name, since somebody already took crane
| Python | apache-2.0 | victorlin/crane | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
url='http... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='docker-crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
ur... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build'... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='docker-crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
ur... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build',
url='http... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='crane',
version='0.1.0',
description="A simple tool for building Dockerfiles",
author='Victor Lin',
author_email='[email protected]',
keywords='docker dockerfile build'... |
dcae89428a6d1e1f003fe029f8220a0b382ec2c9 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(packages=find_packages())
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot', packages=find_packages())
| Use a name= kwarg to avoid UNKNOWN. | Use a name= kwarg to avoid UNKNOWN.
Signed-off-by: Chris Lamb <[email protected]>
| Python | agpl-3.0 | xtaran/debian-devel-changes-bot,lamby/debian-devel-changes-bot,lamby/debian-devel-changes-bot,lamby/debian-devel-changes-bot,sebastinas/debian-devel-changes-bot,xtaran/debian-devel-changes-bot | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(packages=find_packages())
Use a name= kwarg to avoid UNKNOWN.
Signed-off-by: Chris Lamb <[email protected]> | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot', packages=find_packages())
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(packages=find_packages())
<commit_msg>Use a name= kwarg to avoid UNKNOWN.
Signed-off-by: Chris Lamb <[email protected]><commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot', packages=find_packages())
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(packages=find_packages())
Use a name= kwarg to avoid UNKNOWN.
Signed-off-by: Chris Lamb <[email protected]>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(packages=find_packages())
<commit_msg>Use a name= kwarg to avoid UNKNOWN.
Signed-off-by: Chris Lamb <[email protected]><commit_after>#!/usr/bin/env python
from setuptools import setup, find_packa... |
64c4c3329f25ed4ee565ce8cbd2db1b3141605b2 | setup.py | setup.py | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | Configure to run tests under pytest runner | Configure to run tests under pytest runner
| Python | mit | yougov/librarypaste,yougov/librarypaste | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | <commit_before>import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste... | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste/',
descrip... | <commit_before>import sys
import setuptools
py26_reqs = ['argparse', 'importlib'] if sys.version_info < (2,7) else []
setuptools.setup(
name='librarypaste',
use_hg_version=dict(increment='0.1'),
author='Jamie Turner',
author_email='[email protected]',
url='http://bitbucket.org/chmullig/librarypaste... |
6bfcfaffcb1695f142c11b6864951f9471e52d60 | setup.py | setup.py | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | Add suggestion box script to PATH | Add suggestion box script to PATH
| Python | mit | remiolsen/status,remiolsen/status,ewels/genomics-status,ewels/genomics-status,SciLifeLab/genomics-status,SciLifeLab/genomics-status,Galithil/status,Galithil/status,remiolsen/status,ewels/genomics-status,Galithil/status,kate-v-stepanova/genomics-status,kate-v-stepanova/genomics-status,kate-v-stepanova/genomics-status,Sc... | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | <commit_before>#!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
... | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | #!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
author="Sc... | <commit_before>#!/usr/bin/env python
"""Setup file and install script SciLife python scripts.
"""
from setuptools import setup, find_packages
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name="status",
... |
db76777575162aab69aec9429455f2e7d841a605 | lambdas/dynamo_to_sns/dynamo_to_sns.py | lambdas/dynamo_to_sns/dynamo_to_sns.py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import json
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = json.loads(os.environ["STREAM_TOPIC_MAP"])
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_a... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = os.environ["STREAM_TOPIC_MAP"]
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_arn = stream_topic_map[ev... | Fix loading of map from environment variables | Fix loading of map from environment variables
| Python | mit | wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import json
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = json.loads(os.environ["STREAM_TOPIC_MAP"])
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_a... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = os.environ["STREAM_TOPIC_MAP"]
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_arn = stream_topic_map[ev... | <commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import json
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = json.loads(os.environ["STREAM_TOPIC_MAP"])
new_image = event['Records'][0]['dynamodb']['NewImag... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = os.environ["STREAM_TOPIC_MAP"]
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_arn = stream_topic_map[ev... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import json
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = json.loads(os.environ["STREAM_TOPIC_MAP"])
new_image = event['Records'][0]['dynamodb']['NewImage']
topic_a... | <commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
"""
import json
import os
from sns_utils import publish_sns_message
def main(event, _):
print(f'Received event:\n{event}')
stream_topic_map = json.loads(os.environ["STREAM_TOPIC_MAP"])
new_image = event['Records'][0]['dynamodb']['NewImag... |
4bc1810f6f04a639726f68b06273722b5fc6e87f | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | Add *.mplstyle as package data | Add *.mplstyle as package data
| Python | mit | JosPolfliet/pandas-profiling,JosPolfliet/pandas-profiling | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/p... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/pandas-profiling... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pandas-profiling',
version='0.1.0',
author='Jos Polfliet',
author_email='[email protected]',
packages=['pandas_profiling'],
url='http://github.com/jospolfliet/p... |
8e7eb5dec20ee75d34b566341af3c22b57503dcb | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | Include test_setquery module in distribution | Include test_setquery module in distribution
| Python | mit | icio/evil | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarbal... | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | #!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarball/0.1",
set... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="setquery",
version="0.1",
description="Set arithmetic evaluator",
author="Paul Scott",
author_email="[email protected]",
url="https://github.com/icio/setquery",
download_url="https://github.com/icio/setquery/tarbal... |
c1ce60a964a1ef46b7d971fe91f007f3cf94d558 | setup.py | setup.py | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | Upgrade the development status to beta. | Upgrade the development status to beta.
| Python | mit | kalekundert/autoprop | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | <commit_before>#!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
... | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | #!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
url='https://... | <commit_before>#!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='autoprop',
version='0.0.0',
author='Kale Kundert',
author_email='[email protected]',
long_description=open('README.rst').read(),
... |
270c9e61646f4fe45e01b06e45dde15ea0856106 | setup.py | setup.py | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | Add the ShopifyAPI package as a dependency. | Add the ShopifyAPI package as a dependency. | Python | mit | discolabs/django-shopify-auth,funkybob/django-shopify-auth,discolabs/django-shopify-auth,RafaAguilar/django-shopify-auth,RafaAguilar/django-shopify-auth,funkybob/django-shopify-auth | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | <commit_before>from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin... | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin Ballard',
... | <commit_before>from distutils.core import setup
version = __import__('shopify_auth').__version__
setup(
name = 'django-shopify-auth',
version = version,
description = 'An simple package for adding Shopify authentication to Django apps.',
long_description = open('README.md').read(),
author = 'Gavin... |
fbd1407608505a1107042c14b8fc5cc6017d9e78 | setup.py | setup.py | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | Add Python 3.7 to the list of supported versions | Add Python 3.7 to the list of supported versions
| Python | mit | kefir500/ghstats | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | <commit_before>from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long... | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long_description=re... | <commit_before>from setuptools import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f:
readme = f.read()
setup(
name='ghstats',
version='1.2.0',
packages=['ghstats'],
description='GitHub Release download count and other statistics.',
long... |
644a25e2b61bec8847af2f6d64b9b41b8798092d | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | Add coverage as a testing requirement | Add coverage as a testing requirement
| Python | bsd-2-clause | fusionbox/django-backupdb | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.... | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.',
long_des... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '0.4.2'
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=VERSION,
description='Management commands for backing up and restoring databases in Django.... |
2adfcea14f292bacfbae906a70d6395304acf607 | addons/bestja_volunteer_pesel/models.py | addons/bestja_volunteer_pesel/models.py | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | Fix a problem with PESEL validation | Fix a problem with PESEL validation
| Python | agpl-3.0 | KrzysiekJ/bestja,ludwiktrammer/bestja,EE/bestja,ludwiktrammer/bestja,EE/bestja,EE/bestja,KrzysiekJ/bestja,ludwiktrammer/bestja,KrzysiekJ/bestja | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | <commit_before># -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add... | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | # -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add_permitted_fiel... | <commit_before># -*- coding: utf-8 -*-
from operator import mul
from openerp import models, fields, api, exceptions
class Volunteer(models.Model):
_inherit = 'res.users'
pesel = fields.Char(string=u"PESEL")
def __init__(self, pool, cr):
super(Volunteer, self).__init__(pool, cr)
self._add... |
f6b818222d8e6eb9bb6ad3a0d8ab55513eb90673 | gui/driver.py | gui/driver.py | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | Raise window to focus on Mac | Raise window to focus on Mac
| Python | mit | jensengrouppsu/rapid,jensengrouppsu/rapid | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | <commit_before>from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
... | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
print("Cannot... | <commit_before>from __future__ import print_function, division
from sys import argv, stderr
def run_gui():
'''Start the event loop to calucate spectra interactively'''
# Import Qt functions. Do so here to handle errors better
try:
from PyQt4.QtGui import QApplication
except ImportError:
... |
f8e800219ac2c2c76bb5ac10b2dfdac038edbb5d | circuits/tools/__init__.py | circuits/tools/__init__.py | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
try:
from cStringIO import StringIO
except ImportE... | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
def graph(x):
s = []
d = 0
i = 0
done... | Remove StringIO import. Use a simple list to build up the output and return .join(s) | tools: Remove StringIO import. Use a simple list to build up the output and return .join(s)
| Python | mit | treemo/circuits,eriol/circuits,eriol/circuits,treemo/circuits,treemo/circuits,nizox/circuits,eriol/circuits | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
try:
from cStringIO import StringIO
except ImportE... | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
def graph(x):
s = []
d = 0
i = 0
done... | <commit_before># Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
try:
from cStringIO import StringIO... | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
def graph(x):
s = []
d = 0
i = 0
done... | # Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
try:
from cStringIO import StringIO
except ImportE... | <commit_before># Module: __init__
# Date: 8th November 2008
# Author: James Mills, prologic at shortcircuit dot net dot au
"""Circuits Tools
circuits.tools contains a standard set of tools for circuits. These
tools are installed as executables with a prefix of "circuits."
"""
try:
from cStringIO import StringIO... |
ec24e051e9d10b4cb24d135a3c08e9e9f87c6b8c | social/apps/django_app/utils.py | social/apps/django_app/utils.py | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | Allow to override strategy getter | Allow to override strategy getter
| Python | bsd-3-clause | fearlessspider/python-social-auth,MSOpenTech/python-social-auth,clef/python-social-auth,JJediny/python-social-auth,firstjob/python-social-auth,muhammad-ammar/python-social-auth,henocdz/python-social-auth,ariestiyansyah/python-social-auth,python-social-auth/social-app-django,falcon1kr/python-social-auth,lamby/python-soc... | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | <commit_before>from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATE... | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATEGY'),
... | <commit_before>from functools import wraps
from django.conf import settings
from django.core.urlresolvers import reverse
from social.utils import setting_name, module_member
from social.strategies.utils import get_strategy
BACKENDS = settings.AUTHENTICATION_BACKENDS
STRATEGY = getattr(settings, setting_name('STRATE... |
04f7f28ef3123452d8eb06ab1f3cbfa6dded8be4 | go_metrics/metrics/tests/test_dummy.py | go_metrics/metrics/tests/test_dummy.py | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
DummyBackend, DummyMetrics
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixture... | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixtures.items, [{
'fo... | Remove no longer needed references for keeping pep8 happy | Remove no longer needed references for keeping pep8 happy
| Python | bsd-3-clause | praekelt/go-metrics-api,praekelt/go-metrics-api | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
DummyBackend, DummyMetrics
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixture... | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixtures.items, [{
'fo... | <commit_before>from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
DummyBackend, DummyMetrics
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.asse... | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixtures.items, [{
'fo... | from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
DummyBackend, DummyMetrics
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.assertEqual(fixture... | <commit_before>from twisted.trial.unittest import TestCase
from go_metrics.metrics.dummy import Fixtures, DummyMetrics, DummyBackend
DummyBackend, DummyMetrics
class TestFixtures(TestCase):
def test_add(self):
fixtures = Fixtures()
fixtures.add(foo='bar', result={'baz': 'quux'})
self.asse... |
823e767f52bc6e3bf78a91950e9407a1acf811d2 | tests/test_server.py | tests/test_server.py | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | Refactor test case into two classes | Refactor test case into two classes
| Python | mit | HoldYourBreath/Library,HoldYourBreath/Library,HoldYourBreath/Library,HoldYourBreath/Library | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | <commit_before>import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app ... | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app = server.app.te... | <commit_before>import os
import unittest
import tempfile
# Local modules
import library.server as server
class ServerTestCase(unittest.TestCase):
@classmethod
def setUp(self):
self.db_fd, server.app.config['DATABASE'] = tempfile.mkstemp()
server.app.config['TESTING'] = True
self.app ... |
a92397bb2218f174a2df0b5090dd31bde2164561 | tg/error.py | tg/error.py | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | Enable context provider for TraceErrorsMiddleware | Enable context provider for TraceErrorsMiddleware
| Python | mit | lucius-feng/tg2,lucius-feng/tg2 | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | <commit_before>import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
... | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
If debug ... | <commit_before>import logging
from paste.deploy.converters import asbool
log = logging.getLogger(__name__)
def _turbogears_backlash_context(environ):
tgl = environ.get('tg.locals')
return {'request':getattr(tgl, 'request', None)}
def ErrorHandler(app, global_conf, **errorware):
"""ErrorHandler Toggle
... |
1ad0ca50d1f4c61513bea33a4ffd999406c69600 | accelerator/migrations/0019_add_deferred_user_role.py | accelerator/migrations/0019_add_deferred_user_role.py | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | Merge remote-tracking branch 'origin/development' into AC-7469 | [AC-7469] Merge remote-tracking branch 'origin/development' into AC-7469
| Python | mit | masschallenge/django-accelerator,masschallenge/django-accelerator | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | <commit_before># Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = a... | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | # Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = apps.get_model('... | <commit_before># Generated by Django 2.2.10 on 2020-04-09 21:24
from django.db import migrations
def add_deferred_user_role(apps, schema_editor):
DEFERRED_MENTOR = 'Deferred Mentor'
UserRole = apps.get_model('accelerator', 'UserRole')
Program = apps.get_model('accelerator', 'Program')
ProgramRole = a... |
e5d88beba41de18ebab33e0770ddd8bb5174491e | pyfr/quadrules/__init__.py | pyfr/quadrules/__init__.py | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.quadrules.tri import BaseTriQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a s... | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a scheme
if re.match(r'[a-zA-Z0-9\-+_]+$', rul... | Fix a bug in the quadrules. | Fix a bug in the quadrules.
| Python | bsd-3-clause | tjcorona/PyFR,tjcorona/PyFR,iyer-arvind/PyFR,BrianVermeire/PyFR,tjcorona/PyFR,Aerojspark/PyFR | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.quadrules.tri import BaseTriQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a s... | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a scheme
if re.match(r'[a-zA-Z0-9\-+_]+$', rul... | <commit_before># -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.quadrules.tri import BaseTriQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like ... | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a scheme
if re.match(r'[a-zA-Z0-9\-+_]+$', rul... | # -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.quadrules.tri import BaseTriQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like the name of a s... | <commit_before># -*- coding: utf-8 -*-
import re
from pyfr.quadrules.base import BaseQuadRule, BaseTabulatedQuadRule
from pyfr.quadrules.line import BaseLineQuadRule
from pyfr.quadrules.tri import BaseTriQuadRule
from pyfr.util import subclass_map
def get_quadrule(basecls, rule, npts):
# See if rule looks like ... |
010de29acb284250667b393f9e1ba7b34b53aaf5 | pygametemplate/__init__.py | pygametemplate/__init__.py | """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
| """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
from pygametemplate.view import View
| Add View as a first class member of pygametemplate | Add View as a first class member of pygametemplate
| Python | mit | AndyDeany/pygame-template | """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
Add View as a first class member of pygametemplate | """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
from pygametemplate.view import View
| <commit_before>"""pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
<commit_msg>Add View as a first class member of pygametemplate<commit_after> | """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
from pygametemplate.view import View
| """pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
Add View as a first class member of pygametemplate"""pygametemplate module for making creating games with Pygame ea... | <commit_before>"""pygametemplate module for making creating games with Pygame easier."""
from __future__ import absolute_import
__version__ = "0.2.0"
__author__ = "Andrew Dean"
from pygametemplate.game import Game
<commit_msg>Add View as a first class member of pygametemplate<commit_after>"""pygametemplate module... |
c39c60de325f5ce827de423abc646bd8662c80fb | pyp2rpmlib/package_data.py | pyp2rpmlib/package_data.py | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
class PypiData(PackageData):
def __init__(self, local_file, name, version, md5, url):
super(PackageData, self).__init__(local_file, name... | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
def __getattr__(self, name):
if name in self.__dict__:
return self.__dict__[name]
return None
class PypiData(Packa... | Package data objects should return None for missing attributes. | Package data objects should return None for missing attributes.
| Python | mit | mcyprian/pyp2rpm,henrysher/spec4pypi,MichaelMraka/pyp2rpm,pombredanne/pyp2rpm,yuokada/pyp2rpm,fedora-python/pyp2rpm,joequant/pyp2rpm | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
class PypiData(PackageData):
def __init__(self, local_file, name, version, md5, url):
super(PackageData, self).__init__(local_file, name... | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
def __getattr__(self, name):
if name in self.__dict__:
return self.__dict__[name]
return None
class PypiData(Packa... | <commit_before>class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
class PypiData(PackageData):
def __init__(self, local_file, name, version, md5, url):
super(PackageData, self).__init__(l... | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
def __getattr__(self, name):
if name in self.__dict__:
return self.__dict__[name]
return None
class PypiData(Packa... | class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
class PypiData(PackageData):
def __init__(self, local_file, name, version, md5, url):
super(PackageData, self).__init__(local_file, name... | <commit_before>class PackageData(object):
def __init__(self, local_file, name, version):
self.local_file = local_file
self.name = name
self.version = version
class PypiData(PackageData):
def __init__(self, local_file, name, version, md5, url):
super(PackageData, self).__init__(l... |
7f38276fddc3d94f791d29d3bcbff4bfc9d4ee98 | tests/chainer_tests/datasets_tests/test_tuple_dataset.py | tests/chainer_tests/datasets_tests/test_tuple_dataset.py | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
def check_tuple_da... | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
self.z0 = numpy... | Add exception test cases for TupleDataset | Add exception test cases for TupleDataset
| Python | mit | okuta/chainer,cupy/cupy,hvy/chainer,keisuke-umezawa/chainer,niboshi/chainer,anaruse/chainer,ronekko/chainer,keisuke-umezawa/chainer,jnishi/chainer,chainer/chainer,hvy/chainer,keisuke-umezawa/chainer,ktnyt/chainer,kikusu/chainer,okuta/chainer,delta2323/chainer,niboshi/chainer,niboshi/chainer,rezoo/chainer,wkentaro/chain... | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
def check_tuple_da... | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
self.z0 = numpy... | <commit_before>import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
def... | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
self.z0 = numpy... | import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
def check_tuple_da... | <commit_before>import unittest
import numpy
from chainer import cuda
from chainer import datasets
from chainer import testing
from chainer.testing import attr
class TestTupleDataset(unittest.TestCase):
def setUp(self):
self.x0 = numpy.random.rand(3, 4)
self.x1 = numpy.random.rand(3, 5)
def... |
16091eebd0242782715600df9f6db9596f5797fe | tagging_autocomplete/urls.py | tagging_autocomplete/urls.py | from django.conf.urls import patterns, url
urlpatterns = patterns(
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)
| from django.conf.urls import url
urlpatterns = [
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
]
| Drop the deprecated way of specifying url patterns | Drop the deprecated way of specifying url patterns | Python | mit | ludwiktrammer/django-tagging-autocomplete | from django.conf.urls import patterns, url
urlpatterns = patterns(
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)
Drop the deprecated way of specifying url patterns | from django.conf.urls import url
urlpatterns = [
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
]
| <commit_before>from django.conf.urls import patterns, url
urlpatterns = patterns(
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)
<commit_msg>Drop the deprecated way of specifying url patterns<commit_after> | from django.conf.urls import url
urlpatterns = [
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
]
| from django.conf.urls import patterns, url
urlpatterns = patterns(
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)
Drop the deprecated way of specifying url patternsfrom django.conf.urls import url
urlpatterns = [
'tagging_autocomplete.views',
url(r'^li... | <commit_before>from django.conf.urls import patterns, url
urlpatterns = patterns(
'tagging_autocomplete.views',
url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)
<commit_msg>Drop the deprecated way of specifying url patterns<commit_after>from django.conf.urls import url
urlpatterns = [
't... |
397099cc8e2628a548c66957168dfab3de7f7f59 | estudios_socioeconomicos/tests.py | estudios_socioeconomicos/tests.py | # from django.test import TestCase
# Create your tests here.
| from django.test import TestCase
from .models import Pregunta, Seccion, Subseccion
from .load import load_data
class TestLoadPreguntas(TestCase):
""" Suite to test the script to load questions.
"""
def test_load_preguntas(self):
""" Test that the script to load questions works properly.
... | Add test for loading script. | Add test for loading script.
| Python | mit | erikiado/jp2_online,erikiado/jp2_online,erikiado/jp2_online | # from django.test import TestCase
# Create your tests here.
Add test for loading script. | from django.test import TestCase
from .models import Pregunta, Seccion, Subseccion
from .load import load_data
class TestLoadPreguntas(TestCase):
""" Suite to test the script to load questions.
"""
def test_load_preguntas(self):
""" Test that the script to load questions works properly.
... | <commit_before># from django.test import TestCase
# Create your tests here.
<commit_msg>Add test for loading script.<commit_after> | from django.test import TestCase
from .models import Pregunta, Seccion, Subseccion
from .load import load_data
class TestLoadPreguntas(TestCase):
""" Suite to test the script to load questions.
"""
def test_load_preguntas(self):
""" Test that the script to load questions works properly.
... | # from django.test import TestCase
# Create your tests here.
Add test for loading script.from django.test import TestCase
from .models import Pregunta, Seccion, Subseccion
from .load import load_data
class TestLoadPreguntas(TestCase):
""" Suite to test the script to load questions.
"""
def test_load_pr... | <commit_before># from django.test import TestCase
# Create your tests here.
<commit_msg>Add test for loading script.<commit_after>from django.test import TestCase
from .models import Pregunta, Seccion, Subseccion
from .load import load_data
class TestLoadPreguntas(TestCase):
""" Suite to test the script to load ... |
5a764e0b91db628efd20d63d70c5ed688695f8b1 | app/routes.py | app/routes.py | from app import app
from flask import redirect, render_template
@app.route('/')
def index():
return render_template('index.html')
# default 'catch all' route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return redirect('/')
| from app import app
from app.models import Digit
from flask import redirect, render_template, request, jsonify
@app.route('/')
def index():
return render_template('index.html')
# api route
# parameters
#
# id: id to query, will return all otherwise
# select: one value per item in the query
# limit: limit, obvious... | Add basic functional DB /api route | Add basic functional DB /api route
| Python | mit | starcalibre/MNIST3D,starcalibre/MNIST3D,starcalibre/MNIST3D | from app import app
from flask import redirect, render_template
@app.route('/')
def index():
return render_template('index.html')
# default 'catch all' route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return redirect('/')
Add basic functional DB /api route | from app import app
from app.models import Digit
from flask import redirect, render_template, request, jsonify
@app.route('/')
def index():
return render_template('index.html')
# api route
# parameters
#
# id: id to query, will return all otherwise
# select: one value per item in the query
# limit: limit, obvious... | <commit_before>from app import app
from flask import redirect, render_template
@app.route('/')
def index():
return render_template('index.html')
# default 'catch all' route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return redirect('/')
<commit_msg>Add basic functio... | from app import app
from app.models import Digit
from flask import redirect, render_template, request, jsonify
@app.route('/')
def index():
return render_template('index.html')
# api route
# parameters
#
# id: id to query, will return all otherwise
# select: one value per item in the query
# limit: limit, obvious... | from app import app
from flask import redirect, render_template
@app.route('/')
def index():
return render_template('index.html')
# default 'catch all' route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return redirect('/')
Add basic functional DB /api routefrom app i... | <commit_before>from app import app
from flask import redirect, render_template
@app.route('/')
def index():
return render_template('index.html')
# default 'catch all' route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
return redirect('/')
<commit_msg>Add basic functio... |
e6d9524d6e29077cfb805cbafd99caf2b080a1c6 | src/hyperloop/aero.py | src/hyperloop/aero.py | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | Fix velocity_capsule description and drag formula | Fix velocity_capsule description and drag formula
Drag force should be quadratically dependent on speed instead of linearly dependent. | Python | apache-2.0 | HyperloopTeam/Hyperloop,paulopperman/Hyperloop,whiplash01/Hyperloop,whiplash01/Hyperloop,UwHyperloop/Hyperloop,UwHyperloop/Hyperloop,HyperloopTeam/Hyperloop,paulopperman/Hyperloop,kishenr12/Hyperloop,kishenr12/Hyperloop | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | <commit_before>from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Floa... | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Float(18000, iotype... | <commit_before>from openmdao.main.api import Component
from openmdao.lib.datatypes.api import Float
#put inside pod
class Aero(Component):
"""Place holder for real aerodynamic calculations of the capsule"""
#Inputs
coef_drag = Float(1, iotype="in", desc="capsule drag coefficient")
area_capsule = Floa... |
e6cf8c244cdffa08d67a45c3a44236c3b91aab78 | examples/rmg/liquid_phase/input.py | examples/rmg/liquid_phase/input.py | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='octane',
reactive=True,
structur... | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# Constraints on generated species
generatedSpeciesConstraints(
maximumRad... | Update RMG example liquid_phase with multiplicity label | Update RMG example liquid_phase with multiplicity label
| Python | mit | chatelak/RMG-Py,pierrelb/RMG-Py,enochd/RMG-Py,comocheng/RMG-Py,chatelak/RMG-Py,nyee/RMG-Py,enochd/RMG-Py,nickvandewiele/RMG-Py,nyee/RMG-Py,pierrelb/RMG-Py,nickvandewiele/RMG-Py,comocheng/RMG-Py | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='octane',
reactive=True,
structur... | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# Constraints on generated species
generatedSpeciesConstraints(
maximumRad... | <commit_before># Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='octane',
reactive=Tru... | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# Constraints on generated species
generatedSpeciesConstraints(
maximumRad... | # Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='octane',
reactive=True,
structur... | <commit_before># Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = 'default',
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='octane',
reactive=Tru... |
9541fd723308d51f7c380649a81b4992074a1193 | workout_manager/urls.py | workout_manager/urls.py | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.urls')),
url(r'weight/', include('weight.urls')),
... | from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
admin.autodiscover()
urlpatterns = i18n_patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.ur... | Append the name of the current language to the URLs | Append the name of the current language to the URLs
--HG--
branch : 1.1-dev
| Python | agpl-3.0 | DeveloperMal/wger,petervanderdoes/wger,DeveloperMal/wger,kjagoo/wger_stark,petervanderdoes/wger,wger-project/wger,kjagoo/wger_stark,rolandgeider/wger,wger-project/wger,DeveloperMal/wger,kjagoo/wger_stark,DeveloperMal/wger,petervanderdoes/wger,wger-project/wger,rolandgeider/wger,rolandgeider/wger,kjagoo/wger_stark,peter... | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.urls')),
url(r'weight/', include('weight.urls')),
... | from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
admin.autodiscover()
urlpatterns = i18n_patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.ur... | <commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.urls')),
url(r'weight/', include('we... | from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
admin.autodiscover()
urlpatterns = i18n_patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.ur... | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.urls')),
url(r'weight/', include('weight.urls')),
... | <commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('manager.urls')),
url(r'exercise/', include('exercises.urls')),
url(r'weight/', include('we... |
038e60b342367e3ea6499d16d4f8a9666d99d0bf | django_custom_500/example_project/tests/test_basic.py | django_custom_500/example_project/tests/test_basic.py | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | Fix for 3.3 and 3.4 | Fix for 3.3 and 3.4
| Python | mit | illagrenan/django-custom-500,illagrenan/django-custom-500 | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | <commit_before># -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalV... | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(Tes... | <commit_before># -*- encoding: utf-8 -*-
# ! python2
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
"""Tests for django-custom-500's decorators"""
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalV... |
cca7dee87863219b382321ba563cb48b1e58a4fb | tests/chainer_tests/functions_tests/pooling_tests/test_pooling_nd_kernel.py | tests/chainer_tests/functions_tests/pooling_tests/test_pooling_nd_kernel.py | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | Add comments for tests of caching. | Add comments for tests of caching.
| Python | mit | cupy/cupy,hvy/chainer,jnishi/chainer,ysekky/chainer,kashif/chainer,jnishi/chainer,delta2323/chainer,keisuke-umezawa/chainer,jnishi/chainer,niboshi/chainer,niboshi/chainer,hvy/chainer,keisuke-umezawa/chainer,okuta/chainer,wkentaro/chainer,wkentaro/chainer,tkerola/chainer,ronekko/chainer,ktnyt/chainer,chainer/chainer,kei... | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | <commit_before>import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setU... | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setUp(self):
... | <commit_before>import unittest
import mock
import chainer
from chainer.functions.pooling import pooling_nd_kernel
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product({
'ndim': [2, 3, 4],
}))
@attr.gpu
class TestPoolingNDKernelMemo(unittest.TestCase):
def setU... |
5e4c12067ee2b1d9affceaea789405422f7233a1 | ce/common.py | ce/common.py | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | Fix broken list_methods due to inspect behaviour | Fix broken list_methods due to inspect behaviour
| Python | mit | admk/soap | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | <commit_before>#!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method name... | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | #!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method names and correspon... | <commit_before>#!/usr/bin/env python
# vim: set fileencoding=UTF-8 :
import inspect
class DynamicMethods(object):
def list_methods(self, predicate):
"""Find all transform methods within the class that satisfies the
predicate.
Returns:
A list of tuples containing method name... |
012ab9bf79ae2f70079534ce6ab527f8e08a50f3 | doc/tutorials/python/secure-msg-template.py | doc/tutorials/python/secure-msg-template.py | async def init():
me = input('Who are you? ').strip()
wallet_name = '%s-wallet' % me
# 1. Create Wallet and Get Wallet Handle
try:
await wallet.create_wallet(pool_name, wallet_name, None, None, None)
except:
pass
wallet_handle = await wallet.open_wallet(wallet_name, None, None)
... | import asyncio
import time
import re
async def prep(wallet_handle, my_vk, their_vk, msg):
print('prepping %s' % msg)
async def init():
return None, None, None, None, None
async def read(wallet_handle, my_vk):
print('reading')
async def demo():
wallet_handle, my_did, my_vk, their_did, their_vk = awai... | Fix template that was accidentally overwritten | Fix template that was accidentally overwritten
| Python | apache-2.0 | anastasia-tarasova/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,Art... | async def init():
me = input('Who are you? ').strip()
wallet_name = '%s-wallet' % me
# 1. Create Wallet and Get Wallet Handle
try:
await wallet.create_wallet(pool_name, wallet_name, None, None, None)
except:
pass
wallet_handle = await wallet.open_wallet(wallet_name, None, None)
... | import asyncio
import time
import re
async def prep(wallet_handle, my_vk, their_vk, msg):
print('prepping %s' % msg)
async def init():
return None, None, None, None, None
async def read(wallet_handle, my_vk):
print('reading')
async def demo():
wallet_handle, my_did, my_vk, their_did, their_vk = awai... | <commit_before>async def init():
me = input('Who are you? ').strip()
wallet_name = '%s-wallet' % me
# 1. Create Wallet and Get Wallet Handle
try:
await wallet.create_wallet(pool_name, wallet_name, None, None, None)
except:
pass
wallet_handle = await wallet.open_wallet(wallet_nam... | import asyncio
import time
import re
async def prep(wallet_handle, my_vk, their_vk, msg):
print('prepping %s' % msg)
async def init():
return None, None, None, None, None
async def read(wallet_handle, my_vk):
print('reading')
async def demo():
wallet_handle, my_did, my_vk, their_did, their_vk = awai... | async def init():
me = input('Who are you? ').strip()
wallet_name = '%s-wallet' % me
# 1. Create Wallet and Get Wallet Handle
try:
await wallet.create_wallet(pool_name, wallet_name, None, None, None)
except:
pass
wallet_handle = await wallet.open_wallet(wallet_name, None, None)
... | <commit_before>async def init():
me = input('Who are you? ').strip()
wallet_name = '%s-wallet' % me
# 1. Create Wallet and Get Wallet Handle
try:
await wallet.create_wallet(pool_name, wallet_name, None, None, None)
except:
pass
wallet_handle = await wallet.open_wallet(wallet_nam... |
a118e2b7133cf4391c1df41d95f9e4329a0bf5e9 | tests/__init__.py | tests/__init__.py | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | Remove test data folder with all contents during setUp | Remove test data folder with all contents during setUp
| Python | apache-2.0 | notapresent/rtrss,notapresent/rtrss,notapresent/rtrss,notapresent/rtrss | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | <commit_before>import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Rec... | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Reconfigure sessio... | <commit_before>import logging
import unittest
import os
import shutil
from sqlalchemy import create_engine
from rtrss import config, database
logging.disable(logging.ERROR)
engine = create_engine(config.SQLALCHEMY_DATABASE_URI,
echo=False,
client_encoding='utf8')
# Rec... |
1de254b56eba45ecdc88d26272ab1f123e734e25 | tests/test_dem.py | tests/test_dem.py | import unittest
import numpy as np
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid()
def test_calculate_slope(self):
sx, sy = self.dem._calculate_slope()
def test_calculate_laplacian(self):
del2z = self.dem._calculate_lapalacian()
... | import unittest
import numpy as np
import filecmp
TESTDATA_FILENAME = os.path.join(os.path.dirname(__file__), 'data/big_basin.tif')
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid(TESTDATA_FILENAME)
def test_calculate_slope(self):
... | Add test for writing spatial grid to file | Add test for writing spatial grid to file
| Python | mit | stgl/scarplet,rmsare/scarplet | import unittest
import numpy as np
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid()
def test_calculate_slope(self):
sx, sy = self.dem._calculate_slope()
def test_calculate_laplacian(self):
del2z = self.dem._calculate_lapalacian()
... | import unittest
import numpy as np
import filecmp
TESTDATA_FILENAME = os.path.join(os.path.dirname(__file__), 'data/big_basin.tif')
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid(TESTDATA_FILENAME)
def test_calculate_slope(self):
... | <commit_before>import unittest
import numpy as np
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid()
def test_calculate_slope(self):
sx, sy = self.dem._calculate_slope()
def test_calculate_laplacian(self):
del2z = self.dem._calculate_lapalac... | import unittest
import numpy as np
import filecmp
TESTDATA_FILENAME = os.path.join(os.path.dirname(__file__), 'data/big_basin.tif')
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid(TESTDATA_FILENAME)
def test_calculate_slope(self):
... | import unittest
import numpy as np
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid()
def test_calculate_slope(self):
sx, sy = self.dem._calculate_slope()
def test_calculate_laplacian(self):
del2z = self.dem._calculate_lapalacian()
... | <commit_before>import unittest
import numpy as np
class CalculationMethodsTestCase(unittest.TestCase):
def setUp(self):
self.dem = DEMGrid()
def test_calculate_slope(self):
sx, sy = self.dem._calculate_slope()
def test_calculate_laplacian(self):
del2z = self.dem._calculate_lapalac... |
28f25bb7ca5a415bbc3ca2aabd7e290339140a9f | tests/test_dns.py | tests/test_dns.py | from .utils import TestCase, skipUnless
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assertListEq... | from .utils import TestCase, skipUnless, mock
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assert... | Add mocked test of build_resolver | Add mocked test of build_resolver
| Python | bsd-3-clause | bacher09/dynsupdate | from .utils import TestCase, skipUnless
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assertListEq... | from .utils import TestCase, skipUnless, mock
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assert... | <commit_before>from .utils import TestCase, skipUnless
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
se... | from .utils import TestCase, skipUnless, mock
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assert... | from .utils import TestCase, skipUnless
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
self.assertListEq... | <commit_before>from .utils import TestCase, skipUnless
from dynsupdate import client
import os
class DnsTests(TestCase):
@skipUnless(os.getenv("SLOW"), "To slow")
def test_build_resolver(self):
domain = 'google-public-dns-a.google.com'
res = client.NameUpdate.build_resolver(domain)
se... |
36dd1493f329e82edd4ed514bfaaa0b58c882141 | virtool/processes.py | virtool/processes.py | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | Fix not awaited ProgressTracker bug | Fix not awaited ProgressTracker bug | Python | mit | virtool/virtool,virtool/virtool,igboyes/virtool,igboyes/virtool | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | <commit_before>STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_refe... | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_reference": "",
... | <commit_before>STEP_COUNTS = {
"delete_reference": 2,
"import_reference": 0,
"setup_remote_reference": 0,
"update_remote_reference": 0,
"update_software": 0,
"install_hmms": 0
}
FIRST_STEPS = {
"delete_reference": "delete_indexes",
"import_reference": "load_file",
"setup_remote_refe... |
7653f2c6e4f72e40eefee5d70d83ceafb8bc4282 | lib/extend.py | lib/extend.py | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | Use context manager to read syntax file | Use context manager to read syntax file
| Python | mit | Thom1729/YAML-Macros | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | <commit_before>from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
... | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
if key i... | <commit_before>from collections import OrderedDict
import ruamel.yaml
yaml = ruamel.yaml.YAML()
class Operation():
def __init__(self, extension):
self.extension = extension
class Merge(Operation):
def apply(self, base):
ret = base.copy()
for key, value in self.extension.items():
... |
616e542ee32b1ac83dd4d1977119ef670520c476 | saleor/warehouse/models.py | saleor/warehouse/models.py | import uuid
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").prefetch_related("shipping_... | import uuid
from typing import Set
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").pref... | Simplify getting countries associated with warehouse | Simplify getting countries associated with warehouse
| Python | bsd-3-clause | mociepka/saleor,mociepka/saleor,mociepka/saleor | import uuid
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").prefetch_related("shipping_... | import uuid
from typing import Set
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").pref... | <commit_before>import uuid
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").prefetch_rel... | import uuid
from typing import Set
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").pref... | import uuid
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").prefetch_related("shipping_... | <commit_before>import uuid
from django.db import models
from django.utils.translation import pgettext_lazy
from ..account.models import Address
from ..shipping.models import ShippingZone
class WarehouseQueryset(models.QuerySet):
def prefetch_data(self):
return self.select_related("address").prefetch_rel... |
b6d9e7c24b0185d6a715adee4fc457afda6078f4 | src/waldur_core/core/migrations/0008_changeemailrequest_uuid.py | src/waldur_core/core/migrations/0008_changeemailrequest_uuid.py | from django.db import migrations
import waldur_core.core.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest',
name='uuid',
field=wald... | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest', name='uuid', field=models.UUIDField(),
),
]
| Fix UUID field migration for change email request model. | Fix UUID field migration for change email request model.
We should have been used builtin UUID field because our own field has uniqueness constraint.
| Python | mit | opennode/nodeconductor-assembly-waldur,opennode/waldur-mastermind,opennode/nodeconductor-assembly-waldur,opennode/nodeconductor-assembly-waldur,opennode/waldur-mastermind,opennode/waldur-mastermind,opennode/waldur-mastermind | from django.db import migrations
import waldur_core.core.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest',
name='uuid',
field=wald... | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest', name='uuid', field=models.UUIDField(),
),
]
| <commit_before>from django.db import migrations
import waldur_core.core.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest',
name='uuid',
... | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest', name='uuid', field=models.UUIDField(),
),
]
| from django.db import migrations
import waldur_core.core.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest',
name='uuid',
field=wald... | <commit_before>from django.db import migrations
import waldur_core.core.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0007_changeemailrequest'),
]
operations = [
migrations.AddField(
model_name='changeemailrequest',
name='uuid',
... |
a06ca6899062bab407cb4c6884d0bf148a380b1f | netsecus/task.py | netsecus/task.py | from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
| from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints, reachedPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
self.reachedPoints = reachedPoints
| Add a variable to hold reached points | Add a variable to hold reached points
| Python | mit | hhucn/netsec-uebungssystem,hhucn/netsec-uebungssystem,hhucn/netsec-uebungssystem | from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
Add a variable to hold reached points | from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints, reachedPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
self.reachedPoints = reachedPoints
| <commit_before>from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
<commit_msg>Add a variable to hold reached points<commit_after> | from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints, reachedPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
self.reachedPoints = reachedPoints
| from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
Add a variable to hold reached pointsfrom __future__ import unicode_literals
class Task(object):... | <commit_before>from __future__ import unicode_literals
class Task(object):
def __init__(self, number, description, maxPoints):
self.number = number
self.description = description
self.maxPoints = maxPoints
<commit_msg>Add a variable to hold reached points<commit_after>from __future__ impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.