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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
392ef4148f477105610bb95d62e6f5685ed38501 | wsme/tg1.py | wsme/tg1.py | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | Fix response status code transmission in the TG1 adapter | Fix response status code transmission in the TG1 adapter
--HG--
extra : rebase_source : 99de2b9beb0ebb61fcd87291faede89e150454fe
| Python | mit | stackforge/wsme | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | <commit_before>import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(re... | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(req)
cher... | <commit_before>import cherrypy
import webob
from turbogears import expose
class Controller(object):
def __init__(self, wsroot):
self._wsroot = wsroot
@expose()
def default(self, *args, **kw):
req = webob.Request(cherrypy.request.wsgi_environ)
res = self._wsroot._handle_request(re... |
f7f1960176c32569397441229a0a3bcac926cd82 | go_contacts/backends/tests/test_riak.py | go_contacts/backends/tests/test_riak.py | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | Add stubby test for getting a contact. | Add stubby test for getting a contact.
| Python | bsd-3-clause | praekelt/go-contacts-api,praekelt/go-contacts-api | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | <commit_before>"""
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContact... | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | """
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContactsBackend(TestCa... | <commit_before>"""
Tests for riak contacts backend and collection.
"""
from twisted.trial.unittest import TestCase
from zope.interface.verify import verifyObject
from go_api.collections import ICollection
from go_contacts.backends.riak import (
RiakContactsBackend, RiakContactsCollection)
class TestRiakContact... |
e98134e112482cd6f3f01148994b331c9cb6f6ba | tests/__init__.py | tests/__init__.py | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from redis import Redis
class TestCase(object):
def setup_method(self, method):
self.redis = Redis()
self.redis.flushall()
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = '... | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from flask_split.core import _get_redis_connection
class TestCase(object):
def setup_method(self, method):
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = 'very secret'
self.app.re... | Fix redis initialization in tests | Fix redis initialization in tests
| Python | mit | jpvanhal/flask-split,jpvanhal/flask-split,jpvanhal/flask-split | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from redis import Redis
class TestCase(object):
def setup_method(self, method):
self.redis = Redis()
self.redis.flushall()
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = '... | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from flask_split.core import _get_redis_connection
class TestCase(object):
def setup_method(self, method):
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = 'very secret'
self.app.re... | <commit_before># -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from redis import Redis
class TestCase(object):
def setup_method(self, method):
self.redis = Redis()
self.redis.flushall()
self.app = Flask(__name__)
self.app.debug = True
self.app... | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from flask_split.core import _get_redis_connection
class TestCase(object):
def setup_method(self, method):
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = 'very secret'
self.app.re... | # -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from redis import Redis
class TestCase(object):
def setup_method(self, method):
self.redis = Redis()
self.redis.flushall()
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = '... | <commit_before># -*- coding: utf-8 -*-
from flask import Flask
from flask_split import split
from redis import Redis
class TestCase(object):
def setup_method(self, method):
self.redis = Redis()
self.redis.flushall()
self.app = Flask(__name__)
self.app.debug = True
self.app... |
7e6a8de053383a322ecc2416dc1a2700ac5fed29 | tests/argument.py | tests/argument.py | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | Add .names to Argument API | Add .names to Argument API
| Python | bsd-2-clause | mattrobenolt/invoke,singingwolfboy/invoke,frol/invoke,pyinvoke/invoke,pfmoore/invoke,tyewang/invoke,frol/invoke,pyinvoke/invoke,mattrobenolt/invoke,pfmoore/invoke,kejbaly2/invoke,mkusz/invoke,mkusz/invoke,kejbaly2/invoke,sophacles/invoke,alex/invoke | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | <commit_before>from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self)... | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self):
asser... | <commit_before>from spec import Spec, eq_, skip, ok_, raises
from invoke.parser import Argument
class Argument_(Spec):
def may_take_names_list(self):
names = ('--foo', '-f')
a = Argument(names=names)
for name in names:
assert a.answers_to(name)
def may_take_name_arg(self)... |
532c80a61bb428fa9b2d73cfd227dc6e95a77c00 | tests/conftest.py | tests/conftest.py | collect_ignore = []
try:
import asyncio
except ImportError:
collect_ignore.append('test_asyncio.py')
| from sys import version_info as v
collect_ignore = []
if not (v[0] >= 3 and v[1] >= 5):
collect_ignore.append('test_asyncio.py')
| Exclude asyncio tests from 3.4 | Exclude asyncio tests from 3.4
| Python | mit | jfhbrook/pyee | collect_ignore = []
try:
import asyncio
except ImportError:
collect_ignore.append('test_asyncio.py')
Exclude asyncio tests from 3.4 | from sys import version_info as v
collect_ignore = []
if not (v[0] >= 3 and v[1] >= 5):
collect_ignore.append('test_asyncio.py')
| <commit_before>collect_ignore = []
try:
import asyncio
except ImportError:
collect_ignore.append('test_asyncio.py')
<commit_msg>Exclude asyncio tests from 3.4<commit_after> | from sys import version_info as v
collect_ignore = []
if not (v[0] >= 3 and v[1] >= 5):
collect_ignore.append('test_asyncio.py')
| collect_ignore = []
try:
import asyncio
except ImportError:
collect_ignore.append('test_asyncio.py')
Exclude asyncio tests from 3.4from sys import version_info as v
collect_ignore = []
if not (v[0] >= 3 and v[1] >= 5):
collect_ignore.append('test_asyncio.py')
| <commit_before>collect_ignore = []
try:
import asyncio
except ImportError:
collect_ignore.append('test_asyncio.py')
<commit_msg>Exclude asyncio tests from 3.4<commit_after>from sys import version_info as v
collect_ignore = []
if not (v[0] >= 3 and v[1] >= 5):
collect_ignore.append('test_asyncio.py')
|
c9340c70bd6d974e98244a1c3208c3a061aec9bb | tests/cortests.py | tests/cortests.py | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_fit(self)... | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier, smooth
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_f... | Add tests for function smoothing | Add tests for function smoothing
| Python | mit | rprospero/corfunc-py | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_fit(self)... | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier, smooth
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_f... | <commit_before>#!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test... | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier, smooth
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_f... | #!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test_sane_fit(self)... | <commit_before>#!/usr/bin/python
import unittest
import numpy as np
from corfunc import porod, guinier, fitguinier
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def test_guinier(self):
self.assertEqual(guinier(1, 1, 0), 1)
def test... |
1d7cd9fd4bd52cc5917373ff543c5cdb2b22e9bb | tests/test_now.py | tests/test_now.py | # -*- coding: utf-8 -*-
from freezegun import freeze_time
from jinja2 import Environment, exceptions
import pytest
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSyn... | # -*- coding: utf-8 -*-
import pytest
from freezegun import freeze_time
from jinja2 import Environment, exceptions
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSy... | Add a parametrized test for valid timezones | Add a parametrized test for valid timezones
| Python | mit | hackebrot/jinja2-time | # -*- coding: utf-8 -*-
from freezegun import freeze_time
from jinja2 import Environment, exceptions
import pytest
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSyn... | # -*- coding: utf-8 -*-
import pytest
from freezegun import freeze_time
from jinja2 import Environment, exceptions
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSy... | <commit_before># -*- coding: utf-8 -*-
from freezegun import freeze_time
from jinja2 import Environment, exceptions
import pytest
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(excepti... | # -*- coding: utf-8 -*-
import pytest
from freezegun import freeze_time
from jinja2 import Environment, exceptions
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSy... | # -*- coding: utf-8 -*-
from freezegun import freeze_time
from jinja2 import Environment, exceptions
import pytest
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(exceptions.TemplateSyn... | <commit_before># -*- coding: utf-8 -*-
from freezegun import freeze_time
from jinja2 import Environment, exceptions
import pytest
@pytest.fixture(scope='session')
def environment():
return Environment(extensions=['jinja2_time.TimeExtension'])
def test_tz_is_required(environment):
with pytest.raises(excepti... |
db32e404651533acb857c59a565f539805011c7f | user/consumers.py | user/consumers.py | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | Add sending a message to event subscribers | Add sending a message to event subscribers
| Python | mit | FedorSelitsky/eventrack,FedorSelitsky/eventrack,FedorSelitsky/eventrack,FedorSelitsky/eventrack | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | <commit_before>import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance... | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance, **kwargs):
... | <commit_before>import json
from channels import Group
from channels.auth import channel_session_user, channel_session_user_from_http
from django.dispatch import receiver
from django.db.models.signals import post_save
from event.models import Event
@receiver(post_save, sender=Event)
def send_update(sender, instance... |
a3811c7ba8ac59853002e392d29ab4b3800bf096 | src/test/testlexer.py | src/test/testlexer.py |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... | Add a test for lexing an import statment. | Add a test for lexing an import statment.
| Python | mit | andybalaam/pepper,andybalaam/pepper,andybalaam/pepper,andybalaam/pepper,andybalaam/pepper |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... | <commit_before>
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType... |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... |
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType(), tp )
if... | <commit_before>
from cStringIO import StringIO
from nose.tools import *
from parse import EeyoreLexer
def _lex( string ):
return list( EeyoreLexer.Lexer( StringIO( string ) ) )
def _assert_token( token, text, tp, line = None, col = None ):
assert_equal( token.getText(), text )
assert_equal( token.getType... |
1f3577ab890d1b4ba2382e4b5be2500e7e610fbe | mailer/management/commands/send_mail.py | mailer/management/commands/send_mail.py | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsCommand):
help = "Do one pass thr... | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from optparse import make_option
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsComm... | Add a --quiet option to the send_all management command. | Add a --quiet option to the send_all management command.
| Python | mit | DarkHorseComics/django-mailer | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsCommand):
help = "Do one pass thr... | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from optparse import make_option
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsComm... | <commit_before>import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsCommand):
help = "... | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from optparse import make_option
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsComm... | import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsCommand):
help = "Do one pass thr... | <commit_before>import logging
from django.conf import settings
from django.core.management.base import NoArgsCommand
from mailer.engine import send_all
# allow a sysadmin to pause the sending of mail temporarily.
PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
class Command(NoArgsCommand):
help = "... |
7356dd66137cbb606c3026802ff42ab666af6c08 | jmbo_twitter/admin.py | jmbo_twitter/admin.py | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | Add a comment explaining AttributeError | Add a comment explaining AttributeError
| Python | bsd-3-clause | praekelt/jmbo-twitter,praekelt/jmbo-twitter,praekelt/jmbo-twitter | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | <commit_before>from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute... | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute_url', 'owner',... | <commit_before>from django.contrib import admin
from django.core.urlresolvers import reverse
from jmbo.admin import ModelBaseAdmin
from jmbo_twitter import models
class FeedAdmin(ModelBaseAdmin):
inlines = []
list_display = ('title', '_image', 'subtitle', 'publish_on', 'retract_on', \
'_get_absolute... |
e0eeba656b42ddd2d79bd0f31ad36d64a70dfda0 | moniker/backend/__init__.py | moniker/backend/__init__.py | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | Fix so it invokes on load | Fix so it invokes on load
Change-Id: I9806ac61bc1338e566a533f57a50c214ec6e14e7
| Python | apache-2.0 | kiall/designate-py3,openstack/designate,tonyli71/designate,cneill/designate,cneill/designate-testing,richm/designate,muraliselva10/designate,NeCTAR-RC/designate,muraliselva10/designate,kiall/designate-py3,melodous/designate,cneill/designate,kiall/designate-py3,ionrock/designate,melodous/designate,tonyli71/designate,ram... | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | <commit_before># Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | # Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | <commit_before># Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... |
32ca2e07aae40fea18a55875760c506281113313 | examples/dbus_client.py | examples/dbus_client.py |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... | Update example dbus client to account for Format interface. | Update example dbus client to account for Format interface.
| Python | lgpl-2.1 | jkonecny12/blivet,rvykydal/blivet,AdamWill/blivet,jkonecny12/blivet,AdamWill/blivet,vpodzime/blivet,vojtechtrefny/blivet,rvykydal/blivet,vpodzime/blivet,vojtechtrefny/blivet |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... | <commit_before>
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',se... |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... |
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',sender='com.redha... | <commit_before>
import dbus
bus = dbus.SystemBus()
# This adds a signal match so that the client gets signals sent by Blivet1's
# ObjectManager. These signals are used to notify clients of changes to the
# managed objects (for blivet, this will be devices, formats, and actions).
bus.add_match_string("type='signal',se... |
d5458286244d2ba14fe0af33a9e8fdc9ab728669 | tests/test_replies.py | tests/test_replies.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | Fix test error under Python 2.6 where assertLessEqual not defined | Fix test error under Python 2.6 where assertLessEqual not defined
| Python | mit | cloverstd/wechatpy,wechatpy/wechatpy,cysnake4713/wechatpy,tdautc19841202/wechatpy,zaihui/wechatpy,hunter007/wechatpy,Luckyseal/wechatpy,cysnake4713/wechatpy,navcat/wechatpy,Luckyseal/wechatpy,mruse/wechatpy,chenjiancan/wechatpy,mruse/wechatpy,zhaoqz/wechatpy,zhaoqz/wechatpy,EaseCloud/wechatpy,zaihui/wechatpy,tdautc1984... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='use... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='user1', target='us... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import time
import unittest
class ReplyTestCase(unittest.TestCase):
def test_base_reply(self):
from wechatpy.replies import TextReply
timestamp = int(time.time())
reply = TextReply(source='use... |
dedb1736e333ec98c79bc4f8b494869e9e9be4da | froide/campaign/apps.py | froide/campaign/apps.py | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | Connect request_sent for campaign connection | Connect request_sent for campaign connection | Python | mit | fin/froide,fin/froide,fin/froide,fin/froide | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | <commit_before>from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_ca... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_campaign
... | <commit_before>from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CampaignConfig(AppConfig):
name = "froide.campaign"
verbose_name = _("Campaign")
def ready(self):
from froide.foirequest.models import FoiRequest
from .listeners import connect_ca... |
dd9344755c2bb573b77788b5ad6afa06576d0ae1 | froide/document/apps.py | froide/document/apps.py | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | Mark document search as beta | Mark document search as beta | Python | mit | stefanw/froide,fin/froide,fin/froide,fin/froide,stefanw/froide,stefanw/froide,stefanw/froide,fin/froide,stefanw/froide | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | <commit_before>from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froi... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froide.helper.searc... | <commit_before>from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
class DocumentConfig(AppConfig):
name = 'froide.document'
verbose_name = _('Document')
def ready(self):
import froide.document.signals # noqa
from froi... |
508965ffac8b370cbc831b394b8939c26793f58c | installer/installer_config/admin.py | installer/installer_config/admin.py | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | Add inline for steps to User Choice | Add inline for steps to User Choice
| Python | mit | alibulota/Package_Installer,alibulota/Package_Installer,ezPy-co/ezpy,ezPy-co/ezpy | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | <commit_before>from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admi... | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admin.ModelAdmin):
... | <commit_before>from django.contrib import admin
from installer_config.models import EnvironmentProfile
from installer_config.models import UserChoice, Step
# class PackageAdmin(admin.ModelAdmin):
# model = Package
# list_display = ('id', 'display_name', 'version', 'website')
# class TerminalPromptAdmin(admi... |
c017d8fa711724fc7acb7e90b85f208be074d1ec | drupdates/plugins/repolist/__init__.py | drupdates/plugins/repolist/__init__.py | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | Add extra check to repo list to verify a dictionary is returned | Add extra check to repo list to verify a dictionary is returned
| Python | mit | jalama/drupdates | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | <commit_before>from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def git... | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def gitRepos(self):
... | <commit_before>from drupdates.utils import *
from drupdates.repos import *
'''
Note: you need an ssh key set up with Stash to make this script work
'''
class repolist(repoTool):
def __init__(self):
currentDir = os.path.dirname(os.path.realpath(__file__))
self.localsettings = Settings(currentDir)
def git... |
d4ef63250075dbbefbeed4bb37e8679f1ae2495f | tms/__init__.py | tms/__init__.py | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek
from tms.breakrule import BreakRule | Change to account for the move of the breakrule call | Change to account for the move of the breakrule call
| Python | mit | marmstr93ng/TimeManagementSystem,marmstr93ng/TimeManagementSystem | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeekChange to account for the move of the breakrule call | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek
from tms.breakrule import BreakRule | <commit_before>from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek<commit_msg>Change to account for the move of the breakrule call<commit_after> | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek
from tms.breakrule import BreakRule | from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeekChange to account for the move of the breakrule callfrom tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek
from tms.breakrule import BreakRule | <commit_before>from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek<commit_msg>Change to account for the move of the breakrule call<commit_after>from tms.workday import WorkDay
from tms.scraper import scraper
from tms.workweek import WorkWeek
from tms.breakrule import BreakR... |
f76086c1900bce156291e2180827570477342f70 | tweepy/error.py | tweepy/error.py | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | Use super in TweepError initialization | Use super in TweepError initialization
| Python | mit | svven/tweepy,tweepy/tweepy | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | <commit_before># Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.re... | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.response = respon... | <commit_before># Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None, api_code=None):
self.reason = six.text_type(reason)
self.re... |
d81a6930d21262464ee06ae8afb51b65920f378c | tap/tests/test_pytest_plugin.py | tap/tests/test_pytest_plugin.py | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scope so a fresh tra... | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
import tempfile
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scop... | Fix test to not create a new directory in the project. | Fix test to not create a new directory in the project.
| Python | bsd-2-clause | mblayman/tappy,python-tap/tappy,Mark-E-Hamilton/tappy | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scope so a fresh tra... | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
import tempfile
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scop... | <commit_before># Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scope... | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
import tempfile
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scop... | # Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scope so a fresh tra... | <commit_before># Copyright (c) 2015, Matt Layman
try:
from unittest import mock
except ImportError:
import mock
from tap.plugins import pytest
from tap.tests import TestCase
from tap.tracker import Tracker
class TestPytestPlugin(TestCase):
def setUp(self):
"""The pytest plugin uses module scope... |
0ab7d60f02abe3bd4509c3377ebc6cb11f0a5e0f | ydf/templating.py | ydf/templating.py | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates')
def render... | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_NAME = 'default.tpl'
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname... | Add global for default template name. | Add global for default template name.
| Python | apache-2.0 | ahawker/ydf | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates')
def render... | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_NAME = 'default.tpl'
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname... | <commit_before>"""
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates... | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_NAME = 'default.tpl'
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname... | """
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates')
def render... | <commit_before>"""
ydf/templating
~~~~~~~~~~~~~~
Contains functions to be exported into the Jinja2 environment and accessible from templates.
"""
import jinja2
import os
from ydf import instructions, __version__
DEFAULT_TEMPLATE_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'templates... |
8354cfd953bb09723abcff7fefe620fc4aa6b855 | tests/test_git_helpers.py | tests/test_git_helpers.py | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import commit_new_version, get_commit_log
class GetCommitLogTest(TestCase):
def test_first_commit_is_not_initial_commit(self):
self.assertNotEqual(next(get_commit_log()), 'Initial commit')
class Comm... | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import (commit_new_version, get_commit_log, push_new_version,
tag_new_version)
class GitHelpersTests(TestCase):
def test_first_commit_is_not_initial_commit(self):
... | Add test for git helpers | Add test for git helpers
| Python | mit | relekang/python-semantic-release,relekang/python-semantic-release,wlonk/python-semantic-release,riddlesio/python-semantic-release,jvrsantacruz/python-semantic-release | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import commit_new_version, get_commit_log
class GetCommitLogTest(TestCase):
def test_first_commit_is_not_initial_commit(self):
self.assertNotEqual(next(get_commit_log()), 'Initial commit')
class Comm... | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import (commit_new_version, get_commit_log, push_new_version,
tag_new_version)
class GitHelpersTests(TestCase):
def test_first_commit_is_not_initial_commit(self):
... | <commit_before>from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import commit_new_version, get_commit_log
class GetCommitLogTest(TestCase):
def test_first_commit_is_not_initial_commit(self):
self.assertNotEqual(next(get_commit_log()), 'Initial commit... | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import (commit_new_version, get_commit_log, push_new_version,
tag_new_version)
class GitHelpersTests(TestCase):
def test_first_commit_is_not_initial_commit(self):
... | from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import commit_new_version, get_commit_log
class GetCommitLogTest(TestCase):
def test_first_commit_is_not_initial_commit(self):
self.assertNotEqual(next(get_commit_log()), 'Initial commit')
class Comm... | <commit_before>from unittest import TestCase, mock
from invoke.runner import Result
from semantic_release.git_helpers import commit_new_version, get_commit_log
class GetCommitLogTest(TestCase):
def test_first_commit_is_not_initial_commit(self):
self.assertNotEqual(next(get_commit_log()), 'Initial commit... |
44ea85224eec34376194349d01938aa7fc3cf3d1 | dota2league-tracker/app.py | dota2league-tracker/app.py | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
if __name__ == "__... | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
class Dummy:
d... | Add exposing objects to API | Add exposing objects to API
| Python | mit | Daerdemandt/dota2league-tracker | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
if __name__ == "__... | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
class Dummy:
d... | <commit_before>from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
if ... | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
class Dummy:
d... | from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
if __name__ == "__... | <commit_before>from flask import Flask, abort, request
from config import parse
from bson.json_util import dumps
config = parse('config.yml')
app = Flask(__name__)
#TODO: add more depth here
@app.route('/health')
def get_health():
return "Ok"
@app.route('/config')
def get_config():
return dumps(config)
if ... |
9ad4944b8c37902e80c684f8484105ff952f3dba | tests/test_program.py | tests/test_program.py | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import lists, integers
from sensibility import Program, vocabulary
#semicolon = vocabulary.to_index(';')
@given(lists(integers(min_value=vocabulary.start_token_index + 1,
max_value... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import builds, lists, integers, just
from sensibility import Program, vocabulary
tokens = integers(min_value=vocabulary.start_token_index + 1,
max_value=vocabulary.end_token_index - 1)... | Clean up test a bit. | Clean up test a bit.
| Python | apache-2.0 | naturalness/sensibility,naturalness/sensibility,naturalness/sensibility,naturalness/sensibility | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import lists, integers
from sensibility import Program, vocabulary
#semicolon = vocabulary.to_index(';')
@given(lists(integers(min_value=vocabulary.start_token_index + 1,
max_value... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import builds, lists, integers, just
from sensibility import Program, vocabulary
tokens = integers(min_value=vocabulary.start_token_index + 1,
max_value=vocabulary.end_token_index - 1)... | <commit_before>#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import lists, integers
from sensibility import Program, vocabulary
#semicolon = vocabulary.to_index(';')
@given(lists(integers(min_value=vocabulary.start_token_index + 1,
... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import builds, lists, integers, just
from sensibility import Program, vocabulary
tokens = integers(min_value=vocabulary.start_token_index + 1,
max_value=vocabulary.end_token_index - 1)... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import lists, integers
from sensibility import Program, vocabulary
#semicolon = vocabulary.to_index(';')
@given(lists(integers(min_value=vocabulary.start_token_index + 1,
max_value... | <commit_before>#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import io
from hypothesis import given
from hypothesis.strategies import lists, integers
from sensibility import Program, vocabulary
#semicolon = vocabulary.to_index(';')
@given(lists(integers(min_value=vocabulary.start_token_index + 1,
... |
bcccd3aec5fdf64d2730d895ee7fbfc740fd9809 | tests/test_sorting.py | tests/test_sorting.py | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort():
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == so... | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort:
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == sort... | Update with modern class definition | Update with modern class definition
| Python | unlicense | davidgasquez/tip | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort():
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == so... | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort:
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == sort... | <commit_before>from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort():
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert so... | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort:
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == sort... | from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort():
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert sorted_list == so... | <commit_before>from tip.algorithms.sorting.mergesort import mergesort
class TestMergesort():
"""Test class for Merge Sort algorithm."""
def test_mergesort_basic(self):
"""Test basic sorting."""
unsorted_list = [5, 3, 7, 8, 9, 3]
sorted_list = mergesort(unsorted_list)
assert so... |
3b2dab6b7c7a2e0f155825d2819c14de20135fd1 | scripts/add_global_subscriptions.py | scripts/add_global_subscriptions.py | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | Add check for active and registered users | Add check for active and registered users
| Python | apache-2.0 | caneruguz/osf.io,alexschiller/osf.io,rdhyee/osf.io,SSJohns/osf.io,DanielSBrown/osf.io,HalcyonChimera/osf.io,chrisseto/osf.io,mfraezz/osf.io,aaxelb/osf.io,mattclark/osf.io,baylee-d/osf.io,CenterForOpenScience/osf.io,samchrisinger/osf.io,cslzchen/osf.io,laurenrevere/osf.io,chennan47/osf.io,caseyrollins/osf.io,mfraezz/osf... | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | <commit_before>"""
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import ... | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | """
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import constants
from ... | <commit_before>"""
This migration subscribes each user to USER_SUBSCRIPTIONS_AVAILABLE if a subscription
does not already exist.
"""
import logging
import sys
from website.app import init_app
from website import models
from website.notifications.model import NotificationSubscription
from website.notifications import ... |
dffa52e4c72d274dcefdc4c6bbe44b30ed541f89 | tests/test_platform_telegram.py | tests/test_platform_telegram.py | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_tele... | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_teleg... | Fix "Imports are incorrectly sorted" error | Fix "Imports are incorrectly sorted" error
| Python | mit | rougeth/bottery | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_tele... | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_teleg... | <commit_before>import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def tes... | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_teleg... | import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def test_platform_tele... | <commit_before>import aiohttp
import pytest
from bottery.platform.telegram.api import TelegramAPI
def test_platform_telegram_api_non_existent_method():
api = TelegramAPI('token', aiohttp.ClientSession)
with pytest.raises(AttributeError):
api.non_existent_method()
@pytest.mark.asyncio
async def tes... |
4018f7414ca88cc51cf05591f9aec44e5d4b4944 | python/foolib/setup.py | python/foolib/setup.py | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
sources = ['foolibmodule.c'])
setup (name = 'foolib',
version = '1.0',
description = 'T... | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
include_dirs = ['../../cxx/include'],
sources = ['foolibmodule.c', '../../cxx/src/... | Add include directory and c library file. | Add include directory and c library file.
| Python | apache-2.0 | tomkraljevic/polyglot-to-cxx-examples,tomkraljevic/polyglot-to-cxx-examples,tomkraljevic/polyglot-to-cxx-examples | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
sources = ['foolibmodule.c'])
setup (name = 'foolib',
version = '1.0',
description = 'T... | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
include_dirs = ['../../cxx/include'],
sources = ['foolibmodule.c', '../../cxx/src/... | <commit_before>from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
sources = ['foolibmodule.c'])
setup (name = 'foolib',
version = '1.0',
d... | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
include_dirs = ['../../cxx/include'],
sources = ['foolibmodule.c', '../../cxx/src/... | from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
sources = ['foolibmodule.c'])
setup (name = 'foolib',
version = '1.0',
description = 'T... | <commit_before>from distutils.core import setup, Extension
module1 = Extension('foolib',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
sources = ['foolibmodule.c'])
setup (name = 'foolib',
version = '1.0',
d... |
2cbbcb6c900869d37f9a11ae56ea38f548233274 | dask/compatibility.py | dask/compatibility.py | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | Allow for tuple-based args in map also | Allow for tuple-based args in map also
| Python | bsd-3-clause | vikhyat/dask,blaze/dask,mrocklin/dask,wiso/dask,mikegraham/dask,pombredanne/dask,pombredanne/dask,clarkfitzg/dask,jayhetee/dask,cowlicks/dask,blaze/dask,jayhetee/dask,cpcloud/dask,jcrist/dask,mraspaud/dask,jakirkham/dask,jakirkham/dask,ContinuumIO/dask,mrocklin/dask,chrisbarber/dask,dask/dask,ssanderson/dask,PhE/dask,d... | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | <commit_before>from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request im... | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request import urlopen
... | <commit_before>from __future__ import absolute_import, division, print_function
import sys
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
if PY3:
import builtins
from queue import Queue, Empty
from itertools import zip_longest
from io import StringIO, BytesIO
from urllib.request im... |
6b4df3c1784cf2933933fc757c9a097909709ea1 | permachart/charter/forms.py | permachart/charter/forms.py | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | Exclude counter from chart form | Exclude counter from chart form
| Python | bsd-3-clause | justinabrahms/permachart,justinabrahms/permachart | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | <commit_before>from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class M... | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class Meta:
mo... | <commit_before>from collections import defaultdict
from django.http import QueryDict
from google.appengine.ext import db
from google.appengine.ext.db import djangoforms
from charter.models import Chart, ChartDataSet, DataRow
from charter.form_utils import BaseFormSet
class ChartForm(djangoforms.ModelForm):
class M... |
861ae4cfe6148838ac0d7e1ceaa2efd5fbb49a8b | recipes/android/src/android/__init__.py | recipes/android/src/android/__init__.py | # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = android.apk.APK(apk=expansion)
| # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = apk.APK(apk=expansion)
| Use the version of apk we've imported. | Use the version of apk we've imported.
| Python | lgpl-2.1 | renpytom/python-for-android,renpytom/python-for-android,renpytom/python-for-android,renpytom/python-for-android,renpytom/python-for-android,renpytom/python-for-android | # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = android.apk.APK(apk=expansion)
Use the version of apk we've imported. | # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = apk.APK(apk=expansion)
| <commit_before># legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = android.apk.APK(apk=expansion)
<commit_msg>Use the version of apk we've imported.<commit_after> | # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = apk.APK(apk=expansion)
| # legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = android.apk.APK(apk=expansion)
Use the version of apk we've imported.# legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.en... | <commit_before># legacy import
from android._android import *
import os
import android.apk as apk
expansion = os.environ.get("ANDROID_EXPANSION", None)
assets = android.apk.APK(apk=expansion)
<commit_msg>Use the version of apk we've imported.<commit_after># legacy import
from android._android import *
import os
imp... |
d9477dc81b16d572a16ae3578eafd965e8d9fb25 | test/win/gyptest-link-pdb.py | test/win/gyptest-link-pdb.py | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | Insert empty line at to fix patch. | Insert empty line at to fix patch.
gyptest-link-pdb.py was checked in without a blank line. This appears
to cause a patch issue with the try bots. This CL is only a whitespace
change to attempt to fix that problem.
SEE:
patching file test/win/gyptest-link-pdb.py
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- savin... | Python | bsd-3-clause | witwall/gyp,witwall/gyp,witwall/gyp,witwall/gyp,witwall/gyp | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if s... | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if sys.platform == ... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies that the 'Profile' attribute in VCLinker is extracted properly.
"""
import TestGyp
import os
import sys
if s... |
1dca7eeb036423d1d5889e5ec084f9f91f90eb74 | spacy/tests/regression/test_issue957.py | spacy/tests/regression/test_issue957.py | import pytest
from ... import load as load_spacy
def test_issue913(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they haven't installed pytest-timeout plugin
... | from __future__ import unicode_literals
import pytest
from ... import load as load_spacy
def test_issue957(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they... | Add unicode declaration on new regression test | Add unicode declaration on new regression test
| Python | mit | honnibal/spaCy,raphael0202/spaCy,raphael0202/spaCy,oroszgy/spaCy.hu,honnibal/spaCy,honnibal/spaCy,aikramer2/spaCy,aikramer2/spaCy,recognai/spaCy,recognai/spaCy,raphael0202/spaCy,Gregory-Howard/spaCy,Gregory-Howard/spaCy,recognai/spaCy,recognai/spaCy,explosion/spaCy,Gregory-Howard/spaCy,oroszgy/spaCy.hu,recognai/spaCy,G... | import pytest
from ... import load as load_spacy
def test_issue913(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they haven't installed pytest-timeout plugin
... | from __future__ import unicode_literals
import pytest
from ... import load as load_spacy
def test_issue957(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they... | <commit_before>import pytest
from ... import load as load_spacy
def test_issue913(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they haven't installed pytest-... | from __future__ import unicode_literals
import pytest
from ... import load as load_spacy
def test_issue957(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they... | import pytest
from ... import load as load_spacy
def test_issue913(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they haven't installed pytest-timeout plugin
... | <commit_before>import pytest
from ... import load as load_spacy
def test_issue913(en_tokenizer):
'''Test that spaCy doesn't hang on many periods.'''
string = '0'
for i in range(1, 100):
string += '.%d' % i
doc = en_tokenizer(string)
# Don't want tests to fail if they haven't installed pytest-... |
934eeaf4fcee84f22c4f58bdebc1d99ca5e7a31d | tests/rules/test_git_push.py | tests/rules/test_git_push.py | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | Test that `git push -u origin` still works | Test that `git push -u origin` still works
This was broken by https://github.com/nvbn/thefuck/pull/538
| Python | mit | nvbn/thefuck,nvbn/thefuck,Clpsplug/thefuck,SimenB/thefuck,mlk/thefuck,SimenB/thefuck,Clpsplug/thefuck,scorphus/thefuck,scorphus/thefuck,mlk/thefuck | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | <commit_before>import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin... | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
'''
... | <commit_before>import pytest
from thefuck.rules.git_push import match, get_new_command
from tests.utils import Command
@pytest.fixture
def stderr():
return '''fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin... |
18e6f40dcd6cf675f26197d6beb8a3f3d9064b1e | app.py | app.py | import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Card Name',
... | import json
import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Ca... | Send demo turn over websocket. | Send demo turn over websocket.
| Python | apache-2.0 | ohmygourd/dewbrick,ohmygourd/dewbrick,ohmygourd/dewbrick | import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Card Name',
... | import json
import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Ca... | <commit_before>import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': ... | import json
import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Ca... | import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': 'Card Name',
... | <commit_before>import tornado.ioloop
import tornado.web
from tornado.websocket import WebSocketHandler
from tornado import template
class MainHandler(tornado.web.RequestHandler):
DEMO_TURN = {
'player_id': 'abc',
'player_turn': 1,
'card': {
'id': 'card_1',
'name': ... |
5b162e1f6f1512e72257e1e5fa01435f4529537f | app.py | app.py | from flask import Flask
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if request.method == "GET":
... | from flask import Flask, request, render_template
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if requ... | Add render in index page | Add render in index page
| Python | apache-2.0 | bunseokbot/proxy_register,bunseokbot/proxy_register | from flask import Flask
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if request.method == "GET":
... | from flask import Flask, request, render_template
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if requ... | <commit_before>from flask import Flask
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if request.method ... | from flask import Flask, request, render_template
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if requ... | from flask import Flask
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if request.method == "GET":
... | <commit_before>from flask import Flask
import os
app = Flask(__name__)
app.debug = True
# Secret Key setting based on debug setting
if app.debug:
app.secret_key = "T3st_s3cret_k3y!~$@"
else:
app.secret_key = os.urandom(30)
@app.route("/domain", methods=["GET", "POST"])
def domain():
if request.method ... |
2e8956d6401daef2793724dfb981e6b41d685457 | weatbag/tiles/s1e1.py | weatbag/tiles/s1e1.py | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | Revert "Made a sexist comment more PC." | Revert "Made a sexist comment more PC."
This reverts commit 3632fc802ba9c537653e633b12d9430c7ed3f0b6.
| Python | mit | jantuomi/weatbag,takluyver/weatbag | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | <commit_before># First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs fr... | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | # First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs from South to Nor... | <commit_before># First bug quest tile.
from weatbag import words
import weatbag
class Tile:
def __init__(self):
self.bug_is_here = True
self.first_visit = True
self.hasnt_gone_south = True
pass
def describe(self):
print("There is a stream here. "
"It runs fr... |
d8c6f429c875a2cfdc5d520d91ea9d3a37b33ac9 | bot.py | bot.py | import praw
import urllib
import cv2, numpy as np
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
print str(post.url)
... | import praw
import urllib
import cv2, numpy as np
from PIL import Image
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
prin... | Load image from URL into buffer | Load image from URL into buffer
Feed image into array, convert it, display it.
| Python | mit | powderblock/DealWithItReddit,porglezomp/PyDankReddit,powderblock/PyDankReddit | import praw
import urllib
import cv2, numpy as np
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
print str(post.url)
... | import praw
import urllib
import cv2, numpy as np
from PIL import Image
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
prin... | <commit_before>import praw
import urllib
import cv2, numpy as np
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
print str(... | import praw
import urllib
import cv2, numpy as np
from PIL import Image
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
prin... | import praw
import urllib
import cv2, numpy as np
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
print str(post.url)
... | <commit_before>import praw
import urllib
import cv2, numpy as np
DOWNSCALE = 2
r = praw.Reddit('/u/powderblock Glasses Bot')
foundImage = False
for post in r.get_subreddit('all').get_new(limit=15):
if "imgur.com" in post.url and (".jpg" in post.url or ".png" in post.url):
print str(... |
bf08dfaa3384c67dbaf86f31006c1cea462ae7db | bot.py | bot.py | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
if __name__ == '__main__':
comm... | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
@bot.event
def on_member_join(membe... | Add welcome message for /r/splatoon chat. | Add welcome message for /r/splatoon chat.
| Python | mpl-2.0 | Rapptz/RoboDanny,haitaka/DroiTaka | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
if __name__ == '__main__':
comm... | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
@bot.event
def on_member_join(membe... | <commit_before>import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
if __name__ == '__ma... | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
@bot.event
def on_member_join(membe... | import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
if __name__ == '__main__':
comm... | <commit_before>import discord
import commands
bot = discord.Client()
@bot.event
def on_ready():
print('Logged in as:')
print('Username: ' + bot.user.name)
print('ID: ' + bot.user.id)
print('------')
@bot.event
def on_message(message):
commands.dispatch_messages(bot, message)
if __name__ == '__ma... |
48402464f8e1feb9b50c0c98003bc808a7c33ed9 | card_match.py | card_match.py | import pyglet
def draw_card():
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(10, 15,
10, 35,
20, 35,
20, 15)
)
)
window = ... | import pyglet
card_vertices = [
0, 0,
0, 1,
1, 1,
1, 0
]
def draw_card(window):
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(get_scaled_vertices(window))
)
)
def get_scale(window):
... | Add skelton code for scaling card size | Add skelton code for scaling card size
| Python | mit | SingingTree/CardMatchPyglet | import pyglet
def draw_card():
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(10, 15,
10, 35,
20, 35,
20, 15)
)
)
window = ... | import pyglet
card_vertices = [
0, 0,
0, 1,
1, 1,
1, 0
]
def draw_card(window):
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(get_scaled_vertices(window))
)
)
def get_scale(window):
... | <commit_before>import pyglet
def draw_card():
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(10, 15,
10, 35,
20, 35,
20, 15)
)
... | import pyglet
card_vertices = [
0, 0,
0, 1,
1, 1,
1, 0
]
def draw_card(window):
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(get_scaled_vertices(window))
)
)
def get_scale(window):
... | import pyglet
def draw_card():
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(10, 15,
10, 35,
20, 35,
20, 15)
)
)
window = ... | <commit_before>import pyglet
def draw_card():
pyglet.graphics.draw(4, pyglet.gl.GL_QUADS,
('v2i',
(10, 15,
10, 35,
20, 35,
20, 15)
)
... |
c3eac81cffbfbb2cc00629d6c773e7b2e985d071 | cider/_lib.py | cider/_lib.py | def lazyproperty(fn):
@property
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
| from functools import wraps
def lazyproperty(fn):
@property
@wraps(fn)
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
| Fix lazyproperty decorator to preserve property attribute | Fix lazyproperty decorator to preserve property attribute
| Python | mit | msanders/cider | def lazyproperty(fn):
@property
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
Fix lazyproperty decorator to preserve property attribute | from functools import wraps
def lazyproperty(fn):
@property
@wraps(fn)
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
| <commit_before>def lazyproperty(fn):
@property
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
<commit_msg>Fix lazyproperty decorator to preserve property attribut... | from functools import wraps
def lazyproperty(fn):
@property
@wraps(fn)
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
| def lazyproperty(fn):
@property
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
Fix lazyproperty decorator to preserve property attributefrom functools import wrap... | <commit_before>def lazyproperty(fn):
@property
def _lazyproperty(self):
attr = "_" + fn.__name__
if not hasattr(self, attr):
setattr(self, attr, fn(self))
return getattr(self, attr)
return _lazyproperty
<commit_msg>Fix lazyproperty decorator to preserve property attribut... |
f8d793eef586f2097a9a80e79c497204d2f6ffa0 | banner/models.py | banner/models.py | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | Make link on Banner model nullable | Make link on Banner model nullable
| Python | bsd-3-clause | praekelt/jmbo-banner,praekelt/jmbo-banner | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | <commit_before>from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
... | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
Link, help_tex... | <commit_before>from django.db import models
from django.utils.translation import ugettext_lazy as _
from jmbo.models import Image, ModelBase
from link.models import Link
from banner.styles import BANNER_STYLE_CLASSES
class Banner(ModelBase):
"""Base class for all banners"""
link = models.ForeignKey(
... |
b18cea920e5deea57adabd98872f0a6fa0490e33 | rover.py | rover.py | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | Fix failing move forward tests | Fix failing move forward tests
| Python | mit | authentik8/rover | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
... |
e0ba0ea428fb4691b43d9be91b22105ce5aa0dc6 | alg_selection_sort.py | alg_selection_sort.py | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection Sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, select next max num to swap.
for i in reversed(... | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from pos=n-1,..1, select next max num to swap with its num.
for i ... | Revise docstring & comment, reduce redundant for loop | Revise docstring & comment, reduce redundant for loop
| Python | bsd-2-clause | bowen0701/algorithms_data_structures | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection Sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, select next max num to swap.
for i in reversed(... | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from pos=n-1,..1, select next max num to swap with its num.
for i ... | <commit_before>from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection Sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, select next max num to swap.
for... | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from pos=n-1,..1, select next max num to swap with its num.
for i ... | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection Sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, select next max num to swap.
for i in reversed(... | <commit_before>from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
def selection_sort(nums):
"""Selection Sort algortihm.
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, select next max num to swap.
for... |
7d9f5efb915c179bc655a9cead2870729a45ed90 | setup.py | setup.py | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.1",
author = "Peter ... | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.2",
author = "Peter ... | Update irc to 12.1.1, bump cobe version to 2.1.2 | Update irc to 12.1.1, bump cobe version to 2.1.2
The irc library update fixes issue #20.
| Python | mit | meska/cobe,pteichman/cobe,tiagochiavericosta/cobe,LeMagnesium/cobe,meska/cobe,pteichman/cobe,LeMagnesium/cobe,DarkMio/cobe,tiagochiavericosta/cobe,DarkMio/cobe | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.1",
author = "Peter ... | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.2",
author = "Peter ... | <commit_before>#!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.1",
a... | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.2",
author = "Peter ... | #!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.1",
author = "Peter ... | <commit_before>#!/usr/bin/env python
# Require setuptools. See http://pypi.python.org/pypi/setuptools for
# installation instructions, or run the ez_setup script found at
# http://peak.telecommunity.com/dist/ez_setup.py
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "2.1.1",
a... |
aba663dea0b0027cb4d92b423c2b2f7327738cc8 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | Package data locations have changed for rst templates apparently | HotFix: Package data locations have changed for rst templates apparently
| Python | mit | jun-wan/scilifelab,SciLifeLab/scilifelab,SciLifeLab/scilifelab,senthil10/scilifelab,senthil10/scilifelab,SciLifeLab/scilifelab,jun-wan/scilifelab,kate-v-stepanova/scilifelab,SciLifeLab/scilifelab,senthil10/scilifelab,kate-v-stepanova/scilifelab,kate-v-stepanova/scilifelab,senthil10/scilifelab,kate-v-stepanova/scilifela... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLi... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLifeLab",
l... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
import glob
setup(name = "scilifelab",
version = "0.2.2",
author = "Science for Life Laboratory",
author_email = "genomics_support@scilifelab.se",
description = "Useful scripts for use at SciLi... |
d48ceb2364f463c725175010c3d29ea903dbcd1a | setup.py | setup.py | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
setup(
name='money',
description='Python Money Class',
# long_description=DESCRIPTION,
version='1.1.0-dev',
author='Carlos Palo... | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
SOURCE_ROOT = 'src'
# Python 2 backwards compatibility
if sys.version_info[0] == 2:
SOURCE_ROOT = 'src-py2'
setup(
name='money',
des... | Switch source root if py2 | Switch source root if py2
| Python | mit | carlospalol/money,Isendir/money | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
setup(
name='money',
description='Python Money Class',
# long_description=DESCRIPTION,
version='1.1.0-dev',
author='Carlos Palo... | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
SOURCE_ROOT = 'src'
# Python 2 backwards compatibility
if sys.version_info[0] == 2:
SOURCE_ROOT = 'src-py2'
setup(
name='money',
des... | <commit_before>from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
setup(
name='money',
description='Python Money Class',
# long_description=DESCRIPTION,
version='1.1.0-dev',
auth... | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
SOURCE_ROOT = 'src'
# Python 2 backwards compatibility
if sys.version_info[0] == 2:
SOURCE_ROOT = 'src-py2'
setup(
name='money',
des... | from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
setup(
name='money',
description='Python Money Class',
# long_description=DESCRIPTION,
version='1.1.0-dev',
author='Carlos Palo... | <commit_before>from distutils.core import setup
DESCRIPTION = """
Python money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
"""
setup(
name='money',
description='Python Money Class',
# long_description=DESCRIPTION,
version='1.1.0-dev',
auth... |
f53675c17449d414eff9263faad8d18530c23b5d | setup.py | setup.py | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | Add bash script to add measures | Add bash script to add measures
| Python | apache-2.0 | jdgwartney/boundary-api-cli,wcainboundary/boundary-api-cli,boundary/boundary-api-cli,jdgwartney/boundary-api-cli,jdgwartney/pulse-api-cli,boundary/boundary-api-cli,boundary/pulse-api-cli,boundary/pulse-api-cli,jdgwartney/pulse-api-cli,wcainboundary/boundary-api-cli | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | <commit_before>from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
... | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
'bin/action-ins... | <commit_before>from distutils.core import setup
setup(
name='boundary',
version='0.0.6',
url="https://github.com/boundary/boundary-api-cli",
author='David Gwartney',
author_email='davidg@boundary.com',
packages=['boundary',],
scripts=[
'bin/alarm-create',
'bin/alarm-list',
... |
f7ae33604d50250594c6fe55c1a83f70af9a68ae | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | Increment djsonb version to fix empty-query bug | Increment djsonb version to fix empty-query bug
| Python | mit | azavea/ashlar,flibbertigibbet/ashlar,flibbertigibbet/ashlar,azavea/ashlar | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis... |
a9f51a8fb952bc8785af22e32e7d66c280a9bda5 | setup.py | setup.py | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | Fix can't read version bug | Fix can't read version bug
| Python | mit | sdnds-tw/Ryu-SDN-IP | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | <commit_before>try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", ve... | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", version):
... | <commit_before>try:
import multiprocessing
except ImportError:
pass
import setuptools
import re
# read VERSION file
version = None
with open('VERSION', 'r') as version_file:
if version_file:
version = version_file.readline().strip()
if version and not re.match("[0-9]+\\.[0-9]+\\.[0-9]+", ve... |
f4311c2ff9f9ddd1730c8e0c5b2d0216052c3ffa | setup.py | setup.py | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | Add console_scripts entry for python-pure-cdbdump | Add console_scripts entry for python-pure-cdbdump
| Python | mit | pombredanne/python-pure-cdb,pombredanne/python-pure-cdb,dw/python-pure-cdb,dw/python-pure-cdb | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | <commit_before>#!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_ha... | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | #!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_hash', sources=['... | <commit_before>#!/usr/bin/env python
from os import environ
from setuptools import Extension, find_packages, setup
# Opt-in to building the C extensions for Python 2 by setting the
# ENABLE_DJB_HASH_CEXT environment variable
if environ.get('ENABLE_DJB_HASH_CEXT'):
ext_modules = [
Extension('cdblib._djb_ha... |
841144ddc1c9f0b88e81a31b590ca816d5f9b45b | setup.py | setup.py | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | Add keywords to package info | Add keywords to package info
| Python | mit | PLPeeters/PyMongo-Smart-Auth,PLPeeters/PyMongo-Smart-Auth | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | <commit_before>from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters... | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters@users.noreply.... | <commit_before>from setuptools import setup
setup(name='pymongo_smart_auth',
version='0.2.0',
description='This package extends PyMongo to provide built-in smart authentication.',
url='https://github.com/PLPeeters/PyMongo-Smart-Auth',
author='Pierre-Louis Peeters',
author_email='PLPeeters... |
54dc38f51f06a71f520dfe2087ba8fddfa722b0c | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.14.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | Prepare for next dev cycle | Prepare for next dev cycle
| Python | mit | ProgramFan/bentoo | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.14.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.14.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... |
074c59e3e8d570e4bbda57a5a3163f18a1b293da | setup.py | setup.py | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | Add click yaml and pyyaml to install_requires | Add click yaml and pyyaml to install_requires
| Python | bsd-3-clause | NSLS-II/lightsource2-recipes,NSLS-II/lightsource2-recipes,NSLS-II/lightsource2-recipes,NSLS-II/lightsource2-recipes,NSLS-II/auto-build-tagged-recipes,NSLS-II/auto-build-tagged-recipes | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | <commit_before>#!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dil... | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | #!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dill',
author_... | <commit_before>#!/usr/bin/env python,
from setuptools import setup, find_packages
import versioneer
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
name='nsls2-auto-builder',
description='toolset for analyzing automated conda package building at NSLS2',
author='Eric Dil... |
8e585518b65c0f37b2f7458b7b0fda13bfcf24f5 | setup.py | setup.py | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | Add awacs as a soft dependency | Add awacs as a soft dependency | Python | bsd-2-clause | cloudtools/troposphere,alonsodomin/troposphere,pas256/troposphere,cloudtools/troposphere,pas256/troposphere,dmm92/troposphere,7digital/troposphere,dmm92/troposphere,ikben/troposphere,horacio3/troposphere,johnctitus/troposphere,ikben/troposphere,horacio3/troposphere,alonsodomin/troposphere,johnctitus/troposphere,Yipit/t... | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | <commit_before>from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere... | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere', 'troposphere... | <commit_before>from setuptools import setup
setup(
name='troposphere',
version='1.4.0',
description="AWS CloudFormation creation library",
author="Mark Peek",
author_email="mark@peek.org",
url="https://github.com/cloudtools/troposphere",
license="New BSD license",
packages=['troposphere... |
8db643b23716e3678ec02bcea6ade0f10a81bf76 | setup.py | setup.py | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | Deploy Travis CI build 623 to GitHub | Deploy Travis CI build 623 to GitHub
| Python | mit | jacebrowning/template-python-demo | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | <commit_before>#!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CH... | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | #!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CHANGES.md').read... | <commit_before>#!/usr/bin/env python
"""Setup script for PythonTemplateDemo."""
import setuptools
from demo import __project__, __version__
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder until README is generated on release
CHANGES = open('CH... |
12f56ba2ae1b10e2a07f4cc9348dbd814432d50f | 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.14',
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.15',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 0.2.15. | Update the PyPI version to 0.2.15.
| Python | mit | electronick1/todoist-python,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.14',
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.15',
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.14',
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.15',
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.14',
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.14',
packages=['todoist', 'todoist.managers'],
aut... |
8d744032bb5a023a24f525aea95719e58ab12098 | setup.py | setup.py | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | Remove v3.0 requirement for now | Remove v3.0 requirement for now
| Python | bsd-3-clause | Calysto/metakernel | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | <commit_before>try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | <commit_before>try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
... |
c29b173a5316e2e02e51bd2859d138dd49cf3885 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name="delcom904x",
version="0.2",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
author="Aaron Linville",
author_email="aaron@linville.org",
url="https://github.com/linvil... | #!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="delcom904x",
version="0.2.1",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
long_description=long_descr... | Add long description for PyPi. | Add long description for PyPi. | Python | isc | linville/delcom904x | #!/usr/bin/env python
from setuptools import setup
setup(
name="delcom904x",
version="0.2",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
author="Aaron Linville",
author_email="aaron@linville.org",
url="https://github.com/linvil... | #!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="delcom904x",
version="0.2.1",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
long_description=long_descr... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="delcom904x",
version="0.2",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
author="Aaron Linville",
author_email="aaron@linville.org",
url="https://gi... | #!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="delcom904x",
version="0.2.1",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
long_description=long_descr... | #!/usr/bin/env python
from setuptools import setup
setup(
name="delcom904x",
version="0.2",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
author="Aaron Linville",
author_email="aaron@linville.org",
url="https://github.com/linvil... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="delcom904x",
version="0.2",
description="A python class to control Delcom USBLMP Products 904x multi-color, USB, visual signal indicators",
author="Aaron Linville",
author_email="aaron@linville.org",
url="https://gi... |
062af2465be55aba3e7bd95a8e2a9639c1273a61 | setup.py | setup.py | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | Update google-cloud-bigquery to get changes to DEFAULT_RETRY. | Update google-cloud-bigquery to get changes to DEFAULT_RETRY.
Change-Id: Id24ae732121556ad2df9c1ca465400a43429a0e6
| Python | apache-2.0 | verilylifesciences/analysis-py-utils,verilylifesciences/analysis-py-utils | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | <commit_before># Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | # Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | <commit_before># Copyright 2017 Verily Life Sciences Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... |
6988ce27efd98f01776246afe6bd615f23644413 | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
'''
Created on Aug 29, 2014
@author: tmahrt
'''
from setuptools import setup
import io
setup(name='praatio',
version='4.2.1',
author='Tim Mahrt',
author_email='timmahrt@gmail.com',
url='https://github.com/timmahrt/praatIO',
package_dir={'praatio':'p... | #!/usr/bin/env python
# encoding: utf-8
"""
Created on Aug 29, 2014
@author: tmahrt
"""
from setuptools import setup
import io
setup(
name="praatio",
version="4.2.1",
author="Tim Mahrt",
author_email="timmahrt@gmail.com",
url="https://github.com/timmahrt/praatIO",
package_dir={"praatio": "praa... | Format file with python Black | Format file with python Black
| Python | mit | timmahrt/praatIO | #!/usr/bin/env python
# encoding: utf-8
'''
Created on Aug 29, 2014
@author: tmahrt
'''
from setuptools import setup
import io
setup(name='praatio',
version='4.2.1',
author='Tim Mahrt',
author_email='timmahrt@gmail.com',
url='https://github.com/timmahrt/praatIO',
package_dir={'praatio':'p... | #!/usr/bin/env python
# encoding: utf-8
"""
Created on Aug 29, 2014
@author: tmahrt
"""
from setuptools import setup
import io
setup(
name="praatio",
version="4.2.1",
author="Tim Mahrt",
author_email="timmahrt@gmail.com",
url="https://github.com/timmahrt/praatIO",
package_dir={"praatio": "praa... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
'''
Created on Aug 29, 2014
@author: tmahrt
'''
from setuptools import setup
import io
setup(name='praatio',
version='4.2.1',
author='Tim Mahrt',
author_email='timmahrt@gmail.com',
url='https://github.com/timmahrt/praatIO',
package_di... | #!/usr/bin/env python
# encoding: utf-8
"""
Created on Aug 29, 2014
@author: tmahrt
"""
from setuptools import setup
import io
setup(
name="praatio",
version="4.2.1",
author="Tim Mahrt",
author_email="timmahrt@gmail.com",
url="https://github.com/timmahrt/praatIO",
package_dir={"praatio": "praa... | #!/usr/bin/env python
# encoding: utf-8
'''
Created on Aug 29, 2014
@author: tmahrt
'''
from setuptools import setup
import io
setup(name='praatio',
version='4.2.1',
author='Tim Mahrt',
author_email='timmahrt@gmail.com',
url='https://github.com/timmahrt/praatIO',
package_dir={'praatio':'p... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
'''
Created on Aug 29, 2014
@author: tmahrt
'''
from setuptools import setup
import io
setup(name='praatio',
version='4.2.1',
author='Tim Mahrt',
author_email='timmahrt@gmail.com',
url='https://github.com/timmahrt/praatIO',
package_di... |
6cdd2c06987e35451ac834cbab01b47a2679f5d9 | setup.py | setup.py | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
'sphinx'
],
depend... | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'cupy==5.0.0a1',
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
's... | Add 'cupy==5.0.0a1' to the requirements | Add 'cupy==5.0.0a1' to the requirements
| Python | mit | IshitaTakeshi/PCANet | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
'sphinx'
],
depend... | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'cupy==5.0.0a1',
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
's... | <commit_before>import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
'sphinx'
... | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'cupy==5.0.0a1',
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
's... | import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
'sphinx'
],
depend... | <commit_before>import os
from setuptools import setup
setup(
name="pcanet",
version="0.0.1",
author="Takeshi Ishita",
py_modules=["pcanet"],
install_requires=[
'chainer',
'numpy',
'psutil',
'recommonmark',
'scikit-learn',
'scipy',
'sphinx'
... |
2fc1b2463a2270312e16c9aee62e09610614bd7b | setup.py | setup.py | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | Set release version to 0.2.0 | Set release version to 0.2.0
| Python | mit | caststack/python-mpegdash | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | <commit_before>from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long... | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long_description=lo... | <commit_before>from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.md"):
long_description = open("README.md").read()
setup(
name="mpegdash",
packages=["mpegdash"],
description="MPEG-DASH MPD(Media Presentation Description) Parser",
long... |
bf37a9f1c24494ae26f6a38f123e5bd828001d09 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.0',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.1',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | Set our next target version | Set our next target version
| Python | mit | ducted/duct,ducted/duct,ducted/duct,ducted/duct | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.0',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.1',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | <commit_before>from setuptools import setup, find_packages
setup(
name="ducted",
version='1.0',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages... | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.1',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | from setuptools import setup, find_packages
setup(
name="ducted",
version='1.0',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages() + [
... | <commit_before>from setuptools import setup, find_packages
setup(
name="ducted",
version='1.0',
url='http://github.com/ducted/duct',
license='MIT',
description="A monitoring agent and event processor",
author='Colin Alston',
author_email='colin.alston@gmail.com',
packages=find_packages... |
11741fe35b7a62effa5e07ced86946b0d744015a | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'https://github.com/google-research/nasbench/archive/master.zip'
]
setup(name='profet',
... | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'git+https://github.com/google-research/nasbench.git@master'
]
setup(name='profet',
v... | Change nasbench dependency to git+https style. | Change nasbench dependency to git+https style. | Python | bsd-3-clause | automl/nas_benchmarks | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'https://github.com/google-research/nasbench/archive/master.zip'
]
setup(name='profet',
... | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'git+https://github.com/google-research/nasbench.git@master'
]
setup(name='profet',
v... | <commit_before>import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'https://github.com/google-research/nasbench/archive/master.zip'
]
setup(nam... | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'git+https://github.com/google-research/nasbench.git@master'
]
setup(name='profet',
v... | import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'https://github.com/google-research/nasbench/archive/master.zip'
]
setup(name='profet',
... | <commit_before>import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'h5py',
'numpy',
'ConfigSpace'
'pandas', # missing dependency of nasbench
'https://github.com/google-research/nasbench/archive/master.zip'
]
setup(nam... |
e8529bc3d7aa87bbb9ae19c629d6d1a9bc205285 | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt'
],
version='0.5.0',
author='Antriksh Yadav',
author_ema... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt',
'jinja2'
],
version='0.5.0',
author='Antriksh Yada... | Add jinja2 as a dependency for HTML generation. | Add jinja2 as a dependency for HTML generation.
| Python | mit | Antrikshy/reddit2Kindle | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt'
],
version='0.5.0',
author='Antriksh Yadav',
author_ema... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt',
'jinja2'
],
version='0.5.0',
author='Antriksh Yada... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt'
],
version='0.5.0',
author='Antriksh Yadav',... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt',
'jinja2'
],
version='0.5.0',
author='Antriksh Yada... | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt'
],
version='0.5.0',
author='Antriksh Yadav',
author_ema... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='reddit2Kindle',
scripts=['r2K.py'],
packages=find_packages(),
install_requires=[
'markdown2',
'praw',
'docopt'
],
version='0.5.0',
author='Antriksh Yadav',... |
041123e7348cf05dd1432d8550cc497a1995351d | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | Set the version to 0.9 | Set the version to 0.9
| Python | mit | xgfone/xutils,xgfone/pycom | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="0... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os.path
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",... |
dc15bd3c16758dcc420505794a7e3cadf38ffd36 | tests/api/test_bills.py | tests/api/test_bills.py | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | Fix number of bills test | Fix number of bills test
| Python | apache-2.0 | Code4SA/pmg-cms-2,Code4SA/pmg-cms-2,Code4SA/pmg-cms-2 | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | <commit_before>from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
... | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
"""
... | <commit_before>from tests import PMGTestCase
from tests.fixtures import dbfixture, BillData, BillTypeData
class TestBillAPI(PMGTestCase):
def setUp(self):
super(TestBillAPI, self).setUp()
self.fx = dbfixture.data(BillTypeData, BillData)
self.fx.setup()
def test_total_bill(self):
... |
85cadb6dc02e38890ba32c06543b0839314be594 | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | Add 'Framework :: Django :: 1.9' to classifiers | Add 'Framework :: Django :: 1.9' to classifiers
https://travis-ci.org/RyanBalfanz/django-smsish/builds/105968596 | Python | mit | RyanBalfanz/django-smsish | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1'... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1',
packages=[
... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-smsish',
version='1.1'... |
25a5fdc540f9eaa78aed5f7a4ec91981610053cb | setup.py | setup.py | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',
keywords... | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
packages = ['streamz', 'streamz.dataframe']
tests = [p + '.tests' for p in packages]
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Roc... | Package the tests so downstream extensions can use them | Package the tests so downstream extensions can use them
| Python | bsd-3-clause | mrocklin/streams | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',
keywords... | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
packages = ['streamz', 'streamz.dataframe']
tests = [p + '.tests' for p in packages]
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Roc... | <commit_before>#!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',... | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
packages = ['streamz', 'streamz.dataframe']
tests = [p + '.tests' for p in packages]
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Roc... | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',
keywords... | <commit_before>#!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='streamz',
version='0.3.0',
description='Streams',
url='http://github.com/mrocklin/streamz/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',... |
07ad3d59d3553082721edf5c085dd6f5a4f1ec9f | setup.py | setup.py | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | Add ldap3 requirement to install_requires | Add ldap3 requirement to install_requires
| Python | bsd-3-clause | ViaSat/ldapauthenticator,yuvipanda/ldapauthenticator | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | <commit_before>from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
... | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
packages=['lda... | <commit_before>from setuptools import setup
setup(
name='jupyterhub-ldapauthenticator',
version='0.1',
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipanda/ldapauthenticator',
author='Yuvi Panda',
author_email='yuvipanda@riseup.net',
license='3 Clause BSD',
... |
e20ed9c03d7ee58bd39ce6d1a5d1ffb50da06962 | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | Remove LICENCE inclusion from package | Remove LICENCE inclusion from package
| Python | bsd-3-clause | aranega/pyecore,pyecore/pyecore | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'Framework (EMF/... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
setup(
name='pyecore',
version='0.5.6-dev',
description=('A Python(ic) Implementation of the Eclipse Modeling '
'... |
7d75b96211404902c2fd3ae977860ed97f351b7d | tests/test_conductor.py | tests/test_conductor.py | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
from responses import ac... | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
import responses
import ... | Switch to module imports for readability. | Switch to module imports for readability.
| Python | mit | openspending/gobble | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
from responses import ac... | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
import responses
import ... | <commit_before>"""Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
from resp... | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
import responses
import ... | """Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
from responses import ac... | <commit_before>"""Test the conductor REST module."""
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from _pytest.python import raises
from future import standard_library
standard_library.install_aliases()
from resp... |
c3d5b69eac928bcf7f6198b9fc3a40d5b06a7caa | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock',],
test_suite='atlass... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock', 'nose',],
test_suite... | Use nose for running tests. | Use nose for running tests.
Signed-off-by: David Black <c4b737561a711e07c31fd1e1811f33a5d770e31c@atlassian.com>
| Python | mit | atlassian/asap-authentication-python | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock',],
test_suite='atlass... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock', 'nose',],
test_suite... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock',],
tes... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock', 'nose',],
test_suite... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock',],
test_suite='atlass... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='atlassian-jwt-auth',
packages=find_packages(),
version='0.0.1',
install_requires=[
'cryptography==0.8.2',
'PyJWT==1.1.0',
'requests==2.6.0',
],
tests_require=['mock',],
tes... |
3eae6b2f66831259f1f1e237e1581207d0256e3e | setup.py | setup.py | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | Remove dropbox and boto as dependencies because they are optional and boto is not py3 compat | Remove dropbox and boto as dependencies because they are optional and boto is not py3 compat
| Python | bsd-3-clause | leukeleu/django-dbbackup | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | <commit_before>import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
... | <commit_before>import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
packages = []
package_dir = "dbbackup"
for dirpath, dirnames, filenames in os.walk(package_dir):
# ignore dirnames that start with '.'
for i, dirname in enumerate... |
728e7d5cb5624138225ce51b2fc37d8957016872 | setup.py | setup.py | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | Add dicts and models to package | Add dicts and models to package
| Python | mit | natasha/natasha | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | <commit_before># coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributor... | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... | <commit_before># coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.1',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributor... |
6499c1f5e292f7445c0c9274a623c28c0eb7ce7b | setup.py | setup.py | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | Comment about excluding Git repositories from requirements.txt | Comment about excluding Git repositories from requirements.txt
| Python | mit | ExCiteS/geokey-sapelli,ExCiteS/geokey-sapelli | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | <commit_before>#!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def g... | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | #!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def get_install_requ... | <commit_before>#!/usr/bin/env python
from os.path import join
from setuptools import setup, find_packages
# Change geokey_sapelli version here (and here alone!):
VERSION_PARTS = (0, 6, 7)
name = 'geokey-sapelli'
version = '.'.join(map(str, VERSION_PARTS))
repository = join('https://github.com/ExCiteS', name)
def g... |
f2857458441cebb2cee2308c90688d3e20d69d8d | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | Make importlib dependency only take place if you need it | Make importlib dependency only take place if you need it
| Python | agpl-3.0 | openhatch/oh-bugimporters,openhatch/oh-bugimporters,openhatch/oh-bugimporters | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | <commit_before>#!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | #!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
description='B... | <commit_before>#!/usr/bin/env python
from setuptools import find_packages, Command
setup_params = dict(
name='bugimporters',
version=0.1,
author='Various contributers to the OpenHatch project, Berry Phillips',
author_email='all@openhatch.org, berryphillips@gmail.com',
packages=find_packages(),
... |
57a94ef6d186969b57b727d01135d94b7c9af4af | setup.py | setup.py | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | Add long description format identifier | Add long description format identifier
| Python | bsd-3-clause | DavidWhittingham/arcpyext | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | <commit_before>from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.te... | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.... | <commit_before>from setuptools import setup, find_packages
with open('arcpyext/_version.py') as fin: exec(fin.read(), globals())
with open('requirements.txt') as fin: requirements=[s.strip() for s in fin.readlines()]
with open('readme.rst') as fin: long_description = fin.read()
packages = find_packages(exclude=["*.te... |
95428c238dc8d80c61e7c15116ab01f53b643f85 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='Tigger',
version='0.1.0',
packages=['tigger',],
license='MIT',
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | #!/usr/bin/env python
from setuptools import setup
setup(
name="Tigger",
version="0.1.0",
packages=["tigger",],
license="MIT",
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | Correct inconsistent quote usage, release 0.1.0. | Correct inconsistent quote usage, release 0.1.0.
| Python | mit | jesskay/tigger | #!/usr/bin/env python
from setuptools import setup
setup(
name='Tigger',
version='0.1.0',
packages=['tigger',],
license='MIT',
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | #!/usr/bin/env python
from setuptools import setup
setup(
name="Tigger",
version="0.1.0",
packages=["tigger",],
license="MIT",
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='Tigger',
version='0.1.0',
packages=['tigger',],
license='MIT',
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"pyt... | #!/usr/bin/env python
from setuptools import setup
setup(
name="Tigger",
version="0.1.0",
packages=["tigger",],
license="MIT",
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | #!/usr/bin/env python
from setuptools import setup
setup(
name='Tigger',
version='0.1.0',
packages=['tigger',],
license='MIT',
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"python, intended f... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='Tigger',
version='0.1.0',
packages=['tigger',],
license='MIT',
description="Command-line tagging tool.",
long_description="Tigger is a command-line tagging tool written in " +
"pyt... |
8922e56b230c59a8f83374f3e3cb7c9ed4968784 | setup.py | setup.py | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | Make sure django is 1.8 or higher | Make sure django is 1.8 or higher
| Python | bsd-3-clause | takeflight/wagtailvideos,takeflight/wagtailvideos,takeflight/wagtailvideos | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | <commit_before>#!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in vari... | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | #!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in various codecs.",
... | <commit_before>#!/usr/bin/env python
"""
Install wagtailvideos using setuptools
"""
with open('README.rst', 'r') as f:
readme = f.read()
from setuptools import find_packages, setup
setup(
name='wagtailvideos',
version='0.1.11',
description="A wagtail module for uploading and displaying videos in vari... |
e2094a9814e6c38cbe5b3a3c49b6205c5ad89ed1 | setup.py | setup.py | from setuptools import setup
setup(name = 'graphysio',
version = '0.73',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | from setuptools import setup
setup(name = 'graphysio',
version = '0.74',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | Install ui files in site-packages | Install ui files in site-packages
| Python | isc | jaj42/dyngraph,jaj42/GraPhysio,jaj42/GraPhysio | from setuptools import setup
setup(name = 'graphysio',
version = '0.73',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | from setuptools import setup
setup(name = 'graphysio',
version = '0.74',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | <commit_before>from setuptools import setup
setup(name = 'graphysio',
version = '0.73',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
p... | from setuptools import setup
setup(name = 'graphysio',
version = '0.74',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | from setuptools import setup
setup(name = 'graphysio',
version = '0.73',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
python_requires ... | <commit_before>from setuptools import setup
setup(name = 'graphysio',
version = '0.73',
description = 'Graphical visualization of physiologic time series',
url = 'https://github.com/jaj42/graphysio',
author = 'Jona JOACHIM',
author_email = 'jona@joachim.cc',
license = 'ISC',
p... |
09b707e7c190357cd41953aa4304a331eb7182f5 | setup.py | setup.py | from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description=''
)
| from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description='',
install_requires=[
'heartbeat==0.1.2'
],
dependency_links = [
'htt... | Add heartbeat to install reqs | Add heartbeat to install reqs
| Python | mit | Storj/downstream-farmer | from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description=''
)
Add heartbeat to install reqs | from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description='',
install_requires=[
'heartbeat==0.1.2'
],
dependency_links = [
'htt... | <commit_before>from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description=''
)
<commit_msg>Add heartbeat to install reqs<commit_after> | from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description='',
install_requires=[
'heartbeat==0.1.2'
],
dependency_links = [
'htt... | from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description=''
)
Add heartbeat to install reqsfrom setuptools import setup
setup(
name='downstream-farmer... | <commit_before>from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description=''
)
<commit_msg>Add heartbeat to install reqs<commit_after>from setuptools import ... |
16db51ec820381ccfb48ad1c5ada6fb25dbf1e9c | setup.py | setup.py | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | Make sure the package is exported by distutils | Make sure the package is exported by distutils
| Python | mit | innolitics/natural-neighbor-interpolation,innolitics/natural-neighbor-interpolation,innolitics/natural-neighbor-interpolation | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | <commit_before>from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneigh... | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneighbor/cnaturalnei... | <commit_before>from distutils.core import setup, Extension
import numpy.distutils.misc_util
module = Extension(
'cnaturalneighbor',
include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs(),
library_dirs=['/usr/local/lib'],
extra_compile_args=['--std=c++11'],
sources=[
'naturalneigh... |
558b756763f0a07fd2316128ccf64878ab3ea715 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.0',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.1',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | Debug download link and update version number | Debug download link and update version number
| Python | mit | ProcessOut/processout-python | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.0',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.1',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | <commit_before>from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.0',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download... | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.1',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.0',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download_url = 'https:/... | <commit_before>from distutils.core import setup
setup(
name = 'processout',
packages = ['processout'],
version = '1.1.0',
description = 'ProcessOut API bindings for python',
author = 'Manuel Huez',
author_email = 'manuel@processout.com',
url = 'https://github.com/processout/processout-python',
download... |
1372bc3d373ef7cda6b1b016d4355e5d96db5ff0 | setup.py | setup.py | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
with open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()
setup_params = ... | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import io
import setuptools
with io.open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with io.open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()... | Use io.open for Python 2 compatibility. | Use io.open for Python 2 compatibility.
| Python | mit | jaraco/portend | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
with open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()
setup_params = ... | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import io
import setuptools
with io.open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with io.open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()... | <commit_before>#!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
with open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()
... | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import io
import setuptools
with io.open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with io.open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()... | #!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
with open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()
setup_params = ... | <commit_before>#!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
with open('README.txt', encoding='utf-8') as readme:
long_description = readme.read()
with open('CHANGES.txt', encoding='utf-8') as changes:
long_description += '\n\n' + changes.read()
... |
8ac39062cf1a0fbc3fd3483491e0719e1482f42a | setup.py | setup.py | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | Fix links for the archive and the homepage too. | Fix links for the archive and the homepage too.
| Python | mit | pwcazenave/PyFVCOM | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | <commit_before>from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
... | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
author_email... | <commit_before>from distutils.core import setup
setup(
name = 'PyFVCOM',
packages = ['PyFVCOM'],
version = '1.2',
description = ("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
author = 'Pierre Cazenave',
... |
66b9761a85fa101da5c1c0f45846df0a35bedaf2 | setup.py | setup.py | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | Install fails without utils package which is required by JenkinsBase | Install fails without utils package which is required by JenkinsBase
We only install jenkinsapi package and nothing below it as it is specified now in the setup.py
This breaks the library because we need the jenkinsapi.utils package in JenkinsBase class
| Python | mit | imsardine/jenkinsapi,JohnLZeller/jenkinsapi,salimfadhley/jenkinsapi,ramonvanalteren/jenkinsapi,mistermocha/jenkinsapi,zaro0508/jenkinsapi,JohnLZeller/jenkinsapi,JohnLZeller/jenkinsapi,domenkozar/jenkinsapi,jduan/jenkinsapi,aerickson/jenkinsapi,domenkozar/jenkinsapi,salimfadhley/jenkinsapi,imsardine/jenkinsapi,zaro0508/... | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | <commit_before>from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
pa... | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=["jenkin... | <commit_before>from setuptools import setup
from setup_config import DESCRIPTION, VERSION, PROJECT_NAME, PROJECT_AUTHORS, GLOBAL_ENTRY_POINTS, PROJECT_EMAILS, PROJECT_URL, SHORT_DESCRIPTION
setup(name=PROJECT_NAME.lower(),
version=VERSION,
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
pa... |
ba366f9910cf69c51f4a43fcf892751e600c06db | setup.py | setup.py | from setuptools import setup, find_packages
setup(
version='0.35',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | from setuptools import setup, find_packages
setup(
version='0.36',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | Handle illegal namedtuple field names, if found in a csv file. | Handle illegal namedtuple field names, if found in a csv file.
| Python | mit | dvklopfenstein/biocode | from setuptools import setup, find_packages
setup(
version='0.35',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | from setuptools import setup, find_packages
setup(
version='0.36',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | <commit_before>from setuptools import setup, find_packages
setup(
version='0.35',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/... | from setuptools import setup, find_packages
setup(
version='0.36',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | from setuptools import setup, find_packages
setup(
version='0.35',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/NCBI/cols.py'],... | <commit_before>from setuptools import setup, find_packages
setup(
version='0.35',
name="pydvkbiology",
packages=find_packages(),
description='Python scripts used in my biology/bioinformatics research',
author='DV Klopfenstein',
author_email='music_pupil@yahoo.com',
scripts=['./pydvkbiology/... |
20fe9ad0986c8034c3435484d11a18c2b2b1123b | setup.py | setup.py | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | Correct the Mistral lexer entry point | Correct the Mistral lexer entry point
| Python | bsd-2-clause | d0ugal/discode-server,d0ugal/discode-server,d0ugal/discode-server | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | <commit_before>import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
key... | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
keywords='code rev... | <commit_before>import setuptools
setuptools.setup(
name="discode-server",
version="0.0.1",
url="https://github.com/d0ugal/discode-server",
license="BSD",
description="Quick code review",
long_description="TODO",
author="Dougal Matthews",
author_email="dougal@dougalmatthews.com",
key... |
cf536666d2fd9f2fe56db8b7c998e8bbba55a443 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | Add a suitable license classifier. | Add a suitable license classifier.
| Python | bsd-3-clause | praekelt/vumi-wikipedia,praekelt/vumi-wikipedia | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | <commit_before>from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
li... | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
... | <commit_before>from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='dev',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
'BeautifulSoup',
],
url='http://github.com/praekelt/vumi-wikipedia',
li... |
55fa7b929e855ea98ac00f700c7c41bb5a971ddb | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | Declare 'pydelicious' as a package dependency. | Declare 'pydelicious' as a package dependency.
Stock distutils will ignore this, but a setuptools-based installer
(easy_install or pip) will honor it.
| Python | mit | jparise/stale | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scr... | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | #!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scripts=['stale'],... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name="stale",
version='1.1',
description="Identifies (and optionally removes) stale Delicious and Pinboard links",
author="Jon Parise",
author_email="jon@indelible.org",
url="https://github.com/jparise/stale",
scr... |
cdccf3de5fa06414a7e0ee5544df02f8c0087bf1 | setup.py | setup.py | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | Add python_requires to help pip and classifier for PyPI | Add python_requires to help pip and classifier for PyPI
| Python | mit | borntyping/python-colorlog | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | <commit_before>from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@born... | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@borntyping.co.uk",
... | <commit_before>from setuptools import setup
setup(
name="colorlog",
version="6.1.1a1",
description="Add colours to the output of Python's logging module.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sam Clements",
author_email="sam@born... |
aa2e84828ddc5b9676c1df3e96669e0d892e164f | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib"]
)
| from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib","numpy","requests","geopy"]
)
| Add missing packages to install_requires | Add missing packages to install_requires
| Python | mit | MikeVasmer/GreenGraphCoursework | from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib"]
)
Add missing packages to install_requires | from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib","numpy","requests","geopy"]
)
| <commit_before>from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib"]
)
<commit_msg>Add missing packages to install_requires<commit_after> | from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib","numpy","requests","geopy"]
)
| from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib"]
)
Add missing packages to install_requiresfrom setuptools import setup, find_packages
... | <commit_before>from setuptools import setup, find_packages
setup(
name = "Greengraph",
version = "0.1",
packages = find_packages(exclude=["*test"]),
scripts = ["scripts/greengraph"],
install_requires = ["argparse","matplotlib"]
)
<commit_msg>Add missing packages to install_requires<commit_after>fro... |
6b26102efdee4ae365ddd0bce126d6045865a9bc | stock.py | stock.py | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
"""Constructor for Stock instance.
Args:
symbol: The stock symbol.
"""
self.symbol = symbol
self.price_history =... | # -*- coding: utf-8 -*-
"""Stock class and associated features.
Attributes:
stock_price_event: A namedtuple with timestamp and price of a stock price update.
"""
import bisect
import collections
stock_price_event = collections.namedtuple("stock_price_event", ["timestamp", "price"])
class Stock:
def __init_... | Update comments and variable names. | Update comments and variable names.
| Python | mit | bsmukasa/stock_alerter | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
"""Constructor for Stock instance.
Args:
symbol: The stock symbol.
"""
self.symbol = symbol
self.price_history =... | # -*- coding: utf-8 -*-
"""Stock class and associated features.
Attributes:
stock_price_event: A namedtuple with timestamp and price of a stock price update.
"""
import bisect
import collections
stock_price_event = collections.namedtuple("stock_price_event", ["timestamp", "price"])
class Stock:
def __init_... | <commit_before>import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
"""Constructor for Stock instance.
Args:
symbol: The stock symbol.
"""
self.symbol = symbol
self.... | # -*- coding: utf-8 -*-
"""Stock class and associated features.
Attributes:
stock_price_event: A namedtuple with timestamp and price of a stock price update.
"""
import bisect
import collections
stock_price_event = collections.namedtuple("stock_price_event", ["timestamp", "price"])
class Stock:
def __init_... | import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
"""Constructor for Stock instance.
Args:
symbol: The stock symbol.
"""
self.symbol = symbol
self.price_history =... | <commit_before>import bisect
import collections
PriceEvent = collections.namedtuple("PriceEvent", ["timestamp", "price"])
class Stock:
def __init__(self, symbol):
"""Constructor for Stock instance.
Args:
symbol: The stock symbol.
"""
self.symbol = symbol
self.... |
1e33b557ca0539da3f5c95acc3be5eaab65e45f2 | setup.py | setup.py | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | Add sub-package for Bash Wrapper | Add sub-package for Bash Wrapper
| Python | bsd-3-clause | NII-cloud-operation/Jupyter-LC_wrapper,NII-cloud-operation/Jupyter-LC_wrapper | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | <commit_before>import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', ... | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipy... | <commit_before>import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', ... |
88dc8fa2c2337b4b0688eae368f2960e2682bb46 | setup.py | setup.py | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | Clean up pulling README.rst and CHANGELOG.rst into the long_description | Clean up pulling README.rst and CHANGELOG.rst into the long_description
| Python | bsd-3-clause | dstufft/twelve | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | <commit_before>#!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing... | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | #!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing services arche... | <commit_before>#!/usr/bin/env python
import twelve
import twelve.adapters
import twelve.services
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="twelve",
version=twelve.__version__,
description="12factor inspired settings for a variety of backing... |
d6c514d6282415d243b990375e2582ed8530be04 | 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>=2.11.1,<3.0',
]
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>=2.20.0,<3.0',
]
setup(name='googlemaps',
... | Increase the required version of requests. | Increase the required version of requests.
Versions of the requests library prior to 2.20.0 have a known
security vulnerability (CVE-2018-18074).
| Python | apache-2.0 | googlemaps/google-maps-services-python | 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>=2.11.1,<3.0',
]
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>=2.20.0,<3.0',
]
setup(name='googlemaps',
... | <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>=2.11.1,<3.0',
]
setup(name='g... | 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>=2.20.0,<3.0',
]
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>=2.11.1,<3.0',
]
setup(name='googlemaps',
... | <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>=2.11.1,<3.0',
]
setup(name='g... |
d725a22557f9fef564ae00cde9829064c7616f54 | setup.py | setup.py | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.3',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.4',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | Switch to github and up the version | Switch to github and up the version
| Python | mit | un33k/django-uuslug,un33k/django-uuslug | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.3',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.4',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | <commit_before>import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.3',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='V... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.4',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.3',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='Val L33',
au... | <commit_before>import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-uuslug',
version='0.3',
description = "A Unicode slug that is also guaranteed to be unique",
long_description = read('README'),
author='V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.