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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4754c220e79aba7fc4c1ab67a1e834cc306d4493 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | Remove Django REST Framework from dependencies | Remove Django REST Framework from dependencies
| Python | mit | danxshap/django-rest-surveys | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | <commit_before>#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read(... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | <commit_before>#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read(... |
9272e0fb2f3c3190f53ea440a9d15610667d6072 | manage.py | manage.py | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',... | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
from massa.domain import make_tables, drop_tables
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_... | Add commands to make and drop db tables from a terminal. | Add commands to make and drop db tables from a terminal. | Python | mit | jaapverloop/massa | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',... | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
from massa.domain import make_tables, drop_tables
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_... | <commit_before># -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
ho... | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
from massa.domain import make_tables, drop_tables
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_... | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',... | <commit_before># -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
ho... |
7c88518c9447b4504efc510c70320abaac50680f | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.6.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | Update dependency jsonschema to v2.6.0 | Update dependency jsonschema to v2.6.0
| Python | mit | yosida95/python-jsmapper | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.6.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | <commit_before># -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pyte... | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.6.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | <commit_before># -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pyte... |
c5783f385d406f8ccfa5e0cef6dfdf248d7ea02b | matrix.py | matrix.py | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | Fix bug in get_offsets with span == 1 | Fix bug in get_offsets with span == 1
Very specific bug made span of 1 include center (start) point.
| Python | mit | supermitch/Island-Gen | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | <commit_before>from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, ... | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | <commit_before>from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, ... |
8d3f2ded898b1bfcac1f3ce407787cf5075dc383 | setup.py | setup.py | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.2.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | Update deps to pull in YAML support | Update deps to pull in YAML support
| Python | apache-2.0 | wholebiome/aegea,kislyuk/aegea,kislyuk/aegea,wholebiome/aegea,kislyuk/aegea,wholebiome/aegea | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.2.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | <commit_before>#!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Serv... | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.2.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Services Operator I... | <commit_before>#!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Amazon Web Serv... |
d9c3211def0141754fa05b64e06b99d3d1db0c75 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API"
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified BS... | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API",
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified B... | Fix broken line in setip.py | Fix broken line in setip.py
| Python | bsd-2-clause | joshua-stone/DerPyBooru | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API"
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified BS... | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API",
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified B... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API"
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license =... | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API",
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified B... | #!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API"
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license = "Simplified BS... | <commit_before>#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import derpibooru
setup(
name = "DerPyBooru",
description = "Python bindings for Derpibooru's API"
url = "https://github.com/joshua-stone/DerPyBooru",
version = "0.4",
author = "Joshua Stone",
license =... |
10fe1c33e29d509778b4b65c00ec24a52f5d9854 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | Correct dependencies so it depends on toml.py | Correct dependencies so it depends on toml.py
| Python | mit | jparvela/handlebar | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | <commit_before>from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['hand... | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['handlebar'], requir... | <commit_before>from setuptools import setup, find_packages
setup(
name="handlebar.py",
version="0.1",
author="José Pedro Arvela",
author_email="[email protected]",
description="Debian build system with copy-on-write containers",
license="MIT",
packages=find_packages(),
scripts=['hand... |
2e18e3cd1a510dc9af3a4debc244006997baa1c9 | setup.py | setup.py | from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
... | from setuptools.command.test import test as TestCommand
import sys
import os
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't load... | Add PyPI description and such | Add PyPI description and such
| Python | mit | gosquadron/squadron,gosquadron/squadron | from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
... | from setuptools.command.test import test as TestCommand
import sys
import os
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't load... | <commit_before>from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't... | from setuptools.command.test import test as TestCommand
import sys
import os
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't load... | from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
... | <commit_before>from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't... |
0c470222a131b3fe8b9a7483dd039c513b29e978 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.0',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.1',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | Add entry point for monitor runner | Add entry point for monitor runner
| Python | bsd-3-clause | justincely/cos_monitoring | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.0',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.1',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | <commit_before>from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.0',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronom... | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.1',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.0',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronomy',
'Op... | <commit_before>from setuptools import setup, find_packages
setup(
name='cosmo',
version='1.0.0',
description='Monitors for HST/COS',
keywords=['astronomy'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: BSD-3 :: Association of Universities for Research in Astronom... |
345773b4ab1025ce64318014ebdbe2ec52998482 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | Drop requirement for urllib3 - it is part of requests. | Drop requirement for urllib3 - it is part of requests.
| Python | mit | datagovuk/ckanext-archiver,DanePubliczneGovPl/ckanext-archiver,ckan/ckanext-archiver,datagovuk/ckanext-archiver,datagovuk/ckanext-archiver,ckan/ckanext-archiver,ckan/ckanext-archiver,DanePubliczneGovPl/ckanext-archiver,DanePubliczneGovPl/ckanext-archiver | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | <commit_before>from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'mes... | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'messytables>=0.1.4... | <commit_before>from setuptools import setup, find_packages
setup(
name='ckanext-archiver',
version='0.1',
packages=find_packages(),
install_requires=[
'celery==2.4.2',
'kombu==2.1.3',
'kombu-sqlalchemy==1.1.0',
'SQLAlchemy>=0.6.6',
'requests==1.1.0',
'mes... |
0b324258a4872d1038ca5ef3b10d7978b6c03a22 | setup.py | setup.py | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | Set `zip_safe` to false so that we can install pygrow from source. | Set `zip_safe` to false so that we can install pygrow from source.
| Python | mit | codedcolors/pygrow,grow/grow,codedcolors/pygrow,denmojo/pygrow,denmojo/pygrow,grow/grow,codedcolors/pygrow,grow/pygrow,denmojo/pygrow,grow/grow,grow/pygrow,grow/pygrow,denmojo/pygrow,grow/grow | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | <commit_before>from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
... | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
'Develop eve... | <commit_before>from pip import req
import pip
from setuptools import find_packages
from setuptools import setup
_install_requirements = req.parse_requirements(
'requirements.txt', session=pip.download.PipSession())
setup(
name='grow',
version=open('grow/VERSION').read().strip(),
description=(
... |
54456e42e2c9d90095b34a30a16940584ebdb29c | setup.py | setup.py | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | Add python module memcache dependency | Add python module memcache dependency
| Python | mit | elsid/mosecom-air,elsid/mosecom-air,elsid/mosecom-air | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | <commit_before>#!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
... | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | #!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email=... | <commit_before>#!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
... |
229c5be9e0ad67c7cdea8c5404efff157d996372 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.8.0.4'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.9.0.0'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | Update to 2.9.0.0 and use equivalent version of redis-py | Update to 2.9.0.0 and use equivalent version of redis-py
| Python | apache-2.0 | yossigo/mockredis,matejkloska/mockredis,locationlabs/mockredis,path/mockredis | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.8.0.4'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.9.0.0'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.8.0.4'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.9.0.0'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.8.0.4'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
url='http... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
# Match releases to redis-py versions
__version__ = '2.8.0.4'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
setup(name='mockredispy',
version=__version__ + __build__,
description='Mock for redis-py',
... |
2a8b2a7324682df81de91c2f9ee27bbb67a7d894 | setup.py | setup.py | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | Update googlemaps to 2.5.0 version | Update googlemaps to 2.5.0 version | Python | mit | 20tab/django-political-map,20tab/django-political-map,20tab/django-political-map | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | <commit_before>from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author... | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | <commit_before>from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author... |
da9628271be108b1236b9dbbcaf6cda9494b7b63 | setup.py | setup.py | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | Change PyPI development status from pre-alpha to beta. | Change PyPI development status from pre-alpha to beta.
| Python | bsd-3-clause | nghung270192/colorama,nghung270192/colorama | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | <commit_before>#!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
... | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | <commit_before>#!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
... |
1d196e4f65a02bdd7437ade213fbf86c711a78d0 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclude_package_data=... | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(),
exclude_package_data={'': ['*.sql', '*.pyc']},
... | Remove a ref to now-gone sample_project. | Remove a ref to now-gone sample_project.
| Python | bsd-3-clause | caktus/django-crumbs | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclude_package_data=... | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(),
exclude_package_data={'': ['*.sql', '*.pyc']},
... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclud... | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(),
exclude_package_data={'': ['*.sql', '*.pyc']},
... | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclude_package_data=... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclud... |
def100f95abe6a85301b8d9b7f31ff44353a5e27 | setup.py | setup.py | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | Include test data files in package. Otherwise, they are not copied to the build directory and the tests fail. | Include test data files in package. Otherwise, they are not copied to the build directory and the tests fail.
| Python | mit | davidalber/Geneagrapher,davidalber/Geneagrapher | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | <commit_before>import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setupt... | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | <commit_before>import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setupt... |
f308ae32a372f8e288bcc4e9bed98b403795baa1 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | Use develop for djsonb repository | Use develop for djsonb repository
| Python | mit | azavea/ashlar,flibbertigibbet/ashlar,flibbertigibbet/ashlar,azavea/ashlar | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis jsonschema',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='[email protected]',
keywords='gis... |
582db33a03509324c02d9861b48138c7ce54947e | setup.py | setup.py | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | Add all supported python versions to classifiers. | Add all supported python versions to classifiers.
| Python | bsd-3-clause | csadorf/signac,csadorf/signac | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | <commit_before>import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | <commit_before>import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author... |
4c12f68e5d86acb4152acf5ace6a02b6968db925 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| #!/usr/bin/env python
from distutils.core import setup
f = open('version.txt', 'r')
version = f.read().strip()
f.close()
setup(name='icalendar',
version=version,
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| Tweak so that version information is picked up from version.txt. | Tweak so that version information is picked up from version.txt.
| Python | bsd-2-clause | nylas/icalendar,geier/icalendar,untitaker/icalendar | #!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
Tweak so that version information is picked up from version.txt. | #!/usr/bin/env python
from distutils.core import setup
f = open('version.txt', 'r')
version = f.read().strip()
f.close()
setup(name='icalendar',
version=version,
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
<commit_msg>Tweak so that version information is picked up from version.txt.<commit_af... | #!/usr/bin/env python
from distutils.core import setup
f = open('version.txt', 'r')
version = f.read().strip()
f.close()
setup(name='icalendar',
version=version,
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
Tweak so that version information is picked up from version.txt.#!/usr/bin/env python
from distutils... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
<commit_msg>Tweak so that version information is picked up from version.txt.<commit_af... |
2c7adc6fd0a53db44951eccb8f5db3b45e4a4653 | setup.py | setup.py | from setuptools import setup
setup(
name='jinjer',
version='0.1',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | from setuptools import setup
setup(
name='jinjer',
version='0.2',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | Correct requires to force installation. | Correct requires to force installation.
| Python | mit | andrematheus/jinjer | from setuptools import setup
setup(
name='jinjer',
version='0.1',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | from setuptools import setup
setup(
name='jinjer',
version='0.2',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | <commit_before>from setuptools import setup
setup(
name='jinjer',
version='0.1',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool... | from setuptools import setup
setup(
name='jinjer',
version='0.2',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | from setuptools import setup
setup(
name='jinjer',
version='0.1',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool to render Jinj... | <commit_before>from setuptools import setup
setup(
name='jinjer',
version='0.1',
packages=['jinjer'],
package_dir={'': 'src'},
url='https://github.com/andrematheus/jinjer',
license='BSD',
author='André Roque Matheus',
author_email='[email protected]',
description='Tool... |
941d71ce0c7e61dc461382c3a4972aaa169e9db9 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | Fix issue with extension point | Fix issue with extension point
| Python | mit | cprieto/pygments_hack_asm | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | <commit_before>from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Priet... | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Prieto',
autho... | <commit_before>from setuptools import setup, find_packages
setup(name='pygments-hackasm-lexer',
version='0.1',
description='Pygments lexer for the Nand2Tetris Hack Assembler',
packages = setuptools.find_packages(),
url='https://github.com/cprieto/pygments_hack_asm',
author='Cristian Priet... |
4df3209e4b0eb376f9eb1143717fb60b6d699182 | setup.py | setup.py | from distutils.core import setup
setup(name="cf_app_utils",
version="1.0",
packages=['cf_app_utils'])
| from distutils.core import setup
setup(name="cf_app_utils",
version="0.1",
packages=['cf_app_utils'])
| Decrease version number to reflect project nascency | Decrease version number to reflect project nascency
| Python | bsd-2-clause | wileykestner/cf_app_utils_python | from distutils.core import setup
setup(name="cf_app_utils",
version="1.0",
packages=['cf_app_utils'])
Decrease version number to reflect project nascency | from distutils.core import setup
setup(name="cf_app_utils",
version="0.1",
packages=['cf_app_utils'])
| <commit_before>from distutils.core import setup
setup(name="cf_app_utils",
version="1.0",
packages=['cf_app_utils'])
<commit_msg>Decrease version number to reflect project nascency<commit_after> | from distutils.core import setup
setup(name="cf_app_utils",
version="0.1",
packages=['cf_app_utils'])
| from distutils.core import setup
setup(name="cf_app_utils",
version="1.0",
packages=['cf_app_utils'])
Decrease version number to reflect project nascencyfrom distutils.core import setup
setup(name="cf_app_utils",
version="0.1",
packages=['cf_app_utils'])
| <commit_before>from distutils.core import setup
setup(name="cf_app_utils",
version="1.0",
packages=['cf_app_utils'])
<commit_msg>Decrease version number to reflect project nascency<commit_after>from distutils.core import setup
setup(name="cf_app_utils",
version="0.1",
packages=['cf_app_utils'... |
c9ae9dc6766e94d319b5a8da16a9ed44465519eb | setup.py | setup.py | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable Django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | Correct the capitalization of Django. | Correct the capitalization of Django.
| Python | bsd-3-clause | kinsights/brabeion | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable Django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | <commit_before>from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "htt... | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable Django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/... | <commit_before>from distutils.core import setup
setup(
name = "brabeion",
version = "0.1.dev",
author = "Eldarion",
author_email = "[email protected]",
description = "a reusable django badges application",
long_description = open("README.rst").read(),
license = "BSD",
url = "htt... |
fe7924717151d4f85ff9fa28dea44254eb9eec70 | setup.py | setup.py | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.5',
)
t... | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.7',
)
t... | Update minimum version of psycopg2 required | Update minimum version of psycopg2 required
For the `super_user` context manager, we are doing something like:
```
db_conn = psycopg2.connect('user=tester dbname=testing', user='postgres')
```
This was not supported by psycopg2 < 2.7:
```
Traceback (most recent call last):
File \"/var/cnx/venvs/publishing/bin/dbm... | Python | agpl-3.0 | karenc/db-migrator | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.5',
)
t... | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.7',
)
t... | <commit_before># -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>... | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.7',
)
t... | # -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>=2.5',
)
t... | <commit_before># -*- coding: utf-8 -*-
# ###
# Copyright (c) 2015, Rice University
# This software is subject to the provisions of the GNU Affero General
# Public License version 3 (AGPLv3).
# See LICENCE.txt for details.
# ###
import sys
from setuptools import setup, find_packages
install_requires = (
'psycopg2>... |
03d321f5700f2cd3f02de8aa2b601fa14d3de144 | setup.py | setup.py | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | Remove not found script message | Remove not found script message
| Python | mit | codingsmartschool/PyMaIn | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | <commit_before>#!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input ... | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | #!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input == "divide":
o... | <commit_before>#!/usr/bin/python
# from setuptools
# import setup
import os
__author__ = "Andre Christoga"
input = raw_input("> (eg plus, minus, divide...)")
if input == "plus":
os.system("pymain/plus.py")
if input == "minus":
os.system("pymain/minus.py")
if input == "multi":
os.system("pymain/multi.py")
if input ... |
d265ec5127a8ab51b1812786f4e1eef79ef2a9a3 | setup.py | setup.py | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | Change manage.py to require Pillow 2.0. This is to avoid PIL import errors for Mac users | Change manage.py to require Pillow 2.0. This is to avoid PIL import errors for Mac users
| Python | bsd-3-clause | rmaceissoft/django-photologue,jlemaes/django-photologue,rmaceissoft/django-photologue,seedwithroot/django-photologue-clone,rmaceissoft/django-photologue,RossLYoung/django-photologue,MathieuDuponchelle/my_patched_photologue,seedwithroot/django-photologue-clone,jlemaes/django-photologue,jlemaes/django-photologue,MathieuD... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... |
845eb9209ebaf7f7acb9e748a94650ec74935ca2 | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
version = '0.5.2'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
... | from setuptools import setup, find_packages
import sys, os
version = '0.6'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
c... | Update gevent dependency; bump version number | Update gevent dependency; bump version number
| Python | bsd-3-clause | fujita-shintaro/ouimeaux,tomjmul/wemo,drock371/ouimeaux,sstangle73/ouimeaux,aktur/ouimeaux,sstangle73/ouimeaux,rgardner/ouimeaux,m-kiuchi/ouimeaux,tomjmul/wemo,fujita-shintaro/ouimeaux,tomjmul/wemo,rgardner/ouimeaux,bennytheshap/ouimeaux,m-kiuchi/ouimeaux,fritz-fritz/ouimeaux,sstangle73/ouimeaux,bennytheshap/ouimeaux,i... | from setuptools import setup, find_packages
import sys, os
version = '0.5.2'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
... | from setuptools import setup, find_packages
import sys, os
version = '0.6'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
c... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.5.2'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=des... | from setuptools import setup, find_packages
import sys, os
version = '0.6'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
c... | from setuptools import setup, find_packages
import sys, os
version = '0.5.2'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=description,
... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.5.2'
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
description = f.read()
setup(name='ouimeaux',
version=version,
description="Python API to Belkin WeMo devices",
long_description=des... |
0163e8821288db826b595051a6312b19c66e05f0 | ideascaly/utils.py | ideascaly/utils.py | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | Add a conditional to check whther 'arg' is a byte | Add a conditional to check whther 'arg' is a byte
| Python | mit | joausaga/ideascaly | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | <commit_before># IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.fin... | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | # IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.find('>')+1:html.r... | <commit_before># IdeaScaly
# Copyright 2015 Jorge Saldivar
# See LICENSE for details.
import six
import dateutil.parser
def parse_datetime(str_date):
try:
date_is = dateutil.parser.parse(str_date)
return date_is
except:
return None
def parse_html_value(html):
return html[html.fin... |
abd5c75dbe8eab93504888c2483f63e77e72ffb2 | macroeco/misc/__init__.py | macroeco/misc/__init__.py | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
setup_log
log_start_end
inherit_... | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
log_start_end
inherit_docstring_fro... | Remove setup_log function from misc init (no longer present) | Remove setup_log function from misc init (no longer present)
| Python | bsd-2-clause | jkitzes/macroeco | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
setup_log
log_start_end
inherit_... | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
log_start_end
inherit_docstring_fro... | <commit_before>"""
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
setup_log
log_start_... | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
log_start_end
inherit_docstring_fro... | """
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
setup_log
log_start_end
inherit_... | <commit_before>"""
===============================
Misc (:mod:`macroeco.misc`)
===============================
This module contains miscellaneous functions that support the functions of
other modules of macroeco.
Support Functions
=================
.. autosummary::
:toctree: generated/
setup_log
log_start_... |
edb73a4d8bba1c1265bfc00e5a765ff47c120e02 | plasma/test/__init__.py | plasma/test/__init__.py | # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
| # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
import unittest
def failUnlessIdentical(self, first, second, msg=None):
"""
Fail the test if C{first} is not C{second}. This is an
obect-identity-equality test, not an object equality (i.e. C{__eq__}) test.
@param msg: if ... | Add assertIdentical support from twisted.trial | Add assertIdentical support from twisted.trial
| Python | mit | hydralabs/plasma,hydralabs/plasma | # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
Add assertIdentical support from twisted.trial | # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
import unittest
def failUnlessIdentical(self, first, second, msg=None):
"""
Fail the test if C{first} is not C{second}. This is an
obect-identity-equality test, not an object equality (i.e. C{__eq__}) test.
@param msg: if ... | <commit_before># Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
<commit_msg>Add assertIdentical support from twisted.trial<commit_after> | # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
import unittest
def failUnlessIdentical(self, first, second, msg=None):
"""
Fail the test if C{first} is not C{second}. This is an
obect-identity-equality test, not an object equality (i.e. C{__eq__}) test.
@param msg: if ... | # Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
Add assertIdentical support from twisted.trial# Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
import unittest
def failUnlessIdentical(self, first, second, msg=None):
"""
Fail the test if C{first} is not ... | <commit_before># Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
<commit_msg>Add assertIdentical support from twisted.trial<commit_after># Copyright (c) 2007-2009 The Plasma Project.
# See LICENSE.txt for details.
import unittest
def failUnlessIdentical(self, first, second, msg=None):
... |
5f5530205b54ca7929376c3c8e8d2c1fd68378a4 | rollbar/contrib/asgi/__init__.py | rollbar/contrib/asgi/__init__.py | import rollbar
class ASGIMiddleware:
def __init__(self, app):
self.app = app
async def __call__(self, scope, receive, send):
try:
await self.app(scope, receive, send)
except Exception:
rollbar.report_exc_info()
raise
def _hook(request, data):
... | import rollbar
try:
from starlette.types import ASGIApp, Scope, Receive, Send
except ImportError:
STARLETTE_INSTALLED = False
else:
STARLETTE_INSTALLED = True
if STARLETTE_INSTALLED is True:
class ASGIMiddleware:
def __init__(self, app: ASGIApp) -> None:
self.app = app
as... | Add typing support for Starlette-based apps | Add typing support for Starlette-based apps
| Python | mit | rollbar/pyrollbar | import rollbar
class ASGIMiddleware:
def __init__(self, app):
self.app = app
async def __call__(self, scope, receive, send):
try:
await self.app(scope, receive, send)
except Exception:
rollbar.report_exc_info()
raise
def _hook(request, data):
... | import rollbar
try:
from starlette.types import ASGIApp, Scope, Receive, Send
except ImportError:
STARLETTE_INSTALLED = False
else:
STARLETTE_INSTALLED = True
if STARLETTE_INSTALLED is True:
class ASGIMiddleware:
def __init__(self, app: ASGIApp) -> None:
self.app = app
as... | <commit_before>import rollbar
class ASGIMiddleware:
def __init__(self, app):
self.app = app
async def __call__(self, scope, receive, send):
try:
await self.app(scope, receive, send)
except Exception:
rollbar.report_exc_info()
raise
def _hook(reque... | import rollbar
try:
from starlette.types import ASGIApp, Scope, Receive, Send
except ImportError:
STARLETTE_INSTALLED = False
else:
STARLETTE_INSTALLED = True
if STARLETTE_INSTALLED is True:
class ASGIMiddleware:
def __init__(self, app: ASGIApp) -> None:
self.app = app
as... | import rollbar
class ASGIMiddleware:
def __init__(self, app):
self.app = app
async def __call__(self, scope, receive, send):
try:
await self.app(scope, receive, send)
except Exception:
rollbar.report_exc_info()
raise
def _hook(request, data):
... | <commit_before>import rollbar
class ASGIMiddleware:
def __init__(self, app):
self.app = app
async def __call__(self, scope, receive, send):
try:
await self.app(scope, receive, send)
except Exception:
rollbar.report_exc_info()
raise
def _hook(reque... |
23cc21bd441ac0c058d9df43276085badb27d905 | srrun.py | srrun.py | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | Use the appropriate path separator | Use the appropriate path separator
| Python | mpl-2.0 | mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge,mozilla/stoneridge | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | <commit_before>#!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.pat... | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | #!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.path.abspath(__fil... | <commit_before>#!/usr/bin/env python
# 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/.
import copy
import os
import platform
import subprocess
import sys
mypath = os.pat... |
89720c6083312b9dbfdd7aa6ff19681c3363526d | core/exceptions.py | core/exceptions.py | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs):
# type: (str, object, Sequence[str], str, str, object) -> None
super(GitSavvyError, self).__ini... | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", show_panel=True, **kwargs):
# type: (str, object, Sequence[str], str, str, bool, object) -> None
super(Git... | Make `show_panel` a normal argument to `GitSavvyError` | Make `show_panel` a normal argument to `GitSavvyError`
| Python | mit | divmain/GitSavvy,divmain/GitSavvy,divmain/GitSavvy | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs):
# type: (str, object, Sequence[str], str, str, object) -> None
super(GitSavvyError, self).__ini... | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", show_panel=True, **kwargs):
# type: (str, object, Sequence[str], str, str, bool, object) -> None
super(Git... | <commit_before>import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs):
# type: (str, object, Sequence[str], str, str, object) -> None
super(GitSavvyErr... | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", show_panel=True, **kwargs):
# type: (str, object, Sequence[str], str, str, bool, object) -> None
super(Git... | import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs):
# type: (str, object, Sequence[str], str, str, object) -> None
super(GitSavvyError, self).__ini... | <commit_before>import sublime
from ..common import util
MYPY = False
if MYPY:
from typing import Sequence
class GitSavvyError(Exception):
def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs):
# type: (str, object, Sequence[str], str, str, object) -> None
super(GitSavvyErr... |
971b36aedd700b23d791b72f60a9a534cc1be0ec | src/SALib/test_functions/Ishigami.py | src/SALib/test_functions/Ishigami.py | from __future__ import division
import math
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros([values.shape[0]... | from __future__ import division
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros(values.shape[0])
A = 7
... | Use numpy functions to allow future vectorization | Use numpy functions to allow future vectorization
| Python | mit | SALib/SALib,jdherman/SALib,jdherman/SALib | from __future__ import division
import math
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros([values.shape[0]... | from __future__ import division
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros(values.shape[0])
A = 7
... | <commit_before>from __future__ import division
import math
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros([... | from __future__ import division
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros(values.shape[0])
A = 7
... | from __future__ import division
import math
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros([values.shape[0]... | <commit_before>from __future__ import division
import math
import numpy as np
# Non-monotonic Ishigami Function (3 parameters)
# Using Saltelli sampling with a sample size of ~1000
# the expected first-order indices would be:
# x1: 0.3139
# x2: 0.4424
# x3: 0.0
def evaluate(values):
Y = np.zeros([... |
504764d36344921b1c765f6ef19b21bbe0a29653 | cpnest/__init__.py | cpnest/__init__.py | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
__version__ = "unknown"
logging.setLog... | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
__version__ = "dev"... | Revert "Get version using importlib" | Revert "Get version using importlib"
This reverts commit 5df63fc784121f113c14195c5ae63a6591e92ae6.
| Python | mit | johnveitch/cpnest | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
__version__ = "unknown"
logging.setLog... | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
__version__ = "dev"... | <commit_before>import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
__version__ = "unknown"
... | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
__version__ = "dev"... | import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
__version__ = "unknown"
logging.setLog... | <commit_before>import logging
from .logger import CPNestLogger
from .cpnest import CPNest
# Get the version number from git tag
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
__version__ = "unknown"
... |
fa07eded66aa0d0e8d1eeb127e9d29a3df971cbc | poradnia/cases/admin.py | poradnia/cases/admin.py | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | Add filter by tags in CaseAdmin | Add filter by tags in CaseAdmin
| Python | mit | watchdogpolska/poradnia,watchdogpolska/poradnia,watchdogpolska/poradnia.siecobywatelska.pl,rwakulszowa/poradnia,watchdogpolska/poradnia.siecobywatelska.pl,rwakulszowa/poradnia,watchdogpolska/poradnia,watchdogpolska/poradnia,rwakulszowa/poradnia,rwakulszowa/poradnia,watchdogpolska/poradnia.siecobywatelska.pl | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | <commit_before>from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
... | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
model = Recor... | <commit_before>from django.utils.translation import ugettext as _
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from records.models import Record
from .models import Case, PermissionGroup
class RecordInline(admin.StackedInline):
'''
Stacked Inline View for Record
'''
... |
b1a21354735e3e4b58cf63c3fc81b6e8e2ee5ed7 | concourse/scripts/builds/GpBuild.py | concourse/scripts/builds/GpBuild.py | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | Disable PXF in ORCA CI | Disable PXF in ORCA CI
| Python | apache-2.0 | greenplum-db/gpdb,xinzweb/gpdb,adam8157/gpdb,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,lisakowen/gpdb,lisakowen/gpdb,Chibin/gpdb,lisakowen/gpdb,Chibin/gpdb,adam8157/gpdb,Chibin/gpdb,Chibin/gpdb,xinzweb/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,edespino/gpdb,janebeckman/gpdb,janebeckman/gpdb,... | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | <commit_before>import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--ena... | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--enable-mapreduce",... | <commit_before>import os
import subprocess
import sys
from GpdbBuildBase import GpdbBuildBase
class GpBuild(GpdbBuildBase):
def __init__(self, mode):
self.mode = 'on' if mode == 'orca' else 'off'
def configure(self):
return subprocess.call(["./configure",
"--ena... |
c3876cd1ad2c73fa4278469b75c6d42b89fac8ea | Friends-By-Age.py | Friends-By-Age.py | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | Sort the resulted list of items | Sort the resulted list of items
| Python | mit | tonirilix/apache-spark-hands-on | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | <commit_before>from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends... | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends)
lines = sc... | <commit_before>from pyspark import SparkConf, SparkContext
import collections
conf = SparkConf().setMaster("local").setAppName("FriendsByAge")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split(',')
age = int(fields[2])
numFriends = int(fields[3])
return (age, numFriends... |
2490cf79226c1d2729d97afb73d426ab1b5d515e | butter/__init__.py | butter/__init__.py | #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.2"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
| #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.3"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
| Tag version 0.3 for impeding release | Tag version 0.3 for impeding release
| Python | bsd-3-clause | dasSOZO/python-butter,wdv4758h/butter | #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.2"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
Tag version 0.3 for impeding release | #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.3"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
| <commit_before>#!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.2"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
<commit_msg>Tag version 0.3 for impeding release... | #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.3"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
| #!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.2"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
Tag version 0.3 for impeding release#!/usr/bin/env python
"""Bu... | <commit_before>#!/usr/bin/env python
"""Butter: library to give python access to linux's more lower level features"""
__author__ = "Da_Blitz"
__version__ = "0.2"
__email__ = "[email protected]"
__license__ = "BSD (3 Clause)"
__url__ = "http://code.pocketnix.org/butter"
<commit_msg>Tag version 0.3 for impeding release... |
3dbca57a197bcf3161939a748b3ced181e7a49e4 | carafe/response.py | carafe/response.py | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | Add explicit JSON separators and append newline to end of JSON string. | Add explicit JSON separators and append newline to end of JSON string.
| Python | mit | dgilland/carafe | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | <commit_before>"""Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (... | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | """Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (list, dict)):
... | <commit_before>"""Extension of flask.Response.
"""
from flask import Response as ResponseBase, json, current_app, request
class Response(ResponseBase):
"""Extend flask.Response with support for list/dict conversion to JSON."""
def __init__(self, content=None, *args, **kargs):
if isinstance(content, (... |
d9fc83ec526df1bf732d8f65f445f48f1b764dfe | selvbetjening/api/rest/models.py | selvbetjening/api/rest/models.py |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... | Fix mistake returning the wrong authenticated user | Fix mistake returning the wrong authenticated user
| Python | mit | animekita/selvbetjening,animekita/selvbetjening,animekita/selvbetjening,animekita/selvbetjening |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... | <commit_before>
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
... |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... |
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
access_key = re... | <commit_before>
from tastypie.authentication import Authentication
from tastypie.resources import ModelResource
from provider.oauth2.models import AccessToken
from selvbetjening.core.members.models import SUser
class OAuth2Authentication(Authentication):
def is_authenticated(self, request, **kwargs):
... |
d221b364b012d25bb1ff3125f4f9e36864db7995 | assignment_dashboard/config.py | assignment_dashboard/config.py | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | Change environ.get → environ[] in scope of `if` | Change environ.get → environ[] in scope of `if`
| Python | mit | olin-computing/assignment-dashboard,osteele/assignment-dashboard,olin-computing/assignment-dashboard,olin-computing/assignment-dashboard,osteele/assignment-dashboard | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | <commit_before>import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_UR... | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'sqlite:///... | <commit_before>import os
class BaseConfig(object):
DEBUG_TB_INTERCEPT_REDIRECTS = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'change me in production')
db_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../data/database.db'))
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_UR... |
205ce071b4376872afd3d58c815a2c6804741627 | names.py | names.py | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | Use PEP8 style for conditionals | Use PEP8 style for conditionals
| Python | unlicense | wkschwartz/first-last | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | <commit_before>import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.... | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.org/library/re.... | <commit_before>import re
# A regular expression is a string like what you see below between the quote
# marks, and the ``re`` module interprets it as a pattern. Each regular
# expression describes a small program that takes another string as input and
# returns information about that string. See
# http://docs.python.... |
4653b9f493d28a6beb88a97d3d396ec1c9288f53 | Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Audio/Mixer.py | Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Audio/Mixer.py | import numpy
import Axon
class MonoMixer(Axon.AdaptiveCommsComponent.AdaptiveCommsComponent):
channels = 8
bufferSize = 1024
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in range(self.channels):
self.addInbox("in%i" % i)
def main(self):
... | import numpy
import Axon
import time
from Axon.SchedulingComponent import SchedulingAdaptiveCommsComponent
class MonoMixer(SchedulingAdaptiveCommsComponent):
channels = 8
bufferSize = 1024
sampleRate = 44100
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in r... | Change the mixer to be a scheduled component, and stop it from sending unnecessary messages when it has only received data from a few of it's inputs. | Change the mixer to be a scheduled component, and stop it from sending unnecessary messages when it has only received data from a few of it's inputs.
| Python | apache-2.0 | sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia | import numpy
import Axon
class MonoMixer(Axon.AdaptiveCommsComponent.AdaptiveCommsComponent):
channels = 8
bufferSize = 1024
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in range(self.channels):
self.addInbox("in%i" % i)
def main(self):
... | import numpy
import Axon
import time
from Axon.SchedulingComponent import SchedulingAdaptiveCommsComponent
class MonoMixer(SchedulingAdaptiveCommsComponent):
channels = 8
bufferSize = 1024
sampleRate = 44100
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in r... | <commit_before>import numpy
import Axon
class MonoMixer(Axon.AdaptiveCommsComponent.AdaptiveCommsComponent):
channels = 8
bufferSize = 1024
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in range(self.channels):
self.addInbox("in%i" % i)
def main... | import numpy
import Axon
import time
from Axon.SchedulingComponent import SchedulingAdaptiveCommsComponent
class MonoMixer(SchedulingAdaptiveCommsComponent):
channels = 8
bufferSize = 1024
sampleRate = 44100
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in r... | import numpy
import Axon
class MonoMixer(Axon.AdaptiveCommsComponent.AdaptiveCommsComponent):
channels = 8
bufferSize = 1024
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in range(self.channels):
self.addInbox("in%i" % i)
def main(self):
... | <commit_before>import numpy
import Axon
class MonoMixer(Axon.AdaptiveCommsComponent.AdaptiveCommsComponent):
channels = 8
bufferSize = 1024
def __init__(self, **argd):
super(MonoMixer, self).__init__(**argd)
for i in range(self.channels):
self.addInbox("in%i" % i)
def main... |
c81a5e42bdbbeda58e661667b0613e8e5f8d41c6 | softwareindex/handlers/coreapi.py | softwareindex/handlers/coreapi.py | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | Enforce type of identifier parameter. | Enforce type of identifier parameter.
| Python | bsd-3-clause | softwaresaved/softwareindex,softwaresaved/softwareindex | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | <commit_before># This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String... | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | # This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String)
import reque... | <commit_before># This is a software index handler that gives a score based on the
# number of mentions in open access articles. It uses the CORE
# aggregator (http://core.ac.uk/) to search the full text of indexed
# articles.
#
# Inputs:
# - identifier (String)
#
# Outputs:
# - score (Number)
# - description (String... |
178bf48c01b61c6db15dc03020687c50962dafa8 | bin/get_value_stream_status.py | bin/get_value_stream_status.py | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | Make the get_status script quieter | Make the get_status script quieter
| Python | mit | greenmoss/gocd-parser | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | <commit_before>#!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
imp... | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | #!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
import gocd_parser... | <commit_before>#!/usr/bin/env python
# This script uses the built-in Python module to check whether a given
# pipeline is passing, failing, or blocked. To check for a blocked
# pipeline, it looks through all upstream pipelines for any that are
# failing or paused.
from __future__ import print_function
import json
imp... |
5386edbd7c88a1f53c88869abbf63c00ce212352 | pyaxiom/netcdf/utils.py | pyaxiom/netcdf/utils.py | #!python
# coding=utf-8
def cf_safe_name(name):
import re
if isinstance(name, str):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(name)
return re.sub(r'[^_a-zA-Z0-9]', "_", name)
| #!python
# coding=utf-8
def isstr(s):
try:
return isinstance(s, basestring)
except NameError:
return isinstance(s, str)
def cf_safe_name(name):
import re
if isstr(name):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(nam... | Fix cf_safe_name for python 2.7 | Fix cf_safe_name for python 2.7
| Python | mit | axiom-data-science/pyaxiom,axiom-data-science/pyaxiom | #!python
# coding=utf-8
def cf_safe_name(name):
import re
if isinstance(name, str):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(name)
return re.sub(r'[^_a-zA-Z0-9]', "_", name)
Fix cf_safe_name for python 2.7 | #!python
# coding=utf-8
def isstr(s):
try:
return isinstance(s, basestring)
except NameError:
return isinstance(s, str)
def cf_safe_name(name):
import re
if isstr(name):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(nam... | <commit_before>#!python
# coding=utf-8
def cf_safe_name(name):
import re
if isinstance(name, str):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(name)
return re.sub(r'[^_a-zA-Z0-9]', "_", name)
<commit_msg>Fix cf_safe_name for python 2.7... | #!python
# coding=utf-8
def isstr(s):
try:
return isinstance(s, basestring)
except NameError:
return isinstance(s, str)
def cf_safe_name(name):
import re
if isstr(name):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(nam... | #!python
# coding=utf-8
def cf_safe_name(name):
import re
if isinstance(name, str):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(name)
return re.sub(r'[^_a-zA-Z0-9]', "_", name)
Fix cf_safe_name for python 2.7#!python
# coding=utf-8
d... | <commit_before>#!python
# coding=utf-8
def cf_safe_name(name):
import re
if isinstance(name, str):
if re.match('^[0-9_]', name):
# Add a letter to the front
name = "v_{}".format(name)
return re.sub(r'[^_a-zA-Z0-9]', "_", name)
<commit_msg>Fix cf_safe_name for python 2.7... |
c2b3173a1246538d0b11a89a696288e41993eb5a | paws/conf.py | paws/conf.py | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if cls:
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the env attrs their names.'... | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if not obj:
return self
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the... | Fix detecting class access of descriptor. Set name on attr, not env class! | Fix detecting class access of descriptor. Set name on attr, not env class!
| Python | bsd-3-clause | funkybob/paws | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if cls:
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the env attrs their names.'... | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if not obj:
return self
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the... | <commit_before>import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if cls:
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the env attr... | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if not obj:
return self
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the... | import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if cls:
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the env attrs their names.'... | <commit_before>import os
class env(object):
def __init__(self, default=None):
self.name = None
self.default = default
def __get__(self, obj, cls=None):
if cls:
return os.environ.get(self.name.upper(), self.default)
class MetaConfig(type):
'''Quickly tell the env attr... |
8c8fbb8c3cf53ce0b193926fc89e426fb360eb81 | database_import.py | database_import.py | import sys
import csv
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
filename = sys.argv[1]
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvfile:
db.create_all()
reade... | import csv
import argparse
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
def import_from_open_images(filename):
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvf... | Tidy up database import to take arguments for multiple sources | Tidy up database import to take arguments for multiple sources
| Python | mit | creativecommons/open-ledger,creativecommons/open-ledger,creativecommons/open-ledger | import sys
import csv
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
filename = sys.argv[1]
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvfile:
db.create_all()
reade... | import csv
import argparse
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
def import_from_open_images(filename):
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvf... | <commit_before>import sys
import csv
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
filename = sys.argv[1]
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvfile:
db.create_... | import csv
import argparse
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
def import_from_open_images(filename):
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvf... | import sys
import csv
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
filename = sys.argv[1]
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvfile:
db.create_all()
reade... | <commit_before>import sys
import csv
from sqlalchemy.exc import IntegrityError
from openledger.models import db, Image
filename = sys.argv[1]
fields = ('ImageID', 'Subset', 'OriginalURL', 'OriginalLandingURL', 'License',
'AuthorProfileURL', 'Author', 'Title')
with open(filename) as csvfile:
db.create_... |
3b215b5c6fea45f11f3e1969e6626b175a5b9b6a | medical_medication_us/models/medical_medicament.py | medical_medication_us/models/medical_medicament.py | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | Add gpi and gcn to medicament in medical_medication_us | Add gpi and gcn to medicament in medical_medication_us
| Python | agpl-3.0 | laslabs/vertical-medical,laslabs/vertical-medical | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | <commit_before># -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code... | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | # -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication... | <commit_before># -*- coding: utf-8 -*-
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code... |
eb8218de72d1789b9e054e2ee76c51558cc1a653 | django_fake_model/case_extension.py | django_fake_model/case_extension.py | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | Fix ordering of deletions on MySQL | Fix ordering of deletions on MySQL
| Python | bsd-3-clause | erm0l0v/django-fake-model | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | <commit_before>from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
... | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
self._map_m... | <commit_before>from __future__ import unicode_literals
from django.test import SimpleTestCase
class CaseExtension(SimpleTestCase):
_models = tuple()
@classmethod
def append_model(cls, model):
cls._models += (model, )
def _pre_setup(self):
super(CaseExtension, self)._pre_setup()
... |
22225a8d8c020f49bd781f94eb3e47947f672993 | qr_code/qrcode_image.py | qr_code/qrcode_image.py | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger(__name__)
try:
from qrcode.image.pil im... | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger('django')
try:
from qrcode.image.pil im... | Use default 'django' logger to facilitate logging configuration (default config enabled console output). | Use default 'django' logger to facilitate logging configuration (default config enabled console output).
| Python | bsd-3-clause | dprog-philippe-docourt/django-qr-code,dprog-philippe-docourt/django-qr-code,dprog-philippe-docourt/django-qr-code | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger(__name__)
try:
from qrcode.image.pil im... | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger('django')
try:
from qrcode.image.pil im... | <commit_before>"""
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger(__name__)
try:
from qrco... | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger('django')
try:
from qrcode.image.pil im... | """
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger(__name__)
try:
from qrcode.image.pil im... | <commit_before>"""
Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG
format when the Pillow library is not available.
"""
import logging
from qrcode.image.svg import SvgPathImage as _SvgPathImage
logger = logging.getLogger(__name__)
try:
from qrco... |
122bac32131b90b46673c6895dada3f01018f52b | setup.py | setup.py | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | Add 'nose' to required packages for testing. | Add 'nose' to required packages for testing.
| Python | bsd-3-clause | craig552uk/flask-json | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | <commit_before>import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__v... | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__version__'):
... | <commit_before>import os.path as op
import re
from setuptools import setup
def read(name, only_open=False):
f = open(op.join(op.dirname(__file__), name))
return f if only_open else f.read()
ext_version = None
with read('flask_json.py', only_open=True) as f:
for line in f:
if line.startswith('__v... |
d8c9b0dc3e26aeed4e5ea0e33ed5db20385520d8 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | Update pyyaml requirement from <5.2,>=5.1 to >=5.1,<5.3 | Update pyyaml requirement from <5.2,>=5.1 to >=5.1,<5.3
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyy... | Python | apache-2.0 | zooniverse/panoptes-cli | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zoon... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zoon... |
e63ba7969fb697ee1c012f9d9f7708bf28adf9ef | setup.py | setup.py | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | Adjust package metadata to reflect support for Django 3.2+. | Adjust package metadata to reflect support for Django 3.2+.
| Python | mit | gintas/django-picklefield | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | <commit_before>from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
... | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
author='Simon C... | <commit_before>from setuptools import find_packages, setup
import picklefield
with open('README.rst') as file_:
long_description = file_.read()
setup(
name='django-picklefield',
version=picklefield.__version__,
description='Pickled object field for Django',
long_description=long_description,
... |
5dd17c7a9852bc5318b8793c01eb6aab4816490d | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | Update humanize requirement from <0.6,>=0.5.1 to >=0.5.1,<1.1 | Update humanize requirement from <0.6,>=0.5.1 to >=0.5.1,<1.1
Updates the requirements on [humanize](https://github.com/jmoiron/humanize) to permit the latest version.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/0.5.1...1.0.0)
Signed-off-by: ... | Python | apache-2.0 | zooniverse/panoptes-cli | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zoon... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
... | <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='[email protected]',
description=(
'A command-line client for Panoptes, the API behind the Zoon... |
f53071faad4abb4f935425aa9b56c6dcae51abd4 | nodeconductor/server/test_runner.py | nodeconductor/server/test_runner.py | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | Move django initialization closer to execution | Move django initialization closer to execution
| Python | mit | opennode/nodeconductor,opennode/nodeconductor,opennode/nodeconductor | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | <commit_before># This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from dj... | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | # This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from django.conf impor... | <commit_before># This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'nodeconductor.server.test_settings'
test_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), '..'))
sys.path.insert(0, test_dir)
import django
from dj... |
3088096b4a0289939c93f6dcffb3e893e30ca23c | chaser/__init__.py | chaser/__init__.py | __version__ = "0.5"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
parser_g = subparsers.add_parser('get')
parser_g.add_argument('package')
parser_g.set_defaults(func=chaser.get_source_files)
parser_i = subparser... | __version__ = "0.6"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser(
description="Next-generation community package management for Chakra."
)
subparsers = parser.add_subparsers()
parser.add_argument('-v', '--version',
help="show version... | Add help info and version flag, bump to 0.6 | Add help info and version flag, bump to 0.6
| Python | bsd-3-clause | rshipp/chaser,rshipp/chaser | __version__ = "0.5"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
parser_g = subparsers.add_parser('get')
parser_g.add_argument('package')
parser_g.set_defaults(func=chaser.get_source_files)
parser_i = subparser... | __version__ = "0.6"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser(
description="Next-generation community package management for Chakra."
)
subparsers = parser.add_subparsers()
parser.add_argument('-v', '--version',
help="show version... | <commit_before>__version__ = "0.5"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
parser_g = subparsers.add_parser('get')
parser_g.add_argument('package')
parser_g.set_defaults(func=chaser.get_source_files)
parse... | __version__ = "0.6"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser(
description="Next-generation community package management for Chakra."
)
subparsers = parser.add_subparsers()
parser.add_argument('-v', '--version',
help="show version... | __version__ = "0.5"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
parser_g = subparsers.add_parser('get')
parser_g.add_argument('package')
parser_g.set_defaults(func=chaser.get_source_files)
parser_i = subparser... | <commit_before>__version__ = "0.5"
import argparse
from chaser import chaser
def main():
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
parser_g = subparsers.add_parser('get')
parser_g.add_argument('package')
parser_g.set_defaults(func=chaser.get_source_files)
parse... |
9bda75b5200790bb2c68e256207d8fc5d45a76c6 | setup.py | setup.py | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | Allow versions of requests between 1.0.0 and 2.0.0 | Allow versions of requests between 1.0.0 and 2.0.0
Requests is semantically versioned, so minor version changes are expected to be compatible.
| Python | mit | Oire/twython,joebos/twython,akarambir/twython,Fueled/twython,fibears/twython,ryanmcgrath/twython,vivek8943/twython,Hasimir/twython,Devyani-Divs/twython,ping/twython | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | <commit_before>from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_dat... | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_data=True,
# ... | <commit_before>from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <[email protected]>'
__version__ = '2.5.5'
setup(
# Basic package information.
name='twython',
version=__version__,
packages=find_packages(),
# Packaging options.
include_package_dat... |
8763c5aadc1a67382685a819cd7278dcf52e3513 | setup.py | setup.py | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | Add forked slackpy as a dependency | Add forked slackpy as a dependency
| Python | mit | cbig/ztools,cbig/zrunner | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonat... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonation test cbig',... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='zrunner',
version=version,
description="Utilities for running and benchmarking Zonation",
long_description="""\
""",
classifiers=[],
keywords='zonat... |
c010c5cc0c3de0a8147e4e50e8d67769ab399770 | django/__init__.py | django/__init__.py | VERSION = (1, 0, 'post-release-SVN')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
return v
| VERSION = (1, 1, 0, 'alpha', 0)
def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
if VERSION[3:] == ('alpha', 0):
version = '%s pre-alpha' % version
else:
version = '%s %s' % (version, VERSION[3])
if ... | Update django.VERSION in trunk per previous discussion | Update django.VERSION in trunk per previous discussion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
--HG--
extra : convert_revision : 3c1e3bd735d17d3eb58195c0362d505521706fcc
| Python | bsd-3-clause | adieu/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,heracek/django-nonrel,heracek/django-nonrel,adieu/django-nonrel | VERSION = (1, 0, 'post-release-SVN')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
return v
Update dj... | VERSION = (1, 1, 0, 'alpha', 0)
def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
if VERSION[3:] == ('alpha', 0):
version = '%s pre-alpha' % version
else:
version = '%s %s' % (version, VERSION[3])
if ... | <commit_before>VERSION = (1, 0, 'post-release-SVN')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
ret... | VERSION = (1, 1, 0, 'alpha', 0)
def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
if VERSION[3:] == ('alpha', 0):
version = '%s pre-alpha' % version
else:
version = '%s %s' % (version, VERSION[3])
if ... | VERSION = (1, 0, 'post-release-SVN')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
return v
Update dj... | <commit_before>VERSION = (1, 0, 'post-release-SVN')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
ret... |
56e665946d6ba275dbfad45f8e11c796ee1cd257 | setup.py | setup.py | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | Remove old comment that no longer applies | Remove old comment that no longer applies
| Python | apache-2.0 | mgarski/stellr,mgarski/stellr | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | <commit_before># Copyright 2011-2012 Michael Garski ([email protected])
#
# 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... | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | # Copyright 2011-2012 Michael Garski ([email protected])
#
# 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 ap... | <commit_before># Copyright 2011-2012 Michael Garski ([email protected])
#
# 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... |
00e9ee41b65adc077aae0eedc0ed453fdd9bdc75 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | Include more files inside the package. | Include more files inside the package.
| Python | mit | elielsardanons/dstar_sniffer,elielsardanons/dstar_sniffer | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | <commit_before>from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license... | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license='MIT',
p... | <commit_before>from setuptools import setup, find_packages
setup(name='DStarSniffer',
version='pre-1.0',
description='DStar repeater controller sniffer',
url='http://github.com/elielsardanons/dstar-sniffer',
author='Eliel Sardanons LU1ALY',
author_email='[email protected]',
license... |
4c96280421d93a3fa851a7baa7ddb94c388c6d25 | cryptography/hazmat/bindings/openssl/dsa.py | cryptography/hazmat/bindings/openssl/dsa.py | # 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 writing, software
# distributed under the... | # 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 writing, software
# distributed under the... | Add binding for the DSA parameters generation function | Add binding for the DSA parameters generation function
| Python | bsd-3-clause | Hasimir/cryptography,sholsapp/cryptography,dstufft/cryptography,Hasimir/cryptography,bwhmather/cryptography,sholsapp/cryptography,Lukasa/cryptography,bwhmather/cryptography,skeuomorf/cryptography,kimvais/cryptography,Lukasa/cryptography,bwhmather/cryptography,Hasimir/cryptography,Ayrx/cryptography,dstufft/cryptography,... | # 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 writing, software
# distributed under the... | # 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 writing, software
# distributed under the... | <commit_before># 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 writing, software
# distri... | # 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 writing, software
# distributed under the... | # 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 writing, software
# distributed under the... | <commit_before># 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 writing, software
# distri... |
5439552e2e2ba0e5333b86ae23eece9edde43185 | src/syntax/syntactic_simplifier.py | src/syntax/syntactic_simplifier.py | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | Add a trailing separator to all sents | Add a trailing separator to all sents
| Python | mit | Somsubhra/Simplify,Somsubhra/Simplify,Somsubhra/Simplify | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | <commit_before>__author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
... | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | __author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
# Simplify cont... | <commit_before>__author__ = 's7a'
# All imports
from parser import Parser
from breaker import Breaker
import re
# The Syntactic simplification class
class SyntacticSimplifier:
# Constructor for the Syntactic Simplifier
def __init__(self):
self.parser = Parser()
self.breaker = Breaker()
... |
dfe021b8833fabe9e81df2cd90889fb2ba52e2aa | setup.py | setup.py | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
... | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
with open('README.rst') as file:
long_description = file.read()
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
... | Add README as long description. | Add README as long description.
| Python | mit | fairview/django-peavy | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
... | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
with open('README.rst') as file:
long_description = file.read()
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
... | <commit_before>import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework ::... | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
with open('README.rst') as file:
long_description = file.read()
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
... | import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
... | <commit_before>import sys
from setuptools import setup, find_packages
peavy = __import__('peavy')
setup(
author = 'Fairview Computing LLC',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework ::... |
46f4be2da3182c9848636e3de18816d5d7bee319 | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | Update package according to licence change. | Update package according to licence change.
| Python | agpl-3.0 | etesync/journal-manager | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | <commit_before>import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-et... | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-etesync-journal',... | <commit_before>import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-et... |
6016b6531822615f7c697b0ac380150662d41ba0 | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages, Command
SEP='<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'
class Doctest(Command):
if sys.argv[-1] == 'test':
print(SEP)
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
... | import os
import sys
from setuptools import setup, find_packages, Command
class Doctest(Command):
if sys.argv[-1] == 'test':
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
class Pep8Test(Command):
if sys.argv[-1] == 'test':
print("Running pep8 under so... | Enforce python3 on pep8 test (and remove print markers) | Enforce python3 on pep8 test (and remove print markers)
| Python | mit | cemsbr/python-openflow,kytos/python-openflow | import os
import sys
from setuptools import setup, find_packages, Command
SEP='<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'
class Doctest(Command):
if sys.argv[-1] == 'test':
print(SEP)
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
... | import os
import sys
from setuptools import setup, find_packages, Command
class Doctest(Command):
if sys.argv[-1] == 'test':
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
class Pep8Test(Command):
if sys.argv[-1] == 'test':
print("Running pep8 under so... | <commit_before>import os
import sys
from setuptools import setup, find_packages, Command
SEP='<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'
class Doctest(Command):
if sys.argv[-1] == 'test':
print(SEP)
print("Running docs make and make doctest")
os.system("make docte... | import os
import sys
from setuptools import setup, find_packages, Command
class Doctest(Command):
if sys.argv[-1] == 'test':
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
class Pep8Test(Command):
if sys.argv[-1] == 'test':
print("Running pep8 under so... | import os
import sys
from setuptools import setup, find_packages, Command
SEP='<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'
class Doctest(Command):
if sys.argv[-1] == 'test':
print(SEP)
print("Running docs make and make doctest")
os.system("make doctest -C docs/")
... | <commit_before>import os
import sys
from setuptools import setup, find_packages, Command
SEP='<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>'
class Doctest(Command):
if sys.argv[-1] == 'test':
print(SEP)
print("Running docs make and make doctest")
os.system("make docte... |
8af1c868b18aa7540e5a114a0a42617917bd8f88 | setup.py | setup.py | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | Increment version to 1.0.5. Resync code base after machine crash. | Increment version to 1.0.5. Resync code base after machine crash.
| Python | bsd-2-clause | getwarped/powershift-cli,getwarped/powershift-cli | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | <commit_before>import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming La... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | <commit_before>import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming La... |
3080c44c23adcb3a09fb94343da872b8b26ce9fc | tests/conftest.py | tests/conftest.py | """Configuration for test environment"""
import sys
from .fixtures import *
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("test_async.py")
if sys.version_info < (3, 4):
collect_ignore.append("test_coroutines.py")
| """Configuration for test environment"""
import sys
from .fixtures import *
| Remove no longer necessary test ignore logic | Remove no longer necessary test ignore logic
| Python | mit | timothycrosley/hug,timothycrosley/hug,timothycrosley/hug | """Configuration for test environment"""
import sys
from .fixtures import *
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("test_async.py")
if sys.version_info < (3, 4):
collect_ignore.append("test_coroutines.py")
Remove no longer necessary test ignore logic | """Configuration for test environment"""
import sys
from .fixtures import *
| <commit_before>"""Configuration for test environment"""
import sys
from .fixtures import *
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("test_async.py")
if sys.version_info < (3, 4):
collect_ignore.append("test_coroutines.py")
<commit_msg>Remove no longer necessary test ignore log... | """Configuration for test environment"""
import sys
from .fixtures import *
| """Configuration for test environment"""
import sys
from .fixtures import *
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("test_async.py")
if sys.version_info < (3, 4):
collect_ignore.append("test_coroutines.py")
Remove no longer necessary test ignore logic"""Configuration for test... | <commit_before>"""Configuration for test environment"""
import sys
from .fixtures import *
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("test_async.py")
if sys.version_info < (3, 4):
collect_ignore.append("test_coroutines.py")
<commit_msg>Remove no longer necessary test ignore log... |
4b3a12b39fc4fa7599f9d09ecd6d785a4ffc089d | setup.py | setup.py | from setuptools import setup
setup(name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
packages=['chro... | from setuptools import setup
setup(
name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
... | Include chrome profile in package | Include chrome profile in package
| Python | mit | tempelkim/chrome-remote-shell | from setuptools import setup
setup(name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
packages=['chro... | from setuptools import setup
setup(
name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
... | <commit_before>from setuptools import setup
setup(name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
... | from setuptools import setup
setup(
name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
... | from setuptools import setup
setup(name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
packages=['chro... | <commit_before>from setuptools import setup
setup(name='chrome_remote_shell',
version='0.1',
description='Client for remote debugging Google Chrome',
url='https://github.com/tempelkim/chrome-remote-shell',
author='Boris Kimmina',
author_email='[email protected]',
license='MIT',
... |
d4f67c1b92beaee46b38c2e5198d87076c157555 | setup.py | setup.py | """Install Wallace as a command line utility."""
from setuptools import setup
from wallace.version import __version__
setup_args = dict(
name='wallace',
version=__version__,
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
... | """Install Wallace as a command line utility."""
from setuptools import setup
setup_args = dict(
name='wallace',
version="0.7.0",
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
author_email='[email protected]',... | Fix a bug with Heroku | Fix a bug with Heroku
This is a temporary fix for an issue we were seeing with Heroku. When
you install Wallace using setuptools, it imports the version number
from inside the Wallace codebase. That triggers Wallace’s init file,
which imports the database, whose initialization depends on
SQL-Alchemy. That causes an er... | Python | mit | suchow/Wallace,suchow/Wallace,Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,Dallinger/Dallinger,Dallinger/Dallinger,berkeley-cocosci/Wallace,Dallinger/Dallinger,jcpeterson/Dallinger,berkeley-cocosci/Wallace,berkeley-cocosci/Wallace,jcpeterson/Dallinger,suchow/Wallace,Dallinger/Dallinger,jcpeterson/Dalli... | """Install Wallace as a command line utility."""
from setuptools import setup
from wallace.version import __version__
setup_args = dict(
name='wallace',
version=__version__,
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
... | """Install Wallace as a command line utility."""
from setuptools import setup
setup_args = dict(
name='wallace',
version="0.7.0",
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
author_email='[email protected]',... | <commit_before>"""Install Wallace as a command line utility."""
from setuptools import setup
from wallace.version import __version__
setup_args = dict(
name='wallace',
version=__version__,
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley... | """Install Wallace as a command line utility."""
from setuptools import setup
setup_args = dict(
name='wallace',
version="0.7.0",
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
author_email='[email protected]',... | """Install Wallace as a command line utility."""
from setuptools import setup
from wallace.version import __version__
setup_args = dict(
name='wallace',
version=__version__,
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley CoCoSci',
... | <commit_before>"""Install Wallace as a command line utility."""
from setuptools import setup
from wallace.version import __version__
setup_args = dict(
name='wallace',
version=__version__,
description='A platform for experimental evolution',
url='http://github.com/suchow/Wallace',
author='Berkeley... |
595ef34520ffd0ec9bcc0031f34dce3e68922cf7 | setup.py | setup.py | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | Change requirement to Python 3.6 | Change requirement to Python 3.6
Signed-off-by: Teodor-Dumitru Ene <[email protected]>
| Python | apache-2.0 | tdene/synth_opt_adders | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | <commit_before>from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
... | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[... | <commit_before>from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="1.2.5",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="[email protected]",
license="Apache 2.0",
... |
9b2ec353086789e5794e98db41fd2fa3b2139956 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.3',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.2',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | Fix install requirements (again ...) | Fix install requirements (again ...)
| Python | mit | ouihelp/yesaide,mozaiques/zombase | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.3',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.2',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.3',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.2',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.3',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
author_email="b... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='mozbase',
version='0.3.0beta',
packages=['mozbase'],
test_suite='tests',
install_requires=[
'SQLAlchemy==0.8.1',
'voluptuous==0.7.3',
'dogpile.cache==0.4.3'],
author='Bastien GANDOUET',
... |
c192977009c248473300b6dc5758e71ed47d73ca | setup.py | setup.py | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | Change symengine requirement to >= instead of == | Change symengine requirement to >= instead of == | Python | mit | TimeSynth/TimeSynth | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | <commit_before>from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
auth... | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
author_email='anon@... | <commit_before>from setuptools import setup
from setuptools import find_packages
setup(name='timesynth',
version='0.2.4',
description='Library for creating synthetic time series',
url='https://github.com/TimeSynth/TimeSynth',
author='Abhishek Malali, Reinier Maat, Pavlos Protopapas',
auth... |
36429980886a280f0781d9071752fbd9aad2c5a2 | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | Remove Python 2.5 from package classifiers | Remove Python 2.5 from package classifiers
| Python | isc | gears/gears-handlebars,gears/gears-handlebars | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | <commit_before>import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov',
author_e... | <commit_before>import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-handlebars',
version='0.1.2',
url='https://github.com/gears/gears-handlebars',
license='ISC',
author='Mike Yumatov... |
4dd63d8e76c65d2899e8a4f869e8c138d3493ada | setup.py | setup.py | import os
from setuptools import setup, find_packages
from hamcrest import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'PyHamcrest',
version = __version__,
author = 'Jon Reid',
author_email = '[email protected]',
description = 'H... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
import re
matched = re.match('__version__.*', read(os.path.join('hamcrest', '__init__.py')))
if matched:
exec(matched.group())
setup(
name = 'PyHamcrest',
version ... | Support python 3 installtion; need distribute | Support python 3 installtion; need distribute
| Python | bsd-3-clause | msabramo/PyHamcrest,nitishr/PyHamcrest,msabramo/PyHamcrest,nitishr/PyHamcrest | import os
from setuptools import setup, find_packages
from hamcrest import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'PyHamcrest',
version = __version__,
author = 'Jon Reid',
author_email = '[email protected]',
description = 'H... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
import re
matched = re.match('__version__.*', read(os.path.join('hamcrest', '__init__.py')))
if matched:
exec(matched.group())
setup(
name = 'PyHamcrest',
version ... | <commit_before>import os
from setuptools import setup, find_packages
from hamcrest import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'PyHamcrest',
version = __version__,
author = 'Jon Reid',
author_email = '[email protected]',
d... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
import re
matched = re.match('__version__.*', read(os.path.join('hamcrest', '__init__.py')))
if matched:
exec(matched.group())
setup(
name = 'PyHamcrest',
version ... | import os
from setuptools import setup, find_packages
from hamcrest import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'PyHamcrest',
version = __version__,
author = 'Jon Reid',
author_email = '[email protected]',
description = 'H... | <commit_before>import os
from setuptools import setup, find_packages
from hamcrest import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'PyHamcrest',
version = __version__,
author = 'Jon Reid',
author_email = '[email protected]',
d... |
3a328071535bc37bdd646403d663dd2a2a06c9af | setup.py | setup.py | import sys
if sys.version_info < (2,7,0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
from setuptools import setup, find_packages
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf@... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | Adjust OSI classifers, description and keywords. | Adjust OSI classifers, description and keywords.
- Upgrade OSI develoment status to '4 - beta'.
- Change intended audience to 'Science/Research'.
- Update description.
- Update keywords.
| Python | bsd-3-clause | csadorf/signac,csadorf/signac | import sys
if sys.version_info < (2,7,0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
from setuptools import setup, find_packages
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf@... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | <commit_before>import sys
if sys.version_info < (2,7,0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
from setuptools import setup, find_packages
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | import sys
if sys.version_info < (2,7,0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
from setuptools import setup, find_packages
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf@... | <commit_before>import sys
if sys.version_info < (2,7,0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
from setuptools import setup, find_packages
setup(
name='signac',
version='0.2.8',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_... |
9c6f27465fea5303ee167d7da5e648ef9f0c0e47 | setup.py | setup.py | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
author = 'OpenSlide project',
author... | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
maintainer = 'OpenSlide project',
ma... | Use package maintainer rather than author | Use package maintainer rather than author
| Python | lgpl-2.1 | openslide/openslide-python,openslide/openslide-python | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
author = 'OpenSlide project',
author... | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
maintainer = 'OpenSlide project',
ma... | <commit_before>from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
author = 'OpenSlide proje... | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
maintainer = 'OpenSlide project',
ma... | from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
author = 'OpenSlide project',
author... | <commit_before>from distutils.core import setup
import os
# Load version string
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
exec open(_verfile)
setup(
name = 'openslide-python',
version = __version__,
packages = [
'openslide',
],
author = 'OpenSlide proje... |
e19487f21d2de5edeaa2edbb295c43d140797310 | tapioca_harvest/tapioca_harvest.py | tapioca_harvest/tapioca_harvest.py | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | Correct header params on adapter | Correct header params on adapter
| Python | mit | vintasoftware/tapioca-harvest | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | <commit_before># coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
... | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | # coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
api_root = 'ht... | <commit_before># coding: utf-8
from tapioca import (
TapiocaAdapter, generate_wrapper_from_adapter, JSONAdapterMixin)
from requests.auth import HTTPBasicAuth
from .resource_mapping import RESOURCE_MAPPING
class HarvestClientAdapter(JSONAdapterMixin, TapiocaAdapter):
resource_mapping = RESOURCE_MAPPING
... |
bc0aa4d8793857e2c7b43a6cbba6c1c89f3adead | backend/web/test_settings.py | backend/web/test_settings.py | import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
THUMBNAIL_ROOT = str(Path(CACHE_DIR) / 'thumbnails')
| import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
PHOTO_RAW_PROCESSED_DIR = str(Path(DATA_DIR) / 'raw-photos-processed')
THUMBNAIL_ROO... | Test settings to include PHOTO_RAW_PROCESSED_DIR | Test settings to include PHOTO_RAW_PROCESSED_DIR
| Python | agpl-3.0 | damianmoore/photo-manager,damianmoore/photo-manager,damianmoore/photo-manager,damianmoore/photo-manager | import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
THUMBNAIL_ROOT = str(Path(CACHE_DIR) / 'thumbnails')
Test settings to include PHOTO_... | import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
PHOTO_RAW_PROCESSED_DIR = str(Path(DATA_DIR) / 'raw-photos-processed')
THUMBNAIL_ROO... | <commit_before>import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
THUMBNAIL_ROOT = str(Path(CACHE_DIR) / 'thumbnails')
<commit_msg>Test... | import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
PHOTO_RAW_PROCESSED_DIR = str(Path(DATA_DIR) / 'raw-photos-processed')
THUMBNAIL_ROO... | import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
THUMBNAIL_ROOT = str(Path(CACHE_DIR) / 'thumbnails')
Test settings to include PHOTO_... | <commit_before>import tempfile
from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
DATA_DIR = tempfile.mkdtemp()
CACHE_DIR = str(Path(DATA_DIR) / 'cache')
THUMBNAIL_ROOT = str(Path(CACHE_DIR) / 'thumbnails')
<commit_msg>Test... |
94ad4814f6e372374398a93db8a32ffd980a76d6 | battle-bots/markus_brains.py | battle-bots/markus_brains.py | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | Reduce speed of ZigBrain accelleration & test github web interface | Reduce speed of ZigBrain accelleration & test github web interface | Python | bsd-2-clause | FGCSchool-Math-Club/fgcs-math-club-2014 | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | <commit_before>class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def... | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def on_collision(s... | <commit_before>class WanderBrain(CritterBrain):
def on_collision(self,dir,other,senses):
pass
def on_attack(self,dir,attacker,senses):
pass
def on_tick(self,senses):
self.body.turn(uniform(-0.1,+0.1)*randrange(1,4))
Brains.register(WanderBrain)
class ZigBrain(CritterBrain):
def... |
608a1b4c546fba8f79a30b0ed8d0629aa97d1489 | test/features/test_create_pages.py | test/features/test_create_pages.py | from hamcrest import *
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending.html")
assert_that(self.browser.find_by_css('h1').text, is_('High-volume ... | from hamcrest import *
from nose.tools import nottest
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending")
assert_that(self.browser.find_by_css('h1... | Disable test for html not generated by this branch | Disable test for html not generated by this branch
(Also remove .html from urls)
| Python | mit | gds-attic/transactions-explorer,alphagov/transactions-explorer,gds-attic/transactions-explorer,gds-attic/transactions-explorer,alphagov/transactions-explorer,alphagov/transactions-explorer,alphagov/transactions-explorer,gds-attic/transactions-explorer,alphagov/transactions-explorer,gds-attic/transactions-explorer | from hamcrest import *
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending.html")
assert_that(self.browser.find_by_css('h1').text, is_('High-volume ... | from hamcrest import *
from nose.tools import nottest
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending")
assert_that(self.browser.find_by_css('h1... | <commit_before>from hamcrest import *
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending.html")
assert_that(self.browser.find_by_css('h1').text, is... | from hamcrest import *
from nose.tools import nottest
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending")
assert_that(self.browser.find_by_css('h1... | from hamcrest import *
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending.html")
assert_that(self.browser.find_by_css('h1').text, is_('High-volume ... | <commit_before>from hamcrest import *
from test.features import BrowserTest
class test_create_pages(BrowserTest):
def test_about_page(self):
self.browser.visit("http://0.0.0.0:8000/high-volume-services/by-transactions-per-year/descending.html")
assert_that(self.browser.find_by_css('h1').text, is... |
8a2371a74c27de5e74796d3544670dcc066ce04a | sasview/__init__.py | sasview/__init__.py | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | Clean up un-needed commented line after jkrzywon fixed subprocess bad behaviour | Clean up un-needed commented line after jkrzywon fixed subprocess bad behaviour
| Python | bsd-3-clause | SasView/sasview,SasView/sasview,SasView/sasview,SasView/sasview,SasView/sasview,SasView/sasview | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | <commit_before>__version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_rev... | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | __version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_revision = subproc... | <commit_before>__version__ = "4.0b1"
__build__ = "GIT_COMMIT"
try:
import logging
import subprocess
import os
import platform
FNULL = open(os.devnull, 'w')
if platform.system() == "Windows":
args = ['git', 'describe', '--tags']
else:
args = ['git describe --tags']
git_rev... |
989efc46c1d39804ee5997d85455853db5965788 | ckanext/requestdata/controllers/request_data.py | ckanext/requestdata/controllers/request_data.py | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | Return exception as error message | Return exception as error message
| Python | agpl-3.0 | ViderumGlobal/ckanext-requestdata,ViderumGlobal/ckanext-requestdata,ViderumGlobal/ckanext-requestdata,ViderumGlobal/ckanext-requestdata | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | <commit_before>from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthoriz... | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthorized
ValidationEr... | <commit_before>from ckan.lib import base
from ckan.common import c, _
from ckan import logic
from ckanext.requestdata import emailer
from ckan.plugins import toolkit
import ckan.model as model
import ckan.plugins as p
import json
get_action = logic.get_action
NotFound = logic.NotFound
NotAuthorized = logic.NotAuthoriz... |
a0d007d0135f74faa10c9df1cd29320e32d317b3 | codonpdx/insert.py | codonpdx/insert.py | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
if hasattr(args, 'json'):
data = json.loads(args.json)
else:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
try:
data = json.loads(args.json)
except AttributeError:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | Use exception block instead as exception was still being thrown. | Use exception block instead as exception was still being thrown.
| Python | apache-2.0 | PDX-Flamingo/codonpdx-python,PDX-Flamingo/codonpdx-python | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
if hasattr(args, 'json'):
data = json.loads(args.json)
else:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
try:
data = json.loads(args.json)
except AttributeError:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | <commit_before>#!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
if hasattr(args, 'json'):
data = json.loads(args.json)
else:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for o... | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
try:
data = json.loads(args.json)
except AttributeError:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | #!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
if hasattr(args, 'json'):
data = json.loads(args.json)
else:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for org in data:
... | <commit_before>#!/usr/bin/env python
import json
import sys
from db import dbManager
# insert an organism into a database table
def insert(args):
if hasattr(args, 'json'):
data = json.loads(args.json)
else:
data = json.load(args.infile)
with dbManager('config/db.cfg') as db:
for o... |
9567e79a5a5925b23a33c5216a9c13edf656151d | test/test_modes/test_backspace.py | test/test_modes/test_backspace.py | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | Reduce test backspace, we just need to ensure it really eats tab_len spaces | Reduce test backspace, we just need to ensure it really eats tab_len spaces
| Python | mit | pyQode/pyqode.core,pyQode/pyqode.core,zwadar/pyqode.core | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | <commit_before>from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
... | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
assert mode.... | <commit_before>from pyqode.qt import QtCore
from pyqode.qt.QtTest import QTest
from pyqode.core.api import TextHelper
from pyqode.core import modes
from test.helpers import editor_open
def get_mode(editor):
return editor.modes.get(modes.SmartBackSpaceMode)
def test_enabled(editor):
mode = get_mode(editor)
... |
5f8242e8f414ab4460db116d0bb1fe3fb54a8794 | assisstant/main.py | assisstant/main.py | #!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
| #!/usr/bin/env python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
| Use the python in virtualenv instead of global one | Use the python in virtualenv instead of global one
| Python | apache-2.0 | brainbots/assistant | #!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
Use the python in virtualenv instead of global one | #!/usr/bin/env python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
| <commit_before>#!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
<commit_msg>Use the python in virtualenv instead of global... | #!/usr/bin/env python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
| #!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
Use the python in virtualenv instead of global one#!/usr/bin/env python3
... | <commit_before>#!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow
if __name__ == '__main__':
app = QApplication([])
window = KeyboardWindow()
window.showMaximized()
sys.exit(app.exec())
<commit_msg>Use the python in virtualenv instead of global... |
2f6b60bc6b54229525e399e4cfdee85b9581d32a | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | Add celery and ghettoq, getting started with asynchronous process. | Add celery and ghettoq, getting started with asynchronous process.
| Python | agpl-3.0 | fajran/gerobak,fajran/gerobak | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | <commit_before>from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': ... | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': 'src'},
ins... | <commit_before>from setuptools import setup, find_packages
setup(
name = "gerobak",
version = "0.1.0",
url = 'http://gerobak.dahsy.at/',
license = 'AGPL',
description = 'Gerobak - bukan apt-web kaleee!',
author = 'Fajran Iman Rusadi',
packages = find_packages('src'),
package_dir = {'': ... |
2618e62c210e2877600229301cf46428db04301d | tests/test_playalbum/test_query.py | tests/test_playalbum/test_query.py | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | Update test_partial test to be stringly a 'contains' test | Update test_partial test to be stringly a 'contains' test
The current test could inadvertently pass if the album name *ends with*
the query.
| Python | mit | caleb531/play-song,caleb531/play-song | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | <commit_before>#!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.asser... | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | #!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.assert_equal(results... | <commit_before>#!/usr/bin/env python
# coding=utf-8
from __future__ import print_function, unicode_literals
import nose.tools as nose
from tests.utils import run_filter
def test_ignore_case():
"""should ignore case when querying albums"""
results = run_filter('playalbum', 'Please PLEASE me')
nose.asser... |
d28c20cf334002cad05534fdd3d0604c521f59b7 | setup.py | setup.py | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | Allow newer versions of click | Allow newer versions of click
| Python | mit | pmazurek/aws-fuzzy-finder | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | <commit_before>from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
aut... | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
author='Piotr Mazu... | <commit_before>from setuptools import setup
setup(
name='aws-fuzzy-finder',
version='1.0.0',
url='https://github.com/pmazurek/aws-fuzzy-finder',
description='SSH into AWS instances using fuzzy search through tags.',
download_url='https://github.com/pmazurek/aws-fuzzy-finder/tarball/v1.0.0',
aut... |
1dc11a6959616dbb0ff2bd3266223d0584bfa704 | opps/core/tests/channel_models.py | opps/core/tests/channel_models.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | Rename test check channel home to check create home | Rename test check channel home to check create home
| Python | mit | YACOWS/opps,YACOWS/opps,williamroot/opps,jeanmask/opps,YACOWS/opps,jeanmask/opps,jeanmask/opps,williamroot/opps,opps/opps,YACOWS/opps,jeanmask/opps,williamroot/opps,opps/opps,williamroot/opps,opps/opps,opps/opps | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
s... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
self.channel = C... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.test import TestCase
from django.contrib.sites.models import Site
from opps.core.models.channel import Channel
class ChannelModelTest(TestCase):
def setUp(self):
self.site = Site.objects.filter(name=u'example.com').get()
s... |
eed4ea2d787cf4cf07ec9d5a95b27f2c352f271a | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
| from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['git+git://github.com/bartvm/blocks.git#egg=blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
| Add Git link instead of name | Add Git link instead of name
| Python | mit | vdumoulin/blocks-contrib | from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
Add Git link instead of name | from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['git+git://github.com/bartvm/blocks.git#egg=blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
| <commit_before>from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
<commit_msg>Add Git link instead of name<commit_after> | from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['git+git://github.com/bartvm/blocks.git#egg=blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
| from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
Add Git link instead of namefrom setuptools import find_packages, setup
setup(
name='blocks.contri... | <commit_before>from setuptools import find_packages, setup
setup(
name='blocks.contrib',
namespace_packages=['blocks'],
install_requires=['blocks'],
packages=find_packages(exclude=['examples']),
zip_safe=False)
<commit_msg>Add Git link instead of name<commit_after>from setuptools import find_packag... |
e3e2a6127c709982a716456206df08388b83c0b0 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | Make is so that the pupa command can run | Make is so that the pupa command can run
| Python | bsd-3-clause | mileswwatkins/pupa,rshorey/pupa,influence-usa/pupa,datamade/pupa,datamade/pupa,influence-usa/pupa,opencivicdata/pupa,rshorey/pupa,mileswwatkins/pupa,opencivicdata/pupa | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url='http://github... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from pupa import __version__
long_description = ''
setup(name='pupa',
version=__version__,
packages=find_packages(),
author='James Turk',
author_email='[email protected]',
license='BSD',
url... |
d7bdfebd137f92177976c13027ae0579bf61a71c | setup.py | setup.py | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | Remove Python 2.5 from trove classifiers | Remove Python 2.5 from trove classifiers
Despite the fact that Django 1.4 supports Python 2.5, we cannot test for it on Travis-CI. Will need to update the PyPi release to v0.4 to fix completely. | Python | mit | michaeljohnbarr/django-timezone-utils | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | <commit_before># coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
... | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | # coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
)
).read... | <commit_before># coding: utf-8
from setuptools import setup
import os
version = __import__('timezone_utils').VERSION
setup(
name='django-timezone-utils',
version=version,
description='',
long_description=open(
os.path.join(
os.path.dirname(__file__),
"README.rst"
... |
aa9829567f65c36c5c7356aa5e7d6ac1762f62aa | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://git.barrera.io/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points... | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://gitlab.com/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points={
... | Update URL to current point to gitlab.com | Update URL to current point to gitlab.com
| Python | isc | AnubhaAgrawal/todoman,asalminen/todoman,hobarrera/todoman,pimutils/todoman,Sakshisaraswat/todoman,rimshaakhan/todoman | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://git.barrera.io/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points... | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://gitlab.com/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points={
... | <commit_before>#!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://git.barrera.io/hobarrera/todoman',
license='MIT',
packages=['todoman'],
... | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://gitlab.com/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points={
... | #!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://git.barrera.io/hobarrera/todoman',
license='MIT',
packages=['todoman'],
entry_points... | <commit_before>#!/usr/bin/env python3
from setuptools import setup
setup(
name='todoman',
description='A simple CalDav-based todo manager.',
author='Hugo Osvaldo Barrera',
author_email='[email protected]',
url='https://git.barrera.io/hobarrera/todoman',
license='MIT',
packages=['todoman'],
... |
df90163e41633769c749401bfe175cc66da7eb27 | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | Bump version numbers of ppp_datamodel and ppp_core. | Bump version numbers of ppp_datamodel and ppp_core.
| Python | mit | ProjetPP/PPP-QuestionParsing-ML-Standalone,ProjetPP/PPP-QuestionParsing-ML-Standalone | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='quentin.cormier@... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='[email protected]',
... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_nlp_ml_standalone',
version='0.1',
description='Compute triplets from a question, with an ML approach',
url='https://github.com/ProjetPP',
author='Quentin Cormier',
author_email='quentin.cormier@... |
47be6e5d55f3891d1051efd6c29559f569128c04 | setup.py | setup.py | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=[
"git+ht... | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=['https://github.... | Use tarball download for github dependency | Use tarball download for github dependency
| Python | mit | otype/aws-helpers,otype/aws-helpers | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=[
"git+ht... | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=['https://github.... | <commit_before>from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=[
... | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=['https://github.... | from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=[
"git+ht... | <commit_before>from setuptools import setup
setup(
name='aws-helpers',
description='Set of AWS helper scripts',
url='https://github.com/otype/aws-helpers',
author='Hans-Gunther Schmidt',
author_email='[email protected]',
version='0.1',
install_requires=['awscli', 'boto'],
dependency_links=[
... |
c133da4e7bd64143551e750762a3079b7761706e | setup.py | setup.py | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | Disable Python 3 conversion until it's been tested. | Disable Python 3 conversion until it's been tested.
| Python | isc | whilp/stacklogger | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | <commit_before>import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptool... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | <commit_before>import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptool... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.