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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12ecdd10f2d7974ede043584dadc3a6f1b9c8b8f | lib/xslt/tree/text_element.py | lib/xslt/tree/text_element.py | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | Use correct value for disable_escaping parameter | Use correct value for disable_escaping parameter
| Python | apache-2.0 | zepheira/amara,zepheira/amara,zepheira/amara,zepheira/amara,zepheira/amara,zepheira/amara | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | <commit_before>########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text... | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | ########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text
attribute_... | <commit_before>########################################################################
# amara/xslt/tree/text_element.py
"""
Implementation of the `xsl:text` element.
"""
from amara.xslt.tree import xslt_element, content_model, attribute_types
class text_element(xslt_element):
content_model = content_model.text... |
45275a48fb434e6a9d895da03e290b84c52694f6 | orbitdeterminator/kep_determination/least_squares.py | orbitdeterminator/kep_determination/least_squares.py | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of ascending nod... | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import math
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of a... | Add rotation matrix, from orbital plane to inertial frame | Add rotation matrix, from orbital plane to inertial frame
| Python | mit | aerospaceresearch/orbitdeterminator | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of ascending nod... | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import math
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of a... | <commit_before>"""Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude o... | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import math
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of a... | """Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude of ascending nod... | <commit_before>"""Computes the least-squares optimal Keplerian elements for a sequence of
cartesian position observations.
"""
import numpy as np
import matplotlib.pyplot as plt
# convention:
# a: semi-major axis
# e: eccentricity
# eps: mean longitude at epoch
# Euler angles:
# I: inclination
# Omega: longitude o... |
181def887fb6604aa1cee63cc918d899270c45c3 | otrme/jabdaemon/management/commands/run_jabdaemon.py | otrme/jabdaemon/management/commands/run_jabdaemon.py | from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
import logging
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
logging.basicConfig(level=logging.DEBUG)
self.stdout.write('Start JabDaemon')... | import json
import logging
from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
from events.pgnotify import pg_listen
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
self.logger = logging.getLogger('ja... | Add control events to control jabber clients | Add control events to control jabber clients
| Python | bsd-3-clause | mfa/djangodash2013,mfa/djangodash2013,mfa/djangodash2013 | from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
import logging
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
logging.basicConfig(level=logging.DEBUG)
self.stdout.write('Start JabDaemon')... | import json
import logging
from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
from events.pgnotify import pg_listen
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
self.logger = logging.getLogger('ja... | <commit_before>from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
import logging
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
logging.basicConfig(level=logging.DEBUG)
self.stdout.write('St... | import json
import logging
from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
from events.pgnotify import pg_listen
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
self.logger = logging.getLogger('ja... | from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
import logging
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
logging.basicConfig(level=logging.DEBUG)
self.stdout.write('Start JabDaemon')... | <commit_before>from django.core.management.base import BaseCommand
from jabdaemon.client import OTRMeClient
import logging
class Command(BaseCommand):
args = ''
help = 'Start the JabDaemon'
def handle(self, *args, **options):
logging.basicConfig(level=logging.DEBUG)
self.stdout.write('St... |
e5a7c7a7c163047f35af6f6f06fa58ca71757aa2 | ExposedAccessKeys/lambda_functions/delete_access_key_pair.py | ExposedAccessKeys/lambda_functions/delete_access_key_pair.py | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
delete_exp... | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['detail']['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
... | Fix event detail variable key lookup | Fix event detail variable key lookup
| Python | apache-2.0 | robperc/Trusted-Advisor-Tools,robperc/Trusted-Advisor-Tools | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
delete_exp... | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['detail']['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
... | <commit_before>import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')... | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['detail']['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
... | import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')
delete_exp... | <commit_before>import boto3
iam = boto3.client('iam')
def lambda_handler(event, context):
details = event['check-item-detail']
username = details['User Name (IAM or Root)']
access_key_id = details['Access Key ID']
exposed_location = details['Location']
print('Deleting exposed access key pair...')... |
4fb54ac1b06f368d788526a7400c377c715f594c | epf.py | epf.py | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | Remove a line of debugging code | Remove a line of debugging code
| Python | bsd-2-clause | z-rui/pf | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | <commit_before>from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h... | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h, w)
se... | <commit_before>from __future__ import division # for Python 2.x compatibility
import numpy
class EuclidField(object):
p = 5.0
r = 30.0
@staticmethod
def dist(x, y):
return numpy.hypot(x[0]-y[0], x[1]-y[1])
def __init__(self, size, dst, obstacles):
w, h = size
self.shape = (h... |
ff39d53b3892477ac7fa690471afbd3099cbd5bd | modules/urlparser/__init__.py | modules/urlparser/__init__.py | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | Change urlparser to use reply | Change urlparser to use reply
| Python | mit | billyvg/piebot | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | <commit_before>from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messag... | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messages for possible... | <commit_before>from modules import *
import re
import urllib2
import traceback
try:
import simplejson as json
except ImportError:
import json
from unidecode import unidecode
from twitter import Twitter
from bitly import Bitly
from youtube import Youtube
class Urlparser(Module):
"""Checks incoming messag... |
16aa537ff01ff36c5ff3f2de9beaf45ec2d93823 | setup.py | setup.py | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | Add networkx to test dependencies | Add networkx to test dependencies
| Python | apache-2.0 | oneklc/dimod,oneklc/dimod | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | <commit_before>from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_inf... | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_info.py").read())
... | <commit_before>from __future__ import absolute_import
import sys
from setuptools import setup
_PY2 = sys.version_info.major == 2
# add __version__, __author__, __authoremail__, __description__ to this namespace
# equivalent to:
if _PY2:
execfile("./dimod/package_info.py")
else:
exec(open("./dimod/package_inf... |
e89b79a7308247ac7bea251b28674274460ed424 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | Add twill to install requires. | Add twill to install requires.
| Python | mit | ericholscher/django-test-utils,ericholscher/django-test-utils | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | <commit_before>from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/erichols... | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/ericholscher/django-tes... | <commit_before>from setuptools import setup, find_packages
setup(
name = "django-test-utils",
version = "0.3",
packages = find_packages(),
author = "Eric Holscher",
author_email = "eric@ericholscher.com",
description = "A package to help testing in Django",
url = "http://github.com/erichols... |
2ed692aeed1fd56f0990efe47021202a4336102c | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | Install the treepriors package along with everything else. Feels very wrong that these need to be manually declared one-by-one, but oh well. | Install the treepriors package along with everything else. Feels very wrong that these need to be manually declared one-by-one, but oh well.
| Python | bsd-2-clause | lmaurits/BEASTling | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version=version,
d... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils~=2.0',
'pycldf',
]
setup(
name='beastling',
version... |
4128c784bc1e169085219f201b3ed326a3259e53 | setup.py | setup.py | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.1',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.2',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | Increment version for the new ‘local’ mode. | Increment version for the new ‘local’ mode.
| Python | apache-2.0 | amaas-fintech/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,nedlowe/amaas-core-sdk-python,nedlowe/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,amaas-fintech/amaas-core-sdk-python | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.1',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.2',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | <commit_before>from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.1',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0... | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.2',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.1',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0',
url='htt... | <commit_before>from setuptools import setup, find_packages
requires = [
'amaasutils',
'configparser',
'python-dateutil',
'pytz',
'requests',
'warrant'
]
setup(
name='amaascore',
version='0.3.1',
description='Asset Management as a Service - Core SDK',
license='Apache License 2.0... |
378176a741339f4790bc74978cbefac12e89ffa1 | setup.py | setup.py | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | Add Pygments to install requirements | Add Pygments to install requirements
| Python | mit | nicolewhite/cycli,ikwattro/cycli,nicolewhite/cycli | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | <commit_before>from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License... | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Pro... | <commit_before>from setuptools import setup
setup(name='cycli',
version='0.0.1',
description='A Command Line Interface for Cypher.',
long_description='Syntax highlighting and autocomplete.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License... |
f1a791590e49ed12f6d56df3eb1240c5409175de | setup.py | setup.py | from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description=readme(),
classi... | #!/usr/bin/env python
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description... | Exclude tests and devtools when packaging | Exclude tests and devtools when packaging
| Python | mit | Railslide/subvenv,Railslide/subvenv | from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description=readme(),
classi... | #!/usr/bin/env python
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description... | <commit_before>from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description=readme(... | #!/usr/bin/env python
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description... | from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description=readme(),
classi... | <commit_before>from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
setup(name='subvenv',
version='1.0.0',
description=('A tool for creating virtualenv-friendly '
'Sublime Text project files'),
long_description=readme(... |
d468993dc3cac11cefdf090506b3f9122d248046 | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | Add tangled to dev requirements | Add tangled to dev requirements
Although `tangled.web[dev]` is already in the dev requirements and
`tangled.web`'s dev requirememts include `tangled[dev]`, it seems that
`tangled`'s dev requirements aren't being pulled in via `tangled.web`.
Not sure if this intentional on the part of pip/setuptools or what.
| Python | mit | TangledWeb/tangled.mako | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyat... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.mako',
version='0.1a4.dev0',
description='Tangled Mako integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.mako/tags',
author='Wyat... |
0d26a4163fff1107c322eaa206b8221d73f38b20 | setup.py | setup.py | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-speedbar',
version='0.1',
packages ... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as file_handle:
README = file_handle.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-speedb... | Use with statement to ensure file is closed afterwards | Use with statement to ensure file is closed afterwards
| Python | mit | mixcloud/django-speedbar,theospears/django-speedbar,theospears/django-speedbar,theospears/django-speedbar,mixcloud/django-speedbar,mixcloud/django-speedbar | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-speedbar',
version='0.1',
packages ... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as file_handle:
README = file_handle.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-speedb... | <commit_before>import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-speedbar',
version='0.1'... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as file_handle:
README = file_handle.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-speedb... | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-speedbar',
version='0.1',
packages ... | <commit_before>import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-speedbar',
version='0.1'... |
ff9c10368dcee1ed1f8ba5a978c99d9eae71b752 | setup.py | setup.py | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setuptools... | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setupto... | Install relies on Django and factory boy | Install relies on Django and factory boy
| Python | mit | jamescooke/factory_djoy | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setuptools... | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setupto... | <commit_before>import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
pack... | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setupto... | import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setuptools... | <commit_before>import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.1',
description="Wrappers over Factory Boy's Django Factories",
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
pack... |
8337a3912533dfb7d686a453c53adcda783a50a4 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | Add .stream to packages list. | Add .stream to packages list.
| Python | bsd-2-clause | gravyboat/streamlink,javiercantero/streamlink,melmorabity/streamlink,asermax/livestreamer,lyhiving/livestreamer,chhe/livestreamer,derrod/livestreamer,gravyboat/streamlink,okaywit/livestreamer,Dobatymo/livestreamer,fishscene/streamlink,sbstp/streamlink,programming086/livestreamer,melmorabity/streamlink,fishscene/streaml... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
dep... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argpa... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
version = "1.3"
deps = ["pbs", "requests>=0.12.1"]
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
dep... |
6278551c5d3a206231aae5ae810e3d7eef2d839e | setup.py | setup.py | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="Sujay Mansingh",
author_email="sujay.mansingh@gmail.com",... | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="EDITD",
author_email="engineering@editd.com",
pac... | Update README with new owner. | Update README with new owner.
| Python | mit | EDITD/jsond | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="Sujay Mansingh",
author_email="sujay.mansingh@gmail.com",... | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="EDITD",
author_email="engineering@editd.com",
pac... | <commit_before>import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="Sujay Mansingh",
author_email="sujay.mansi... | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="EDITD",
author_email="engineering@editd.com",
pac... | import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="Sujay Mansingh",
author_email="sujay.mansingh@gmail.com",... | <commit_before>import setuptools
# How do we keep this in sync with requirements.pip?
#
REQUIREMENTS = [
"nose==1.3.0",
"python-dateutil==1.5",
]
if __name__ == "__main__":
setuptools.setup(
name="jsond",
version="0.0.1",
author="Sujay Mansingh",
author_email="sujay.mansi... |
a0d565f425f61186c8087aba5a9b87450455a360 | setup.py | setup.py | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | Add dependency on the dataclasses library | Add dependency on the dataclasses library
This dependency is optional in Python 3.7 or later,
as [PEP 557] made it part of the standard library.
[PEP 557]: https://www.python.org/dev/peps/pep-0557/
| Python | artistic-2.0 | ppb/ppb-vector,ppb/ppb-vector | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | <commit_before>from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_ema... | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom... | <commit_before>from setuptools import setup
def readme():
with open('README.md') as file:
return file.read()
setup(
name='ppb-vector',
version='0.4.0rc1',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_ema... |
bb8bd0cd51dd74de492beb785eca4d5ff31a2867 | setup.py | setup.py | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://github.com/halfak/MediaWiki-OAuth",
packages=['shingen'],
ins... | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://gerrit.wikimedia.org/r/#/admin/projects/operations/software/shinkenge... | Fix URL to point to the proper git repository | Fix URL to point to the proper git repository
Change-Id: I436ebe7ad047db84bf4224bb7fdf1c4ad0414115
| Python | apache-2.0 | wikimedia/operations-software-shinkengen | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://github.com/halfak/MediaWiki-OAuth",
packages=['shingen'],
ins... | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://gerrit.wikimedia.org/r/#/admin/projects/operations/software/shinkenge... | <commit_before>from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://github.com/halfak/MediaWiki-OAuth",
packages=['shi... | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://gerrit.wikimedia.org/r/#/admin/projects/operations/software/shinkenge... | from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://github.com/halfak/MediaWiki-OAuth",
packages=['shingen'],
ins... | <commit_before>from setuptools import setup
setup(
name="shinkengen",
version='0.1',
author="Yuvi Panda",
author_email="yuvipanda@gmail.com",
description=("A shinken config generator for Wikimedia Labs"),
license="Apache2",
url="https://github.com/halfak/MediaWiki-OAuth",
packages=['shi... |
142d999797bd1fe723c159f9fd6379414cee537c | setup.py | setup.py | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin_tools_zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin-tools-zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | Change name of the package from admin_tools_zinnia to admin-tools-zinnia | Change name of the package from admin_tools_zinnia to admin-tools-zinnia
| Python | bsd-3-clause | django-blog-zinnia/admin-tools-zinnia,django-blog-zinnia/admin-tools-zinnia | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin_tools_zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin-tools-zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | <commit_before>"""Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin_tools_zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('READM... | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin-tools-zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | """Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin_tools_zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('README.rst').read(),... | <commit_before>"""Setup script for admin-tools-zinnia"""
from setuptools import setup
from setuptools import find_packages
import admin_tools_zinnia
setup(
name='admin_tools_zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tools for django-blog-zinnia',
long_description=open('READM... |
069c11f5db1dc3bc6de88a14bd1ae573c5853f00 | setup.py | setup.py | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | Edit handler fix is backwards incompatible with Wagtail <= 0.8 | Edit handler fix is backwards incompatible with Wagtail <= 0.8
| Python | bsd-3-clause | SableWalnut/wagtailjobs,SableWalnut/wagtailinvoices,takeflight/wagtailnews,takeflight/wagtailnews,SableWalnut/wagtailjobs,takeflight/wagtailnews,SableWalnut/wagtailinvoices,takeflight/wagtailnews | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | <commit_before>#!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from... | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | #!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools imp... | <commit_before>#!/usr/bin/env python
"""
Install wagtailnews using setuptools
"""
from wagtailnews import __version__
with open('README.rst', 'r') as f:
readme = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from... |
7eb57a623b4f915dac0cdf7fdd0eb74d77c51b5c | setup.py | setup.py | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | Add missing dependency required to run tests. | Add missing dependency required to run tests.
| Python | mit | payjp/payjp-python | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | <commit_before># coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="... | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | # coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="payjp",
ver... | <commit_before># coding: utf-8
import sys
from setuptools import setup
install_requires = []
if sys.version_info < (2, 7):
raise DeprecationWarning('Python 2.6 and older are no longer supported by PAY.JP. ')
install_requires.append('requests >= 2.7.0')
install_requires.append('six >= 1.9.0')
setup(
name="... |
f9af01b416246edfa002c22b5664f7c2e8a66b22 | setup.py | setup.py | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(),
include_package_data=T... | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(exclude=["forum", "forum.*"])... | Stop installing the 'forum' demo project (but still ship it in the release tarball). | Stop installing the 'forum' demo project (but still ship it in the release tarball).
| Python | bsd-3-clause | agiliq/Dinette,agiliq/Dinette,agiliq/Dinette | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(),
include_package_data=T... | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(exclude=["forum", "forum.*"])... | <commit_before>import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(),
include... | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(exclude=["forum", "forum.*"])... | import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(),
include_package_data=T... | <commit_before>import os
from setuptools import setup, find_packages
overview = file('docs/overview.txt')
data = overview.read()
overview.close()
setup(
name='dinette',
description='Dinette is a forum application in the spirit of PunBB.',
keywords='django, forum',
packages=find_packages(),
include... |
309fcf2b4a429396016716545a9982cf62a2a089 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warn... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.core import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warnings,... | Fix for Python 3.4 extension compilation. | Fix for Python 3.4 extension compilation.
An extra extension compilation option introduced in Python 3.4 collided with
-std=c99; added -Wno-declaration-after-statement negates this.
| Python | bsd-2-clause | evertrol/mpyfit,evertrol/mpyfit | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warn... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.core import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warnings,... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid ... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.core import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warnings,... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid some numpy warn... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
#from Cython.Distutils import build_ext
import numpy
from numpy.distutils.system_info import get_info
mpfit_sources = [
'mpyfit/mpyfit.c',
'mpyfit/cmpfit/mpfit.c',
]
# Avoid ... |
d0bba10a15863b1353e07ca1a467684d7e9e1f26 | setup.py | setup.py | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | Add header and url to package_data to fix pip installs from VCS | Add header and url to package_data to fix pip installs from VCS
pip installations directly from VCS does not include the `header`
and `url` modules by default, so they have to be included in the
`package_data` dependency in setup.py.
| Python | mit | imbo/imboclient-python,imbo/imboclient-python,imbo/imboclient-python | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | <commit_before># coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
... | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | # coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
descrip... | <commit_before># coding=utf-8
from setuptools import setup
setup(
name='imboclient',
version='0.0.1',
author='Andreas Søvik',
author_email='arsovik@gmail.com',
packages=['imboclient'],
scripts=[],
url='http://www.imbo-project.org',
license='LICENSE.txt',
... |
73db41caecde2e9ea33f1f260a76f917b700e0b4 | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | Fix the inclusion of the TODO.rst file. | Fix the inclusion of the TODO.rst file.
| Python | mit | gfranxman/utinypass | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | <commit_before>import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files ... | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files painlessly.',
... | <commit_before>import os
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='utinypass',
version='0.1.0',
description='Parse and split PEM files ... |
88767427f4f3215f2aafe579c84c55457706e011 | setup.py | setup.py | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | Prepare package for v2.0.1 release | Prepare package for v2.0.1 release
The most important change in this release is the fix for the `apns-send` error when attempting to `pip install` this package. | Python | mit | postmates/PyAPNs,RatenGoods/PyAPNs,miraculixx/PyAPNs,korhner/PyAPNs,tenmalin/PyAPNs,duanhongyi/PyAPNs,AlexKordic/PyAPNs | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | <commit_before>from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
... | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apn... | <commit_before>from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
... |
b4cf2ba407859705c9b0c5faa20d28b743aefeb9 | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | Revert "Pinning restclients to 1.1." | Revert "Pinning restclients to 1.1."
This reverts commit 0d33ddd392d33c7eca57289554feedd25b851ca2.
| Python | apache-2.0 | charlon/mdot,uw-it-aca/mdot,charlon/mdot,uw-it-aca/mdot,uw-it-aca/mdot,charlon/mdot,uw-it-aca/mdot | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
include_packa... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot',
version='0.1',
packages=['mdot'],
... |
5eabea682317fe53d89fcf1b2ec98a1f44de51d3 | rt/syslog/simpleConfig.py | rt/syslog/simpleConfig.py | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich/.*'],
['SKIP', r'.*\/x86_64-linux-gnu... | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['PKGS', r'.*\/python[0-9][^/][^/]*'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich... | Add in python patterns for py pkg test | Add in python patterns for py pkg test
| Python | lgpl-2.1 | xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich/.*'],
['SKIP', r'.*\/x86_64-linux-gnu... | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['PKGS', r'.*\/python[0-9][^/][^/]*'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich... | <commit_before># capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich/.*'],
['SKIP', r'.*\/x... | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['PKGS', r'.*\/python[0-9][^/][^/]*'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich... | # capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich/.*'],
['SKIP', r'.*\/x86_64-linux-gnu... | <commit_before># capture executables on all nodes
hostname_patterns = [
['KEEP', '.*']
]
path_patterns = [
['PKGS', r'.*\/test_record_pkg'],
['SKIP', r'.*\/lua'],
['SKIP', r'.*\/expr'],
['SKIP', r'.*\/cc1'],
['SKIP', r'.*\/bash'],
['SKIP', r'.*\/collect2'],
['SKIP', r'.*\/mpich/.*'],
['SKIP', r'.*\/x... |
079240a28c648a56fd30cbf3b0b4115a7f2259bc | example.py | example.py | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From': FROM_NUMBER,
'... | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
# Send text message
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages.json'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From':... | Add get message details code. | Add get message details code.
| Python | mit | richardxia/twilio-tutorial | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From': FROM_NUMBER,
'... | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
# Send text message
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages.json'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From':... | <commit_before>import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From': FROM_NUMB... | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
# Send text message
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages.json'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From':... | import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From': FROM_NUMBER,
'... | <commit_before>import requests
ACCOUNT_SID = None
AUTH_TOKEN = None
FROM_NUMBER = None
response = requests.post(
'https://{account_sid}:{auth_token}@api.twilio.com/2010-04-01/Accounts/{account_sid}/Messages'.format(
account_sid=ACCOUNT_SID,
auth_token=AUTH_TOKEN,
),
data={'From': FROM_NUMB... |
88be5325c3d006b822c8d8ee2db4512ea538c800 | rapidsms/views.py | rapidsms/views.py | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render_to_response
from django.template import RequestConte... | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render
from django.template import RequestContext
from djan... | Use render, rather than render_to_response | Use render, rather than render_to_response
| Python | bsd-3-clause | lsgunth/rapidsms,lsgunth/rapidsms,lsgunth/rapidsms,lsgunth/rapidsms | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render_to_response
from django.template import RequestConte... | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render
from django.template import RequestContext
from djan... | <commit_before>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render_to_response
from django.template impo... | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render
from django.template import RequestContext
from djan... | #!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render_to_response
from django.template import RequestConte... | <commit_before>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib.auth.decorators import login_required
from django.contrib.auth.views import login as django_login
from django.contrib.auth.views import logout as django_logout
from django.shortcuts import render_to_response
from django.template impo... |
e98a6f5b0bc2fcf925c293ea2c66d5c4a49c4ab8 | txzmq/__init__.py | txzmq/__init__.py | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | Fix misprint after adding push/pull sockets. | Fix misprint after adding push/pull sockets.
| Python | mpl-2.0 | smira/txZMQ | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | <commit_before>"""
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep i... | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | """
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep import ZmqXREQCo... | <commit_before>"""
ZeroMQ integration into Twisted reactor.
"""
from txzmq.connection import ZmqConnection, ZmqEndpoint, ZmqEndpointType
from txzmq.factory import ZmqFactory
from txzmq.pubsub import ZmqPubConnection, ZmqSubConnection
from txzmq.pushpull import ZmqPushConnection, ZmqPullConnection
from txzmq.xreq_xrep i... |
41bdb951e61f5601c380fd81690d74d35136455f | django_evolution/builtin_evolutions/__init__.py | django_evolution/builtin_evolutions/__init__.py | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | Fix a field lookup to be compatible with all versions of Django. | Fix a field lookup to be compatible with all versions of Django.
Recent versions of Django removed Meta.get_field_by_name(), which our
built-in evolutions were trying to use. Fortunately, all supported
versions have Meta.get_field(), which works just as well. This change
switches over to that.
We'll want to revisit t... | Python | bsd-3-clause | beanbaginc/django-evolution | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | <commit_before>from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. R... | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. Rather than hard... | <commit_before>from django.contrib.sessions.models import Session
BUILTIN_SEQUENCES = {
'django.contrib.auth': [],
'django.contrib.contenttypes': [],
'django.contrib.sessions': [],
}
# Starting in Django 1.3 alpha, Session.expire_date has a db_index set.
# This needs to be reflected in the evolutions. R... |
54683555997032cccf97f5fedf88b7a2402f0449 | sponsorship_tracking/migrations/10.0.2.0.0/post-migration.py | sponsorship_tracking/migrations/10.0.2.0.0/post-migration.py | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | FIX only sponsorships can go through waiting_welcome state | FIX only sponsorships can go through waiting_welcome state
| Python | agpl-3.0 | eicher31/compassion-modules,CompassionCH/compassion-modules,ecino/compassion-modules,ecino/compassion-modules,maxime-beck/compassion-modules,eicher31/compassion-modules,maxime-beck/compassion-modules,maxime-beck/compassion-modules,CompassionCH/compassion-modules,eicher31/compassion-modules,ecino/compassion-modules,Comp... | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file ... | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file __manifest__.py... | <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2017 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Emanuel Cino <ecino@compassion.ch>
#
# The licence is in the file ... |
80f4c7404272b5cc00caa0e7cb041fb9811d988e | tests/test_checkREADME.py | tests/test_checkREADME.py |
import os
def test_README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:... |
import os
def _README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:
... | Disable README test (too long) | Disable README test (too long)
| Python | mit | jakelever/kindred,jakelever/kindred |
import os
def test_README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:... |
import os
def _README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:
... | <commit_before>
import os
def test_README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for l... |
import os
def _README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:
... |
import os
def test_README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for line in readmeF:... | <commit_before>
import os
def test_README():
thisDir = os.path.dirname(os.path.realpath(__file__))
parentDir = os.path.dirname(thisDir)
readmePath = os.path.join(parentDir,'README.rst')
readmeTestPath = os.path.join(thisDir,'README.py')
with open(readmePath) as readmeF,open(readmeTestPath,'w') as testF:
for l... |
e9c6b22ffaf498dc64f590689cc637a152444665 | forms.py | forms.py | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | Change LoginForm parameter for BooleanField | Change LoginForm parameter for BooleanField
| Python | mit | jinjiaho/project57,jinjiaho/project57,jinjiaho/project57,jinjiaho/project57 | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | <commit_before>from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the na... | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newco... | <commit_before>from flask_wtf import Form
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField
from wtforms.validators import DataRequired, Email, Length
class AddUserForm(Form):
name = StringField('Name of User', validators=[DataRequired("Please enter the na... |
4af8f60598e216adb04e4ed04394e8835beedcac | src/som/vmobjects/object_without_fields.py | src/som/vmobjects/object_without_fields.py | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | Improve ObjectWithoutField.__str__ to idenfify singleton values | Improve ObjectWithoutField.__str__ to idenfify singleton values
Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
| Python | mit | smarr/PySOM,smarr/PySOM,SOM-st/PySOM,SOM-st/PySOM | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | <commit_before>from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
... | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
assert ... | <commit_before>from rlib.jit import promote
from som.vmobjects.abstract_object import AbstractObject
class ObjectWithoutFields(AbstractObject):
_immutable_fields_ = ["_object_layout?"]
def __init__(self, layout): # pylint: disable=W
self._object_layout = layout
def get_class(self, universe):
... |
eec47f7a6988d4472bc99789fcc7ba894b74c17b | files/install_workflow.py | files/install_workflow.py | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file'... | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file... | Use .get methods when retrieving uuid keys | Use .get methods when retrieving uuid keys
| Python | mit | anmoljh/ansible-galaxy-tools,galaxyproject/ansible-galaxy-tools,galaxyproject/ansible-tools,nuwang/ansible-galaxy-tools | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file'... | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file... | <commit_before>#!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to... | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file... | #!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to workflow file'... | <commit_before>#!/usr/bin/env python
import argparse
from bioblend import galaxy
import json
def main():
"""
This script uses bioblend to import .ga workflow files into a running instance of Galaxy
"""
parser = argparse.ArgumentParser()
parser.add_argument("-w", "--workflow_path", help='Path to... |
a3a2ad5099663bb92a04db41e531c776b9e02d41 | dxtbx/tst_dxtbx.py | dxtbx/tst_dxtbx.py | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
for directory, image in [('SLS_X06SA', 'mar225_2_001.img')]:
file... | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
from dials_regression.image_examples.get_all_working_images import \
... | Use from dials_regression.image_examples.get_all_working_images import get_all_working_images method to get list of images | Use from dials_regression.image_examples.get_all_working_images import get_all_working_images method to get list of images | Python | bsd-3-clause | dials/dials,dials/dials,dials/dials,dials/dials,dials/dials | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
for directory, image in [('SLS_X06SA', 'mar225_2_001.img')]:
file... | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
from dials_regression.image_examples.get_all_working_images import \
... | <commit_before>def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
for directory, image in [('SLS_X06SA', 'mar225_2_001.img')... | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
from dials_regression.image_examples.get_all_working_images import \
... | def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
for directory, image in [('SLS_X06SA', 'mar225_2_001.img')]:
file... | <commit_before>def tst_dxtbx():
import libtbx.load_env
import os
dials_regression = libtbx.env.dist_path('dials_regression')
from boost.python import streambuf
from dxtbx import read_uint16
from dxtbx.format.Registry import Registry
for directory, image in [('SLS_X06SA', 'mar225_2_001.img')... |
66e67e53360a9f49ae73c8c8f2de49991525363b | txircd/modules/cmode_t.py | txircd/modules/cmode_t.py | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(self.ir... | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(targetC... | Fix the order of parameters to hasAccess, which broke all topic changing when +t was set | Fix the order of parameters to hasAccess, which broke all topic changing when +t was set
| Python | bsd-3-clause | Heufneutje/txircd,DesertBus/txircd,ElementalAlchemist/txircd | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(self.ir... | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(targetC... | <commit_before>from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.ha... | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(targetC... | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(self.ir... | <commit_before>from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.ha... |
61e8b679c64c7c2155c1c3f5077cf058dd6610d3 | forms.py | forms.py | """
JP-specific Form helpers
"""
from django.utils.translation import ugettext_lazy as _
from django.forms.fields import RegexField, Select
class JPPostalCodeField(RegexField):
"""
A form field that validates its input is a Japanese postcode.
Accepts 7 digits, with or without a hyphen.
"""
defaul... | """
JP-specific Form helpers
"""
from __future__ import absolute_import
from django.contrib.localflavor.jp.jp_prefectures import JP_PREFECTURES
from django.forms.fields import RegexField, Select
from django.utils.translation import ugettext_lazy as _
class JPPostalCodeField(RegexField):
"""
A form field tha... | Remove all relative imports. We have always been at war with relative imports. | Remove all relative imports. We have always been at war with relative imports.
git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@17009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| Python | bsd-3-clause | luyikei/django-localflavor-jp | """
JP-specific Form helpers
"""
from django.utils.translation import ugettext_lazy as _
from django.forms.fields import RegexField, Select
class JPPostalCodeField(RegexField):
"""
A form field that validates its input is a Japanese postcode.
Accepts 7 digits, with or without a hyphen.
"""
defaul... | """
JP-specific Form helpers
"""
from __future__ import absolute_import
from django.contrib.localflavor.jp.jp_prefectures import JP_PREFECTURES
from django.forms.fields import RegexField, Select
from django.utils.translation import ugettext_lazy as _
class JPPostalCodeField(RegexField):
"""
A form field tha... | <commit_before>"""
JP-specific Form helpers
"""
from django.utils.translation import ugettext_lazy as _
from django.forms.fields import RegexField, Select
class JPPostalCodeField(RegexField):
"""
A form field that validates its input is a Japanese postcode.
Accepts 7 digits, with or without a hyphen.
... | """
JP-specific Form helpers
"""
from __future__ import absolute_import
from django.contrib.localflavor.jp.jp_prefectures import JP_PREFECTURES
from django.forms.fields import RegexField, Select
from django.utils.translation import ugettext_lazy as _
class JPPostalCodeField(RegexField):
"""
A form field tha... | """
JP-specific Form helpers
"""
from django.utils.translation import ugettext_lazy as _
from django.forms.fields import RegexField, Select
class JPPostalCodeField(RegexField):
"""
A form field that validates its input is a Japanese postcode.
Accepts 7 digits, with or without a hyphen.
"""
defaul... | <commit_before>"""
JP-specific Form helpers
"""
from django.utils.translation import ugettext_lazy as _
from django.forms.fields import RegexField, Select
class JPPostalCodeField(RegexField):
"""
A form field that validates its input is a Japanese postcode.
Accepts 7 digits, with or without a hyphen.
... |
8164d048b47299377b4db7d9fc0198e24b07bdb3 | engine/geometry.py | engine/geometry.py | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | Fix move to return only int, draw functions cannot handle floats as coordinates | Fix move to return only int, draw functions cannot handle floats as coordinates
| Python | apache-2.0 | PGHM/spacebattle | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | <commit_before>from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_p... | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_points.append((x... | <commit_before>from math import cos, sin, pi, hypot
def rotate(polygon, angle):
rotated_points = []
cos_result = cos(angle)
sin_result = sin(angle)
for point in polygon:
x = point[0] * cos_result - point[1] * sin_result
y = point[0] * sin_result + point[1] * cos_result
rotated_p... |
e292705df44ba511a0650e5b4d70ab5f2404e412 | ghutil/cli/pr/__init__.py | ghutil/cli/pr/__init__.py | import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
""" Manage pull requests """
default_command(ctx, 'list')
| import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
"""
Manage pull requests
GitHub pull requests may be specified on the command line using any of the
following formats:
\b
... | Document PR command line syntax | Document PR command line syntax
| Python | mit | jwodder/ghutil | import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
""" Manage pull requests """
default_command(ctx, 'list')
Document PR command line syntax | import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
"""
Manage pull requests
GitHub pull requests may be specified on the command line using any of the
following formats:
\b
... | <commit_before>import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
""" Manage pull requests """
default_command(ctx, 'list')
<commit_msg>Document PR command line syntax<commit_after> | import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
"""
Manage pull requests
GitHub pull requests may be specified on the command line using any of the
following formats:
\b
... | import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
""" Manage pull requests """
default_command(ctx, 'list')
Document PR command line syntaximport click
from ghutil.util import default_comm... | <commit_before>import click
from ghutil.util import default_command, package_group
@package_group(__package__, __file__, invoke_without_command=True)
@click.pass_context
def cli(ctx):
""" Manage pull requests """
default_command(ctx, 'list')
<commit_msg>Document PR command line syntax<commit_after>import cli... |
a45042c504fcb1b11741fb9ce786c5afb94219a7 | qual/tests/test_iso.py | qual/tests/test_iso.py | import unittest
from hypothesis import given
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d = dt.date()
self.assertEqual(qual.iso_to_gregorian(*d... | import unittest
from hypothesis import given
from hypothesis.strategies import integers
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date, MINYEAR, MAXYEAR
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d ... | Add a new test for roundtripping in the opposite direction. | Add a new test for roundtripping in the opposite direction.
| Python | apache-2.0 | jwg4/qual,jwg4/calexicon | import unittest
from hypothesis import given
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d = dt.date()
self.assertEqual(qual.iso_to_gregorian(*d... | import unittest
from hypothesis import given
from hypothesis.strategies import integers
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date, MINYEAR, MAXYEAR
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d ... | <commit_before>import unittest
from hypothesis import given
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d = dt.date()
self.assertEqual(qual.iso_... | import unittest
from hypothesis import given
from hypothesis.strategies import integers
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date, MINYEAR, MAXYEAR
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d ... | import unittest
from hypothesis import given
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d = dt.date()
self.assertEqual(qual.iso_to_gregorian(*d... | <commit_before>import unittest
from hypothesis import given
from hypothesis.extra.datetime import datetimes
import qual
from datetime import date
class TestIsoUtils(unittest.TestCase):
@given(datetimes(timezones=[]))
def test_round_trip_date(self, dt):
d = dt.date()
self.assertEqual(qual.iso_... |
9749cdaaebacd7316b581c5d368a5082fb6d3789 | test_projects/test_module_b/test_feat_4.py | test_projects/test_module_b/test_feat_4.py | import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):
pas... | import time
import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):... | Add empty time tests (for ui testing) | Add empty time tests (for ui testing)
| Python | mit | martinsmid/pytest-ui | import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):
pas... | import time
import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):... | <commit_before>import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(sel... | import time
import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):... | import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(self):
pas... | <commit_before>import unittest
class TestG(unittest.TestCase):
def test_feat_1_case_1(self):
pass
def test_feat_1_case_2(self):
pass
def test_feat_1_case_3(self):
pass
def test_feat_1_case_4(self):
pass
class TestH(unittest.TestCase):
def test_feat_1_case_1(sel... |
6603657df4626a9e2c82a3658c63314c7a9537f4 | src/experimental/os_walk_with_filechecker.py | src/experimental/os_walk_with_filechecker.py | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys
walk_dir = sys.argv[1]
print("walk directory: " + walk_dir)
print("Walk directory (absolute) = " + os.path.abspath(walk_dir))
print("\n\n\n\n\n\n\n\n\n")
for root, subdirs, files in os.walk(walk_dir):
print(root)
#lis... | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys, datetime
#dt = datetime.datetime(1970,1,1).total_seconds()
# print(dt)
walk_dir = sys.argv[1]
with open("fsscan.scan", "w") as f:
print("SCANFROM" + walk_dir)
for root, subdirs, files in os.walk(walk_dir):
f.write... | Add write dump to file | Add write dump to file
| Python | bsd-3-clause | paulkramme/btsoot | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys
walk_dir = sys.argv[1]
print("walk directory: " + walk_dir)
print("Walk directory (absolute) = " + os.path.abspath(walk_dir))
print("\n\n\n\n\n\n\n\n\n")
for root, subdirs, files in os.walk(walk_dir):
print(root)
#lis... | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys, datetime
#dt = datetime.datetime(1970,1,1).total_seconds()
# print(dt)
walk_dir = sys.argv[1]
with open("fsscan.scan", "w") as f:
print("SCANFROM" + walk_dir)
for root, subdirs, files in os.walk(walk_dir):
f.write... | <commit_before>#!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys
walk_dir = sys.argv[1]
print("walk directory: " + walk_dir)
print("Walk directory (absolute) = " + os.path.abspath(walk_dir))
print("\n\n\n\n\n\n\n\n\n")
for root, subdirs, files in os.walk(walk_dir):
pr... | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys, datetime
#dt = datetime.datetime(1970,1,1).total_seconds()
# print(dt)
walk_dir = sys.argv[1]
with open("fsscan.scan", "w") as f:
print("SCANFROM" + walk_dir)
for root, subdirs, files in os.walk(walk_dir):
f.write... | #!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys
walk_dir = sys.argv[1]
print("walk directory: " + walk_dir)
print("Walk directory (absolute) = " + os.path.abspath(walk_dir))
print("\n\n\n\n\n\n\n\n\n")
for root, subdirs, files in os.walk(walk_dir):
print(root)
#lis... | <commit_before>#!/usr/bin/python3
# THIS FILE IS AN EXPERIMENTAL PROGRAM TO LEARN ABOUT OS_WALK
import os, sys
walk_dir = sys.argv[1]
print("walk directory: " + walk_dir)
print("Walk directory (absolute) = " + os.path.abspath(walk_dir))
print("\n\n\n\n\n\n\n\n\n")
for root, subdirs, files in os.walk(walk_dir):
pr... |
fbb5addbb6b61a127066fd443d70f1cfe94f7c03 | marshmallow/__init__.py | marshmallow/__init__.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | Put ValidationError on top-level namespace | Put ValidationError on top-level namespace
| Python | mit | 0xDCA/marshmallow,dwieeb/marshmallow,bartaelterman/marshmallow,maximkulkin/marshmallow,Tim-Erwin/marshmallow,mwstobo/marshmallow,VladimirPal/marshmallow,daniloakamine/marshmallow,xLegoz/marshmallow,marshmallow-code/marshmallow,0xDCA/marshmallow,etataurov/marshmallow,quxiaolong1504/marshmallow,Bachmann1234/marshmallow | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marsh... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marshmallow.exceptio... | <commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import
__version__ = '1.0.0-dev'
__author__ = 'Steven Loria'
__license__ = 'MIT'
from marshmallow.schema import (
Schema,
SchemaOpts,
MarshalResult,
UnmarshalResult,
Serializer,
)
from marshmallow.utils import pprint
from marsh... |
c55dbf067d85c3a060a6ffeff2aad24991e95eae | pandas/tests/series/test_validate.py | pandas/tests/series/test_validate.py | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | Remove duplicate Series sort_index check | MAINT: Remove duplicate Series sort_index check
Duplicate boolean validation check for sort_index in series/test_validate.py | Python | bsd-3-clause | pratapvardhan/pandas,rs2/pandas,winklerand/pandas,jorisvandenbossche/pandas,zfrenchee/pandas,winklerand/pandas,TomAugspurger/pandas,pandas-dev/pandas,harisbal/pandas,jmmease/pandas,pratapvardhan/pandas,TomAugspurger/pandas,DGrady/pandas,jorisvandenbossche/pandas,cython-testbed/pandas,zfrenchee/pandas,nmartensen/pandas,... | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | <commit_before>import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
... | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
invalid_v... | <commit_before>import pytest
from pandas.core.series import Series
class TestSeriesValidate(object):
"""Tests for error handling related to data types of method arguments."""
s = Series([1, 2, 3, 4, 5])
def test_validate_bool_args(self):
# Tests for error handling related to boolean arguments.
... |
3acd7d885e6c660c3acb0b584b7ed07c8a1a4df3 | docs/source/_examples/myclient.py | docs/source/_examples/myclient.py | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
self.sock = ssl.wrap_socket(self.sock)
self.conn = h11.Connection(our_role=h11.CLIENT)
def send(self, *events):
for e... | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
ctx = ssl.create_default_context()
self.sock = ctx.wrap_socket(self.sock, server_hostname=host)
self.conn = h11.Connec... | Support SNI in the example client | Support SNI in the example client
Fixes: gh-36
| Python | mit | python-hyper/h11,njsmith/h11 | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
self.sock = ssl.wrap_socket(self.sock)
self.conn = h11.Connection(our_role=h11.CLIENT)
def send(self, *events):
for e... | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
ctx = ssl.create_default_context()
self.sock = ctx.wrap_socket(self.sock, server_hostname=host)
self.conn = h11.Connec... | <commit_before>import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
self.sock = ssl.wrap_socket(self.sock)
self.conn = h11.Connection(our_role=h11.CLIENT)
def send(self, *events)... | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
ctx = ssl.create_default_context()
self.sock = ctx.wrap_socket(self.sock, server_hostname=host)
self.conn = h11.Connec... | import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
self.sock = ssl.wrap_socket(self.sock)
self.conn = h11.Connection(our_role=h11.CLIENT)
def send(self, *events):
for e... | <commit_before>import socket, ssl
import h11
class MyHttpClient:
def __init__(self, host, port):
self.sock = socket.create_connection((host, port))
if port == 443:
self.sock = ssl.wrap_socket(self.sock)
self.conn = h11.Connection(our_role=h11.CLIENT)
def send(self, *events)... |
23d92f1a24e919bd1b232cb529dbe022f6cdd463 | gwv/gwv.py | gwv/gwv.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def main(args=None):
if args is None:
args = sys.argv[1:]
import argparse
parser = argparse.ArgumentParser(description="GlyphWiki data validator")
parser.add_argument("d... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def open_dump(filename):
dump = {}
with open(filename) as f:
if filename[-4:] == ".csv":
for l in f:
row = l.rstrip("\n").split(",")
i... | Use dict for dump data format | Use dict for dump data format
| Python | mit | kurgm/gwv | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def main(args=None):
if args is None:
args = sys.argv[1:]
import argparse
parser = argparse.ArgumentParser(description="GlyphWiki data validator")
parser.add_argument("d... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def open_dump(filename):
dump = {}
with open(filename) as f:
if filename[-4:] == ".csv":
for l in f:
row = l.rstrip("\n").split(",")
i... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def main(args=None):
if args is None:
args = sys.argv[1:]
import argparse
parser = argparse.ArgumentParser(description="GlyphWiki data validator")
parser.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def open_dump(filename):
dump = {}
with open(filename) as f:
if filename[-4:] == ".csv":
for l in f:
row = l.rstrip("\n").split(",")
i... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def main(args=None):
if args is None:
args = sys.argv[1:]
import argparse
parser = argparse.ArgumentParser(description="GlyphWiki data validator")
parser.add_argument("d... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from gwv import version
from validator import validate
def main(args=None):
if args is None:
args = sys.argv[1:]
import argparse
parser = argparse.ArgumentParser(description="GlyphWiki data validator")
parser.... |
d3f8c8639462feffe15c457d0009b36816fd3264 | HOME/bin/lib/setup/__init__.py | HOME/bin/lib/setup/__init__.py | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this program lives in $repo/HOME/bin/lib, so $repo/HOME/bin/../../.. will
# get the root of the repos... | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
HOME_DIR = 'HOME'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this file is under HOME_DIR, which is directly under the repo root
path = Path(__fi... | Refactor setup.root to never again need to be changed if the file moves | Refactor setup.root to never again need to be changed if the file moves
| Python | mit | kbd/setup,kbd/setup,kbd/setup,kbd/setup,kbd/setup | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this program lives in $repo/HOME/bin/lib, so $repo/HOME/bin/../../.. will
# get the root of the repos... | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
HOME_DIR = 'HOME'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this file is under HOME_DIR, which is directly under the repo root
path = Path(__fi... | <commit_before>from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this program lives in $repo/HOME/bin/lib, so $repo/HOME/bin/../../.. will
# get the ro... | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
HOME_DIR = 'HOME'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this file is under HOME_DIR, which is directly under the repo root
path = Path(__fi... | from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this program lives in $repo/HOME/bin/lib, so $repo/HOME/bin/../../.. will
# get the root of the repos... | <commit_before>from pathlib import Path
SETTINGS_PATH = 'conf/settings.py'
PARTIALS_PATH = 'conf/partials.txt'
def load_config(path=SETTINGS_PATH):
settings = eval(open(path).read())
return settings
def root():
# this program lives in $repo/HOME/bin/lib, so $repo/HOME/bin/../../.. will
# get the ro... |
571cb7f14d3ea2fe1ae77e419a3d71d6f9987b25 | virtualbox/library_ext/progress.py | virtualbox/library_ext/progress.py | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doct__ = library.IProg... | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doc__ = library.IProgr... | Fix __doc__ not being replaced | Fix __doc__ not being replaced
| Python | apache-2.0 | mjdorma/pyvbox | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doct__ = library.IProg... | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doc__ = library.IProgr... | <commit_before>from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doct__ ... | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doc__ = library.IProgr... | from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doct__ = library.IProg... | <commit_before>from virtualbox import library
"""
Add helper code to the default IProgress class.
"""
# Helper function for IProgress to print out a current progress state
# in __str__
_progress_template = """\
(%(o)s/%(oc)s) %(od)s %(p)-3s%% (%(tr)s s remaining)"""
class IProgress(library.IProgress):
__doct__ ... |
58620934b0a49cdde573ed7090053e3316fcf215 | xpserver_api/serializers.py | xpserver_api/serializers.py | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
class UserViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()
serializer... | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
def create(self, validated_data):
user = User.objects.create(**validated_data)
... | Add user registration via api | Add user registration via api
| Python | mit | xp2017-hackergarden/server,xp2017-hackergarden/server,xp2017-hackergarden/server,xp2017-hackergarden/server | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
class UserViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()
serializer... | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
def create(self, validated_data):
user = User.objects.create(**validated_data)
... | <commit_before>from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
class UserViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()... | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
def create(self, validated_data):
user = User.objects.create(**validated_data)
... | from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
class UserViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()
serializer... | <commit_before>from django.contrib.auth.models import User
from rest_framework import serializers, viewsets
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ('url', 'email')
class UserViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()... |
4a0569d129d770fead45f3b0d9069ff54e8ddc56 | xoinvader/game.py | xoinvader/game.py | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | Add stop method, fix dangerous args. | Add stop method, fix dangerous args.
| Python | mit | pkulev/xoinvader,pankshok/xoinvader | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | <commit_before>#! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Set... | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | #! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Settings
from xoin... | <commit_before>#! /usr/bin/env python3
"""Main XOInvader module, that is entry point to game.
Prepare environment for starting game and start it."""
import curses
from xoinvader.menu import MainMenuState
from xoinvader.ingame import InGameState
from xoinvader.render import Renderer
from xoinvader.common import Set... |
ca7b50920a90e335b4cebe124ec3160aafada824 | apitestcase/__init__.py | apitestcase/__init__.py | from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = [
"TestCase",
"__version__",
]
| from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = (
"TestCase",
"__version__",
)
| Make apitestcase __all__ a tuple | Make apitestcase __all__ a tuple
| Python | mit | bramwelt/apitestcase | from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = [
"TestCase",
"__version__",
]
Make apitestcase __all__ a tuple | from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = (
"TestCase",
"__version__",
)
| <commit_before>from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = [
"TestCase",
"__version__",
]
<commit_msg>Make apitestcase __all__ a tuple<commit_after> | from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = (
"TestCase",
"__version__",
)
| from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = [
"TestCase",
"__version__",
]
Make apitestcase __all__ a tuplefrom apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = (
"TestCase",
"__version__",
)
| <commit_before>from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = [
"TestCase",
"__version__",
]
<commit_msg>Make apitestcase __all__ a tuple<commit_after>from apitestcase.testcase import TestCase
__version__ = ("0", "1", "0")
__all__ = (
"TestCase",
"__version__",
)... |
c6d042ee5d4867750a54ab9f6c3576928e4ba457 | yarn_api_client/__init__.py | yarn_api_client/__init__.py | # -*- coding: utf-8 -*-
__version__ = '1.0.0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
| # -*- coding: utf-8 -*-
__version__ = '2.0.0.dev0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
| Prepare for next development iteration | Prepare for next development iteration
| Python | bsd-3-clause | toidi/hadoop-yarn-api-python-client | # -*- coding: utf-8 -*-
__version__ = '1.0.0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
Prepare for ne... | # -*- coding: utf-8 -*-
__version__ = '2.0.0.dev0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
| <commit_before># -*- coding: utf-8 -*-
__version__ = '1.0.0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager... | # -*- coding: utf-8 -*-
__version__ = '2.0.0.dev0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
| # -*- coding: utf-8 -*-
__version__ = '1.0.0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager
Prepare for ne... | <commit_before># -*- coding: utf-8 -*-
__version__ = '1.0.0'
__all__ = ['ApplicationMaster', 'HistoryServer', 'NodeManager', 'ResourceManager']
from .application_master import ApplicationMaster
from .history_server import HistoryServer
from .node_manager import NodeManager
from .resource_manager import ResourceManager... |
b8656ae21ab494b49013a7cd67facff7bdbd7cf5 | index.py | index.py | from flask import Flask
from flask_redis import FlaskRedis
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = FlaskRedis(app)
| from flask import Flask
from flask_redis import FlaskRedis
from redis import StrictRedis
from config import BaseConfig
class DecodedRedis(StrictRedis):
@classmethod
def from_url(cls, url, db=None, **kwargs):
kwargs['decode_responses'] = True
return StrictRedis.from_url(url, db, **kwargs)
app... | Add decode_responses option to redis | Add decode_responses option to redis
| Python | mit | tferreira/Flask-Redis | from flask import Flask
from flask_redis import FlaskRedis
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = FlaskRedis(app)
Add decode_responses option to redis | from flask import Flask
from flask_redis import FlaskRedis
from redis import StrictRedis
from config import BaseConfig
class DecodedRedis(StrictRedis):
@classmethod
def from_url(cls, url, db=None, **kwargs):
kwargs['decode_responses'] = True
return StrictRedis.from_url(url, db, **kwargs)
app... | <commit_before>from flask import Flask
from flask_redis import FlaskRedis
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = FlaskRedis(app)
<commit_msg>Add decode_responses option to redis<commit_after> | from flask import Flask
from flask_redis import FlaskRedis
from redis import StrictRedis
from config import BaseConfig
class DecodedRedis(StrictRedis):
@classmethod
def from_url(cls, url, db=None, **kwargs):
kwargs['decode_responses'] = True
return StrictRedis.from_url(url, db, **kwargs)
app... | from flask import Flask
from flask_redis import FlaskRedis
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = FlaskRedis(app)
Add decode_responses option to redisfrom flask import Flask
from flask_redis import FlaskRedis
from redis import StrictRedis
from config import BaseConf... | <commit_before>from flask import Flask
from flask_redis import FlaskRedis
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = FlaskRedis(app)
<commit_msg>Add decode_responses option to redis<commit_after>from flask import Flask
from flask_redis import FlaskRedis
from redis impor... |
5cadb19aec67945efa5c4367ee4d1aab6bbc66e7 | git-issues/git-handler.py | git-issues/git-handler.py | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | Split out writing to disk into it's own mfunction | Split out writing to disk into it's own mfunction
| Python | apache-2.0 | AutomatedTester/git-issues,AutomatedTester/git-issues,AutomatedTester/git-issues | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | <commit_before>import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if... | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if len(rep) > 1:
... | <commit_before>import os
import re
import subprocess
import requests
GITHUB_API_ADDRESS = "https://api.github.com/"
def get_git_address():
response = subprocess.check_output(['git', 'remote', '-v'])
dirty = response.split('\n')
repos = {}
for repo in dirty:
rep = repo.split('\t')
if... |
bc6af25366aacf394f96b5a93008109904a89e93 | wlauto/common/android/resources.py | wlauto/common/android/resources.py | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | Add a UiautoApk resource type. | AndroidResource: Add a UiautoApk resource type.
When moving to Uiautomation 2, tests are now complied into apk files rather than
jar files. To avoid conflicts with regular workload apks a new resource type is
added to retrieve the test files which will be renamed to have the extension
.uiautoapk
| Python | apache-2.0 | bjackman/workload-automation,bjackman/workload-automation,bjackman/workload-automation,bjackman/workload-automation,jimboatarm/workload-automation,jimboatarm/workload-automation,jimboatarm/workload-automation,bjackman/workload-automation,bjackman/workload-automation,jimboatarm/workload-automation,jimboatarm/workload-au... | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | <commit_before># Copyright 2014-2015 ARM Limited
#
# 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 applicable law or... | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | # Copyright 2014-2015 ARM Limited
#
# 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 applicable law or agreed to in w... | <commit_before># Copyright 2014-2015 ARM Limited
#
# 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 applicable law or... |
15c58fb05a9bfb06b87d8d00a1b26d50ee68c1f7 | django/publicmapping/redistricting/management/commands/makelanguagefiles.py | django/publicmapping/redistricting/management/commands/makelanguagefiles.py | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | Add creation of js message files to management command | Add creation of js message files to management command
| Python | apache-2.0 | JimCallahanOrlando/DistrictBuilder,JimCallahanOrlando/DistrictBuilder,JimCallahanOrlando/DistrictBuilder,JimCallahanOrlando/DistrictBuilder | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | <commit_before>#!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(s... | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | #!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(self, *args, **o... | <commit_before>#!/usr/bin/python
from django.core.management.base import BaseCommand
from redistricting.utils import *
class Command(BaseCommand):
"""
This command prints creates and compiles language message files
"""
args = None
help = 'Create and compile language message files'
def handle(s... |
8ddcabe29dfaa6716578664224620fc5a0116a2b | tests/test_cli_eigenvals.py | tests/test_cli_eigenvals.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import c... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
"""
Tests for the 'eigenvals' command.
"""
import os
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
from tbmodels.... | Fix pre-commit issue for the cli_eigenvals test. | Fix pre-commit issue for the cli_eigenvals test.
| Python | apache-2.0 | Z2PackDev/TBmodels,Z2PackDev/TBmodels | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import c... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
"""
Tests for the 'eigenvals' command.
"""
import os
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
from tbmodels.... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
import tbmodels
from tbmodel... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
"""
Tests for the 'eigenvals' command.
"""
import os
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
from tbmodels.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
import tbmodels
from tbmodels._cli import c... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import os
import pytest
import tempfile
import numpy as np
import bands_inspect as bi
from click.testing import CliRunner
import tbmodels
from tbmodel... |
842ab1d53224117fc750d963b6c5f3b6f5af5f1d | hakoblog/db.py | hakoblog/db.py | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | Add charset to connect mysql | Add charset to connect mysql
| Python | mit | hakobe/hakoblog-python,hakobe/hakoblog-python,hakobe/hakoblog-python | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | <commit_before>import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
... | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
cursorc... | <commit_before>import MySQLdb
import MySQLdb.cursors
from hakoblog.config import CONFIG
class DB():
def __init__(self):
self.conn = MySQLdb.connect(
db=CONFIG.DATABASE,
host=CONFIG.DATABASE_HOST,
user=CONFIG.DATABASE_USER,
password=CONFIG.DATABASE_PASS,
... |
d478c966192241cccf53ac665820fd9a62ebcdeb | huxley/api/permissions.py | huxley/api/permissions.py | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | Make IsPostOrSuperuserOnly a non-object-level permission. | Make IsPostOrSuperuserOnly a non-object-level permission.
| Python | bsd-3-clause | nathanielparke/huxley,bmun/huxley,bmun/huxley,nathanielparke/huxley,bmun/huxley,ctmunwebmaster/huxley,nathanielparke/huxley,ctmunwebmaster/huxley,nathanielparke/huxley,bmun/huxley,ctmunwebmaster/huxley,ctmunwebmaster/huxley | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | <commit_before># Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
... | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | # Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
def has_pe... | <commit_before># Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).
from rest_framework import permissions
class IsSuperuserOrReadOnly(permissions.BasePermission):
'''Allow writes if superuser, read-only otherwise.'''
... |
f88d747f7959808884451245aeba65edf7c490bf | synapse/replication/slave/storage/filtering.py | synapse/replication/slave/storage/filtering.py | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | Add a comment explaining why the filter cache doesn't need exipiring | Add a comment explaining why the filter cache doesn't need exipiring
| Python | apache-2.0 | TribeMedia/synapse,TribeMedia/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,TribeMedia/synapse,matrix-org/synapse,matrix-org/synapse,TribeMedia/synapse,matrix-org/synapse,TribeMedia/synapse | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | <commit_before># -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 requ... | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | # -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 applica... | <commit_before># -*- coding: utf-8 -*-
# Copyright 2015, 2016 OpenMarket Ltd
#
# 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 requ... |
9346e9750dee78484766d912919cfacc2e6b4b7e | wagtail/search/management/commands/search_garbage_collect.py | wagtail/search/management/commands/search_garbage_collect.py | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records... ")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records…")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | Replace triple dots with ellipsis in search commands | Replace triple dots with ellipsis in search commands
| Python | bsd-3-clause | mixxorz/wagtail,FlipperPA/wagtail,mixxorz/wagtail,zerolab/wagtail,mixxorz/wagtail,thenewguy/wagtail,wagtail/wagtail,gasman/wagtail,rsalmaso/wagtail,takeflight/wagtail,nealtodd/wagtail,gasman/wagtail,FlipperPA/wagtail,gasman/wagtail,rsalmaso/wagtail,takeflight/wagtail,kaedroho/wagtail,kaedroho/wagtail,timorieber/wagtail... | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records... ")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records…")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | <commit_before>from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records... ")
models.QueryDailyHits.garbage_collect()
self.stdout... | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records…")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records... ")
models.QueryDailyHits.garbage_collect()
self.stdout.write("Done")
... | <commit_before>from django.core.management.base import BaseCommand
from wagtail.search import models
class Command(BaseCommand):
def handle(self, **options):
# Clean daily hits
self.stdout.write("Cleaning daily hits records... ")
models.QueryDailyHits.garbage_collect()
self.stdout... |
6e724725fca65d3e63b1bfe44f9c2bcb22ae862d | banana/maya/__init__.py | banana/maya/__init__.py | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | Remove a leftover module from the `__all__` attribute. | Remove a leftover module from the `__all__` attribute.
| Python | mit | christophercrouzet/bana,christophercrouzet/banana.maya | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | <commit_before># __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | # __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... | <commit_before># __
# | |--.---.-.-----.---.-.-----.---.-. .--------.---.-.--.--.---.-.
# | _ | _ | | _ | | _ |__| | _ | | | _ |
# |_____|___._|__|__|___._|__|__|___._|__|__|__|__|___._|___ |___._|
# ... |
dcc4a0682befae9e6fccbdb18a517789249259ec | test_project/urls.py | test_project/urls.py | try:
from django.conf.urls.defaults import patterns, include, url
except ImportError:
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$',
'django.views.generic.simple.direct_to_t... | from django.views.generic.base import TemplateView
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', TemplateView.as_view(template_name="index.html")),
url(r'^test/', 'test_app.views.tes... | Fix for 1.6 & 1.7 | Fix for 1.6 & 1.7
| Python | mit | nikolas/django-interval-field,mpasternak/django-interval-field,mpasternak/django-interval-field,nikolas/django-interval-field | try:
from django.conf.urls.defaults import patterns, include, url
except ImportError:
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$',
'django.views.generic.simple.direct_to_t... | from django.views.generic.base import TemplateView
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', TemplateView.as_view(template_name="index.html")),
url(r'^test/', 'test_app.views.tes... | <commit_before>try:
from django.conf.urls.defaults import patterns, include, url
except ImportError:
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$',
'django.views.generic.sim... | from django.views.generic.base import TemplateView
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', TemplateView.as_view(template_name="index.html")),
url(r'^test/', 'test_app.views.tes... | try:
from django.conf.urls.defaults import patterns, include, url
except ImportError:
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$',
'django.views.generic.simple.direct_to_t... | <commit_before>try:
from django.conf.urls.defaults import patterns, include, url
except ImportError:
from django.conf.urls import patterns, url, include
import settings
import os
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$',
'django.views.generic.sim... |
e6c9ceb3f838a613d182a3fdea961ca1f73e90c4 | translator/models.py | translator/models.py | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharField(max_length... | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from taggit.managers import TaggableManager
from translator.util import get_key
try:
# Django 3.1 and above
from django.utils.functional import classproperty
except ImportError:
from django.uti... | Update import for classproperty in django 3.1 and above | Update import for classproperty in django 3.1 and above
| Python | mit | dreipol/django-translator | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharField(max_length... | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from taggit.managers import TaggableManager
from translator.util import get_key
try:
# Django 3.1 and above
from django.utils.functional import classproperty
except ImportError:
from django.uti... | <commit_before># coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharF... | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from taggit.managers import TaggableManager
from translator.util import get_key
try:
# Django 3.1 and above
from django.utils.functional import classproperty
except ImportError:
from django.uti... | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharField(max_length... | <commit_before># coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharF... |
b19eb216f1f1e9c059b083af7ff72864994f5920 | project_name/project_name/urls.py | project_name/project_name/urls.py | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# include urls from your app like so
# url(r'^', include('my_app.urls')),
url(r'^admin/', include(admin.site.urls)),
)
| from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
# include urls from your app like so
# url(r'^', include('my_app.urls')),
)
| Put admin at the top of the default URLs | Put admin at the top of the default URLs
| Python | mit | jimray/django-project-skeleton,jimray/django-project-skeleton | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# include urls from your app like so
# url(r'^', include('my_app.urls')),
url(r'^admin/', include(admin.site.urls)),
)
Put admin at the top of the default URLs | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
# include urls from your app like so
# url(r'^', include('my_app.urls')),
)
| <commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# include urls from your app like so
# url(r'^', include('my_app.urls')),
url(r'^admin/', include(admin.site.urls)),
)
<commit_msg>Put admin at the top of the... | from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
# include urls from your app like so
# url(r'^', include('my_app.urls')),
)
| from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# include urls from your app like so
# url(r'^', include('my_app.urls')),
url(r'^admin/', include(admin.site.urls)),
)
Put admin at the top of the default URLsfrom django.co... | <commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# include urls from your app like so
# url(r'^', include('my_app.urls')),
url(r'^admin/', include(admin.site.urls)),
)
<commit_msg>Put admin at the top of the... |
000bf4d3942c19facd254fcff2df8b2b35a8fd75 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | Change to fireteam email address. | Change to fireteam email address.
| Python | bsd-3-clause | fireteam/python-json-stream | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-st... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-stream',
vers... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools.dist import Distribution
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
doc = f.read()
class BinaryDistribution(Distribution):
def is_pure(self):
return False
setup(
name='json-st... |
b2593ea8f4a8e98b2a92ccebae69376516fb860c | setup.py | setup.py | from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
with open('README') as f:
readme = f.read()
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://github.com/plumd... | import os
from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
if os.path.exists('README'):
with open('README') as f:
readme = f.read()
else:
readme = None
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
... | Fix for non-existent rst README | Fix for non-existent rst README
| Python | bsd-3-clause | plumdog/flask_table,plumdog/flask_table,plumdog/flask_table | from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
with open('README') as f:
readme = f.read()
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://github.com/plumd... | import os
from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
if os.path.exists('README'):
with open('README') as f:
readme = f.read()
else:
readme = None
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
... | <commit_before>from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
with open('README') as f:
readme = f.read()
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://g... | import os
from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
if os.path.exists('README'):
with open('README') as f:
readme = f.read()
else:
readme = None
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
... | from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
with open('README') as f:
readme = f.read()
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://github.com/plumd... | <commit_before>from setuptools import setup
install_requires = [
'Flask',
'Flask-Babel',
]
with open('README') as f:
readme = f.read()
setup(
name='Flask-Table',
packages=['flask_table'],
version='0.3.1',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://g... |
f41c05f7579b42300e8e202218657f4eeb37a3a6 | setup.py | setup.py | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | Install rl when installing voltron | Install rl when installing voltron
| Python | mit | snare/voltron,snare/voltron,snare/voltron,snare/voltron | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | <commit_before>from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packag... | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packages=['voltron'],... | <commit_before>from setuptools import setup
setup(
name = "voltron",
version = "0.1",
author = "snare",
author_email = "snare@ho.ax",
description = ("A UI for GDB & LLDB"),
license = "Buy snare a beer",
keywords = "voltron gdb lldb",
url = "https://github.com/snarez/voltron",
packag... |
e121493b7bab8f4cdd8485248a9acd7babb643c8 | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %
version)
sys.stderr... | Use the pillow master branch directly. | Use the pillow master branch directly.
| Python | isc | 99designs/colorific | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %
version)
sys.stderr... | <commit_before># -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %
version)
sys.stderr... | # -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version)
sys.stder... | <commit_before># -*- coding: utf-8 -*-
#
# setup.py
# colorific
#
"""
Package information for colorific.
"""
import sys
# check for the supported Python version
version = tuple(sys.version_info[:2])
if version != (2, 7):
sys.stderr.write('colorific requires Python 2.7 (you have %d.%d)\n' %\
version... |
cb385d0e053078492c467a31cbde3e158e458571 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
setup(
name='modeldi... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
try:
import multiprocessing # Seems to fix http://bugs.python.org/issue15881
except ImportError:
pass
setup_requires = []
if 'nosetests' in sys.argv[1:]:
setup_requires.append('nose')
setup(
name='modeldict',
version... | Fix bug with multiprocessing and Nose. | Fix bug with multiprocessing and Nose.
| Python | apache-2.0 | disqus/durabledict | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
setup(
name='modeldi... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
try:
import multiprocessing # Seems to fix http://bugs.python.org/issue15881
except ImportError:
pass
setup_requires = []
if 'nosetests' in sys.argv[1:]:
setup_requires.append('nose')
setup(
name='modeldict',
version... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
setup(
... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
try:
import multiprocessing # Seems to fix http://bugs.python.org/issue15881
except ImportError:
pass
setup_requires = []
if 'nosetests' in sys.argv[1:]:
setup_requires.append('nose')
setup(
name='modeldict',
version... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
setup(
name='modeldi... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
setup(
... |
911e8df0b58f6c642fc240e042d830b26cb704f9 | setup.py | setup.py | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | Remove specific argparse version (not necessary); a=bustage | Remove specific argparse version (not necessary); a=bustage
| Python | mpl-2.0 | mozilla/build-runner,mozilla/build-runner | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",
author="Ch... | <commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
setup(
name="runner",
version="1.9",
description="Task runner",... |
d024572a21e7e4baa2a72c30b617aafaea84801b | setup.py | setup.py | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | Set cov-core dependency to 1.9 | Set cov-core dependency to 1.9
| Python | mit | opoplawski/pytest-cov,moreati/pytest-cov,pytest-dev/pytest-cov,ionelmc/pytest-cover,wushaobo/pytest-cov,schlamar/pytest-cov | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long... | <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
... |
7413dcbae4c379d9d2fd6baa6de67031b0582e3b | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | Revert "Upgrading dependency on relengapi" | Revert "Upgrading dependency on relengapi"
This reverts commit fd7d52947b7fe590ce2549aefbbd636b9f416b9d.
| Python | mpl-2.0 | andrei987/services,djmitche/build-relengapi,Callek/build-relengapi,andrei987/services,lundjordan/build-relengapi,lundjordan/build-relengapi,srfraser/services,andrei987/services,mozilla/build-relengapi,garbas/mozilla-releng-services,lundjordan/build-relengapi,hwine/build-relengapi,hwine/build-relengapi,lundjordan/servic... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),
namespac... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='relengapi-mapper',
version='0.2.2',
description='hg to git mapper',
author='Chris AtLee',
author_email='chris@atlee.ca',
url='https://github.com/petemoore/mapper',
packages=find_packages(),... |
5c929cd84074d9fe17548afec4e6e81ad61416ae | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup, find_packages
setup(
name = "docker-scripts",
version = "0.2.2",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:run'],
},
)
| #!/usr/bin/python
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name = "docker-scripts",
version = "0.3.0",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:... | Use requirements.txt file for... requirements | Use requirements.txt file for... requirements
| Python | mit | lichia/docker-scripts,TomasTomecek/docker-scripts,goldmann/docker-scripts,goldmann/docker-squash,jpopelka/docker-scripts | #!/usr/bin/python
from setuptools import setup, find_packages
setup(
name = "docker-scripts",
version = "0.2.2",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:run'],
},
)
Use requirements.txt file for... requirements | #!/usr/bin/python
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name = "docker-scripts",
version = "0.3.0",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:... | <commit_before>#!/usr/bin/python
from setuptools import setup, find_packages
setup(
name = "docker-scripts",
version = "0.2.2",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:run'],
},
)
<commit_msg>Use requirements.txt file for... req... | #!/usr/bin/python
from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name = "docker-scripts",
version = "0.3.0",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:... | #!/usr/bin/python
from setuptools import setup, find_packages
setup(
name = "docker-scripts",
version = "0.2.2",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:run'],
},
)
Use requirements.txt file for... requirements#!/usr/bin/python
... | <commit_before>#!/usr/bin/python
from setuptools import setup, find_packages
setup(
name = "docker-scripts",
version = "0.2.2",
packages = find_packages(),
entry_points={
'console_scripts': ['docker-scripts=docker_scripts.cli.main:run'],
},
)
<commit_msg>Use requirements.txt file for... req... |
04182bff7a097b8842073f96bac834abb34f7118 | setup.py | setup.py | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_description=long_description,
author="Martijn Faassen... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_descr... | Use io.open with encoding='utf-8' and flake8 compliance | Use io.open with encoding='utf-8' and flake8 compliance
| Python | bsd-3-clause | morepath/more.static | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_description=long_description,
author="Martijn Faassen... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_descr... | <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_description=long_description,
author="... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_descr... | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_description=long_description,
author="Martijn Faassen... | <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(
name='more.static',
version='0.10.dev0',
description="BowerStatic integration for Morepath",
long_description=long_description,
author="... |
c31dea7bb9dc104c23cf6960f61d56af86c8dea6 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.1.0',
description="Enables android adb in your python script",
long_description='This package can be us... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.2.0',
description="Enables android adb in your python script",
long_description='This python package is... | Update package description and version | Update package description and version
| Python | bsd-3-clause | solarce/adb_android,vmalyi/adb_android | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.1.0',
description="Enables android adb in your python script",
long_description='This package can be us... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.2.0',
description="Enables android adb in your python script",
long_description='This python package is... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.1.0',
description="Enables android adb in your python script",
long_description='This pa... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.2.0',
description="Enables android adb in your python script",
long_description='This python package is... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.1.0',
description="Enables android adb in your python script",
long_description='This package can be us... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
]
test_requirements = [
]
setup(
name='adb_android',
version='0.1.0',
description="Enables android adb in your python script",
long_description='This pa... |
bd30c70095c9e0fc4b6a552def45406bef5093e1 | setup.py | setup.py | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | Make version spec more clear. | Make version spec more clear.
| Python | bsd-3-clause | morepath/more.jinja2 | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | <commit_before>import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for More... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for Morepath",
lo... | <commit_before>import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.2.dev0',
description="Jinja2 template integration for More... |
cd4152a9ea9953e4f6482bd51046fd754ffb7457 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = [ line.strip()
for line in open("deps.txt")
if line and not line.startswith("#") ]
metadata = dict(
name='Yaka Core',
version='0.1dev',
url='http://www.yaka.biz/',
license='LGPL',
author='Stefane Fermigier',
auth... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def get_deps():
import re
deps_raw = [ line.strip() for line in open("deps.txt")]
deps = []
for dep in deps_raw:
if not dep or dep.startswith("#"):
continue
m = re.search("#egg=(.*)", dep)
if m:
dep = m.group(1)
... | Fix build broken by previous commit. | Fix build broken by previous commit.
| Python | lgpl-2.1 | abilian/abilian-core,abilian/abilian-core,abilian/abilian-core,abilian/abilian-core,abilian/abilian-core | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = [ line.strip()
for line in open("deps.txt")
if line and not line.startswith("#") ]
metadata = dict(
name='Yaka Core',
version='0.1dev',
url='http://www.yaka.biz/',
license='LGPL',
author='Stefane Fermigier',
auth... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def get_deps():
import re
deps_raw = [ line.strip() for line in open("deps.txt")]
deps = []
for dep in deps_raw:
if not dep or dep.startswith("#"):
continue
m = re.search("#egg=(.*)", dep)
if m:
dep = m.group(1)
... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = [ line.strip()
for line in open("deps.txt")
if line and not line.startswith("#") ]
metadata = dict(
name='Yaka Core',
version='0.1dev',
url='http://www.yaka.biz/',
license='LGPL',
author='Stefane Fer... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def get_deps():
import re
deps_raw = [ line.strip() for line in open("deps.txt")]
deps = []
for dep in deps_raw:
if not dep or dep.startswith("#"):
continue
m = re.search("#egg=(.*)", dep)
if m:
dep = m.group(1)
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = [ line.strip()
for line in open("deps.txt")
if line and not line.startswith("#") ]
metadata = dict(
name='Yaka Core',
version='0.1dev',
url='http://www.yaka.biz/',
license='LGPL',
author='Stefane Fermigier',
auth... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = [ line.strip()
for line in open("deps.txt")
if line and not line.startswith("#") ]
metadata = dict(
name='Yaka Core',
version='0.1dev',
url='http://www.yaka.biz/',
license='LGPL',
author='Stefane Fer... |
02c20066e4af8fc5c929a19301f0d8e4bbba629b | setup.py | setup.py | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md', encoding='utf-8').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
... | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
url='http://git... | Revert "opens README.md in utf-8 encoding" | Revert "opens README.md in utf-8 encoding"
This reverts commit f73fd446dc9b953c57c773f21744616265adc754.
| Python | bsd-3-clause | DylannCordel/unicode-slugify | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md', encoding='utf-8').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
... | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
url='http://git... | <commit_before>from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md', encoding='utf-8').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@... | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
url='http://git... | from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md', encoding='utf-8').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@mozilla.com',
... | <commit_before>from setuptools import setup
setup(
name='unicode-slugify',
version='0.1.3',
description='A slug generator that turns strings into unicode slugs.',
long_description=open('README.md', encoding='utf-8').read(),
author='Jeff Balogh, Dave Dash',
author_email='jbalogh@mozilla.com, dd@... |
7d34d5953bbf4f1d8c3fc97c7c8b19b433d52ecd | setup.py | setup.py | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `sourcecode <http://bitbucket.org/Jarus/flask-mongokit/>`_
* `MongoKit <http://namlook.github.com/mongokit/>`_
... | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `development version <http://github.com/jarus/flask-mongokit/zipball/master#egg=Flask-MongoKit-dev>`_
* `MongoK... | Add development version and correct url to github | Add development version and correct url to github
| Python | bsd-3-clause | jarus/flask-mongokit,jarus/flask-mongokit,VishvajitP/flask-mongokit,VishvajitP/flask-mongokit | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `sourcecode <http://bitbucket.org/Jarus/flask-mongokit/>`_
* `MongoKit <http://namlook.github.com/mongokit/>`_
... | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `development version <http://github.com/jarus/flask-mongokit/zipball/master#egg=Flask-MongoKit-dev>`_
* `MongoK... | <commit_before>"""
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `sourcecode <http://bitbucket.org/Jarus/flask-mongokit/>`_
* `MongoKit <http://namlook.github.co... | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `development version <http://github.com/jarus/flask-mongokit/zipball/master#egg=Flask-MongoKit-dev>`_
* `MongoK... | """
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `sourcecode <http://bitbucket.org/Jarus/flask-mongokit/>`_
* `MongoKit <http://namlook.github.com/mongokit/>`_
... | <commit_before>"""
Flask-MongoKit
--------------
Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask
applications.
Links
`````
* `documentation <http://packages.python.org/Flask-MongoKit>`_
* `sourcecode <http://bitbucket.org/Jarus/flask-mongokit/>`_
* `MongoKit <http://namlook.github.co... |
68a6f8361dbc39ffb3b35428c04860178f004b77 | setup.py | setup.py | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | Add classifier for Python 3.5 | Add classifier for Python 3.5
| Python | mit | jandd/django-gnupg-mails | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | <commit_before>import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end u... | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end up as part of th... | <commit_before>import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ['setup.py', 'bdist_wheel']:
# Remove previous build dir when creating a wheel build, since if files
# have been removed from the project, they'll still be cached in the build
# dir and end u... |
5883ccc3ca5ff073f571fa9cfe363d7a0be59d47 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | Set the download link to the current version of django-request, not latest git. | Set the download link to the current version of django-request, not latest git.
| Python | bsd-2-clause | kylef/django-request,gnublade/django-request,kylef/django-request,gnublade/django-request,gnublade/django-request,kylef/django-request | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on ... | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | #!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online e... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
import request
setup(
name='django-request',
version='%s' % request.__version__,
description='django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on ... |
21220dee455cb51b26a82caa1fbe11c09ac18351 | linter.py | linter.py | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | Remove empty defaults and deprecated settings | Remove empty defaults and deprecated settings
| Python | mit | jonlabelle/SublimeLinter-contrib-markdownlint,jonlabelle/SublimeLinter-contrib-markdownlint | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | <commit_before>#
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(... | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | #
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(NodeLinter):
... | <commit_before>#
# linter.py
# Markdown Linter for SublimeLinter, a code checking framework
# for Sublime Text 3
#
# Written by Jon LaBelle
# Copyright (c) 2018 Jon LaBelle
#
# License: MIT
#
"""This module exports the Markdownlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Markdownlint(... |
7da1482f93090bcafc420e96aa07515be61c8c50 | linter.py | linter.py | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | Use 'ruby -S' to find ruby-lint executable | Use 'ruby -S' to find ruby-lint executable
| Python | mit | jawshooah/SublimeLinter-contrib-ruby-lint | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
""... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
"""Provides an in... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Joshua Hagins
# Copyright (c) 2015 Joshua Hagins
#
# License: MIT
#
"""This module exports the RubyLint plugin class."""
from SublimeLinter.lint import RubyLinter
class RubyLint(RubyLinter):
""... |
e6d3d60265db1947b8af2d1c59c575c632ddc20b | linter.py | linter.py | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | Add support for handling errors and warnings | Add support for handling errors and warnings
| Python | mit | lzwme/SublimeLinter-contrib-stylelint,lzwme/SublimeLinter-contrib-stylelint,kungfusheep/SublimeLinter-contrib-stylelint | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | #
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):
"""Provide... | <commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by @kungfusheep
# Copyright (c) 2016 @kungfusheep
#
# License: MIT
#
"""This module exports the Stylelint plugin class."""
import os
from SublimeLinter.lint import Linter, util
class Stylelint(Linter):... |
71073c238a3cb033183179f51d293c5e3d3eebee | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | Add mock as it's required by the unit tests. | Add mock as it's required by the unit tests.
| Python | apache-2.0 | uw-it-aca/mdot-rest,uw-it-aca/mdot-rest | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_rest'],
inc... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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='mdot-rest',
version='0.1',
packages=['mdot_... |
882ea5cb70f75d51cc0c8305baf7380a1d7d7954 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version='0.3.3',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
install_req... | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version=i18n.__version__,
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
in... | Put back the __version__ technique | Put back the __version__ technique
| Python | apache-2.0 | edx/i18n-tools | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version='0.3.3',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
install_req... | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version=i18n.__version__,
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
in... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version='0.3.3',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
... | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version=i18n.__version__,
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
in... | #!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version='0.3.3',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
install_req... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import i18n
setup(
name='edx-i18n-tools',
version='0.3.3',
description='edX Internationalization Tools',
author='edX',
author_email='oscm@edx.org',
url='https://github.com/edx/i18n-tools',
packages=[
'i18n',
],
... |
f9d527e34dd06e33933eeb342e430f6b88c97c92 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | Update pycodestyle requirement from <2.4.0,>=2.3.0 to >=2.3.0,<2.6.0 | Update pycodestyle requirement from <2.4.0,>=2.3.0 to >=2.3.0,<2.6.0
Updates the requirements on [pycodestyle](https://github.com/PyCQA/pycodestyle) to permit the latest version.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/master/CHANGES.txt)... | Python | agpl-3.0 | openfisca/country-template,openfisca/country-template | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approve... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.9.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License... |
a4e2868ec5fd9c15814897a98e256bf662d1c4e9 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | Tag eve version more precisly | Tag eve version more precisly
| Python | mit | rs/eve-auth-jwt | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
author='Olivier... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='eve-auth-jwt',
version='1.0.1',
description='Eve JWT authentication',
long_description=readme,
... |
cc24fdfe14e0dc65334312893f1cca0d3a879a40 | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | Remove nonexistent packages from find_packages | Remove nonexistent packages from find_packages
| Python | apache-2.0 | Yelp/pyramid_zipkin,bplotnick/pyramid_zipkin | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',
license='C... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
__version__ = "0.13.0"
setup(
name='pyramid_zipkin',
version=__version__,
provides=["pyramid_zipkin"],
author='Yelp, Inc.',
author_email='opensource+pyramid-zipkin@yelp.com',... |
8bc704f6272ccfebd48f7282e02420a56d8e934d | setup.py | setup.py | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | Fix to improperly disabled docs | Fix to improperly disabled docs
| Python | bsd-2-clause | aalto-speech/flatcat | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
ve... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
version=metadata[... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import re
main_py = open('flatcat/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
requires = [
'morfessor',
]
setup(name='Morfessor FlatCat',
ve... |
9787f9e446ff42aa64e912e3c34802b803dc6652 | setup.py | setup.py | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | Move koala-serializer to extra requirements | Move koala-serializer to extra requirements
| Python | agpl-3.0 | koala-team/Chillin-PyServer | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | <commit_before>import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-... | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-PyServer',
... | <commit_before>import sys
from setuptools import setup, find_packages
setup(
name='chillin-server',
version='2.0.0',
description='Chillin AI Game Framework (Python Server)',
long_description='',
author='Koala',
author_email='mdan.hagh@gmail.com',
url='https://github.com/koala-team/Chillin-... |
9c2de54cd8b87a7d247f7c7acab3d0e2b9cecd34 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | Update repo URL for Jazzband ownership transfer | Update repo URL for Jazzband ownership transfer | Python | mit | Pinkerton/django-ical | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
op... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
open('CHANGES.rst... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-ical',
version='1.5',
description="iCal feeds for Django based on Django's syndication feed "
"framework.",
long_description=(open('README.rst').read() + '\n' +
op... |
b555bba2f0b2c275d5d0cb3b55a16b34d2d69047 | setup.py | setup.py | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | Add dependencies for `dev` and `postgres` extras. | Add dependencies for `dev` and `postgres` extras.
| Python | mit | ic-labs/django-icekit,ic-labs/icekit-events,ic-labs/django-icekit,ic-labs/icekit-events,ic-labs/icekit-events,ic-labs/django-icekit,ic-labs/django-icekit | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | <commit_before>import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic... | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | <commit_before>import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic... |
e4bf7d3f5d093a71562799af5e15081b8a0c812c | setup.py | setup.py | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | Add explicit versions for dependencies | Add explicit versions for dependencies
| Python | mit | clearcare/twilio-python,Stackdriver/twilio-python,Mobii/twilio-python,supermanheng21/twilio-python,cinemapub/bright-response,cinemapub/bright-response,bcorwin/twilio-python,tysonholub/twilio-python,Stackdriver/twilio-python,twilio/twilio-python,Rosy-S/twilio-python,johannakate/twilio-python,YeelerG/twilio-python,RobSpe... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | <commit_before>from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | <commit_before>from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
... |
3cbc6bdd5bcc480d105ce53bffd5b350b7dc8179 | setup.py | setup.py | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
url='http://githu... | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.rst'),
url='http://gith... | Use README.rst for long description | Use README.rst for long description
| Python | mit | arafsheikh/clipboard-memo | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
url='http://githu... | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.rst'),
url='http://gith... | <commit_before>from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
ur... | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.rst'),
url='http://gith... | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
url='http://githu... | <commit_before>from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
ur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.