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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92dc2888c52bf6f73c5a4924c7e10dcc450e3897 | api/v2/serializers/details/boot_script.py | api/v2/serializers/details/boot_script.py | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | Fix 'boot script' serializer to allow 'created_by' to be inferred as the request.user | Fix 'boot script' serializer to allow 'created_by' to be inferred as the request.user
| Python | apache-2.0 | CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | <commit_before>from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=Atmosp... | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=AtmosphereUser.object... | <commit_before>from core.models.boot_script import BootScript, ScriptType
from core.models.user import AtmosphereUser
from rest_framework import serializers
class BootScriptSerializer(serializers.HyperlinkedModelSerializer):
created_by = serializers.SlugRelatedField(
slug_field='username', queryset=Atmosp... |
6b696435b83bd6e69c3fa1d7ba987f13952a574f | monasca_setup/detection/plugins/keystone.py | monasca_setup/detection/plugins/keystone.py | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | Update search pattern for Keystone setup plugin | Update search pattern for Keystone setup plugin
Devstack (and possibly elsewhere) is using a newer version of keystone,
v3.4, so the match_pattern generated by the detection plugin (v3.0) was
failing. This patch changes the patter to match any "v3." version.
Change-Id: I68e77f5a4df511e5d61d82f57f8b6b5a0beaca62
| Python | bsd-3-clause | sapcc/monasca-agent,sapcc/monasca-agent,sapcc/monasca-agent | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | <commit_before>import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
... | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
'ov... | <commit_before>import monasca_setup.detection
class Keystone(monasca_setup.detection.ServicePlugin):
"""Detect Keystone daemons and setup configuration to monitor them.
"""
def __init__(self, template_dir, overwrite=True, args=None):
service_params = {
'template_dir': template_dir,
... |
d18ae9c3e767e5b98db15731a03aad610aae4510 | robber/matchers/contain.py | robber/matchers/contain.py | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | Use set's intersection and difference for better readability | [r] Use set's intersection and difference for better readability
| Python | mit | vesln/robber.py | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | <commit_before>from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list... | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list(self.args)
... | <commit_before>from robber import expect
from robber.explanation import Explanation
from robber.matchers.base import Base
class Contain(Base):
"""
expect({'key': value}).to.contain('key 1', 'key 2', 'key n')
expect([1, 2, 3]).to.contain(1, 2, 3)
"""
def matches(self):
expected_list = list... |
ad70c54f2cd5a66d62f61b26e12b18c3bbfba45d | cms/migrations/0012_auto_20150607_2207.py | cms/migrations/0012_auto_20150607_2207.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.contrib.auth.models
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrat... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrations.AlterField(
model... | Format migration for Django 1.7 | Format migration for Django 1.7
| Python | bsd-3-clause | rryan/django-cms,mkoistinen/django-cms,netzkolchose/django-cms,jeffreylu9/django-cms,Vegasvikk/django-cms,youprofit/django-cms,saintbird/django-cms,memnonila/django-cms,irudayarajisawa/django-cms,cyberintruder/django-cms,czpython/django-cms,Jaccorot/django-cms,jeffreylu9/django-cms,qnub/django-cms,frnhr/django-cms,memn... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.contrib.auth.models
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrat... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrations.AlterField(
model... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.contrib.auth.models
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrations.AlterField(
model... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.contrib.auth.models
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [
migrat... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.contrib.auth.models
class Migration(migrations.Migration):
dependencies = [
('cms', '0011_auto_20150419_1006'),
]
operations = [... |
fe15498e745ce3a5f5e4c47f229ca6dbd5e921c5 | tests/test_product_tags.py | tests/test_product_tags.py | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | Replace placeholder image in tests | Replace placeholder image in tests
| Python | bsd-3-clause | KenMutemi/saleor,itbabu/saleor,HyperManTT/ECommerceSaleor,HyperManTT/ECommerceSaleor,maferelo/saleor,maferelo/saleor,tfroehlich82/saleor,KenMutemi/saleor,jreigel/saleor,itbabu/saleor,jreigel/saleor,UITools/saleor,HyperManTT/ECommerceSaleor,KenMutemi/saleor,itbabu/saleor,mociepka/saleor,mociepka/saleor,UITools/saleor,ma... | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | <commit_before>from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mo... | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mock(url='thumb.j... | <commit_before>from mock import Mock
from django.contrib.staticfiles.templatetags.staticfiles import static
from saleor.product.templatetags.product_images import (
get_thumbnail, product_first_image)
def test_get_thumbnail():
instance = Mock()
cropped_value = Mock(url='crop.jpg')
thumbnail_value = Mo... |
c28de968845f98c6590784df1fe5beff7b3d021e | workshops/templatetags/training_progress.py | workshops/templatetags/training_progress.py | from django import template
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progress.discarded:
additional_label = 'default'
... | from django import template
from django.template.defaultfilters import escape
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progres... | Fix unescaped content in training progress description templatetag | Fix unescaped content in training progress description templatetag
This template tag was using content from entry notes directly. In cases
of some users this messed up the display of label in the templates.
| Python | mit | pbanaszkiewicz/amy,pbanaszkiewicz/amy,swcarpentry/amy,swcarpentry/amy,pbanaszkiewicz/amy,swcarpentry/amy | from django import template
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progress.discarded:
additional_label = 'default'
... | from django import template
from django.template.defaultfilters import escape
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progres... | <commit_before>from django import template
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progress.discarded:
additional_lab... | from django import template
from django.template.defaultfilters import escape
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progres... | from django import template
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progress.discarded:
additional_label = 'default'
... | <commit_before>from django import template
from django.utils.safestring import mark_safe
from workshops.models import TrainingProgress
register = template.Library()
@register.simple_tag
def progress_label(progress):
assert isinstance(progress, TrainingProgress)
if progress.discarded:
additional_lab... |
9a2d3c2a576597730b7316ddbf7169ed3164a690 | rtgraph/core/constants.py | rtgraph/core/constants.py | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "../data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#... | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#edb... | Update export path to new structure | Update export path to new structure
| Python | mit | ssepulveda/RTGraph | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "../data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#... | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#edb... | <commit_before>from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "../data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd'... | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#edb... | from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "../data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd', '#d95319', '#... | <commit_before>from enum import Enum
class Constants:
app_title = "RTGraph"
app_version = '0.2.0'
app_export_path = "../data"
app_sources = ["Serial", "Simulator"]
app_encoding = "utf-8"
plot_update_ms = 16
plot_xlabel_title = "Time"
plot_xlabel_unit = "s"
plot_colors = ['#0072bd'... |
e85bfff982d14b556d2cab5d3b5535c37333cc3e | normandy/control/views.py | normandy/control/views.py | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | Remove limit on recipe list object | Remove limit on recipe list object
| Python | mpl-2.0 | Osmose/normandy,mozilla/normandy,mozilla/normandy,Osmose/normandy,Osmose/normandy,mozilla/normandy,mozilla/normandy,Osmose/normandy | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | <commit_before>from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'... | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'
def get_que... | <commit_before>from django.views import generic
from django.contrib.auth.mixins import LoginRequiredMixin
from normandy.recipes.models import Recipe
class IndexView(LoginRequiredMixin, generic.ListView):
template_name = 'control/index.html'
context_object_name = 'all_recipes_list'
login_url = '/control/login/'... |
8013e6b297ac79933a49760c7ba868a5419689b2 | models/work_in_progress/src/train_ping.py | models/work_in_progress/src/train_ping.py | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
for d in data:
print '#' * 70
print '#' * 3, d
print '#' * 70
for m in models:
print
pr... | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
save = False
## save model
#data = 'iOS',
#models = 'full',
#plot_dir = ''
#save = True
for d in data:
print '#' ... | Add option to save model in script | Add option to save model in script
| Python | bsd-3-clause | lisa-lab/pings,lisa-lab/pings,lisa-lab/pings,lisa-lab/pings | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
for d in data:
print '#' * 70
print '#' * 3, d
print '#' * 70
for m in models:
print
pr... | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
save = False
## save model
#data = 'iOS',
#models = 'full',
#plot_dir = ''
#save = True
for d in data:
print '#' ... | <commit_before>import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
for d in data:
print '#' * 70
print '#' * 3, d
print '#' * 70
for m in models:
p... | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
save = False
## save model
#data = 'iOS',
#models = 'full',
#plot_dir = ''
#save = True
for d in data:
print '#' ... | import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
for d in data:
print '#' * 70
print '#' * 3, d
print '#' * 70
for m in models:
print
pr... | <commit_before>import graph
# default
data = ('iOS', 'iOS-wifi', 'AC', 'IC2012')
models = ('constant', 'distance', 'countries', 'full')
plot_dir = '../../report2/figures'
show_plots = False
oa_max_delay = [5000.]
for d in data:
print '#' * 70
print '#' * 3, d
print '#' * 70
for m in models:
p... |
933b6f7881877726e28de352adb166f8355122aa | Lib/test/test_pep263.py | Lib/test/test_pep263.py | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
'\xd0\x9f\xd0\xb8\xd... | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
b'\xd0\x9f\xd0\xb8\x... | Fix the test; solution found by Christian Heimes. Thanks! | Fix the test; solution found by Christian Heimes. Thanks!
| Python | mit | sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
'\xd0\x9f\xd0\xb8\xd... | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
b'\xd0\x9f\xd0\xb8\x... | <commit_before>#! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
'\xd0... | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
b'\xd0\x9f\xd0\xb8\x... | #! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
'\xd0\x9f\xd0\xb8\xd... | <commit_before>#! -*- coding: koi8-r -*-
# This file is marked as binary in the CVS, to prevent MacCVS from recoding it.
import unittest
from test import test_support
class PEP263Test(unittest.TestCase):
def test_pep263(self):
self.assertEqual(
"".encode("utf-8"),
'\xd0... |
b0dbd7029f003538ddef9f3a5f8035f8691bf4d7 | shuup/core/utils/shops.py | shuup/core/utils/shops.py | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | Make handle ports better when choosing shop | Make handle ports better when choosing shop
Refs EE-235
| Python | agpl-3.0 | shoopio/shoop,shoopio/shoop,shoopio/shoop | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | <commit_before># -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_f... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_from_host(host):... | <commit_before># -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.core.models import Shop
def get_shop_f... |
864ca84558e9984399dd02fba611afdafd2d5015 | silver/tests/factories.py | silver/tests/factories.py | import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
| import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
name = factory.Sequence(lambda n: 'Provider{cnt}'.format(cnt=n))
company = factory.Sequence(lambda n: 'Company{cnt}'.format(cnt=n))
address_1 = factory.Seq... | Update the factory for Provider | Update the factory for Provider
| Python | apache-2.0 | PressLabs/silver,PressLabs/silver,PressLabs/silver | import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
Update the factory for Provider | import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
name = factory.Sequence(lambda n: 'Provider{cnt}'.format(cnt=n))
company = factory.Sequence(lambda n: 'Company{cnt}'.format(cnt=n))
address_1 = factory.Seq... | <commit_before>import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
<commit_msg>Update the factory for Provider<commit_after> | import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
name = factory.Sequence(lambda n: 'Provider{cnt}'.format(cnt=n))
company = factory.Sequence(lambda n: 'Company{cnt}'.format(cnt=n))
address_1 = factory.Seq... | import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
Update the factory for Providerimport factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
mo... | <commit_before>import factory
from silver.models import Provider
class ProviderFactory(factory.django.DjangoModelFactory):
class Meta:
model = Provider
<commit_msg>Update the factory for Provider<commit_after>import factory
from silver.models import Provider
class ProviderFactory(factory.django.Django... |
55e8d525d7e06deeb6450eb5706f1f4ccbb11e66 | index.py | index.py |
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt(sys.argv[1:], 'i:d:p:')
except getopt.GetoptError as err:i
usage()
sys.exit(2)
fo... | from nltk.tokenize import word_tokenize, sent_tokenize
import getopt
import sys
import os
import io
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt... | Add missing imports, correct indentation | Add missing imports, correct indentation
| Python | mit | ikaruswill/boolean-retrieval,ikaruswill/vector-space-model |
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt(sys.argv[1:], 'i:d:p:')
except getopt.GetoptError as err:i
usage()
sys.exit(2)
fo... | from nltk.tokenize import word_tokenize, sent_tokenize
import getopt
import sys
import os
import io
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt... | <commit_before>
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt(sys.argv[1:], 'i:d:p:')
except getopt.GetoptError as err:i
usage()
... | from nltk.tokenize import word_tokenize, sent_tokenize
import getopt
import sys
import os
import io
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt... |
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt(sys.argv[1:], 'i:d:p:')
except getopt.GetoptError as err:i
usage()
sys.exit(2)
fo... | <commit_before>
def usage():
print("usage: " + sys.argv[0] + " -i directory-of-documents -d dictionary-file -p postings-file")
if __name__ == '__main__':
dir_doc = dict_file = postings_file = None
try:
opts, args = getopt.getopt(sys.argv[1:], 'i:d:p:')
except getopt.GetoptError as err:i
usage()
... |
4416b7ce97ccf6d9b1abab59cd5a404cf5bfe3e9 | linter.py | linter.py | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# Copyright (c) 2015 jfcherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
# Copyright (c) 2015 jfcherng
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | Add match error msg pattern like "<file>:<line>: syntax error" | Add match error msg pattern like "<file>:<line>: syntax error"
This error msg is available in iverilog 0.10.0 (devel).
| Python | mit | jfcherng/SublimeLinter-contrib-iverilog,jfcherng/SublimeLinter-contrib-iverilog | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# Copyright (c) 2015 jfcherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
# Copyright (c) 2015 jfcherng
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# Copyright (c) 2015 jfcherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Lin... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
# Copyright (c) 2015 jfcherng
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# Copyright (c) 2015 jfcherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Linter):
# lin... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jack Cherng
# Copyright (c) 2015 jfcherng
# https://github.com/jfcherng/SublimeLinter-contrib-iverilog
#
# License: MIT
#
import sublime
from SublimeLinter.lint import Linter, util
class Iverilog(Lin... |
9d78bc8bbe8d0065debd8b4e5e72ed73f135ed63 | linter.py | linter.py | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | Remove deprecated attributes comment_re and check_version | Remove deprecated attributes comment_re and check_version
| Python | mit | maristgeek/SublimeLinter-contrib-bashate | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
"""Provides ... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ben Stoutenburgh
# Copyright (c) 2016 Ben Stoutenburgh
#
# License: MIT
#
"""This module exports the Bashate plugin class."""
from SublimeLinter.lint import Linter
import os
class Bashate(Linter):
... |
8563b63c94d30a0032ffcfa3e7a5bc1e72c2a42e | services/myspace.py | services/myspace.py | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | Remove an unnecessary blank line | Remove an unnecessary blank line
| Python | bsd-3-clause | foauth/foauth.org,foauth/foauth.org,foauth/foauth.org,foauth/oauth-proxy | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | <commit_before>import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
requ... | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
request_token_url =... | <commit_before>import foauth.providers
class MySpace(foauth.providers.OAuth1):
# General info about the provider
provider_url = 'http://www.myspace.com/'
docs_url = 'http://developerwiki.myspace.com/index.php?title=RESTful_API_Overview'
category = 'Social'
# URLs to interact with the API
requ... |
6cfd296a86c1b475101c179a45a7453b76dcbfd5 | riak/util.py | riak/util.py | import collections
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, collections.Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack to avoid maximum recursion depth exceptions
>>> a = {'a': 1, 'b': {1: 1, 2: ... | try:
from collections import Mapping
except ImportError:
# compatibility with Python 2.5
Mapping = dict
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack ... | Adjust for compatibility with Python 2.5 | Adjust for compatibility with Python 2.5
| Python | apache-2.0 | basho/riak-python-client,GabrielNicolasAvellaneda/riak-python-client,GabrielNicolasAvellaneda/riak-python-client,bmess/riak-python-client,basho/riak-python-client,basho/riak-python-client,bmess/riak-python-client | import collections
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, collections.Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack to avoid maximum recursion depth exceptions
>>> a = {'a': 1, 'b': {1: 1, 2: ... | try:
from collections import Mapping
except ImportError:
# compatibility with Python 2.5
Mapping = dict
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack ... | <commit_before>import collections
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, collections.Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack to avoid maximum recursion depth exceptions
>>> a = {'a': 1, ... | try:
from collections import Mapping
except ImportError:
# compatibility with Python 2.5
Mapping = dict
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack ... | import collections
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, collections.Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack to avoid maximum recursion depth exceptions
>>> a = {'a': 1, 'b': {1: 1, 2: ... | <commit_before>import collections
def quacks_like_dict(object):
"""Check if object is dict-like"""
return isinstance(object, collections.Mapping)
def deep_merge(a, b):
"""Merge two deep dicts non-destructively
Uses a stack to avoid maximum recursion depth exceptions
>>> a = {'a': 1, ... |
6dc561a0ec435d43105be7a71be6344888429f8c | plugins/LocalFileOutputDevice/__init__.py | plugins/LocalFileOutputDevice/__init__.py | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | Add period at end of description | Add period at end of description
This is in line with other plug-ins.
Contributes to issue CURA-1190.
| Python | agpl-3.0 | onitake/Uranium,onitake/Uranium | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | <commit_before># Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", ... | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Local File Out... | <commit_before># Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import LocalFileOutputDevicePlugin
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", ... |
05c31095ee828bfe455ad93befc5d189b9d0edc5 | wallace/__init__.py | wallace/__init__.py | from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents',
'sources', 'networks', 'processes']
| from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents', 'sources', 'networks',
'processes', 'transformations']
| Add transformations to Wallace init | Add transformations to Wallace init
| Python | mit | Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,berkeley-cocosci/Wallace,berkeley-cocosci/Wallace,suchow/Wallace,Dallinger/Dallinger,Dallinger/Dallinger,suchow/Wallace,Dallinger/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,suchow/Wallace,Dallinger/Dalli... | from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents',
'sources', 'networks', 'processes']
Add transformations to Wallace init | from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents', 'sources', 'networks',
'processes', 'transformations']
| <commit_before>from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents',
'sources', 'networks', 'processes']
<commit_msg>Add transformations to Wallace init<commit_after> | from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents', 'sources', 'networks',
'processes', 'transformations']
| from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents',
'sources', 'networks', 'processes']
Add transformations to Wallace initfrom . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents', 'sources', 'networ... | <commit_before>from . import models, information, agents, networks, processes
__all__ = ['models', 'information', 'agents',
'sources', 'networks', 'processes']
<commit_msg>Add transformations to Wallace init<commit_after>from . import models, information, agents, networks, processes
__all__ = ['models', 'i... |
1faaf698ca3fc33eb4bf8fc9e8ae87d4ec582486 | spacy/fr/language_data.py | spacy/fr/language_data.py | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.EMOTICONS)
update_exc(TOKENIZER_EXCEPTIONS, strings_to_exc... | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .punctuation import ELISION
from ..symbols import *
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.... | Add infixes and abbreviation exceptions (fr) | Add infixes and abbreviation exceptions (fr)
| Python | mit | recognai/spaCy,Gregory-Howard/spaCy,aikramer2/spaCy,recognai/spaCy,aikramer2/spaCy,recognai/spaCy,explosion/spaCy,explosion/spaCy,aikramer2/spaCy,explosion/spaCy,raphael0202/spaCy,recognai/spaCy,honnibal/spaCy,Gregory-Howard/spaCy,raphael0202/spaCy,explosion/spaCy,oroszgy/spaCy.hu,oroszgy/spaCy.hu,banglakit/spaCy,explo... | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.EMOTICONS)
update_exc(TOKENIZER_EXCEPTIONS, strings_to_exc... | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .punctuation import ELISION
from ..symbols import *
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.... | <commit_before># encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.EMOTICONS)
update_exc(TOKENIZER_EXCEPTIONS,... | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .punctuation import ELISION
from ..symbols import *
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.... | # encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.EMOTICONS)
update_exc(TOKENIZER_EXCEPTIONS, strings_to_exc... | <commit_before># encoding: utf8
from __future__ import unicode_literals
from .. import language_data as base
from ..language_data import strings_to_exc, update_exc
from .stop_words import STOP_WORDS
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = strings_to_exc(base.EMOTICONS)
update_exc(TOKENIZER_EXCEPTIONS,... |
ad9711725ee0396133c75e34a0ba2f9b4cf7af6e | test/functional/config.py | test/functional/config.py | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | Fix default wait timeout calculation to add extra time correctly | Fix default wait timeout calculation to add extra time correctly
| Python | mpl-2.0 | mozilla/talkilla,mozilla/talkilla,mozilla/talkilla | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | <commit_before>import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_... | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_TIMEOUT'] = (
... | <commit_before>import json
class TestConfig():
def __init__(self):
configFile = open('config/test.json')
data = json.load(configFile)
configFile.close()
# Add calculated configuration options
# A little longer to allow for call-setup times etc
data['DEFAULT_WAIT_... |
c69e74e229420161350eaf33e040dc00cd537b0b | tools/dev/wc-format.py | tools/dev/wc-format.py | #!/usr/bin/env python
import os
import sqlite3
import sys
# helper
def usage():
sys.stderr.write("USAGE: %s [PATH]\n" + \
"\n" + \
"Prints to stdout the format of the working copy at PATH.\n")
# parse argv
wc = (sys.argv[1:] + ['.'])[0]
# main()
entries = os.path.join(wc, '.s... | #!/usr/bin/env python
import os
import sqlite3
import sys
def print_format(wc_path):
entries = os.path.join(wc_path, '.svn', 'entries')
wc_db = os.path.join(wc_path, '.svn', 'wc.db')
if os.path.exists(entries):
formatno = int(open(entries).readline())
elif os.path.exists(wc_db):
conn = sqlite3.conne... | Allow script to take multiple paths, and adjust to standard __main__ idiom for cmdline scripts. | Allow script to take multiple paths, and adjust to standard __main__ idiom
for cmdline scripts.
* tools/dev/wc-format.py:
(usage): remove. all paths are allowed.
(print_format): move guts of format fetching and printing into this
function. print 'not under version control' for such a path, rather
than bail... | Python | apache-2.0 | wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion | #!/usr/bin/env python
import os
import sqlite3
import sys
# helper
def usage():
sys.stderr.write("USAGE: %s [PATH]\n" + \
"\n" + \
"Prints to stdout the format of the working copy at PATH.\n")
# parse argv
wc = (sys.argv[1:] + ['.'])[0]
# main()
entries = os.path.join(wc, '.s... | #!/usr/bin/env python
import os
import sqlite3
import sys
def print_format(wc_path):
entries = os.path.join(wc_path, '.svn', 'entries')
wc_db = os.path.join(wc_path, '.svn', 'wc.db')
if os.path.exists(entries):
formatno = int(open(entries).readline())
elif os.path.exists(wc_db):
conn = sqlite3.conne... | <commit_before>#!/usr/bin/env python
import os
import sqlite3
import sys
# helper
def usage():
sys.stderr.write("USAGE: %s [PATH]\n" + \
"\n" + \
"Prints to stdout the format of the working copy at PATH.\n")
# parse argv
wc = (sys.argv[1:] + ['.'])[0]
# main()
entries = os.pa... | #!/usr/bin/env python
import os
import sqlite3
import sys
def print_format(wc_path):
entries = os.path.join(wc_path, '.svn', 'entries')
wc_db = os.path.join(wc_path, '.svn', 'wc.db')
if os.path.exists(entries):
formatno = int(open(entries).readline())
elif os.path.exists(wc_db):
conn = sqlite3.conne... | #!/usr/bin/env python
import os
import sqlite3
import sys
# helper
def usage():
sys.stderr.write("USAGE: %s [PATH]\n" + \
"\n" + \
"Prints to stdout the format of the working copy at PATH.\n")
# parse argv
wc = (sys.argv[1:] + ['.'])[0]
# main()
entries = os.path.join(wc, '.s... | <commit_before>#!/usr/bin/env python
import os
import sqlite3
import sys
# helper
def usage():
sys.stderr.write("USAGE: %s [PATH]\n" + \
"\n" + \
"Prints to stdout the format of the working copy at PATH.\n")
# parse argv
wc = (sys.argv[1:] + ['.'])[0]
# main()
entries = os.pa... |
cb35c28ac04c4cfb6170d44b602403dc3cbf7205 | avocado/management/base.py | avocado/management/base.py | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '(app | app.model | app.model.field)*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '[app | app.model | app.model.field]*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | Remove requirement in DataFieldCommand to pass labels | Remove requirement in DataFieldCommand to pass labels
The behavior is now (naturally) defaults to all datafields
| Python | bsd-2-clause | murphyke/avocado,murphyke/avocado,murphyke/avocado,murphyke/avocado | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '(app | app.model | app.model.field)*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '[app | app.model | app.model.field]*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | <commit_before>from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '(app | app.model | app.model.field)*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method... | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '[app | app.model | app.model.field]*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '(app | app.model | app.model.field)*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method.')
def ha... | <commit_before>from django.core.management.base import BaseCommand, CommandError
from .utils import get_fields_by_label
class DataFieldCommand(BaseCommand):
args = '(app | app.model | app.model.field)*'
def handle_fields(self, *args, **kwargs):
raise NotImplemented('Subclasses must define this method... |
a06e6cc3c0b0440d3adedd1ccce78309d8fae9a9 | feincms/module/page/extensions/navigationgroups.py | feincms/module/page/extensions/navigationgroups.py | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | Allow navigationgroup to be blank | Allow navigationgroup to be blank
| Python | bsd-3-clause | joshuajonah/feincms,feincms/feincms,joshuajonah/feincms,joshuajonah/feincms,feincms/feincms,joshuajonah/feincms,feincms/feincms,mjl/feincms,mjl/feincms,mjl/feincms | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | <commit_before>"""
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class ... | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | """
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class Extension(exten... | <commit_before>"""
Page navigation groups allow assigning pages to differing navigation lists
such as header, footer and what else.
"""
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from feincms import extensions
class ... |
3c1e90761bf6d046c3b462dcdddb75335c259433 | rnacentral/portal/tests/rna_type_tests.py | rnacentral/portal/tests/rna_type_tests.py | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | Add test showing issue with rna_type | Add test showing issue with rna_type
| Python | apache-2.0 | RNAcentral/rnacentral-webcode,RNAcentral/rnacentral-webcode,RNAcentral/rnacentral-webcode,RNAcentral/rnacentral-webcode | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | <commit_before>from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, t... | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, taxid=None):
... | <commit_before>from django.test import TestCase
from portal.models import Rna
class GenericRnaTypeTest(TestCase):
def rna_type_of(self, upi, taxid=None):
return Rna.objects.\
get(upi=upi).\
get_rna_type(taxid=taxid, recompute=True)
def assertRnaTypeIs(self, description, upi, t... |
7a39265a5a902746dc341f99ac79727702f967c5 | lwr/messaging/bind_amqp.py | lwr/messaging/bind_amqp.py | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | Make thread non-daemon so we don't partially process message. | Make thread non-daemon so we don't partially process message.
LWR should still stop properly since loop is tracking if manager is alive.
| Python | apache-2.0 | ssorgatem/pulsar,jmchilton/pulsar,jmchilton/lwr,galaxyproject/pulsar,natefoo/pulsar,natefoo/pulsar,jmchilton/pulsar,galaxyproject/pulsar,ssorgatem/pulsar,jmchilton/lwr | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | <commit_before>from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_s... | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_string, manager.... | <commit_before>from lwr.managers import status
from lwr.lwr_client import amqp_exchange
from lwr import manager_endpoint_util
import threading
import logging
log = logging.getLogger(__name__)
def bind_manager_to_queue(manager, queue_state, connection_string):
lwr_exchange = amqp_exchange.LwrExchange(connection_s... |
bd22996e282328a72f3995a62078ce6867a158fc | tests/test_register.py | tests/test_register.py | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_keys_are_known_fields(register):
for f... | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_primary_key_in_fields(register):
asser... | Test primary key in register fields | Test primary key in register fields
| Python | mit | openregister/registry-data | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_keys_are_known_fields(register):
for f... | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_primary_key_in_fields(register):
asser... | <commit_before>import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_keys_are_known_fields(regis... | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_primary_key_in_fields(register):
asser... | import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_keys_are_known_fields(register):
for f... | <commit_before>import pytest
from data import registers, fields, phases
@pytest.mark.parametrize('register', registers)
def test_register_key_matches_filename(register):
assert registers[register].register == register
@pytest.mark.parametrize('register', registers)
def test_register_keys_are_known_fields(regis... |
9305caf0bf2479b098703c8c7fb3b139f95576ec | vectorTiling.py | vectorTiling.py |
import json
import os
from urlparse import urlparse
import zipfile
import click
import adapters
from filters import BasicFilterer
import utils
import subprocess
@click.command()
@click.argument('file', type=click.Path(exists=True), required=True)
def vectorTiling(file):
""" Function that creates vector tiles
... |
import json
import click
import subprocess
import utils
import os
import logging
@click.command()
@click.argument('sources', type=click.Path(exists=True), required=True)
@click.argument('output', type=click.Path(exists=True), required=True)
@click.argument('min_zoom', default=5)
@click.argument('max_zoom', default... | Change of arguments, remove unused modules, source is now a directory | Change of arguments, remove unused modules, source is now a directory
| Python | mit | OpenBounds/Processing |
import json
import os
from urlparse import urlparse
import zipfile
import click
import adapters
from filters import BasicFilterer
import utils
import subprocess
@click.command()
@click.argument('file', type=click.Path(exists=True), required=True)
def vectorTiling(file):
""" Function that creates vector tiles
... |
import json
import click
import subprocess
import utils
import os
import logging
@click.command()
@click.argument('sources', type=click.Path(exists=True), required=True)
@click.argument('output', type=click.Path(exists=True), required=True)
@click.argument('min_zoom', default=5)
@click.argument('max_zoom', default... | <commit_before>
import json
import os
from urlparse import urlparse
import zipfile
import click
import adapters
from filters import BasicFilterer
import utils
import subprocess
@click.command()
@click.argument('file', type=click.Path(exists=True), required=True)
def vectorTiling(file):
""" Function that create... |
import json
import click
import subprocess
import utils
import os
import logging
@click.command()
@click.argument('sources', type=click.Path(exists=True), required=True)
@click.argument('output', type=click.Path(exists=True), required=True)
@click.argument('min_zoom', default=5)
@click.argument('max_zoom', default... |
import json
import os
from urlparse import urlparse
import zipfile
import click
import adapters
from filters import BasicFilterer
import utils
import subprocess
@click.command()
@click.argument('file', type=click.Path(exists=True), required=True)
def vectorTiling(file):
""" Function that creates vector tiles
... | <commit_before>
import json
import os
from urlparse import urlparse
import zipfile
import click
import adapters
from filters import BasicFilterer
import utils
import subprocess
@click.command()
@click.argument('file', type=click.Path(exists=True), required=True)
def vectorTiling(file):
""" Function that create... |
c6458e76c3c2323817ea32748e5ea6688986bede | zounds/persistence/util.py | zounds/persistence/util.py | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | Support the persistence of modules that accept arguments, provided that they have member variables that match the __init__ argument names | Support the persistence of modules that accept arguments, provided that they have member variables that match the __init__ argument names
| Python | mit | JohnVinyard/zounds,JohnVinyard/zounds,JohnVinyard/zounds,JohnVinyard/zounds | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | <commit_before>import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
tr... | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
try:
v = ... | <commit_before>import base64
import re
import numpy as np
TIMEDELTA_DTYPE_RE = re.compile(r'\[(?P<dtype>[^\]]+)\]')
def encode_timedelta(td):
dtype = TIMEDELTA_DTYPE_RE.search(str(td.dtype)).groupdict()['dtype']
return base64.b64encode(td.astype(np.uint64).tostring()), dtype
def decode_timedelta(t):
tr... |
1e393fb2bea443e98a591e781fb0827b33524fa0 | mezzanine_editor/models.py | mezzanine_editor/models.py | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | Check for editor_mode before creating editor user. | Check for editor_mode before creating editor user.
| Python | bsd-2-clause | renyi/mezzanine-editor | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | <commit_before>from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_edito... | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_editor_group(sender,... | <commit_before>from django.db import models
from django.db.models.signals import post_syncdb
from django.dispatch import receiver
from django.contrib.auth.models import Group
from mezzanine.conf import settings
from mezzanine.blog.models import BlogPost
@receiver(post_syncdb, sender=BlogPost)
def create_default_edito... |
99259c7543234f178ae64a6e4e753dce104ca3b8 | masters/master.client.webrtc.fyi/master_win_cfg.py | masters/master.client.webrtc.fyi/master_win_cfg.py | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | Fix builder triggering in client.webrtc.fyi | WebRTC: Fix builder triggering in client.webrtc.fyi
In https://codereview.chromium.org/867283002 I missed to
add the new builders to the triggering.
TBR=phoglund@chromium.org
Review URL: https://codereview.chromium.org/875733002
git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@293797 0039d316-1c4b-4281-b951-d87... | Python | bsd-3-clause | eunchong/build,eunchong/build,eunchong/build,eunchong/build | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | <commit_before># Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.Ann... | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()... | <commit_before># Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.Ann... |
933e7b61f5d7c73924ea89a6ce17acf39e4f9c8d | packages/Python/lldbsuite/test/lang/c/unicode/TestUnicodeSymbols.py | packages/Python/lldbsuite/test/lang/c/unicode/TestUnicodeSymbols.py | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(compiler="clang", compiler_version=['<', '7.0'])
def test_un... | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@skipIf(compiler="clang", compiler_version=['<', '7.0'])
def test_union_members(... | Change xfail to skipIf. The exact condition is really difficult to get right and doesn't add much signal. | Change xfail to skipIf. The exact condition is really difficult to get
right and doesn't add much signal.
git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@340574 91177308-0d34-0410-b5e6-96231b3b80d8
| Python | apache-2.0 | llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(compiler="clang", compiler_version=['<', '7.0'])
def test_un... | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@skipIf(compiler="clang", compiler_version=['<', '7.0'])
def test_union_members(... | <commit_before># coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(compiler="clang", compiler_version=['<', '7.0'])
... | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@skipIf(compiler="clang", compiler_version=['<', '7.0'])
def test_union_members(... | # coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(compiler="clang", compiler_version=['<', '7.0'])
def test_un... | <commit_before># coding=utf8
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class TestUnicodeSymbols(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(compiler="clang", compiler_version=['<', '7.0'])
... |
19bda5c7a2ebe38e856283423f64e1151eff4e80 | parktain/tests/test_bot.py | parktain/tests/test_bot.py | """Tests for the bot."""
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fails if exception gets raised.
logger(user, channel, message)
| """Tests for the bot."""
# Just setup db without any fixture magic.
from parktain.main import Base, engine
Base.metadata.create_all(engine)
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fai... | Create db before running tests. | Create db before running tests.
| Python | bsd-3-clause | punchagan/parktain,punchagan/parktain,punchagan/parktain | """Tests for the bot."""
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fails if exception gets raised.
logger(user, channel, message)
Create db before running tests. | """Tests for the bot."""
# Just setup db without any fixture magic.
from parktain.main import Base, engine
Base.metadata.create_all(engine)
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fai... | <commit_before>"""Tests for the bot."""
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fails if exception gets raised.
logger(user, channel, message)
<commit_msg>Create db before running t... | """Tests for the bot."""
# Just setup db without any fixture magic.
from parktain.main import Base, engine
Base.metadata.create_all(engine)
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fai... | """Tests for the bot."""
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fails if exception gets raised.
logger(user, channel, message)
Create db before running tests."""Tests for the bot."... | <commit_before>"""Tests for the bot."""
def test_no_logger_crash_if_no_user():
# Given
from parktain.main import logger
user, channel, message = None, '#CTESTING', 'Hello!'
# When
# Then: Test fails if exception gets raised.
logger(user, channel, message)
<commit_msg>Create db before running t... |
95529efca6a2e3c3544aeb306aaf62a02f2f5408 | primes.py | primes.py | import sys
Max=int(sys.argv[1]) # get Max from command line args
P = {x: True for x in range(2,Max)} # first assume numbers are prime
for i in range(2, int(Max** (0.5))): # until square root of Max
if P[i]: #
for j in range(i*i, Max, i): # mark all multiples of a prime
P[j]=False # as not beein... | import array
import math
import sys
n = int(sys.argv[1])
nums = array.array('i', [False] * 2 + [True] * (n - 2))
upper_lim = int(math.sqrt(n))
i = 2
while i <= upper_lim:
if nums[i]:
m = i**2
while m < n:
nums[m] = False
m += i
i += 1
print(len([x for x in nums if nums... | Make Python code equivalent to Ruby | Make Python code equivalent to Ruby
Using a dictionary instead is really unfair.
Small variation: m must not be equal to n. Not sure how the algorithm is meant is exactly...
| Python | mit | oliworx/chartbench,oliworx/chartbench,oliworx/chartbench,oliworx/chartbench,oliworx/chartbench | import sys
Max=int(sys.argv[1]) # get Max from command line args
P = {x: True for x in range(2,Max)} # first assume numbers are prime
for i in range(2, int(Max** (0.5))): # until square root of Max
if P[i]: #
for j in range(i*i, Max, i): # mark all multiples of a prime
P[j]=False # as not beein... | import array
import math
import sys
n = int(sys.argv[1])
nums = array.array('i', [False] * 2 + [True] * (n - 2))
upper_lim = int(math.sqrt(n))
i = 2
while i <= upper_lim:
if nums[i]:
m = i**2
while m < n:
nums[m] = False
m += i
i += 1
print(len([x for x in nums if nums... | <commit_before>import sys
Max=int(sys.argv[1]) # get Max from command line args
P = {x: True for x in range(2,Max)} # first assume numbers are prime
for i in range(2, int(Max** (0.5))): # until square root of Max
if P[i]: #
for j in range(i*i, Max, i): # mark all multiples of a prime
P[j]=False ... | import array
import math
import sys
n = int(sys.argv[1])
nums = array.array('i', [False] * 2 + [True] * (n - 2))
upper_lim = int(math.sqrt(n))
i = 2
while i <= upper_lim:
if nums[i]:
m = i**2
while m < n:
nums[m] = False
m += i
i += 1
print(len([x for x in nums if nums... | import sys
Max=int(sys.argv[1]) # get Max from command line args
P = {x: True for x in range(2,Max)} # first assume numbers are prime
for i in range(2, int(Max** (0.5))): # until square root of Max
if P[i]: #
for j in range(i*i, Max, i): # mark all multiples of a prime
P[j]=False # as not beein... | <commit_before>import sys
Max=int(sys.argv[1]) # get Max from command line args
P = {x: True for x in range(2,Max)} # first assume numbers are prime
for i in range(2, int(Max** (0.5))): # until square root of Max
if P[i]: #
for j in range(i*i, Max, i): # mark all multiples of a prime
P[j]=False ... |
c9d30e8873233adc84a6a7ed24423202e6538709 | kindergarten-garden/kindergarten_garden.py | kindergarten-garden/kindergarten_garden.py | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | Use unpacking for simpler code | Use unpacking for simpler code
| Python | agpl-3.0 | CubicComet/exercism-python-solutions | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | <commit_before>CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students =... | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students = sorted(student... | <commit_before>CHILDREN = ["Alice", "Bob", "Charlie", "David", "Eve", "Fred",
"Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry"]
PLANTS = {"C": "Clover", "G": "Grass", "R": "Radishes", "V": "Violets"}
class Garden(object):
def __init__(self, garden, students=CHILDREN):
self.students =... |
acfc4ed37950f9bead0ffb1a66fc79851e3e93a1 | Cython/CTypesBackend/CDefToDefTransform.py | Cython/CTypesBackend/CDefToDefTransform.py | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | Change the striping of parameters types (to be more robust) | Change the striping of parameters types (to be more robust)
| Python | apache-2.0 | rguillebert/CythonCTypesBackend,rguillebert/CythonCTypesBackend,rguillebert/CythonCTypesBackend,rguillebert/CythonCTypesBackend | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | <commit_before>from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the... | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the
# CodeWrit... | <commit_before>from Cython.Compiler.Visitor import VisitorTransform
from Cython.Compiler.Nodes import CSimpleBaseTypeNode
class CDefToDefTransform(VisitorTransform):
# Does not really turns cdefed function into defed function, it justs kills
# the arguments and the return types of the functions, we rely on the... |
8d0053681e41799d64fd2deaf96a34c802097530 | ckanserviceprototype/db.py | ckanserviceprototype/db.py | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=True)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
global... | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=False)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
globa... | Disable echo of sql alchemy | Disable echo of sql alchemy | Python | agpl-3.0 | ckan/ckan-service-provider,datawagovau/ckan-service-provider,deniszgonjanin/ckan-service-provider,ESRC-CDRC/ckan-service-provider | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=True)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
global... | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=False)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
globa... | <commit_before>import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=True)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_tabl... | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=False)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
globa... | import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=True)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_table():
global... | <commit_before>import sqlalchemy as sa
engine = None
metadata = None
task_table = None
metadata_table = None
def setup_db(db_url):
global engine, metadata
engine = sa.create_engine(db_url, echo=True)
metadata = sa.MetaData(engine)
make_task_table()
metadata.create_all(engine)
def make_task_tabl... |
07865610c4a44d827570949f06806cef3fbc4754 | labs/05_conv_nets_2/solutions/geom_avg.py | labs/05_conv_nets_2/solutions/geom_avg.py | heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True)
heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, 0.333)
display_... | from skimage.transform import resize
heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True, anti_ali... | Fix missing import in solution | Fix missing import in solution
| Python | mit | m2dsupsdlclass/lectures-labs,m2dsupsdlclass/lectures-labs | heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True)
heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, 0.333)
display_... | from skimage.transform import resize
heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True, anti_ali... | <commit_before>heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True)
heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, ... | from skimage.transform import resize
heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True, anti_aliasing=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True, anti_ali... | heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True)
heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, 0.333)
display_... | <commit_before>heatmap_1_r = resize(heatmap_1, (50,80), mode='reflect', preserve_range=True)
heatmap_2_r = resize(heatmap_2, (50,80), mode='reflect', preserve_range=True)
heatmap_3_r = resize(heatmap_3, (50,80), mode='reflect', preserve_range=True)
heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, ... |
2134b43d2e071f7fa6a284d0c564c7990fb6be75 | src/form_builder/admin.py | src/form_builder/admin.py | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
class FieldResponseInline(admin.StackedInline):
model = FieldResponse... | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
list_display = ['title', 'date_created', 'end_date']
search_fields ... | Fix up the Django Admin a little bit | Fix up the Django Admin a little bit
| Python | cc0-1.0 | cfpb/collab-form-builder,cfpb/collab-form-builder,cfpb/collab-form-builder,cfpb/collab-form-builder | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
class FieldResponseInline(admin.StackedInline):
model = FieldResponse... | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
list_display = ['title', 'date_created', 'end_date']
search_fields ... | <commit_before>from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
class FieldResponseInline(admin.StackedInline):
model ... | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
list_display = ['title', 'date_created', 'end_date']
search_fields ... | from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
class FieldResponseInline(admin.StackedInline):
model = FieldResponse... | <commit_before>from form_builder.models import Form, Field, FormResponse, FieldResponse
from django.contrib import admin
class FieldInline(admin.StackedInline):
model = Field
extra = 1
class FormAdmin(admin.ModelAdmin):
inlines = [FieldInline]
class FieldResponseInline(admin.StackedInline):
model ... |
1a01f99014ead675ba7d043a204cd5f3c47d74b3 | molecule/builder-trusty/tests/test_build_dependencies.py | molecule/builder-trusty/tests/test_build_dependencies.py | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | Fix test for wheel in Xenial and Trusty | Fix test for wheel in Xenial and Trusty
| Python | agpl-3.0 | conorsch/securedrop,heartsucker/securedrop,conorsch/securedrop,ehartsuyker/securedrop,conorsch/securedrop,ehartsuyker/securedrop,ehartsuyker/securedrop,heartsucker/securedrop,ehartsuyker/securedrop,conorsch/securedrop,heartsucker/securedrop,heartsucker/securedrop,ehartsuyker/securedrop,heartsucker/securedrop,conorsch/s... | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | <commit_before>import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Pytho... | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Python
dependenc... | <commit_before>import pytest
import os
SECUREDROP_TARGET_PLATFORM = os.environ.get("SECUREDROP_TARGET_PLATFORM", "trusty")
testinfra_hosts = [
"docker://{}-sd-app".format(SECUREDROP_TARGET_PLATFORM)
]
def test_pip_wheel_installed(Command):
"""
Ensure `wheel` is installed via pip, for packaging Pytho... |
48987cb9b5417232280482c681d3e055c1dee9a4 | snap7/bin/snap7-server.py | snap7/bin/snap7-server.py | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | Add option to start server passing lib path | Add option to start server passing lib path
| Python | mit | SimplyAutomationized/python-snap7,gijzelaerr/python-snap7,ellepdesk/python-snap7,SimplyAutomationized/python-snap7,ellepdesk/python-snap7 | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | <commit_before>#!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes... | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | #!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes[snap7.types.S7... | <commit_before>#!/usr/bin/env python
"""
This is an example snap7 server. It doesn't do much, but accepts
connection. Usefull for running the python-snap7 test suite.
"""
import time
import logging
import snap7
def mainloop():
server = snap7.server.Server()
size = 100
data = (snap7.types.wordlen_to_ctypes... |
5abea2d21c62228eb9a7270a1e10f9f7ec4316af | source/services/rotten_tomatoes_service.py | source/services/rotten_tomatoes_service.py | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | Remove comma for RT search | Remove comma for RT search
| Python | mit | jeremyrea/caterblu,jeremyrea/caterblu,jeremyrea/caterblu,jeremyrea/caterblu | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | <commit_before>import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = se... | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = self.__URL + self... | <commit_before>import requests
from bs4 import BeautifulSoup
from source.models.rt_rating import RTRating
class RottenTomatoesService:
__URL = 'http://www.rottentomatoes.com/m/'
__SEPERATOR = '_'
def __init__(self, title):
self.title = title
def get_rt_rating(self):
search_url = se... |
25d39a7b78860102f7971033227ec157789a40b3 | reporter/components/api_client.py | reporter/components/api_client.py | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host()
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "application/jso... | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host().rstrip("/")
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "app... | Update ApiClient host env var to CODECLIMATE_API_HOST | Update ApiClient host env var to CODECLIMATE_API_HOST
This commit also strips trailing slashes from the host.
| Python | mit | codeclimate/python-test-reporter,codeclimate/python-test-reporter | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host()
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "application/jso... | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host().rstrip("/")
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "app... | <commit_before>import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host()
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "... | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host().rstrip("/")
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "app... | import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host()
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "application/jso... | <commit_before>import json
import os
import requests
class ApiClient:
def __init__(self, host=None, timeout=5):
self.host = host or self.__default_host()
self.timeout = timeout
def post(self, payload):
print("Submitting payload to %s" % self.host)
headers = {"Content-Type": "... |
cad627a986f0d2ee897e9889e78473976cbeb69d | corehq/apps/app_manager/tests/test_suite.py | corehq/apps/app_manager/tests/test_suite.py | from django.utils.unittest.case import TestCase
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python/7060342#7060342
from doctest import Example
from lxml.doct... | from django.utils.unittest.case import TestCase
from casexml.apps.case.tests import check_xml_line_by_line
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python... | Revert "make test output a litte more intuitive" | Revert "make test output a litte more intuitive"
This reverts commit e09fa453b1bb72f08053d13cc3050012a20ba724.
| Python | bsd-3-clause | qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,puttarajubr/commcare-hq,SEL-Columbia/commcare-hq,SEL-Columbia/commcare-hq,gmimano/commcaretest,qedsoftware/commcare-hq,gmimano/commcaretest,SEL-Columbia/commcare-hq,puttarajubr/commcare-hq,qe... | from django.utils.unittest.case import TestCase
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python/7060342#7060342
from doctest import Example
from lxml.doct... | from django.utils.unittest.case import TestCase
from casexml.apps.case.tests import check_xml_line_by_line
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python... | <commit_before>from django.utils.unittest.case import TestCase
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python/7060342#7060342
from doctest import Example... | from django.utils.unittest.case import TestCase
from casexml.apps.case.tests import check_xml_line_by_line
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python... | from django.utils.unittest.case import TestCase
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python/7060342#7060342
from doctest import Example
from lxml.doct... | <commit_before>from django.utils.unittest.case import TestCase
from corehq.apps.app_manager.models import Application
from corehq.apps.app_manager.tests.util import TestFileMixin
# snippet from http://stackoverflow.com/questions/321795/comparing-xml-in-a-unit-test-in-python/7060342#7060342
from doctest import Example... |
d01e69ccde63a2908b73298f3b120ee593e2ef2f | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.1',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.2',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | Test commit: Updating version number | Test commit: Updating version number
| Python | apache-2.0 | CitrineInformatics/pif-dft | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.1',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.2',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | <commit_before>from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.1',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
... | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.2',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.1',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
url='https:/... | <commit_before>from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dfttopif',
version='0.0.1',
description='Library for parsing Density Functional Theory calculations',
long_description=readme,
... |
84b4fc8fdc3808340293c076a1628bf0decd2d2c | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.2",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.3",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | Add python-daemon as a dep | Add python-daemon as a dep
| Python | bsd-3-clause | arachnidlabs/minishift-python | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.2",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.3",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.2",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
... | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.3",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | #!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.2",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
packages=["... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name="minishift-python",
version="0.1.2",
description="Python interface for the minishift",
author="Nick Johnson",
author_email="nick@arachnidlabs.com",
url="https://github.com/arachnidlabs/minishift-python/",
... |
6c862bc65a560158bb503ecf91b13845396c832a | setup.py | setup.py |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interacive graphical tool for single-cell genomics data, with e... |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interactive graphical tool for single-cell genomics data, with ... | Fix a typo: interacive -> interactive | Fix a typo: interacive -> interactive | Python | mit | KrasnitzLab/SCGV |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interacive graphical tool for single-cell genomics data, with e... |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interactive graphical tool for single-cell genomics data, with ... | <commit_before>
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interacive graphical tool for single-cell genomi... |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interactive graphical tool for single-cell genomics data, with ... |
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interacive graphical tool for single-cell genomics data, with e... | <commit_before>
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="scgv",
version="1.0.1",
author="Lubomir Chorbadjiev",
author_email="lubomir.chorbadjiev@gmail.com",
description="SCGV is an interacive graphical tool for single-cell genomi... |
fd80964656f6af507a754f4fc4c7bceaca74da60 | setup.py | setup.py | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | Add the 3.2 trove classifier since it's technically supported for now. | Add the 3.2 trove classifier since it's technically supported for now.
| Python | bsd-3-clause | ubernostrum/django-contact-form,ubernostrum/django-contact-form | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | <commit_before>import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
... | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
'READ... | <commit_before>import os
from setuptools import setup
setup(name='django-contact-form',
version='1.2',
zip_safe=False, # eggs are the devil.
description='Generic contact-form application for Django',
long_description=open(os.path.join(os.path.dirname(__file__),
... |
89cf43d302b3c14e9e42517cb4ff4baca7e45380 | pyflation/configuration.py | pyflation/configuration.py | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | Add explanation about default log level. | Add explanation about default log level.
| Python | bsd-3-clause | ihuston/pyflation,ihuston/pyflation | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | <commit_before>"""Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME... | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | """Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME = "applogs"
QS... | <commit_before>"""Configuration file for harness.py
Author: Ian Huston
"""
import logging
# Directory structure
# Change the names of various directories
#Change to using the base run directory with bin, pyflation, scripts immediately below.
CODEDIRNAME = "."
RUNDIRNAME = "runs"
RESULTSDIRNAME = "results"
LOGDIRNAME... |
dacff8c0006271fe020b915d0f51f4d23e86b00c | app/soc/modules/gsoc/logic/slot_transfer.py | app/soc/modules/gsoc/logic/slot_transfer.py | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | Modify the logic to get slot transfer entities to return all the entities per org. | Modify the logic to get slot transfer entities to return all the entities per org.
The logic is now changed from having only one slot transfer entity per org to multiple
slot transfer entities per org.
--HG--
extra : rebase_source : d5526723d69356f4d076143f4dc537c7eeed74c0
| Python | apache-2.0 | rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | <commit_before>#!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | <commit_before>#!/usr/bin/env python2.5
#
# Copyright 2011 the Melange 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... |
f8aae767944cb6fe6163eb3eb99d08b12458060f | GoogleCalendarV3/setup.py | GoogleCalendarV3/setup.py | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.1',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.2',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | Update dependencies and update version. | Update dependencies and update version.
| Python | apache-2.0 | priyadarshy/google-calendar-v3,mbrondani/google-calendar-v3 | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.1',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.2',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | <commit_before>from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.1',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/g... | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.2',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.1',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/google-calendar-... | <commit_before>from distutils.core import setup
setup(
name='GoogleCalendarV3',
version='0.1.1',
author='Ashutosh Priyadarshy',
author_email='static@siftcal.com',
packages=['google_calendar_v3', 'google_calendar_v3.test'],
scripts=['bin/example.py'],
url='http://www.github.com/priyadarshy/g... |
22118646f5776b1174b400a7db96533b7783a84f | setup.py | setup.py | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | Add Python 3.5 trove classifier. | Add Python 3.5 trove classifier.
| Python | bsd-3-clause | jezdez/django-hosts | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | <commit_before>import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static ... | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static host resolving ... | <commit_before>import codecs
from os import path
from setuptools import setup, find_packages
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='django-hosts',
description='Dynamic and static ... |
613c01517288ef7d3170dd7ab4dc2d3541a77168 | chainerrl/misc/is_return_code_zero.py | chainerrl/misc/is_return_code_zero.py | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | Fix ResourceWarning: unclosed file of devnull | Fix ResourceWarning: unclosed file of devnull
| Python | mit | toslunar/chainerrl,toslunar/chainerrl | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | <commit_before>from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff ... | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff the given comma... | <commit_before>from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import subprocess
def is_return_code_zero(args):
"""Return true iff ... |
30917d894dd03af7a4f07230874921acf5bbfa08 | dduplicated/fileManager.py | dduplicated/fileManager.py | import os
def managerFiles(paths, link):
first = True
src = ""
for path in paths:
if first:
first = False
src = path
print("PRESERVED: The file preserved is: \"" + path + "\"")
else:
os.remove(path)
print("DELETE: File deleted: \"" + path + "\"")
if link:
os.symlink(src, path)
print(... | import os
from threading import Thread
def _delete(path):
os.remove(path)
def _link(src, path):
os.symlink(src, path)
def manager_files(paths, link):
# The first file is preserved to not delete all files in directories.
first = True
src = ""
deleted_files = []
linked_files = []
errors = []
for path in pat... | Adjust spaces and names of variables. Add format of thread to delete and link files. Add to methods of link, delete results of files deleted, linked and with error to list and return for caller method. | Adjust spaces and names of variables.
Add format of thread to delete and link files.
Add to methods of link, delete results of files deleted, linked and with error to list and return for caller method.
Signed-off-by: messiasthi <8562fc1efba9a3c99753c749fdfb1b6932b70fbf@gmail.com>
| Python | mit | messiasthi/dduplicated-cli | import os
def managerFiles(paths, link):
first = True
src = ""
for path in paths:
if first:
first = False
src = path
print("PRESERVED: The file preserved is: \"" + path + "\"")
else:
os.remove(path)
print("DELETE: File deleted: \"" + path + "\"")
if link:
os.symlink(src, path)
print(... | import os
from threading import Thread
def _delete(path):
os.remove(path)
def _link(src, path):
os.symlink(src, path)
def manager_files(paths, link):
# The first file is preserved to not delete all files in directories.
first = True
src = ""
deleted_files = []
linked_files = []
errors = []
for path in pat... | <commit_before>import os
def managerFiles(paths, link):
first = True
src = ""
for path in paths:
if first:
first = False
src = path
print("PRESERVED: The file preserved is: \"" + path + "\"")
else:
os.remove(path)
print("DELETE: File deleted: \"" + path + "\"")
if link:
os.symlink(src, p... | import os
from threading import Thread
def _delete(path):
os.remove(path)
def _link(src, path):
os.symlink(src, path)
def manager_files(paths, link):
# The first file is preserved to not delete all files in directories.
first = True
src = ""
deleted_files = []
linked_files = []
errors = []
for path in pat... | import os
def managerFiles(paths, link):
first = True
src = ""
for path in paths:
if first:
first = False
src = path
print("PRESERVED: The file preserved is: \"" + path + "\"")
else:
os.remove(path)
print("DELETE: File deleted: \"" + path + "\"")
if link:
os.symlink(src, path)
print(... | <commit_before>import os
def managerFiles(paths, link):
first = True
src = ""
for path in paths:
if first:
first = False
src = path
print("PRESERVED: The file preserved is: \"" + path + "\"")
else:
os.remove(path)
print("DELETE: File deleted: \"" + path + "\"")
if link:
os.symlink(src, p... |
db91601c7ad50f0db45eb817be74651acdb82f50 | tests/example_project/tests/test_newman/test_articles.py | tests/example_project/tests/test_newman/test_articles.py | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | Add some Czech character to test, too | Add some Czech character to test, too
| Python | bsd-3-clause | whalerock/ella,ella/ella,petrlosa/ella,MichalMaM/ella,WhiskeyMedia/ella,whalerock/ella,WhiskeyMedia/ella,MichalMaM/ella,whalerock/ella,petrlosa/ella | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | <commit_before># -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.ele... | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | # -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.elements['navigati... | <commit_before># -*- coding: utf-8 -*-
from ella.articles.models import Article
from example_project.tests.test_newman.helpers import NewmanTestCase
class TestArticleBasics(NewmanTestCase):
def test_article_template_saving(self):
s = self.selenium
# go to article adding
s.click(self.ele... |
057a76ac598e90f0f17cf3f24b0a00c146331b6c | setup.py | setup.py | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | Add in html5lib as a requirement for Python 2.6 | Add in html5lib as a requirement for Python 2.6
This should fix https://travis-ci.org/Manishearth/ChatExchange/jobs/179059319.
| Python | apache-2.0 | Charcoal-SE/ChatExchange,Charcoal-SE/ChatExchange | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | <commit_before>import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
... | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for... | <commit_before>import setuptools
setuptools.setup(
name='ChatExchange',
version='0.0.3',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
... |
6499c06d1f574b8593e3ede7529cfe6532a001c1 | src/mailme/constants.py | src/mailme/constants.py |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... | Add flag mapping to match folder roles | Add flag mapping to match folder roles
| Python | bsd-3-clause | mailme/mailme,mailme/mailme |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... | <commit_before>
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
... |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... |
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
'drafts': D... | <commit_before>
# Folder name mappings, based on http://tools.ietf.org/html/rfc6154
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'
# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
'inbox': INBOX,
... |
706eacbbf1ed4129e2f616c3e4c8a15f915cc549 | setup.py | setup.py | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | Update name of Syre script in install | Update name of Syre script in install
| Python | isc | jaj42/infupy | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | <commit_before>from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
pac... | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
packages = ['i... | <commit_before>from setuptools import setup
setup(name = 'infupy',
version = '0.1',
description = 'Syringe pump infusion',
url = 'https://github.com/jaj42/infupy',
author = 'Jona Joachim',
author_email = 'jona@joachim.cc',
license = 'ISC',
pac... |
c71ea81d3bb42c2664824b21bae67cea1eb02239 | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | Fix typo in entry point name | Fix typo in entry point name
| Python | mit | guykisel/pre-commit-robotframework-tidy | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy... | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy tool.',
ur... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import find_packages, setup
install_requires = ['robotframework']
if sys.version_info < (2, 7):
install_requires.append('argparse')
setup(
name='pre_commit_robotframework_tidy',
description='A pre-commit hook to run Robot Framework\'s tidy... |
cf34bda66a0b5518c0f27e0446c7ee3f98e2d886 | setup.py | setup.py | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | Add etc/* files to wheel | Add etc/* files to wheel
| Python | mit | wpf710/app-proxy,HOQTEC/MCP,myxemhoho/mutil-cloud-manage-paltform,wpf710/app-proxy,softlayer/jumpgate,HOQTEC/MCP,softlayer/jumpgate,myxemhoho/mutil-cloud-manage-paltform | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | <commit_before>from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('p... | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('py2-ipaddress')
... | <commit_before>from setuptools import setup, find_packages
import sys
install_requires_list = [
'falcon>=0.1.8',
'requests',
'six>=1.4.1',
'oslo.config>=1.2.0',
'softlayer',
'pycrypto',
'iso8601',
]
if sys.version_info[0] < 3:
install_requires_list.append('p... |
3a99fe6a6ce44d40d139836257bdddcc099d469d | setup.py | setup.py | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | Exclude a supplementary directory from set of directories where packages can be located | ci: Exclude a supplementary directory from set of directories where packages can be located
| Python | mit | Nikolay-Lysenko/dsawl | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | <commit_before>"""
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=... | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | """
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dsawl',
ve... | <commit_before>"""
Just a regular `setup.py` file.
@author: Nikolay Lysenko
"""
import os
from setuptools import setup, find_packages
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=... |
f135c4bf7bb1e38e1c60a6325b57096b0a5fe41d | setup.py | setup.py | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | Add forgotten dependency on PyJWT | Add forgotten dependency on PyJWT
| Python | mit | tgs/django-badgekit-webhooks | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | <commit_before>import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thoma... | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thomathom@gmail.com"... | <commit_before>import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="Thomas Grenfell Smith",
author_email="thoma... |
54b33692ce7057a600f04397e796dca6061496db | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | Use new name of README. | Use new name of README. | Python | bsd-3-clause | tloiret/django-authority,luzfcb/django-authority,jezdez/django-authority,shashkin/django-authority,PolicyStat/django-authority,barseghyanartur/django-authority,nebstrebor/django-authority,AminKAli/django-authority,DylanLukes/django-authority,jazzband/django-authority,jazzband/django-authority,shashkin/django-authority,... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Djang... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Django's auth app."
... | <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-authority',
version='0.7',
description=(
"A Django app that provides generic per-object-permissions "
"for Djang... |
01935ec30bba8b3733f716acf52ba32cb3a03974 | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | Fix typo in package description | Fix typo in package description
| Python | agpl-3.0 | luac/django-argcache,luac/django-argcache | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
ve... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
version='0.1',
... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.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='django-argcache',
ve... |
cfd6bdc7fb2911e501d307a964329dd3f7375997 | setup.py | setup.py | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.0.5b',
description = 'Simple Redis work queue with added features (priorities, ... | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.1',
description = 'Simple Redis work queue with added features (priorities, pop... | Clean pip build, bump version | Clean pip build, bump version
| Python | mit | gabfl/redis-priority-queue,gabfl/redis-priority-queue,gabfl/redis-priority-queue | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.0.5b',
description = 'Simple Redis work queue with added features (priorities, ... | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.1',
description = 'Simple Redis work queue with added features (priorities, pop... | <commit_before>from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.0.5b',
description = 'Simple Redis work queue with added feature... | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.1',
description = 'Simple Redis work queue with added features (priorities, pop... | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.0.5b',
description = 'Simple Redis work queue with added features (priorities, ... | <commit_before>from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup (
name = 'rpq',
version = '1.0.5b',
description = 'Simple Redis work queue with added feature... |
2b3333ea6e15884955cbad203dfc777b8c238dc3 | sipa/model/pycroft/schema.py | sipa/model/pycroft/schema.py | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | Use decimal instead of int for money | Use decimal instead of int for money
| Python | mit | MarauderXtreme/sipa,MarauderXtreme/sipa,agdsn/sipa,agdsn/sipa,MarauderXtreme/sipa,agdsn/sipa,agdsn/sipa | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | <commit_before># -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status... | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | # -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status: UserStatus
... | <commit_before># -*- coding: utf-8 -*-
from __future__ import annotations
from datetime import date
from decimal import Decimal
from typing import List, Optional
from sipa.model.pycroft.unserialize import unserializer
@unserializer
class UserData:
id: int
user_id: str
login: str
name: str
status... |
d9cacfb1875961b6bc31ccaffd1b65b9ea00906c | setup.py | setup.py | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | Correct version for the master branch | Correct version for the master branch
| Python | mit | johnhw/pyspacenavigator | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | <commit_before>from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",... | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",
url="https... | <commit_before>from distutils.core import setup
setup(
name="spacenavigator",
# packages = ['spacenavigator'], # this must be the same as the name above
version="0.2.1",
description="Python interface to the 3DConnexion Space Navigator",
author="John Williamson",
author_email="johnhw@gmail.com",... |
7335509eb20bcc1d871c58d66f1cc1e4be0b11bd | setup.py | setup.py | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | Add Python version trove classifiers | Add Python version trove classifiers
| Python | bsd-2-clause | Suor/django-easymoney | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | <commit_before>from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymo... | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymoney',
licen... | <commit_before>from setuptools import setup
setup(
name='django-easymoney',
version='0.5',
author='Alexander Schepanovski',
author_email='suor.web@gmail.com',
description='An easy MoneyField for Django.',
long_description=open('README.rst').read(),
url='http://github.com/Suor/django-easymo... |
8edf45c173bddcb770f9d37c0bc3c5ecaea38452 | setup.py | setup.py | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | Add colorama as a dependency | Add colorama as a dependency
| Python | mit | cadyyan/technic-solder-client,durandj/technic-solder-client | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | <commit_before>#!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/... | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | #!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/cadyyan/technic... | <commit_before>#!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
setup(
name = 'technic-solder-client',
version = '1.0',
description = 'Python implementation of a Technic Solder client',
author = 'Cadyyan',
url = 'https://github.com/... |
c04e0c7938c6c6ffae3b40b4d1bcd9faeaf284d0 | setup.py | setup.py | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/johnsdea/hamper-poll',
... | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/dean/hamper-poll',
inst... | Update url with new Github username. | Update url with new Github username.
| Python | mpl-2.0 | dean/hamper-poll | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/johnsdea/hamper-poll',
... | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/dean/hamper-poll',
inst... | <commit_before>from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/johnsdea/ham... | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/dean/hamper-poll',
inst... | from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/johnsdea/hamper-poll',
... | <commit_before>from distutils.core import setup
with open('requirements.txt') as f:
requirements = [l.strip() for l in f]
setup(
name='hamper-poll',
version='0.1',
packages=['hamper-poll'],
author='Dean Johnson',
author_email='deanjohnson222@gmail.com',
url='https://github.com/johnsdea/ham... |
f121f72af87b64106449789f46d95e1a0032530f | setup.py | setup.py | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | Change manage.py to require Pillow 2.0.0 This is to avoid PIL import errors for Mac users | Change manage.py to require Pillow 2.0.0 This is to avoid PIL import errors for Mac users
| Python | bsd-3-clause | RossLYoung/django-photologue,MathieuDuponchelle/my_patched_photologue,rmaceissoft/django-photologue,jlemaes/django-photologue,jlemaes/django-photologue,MathieuDuponchelle/my_patched_photologue,seedwithroot/django-photologue-clone,rmaceissoft/django-photologue,RossLYoung/django-photologue,RossLYoung/django-photologue,jl... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... |
ff0c5db75efd33176121ed370457c82650248d54 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | Revert "added geotagging to path" | Revert "added geotagging to path"
This reverts commit 54ac4a9ec3ddc0876be202546dc4de00a33389f8.
| Python | bsd-3-clause | lincolnloop/django-geotagging-new,lincolnloop/django-geotagging-new | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='http... | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='https://github.com/... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-geotagging-new',
version='0.2.0',
description=('This is a geotagging application. '
'It can be used to localize your content.'),
author='Nicolas Lara',
author_email='nicolaslara@gmail.com',
url='http... |
80735a39094b6a317e7adc299c5055ad3a961920 | setup.py | setup.py | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | Add py3.6 to supported version | Add py3.6 to supported version
| Python | bsd-3-clause | Kyria/EsiPy,a-tal/EsiPy | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | <commit_before>import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"futur... | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"future",
"pytho... | <commit_before>import esipy
import io
from setuptools import setup
# install requirements
install_requirements = [
"requests",
"pyswagger",
"six",
"pytz",
]
# test requirements
test_requirements = [
"coverage",
"coveralls",
"httmock",
"nose",
"mock",
"futur... |
0e7ee2dc40abf379656ae31a45178dbe2d4fcd28 | setup.py | setup.py | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | Add content type for proper PyPI rendering | Add content type for proper PyPI rendering
| Python | mit | saghul/aiodns | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | <commit_before># -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version ... | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | <commit_before># -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version ... |
2debdb1e8eeda68368096f99ddffb0cc93f4095b | purchase_discount/models/purchase_order.py | purchase_discount/models/purchase_order.py | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | Fix issue with multiple lines | Fix issue with multiple lines
| Python | agpl-3.0 | Eficent/purchase-workflow,SerpentCS/purchase-workflow,SerpentCS/purchase-workflow,SerpentCS/purchase-workflow,Eficent/purchase-workflow | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | <commit_before># -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrde... | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | # -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrderLine(models.Mo... | <commit_before># -*- coding: utf-8 -*-
# © 2004-2009 Tiny SPRL (<http://tiny.be>).
# © 2015 Pedro M. Baeza
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
import openerp.addons.decimal_precision as dp
class PurchaseOrde... |
20ffe76f5bfa8824445a566e335182d7bf574f67 | platformio_api/__init__.py | platformio_api/__init__.py | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | Increase lib repo size to 50Mb | Increase lib repo size to 50Mb
| Python | apache-2.0 | orgkhnargh/platformio-api,platformio/platformio-api | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | <commit_before># Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https:... | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | # Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https://github.com/iv... | <commit_before># Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
import json
import logging.config
import os
from time import tzset
VERSION = (0, 3, 0)
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio-api"
__description__ = ("An API for PlatformIO")
__url__ = "https:... |
223aca4365e8fa3f5311ed15ede4cc30792bafca | scripts/cluster/craq/restart_craq_local.py | scripts/cluster/craq/restart_craq_local.py | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen(['python', './cluster/... | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen('./cluster/craq/start_... | Fix paths to start_craq scripts. | Fix paths to start_craq scripts.
| Python | bsd-3-clause | sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen(['python', './cluster/... | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen('./cluster/craq/start_... | <commit_before>#!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen(['pytho... | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen('./cluster/craq/start_... | #!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen(['python', './cluster/... | <commit_before>#!/usr/bin/python
import sys
import subprocess
import time
def main():
print "Starting zookeeper"
subprocess.Popen('./cluster/zookeeper/start_zookeeper.sh', shell=True)
print "Finished starting zookeeper"
time.sleep(45)
print "Starting Craqs"
subprocess.Popen(['pytho... |
b263ebe89eaf162540f0437a6a7a01848bffe587 | kpi/deployment_backends/kc_access/storage.py | kpi/deployment_backends/kc_access/storage.py | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | Fix KoboS3Storage deprecated bucket and acl arguments | Fix KoboS3Storage deprecated bucket and acl arguments
| Python | agpl-3.0 | kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | <commit_before># coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FI... | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | # coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FILE_STORAGE` val... | <commit_before># coding: utf-8
from django.conf import settings as django_settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
def get_kobocat_storage():
"""
Return an instance of a storage object depending on the setting
`KOBOCAT_DEFAULT_FI... |
531a0f24297d049ee177340f1631025e420e302d | setup.py | setup.py | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | Remove argparse dependency (not necessary) | Remove argparse dependency (not necessary)
| Python | mpl-2.0 | mozilla/build-runner,mozilla/build-runner | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",... |
075eaeb44046f07eee11a05fc693e23a30ac3963 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | Add graphitesend dependency for graphiteservice output. | Add graphitesend dependency for graphiteservice output.
| Python | bsd-3-clause | amorphic/braubuddy,amorphic/braubuddy,amorphic/braubuddy | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | <commit_before>from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages... | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages=find_packages(... | <commit_before>from setuptools import setup, find_packages
setup(
name='braubuddy',
version='0.3.0',
author='James Stewart',
author_email='jstewart101@gmail.com',
description='An extensile thermostat framework',
long_description=open('README.rst').read(),
license='LICENSE.txt',
packages... |
1af44acebd1d8571f6153df61946857e7cf32154 | setup.py | setup.py |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'akuchlin@mems-exchange.org',
... |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'amk@amk.ca',
packages = ['t... | Update e-mail address; remove obsolete web page | Update e-mail address; remove obsolete web page
| Python | mit | akuchling/texlib |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'akuchlin@mems-exchange.org',
... |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'amk@amk.ca',
packages = ['t... | <commit_before>
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'akuchlin@mems-excha... |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'amk@amk.ca',
packages = ['t... |
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'akuchlin@mems-exchange.org',
... | <commit_before>
# setup.py file for texlib
from distutils.core import setup
setup(name = 'texlib', version = '0.01',
description = ("A package of Python modules for dealing with "
"various TeX-related file formats."),
author = 'A.M. Kuchling',
author_email = 'akuchlin@mems-excha... |
2b20a3db9d4e45451b2fa8ae886935d113af6e2a | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/sroberts/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests', 'GeoI... | from setuptools import setup, find_packages
setup(
name="cnd-utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/yolothreat/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests',... | Rename to avoid PyPI namespace collision | Rename to avoid PyPI namespace collision
| Python | mit | yolothreat/utilitybelt,yolothreat/utilitybelt | from setuptools import setup, find_packages
setup(
name="utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/sroberts/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests', 'GeoI... | from setuptools import setup, find_packages
setup(
name="cnd-utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/yolothreat/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests',... | <commit_before>from setuptools import setup, find_packages
setup(
name="utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/sroberts/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['r... | from setuptools import setup, find_packages
setup(
name="cnd-utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/yolothreat/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests',... | from setuptools import setup, find_packages
setup(
name="utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/sroberts/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['requests', 'GeoI... | <commit_before>from setuptools import setup, find_packages
setup(
name="utilitybelt",
version="0.1",
description="Utilities to make you a CND Batman",
url="https://github.com/sroberts/utilitybelt",
license="MIT",
packages=find_packages(),
include_package_data=True,
install_requires=['r... |
0499d0910f624268ad098c1ea5193dc8e39c1729 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.4',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.5',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | Update the PyPI version to 7.0.5. | Update the PyPI version to 7.0.5.
| Python | mit | Doist/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.4',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.5',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.4',
packages=['todoist', 'todoist.managers'],
auth... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.5',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.4',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.4',
packages=['todoist', 'todoist.managers'],
auth... |
5ada6a5084c25bcee71f7a1961f60c5decaed9d4 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | Update development status trove classifier from Alpha to Beta | Update development status trove classifier from Alpha to Beta
| Python | bsd-3-clause | runeh/carrot,ask/carrot,ask/carrot | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot._... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot.__version__,
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import carrot
setup(
name='carrot',
version=carrot._... |
b656fb28a9ff2fc797ec5f74c07830b3b255b2b4 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit-xml-output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | Rename the package name to junit-xml-output. | Rename the package name to junit-xml-output.
Signed-off-by: David Black <c4b737561a711e07c31fd1e1811f33a5d770e31c@atlassian.com>
| Python | mit | dbaxa/python-junit-xml-output | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit-xml-output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/pytho... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit-xml-output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/pytho... |
df1f2e491f9cdc06d86c1300b80476b66dbb4ae0 | setup.py | setup.py | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | Update license text and classifiers and README ext | Update license text and classifiers and README ext
| Python | apache-2.0 | benji-york/manuel | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | <commit_before>##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# ... | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | ##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE ... | <commit_before>##############################################################################
#
# Copyright Benji York and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Apache License, Version
# 2.0.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# ... |
a65c8287e0d5e850173375a2e852b29a905ffbf1 | tools/telemetry/telemetry/core/possible_browser.py | tools/telemetry/telemetry/core/possible_browser.py | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | Make browser_type a property of PossibleBrowser. | Make browser_type a property of PossibleBrowser.
BUG=NONE
TEST=run_tests
NOTRY=true
Review URL: https://codereview.chromium.org/12479003
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@186537 0039d316-1c4b-4281-b951-d872f2087c98
| Python | bsd-3-clause | patrickm/chromium.src,dednal/chromium.src,patrickm/chromium.src,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,patrickm/chromium.src,axinging/chromium-crosswalk,dushu1203/chromium.src,Pluto-tv/chromium-crosswal... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | <commit_before># Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
"""
def __in... | <commit_before># Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class PossibleBrowser(object):
"""A browser that can be controlled.
Call Create() to launch the browser and begin manipulating it..
... |
6899699e5e65aa7437c7fb8e79e572eac3e35d9e | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | Add version constraint for faker | Add version constraint for faker
| Python | mit | mfussenegger/cr8 | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | <commit_before>#!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegge... | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | #!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegger/cr8',
des... | <commit_before>#!/usr/bin/env python
from setuptools import setup
try:
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name='cr8',
author='Mathias Fußenegger',
author_email='pip@zignar.net',
url='https://github.com/mfussenegge... |
f51bf6b74ddb8e76f92bfd27e142e07b90e99686 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.2',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.3',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | Update dependency on annotator -> v0.6.3 | Update dependency on annotator -> v0.6.3
| Python | agpl-3.0 | openannotation/annotateit,openannotation/annotateit | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.2',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.3',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.2',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
... | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.3',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.2',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
'SQLAlchemy==... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'annotateit',
version = '2.0.0',
packages = find_packages(),
install_requires = [
'annotator==0.6.2',
'Flask==0.8',
'Flask-Mail==0.6.1',
'Flask-SQLAlchemy==0.15',
'Flask-WTF==0.5.2',
... |
0e2e9805547af34eb42392d027e1abcb5ba88241 | setup.py | setup.py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | Add nose to tests dependencies | Add nose to tests dependencies
| Python | agpl-3.0 | openfisca/country-template,openfisca/country-template | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
keywords='ben... | <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='0.1.0',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'Template of a tax and benefit system for OpenFisca',
... |
fe18920e3599b3748965606d9b3ecc27feac728b | setup.py | setup.py | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.1',
url='https://github.com/ema/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments o... | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.2',
url='http://pythonhosted.org/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments ... | Update homepage field, release version 0.2 | Update homepage field, release version 0.2
| Python | bsd-3-clause | ema/nubo | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.1',
url='https://github.com/ema/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments o... | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.2',
url='http://pythonhosted.org/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments ... | <commit_before>"""
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.1',
url='https://github.com/ema/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machin... | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.2',
url='http://pythonhosted.org/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments ... | """
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.1',
url='https://github.com/ema/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machine deployments o... | <commit_before>"""
nubo
----
An easy way to deploy Linux VMs on different cloud providers.
"""
from setuptools import setup
setup(
name='nubo',
version='0.1',
url='https://github.com/ema/nubo',
license='BSD',
author='Emanuele Rocca',
author_email='ema@linux.it',
description='Virtual Machin... |
1db46b8c04ad8154ca2423612120623dd9cfb413 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | Set the Development Status to Beta | Set the Development Status to Beta
| Python | mit | kfdm/gntp | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',
url='http://g... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gntp.version import __version__
setup(
name='gntp',
description='Growl Notification Transport Protocol for Python',
long_description=open('README.rst').read(),
author='Paul Traylor',... |
b8636987742455d440ebe2fcfb77c41be56e8f39 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | Add Django as a requirement | Add Django as a requirement
Django>=1.3 is required, although >=1.4.1 is recommended
| Python | bsd-2-clause | python-force/django-bleach | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Djang... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Django models and te... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-bleach',
version="0.1.3",
description='Easily use bleach with Djang... |
d0cf0ca508f50896aee52c4de01ea68e76cf8122 | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | Add consolescripts entry to produce 'dotsecrets' cli script | Add consolescripts entry to produce 'dotsecrets' cli script
| Python | bsd-3-clause | oohlaf/dotsecrets | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
description=... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyyaml',
]
setup(name='dotsecrets',
version='0.0',
... |
05d6bbe3e6797a9991a9bae9e48c6d01948a438f | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | Update list of supported programming languages | Update list of supported programming languages
| Python | apache-2.0 | jcrobak/parquet-python | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-pyt... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
licen... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-pyt... |
6e9f00e125be110fd812d18b3b3cee188d8ed131 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | Add video convert script to install. | Add video convert script to install.
| Python | bsd-2-clause | tskisner/photosort | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | <commit_before>#!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.matc... | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | #!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.match("__version__ ... | <commit_before>#!/usr/bin/env python
import os
import sys
import re
from setuptools import find_packages, setup, Extension
def get_version():
ver = 'unknown'
if os.path.isfile("photosort/_version.py"):
f = open("photosort/_version.py", "r")
for line in f.readlines():
mo = re.matc... |
b4d4fa9cfcecf5810d416ccae5be67df33e01d3a | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | Set lowest version of oic to use | Set lowest version of oic to use
Signed-off-by: Ivan Kanakarakis <f60d6943d72436645c4304926eeeac2718a1142c@gmail.com>
| Python | apache-2.0 | its-dirg/pyop | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | <commit_before>from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.s... | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.se',
descrip... | <commit_before>from setuptools import setup, find_packages
setup(
name='pyop',
version='3.0.0',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/IdentityPython/pyop',
license='Apache 2.0',
author='Rebecka Gulliksson',
author_email='satosa-dev@lists.sunet.s... |
38f6cdfa85b5f5839f7f7c06ba416dc91b1e1317 | setup.py | setup.py | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | Use more standard compliant glob syntax | Use more standard compliant glob syntax
| Python | apache-2.0 | cberner/rospilot,rospilot/rospilot,cberner/rospilot,cberner/rospilot,rospilot/rospilot,cberner/rospilot,cberner/rospilot,rospilot/rospilot,cberner/rospilot,rospilot/rospilot,rospilot/rospilot,rospilot/rospilot | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | <commit_before># ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={... | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | # ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={'': 'src'},
... | <commit_before># ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['rospilot', 'rospilot.assets', 'vlc_server'],
package_dir={... |
89f8e591b617947abd841bec8d75a33d6f698ee5 | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | Fix email address for pypi | Fix email address for pypi
| Python | mit | fpietka/rds-pgbadger | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger'... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger',
author=... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='rdspgbadger',
version='1.2.0',
description=("Fetch logs from RDS postgres instance and use them with "
"pgbadger to generate a report."),
url='http://github.com/fpietka/rds-pgbadger'... |
0357b2a276ae5bf988dd2e6cf89ee9cae2a14f57 | setup.py | setup.py | from setuptools import setup
setup(
name='plumbium',
version='0.0.5',
packages=['plumbium'],
zip_safe=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
plumbium=plumbium.cli:cli
''',
author='Jon Stutters',
author_email='j.stutters@uc... | from setuptools import setup
setup(
name='plumbium',
version='0.1.0',
packages=['plumbium'],
zip_safe=True,
author='Jon Stutters',
author_email='j.stutters@ucl.ac.uk',
description='Record the inputs and outputs of scripts',
url='https://github.com/jstutters/plumbium',
license='MIT',... | Remove CLI stuff, bump version to 0.1.0 | Remove CLI stuff, bump version to 0.1.0
| Python | mit | jstutters/Plumbium | from setuptools import setup
setup(
name='plumbium',
version='0.0.5',
packages=['plumbium'],
zip_safe=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
plumbium=plumbium.cli:cli
''',
author='Jon Stutters',
author_email='j.stutters@uc... | from setuptools import setup
setup(
name='plumbium',
version='0.1.0',
packages=['plumbium'],
zip_safe=True,
author='Jon Stutters',
author_email='j.stutters@ucl.ac.uk',
description='Record the inputs and outputs of scripts',
url='https://github.com/jstutters/plumbium',
license='MIT',... | <commit_before>from setuptools import setup
setup(
name='plumbium',
version='0.0.5',
packages=['plumbium'],
zip_safe=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
plumbium=plumbium.cli:cli
''',
author='Jon Stutters',
author_email... | from setuptools import setup
setup(
name='plumbium',
version='0.1.0',
packages=['plumbium'],
zip_safe=True,
author='Jon Stutters',
author_email='j.stutters@ucl.ac.uk',
description='Record the inputs and outputs of scripts',
url='https://github.com/jstutters/plumbium',
license='MIT',... | from setuptools import setup
setup(
name='plumbium',
version='0.0.5',
packages=['plumbium'],
zip_safe=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
plumbium=plumbium.cli:cli
''',
author='Jon Stutters',
author_email='j.stutters@uc... | <commit_before>from setuptools import setup
setup(
name='plumbium',
version='0.0.5',
packages=['plumbium'],
zip_safe=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
plumbium=plumbium.cli:cli
''',
author='Jon Stutters',
author_email... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.