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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a975088008ab33e6cb3dc42567cb1ca195563fa | packs/dimensiondata/actions/create_pool_member.py | packs/dimensiondata/actions/create_pool_member.py | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex.ge... | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex_ge... | Fix add pool member code | Fix add pool member code
| Python | apache-2.0 | armab/st2contrib,pearsontechnology/st2contrib,tonybaloney/st2contrib,pidah/st2contrib,StackStorm/st2contrib,armab/st2contrib,tonybaloney/st2contrib,StackStorm/st2contrib,pidah/st2contrib,pearsontechnology/st2contrib,pidah/st2contrib,pearsontechnology/st2contrib,pearsontechnology/st2contrib,tonybaloney/st2contrib,armab/... | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex.ge... | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex_ge... | <commit_before>from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node... | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex_ge... | from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node = driver.ex.ge... | <commit_before>from lib.actions import BaseAction
__all__ = [
'CreatePoolMemberAction'
]
class CreatePoolMemberAction(BaseAction):
api_type = 'loadbalancer'
def run(self, region, pool_id, node_id, port):
driver = self._get_lb_driver(region)
pool = driver.ex_get_pool(pool_id)
node... |
760506e88d22d86be818017fb6075abe7af2a068 | dactyl.py | dactyl.py | from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
| from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
def url_validator(url):
try:
code = urllib.urlopen(url).getcode()
if code == 200:
return True
except:
return False
def test_url(message, url):
if url_validator(url[1:len(url... | Add url_validator function and respond aciton to test url | Add url_validator function and respond aciton to test url
| Python | mit | KrzysztofSendor/dactyl | from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
Add url_validator function and respond aciton to test url | from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
def url_validator(url):
try:
code = urllib.urlopen(url).getcode()
if code == 200:
return True
except:
return False
def test_url(message, url):
if url_validator(url[1:len(url... | <commit_before>from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
<commit_msg>Add url_validator function and respond aciton to test url<commit_after> | from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
def url_validator(url):
try:
code = urllib.urlopen(url).getcode()
if code == 200:
return True
except:
return False
def test_url(message, url):
if url_validator(url[1:len(url... | from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
Add url_validator function and respond aciton to test urlfrom slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
def url_validator(url):
try:
code = urllib.urlopen(url).get... | <commit_before>from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
<commit_msg>Add url_validator function and respond aciton to test url<commit_after>from slackbot.bot import respond_to
from slackbot.bot import listen_to
import re
import urllib
def url_validator(url):
tr... |
01b67c00b6ab1eea98da9b54737f051a01a726fb | auslib/migrate/versions/009_add_rule_alias.py | auslib/migrate/versions/009_add_rule_alias.py | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50))
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('rules_history'... | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50), unique=True)
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('r... | Create alias column as unique. | Create alias column as unique.
| Python | mpl-2.0 | nurav/balrog,mozbhearsum/balrog,tieu/balrog,mozbhearsum/balrog,aksareen/balrog,aksareen/balrog,aksareen/balrog,mozbhearsum/balrog,tieu/balrog,nurav/balrog,testbhearsum/balrog,mozbhearsum/balrog,nurav/balrog,testbhearsum/balrog,aksareen/balrog,testbhearsum/balrog,tieu/balrog,nurav/balrog,testbhearsum/balrog,tieu/balrog | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50))
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('rules_history'... | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50), unique=True)
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('r... | <commit_before>from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50))
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table(... | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50), unique=True)
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('r... | from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50))
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table('rules_history'... | <commit_before>from sqlalchemy import Column, String, MetaData, Table
def upgrade(migrate_engine):
metadata = MetaData(bind=migrate_engine)
def add_alias(table):
alias = Column('alias', String(50))
alias.create(table)
add_alias(Table('rules', metadata, autoload=True))
add_alias(Table(... |
1b8efb09ac512622ea3541d950ffc67b0a183178 | survey/signals.py | survey/signals.py | import django.dispatch
survey_completed = django.dispatch.Signal(providing_args=["instance", "data"])
| import django.dispatch
# providing_args=["instance", "data"]
survey_completed = django.dispatch.Signal()
| Remove puyrely documental providing-args argument | Remove puyrely documental providing-args argument
See https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
| Python | agpl-3.0 | Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey | import django.dispatch
survey_completed = django.dispatch.Signal(providing_args=["instance", "data"])
Remove puyrely documental providing-args argument
See https://docs.djangoproject.com/en/4.0/releases/3.1/#id2 | import django.dispatch
# providing_args=["instance", "data"]
survey_completed = django.dispatch.Signal()
| <commit_before>import django.dispatch
survey_completed = django.dispatch.Signal(providing_args=["instance", "data"])
<commit_msg>Remove puyrely documental providing-args argument
See https://docs.djangoproject.com/en/4.0/releases/3.1/#id2<commit_after> | import django.dispatch
# providing_args=["instance", "data"]
survey_completed = django.dispatch.Signal()
| import django.dispatch
survey_completed = django.dispatch.Signal(providing_args=["instance", "data"])
Remove puyrely documental providing-args argument
See https://docs.djangoproject.com/en/4.0/releases/3.1/#id2import django.dispatch
# providing_args=["instance", "data"]
survey_completed = django.dispatch.Signal()
| <commit_before>import django.dispatch
survey_completed = django.dispatch.Signal(providing_args=["instance", "data"])
<commit_msg>Remove puyrely documental providing-args argument
See https://docs.djangoproject.com/en/4.0/releases/3.1/#id2<commit_after>import django.dispatch
# providing_args=["instance", "data"]
surv... |
231657e2bbc81b8299cc91fd24dcd7394f74b4ec | python/dpu_utils/codeutils/identifiersplitting.py | python/dpu_utils/codeutils/identifiersplitting.py | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(?=[@... | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$.'\"])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(... | Revert to some of the previous behavior for characters that shouldn't appear in identifiers. | Revert to some of the previous behavior for characters that shouldn't appear in identifiers.
| Python | mit | microsoft/dpu-utils,microsoft/dpu-utils | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(?=[@... | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$.'\"])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(... | <commit_before>from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$])(?=[a-zA-Z0-9])|"
"(?<=[a... | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$.'\"])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(... | from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$])(?=[a-zA-Z0-9])|"
"(?<=[a-zA-Z0-9])(?=[@... | <commit_before>from functools import lru_cache
from typing import List
import sys
REGEX_TEXT = ("(?<=[a-z0-9])(?=[A-Z])|"
"(?<=[A-Z0-9])(?=[A-Z][a-z])|"
"(?<=[0-9])(?=[a-zA-Z])|"
"(?<=[A-Za-z])(?=[0-9])|"
"(?<=[@$])(?=[a-zA-Z0-9])|"
"(?<=[a... |
81460f88ee19fb736dfc3453df2905f0ba4b3974 | common/permissions.py | common/permissions.py | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | Remove debugging code, fix typo | Remove debugging code, fix typo
| Python | mit | PersonalGenomesOrg/open-humans,PersonalGenomesOrg/open-humans,PersonalGenomesOrg/open-humans,OpenHumans/open-humans,OpenHumans/open-humans,OpenHumans/open-humans,PersonalGenomesOrg/open-humans,OpenHumans/open-humans | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | <commit_before>from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
... | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
if not hasattr(... | <commit_before>from rest_framework.permissions import BasePermission
class ObjectHasTokenUser(BasePermission):
"""
The object's user matches the token's user.
"""
def has_object_permission(self, request, view, obj):
token = request.auth
if not token:
return False
... |
65336509829a42b91b000d2e423ed4581ac61c98 | app/mpv.py | app/mpv.py | #!/usr/bin/env python
# and add mpv.json to ~/.mozilla/native-messaging-hosts
import sys
import json
import struct
import subprocess
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I... | #!/usr/bin/env python
import sys
import json
import struct
import subprocess
import shlex
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I', rawLength)[0]
message = sys.stdin.read(m... | Handle shell args in python scripts | Handle shell args in python scripts
| Python | mit | vayan/external-video,vayan/external-video,vayan/external-video,vayan/external-video | #!/usr/bin/env python
# and add mpv.json to ~/.mozilla/native-messaging-hosts
import sys
import json
import struct
import subprocess
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I... | #!/usr/bin/env python
import sys
import json
import struct
import subprocess
import shlex
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I', rawLength)[0]
message = sys.stdin.read(m... | <commit_before>#!/usr/bin/env python
# and add mpv.json to ~/.mozilla/native-messaging-hosts
import sys
import json
import struct
import subprocess
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = st... | #!/usr/bin/env python
import sys
import json
import struct
import subprocess
import shlex
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I', rawLength)[0]
message = sys.stdin.read(m... | #!/usr/bin/env python
# and add mpv.json to ~/.mozilla/native-messaging-hosts
import sys
import json
import struct
import subprocess
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I... | <commit_before>#!/usr/bin/env python
# and add mpv.json to ~/.mozilla/native-messaging-hosts
import sys
import json
import struct
import subprocess
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = st... |
d7298374409912c6ace10e2bec323013cdd4d933 | scripts/poweron/DRAC.py | scripts/poweron/DRAC.py | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | Change path to the supplemental pack | CA-40618: Change path to the supplemental pack
Signed-off-by: Javier Alvarez-Valle <cf4c8668a0b4c5e013f594a6940d05b3d4d9ddcf@citrix.com>
| Python | lgpl-2.1 | simonjbeaumont/xcp-rrdd,koushikcgit/xcp-rrdd,djs55/squeezed,koushikcgit/xcp-rrdd,johnelse/xcp-rrdd,johnelse/xcp-rrdd,sharady/xcp-networkd,simonjbeaumont/xcp-rrdd,djs55/xcp-networkd,sharady/xcp-networkd,djs55/xcp-rrdd,djs55/xcp-rrdd,koushikcgit/xcp-rrdd,djs55/xcp-networkd,koushikcgit/xcp-networkd,robhoes/squeezed,koushi... | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | <commit_before>import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin err... | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin errors."""
def... | <commit_before>import subprocess, sys, os.path
class DRAC_NO_SUPP_PACK(Exception):
"""Base Exception class for all transfer plugin errors."""
def __init__(self, *args):
Exception.__init__(self, *args)
class DRAC_POWERON_FAILED(Exception):
"""Base Exception class for all transfer plugin err... |
83d5cc3b4ffb4759e8e073d04299a55802df09a8 | src/ansible/views.py | src/ansible/views.py | from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return "200"
| from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return HttpResponse("200")
| Fix return to use HttpResponse | Fix return to use HttpResponse
| Python | bsd-3-clause | lozadaOmr/ansible-admin,lozadaOmr/ansible-admin,lozadaOmr/ansible-admin | from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return "200"
Fix return to use HttpResponse | from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return HttpResponse("200")
| <commit_before>from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return "200"
<commit_msg>Fix return to use HttpResponse<commit_after> | from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return HttpResponse("200")
| from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return "200"
Fix return to use HttpResponsefrom django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpRes... | <commit_before>from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from .models import Playbook
def index(request):
return "200"
<commit_msg>Fix return to use HttpResponse<commit_after>from django.shortcuts import get_object_or_404, render
from django.... |
9dcfccc3fc5524c3c2647e66a8977c1aa1758957 | tests/Physics/TestNTC.py | tests/Physics/TestNTC.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | Fix wrong unit test value | Fix wrong unit test value
| Python | apache-2.0 | ulikoehler/UliEngineering | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | <commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
c... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
class TestNTC(ob... | <commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from numpy.testing import assert_approx_equal, assert_allclose, assert_array_less
from nose.tools import raises, assert_true, assert_equal
from UliEngineering.Physics.NTC import *
from UliEngineering.Exceptions import *
import functools
import numpy as np
c... |
88e5ecad9966057203a9cbecaeaecdca3e76b6da | tests/fake_filesystem.py | tests/fake_filesystem.py | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | Define noop close() for FakeFile | Define noop close() for FakeFile
| Python | bsd-2-clause | kxxoling/fabric,rodrigc/fabric,qinrong/fabric,elijah513/fabric,bspink/fabric,MjAbuz/fabric,cmattoon/fabric,hrubi/fabric,felix-d/fabric,askulkarni2/fabric,SamuelMarks/fabric,mathiasertl/fabric,tekapo/fabric,StackStorm/fabric,ploxiln/fabric,kmonsoor/fabric,raimon49/fabric,haridsv/fabric,bitprophet/fabric,fernandezcuesta/... | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | <commit_before>import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'... | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'
si... | <commit_before>import os
import stat
from StringIO import StringIO
from types import StringTypes
import paramiko as ssh
class FakeFile(StringIO):
def __init__(self, value=None, path=None):
init = lambda x: StringIO.__init__(self, x)
if value is None:
init("")
ftype = 'dir'... |
f45b3e73b6258c99aed2bff2e7350f1c797ff849 | providers/provider.py | providers/provider.py | import copy
import json
import requests
import html5lib
from application import APPLICATION as APP
# Be compatible with python 2 and 3
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, ur... | import copy
import json
from urllib.parse import urlencode
import html5lib
import requests
from application import APPLICATION as APP
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, url, css_selector, timeout=60, cache=True):
html = self._http_get(url, timeout=timeout, cac... | Remove support for Python 2. | Remove support for Python 2.
| Python | mit | EmilStenstrom/nephele | import copy
import json
import requests
import html5lib
from application import APPLICATION as APP
# Be compatible with python 2 and 3
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, ur... | import copy
import json
from urllib.parse import urlencode
import html5lib
import requests
from application import APPLICATION as APP
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, url, css_selector, timeout=60, cache=True):
html = self._http_get(url, timeout=timeout, cac... | <commit_before>import copy
import json
import requests
import html5lib
from application import APPLICATION as APP
# Be compatible with python 2 and 3
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
class BaseProvider(object):
# ==== HELPER METHODS ====
def pars... | import copy
import json
from urllib.parse import urlencode
import html5lib
import requests
from application import APPLICATION as APP
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, url, css_selector, timeout=60, cache=True):
html = self._http_get(url, timeout=timeout, cac... | import copy
import json
import requests
import html5lib
from application import APPLICATION as APP
# Be compatible with python 2 and 3
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
class BaseProvider(object):
# ==== HELPER METHODS ====
def parse_html(self, ur... | <commit_before>import copy
import json
import requests
import html5lib
from application import APPLICATION as APP
# Be compatible with python 2 and 3
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
class BaseProvider(object):
# ==== HELPER METHODS ====
def pars... |
cdd32dd3e346f72f823cc5d3f59c79c027db65c8 | common.py | common.py | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | Make task an optional argument. | Make task an optional argument.
| Python | bsd-2-clause | chingc/DJRivals,chingc/DJRivals | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | <commit_before>"""Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
... | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | """Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
"""Check to s... | <commit_before>"""Functions common to other modules."""
import json
import os
import re
import time
import urllib.request
from settings import net
def clean(name):
"""Strip all [^a-zA-Z0-9_] characters and convert to lowercase."""
return re.sub(r"\W", r"", name, flags=re.ASCII).lower()
def exists(path):
... |
d362b066f2c577d731adb0643799e47d30ae2f91 | config.py | config.py | import os.path
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt"... | import os
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt",
... | Use DEBUG and LIBREOFFICE_PATH vars from env | Use DEBUG and LIBREOFFICE_PATH vars from env
| Python | mit | docsbox/docsbox | import os.path
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt"... | import os
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt",
... | <commit_before>import os.path
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
... | import os
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt",
... | import os.path
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
"fmt": "txt"... | <commit_before>import os.path
"""
TODO:
pylokit.lokit.LoKitExportError: b'no output filter found for provided suffix'
Raised when trying to export to unsupported dest (eg. pptx -> txt)
"""
SUPPORTED_FORMATS = {
"pdf": {
"path": "pdf",
"fmt": "pdf",
},
"txt": {
"path": "txt",
... |
de1142300a7628289d62f6686833bb795c124979 | config.py | config.py | SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/cifer"
USERNAME = "postgres"
PASSWORD = "postgres"
| SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgres://ljknddhjuxlbve:V1QbynNKExcP5ZrctxQSXp2Cz1@ec2-54-204-36-244.compute-1.amazonaws.com:5432/d2rvtrvqnshjm9"
USERNAME = "ljknddhjuxlbve"
PASSWORD = "V1QbynNKExcP5ZrctxQSXp2Cz1"
| Use Heroku database connection settings | Use Heroku database connection settings
| Python | mit | uva-financial-engineering/cifer-tournament,uva-financial-engineering/cifer-tournament | SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/cifer"
USERNAME = "postgres"
PASSWORD = "postgres"
Use Heroku database connection settings | SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgres://ljknddhjuxlbve:V1QbynNKExcP5ZrctxQSXp2Cz1@ec2-54-204-36-244.compute-1.amazonaws.com:5432/d2rvtrvqnshjm9"
USERNAME = "ljknddhjuxlbve"
PASSWORD = "V1QbynNKExcP5ZrctxQSXp2Cz1"
| <commit_before>SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/cifer"
USERNAME = "postgres"
PASSWORD = "postgres"
<commit_msg>Use Heroku database connection settings<commit_after> | SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgres://ljknddhjuxlbve:V1QbynNKExcP5ZrctxQSXp2Cz1@ec2-54-204-36-244.compute-1.amazonaws.com:5432/d2rvtrvqnshjm9"
USERNAME = "ljknddhjuxlbve"
PASSWORD = "V1QbynNKExcP5ZrctxQSXp2Cz1"
| SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/cifer"
USERNAME = "postgres"
PASSWORD = "postgres"
Use Heroku database connection settingsSECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgres://ljknddhjuxlbve:V1QbynNKExcP5ZrctxQSXp2Cz1@ec2-54-204-36-24... | <commit_before>SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@localhost/cifer"
USERNAME = "postgres"
PASSWORD = "postgres"
<commit_msg>Use Heroku database connection settings<commit_after>SECRET_KEY = "TODO-change-this"
SQLALCHEMY_DATABASE_URI = "postgres://ljknddhjuxlbve:V1... |
9614fe5657c478c32dcbc4c6b6b0127adac55009 | python/fsurfer/log.py | python/fsurfer/log.py | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import log
import log.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
:retur... | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import logging
import logging.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
... | Fix issues due to module rename | Fix issues due to module rename
| Python | apache-2.0 | OSGConnect/freesurfer_workflow,OSGConnect/freesurfer_workflow | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import log
import log.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
:retur... | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import logging
import logging.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
... | <commit_before>#!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import log
import log.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fs... | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import logging
import logging.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
... | #!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import log
import log.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fsurf
:retur... | <commit_before>#!/usr/bin/env python
# Copyright 2016 University of Chicago
# Licensed under the APL 2.0 license
import log
import log.handlers
import os
LOG_FILENAME = '~/logs/fsurf.log'
MAX_BYTES = 1024*1024*50 # 50 MB
NUM_BACKUPS = 10 # 10 files
def initialize_logging():
"""
Initialize logging for fs... |
27864fd59c12127bc35f3da2578c77efd8315629 | brickit.py | brickit.py | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | Add debugging if run directly | Add debugging if run directly
| Python | mit | aaronkurtz/bricky,aaronkurtz/bricky | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | <commit_before>from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__nam... | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__name__)
@app.rou... | <commit_before>from datetime import datetime
import io
import os
import legofy
from PIL import Image
from flask import Flask, render_template, request, redirect, send_file
BRICK_PATH = os.path.join(os.path.dirname(legofy.__file__), "assets", "bricks", "1x1.png")
BRICK_IMAGE = Image.open(BRICK_PATH)
app = Flask(__nam... |
86080d1c06637e1d73784100657fc43bd7326e66 | tools/conan/conanfile.py | tools/conan/conanfile.py | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | Build with PIC by default. | Build with PIC by default.
| Python | lgpl-2.1 | worldforge/libwfut,worldforge/libwfut,worldforge/libwfut,worldforge/libwfut | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | <commit_before>from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A... | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A client side C+... | <commit_before>from conans import ConanFile, CMake, tools
class LibWFUTConan(ConanFile):
name = "libwfut"
version = "0.2.4"
license = "GPL-2.0+"
author = "Erik Ogenvik <erik@ogenvik.org>"
homepage = "https://www.worldforge.org"
url = "https://github.com/worldforge/libwfut"
description = "A... |
b906446bfed0f716b3337fbf33d0b6ded7854669 | genome_designer/main/upload_template_views.py | genome_designer/main/upload_template_views.py | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.tsv')
def sample_list_targets_... | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.csv')
def sample_list_targets_... | Fix test broken by last commit. | Fix test broken by last commit.
| Python | mit | churchlab/millstone,woodymit/millstone,woodymit/millstone,churchlab/millstone,churchlab/millstone,churchlab/millstone,woodymit/millstone,woodymit/millstone | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.tsv')
def sample_list_targets_... | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.csv')
def sample_list_targets_... | <commit_before>"""
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.tsv')
def sampl... | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.csv')
def sample_list_targets_... | """
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.tsv')
def sample_list_targets_... | <commit_before>"""
Handlers for fetching upload templates.
"""
from django.shortcuts import render
CONTENT_TYPE__CSV = 'text/csv'
TEMPLATE__SAMPLES_BATCH_IMPORT_FROM_SERVER = 'sample_list_targets_template.csv'
TEMPLATE__SAMPLES_BATCH_BROWSER_UPLOAD = (
'sample_list_browser_upload_template.tsv')
def sampl... |
0d3322de1944a1a64d6c77d4b52452509979e0c1 | src/cobwebs/setup.py | src/cobwebs/setup.py | import sys
import shutil
import os
from setuptools import setup, find_packages
import cobwebs
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory alread... | import sys
import shutil
import os
from setuptools import setup, find_packages
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory already exists...")
... | Move import of the main library. | Move import of the main library.
| Python | apache-2.0 | asteroide/immo_spider,asteroide/immo_spider,asteroide/immo_spider,asteroide/immo_spider | import sys
import shutil
import os
from setuptools import setup, find_packages
import cobwebs
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory alread... | import sys
import shutil
import os
from setuptools import setup, find_packages
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory already exists...")
... | <commit_before>import sys
import shutil
import os
from setuptools import setup, find_packages
import cobwebs
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider d... | import sys
import shutil
import os
from setuptools import setup, find_packages
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory already exists...")
... | import sys
import shutil
import os
from setuptools import setup, find_packages
import cobwebs
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider directory alread... | <commit_before>import sys
import shutil
import os
from setuptools import setup, find_packages
import cobwebs
import subprocess
if len(sys.argv) > 0:
if sys.argv[1] in ("install", "develop"):
try:
os.mkdir("/etc/spider/")
except FileExistsError:
print("Warning: /etc/spider d... |
bbaf4aa6dbdbb41395b0859260962665b20230ad | __openerp__.py | __openerp__.py | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín & Asociados',
'websi... | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'license': 'AGPL-3',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín... | Set license to AGPL-3 in manifest | Set license to AGPL-3 in manifest
| Python | agpl-3.0 | odoo-chile/l10n_cl_account_vat_ledger,odoo-chile/l10n_cl_account_vat_ledger | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín & Asociados',
'websi... | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'license': 'AGPL-3',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín... | <commit_before># -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín & Asociad... | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'license': 'AGPL-3',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín... | # -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín & Asociados',
'websi... | <commit_before># -*- coding: utf-8 -*-
{
'name': 'Chilean VAT Ledger',
'description': '''
Chilean VAT Ledger Management
=================================
Creates Sale and Purchase VAT report menus in
"accounting/period processing/VAT Ledger"
''',
'version': '0.1',
'author': u'Blanco Martín & Asociad... |
3964cb1645c2d0f1a7080c195ff33c36a590358a | sklearn_pmml/extensions/linear_regression.py | sklearn_pmml/extensions/linear_regression.py | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | Change the intercept and coefficients to be floats, not unicode | Change the intercept and coefficients to be floats, not unicode
| Python | mit | jeenalee/sklearn_pmml | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | <commit_before>from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml,... | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml, "r") as f:
... | <commit_before>from sklearn.linear_model import LinearRegression
from bs4 import BeautifulSoup
import numpy
def from_pmml(self, pmml):
"""Returns a model with the intercept and coefficients represented in PMML file."""
model = self()
# Reads the input PMML file with BeautifulSoup.
with open(pmml,... |
dcd9f381bc7eeaa0ffad72d286bb6dc26ebf37a4 | linter.py | linter.py | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import Linter, util
class Scss(Linter):
... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import RubyLinter, util
class Scss(RubyLin... | Use RubyLinter instead of Linter so rbenv and rvm are supported | Use RubyLinter instead of Linter so rbenv and rvm are supported
| Python | mit | attenzione/SublimeLinter-scss-lint | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import Linter, util
class Scss(Linter):
... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import RubyLinter, util
class Scss(RubyLin... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import Linter, util
class S... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import RubyLinter, util
class Scss(RubyLin... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import Linter, util
class Scss(Linter):
... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Sergey Margaritov
# Copyright (c) 2013 Sergey Margaritov
#
# License: MIT
#
"""This module exports the scss-lint plugin linter class."""
import os
from SublimeLinter.lint import Linter, util
class S... |
150e338b7d2793c434d7e2f21aef061f35634476 | openspending/test/__init__.py | openspending/test/__init__.py | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from paste.deploy import appconfig
from openspending import mongo
from he... | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from pylons import config
from openspending import mongo
from .helpers im... | Use config given on command line | Use config given on command line
| Python | agpl-3.0 | pudo/spendb,openspending/spendb,openspending/spendb,nathanhilbert/FPA_Core,pudo/spendb,johnjohndoe/spendb,CivicVision/datahub,USStateDept/FPA_Core,johnjohndoe/spendb,USStateDept/FPA_Core,CivicVision/datahub,nathanhilbert/FPA_Core,johnjohndoe/spendb,openspending/spendb,USStateDept/FPA_Core,spendb/spendb,nathanhilbert/FP... | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from paste.deploy import appconfig
from openspending import mongo
from he... | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from pylons import config
from openspending import mongo
from .helpers im... | <commit_before>"""\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from paste.deploy import appconfig
from openspending impor... | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from pylons import config
from openspending import mongo
from .helpers im... | """\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from paste.deploy import appconfig
from openspending import mongo
from he... | <commit_before>"""\
OpenSpending test module
========================
Run the OpenSpending test suite by running
nosetests
in the root of the repository, while in an active virtualenv. See
doc/install.rst for more information.
"""
import os
import sys
from paste.deploy import appconfig
from openspending impor... |
37a0cb41a88114ab9edb514e29447756b0c3e92a | tests/test_cli.py | tests/test_cli.py | # -*- coding: utf-8 -*-
from click.testing import CliRunner
import pytest
from cibopath.cli import main
from cibopath import __version__
runner = CliRunner()
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(version_cli_flag):
... | # -*- coding: utf-8 -*-
import pytest
from cibopath import __version__
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(cli_runner, version_cli_flag):
result = cli_runner([version_cli_flag])
assert result.exit_code == 0
... | Use cli_runner fixture in test | Use cli_runner fixture in test
| Python | bsd-3-clause | hackebrot/cibopath | # -*- coding: utf-8 -*-
from click.testing import CliRunner
import pytest
from cibopath.cli import main
from cibopath import __version__
runner = CliRunner()
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(version_cli_flag):
... | # -*- coding: utf-8 -*-
import pytest
from cibopath import __version__
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(cli_runner, version_cli_flag):
result = cli_runner([version_cli_flag])
assert result.exit_code == 0
... | <commit_before># -*- coding: utf-8 -*-
from click.testing import CliRunner
import pytest
from cibopath.cli import main
from cibopath import __version__
runner = CliRunner()
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(versio... | # -*- coding: utf-8 -*-
import pytest
from cibopath import __version__
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(cli_runner, version_cli_flag):
result = cli_runner([version_cli_flag])
assert result.exit_code == 0
... | # -*- coding: utf-8 -*-
from click.testing import CliRunner
import pytest
from cibopath.cli import main
from cibopath import __version__
runner = CliRunner()
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(version_cli_flag):
... | <commit_before># -*- coding: utf-8 -*-
from click.testing import CliRunner
import pytest
from cibopath.cli import main
from cibopath import __version__
runner = CliRunner()
@pytest.fixture(params=['-V', '--version'])
def version_cli_flag(request):
return request.param
def test_cli_group_version_option(versio... |
f814e945d3e62c87c5f86ef5ac37c5feb733b83d | tests/test_ext.py | tests/test_ext.py | from __future__ import absolute_import, unicode_literals
import unittest
from mopidy import config, ext
class ExtensionTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.ext = ext.Extension()
def test_dist_name_is_none(self):
self.assertIsNone(self.ext.dist_name)
def test_ex... | from __future__ import absolute_import, unicode_literals
import pytest
from mopidy import config, ext
@pytest.fixture
def extension():
return ext.Extension()
def test_dist_name_is_none(extension):
assert extension.dist_name is None
def test_ext_name_is_none(extension):
assert extension.ext_name is N... | Convert ext test to pytests | tests: Convert ext test to pytests
| Python | apache-2.0 | mokieyue/mopidy,bencevans/mopidy,ZenithDK/mopidy,jodal/mopidy,quartz55/mopidy,pacificIT/mopidy,pacificIT/mopidy,quartz55/mopidy,ali/mopidy,swak/mopidy,tkem/mopidy,bencevans/mopidy,mopidy/mopidy,SuperStarPL/mopidy,dbrgn/mopidy,hkariti/mopidy,glogiotatidis/mopidy,mokieyue/mopidy,ali/mopidy,bacontext/mopidy,glogiotatidis/... | from __future__ import absolute_import, unicode_literals
import unittest
from mopidy import config, ext
class ExtensionTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.ext = ext.Extension()
def test_dist_name_is_none(self):
self.assertIsNone(self.ext.dist_name)
def test_ex... | from __future__ import absolute_import, unicode_literals
import pytest
from mopidy import config, ext
@pytest.fixture
def extension():
return ext.Extension()
def test_dist_name_is_none(extension):
assert extension.dist_name is None
def test_ext_name_is_none(extension):
assert extension.ext_name is N... | <commit_before>from __future__ import absolute_import, unicode_literals
import unittest
from mopidy import config, ext
class ExtensionTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.ext = ext.Extension()
def test_dist_name_is_none(self):
self.assertIsNone(self.ext.dist_name)
... | from __future__ import absolute_import, unicode_literals
import pytest
from mopidy import config, ext
@pytest.fixture
def extension():
return ext.Extension()
def test_dist_name_is_none(extension):
assert extension.dist_name is None
def test_ext_name_is_none(extension):
assert extension.ext_name is N... | from __future__ import absolute_import, unicode_literals
import unittest
from mopidy import config, ext
class ExtensionTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.ext = ext.Extension()
def test_dist_name_is_none(self):
self.assertIsNone(self.ext.dist_name)
def test_ex... | <commit_before>from __future__ import absolute_import, unicode_literals
import unittest
from mopidy import config, ext
class ExtensionTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.ext = ext.Extension()
def test_dist_name_is_none(self):
self.assertIsNone(self.ext.dist_name)
... |
7127520c3539bd65c6241d6c4a36e3cb6bfe6195 | scripts/launch_app.py | scripts/launch_app.py | #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
from flask_forecaster import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.getenv('PORT')))
| #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
import sys
from flask_forecaster import app
if __name__ == '__main__':
app.run(
debug='debug' in sys.argv,
host='0.0.0.0',
port=int(os.getenv('PORT'))
)
| Allow running the app in debug mode from the command line | Allow running the app in debug mode from the command line
| Python | isc | textbook/flask-forecaster,textbook/flask-forecaster | #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
from flask_forecaster import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.getenv('PORT')))
Allow running the app in debug mode from the command line | #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
import sys
from flask_forecaster import app
if __name__ == '__main__':
app.run(
debug='debug' in sys.argv,
host='0.0.0.0',
port=int(os.getenv('PORT'))
)
| <commit_before>#! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
from flask_forecaster import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.getenv('PORT')))
<commit_msg>Allow running the app in debug mode from the command line<commit_after> | #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
import sys
from flask_forecaster import app
if __name__ == '__main__':
app.run(
debug='debug' in sys.argv,
host='0.0.0.0',
port=int(os.getenv('PORT'))
)
| #! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
from flask_forecaster import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.getenv('PORT')))
Allow running the app in debug mode from the command line#! /usr/bin/env python3
"""Launch the flask-forecaster applicat... | <commit_before>#! /usr/bin/env python3
"""Launch the flask-forecaster application."""
import os
from flask_forecaster import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.getenv('PORT')))
<commit_msg>Allow running the app in debug mode from the command line<commit_after>#! /usr/bin/env python... |
27ffcae96c5dce976517035b25a5c72f10e2ec99 | tool_spatialdb.py | tool_spatialdb.py | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | Use GLOBAL_TOOLs rather than Export/Import for project wide configuration. | Use GLOBAL_TOOLs rather than Export/Import for project wide configuration.
| Python | bsd-3-clause | ncareol/spatialdb,ncareol/spatialdb | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | <commit_before># SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also ... | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | # SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also needed by SQLit... | <commit_before># SpatialDB scons tool
#
# It builds the library for the SpatialDB C++ class library,
# and provides CPP and linker specifications for the header
# and libraries.
#
# SpatialDB depends on SqliteDB, which provides the interface to
# sqlite3. It also depends on SpatiaLite. Since SpatiaLite is
# is also ... |
dd021344c081d47f51212165584ad646868f5720 | test_standalone.py | test_standalone.py | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | Add mortgage insurance in apps list | Add mortgage insurance in apps list
| Python | cc0-1.0 | fna/owning-a-home-api,amymok/owning-a-home-api,cfpb/owning-a-home-api | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | <commit_before># Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
... | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | # Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
'ENGINE':
... | <commit_before># Shamelessly borrowed from
# http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app/3851333#3851333
import os
import sys
from django.conf import settings
DIRNAME = os.path.dirname(__file__)
settings.configure(
DEBUG=True,
DATABASES={
'default': {
... |
da59d7481668a7133eebcd12b4d5ecfb655296a6 | test/test_blob_filter.py | test/test_blob_filter.py | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, stage_type, path, expected... | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, path, expected_result', [
... | Remove stage type as parameter from blob filter test | Remove stage type as parameter from blob filter test
| Python | bsd-3-clause | gitpython-developers/GitPython,gitpython-developers/gitpython,gitpython-developers/GitPython,gitpython-developers/gitpython | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, stage_type, path, expected... | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, path, expected_result', [
... | <commit_before>"""Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, stage_type,... | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, path, expected_result', [
... | """Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, stage_type, path, expected... | <commit_before>"""Test the blob filter."""
from pathlib import Path
from typing import Sequence, Tuple
from unittest.mock import MagicMock
import pytest
from git.index.typ import BlobFilter, StageType
from git.objects import Blob
from git.types import PathLike
# fmt: off
@pytest.mark.parametrize('paths, stage_type,... |
431ca4f2d44656ef9f97be50718712c6f3a0fa9b | qtawesome/tests/test_qtawesome.py | qtawesome/tests/test_qtawesome.py | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
import collections
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | Make the test more comprehensive. | Make the test more comprehensive.
| Python | mit | spyder-ide/qtawesome | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
import collections
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | <commit_before>r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
import collections
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... | <commit_before>r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
def test_segfault_import():
output_number = subprocess.call('python -c "import qtawesome '
... |
3d8ec94e61735b84c3b24b44d79fcd57611a93ee | mndeps.py | mndeps.py | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | Fix bug after removing torus | Fix bug after removing torus
| Python | apache-2.0 | ravel-net/ravel,ravel-net/ravel | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | <commit_before>#!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
... | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | #!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
'reve... | <commit_before>#!/usr/bin/env python
# XXX: newer mininet version also has MinimalTopo
from mininet.topo import ( SingleSwitchTopo, LinearTopo,
SingleSwitchReversedTopo )
from mininet.topolib import TreeTopo
from mininet.util import buildTopo
import psycopg2
TOPOS = { 'linear': LinearTopo,
... |
8ac492be603f958a29bbc6bb5215d79ec469d269 | tests/test_init.py | tests/test_init.py | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "USER"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "USER1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = che... | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "PATH"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "PATH1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = c... | Update environment test to have cross platform support | Update environment test to have cross platform support
| Python | mit | humangeo/preflyt | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "USER"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "USER1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = che... | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "PATH"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "PATH1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = c... | <commit_before>"""Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "USER"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "USER1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good... | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "PATH"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "PATH1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = c... | """Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "USER"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "USER1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good, results = che... | <commit_before>"""Test the checkers"""
from nose.tools import ok_, eq_
from preflyt import check
CHECKERS = [
{"checker": "env", "name": "USER"}
]
BAD_CHECKERS = [
{"checker": "env", "name": "USER1231342dhkfgjhk2394dv09324jk12039csdfg01231"}
]
def test_everything():
"""Test the check method."""
good... |
131fb74b0f399ad3abff5dcc2b09621cac1226e7 | config/nox_routing.py | config/nox_routing.py | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use NOX as our controller
command_line = "./nox_core -i ptcp:6633 routing"
... | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
from sts.topology import MeshTopology
# Use NOX as our controller
command_lin... | Update NOX config to use sample_routing | Update NOX config to use sample_routing
| Python | apache-2.0 | ucb-sts/sts,jmiserez/sts,jmiserez/sts,ucb-sts/sts | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use NOX as our controller
command_line = "./nox_core -i ptcp:6633 routing"
... | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
from sts.topology import MeshTopology
# Use NOX as our controller
command_lin... | <commit_before>from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use NOX as our controller
command_line = "./nox_core -i ptcp... | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
from sts.topology import MeshTopology
# Use NOX as our controller
command_lin... | from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use NOX as our controller
command_line = "./nox_core -i ptcp:6633 routing"
... | <commit_before>from experiment_config_lib import ControllerConfig
from sts.control_flow import Fuzzer
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use NOX as our controller
command_line = "./nox_core -i ptcp... |
96e86fb389d67d55bf6b4e0f3f0f318e75b532dd | kirppu/management/commands/accounting_data.py | kirppu/management/commands/accounting_data.py | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | Fix accounting data dump command. | Fix accounting data dump command.
| Python | mit | jlaunonen/kirppu,jlaunonen/kirppu,jlaunonen/kirppu,jlaunonen/kirppu | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | <commit_before># -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parse... | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parser.add_argument(... | <commit_before># -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.utils.translation import activate
from kirppu.accounting import accounting_receipt
class Command(BaseCommand):
help = 'Dump accounting CSV to standard output'
def add_arguments(self, parser):
parse... |
019b4ed21eddaa176c9445f40f91dc0becad7b4a | towel/mt/forms.py | towel/mt/forms.py | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | Stop evaluating querysets when processing form fields | towel.mt: Stop evaluating querysets when processing form fields
| Python | bsd-3-clause | matthiask/towel,matthiask/towel,matthiask/towel,matthiask/towel | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | <commit_before>"""
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
f... | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | """
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
from towel impor... | <commit_before>"""
Forms
=====
These three form subclasses will automatically add limitation by tenant
to all form fields with a ``queryset`` attribute.
.. warning::
If you customized the dropdown using ``choices`` you have to limit the
choices by the current tenant yourself.
"""
from django import forms
f... |
fc076d4b390c8e28fceb9613b04423ad374930e5 | config/fuzz_pox_mesh.py | config/fuzz_pox_mesh.py | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | Switch to normal pox instead of betta | Switch to normal pox instead of betta
| Python | apache-2.0 | jmiserez/sts,jmiserez/sts,ucb-sts/sts,ucb-sts/sts | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | <commit_before>from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX a... | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX as our controlle... | <commit_before>from experiment_config_lib import ControllerConfig
from sts.topology import MeshTopology
from sts.control_flow import Fuzzer, Interactive
from sts.input_traces.input_logger import InputLogger
from sts.invariant_checker import InvariantChecker
from sts.simulation_state import SimulationConfig
# Use POX a... |
2f0920d932067a8935eb6e88cc855145ff3c08e2 | mne/realtime/tests/test_stim_client_server.py | mne/realtime/tests/test_stim_client_server.py | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | FIX : increase test timer for buildbot in realtime | FIX : increase test timer for buildbot in realtime
| Python | bsd-3-clause | teonlamont/mne-python,drammock/mne-python,rkmaddox/mne-python,ARudiuk/mne-python,wmvanvliet/mne-python,agramfort/mne-python,adykstra/mne-python,Eric89GXL/mne-python,agramfort/mne-python,alexandrebarachant/mne-python,ARudiuk/mne-python,Eric89GXL/mne-python,aestrivex/mne-python,jniediek/mne-python,rkmaddox/mne-python,blo... | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | <commit_before>import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computer... | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computers since stim_se... | <commit_before>import threading
import time
import Queue
from mne.realtime import StimServer, StimClient
from nose.tools import assert_equal
def test_connection():
"""Test TCP/IP connection for StimServer <-> StimClient.
"""
# have to start a thread to simulate the effect of two
# different computer... |
ca75631f513c433c6024a2f00d045f304703a85d | webapp/tests/test_browser.py | webapp/tests/test_browser.py | import os
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
response = self.client.get(url)
... | import os
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
... | Add tests for making sure a user is dynamically created | Add tests for making sure a user is dynamically created
| Python | apache-2.0 | EinsamHauer/graphite-web-iow,bpaquet/graphite-web,Skyscanner/graphite-web,disqus/graphite-web,synedge/graphite-web,gwaldo/graphite-web,blacked/graphite-web,cosm0s/graphite-web,brutasse/graphite-web,blacked/graphite-web,bbc/graphite-web,gwaldo/graphite-web,Invoca/graphite-web,atnak/graphite-web,deniszh/graphite-web,dhte... | import os
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
response = self.client.get(url)
... | import os
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
... | <commit_before>import os
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
response = self.clien... | import os
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
... | import os
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
response = self.client.get(url)
... | <commit_before>import os
from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.utils import override_settings
from . import DATA_DIR
class BrowserTest(TestCase):
def test_browser(self):
url = reverse('graphite.browser.views.browser')
response = self.clien... |
20bd5c16d5850f988e92c39db3ff041c37c83b73 | contract_sale_generation/models/abstract_contract.py | contract_sale_generation/models/abstract_contract.py | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | Align method on Odoo conventions | [14.0][IMP] contract_sale_generation: Align method on Odoo conventions
| Python | agpl-3.0 | OCA/contract,OCA/contract,OCA/contract | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | <commit_before># Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_... | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | # Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_autoconfirm = f... | <commit_before># Copyright 2017 Pesol (<http://pesol.es>)
# Copyright 2017 Angel Moya <angel.moya@pesol.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class ContractAbstractContract(models.AbstractModel):
_inherit = "contract.abstract.contract"
sale_... |
6422f6057d43dfb5259028291991f39c5b81b446 | spreadflow_core/flow.py | spreadflow_core/flow.py | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict
class Flowmap(dict):
def __init__(self):
super(Flowmap, self).__init__()
self.decorators = []
self.annotations = {}
def graph(self):
... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict, MutableMapping
class Flowmap(MutableMapping):
def __init__(self):
super(Flowmap, self).__init__()
self.annotations = {}
self.connections = {}... | Refactor Flowmap into a MutableMapping | Refactor Flowmap into a MutableMapping
| Python | mit | spreadflow/spreadflow-core,znerol/spreadflow-core | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict
class Flowmap(dict):
def __init__(self):
super(Flowmap, self).__init__()
self.decorators = []
self.annotations = {}
def graph(self):
... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict, MutableMapping
class Flowmap(MutableMapping):
def __init__(self):
super(Flowmap, self).__init__()
self.annotations = {}
self.connections = {}... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict
class Flowmap(dict):
def __init__(self):
super(Flowmap, self).__init__()
self.decorators = []
self.annotations = {}
def gr... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict, MutableMapping
class Flowmap(MutableMapping):
def __init__(self):
super(Flowmap, self).__init__()
self.annotations = {}
self.connections = {}... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict
class Flowmap(dict):
def __init__(self):
super(Flowmap, self).__init__()
self.decorators = []
self.annotations = {}
def graph(self):
... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from collections import defaultdict
class Flowmap(dict):
def __init__(self):
super(Flowmap, self).__init__()
self.decorators = []
self.annotations = {}
def gr... |
45810cb89a26a305df0724b0f27f6136744b207f | bookshop/bookshop/urls.py | bookshop/bookshop/urls.py | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | Add a URL to urlpatterns for home page | Add a URL to urlpatterns for home page
| Python | mit | djangogirlstaipei/eshop,djangogirlstaipei/eshop,djangogirlstaipei/eshop,djangogirlstaipei/eshop | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | <commit_before>"""bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name=... | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | """bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | <commit_before>"""bookshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name=... |
64e515f87fa47f44ed8c18e9c9edc76fee49ce84 | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | Use patched Pillow as a packaging dependency. | Use patched Pillow as a packaging dependency.
| Python | isc | 99designs/colorific | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | <commit_before># -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | <commit_before># -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version... |
4789e7d32bdec3afc6b76f20bf193a51410bbab1 | setup.py | setup.py | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | Update version number to 0.1.2 | Update version number to 0.1.2
| Python | mit | revng/llvmcpy | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy'... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy',
version='... | <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='llvmcpy'... |
01bb927847de1a59adc97d9aa4bf745f4fa49ff5 | 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='0.2.24',
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='0.2.25',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 0.2.25. | Update the PyPI version to 0.2.25.
| 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='0.2.24',
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='0.2.25',
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='0.2.24',
packages=['todoist', 'todoist.managers'],
aut... | # -*- 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='0.2.25',
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='0.2.24',
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='0.2.24',
packages=['todoist', 'todoist.managers'],
aut... |
12689fdabfb89453b7289ec70a5a2bd170ce8a8f | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | Fix odd casing of reddit2kindle | Fix odd casing of reddit2kindle
| Python | mit | Antrikshy/reddit2Kindle | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
entry_points={
'console_scripts': [
'r2k = r2klib.cli:from_cli'
]
},
packages=find_packages(),
install_requires=[
'markdown2',
... |
995b771579b985bae2e27faaa1a7f861012edb25 | setup.py | setup.py | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | Define content type Markdown for description. | Setup: Define content type Markdown for description.
| Python | mit | foliant-docs/foliant | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | <commit_before>from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.re... | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.read()
except Fi... | <commit_before>from setuptools import setup, find_packages
from foliant import __version__ as foliant_version
SHORT_DESCRIPTION = 'Modular, Markdown-based documentation generator that makes \
pdf, docx, html, and more.'
try:
with open('README.md', encoding='utf8') as readme:
LONG_DESCRIPTION = readme.re... |
06646f5c73f886a93ed8507419a07fe69014f418 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | Mark the package as Python 3 compatible. | Mark the package as Python 3 compatible.
| Python | mit | estebistec/django-twitter-bootstrap | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',
's... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="django-twitter-bootstrap",
version="3.0.0",
packages=find_packages(),
package_data={
'twitter_bootstrap': [
'static/fonts/glyphicons-halflings-regular.*',
'static/js/*.js',... |
f09decf4d57e83c8bf13fab697bd9cfb3b983c22 | setup.py | setup.py | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656 | Upgrade to Flask 0.12.3 to fix CVE-2018-1000656
| Python | mit | Antojitos/chalupas | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | <commit_before>from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_desc... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_description,
li... | <commit_before>from setuptools import setup
with open('README.md') as file:
long_description = file.read()
setup(
name="chalupas-files",
version="0.1.0",
author="Antonin Messinger",
author_email="antonin.messinger@gmail.com",
description=" Convert any document",
long_description=long_desc... |
533eb2c759eb58cdc483b73dd40d8a4460f44e73 | setup.py | setup.py | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | Update Django requirements for 1.8 | Update Django requirements for 1.8
| Python | bsd-3-clause | MasonM/hssonline-conference,MasonM/hssonline-conference,MasonM/hssonline-conference | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
a... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
author_email='ma... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='django-conference',
version='0.1',
description='A complete conference management system based on Python/Django.',
license='BSD',
author='Mason Malone',
a... |
12e374c3797cee21d1cd47bba5e7bcd11439e50c | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name = 'dreamBeam',
version = '0.4',
description = 'Measurement equation framework for interferometry in Radio Astronomy.',
author = 'Tobia D. Carozzi',
author_email = 'tobia.carozzi@chalmers.se',
packages = find_pac... | #!/usr/bin/env python
from setuptools import setup, find_packages
from dreambeam import __version__
setup(name='dreamBeam',
version=__version__,
description='Measurement equation framework for radio interferometry.',
author='Tobia D. Carozzi',
author_email='tobia.carozzi@chalmers.se',
pa... | Change to import version from package. | Change to import version from package.
| Python | isc | 2baOrNot2ba/dreamBeam,2baOrNot2ba/dreamBeam | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name = 'dreamBeam',
version = '0.4',
description = 'Measurement equation framework for interferometry in Radio Astronomy.',
author = 'Tobia D. Carozzi',
author_email = 'tobia.carozzi@chalmers.se',
packages = find_pac... | #!/usr/bin/env python
from setuptools import setup, find_packages
from dreambeam import __version__
setup(name='dreamBeam',
version=__version__,
description='Measurement equation framework for radio interferometry.',
author='Tobia D. Carozzi',
author_email='tobia.carozzi@chalmers.se',
pa... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name = 'dreamBeam',
version = '0.4',
description = 'Measurement equation framework for interferometry in Radio Astronomy.',
author = 'Tobia D. Carozzi',
author_email = 'tobia.carozzi@chalmers.se',
pack... | #!/usr/bin/env python
from setuptools import setup, find_packages
from dreambeam import __version__
setup(name='dreamBeam',
version=__version__,
description='Measurement equation framework for radio interferometry.',
author='Tobia D. Carozzi',
author_email='tobia.carozzi@chalmers.se',
pa... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name = 'dreamBeam',
version = '0.4',
description = 'Measurement equation framework for interferometry in Radio Astronomy.',
author = 'Tobia D. Carozzi',
author_email = 'tobia.carozzi@chalmers.se',
packages = find_pac... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name = 'dreamBeam',
version = '0.4',
description = 'Measurement equation framework for interferometry in Radio Astronomy.',
author = 'Tobia D. Carozzi',
author_email = 'tobia.carozzi@chalmers.se',
pack... |
6adf64a1f39e9455851ba93fa6fcae8e02b0b3ea | setup.py | setup.py | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_packages(),
in... | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
"github3.py",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_... | Add github3.py to the requirements | Add github3.py to the requirements
| Python | mit | k4nar/inbox | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_packages(),
in... | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
"github3.py",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_... | <commit_before>from setuptools import setup, find_packages
import inbox
requirements = [
"click",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_pac... | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
"github3.py",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_... | from setuptools import setup, find_packages
import inbox
requirements = [
"click",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_packages(),
in... | <commit_before>from setuptools import setup, find_packages
import inbox
requirements = [
"click",
]
setup(
name="inbox",
version=inbox.__version__,
url='TODO',
description=inbox.__doc__,
author=inbox.__author__,
license=inbox.__license__,
long_description="TODO",
packages=find_pac... |
edf32f4ac0527fbe97cd4ccf2a87f22e503e3111 | setup.py | setup.py | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | Modify cappy dependency to work with Python 3.8 | Modify cappy dependency to work with Python 3.8
| Python | bsd-2-clause | ctsit/nacculator,ctsit/nacculator,ctsit/nacculator | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | <commit_before>###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
########################... | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | ###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
#######################################... | <commit_before>###############################################################################
# Copyright 2015-2020 University of Florida. All rights reserved.
# This file is part of UF CTS-IT's NACCulator project.
# Use of this source code is governed by the license found in the LICENSE file.
########################... |
5beb443d4c9cf834be03ff33a2fb01605f8feb80 | pyof/v0x01/symmetric/hello.py | pyof/v0x01/symmetric/hello.py | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
This message does not contain a body beyond the Ope... | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.foundation.basic_types import BinaryData
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
... | Add optional elements in v0x01 Hello | Add optional elements in v0x01 Hello
For spec compliance. Ignore the elements as they're not used.
Fix #379
| Python | mit | kytos/python-openflow | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
This message does not contain a body beyond the Ope... | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.foundation.basic_types import BinaryData
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
... | <commit_before>"""Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
This message does not contain a body... | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.foundation.basic_types import BinaryData
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
... | """Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
This message does not contain a body beyond the Ope... | <commit_before>"""Defines Hello message."""
# System imports
# Third-party imports
from pyof.foundation.base import GenericMessage
from pyof.v0x01.common.header import Header, Type
__all__ = ('Hello',)
# Classes
class Hello(GenericMessage):
"""OpenFlow Hello Message.
This message does not contain a body... |
69386a024e461a7b4a46f7c68d4512e0c7d4f277 | setup.py | setup.py | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | Add attrs as project requirement | chore: Add attrs as project requirement
| Python | isc | victorpoluceno/xwing | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | <commit_before>from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor... | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor Poluceno',
... | <commit_before>from setuptools import setup
setup(
name='xwing',
version='0.0.1.dev0',
url='https://github.com/victorpoluceno/xwing',
license='ISC',
description='Xwing is a Python library writen using that help '
'to distribute connect to a single port to other process',
author='Victor... |
a185f70b64986b2e98457e18b0a420cf2b97688b | setup.py | setup.py | from setuptools import find_packages
from distutils.core import setup
setup(
name='skipper',
version='0.0.1',
url='http://github.com/Stratoscale/skipper',
author='Adir Gabai',
author_mail='adir@stratoscale.com',
packages=find_packages(include=['skipper*']),
data_files=[
('/etc/bash_... | import os
from setuptools import find_packages
from distutils.core import setup
data_files = []
# Add bash completion script in case we are running as root
if os.getuid() == 0:
data_files=[
('/etc/bash_completion.d', ['data/skipper-complete.sh'])
]
setup(
name='skipper',
version='0.0.1',
... | Install bash completion script only when running the installation script as root. This is also a workaround for a bug that prevents tox from install the above script while creating the virtual environment. | Install bash completion script only when running the installation script
as root. This is also a workaround for a bug that prevents tox from install the
above script while creating the virtual environment.
| Python | apache-2.0 | Stratoscale/skipper,Stratoscale/skipper | from setuptools import find_packages
from distutils.core import setup
setup(
name='skipper',
version='0.0.1',
url='http://github.com/Stratoscale/skipper',
author='Adir Gabai',
author_mail='adir@stratoscale.com',
packages=find_packages(include=['skipper*']),
data_files=[
('/etc/bash_... | import os
from setuptools import find_packages
from distutils.core import setup
data_files = []
# Add bash completion script in case we are running as root
if os.getuid() == 0:
data_files=[
('/etc/bash_completion.d', ['data/skipper-complete.sh'])
]
setup(
name='skipper',
version='0.0.1',
... | <commit_before>from setuptools import find_packages
from distutils.core import setup
setup(
name='skipper',
version='0.0.1',
url='http://github.com/Stratoscale/skipper',
author='Adir Gabai',
author_mail='adir@stratoscale.com',
packages=find_packages(include=['skipper*']),
data_files=[
... | import os
from setuptools import find_packages
from distutils.core import setup
data_files = []
# Add bash completion script in case we are running as root
if os.getuid() == 0:
data_files=[
('/etc/bash_completion.d', ['data/skipper-complete.sh'])
]
setup(
name='skipper',
version='0.0.1',
... | from setuptools import find_packages
from distutils.core import setup
setup(
name='skipper',
version='0.0.1',
url='http://github.com/Stratoscale/skipper',
author='Adir Gabai',
author_mail='adir@stratoscale.com',
packages=find_packages(include=['skipper*']),
data_files=[
('/etc/bash_... | <commit_before>from setuptools import find_packages
from distutils.core import setup
setup(
name='skipper',
version='0.0.1',
url='http://github.com/Stratoscale/skipper',
author='Adir Gabai',
author_mail='adir@stratoscale.com',
packages=find_packages(include=['skipper*']),
data_files=[
... |
6ea8a4b07139460e89c6208cf08e195e9b8483ba | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | Increment azure-sdk dependency to match version in OBS. | Increment azure-sdk dependency to match version in OBS.
| Python | apache-2.0 | SUSE/azurectl,SUSE/azurectl,SUSE/azurectl | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_url': 'https://... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from azurectl.version import __VERSION__
config = {
'description': 'Manage Azure PubCloud Service',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/azurectl',
'download_... |
7b5794132f3f1e93c9dda3bb332a6594fb369018 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b8",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b9",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | Fix packaging (again) - 1.0b9 | Fix packaging (again) - 1.0b9
| Python | mit | pinax/django-waitinglist,pinax/django-waitinglist | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b8",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b9",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | <commit_before>from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b8",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("REA... | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b9",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b8",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("README.rst").read(... | <commit_before>from setuptools import setup, find_packages
setup(
name = "django-waitinglist",
version = "1.0b8",
author = "Brian Rosner",
author_email = "brosner@gmail.com",
description = "a Django waiting list app for running a private beta with cohorts support",
long_description = open("REA... |
1423085230a010b5a96ce9eaf63abeb9e5af58a4 | setup.py | setup.py | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | Add a data_files option to install the config and plugin files in /etc/planet_alignment. | Add a data_files option to install the config and plugin files in /etc/planet_alignment.
| Python | mit | paulfanelli/planet_alignment | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | <commit_before>import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
versi... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
version='1.0.0',
... | <commit_before>import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Utility function to read the README file, used for the long desc.
def read(fn):
return open(os.path.join(os.path.dirname(__file__), fn)).read()
setup(
name='planet_alignment',
versi... |
3339b9e865adf7a2fcfc27d3c9390724ca82086d | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.5.2',
keywords="django bootstrap pagination templatetag",
author... | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.6.0',
keywords="django bootstrap pagination templatetag",
author... | Prepare for 1.6.0 on pypi | Prepare for 1.6.0 on pypi
| Python | mit | jmcclell/django-bootstrap-pagination,jmcclell/django-bootstrap-pagination | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.5.2',
keywords="django bootstrap pagination templatetag",
author... | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.6.0',
keywords="django bootstrap pagination templatetag",
author... | <commit_before># -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.5.2',
keywords="django bootstrap pagination templatet... | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.6.0',
keywords="django bootstrap pagination templatetag",
author... | # -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.5.2',
keywords="django bootstrap pagination templatetag",
author... | <commit_before># -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
with open('README.rst', 'rb') as readme:
readme_text = readme.read().decode('utf-8')
setup(
name='django-bootstrap-pagination',
version='1.5.2',
keywords="django bootstrap pagination templatet... |
3b590e0a9719a9cbec6b75a591fa92f5178cdc4e | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b2'
requires = [
'eduid-common[webapp]>=0.2.1b7',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b3'
requires = [
'eduid-common[webapp]>=0.2.1b9',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | Bump version and eduid_common requirement | Bump version and eduid_common requirement
| Python | bsd-3-clause | SUNET/eduid-webapp,SUNET/eduid-webapp,SUNET/eduid-webapp | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b2'
requires = [
'eduid-common[webapp]>=0.2.1b7',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b3'
requires = [
'eduid-common[webapp]>=0.2.1b9',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b2'
requires = [
'eduid-common[webapp]>=0.2.1b7',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b3'
requires = [
'eduid-common[webapp]>=0.2.1b9',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b2'
requires = [
'eduid-common[webapp]>=0.2.1b7',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage==3.6',
'no... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
version = '0.1.2b2'
requires = [
'eduid-common[webapp]>=0.2.1b7',
'Flask==0.10.1',
]
test_requires = [
'WebTest==2.0.18',
'mock==1.0.1',
]
testing_extras = test_requires + [
'nose==1.2.1',
'coverage... |
e00ebeaa185ed2fc50c68eddd282194d8633a89c | setup.py | setup.py | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.3',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.4',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | Increment version for 24-bit wav bug fix | Increment version for 24-bit wav bug fix | Python | mit | jiaaro/pydub | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.3',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.4',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.3',
author='James Robert',
author_email='jiaaro@gmail.com',
descripti... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.4',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.3',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate ... | <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.16.3',
author='James Robert',
author_email='jiaaro@gmail.com',
descripti... |
41570584ec50017d86e319be132420b81feed671 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | Add Python 3.8 to trove classifiers | Add Python 3.8 to trove classifiers
| Python | mit | srittau/python-htmlgen | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",... | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | #!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",
url="https... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="htmlgen",
version="2.0.0",
description="HTML 5 Generator",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Rittau",
author_email="srittau@rittau.biz",... |
5d9c602a07e329f135c8e1f4c0acc0cba0efd148 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | REmove python 3 (not ready yet) | REmove python 3 (not ready yet)
| Python | isc | marcoslhc/xyvio,marcoslhc/xyvio,marcoslhc/xyvio | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :changelog:', ''... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read().replace('.. :... |
c9f8b832761525c2f04a71515b743be87f2e4a58 | setup.py | setup.py | from distutils.core import setup
setup(name='q', version='2.3', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | from distutils.core import setup
setup(name='q', version='2.4', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | Advance PyPI version to 2.4. | Advance PyPI version to 2.4.
| Python | apache-2.0 | zestyping/q | from distutils.core import setup
setup(name='q', version='2.3', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | from distutils.core import setup
setup(name='q', version='2.4', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | <commit_before>from distutils.core import setup
setup(name='q', version='2.3', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifier... | from distutils.core import setup
setup(name='q', version='2.4', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | from distutils.core import setup
setup(name='q', version='2.3', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifiers=[
'... | <commit_before>from distutils.core import setup
setup(name='q', version='2.3', py_modules=['q'],
description='Quick-and-dirty debugging output for tired programmers',
author='Ka-Ping Yee', author_email='ping@zesty.ca',
license='Apache License 2.0',
url='http://github.com/zestyping/q', classifier... |
699cd767551744adf3fcff4862ed754496782526 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | Fix "Python :: 2" being listed twice in pypi classifiers | Fix "Python :: 2" being listed twice in pypi classifiers
| Python | mit | epsy/clize | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com'... | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | #!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
install_r... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='clize',
version='3.0a2',
description='Command-line argument parsing for Python, without the effort',
license='MIT',
url='https://github.com/epsy/clize',
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com'... |
da32f549ef882680484a20084d5cfa5f7106f5e7 | setup.py | setup.py | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
author = 'Ted Lawless',
author_email = 'lawlesst@gmail.com',
p... | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
... | Read requirements. Add vivoUpdate to modules. | Read requirements. Add vivoUpdate to modules.
| Python | mit | lawlesst/vivo-rdflib-sparqlstore | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
author = 'Ted Lawless',
author_email = 'lawlesst@gmail.com',
p... | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
... | <commit_before>from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
author = 'Ted Lawless',
author_email = 'lawlesst@gm... | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
... | from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
author = 'Ted Lawless',
author_email = 'lawlesst@gmail.com',
p... | <commit_before>from setuptools import setup
description = 'RDFLib SPARQLStore and SPARQLUpdateStore implementation for VIVO.'
setup(
name = 'vivo-rdflib-sparqlstore',
version = '0.0.1',
url = 'https://github.com/lawlesst/rdflib-vivo-sparqlstore',
author = 'Ted Lawless',
author_email = 'lawlesst@gm... |
9a0adb5fc4d07aa4ec4d725e1ddc9b651e622fce | setup.py | setup.py | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.1.3',
description='python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='web-dev@tx... | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.2.0',
description='Python stores for JSON data encapsulation',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='... | Bump version to 0.2.0 and update description. | Bump version to 0.2.0 and update description.
| Python | bsd-2-clause | storecast/barrel | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.1.3',
description='python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='web-dev@tx... | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.2.0',
description='Python stores for JSON data encapsulation',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='... | <commit_before>"""Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.1.3',
description='python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_em... | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.2.0',
description='Python stores for JSON data encapsulation',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='... | """Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.1.3',
description='python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='web-dev@tx... | <commit_before>"""Model-like encapsulation of big dict structure (like JSON data)."""
from setuptools import setup, find_packages
setup(
name='barrel',
version='0.1.3',
description='python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_em... |
b692e57988b279c8d2c4f88bf3995bc7b8bde355 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | Update dodge.py for better support for versions of Python other than 2.7 | Update dodge.py for better support for versions of Python other than 2.7
| Python | bsd-2-clause | mwilliamson/whack | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utilit... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utility for installin... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3, 0):
extra["use_2to3"] = True
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='whack',
version='0.7.0',
description='Utilit... |
a1154d3c9788a6cbaeac4245d916f65dbd9adf12 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | Add python_requires to help pip | Add python_requires to help pip
| Python | bsd-3-clause | toastdriven/restless | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://github.com/toas... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import restless
setup(
name='restless',
version=restless.VERSION,
description='A lightweight REST miniframework for Python.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
url='http://... |
57d6bcee40fe2df5ce6c21d93c26f34d7fdad672 | setup.py | setup.py | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | Add cookiecutter to install reqs | Add cookiecutter to install reqs
| Python | mit | Empiria/matador | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | <commit_before>from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(fu... | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | <commit_before>from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(fu... |
33563cdda68bc12fc4038128f7833d837bd76af3 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | Add cache dependency to improve web requests | Add cache dependency to improve web requests
Also add filecache optional to control locks.
| Python | agpl-3.0 | daltonserey/tst,daltonserey/tst | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | <commit_before>from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
... | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
include_packa... | <commit_before>from setuptools import setup, find_packages
setup(name='tst',
version='0.9a18',
description='TST Student Testing',
url='http://github.com/daltonserey/tst',
author='Dalton Serey',
author_email='daltonserey@gmail.com',
license='MIT',
packages=find_packages(),
... |
015d536e591d5af7e93f299e84504fe8a17f76b3 | tests.py | tests.py | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | Test that log messages go to stderr. | Test that log messages go to stderr.
| Python | isc | whilp/python-script,whilp/python-script | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | <commit_before>import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs([... | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs(["foo"])
... | <commit_before>import logging
import unittest
from StringIO import StringIO
class TestArgParsing(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
from script import parseargs
self.parseargs = parseargs
def test_parseargs(self):
opts, args = self.parseargs([... |
bc6001d6c25bdb5d83830e5a65fe5aea9fc1eb99 | ume/cmd.py | ume/cmd.py | # -*- coding: utf-8 -*-
import logging as l
import argparse
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subparsers(
... | # -*- coding: utf-8 -*-
import logging as l
import argparse
import os
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subp... | Add init function to create directories | Add init function to create directories
| Python | mit | smly/ume,smly/ume,smly/ume,smly/ume | # -*- coding: utf-8 -*-
import logging as l
import argparse
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subparsers(
... | # -*- coding: utf-8 -*-
import logging as l
import argparse
import os
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subp... | <commit_before># -*- coding: utf-8 -*-
import logging as l
import argparse
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add... | # -*- coding: utf-8 -*-
import logging as l
import argparse
import os
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subp... | # -*- coding: utf-8 -*-
import logging as l
import argparse
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add_subparsers(
... | <commit_before># -*- coding: utf-8 -*-
import logging as l
import argparse
from ume.utils import (
save_mat,
dynamic_load,
)
def parse_args():
p = argparse.ArgumentParser(
description='CLI interface UME')
p.add_argument('--config', dest='inifile', default='config.ini')
subparsers = p.add... |
1b75fe13249eba8d951735ad422dc512b1e28caf | test/test_all_stores.py | test/test_all_stores.py | import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
| import os
import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
def test_creates_required_dirs(self):
for d in groundstation.store.git_store.GitStore.required_dirs:
path = os.path.join(self.pat... | Add testcase for database initialization | Add testcase for database initialization
| Python | mit | richo/groundstation,richo/groundstation,richo/groundstation,richo/groundstation,richo/groundstation | import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
Add testcase for database initialization | import os
import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
def test_creates_required_dirs(self):
for d in groundstation.store.git_store.GitStore.required_dirs:
path = os.path.join(self.pat... | <commit_before>import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
<commit_msg>Add testcase for database initialization<commit_after> | import os
import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
def test_creates_required_dirs(self):
for d in groundstation.store.git_store.GitStore.required_dirs:
path = os.path.join(self.pat... | import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
Add testcase for database initializationimport os
import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass ... | <commit_before>import store_fixture
import groundstation.store
class TestGitStore(store_fixture.StoreTestCase):
storeClass = groundstation.store.git_store.GitStore
<commit_msg>Add testcase for database initialization<commit_after>import os
import store_fixture
import groundstation.store
class TestGitStore(stor... |
2f9a4029e909f71539f3b7326b867e27386c3378 | tests/interface_test.py | tests/interface_test.py | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | Add missing tests for interfaces | Add missing tests for interfaces
| Python | bsd-2-clause | MetaMemoryT/aiozmq,claws/aiozmq,asteven/aiozmq,aio-libs/aiozmq | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | <commit_before>import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplement... | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplementedError, tr.get... | <commit_before>import unittest
import aiozmq
class ZmqTransportTests(unittest.TestCase):
def test_interface(self):
tr = aiozmq.ZmqTransport()
self.assertRaises(NotImplementedError, tr.write, [b'data'])
self.assertRaises(NotImplementedError, tr.abort)
self.assertRaises(NotImplement... |
5b3d26b6c9256f869d3bc08dfa00bf9b8de58f85 | tests/test_cli_parse.py | tests/test_cli_parse.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | Change from TemporaryDirectory to NamedTemporaryFile | Change from TemporaryDirectory to NamedTemporaryFile
| Python | apache-2.0 | Z2PackDev/TBmodels,Z2PackDev/TBmodels | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])
def test_cli_p... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import cli
from parameters import SAMPLES_DIR
@pytest.mark.parametrize('prefix', ['silicon', 'bi'])... |
b577abd12524979ab3cd76c39242713ff78ea011 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | Remove check if wheel package is installed | Remove check if wheel package is installed
| Python | mit | igordejanovic/textX,igordejanovic/textX,igordejanovic/textX | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__ver... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__version__'):
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
this_dir = os.path.abspath(os.path.dirname(__file__))
VERSIONFILE = os.path.join(this_dir, "textx", "__init__.py")
VERSION = None
for line in open(VERSIONFILE, "r").readlines():
if line.startswith('__ver... |
6e1d9bcfaf74b7d41b22147b9ba5e861543f6c90 | 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 = "cmsplugin-filer",
version = "0.9.4pbs3",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs4",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | Bump version since there are commits since last tag. | Bump version since there are commits since last tag. | Python | bsd-3-clause | pbs/cmsplugin-filer,pbs/cmsplugin-filer,pbs/cmsplugin-filer,pbs/cmsplugin-filer | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs3",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs4",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | <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 = "cmsplugin-filer",
version = "0.9.4pbs3",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description ... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs4",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs3",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms p... | <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 = "cmsplugin-filer",
version = "0.9.4pbs3",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description ... |
bed1bb8dd9964230a621d065ed5d1a63f4634486 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | Switch to pycryptodome rather than pycrypto | Switch to pycryptodome rather than pycrypto
| Python | apache-2.0 | google/python-lakeside | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
... |
1c5dbc45213262051ff2472cc0454273d88b82d0 | setup.py | setup.py | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Endpoints Proto Datastore API',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleCloudPlatform/endpoi... | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Google Cloud Endpoints Proto Datastore Library',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleClo... | Change desc to clearly advertise that this is a library to work with Google Cloud Endpoints | Change desc to clearly advertise that this is a library to work with
Google Cloud Endpoints
| Python | apache-2.0 | jbergant/endpoints-proto-datastore,mnieper/endpoints-proto-datastore,maxandron/endpoints-proto-datastore,dhermes/endpoints-proto-datastore,GoogleCloudPlatform/endpoints-proto-datastore | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Endpoints Proto Datastore API',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleCloudPlatform/endpoi... | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Google Cloud Endpoints Proto Datastore Library',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleClo... | <commit_before>#!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Endpoints Proto Datastore API',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleCloud... | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Google Cloud Endpoints Proto Datastore Library',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleClo... | #!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Endpoints Proto Datastore API',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleCloudPlatform/endpoi... | <commit_before>#!/usr/bin/env python
import setuptools
import os
setuptools.setup(
name='endpoints-proto-datastore',
version='0.9.0',
description='Endpoints Proto Datastore API',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
url='https://github.com/GoogleCloud... |
6fd86d15d896a5fcfc3d013cb9be47405be6491b | setup.py | setup.py | from setuptools import setup
setup(
name="teamscale-client",
version="3.1.1",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | from setuptools import setup
setup(
name="teamscale-client",
version="3.2.0",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | Update Client Version to 3.2 | Update Client Version to 3.2
| Python | apache-2.0 | cqse/teamscale-client-python | from setuptools import setup
setup(
name="teamscale-client",
version="3.1.1",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | from setuptools import setup
setup(
name="teamscale-client",
version="3.2.0",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | <commit_before>from setuptools import setup
setup(
name="teamscale-client",
version="3.1.1",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
... | from setuptools import setup
setup(
name="teamscale-client",
version="3.2.0",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | from setuptools import setup
setup(
name="teamscale-client",
version="3.1.1",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
url="https://... | <commit_before>from setuptools import setup
setup(
name="teamscale-client",
version="3.1.1",
author="Thomas Kinnen - CQSE GmbH",
author_email="kinnen@cqse.eu",
description=("A simple service client to interact with Teamscale's REST API."),
license="Apache",
keywords="rest api teamscale",
... |
2ebb6b2f4c2f0008355ae0eb268cf156a6eb686e | setup.py | setup.py | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | Change "Development Status" classifier to "5 - Production/Stable" | Change "Development Status" classifier to "5 - Production/Stable" | Python | bsd-3-clause | gasman/Willow,torchbox/Willow,gasman/Willow,torchbox/Willow | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | <commit_before>#!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.e... | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | #!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pi... | <commit_before>#!/usr/bin/env python
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.e... |
ec7aab6caccab6fa14024adcdbcbbe1bed6ba346 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | Update package to have the tag/release match | Update package to have the tag/release match
| Python | agpl-3.0 | f00f-nyc/cityhall-python | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for acce... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for accessing City Hall... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.10',
description = 'A library for acce... |
9c84f8f759963b331204095fda9be881862440da | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | Mark dependencies on recent core and datamodel versions. | Mark dependencies on recent core and datamodel versions.
| Python | mit | ProjetPP/ExamplePPPModule-Python,ProjetPP/ExamplePPPModule-Python | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='example_ppp_module',
version='0.1',
description='Example python module for the PPP.',
url='https://github.com/ProjetPP',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
... |
20eebb23a0aafd03e62b91fdba154518bb3898e8 | setup.py | setup.py | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | Update to remove requirement for unused 'lexicons' dir | Update to remove requirement for unused 'lexicons' dir
| Python | mit | cjhutto/bsd,cjhutto/bsd,cjhutto/bsd | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | <commit_before>from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# d... | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
#... | <commit_before>from setuptools import setup, find_packages
package = 'bsdetector'
version = '0.1'
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# d... |
f958d337c171dea92237d2f7ef84618756db6f46 | setup.py | setup.py | from distutils.core import setup
setup(name='pyresttest',
version='1.0b',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://... | from distutils.core import setup
setup(name='pyresttest',
version='1.0',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://g... | Revert "Set version to b for beta" | Revert "Set version to b for beta"
This reverts commit db3395cc44f6b18d59a06593ad48f14e4c99ad05.
| Python | apache-2.0 | svanoort/pyresttest,TimYi/pyresttest,netjunki/pyresttest,janusnic/pyresttest,MorrisJobke/pyresttest,sunyanhui/pyresttest,sunyanhui/pyresttest,alazaro/pyresttest,wirewit/pyresttest,alazaro/pyresttest,suvarnaraju/pyresttest,svanoort/pyresttest,MorrisJobke/pyresttest,holdenweb/pyresttest,TimYi/pyresttest,holdenweb/pyrestt... | from distutils.core import setup
setup(name='pyresttest',
version='1.0b',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://... | from distutils.core import setup
setup(name='pyresttest',
version='1.0',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://g... | <commit_before>from distutils.core import setup
setup(name='pyresttest',
version='1.0b',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
... | from distutils.core import setup
setup(name='pyresttest',
version='1.0',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://g... | from distutils.core import setup
setup(name='pyresttest',
version='1.0b',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
url='https://... | <commit_before>from distutils.core import setup
setup(name='pyresttest',
version='1.0b',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool',
maintainer='Sam Van Oort',
maintainer_email='acetonespam@gmail.com',
... |
ad29d682af36f3f27144fefd1cf72d869106ac46 | setup.py | setup.py | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | Upgrade the Development Status classifier to stable | Upgrade the Development Status classifier to stable
[skip ci]
| Python | mit | pmclanahan/urlwait,pmclanahan/urlwait | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | <commit_before>from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['u... | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['urlwait'],
e... | <commit_before>from setuptools import setup
setup(
name='urlwait',
version='1.0',
description='A CLI utility for blocking until a service is listening',
long_description=open('README.rst').read(),
author='Paul McLanahan',
author_email='paul@mclanahan.net',
license='MIT',
py_modules=['u... |
78edc5479212af75a412cf321d321283978a6d79 | setup.py | setup.py | from distutils.core import setup
setup(name='nikeplus',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | from distutils.core import setup
setup(name='nikeplusapi',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | Change package name for pypi, nikeplus was taken :( | Change package name for pypi, nikeplus was taken :(
| Python | mit | durden/nikeplus | from distutils.core import setup
setup(name='nikeplus',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | from distutils.core import setup
setup(name='nikeplusapi',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | <commit_before>from distutils.core import setup
setup(name='nikeplus',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_s... | from distutils.core import setup
setup(name='nikeplusapi',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | from distutils.core import setup
setup(name='nikeplus',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_scripts": [
... | <commit_before>from distutils.core import setup
setup(name='nikeplus',
version='0.1',
description='Export nikeplus data to CSV format',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://www.lukelee.me',
packages=['nikeplus'],
entry_points={
"console_s... |
ff77e5e6323b05260c89ee735bfd6dc083211def | setup.py | setup.py | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='noseprogressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nosep... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='nose-progressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nose... | Tweak package name to conform to nose's built-in plugins' convention. | Tweak package name to conform to nose's built-in plugins' convention.
| Python | mit | veo-labs/nose-progressive,olivierverdier/nose-progressive,erikrose/nose-progressive,pmclanahan/pytest-progressive | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='noseprogressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nosep... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='nose-progressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nose... | <commit_before>import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='noseprogressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The phil... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='nose-progressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nose... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='noseprogressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The philosophy of nosep... | <commit_before>import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='noseprogressive',
version='0.1',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description="""The phil... |
70ab0f7bb46318330b5e75be107bb380e96b7716 | setup.py | setup.py | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
url='http://storj.io',
# Uncomment one or more lines below in the install_requi... | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
# Uncomment one or more lines below in the install_requires section
# for the ... | Remove Storj and Trigger Travis | Remove Storj and Trigger Travis | Python | mit | isghe/chainpoint | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
url='http://storj.io',
# Uncomment one or more lines below in the install_requi... | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
# Uncomment one or more lines below in the install_requires section
# for the ... | <commit_before>from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
url='http://storj.io',
# Uncomment one or more lines below in th... | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
# Uncomment one or more lines below in the install_requires section
# for the ... | from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
url='http://storj.io',
# Uncomment one or more lines below in the install_requi... | <commit_before>from setuptools import setup
setup(
name='chainpoint', version='1.0',
description='Federated server for building blockchain notarized Merkle trees.',
author='Shawn Wilkinson', author_email='shawn+chainpoint@storj.io',
url='http://storj.io',
# Uncomment one or more lines below in th... |
f66f4858816646f8f070910de63e11064a69d4e0 | setup.py | setup.py | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | Include scripts in the PyPI package. | Include scripts in the PyPI package.
| Python | bsd-2-clause | AndBicScadMedia/blueprint,nginxxx/blueprint,volcomism/blueprint,AndBicScadMedia/blueprint,nginxxx/blueprint,devstructure/blueprint,volcomism/blueprint,volcomism/blueprint,AndBicScadMedia/blueprint,devstructure/blueprint,nginxxx/blueprint | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | <commit_before>from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentErro... | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentError, '/^VERSION=/... | <commit_before>from setuptools import setup, find_packages
import re
#pattern = re.compile(r'^VERSION=(.+)$')
#version = None
#for line in open('Makefile'):
# match = pattern.match(line)
# if match is None:
# continue
# version = match.group(1)
# break
#if version is None:
# raise EnvironmentErro... |
3de90ff1f33d05d30e295279e7ad4cdd0e6bbc9b | setup.py | setup.py | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | Change from planning to in beta | Change from planning to in beta
| Python | apache-2.0 | garydonovan/google-maps-services-python,edwardsamuel/google-maps-services-python,cmontezano/google-maps-services-python,ambrozic/google-maps-services-python,quevedin/google-maps-services-python,codeAshu/google-maps-services-python,Scronker/google-maps-services-python,googlemaps/google-maps-services-python,Prindle19/goo... | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | <commit_before>import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
... | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
version='2... | <commit_before>import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests',
]
setup(name='googlemaps',
... |
45ec0f85bf4b244738220b920dc2046183ba707e | setup.py | setup.py | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | Downgrade tastypie to test-only dependency | Downgrade tastypie to test-only dependency
| Python | mit | infoxchange/ixwsauth | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | <commit_before>"""
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find... | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | """
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find_packages(),
... | <commit_before>"""
Package configuration
"""
# pylint:disable=no-name-in-module, import-error
from distutils.core import setup
from setuptools import find_packages
setup(
name='IXWSAuth',
version='0.1.1',
author='Infoxchanhe Australia dev team',
author_email='devs@infoxchange.net.au',
packages=find... |
b57a0a89cd2596174300319ee0a83490ad987177 | setup.py | setup.py | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | Add Python 3.11 support as of version 1.10.0 | Add Python 3.11 support as of version 1.10.0
| Python | mit | andrasmaroy/pconf | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | <commit_before>from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return op... | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(pa... | <commit_before>from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return op... |
d8a39009565ca8aff4b6fbddae5d2ef7aada7213 | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | Add tables package to run pvlib modelchain with default parameters | Add tables package to run pvlib modelchain with default parameters
| Python | mit | oemof/feedinlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
au... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof dev... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc2",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
au... |
42d765c8dbcc099f7bd2ac77485a0b5351a1b0a7 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | Remove django requirement to prevent version conflicts when using pip | Remove django requirement to prevent version conflicts when using pip
| Python | mit | aditweb/django-socialregistration,bopo/django-socialregistration,lgapontes/django-socialregistration,0101/django-socialregistration,mark-adams/django-socialregistration,brodie/django-socialregistration,mark-adams/django-socialregistration,minlex/django-socialregistration,flashingpumpkin/django-socialregistration,kapt/d... | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | <commit_before>#!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
l... | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | #!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
long_description... | <commit_before>#!/usr/bin/env python
from setuptools import setup,find_packages
METADATA = dict(
name='django-socialregistration',
version='0.4.3',
author='Alen Mujezinovic',
author_email='alen@caffeinehit.com',
description='Django application enabling registration through a variety of APIs',
l... |
90ba2679c712e87ac750affdc389bed1de0a422a | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.0',
'cvxopt==1.2.5',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.1',
'cvxopt==1.2.5',
... | Bump pandas from 1.1.0 to 1.1.1 | Bump pandas from 1.1.0 to 1.1.1
Bumps [pandas](https://github.com/pandas-dev/pandas) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Changelog](https://github.com/pandas-dev/pandas/blob/master/RELEASE.md)
- [Commits](https://github.com/pandas-dev/pandas/compare/v1.1.0...v1.1.1)... | Python | apache-2.0 | bugra/l1 | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.0',
'cvxopt==1.2.5',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.1',
'cvxopt==1.2.5',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.0',
'cv... | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.1',
'cvxopt==1.2.5',
... | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.0',
'cvxopt==1.2.5',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.0',
'cv... |
131bc5e7e52ff2cda42647ac7209e40246e857eb | setup.py | setup.py | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | Install requires pytest 3.6 or greater | Install requires pytest 3.6 or greater
| Python | apache-2.0 | eugeniy/pytest-tornado | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | <commit_before>import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test ... | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test plugin providin... | <commit_before>import os
import io
from setuptools import setup, find_packages
cwd = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(cwd, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='pytest-tornado',
version='0.5.0',
description=('A py.test ... |
420644b26d0e355a5fa9d94d18555fbf7494deb6 | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | Use the pg8000 pure-Python Postgres DBAPI module | Use the pg8000 pure-Python Postgres DBAPI module
| Python | mit | TangledWeb/tangled.website | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyat... | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.org',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.website/tags',
author='Wyat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.