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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
751aecfae754a555aad15fe1771bbf209de00c9c | setup.py | setup.py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | Change the name to match the repo | Change the name to match the repo
And decent naming conventions, underscores are yuck for names :p
| Python | mit | gaqzi/py-gocd-cli,gaqzi/gocd-cli | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | <commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
Test... | <commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self... |
2ac7469e6ebee4b85851da7eb5fd0325ea7a97e4 | setup.py | setup.py | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_rst):
long_description = open(readme_rst).read()
else:
long_description = "This module provides a few... | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
# readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
# if os.path.exists(readme_rst):
# long_description = open(readme_rst).read()
# else:
long_description = "This module provides a... | Comment long_description read, because it cause exception | Comment long_description read, because it cause exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 424
| Python | mit | erdem/django-map-widgets,erdem/django-map-widgets,erdem/django-map-widgets,erdem/django-map-widgets | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_rst):
long_description = open(readme_rst).read()
else:
long_description = "This module provides a few... | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
# readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
# if os.path.exists(readme_rst):
# long_description = open(readme_rst).read()
# else:
long_description = "This module provides a... | <commit_before>import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_rst):
long_description = open(readme_rst).read()
else:
long_description = "This module... | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
# readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
# if os.path.exists(readme_rst):
# long_description = open(readme_rst).read()
# else:
long_description = "This module provides a... | import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_rst):
long_description = open(readme_rst).read()
else:
long_description = "This module provides a few... | <commit_before>import os
from setuptools import setup, find_packages
VERSION = (0, 1, 7)
__version__ = '.'.join(map(str, VERSION))
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_rst):
long_description = open(readme_rst).read()
else:
long_description = "This module... |
51f32076e8708c55420989b660323cdfd9fc6650 | cycy/interpreter.py | cycy/interpreter.py | from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
print "Hello, world!"
return
bytecode = compiler.Context.to_bytecode(parse(source.getContent()))
... | from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
bytecode = compiler.Context.to_bytecode(parse(source))
CyCy().run(bytecode)
| Break the tests to show us we're not writing RPython. | Break the tests to show us we're not writing RPython.
| Python | mit | Magnetic/cycy,Magnetic/cycy,Magnetic/cycy | from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
print "Hello, world!"
return
bytecode = compiler.Context.to_bytecode(parse(source.getContent()))
... | from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
bytecode = compiler.Context.to_bytecode(parse(source))
CyCy().run(bytecode)
| <commit_before>from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
print "Hello, world!"
return
bytecode = compiler.Context.to_bytecode(parse(source.getC... | from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
bytecode = compiler.Context.to_bytecode(parse(source))
CyCy().run(bytecode)
| from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
print "Hello, world!"
return
bytecode = compiler.Context.to_bytecode(parse(source.getContent()))
... | <commit_before>from cycy import compiler
from cycy.parser.sourceparser import parse
class CyCy(object):
"""
The main CyCy interpreter.
"""
def run(self, bytecode):
pass
def interpret(source):
print "Hello, world!"
return
bytecode = compiler.Context.to_bytecode(parse(source.getC... |
bf8d19cd1258de8080713f7155f7a6607504ec18 | setup.py | setup.py | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | Update tweepy version in install_requires | Update tweepy version in install_requires
| Python | mit | truthy/botornot-python | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | <commit_before>from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davi... | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davis',
autho... | <commit_before>from setuptools import setup
setup(name='botometer',
version='1.0',
description='Check Twitter accounts for bot behavior',
url='https://github.com/IUNetSci/botometer-python',
download_url='https://github.com/IUNetSci/botometer-python/archive/1.0.zip',
author='Clayton A Davi... |
1a892b9d9ee2121241a43d7d0af772dfbb5d08e1 | setup.py | setup.py | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | Fix dash in author email | Fix dash in author email
| Python | mit | penzance/canvas_python_sdk | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | <commit_before>import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | <commit_before>import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
... |
e3cdb622671eb817b62bf2acfc99b75c0f4ed351 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | Add classifiers for Django versions. | Add classifiers for Django versions.
| Python | mit | zlorf/django-synchro,zlorf/django-synchro | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com'... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com',
url='http... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-synchro',
description='Django app for database data synchronization.',
long_description=open('README.rst').read(),
version='0.6',
author='Jacek Tomaszewski',
author_email='jacek.tomek@gmail.com'... |
d272b9a080eeb3b9459ab2c9c5d615694cfe620b | setup.py | setup.py | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | Use support address for author email | Use support address for author email
| Python | mit | laterpay/laterpay-client-python | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | <commit_before># -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
descript... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay A... | <commit_before># -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import time
_version = "2.9.dev%s" % int(time.time())
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
descript... |
eb6286a4b2b877192ec42614fbb344fdb170f3e3 | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | Add ucldc-iiif repo as a dependency. | Add ucldc-iiif repo as a dependency.
| Python | bsd-3-clause | barbarahui/nuxeo-calisphere,barbarahui/nuxeo-calisphere | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version =... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version = "0.0.3",
d... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).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 = "UCLDC Deep Harvester",
version =... |
a22d36688995ec798628238f716dd7852b7af0a2 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | Make sure the tifffile.py is installed. | Make sure the tifffile.py is installed.
| Python | bsd-3-clause | blink1073/vidsrc,blink1073/vidsrc | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='ti... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
ve... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
with open('README.rst') as f:
readme = f.read()
with open('tifffile.py') as f:
text = f.read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='ti... |
3cc434bf4bbed3239e08780fc3cbc6d5bf5823cb | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | Add Python language compatibility classifiers | Add Python language compatibility classifiers
| Python | mit | 0compute/xtraceback,g2p/xtraceback | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = ... | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | #!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = open(os.path.jo... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
# under test we do not want the nose entry point
if "XTRACEBACK_NO_NOSE" in os.environ:
entry_points = None
else:
entry_points = {
"nose.plugins": ("xtraceback=xtraceback.nosextraceback:NoseXTraceback",),
}
README = ... |
e0a15a818d91a547c6b61044adc07d79b33d9394 | setup.py | setup.py | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | Exclude test_project from installation so it won't pollute site-packages. | Exclude test_project from installation so it won't pollute site-packages. | Python | bsd-3-clause | zerok/django-flatblocks,zerok/django-flatblocks,funkybob/django-flatblocks,danirus/django-flatblocks-xtd,funkybob/django-flatblocks,danirus/django-flatblocks-xtd | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | <commit_before>try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages ... | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages but '
... | <commit_before>try:
from setuptools import setup, find_packages
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'django-flatblocks',
version = '0.3.5',
description = 'django-flatblocks acts like django.contrib.flatpages ... |
b3c4ca9826ffb71194b94a78cd32998138d033ef | setup.py | setup.py | import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description="Bash linting tool",
long_description="Simple Bash linting tool written in Python.",
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://github.com/skudr... | import codecs
import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description='Bash linting tool',
long_description=codecs.open('README.rst', 'r', 'utf-8').read(),
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://... | Add README content to long description | Add README content to long description
| Python | mit | skudriashev/bashlint | import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description="Bash linting tool",
long_description="Simple Bash linting tool written in Python.",
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://github.com/skudr... | import codecs
import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description='Bash linting tool',
long_description=codecs.open('README.rst', 'r', 'utf-8').read(),
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://... | <commit_before>import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description="Bash linting tool",
long_description="Simple Bash linting tool written in Python.",
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://g... | import codecs
import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description='Bash linting tool',
long_description=codecs.open('README.rst', 'r', 'utf-8').read(),
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://... | import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description="Bash linting tool",
long_description="Simple Bash linting tool written in Python.",
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://github.com/skudr... | <commit_before>import setuptools
setuptools.setup(
name='bashlint',
version='0.0.1',
description="Bash linting tool",
long_description="Simple Bash linting tool written in Python.",
keywords='bash',
author='Stanislav Kudriashev',
author_email='stas.kudriashev@gmail.com',
url='https://g... |
d1171195e771b3de4a40c3773d10f5d0837da2b2 | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | Adjust version number to match other deliveries | Adjust version number to match other deliveries
Set version from 2.7 to 2012.1 to match the other OpenStack
Keystone deliveries (python-keystoneclient will be released
as part of Keystone 2012.1~e3). Also adjusted the location
of the git repository to match new location. Fixes bug 917656.
Change-Id: I4d8d071e3cdc5665... | Python | apache-2.0 | citrix-openstack-build/python-keystoneclient,Mercador/python-keystoneclient,sdpp/python-keystoneclient,jamielennox/python-keystoneclient,ntt-sic/python-keystoneclient,klmitch/python-keystoneclient,jamielennox/python-keystoneclient,dolph/python-keystoneclient,Mercador/python-keystoneclient,dolph/python-keystoneclient,ja... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | <commit_before>import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | <commit_before>import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python... |
5889fa354ff987e872ff87dda5bbf667759a4129 | setup.py | setup.py | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | Fix the depends argument of the C Extension | Fix the depends argument of the C Extension
| Python | apache-2.0 | MSeifert04/iteration_utilities,MSeifert04/iteration_utilities,MSeifert04/iteration_utilities,MSeifert04/iteration_utilities | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | <commit_before>from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_ite... | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_iteration_utilitie... | <commit_before>from setuptools import setup, Extension, find_packages
from glob import glob
from os import path
import sys
def version():
with open('src/iteration_utilities/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.split(r"'")[1]
_ite... |
8cdf631d8f3c817e75c2c02218ae60635b49951c | setup.py | setup.py | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | Increase version and switch location to new upstream. | Increase version and switch location to new upstream.
| Python | bsd-3-clause | pjdelport/django-money,AlexRiina/django-money,tsouvarev/django-money,iXioN/django-money,rescale/django-money,recklessromeo/django-money,iXioN/django-money,tsouvarev/django-money,recklessromeo/django-money | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | <commit_before>from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
... | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"updat... | <commit_before>from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
... |
a134bdbe2677fdc5a9c7d6408ea021b8e981098b | qtawesome/tests/test_qtawesome.py | qtawesome/tests/test_qtawesome.py | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | Add more details in the test docstring. | Add more details in the test docstring.
| Python | mit | spyder-ide/qtawesome | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | <commit_before>r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subp... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subprocess.call('py... | <commit_before>r"""
Tests for QtAwesome.
"""
# Standard library imports
import sys
import subprocess
# Test Library imports
import pytest
# Local imports
import qtawesome as qta
from qtawesome.iconic_font import IconicFont
from PyQt5.QtWidgets import QApplication
def test_segfault_import():
output_number = subp... |
a4e8347ccf34fa0cc42740e9ad45afe037dec5f6 | app.py | app.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import default_app, request, route, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import template, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
@get("/")
def ind... | Add GA tag to / | Add GA tag to /
| Python | mit | oinume/dmm-eikaiwa-tsc,oinume/dmm-eikaiwa-tsc | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import default_app, request, route, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import template, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
@get("/")
def ind... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import default_app, request, route, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0",... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import template, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
@get("/")
def ind... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import default_app, request, route, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0", port=argv[1])
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from sys import argv
import bottle
from bottle import default_app, request, route, response, get
from tsc.models import DB
bottle.debug(True)
application = bottle.default_app()
if __name__ == "__main__":
bottle.run(application, host="0.0.0.0",... |
5982e5a4f0bb7f47e604aea2c851ba50bcbe07e1 | hexify.py | hexify.py | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | Add runtime and minify support | Add runtime and minify support
Added command line arguments for runtime and minify.
| Python | mit | ntoll/uflash | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | <commit_before>import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""... | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""
def main(arg... | <commit_before>import uflash
import argparse
import sys
import os
_HELP_TEXT = """
A simple utility script intended for creating hexified versions of MicroPython
scripts on the local filesystem _NOT_ the microbit. Does not autodetect a
microbit. Accepts multiple input scripts and optionally one output directory.
"""... |
ee2bd9191bb10a31c0eb688cbddaaa8fedba68a7 | IPython/html/terminal/handlers.py | IPython/html/terminal/handlers.py | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | Add authentication for terminal websockets | Add authentication for terminal websockets
| Python | bsd-3-clause | ipython/ipython,ipython/ipython | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | <commit_before>"""Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal i... | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | """Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal interface."""
... | <commit_before>"""Tornado handlers for the terminal emulator."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from tornado import web
import terminado
from ..base.handlers import IPythonHandler
class TerminalHandler(IPythonHandler):
"""Render the terminal i... |
670f589758ba5eb12df4cf1ea40eab7e7fb13a2f | python_scripts/mc_solr.py | python_scripts/mc_solr.py | import requests
import ipdb
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, para... | import requests
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, params):
url... | Remove ipdb to get rid of spam warnings. | Remove ipdb to get rid of spam warnings.
| Python | agpl-3.0 | AchyuthIIIT/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,AchyuthIIIT... | import requests
import ipdb
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, para... | import requests
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, params):
url... | <commit_before>import requests
import ipdb
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_requ... | import requests
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, params):
url... | import requests
import ipdb
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_request( path, para... | <commit_before>import requests
import ipdb
import mc_config
import psycopg2
import psycopg2.extras
import time
def get_solr_location():
##TODO -- get this from the yaml file
return 'http://localhost:8983'
def get_solr_collection_url_prefix():
return get_solr_location() + '/solr/collection1'
def solr_requ... |
6a0186eb0d0e822dded1e58d0381625ded887221 | serfnode/handler/parent_server.py | serfnode/handler/parent_server.py | #!/usr/bin/env python
import os
import select
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)
# open ... | #!/usr/bin/env python
import os
import select
import json
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)... | Make parent server more robust | Make parent server more robust
| Python | mit | waltermoreira/serfnode,waltermoreira/serfnode,waltermoreira/serfnode | #!/usr/bin/env python
import os
import select
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)
# open ... | #!/usr/bin/env python
import os
import select
import json
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)... | <commit_before>#!/usr/bin/env python
import os
import select
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r',... | #!/usr/bin/env python
import os
import select
import json
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)... | #!/usr/bin/env python
import os
import select
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r', 0)
# open ... | <commit_before>#!/usr/bin/env python
import os
import select
import serf
def server():
"""A server for serf commands.
Commands are a string object that are passed to serf.
"""
os.mkfifo('/serfnode/parent')
pipe = os.fdopen(
os.open('/serfnode/parent', os.O_RDONLY | os.O_NONBLOCK), 'r',... |
058cee7b5a3efcf6b6bd02a314f1223153cc797f | tools/TreeBest/fasta_header_converter.py | tools/TreeBest/fasta_header_converter.py | import json
import optparse
transcript_species_dict = dict()
sequence_dict = dict()
def readgene(gene):
for transcript in gene['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", "")
def read_fasta(fp):
for line in fp:
line = line.rstrip()
... | from __future__ import print_function
import json
import optparse
def read_gene_info(gene_info):
transcript_species_dict = dict()
for gene_dict in gene_info.values():
for transcript in gene_dict['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", ... | Use print() for Python3. No global variables. Optimisations | Use print() for Python3. No global variables. Optimisations
| Python | mit | TGAC/earlham-galaxytools,PerlaTroncosoRey/tgac-galaxytools,TGAC/tgac-galaxytools,anilthanki/tgac-galaxytools,TGAC/earlham-galaxytools,anilthanki/tgac-galaxytools,TGAC/earlham-galaxytools,wjurkowski/earlham-galaxytools,anilthanki/tgac-galaxytools,anilthanki/tgac-galaxytools,TGAC/earlham-galaxytools,anilthanki/tgac-galax... | import json
import optparse
transcript_species_dict = dict()
sequence_dict = dict()
def readgene(gene):
for transcript in gene['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", "")
def read_fasta(fp):
for line in fp:
line = line.rstrip()
... | from __future__ import print_function
import json
import optparse
def read_gene_info(gene_info):
transcript_species_dict = dict()
for gene_dict in gene_info.values():
for transcript in gene_dict['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", ... | <commit_before>import json
import optparse
transcript_species_dict = dict()
sequence_dict = dict()
def readgene(gene):
for transcript in gene['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", "")
def read_fasta(fp):
for line in fp:
line = line.r... | from __future__ import print_function
import json
import optparse
def read_gene_info(gene_info):
transcript_species_dict = dict()
for gene_dict in gene_info.values():
for transcript in gene_dict['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", ... | import json
import optparse
transcript_species_dict = dict()
sequence_dict = dict()
def readgene(gene):
for transcript in gene['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", "")
def read_fasta(fp):
for line in fp:
line = line.rstrip()
... | <commit_before>import json
import optparse
transcript_species_dict = dict()
sequence_dict = dict()
def readgene(gene):
for transcript in gene['Transcript']:
transcript_species_dict[transcript['id']] = transcript['species'].replace("_", "")
def read_fasta(fp):
for line in fp:
line = line.r... |
44b23909e262f20ebe7492fffbf1f89839d51d2f | ckanext/opendatani/dcat.py | ckanext/opendatani/dcat.py | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | Tweak WMS resource format so views are created | Tweak WMS resource format so views are created
| Python | agpl-3.0 | okfn/ckanext-opendatani,okfn/ckanext-opendatani,okfn/ckanext-opendatani,okfn/ckanext-opendatani | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | <commit_before>from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
... | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
#TODO: if... | <commit_before>from rdflib.namespace import Namespace
from ckanext.dcat.profiles import RDFProfile
DCT = Namespace("http://purl.org/dc/terms/")
class NIArcGISProfile(RDFProfile):
'''
An RDF profile for the Northern Ireland ArcGIS harvester
'''
def parse_dataset(self, dataset_dict, dataset_ref):
... |
46982bbb4c8c74aece4b80fdbdcf3d5ee1d75ac9 | Lib/email/Iterators.py | Lib/email/Iterators.py | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | Swap fp and level arguments. | _structure(): Swap fp and level arguments.
| Python | mit | sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | <commit_before># Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
... | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | # Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
from email.... | <commit_before># Copyright (C) 2001,2002 Python Software Foundation
# Author: barry@zope.com (Barry Warsaw)
"""Various types of useful iterators and generators.
"""
import sys
try:
from email._compat22 import body_line_iterator, typed_subpart_iterator
except SyntaxError:
# Python 2.1 doesn't have generators
... |
012bd4e09c7ed08ff79ce039a9682a5249fef1fc | plugins/clue/clue.py | plugins/clue/clue.py | from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['... | from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['channel'])]
)
| Allow stony to talk in channels other than direct-message channels. | Allow stony to talk in channels other than direct-message channels.
A direct-message channel identifier always starts with the character
'D', (while other channels have identifiers that start with 'C'). By
lifting the restriction of the channel name starting with "D", stony
can now talk in any channel.
Note: There's ... | Python | mit | cworth-gh/stony | from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['... | from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['channel'])]
)
| <commit_before>from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data[... | from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['channel'])]
)
| from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['... | <commit_before>from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data[... |
c8d2d6a4eace2107639badd17983e048dc9259e5 | mfh.py | mfh.py | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
def main():
q = Event()
mfhclient_process = Process(
args=(args, q,),
name="mfhclient_process",
target=mfhclient.main,
)
mfhclient_process... | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
from settings import HONEYPORT
def main():
update_event = Event()
mfhclient_process = Process(
args=(args, update_event,),
name="mfhclient_process",
t... | Add condition to only launch client if -c or --client is specified | Add condition to only launch client if -c or --client is specified
| Python | mit | Zloool/manyfaced-honeypot | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
def main():
q = Event()
mfhclient_process = Process(
args=(args, q,),
name="mfhclient_process",
target=mfhclient.main,
)
mfhclient_process... | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
from settings import HONEYPORT
def main():
update_event = Event()
mfhclient_process = Process(
args=(args, update_event,),
name="mfhclient_process",
t... | <commit_before>import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
def main():
q = Event()
mfhclient_process = Process(
args=(args, q,),
name="mfhclient_process",
target=mfhclient.main,
)
mf... | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
from settings import HONEYPORT
def main():
update_event = Event()
mfhclient_process = Process(
args=(args, update_event,),
name="mfhclient_process",
t... | import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
def main():
q = Event()
mfhclient_process = Process(
args=(args, q,),
name="mfhclient_process",
target=mfhclient.main,
)
mfhclient_process... | <commit_before>import os
import sys
import time
from multiprocessing import Process, Event
import mfhclient
import update
from arguments import parse
def main():
q = Event()
mfhclient_process = Process(
args=(args, q,),
name="mfhclient_process",
target=mfhclient.main,
)
mf... |
cba1a165bdfef3c8bd95c0b5864aee811fbc55b3 | myfedora/plugins/apps/tools/profileinfo.py | myfedora/plugins/apps/tools/profileinfo.py | from myfedora.widgets.resourceview import ToolWidget
from fedora.tg.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.... | from myfedora.widgets.resourceview import ToolWidget
from fedora.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.pro... | Fix a deprecation warning from python-fedora | Fix a deprecation warning from python-fedora
| Python | agpl-3.0 | Fale/fedora-packages,Fale/fedora-packages,fedora-infra/fedora-packages,fedora-infra/fedora-packages,fedora-infra/fedora-packages,Fale/fedora-packages,fedora-infra/fedora-packages | from myfedora.widgets.resourceview import ToolWidget
from fedora.tg.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.... | from myfedora.widgets.resourceview import ToolWidget
from fedora.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.pro... | <commit_before>from myfedora.widgets.resourceview import ToolWidget
from fedora.tg.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.t... | from myfedora.widgets.resourceview import ToolWidget
from fedora.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.pro... | from myfedora.widgets.resourceview import ToolWidget
from fedora.tg.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.tools.templates.... | <commit_before>from myfedora.widgets.resourceview import ToolWidget
from fedora.tg.client import BaseClient
from myfedora.lib.app_factory import AppFactory
class ProfileInfoToolApp(AppFactory):
entry_name = "tools.profileinfo"
class ProfileInfoToolWidget(ToolWidget):
template = 'genshi:myfedora.plugins.apps.t... |
ab6ca021430933b38788ad2ae19f27f8ed00ab54 | parse.py | parse.py | import sys
import simplejson as json
indentation = 0
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print("error reading json language definition")
exit(1)
repl = lang_def['rules']
sin = sys.argv[1]
for r in repl:
sin =... | import sys
import simplejson as json
def translate(file='hello_world.py'):
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print('error reading json language definition')
exit(1)
python_code = None
... | Add translate functionality via command line arguments | Add translate functionality via command line arguments
| Python | unlicense | philipdexter/build-a-lang | import sys
import simplejson as json
indentation = 0
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print("error reading json language definition")
exit(1)
repl = lang_def['rules']
sin = sys.argv[1]
for r in repl:
sin =... | import sys
import simplejson as json
def translate(file='hello_world.py'):
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print('error reading json language definition')
exit(1)
python_code = None
... | <commit_before>import sys
import simplejson as json
indentation = 0
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print("error reading json language definition")
exit(1)
repl = lang_def['rules']
sin = sys.argv[1]
for r in ... | import sys
import simplejson as json
def translate(file='hello_world.py'):
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print('error reading json language definition')
exit(1)
python_code = None
... | import sys
import simplejson as json
indentation = 0
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print("error reading json language definition")
exit(1)
repl = lang_def['rules']
sin = sys.argv[1]
for r in repl:
sin =... | <commit_before>import sys
import simplejson as json
indentation = 0
lang_def = None
with open('language.json') as lang_def_file:
lang_def = json.loads(lang_def_file.read())
if lang_def is None:
print("error reading json language definition")
exit(1)
repl = lang_def['rules']
sin = sys.argv[1]
for r in ... |
e1569a514345a8c78d415011387d06aed5e6daa4 | webshack/cli.py | webshack/cli.py | """WebShack: Sensible web components.
Usage:
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package import install_p... | """WebShack: Sensible web components.
Usage:
webshack list
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package ... | Add a subcommand for listing packages | Add a subcommand for listing packages
| Python | mit | prophile/webshack | """WebShack: Sensible web components.
Usage:
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package import install_p... | """WebShack: Sensible web components.
Usage:
webshack list
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package ... | <commit_before>"""WebShack: Sensible web components.
Usage:
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package i... | """WebShack: Sensible web components.
Usage:
webshack list
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package ... | """WebShack: Sensible web components.
Usage:
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package import install_p... | <commit_before>"""WebShack: Sensible web components.
Usage:
webshack get <package>...
webshack -h | --help
webshack --version
Options:
-h --help Show this screen.
--version Show version.
"""
import sys
from docopt import docopt
from termcolor import colored
from webshack.install_package i... |
ef30c5573a02d072f586973a13419d6fea0fffb5 | utils.py | utils.py | #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg, *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
| #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg="", *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
| Add default message to safe_print | Add default message to safe_print
| Python | mit | thebigmunch/gmusicapi-scripts | #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg, *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
Add d... | #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg="", *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
| <commit_before>#!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg, *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, ... | #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg="", *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
| #!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg, *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, **kwargs)
Add d... | <commit_before>#!/usr/bin/env
from __future__ import print_function, unicode_literals
import sys
def safe_print(msg, *args, **kwargs):
"""Safely print strings containing unicode characters."""
try:
print(msg, *args, **kwargs)
except:
print(msg.encode(sys.stdout.encoding or 'utf8', errors='replace'), *args, ... |
4cb1b6b8656d4e3893b3aa8fe5766b507afa6d24 | cmsplugin_rt/button/cms_plugins.py | cmsplugin_rt/button/cms_plugins.py | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | Make Button plugin usable inside Text plugin | Make Button plugin usable inside Text plugin
| Python | bsd-3-clause | RacingTadpole/cmsplugin-rt | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | <commit_before>from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layou... | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layout elements")
ge... | <commit_before>from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from cms.models.pluginmodel import CMSPlugin
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from models import *
bootstrap_module_name = _("Widgets")
layout_module_name = _("Layou... |
cf843755f4edffb13deebac6c4e39cb44fff72e6 | statement_format.py | statement_format.py | import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('statement.csv')
... | import json
import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('stat... | Correct operation. Now to fix panda warnings | Correct operation. Now to fix panda warnings
| Python | mit | noelevans/sandpit,noelevans/sandpit,noelevans/sandpit,noelevans/sandpit,noelevans/sandpit,noelevans/sandpit | import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('statement.csv')
... | import json
import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('stat... | <commit_before>import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('s... | import json
import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('stat... | import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('statement.csv')
... | <commit_before>import pandas as pd
def fn(row):
if row['Type'] == 'DIRECT DEBIT':
return 'DD'
if row['Type'] == 'DIRECT CREDIT' or row['Spending Category'] == 'INCOME':
return 'BP'
if row['Amount (GBP)'] < 0:
return 'SO'
raise Exception('Unintended state')
df = pd.read_csv('s... |
1e6b0b6f53a4508c3e4218345b2ee57d48fbc8d1 | flask_app.py | flask_app.py | from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Parser</title>' +... | import json
from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Pars... | Return str instead of dict. | Return str instead of dict.
| Python | bsd-3-clause | talavis/kimenu | from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Parser</title>' +... | import json
from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Pars... | <commit_before>from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Pa... | import json
from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Pars... | from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Parser</title>' +... | <commit_before>from flask import abort
from flask import Flask
from flask_caching import Cache
import main
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
@app.route('/')
def display_available():
content = ('<html>' +
'<head>' +
'<title>Restaurant Menu Pa... |
31bfcd8d7b82bdd53a0d9649402b5dd38a23d506 | tests/scoring_engine/web/test_admin.py | tests/scoring_engine/web/test_admin.py | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | Remove extra line in test admin | Remove extra line in test admin
Signed-off-by: Brandon Myers <9cda508be11a1ae7ceef912b85c196946f0ec5f3@mozilla.com>
| Python | mit | pwnbus/scoring_engine,pwnbus/scoring_engine,pwnbus/scoring_engine,pwnbus/scoring_engine | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | <commit_before>from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(u... | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(username='testus... | <commit_before>from web_test import WebTest
from scoring_engine.models.team import Team
from scoring_engine.models.user import User
class TestAdmin(WebTest):
def setup(self):
super(TestAdmin, self).setup()
team1 = Team(name="Team 1", color="White")
self.db.save(team1)
user1 = User(u... |
9e4608b5cafcaf69718b3b187e143098ed74954f | examples/dispatcher/main.py | examples/dispatcher/main.py | import time
from osbrain import random_nameserver
from osbrain import run_agent
from osbrain import Agent
from osbrain import Proxy
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
... | import time
from osbrain import random_nameserver
from osbrain import run_agent
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
agent.send('rep', 1)
agent.i += 1
de... | Remove unused imports in example | Remove unused imports in example
| Python | apache-2.0 | opensistemas-hub/osbrain | import time
from osbrain import random_nameserver
from osbrain import run_agent
from osbrain import Agent
from osbrain import Proxy
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
... | import time
from osbrain import random_nameserver
from osbrain import run_agent
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
agent.send('rep', 1)
agent.i += 1
de... | <commit_before>import time
from osbrain import random_nameserver
from osbrain import run_agent
from osbrain import Agent
from osbrain import Proxy
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
... | import time
from osbrain import random_nameserver
from osbrain import run_agent
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
agent.send('rep', 1)
agent.i += 1
de... | import time
from osbrain import random_nameserver
from osbrain import run_agent
from osbrain import Agent
from osbrain import Proxy
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
else:
... | <commit_before>import time
from osbrain import random_nameserver
from osbrain import run_agent
from osbrain import Agent
from osbrain import Proxy
def log(agent, message):
agent.log_info(message)
def rep_handler(agent, message):
if agent.i < 10:
if not agent.i % 5:
agent.send('rep', 5)
... |
300471024ff16026d23bf60008d19784604b2eb3 | gala-training-crossval-sub.py | gala-training-crossval-sub.py | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | Add run for 72k samples | Add run for 72k samples
| Python | bsd-3-clause | jni/gala-scripts | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | <commit_before># IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
... | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | # IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
X0 = np.conca... | <commit_before># IPython log file
from gala import classify
datas = []
labels = []
import numpy as np
list(map(np.shape, labels))
for i in range(3, 4):
data, label = classify.load_training_data_from_disk('training-data-%i.h5' % i, names=['data', 'labels'])
datas.append(data)
labels.append(label[:, 0])
... |
0c7d6fa29c7c6d9513f0a63b9165fe7f00788b04 | setup.py | setup.py | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
'D... | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula-py',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
... | Change package name because of conflict | Change package name because of conflict
| Python | mit | chezou/tabula-py | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
'D... | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula-py',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
... | <commit_before>from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
class... | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula-py',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
... | from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
classifiers=[
'D... | <commit_before>from setuptools import setup, find_packages
__author__ = 'Michiaki Ariga'
setup(
name='tabula',
version='0.1',
description='Simple wrapper for tabula, read tables from PDF into DataFrame',
author=__author__,
author_email='chezou@gmail.com',
url='https://github.com/chezou/tabula-py',
class... |
beaa9ac3f90bbfaf124e04db9b4e790b4ebe8d9e | setup.py | setup.py | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | Remove simplekv requirement, mark as procution instead of beta | Remove simplekv requirement, mark as procution instead of beta
| Python | mit | vimalloc/flask-jwt-extended | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | <commit_before>"""
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland'... | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | <commit_before>"""
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland'... |
684d279f9fd85fd7a8420164ce0bbba6265d8d6d | setup.py | setup.py | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | Update requests version to match ckanext-archiver. | Update requests version to match ckanext-archiver.
| Python | mit | ckan/ckanext-qa,ckan/ckanext-qa,ckan/ckanext-qa | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | <commit_before>from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_emai... | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='info@okfn.or... | <commit_before>from setuptools import setup, find_packages
from ckanext.qa import __version__
setup(
name='ckanext-qa',
version=__version__,
description='Quality Assurance plugin for CKAN',
long_description='',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_emai... |
7842e714cf4345f11f59fc0915c86f1b2a836a9b | setup.py | setup.py | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | Update gprof2dot to a version that includes absolute times | Update gprof2dot to a version that includes absolute times
| Python | lgpl-2.1 | HurricaneLabs/geordi,goconnectome/geordi | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | <commit_before>#!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
... | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | #!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
classifiers... | <commit_before>#!/usr/bin/env python
"""Installs geordi"""
import os
import sys
from distutils.core import setup
def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.txt')).read()
setup(
author='Brodie Rao',
author_email='brodie@sf.io',
... |
b5af31fba4bde1b90857d693b8277a3d2a0e3607 | rplugin/python3/deoplete/sources/go.py | rplugin/python3/deoplete/sources/go.py | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.rank = 100
self.min_pattern_length = 0
self.is_bytepos = True
def get_com... | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.min_pattern_length = 0
self.is_bytepos = True
def get_complete_api(self, findstar... | Remove rank to default set. deoplete will set 100 | Remove rank to default set. deoplete will set 100
Signed-off-by: Koichi Shiraishi <2e5bdfebde234ed3509bcfc18121c70b6631e207@gmail.com>
| Python | mit | zchee/deoplete-go,zchee/deoplete-go | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.rank = 100
self.min_pattern_length = 0
self.is_bytepos = True
def get_com... | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.min_pattern_length = 0
self.is_bytepos = True
def get_complete_api(self, findstar... | <commit_before>import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.rank = 100
self.min_pattern_length = 0
self.is_bytepos = True
... | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.min_pattern_length = 0
self.is_bytepos = True
def get_complete_api(self, findstar... | import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.rank = 100
self.min_pattern_length = 0
self.is_bytepos = True
def get_com... | <commit_before>import deoplete.util
from .base import Base
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.rank = 100
self.min_pattern_length = 0
self.is_bytepos = True
... |
83820cb37f65e6c15427808d90abe8a8e36f24b8 | setup.py | setup.py | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | Update declared Python version to 3.6 | Update declared Python version to 3.6
| Python | bsd-3-clause | Don86/microscopium,jni/microscopium,jni/microscopium,Don86/microscopium,microscopium/microscopium,microscopium/microscopium | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | <commit_before>from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Scr... | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Screen Images'
LON... | <commit_before>from __future__ import absolute_import
#from distutils.core import setup
from setuptools import setup
descr = """
microscopium: unsupervised sample clustering and dataset exploration
for high content screens.
"""
DISTNAME = 'microscopium'
DESCRIPTION = 'Clustering of High Content Scr... |
181a3aedff78f46beec703cb610a5ac6d3339f93 | source/bark/__init__.py | source/bark/__init__.py | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
| # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from .handler.distribute import Distribute
#: Top level handler responsible for relaying all logs to other handlers.
handle = Distribute()
| Set Distribute handler as default top level handler. | Set Distribute handler as default top level handler.
| Python | apache-2.0 | 4degrees/sawmill,4degrees/mill | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
Set Distribute handler as default top level handler. | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from .handler.distribute import Distribute
#: Top level handler responsible for relaying all logs to other handlers.
handle = Distribute()
| <commit_before># :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
<commit_msg>Set Distribute handler as default top level handler.<commit_after> | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from .handler.distribute import Distribute
#: Top level handler responsible for relaying all logs to other handlers.
handle = Distribute()
| # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
Set Distribute handler as default top level handler.# :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from .handler.distribute import Distribute
#: Top level ha... | <commit_before># :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
<commit_msg>Set Distribute handler as default top level handler.<commit_after># :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from .handler.dist... |
134338b7aab3c3b79c2aa62fd878926ff9d9adc5 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | Fix typo in package name. | Fix typo in package name.
Cairp: what you get when you mix cairo with carp. Or perhaps a cairn
made of carp?
| Python | mit | jmcb/python-cairo-dependencies | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ T... | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | #!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ This package con... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
def main ():
dlls = ["bin/%s" % dll for dll in ["libcairo-2.dll"]]
licenses = ["doc/%s" % license for license in ["LICENSE-LGPL.TXT",
"LICENSE-CAIRO.TXT"]]
others = ["README.rst", "LICENSE.rst"]
long_description = """ T... |
4f1a119f2dc04cad75e647a000ae9041647153fb | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.9.1',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='read... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.19.0',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='rea... | Bump httplib2 from 0.9.1 to 0.19.0 | Bump httplib2 from 0.9.1 to 0.19.0
Bumps [httplib2](https://github.com/httplib2/httplib2) from 0.9.1 to 0.19.0.
- [Release notes](https://github.com/httplib2/httplib2/releases)
- [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG)
- [Commits](https://github.com/httplib2/httplib2/compare/0.9.1...v0.... | Python | mit | arc90/python-readability-api,arc90/python-readability-api | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.9.1',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='read... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.19.0',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='rea... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.9.1',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.19.0',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='rea... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.9.1',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(
name='read... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
required = [
'pytest',
'requests',
'requests_oauthlib',
'httplib2==0.9.1',
'python-dateutil',
]
# Python 2 dependencies
if sys.version_info[0] == 2:
required += [
'mock',
]
setup(... |
3c705ba62a6dae804ff2e2307d38c9c30d555e22 | build.py | build.py | import urllib2
if __name__ == '__main__':
gdal_version = '1.11.0'
# parse out the version info
major, minor, release = map(lambda x: int(x), gdal_version.split('.'))
gdal_download_uri = 'http://download.osgeo.org/gdal/'
if minor >= 10:
gdal_download_uri += gdal_version + '/'
local_gzi... | import sys
import os
import urllib2
if __name__ == '__main__':
version_info = lambda v: map(lambda x: int(x), v.split('.'))
# if the user provided an argument and it's a file, use that.
try:
source_filepath = sys.argv[1]
except IndexError:
source_filepath = ''
if os.path.exists(so... | Refactor to accommodate local gdal source archive | Refactor to accommodate local gdal source archive
| Python | mit | phargogh/gdal-build | import urllib2
if __name__ == '__main__':
gdal_version = '1.11.0'
# parse out the version info
major, minor, release = map(lambda x: int(x), gdal_version.split('.'))
gdal_download_uri = 'http://download.osgeo.org/gdal/'
if minor >= 10:
gdal_download_uri += gdal_version + '/'
local_gzi... | import sys
import os
import urllib2
if __name__ == '__main__':
version_info = lambda v: map(lambda x: int(x), v.split('.'))
# if the user provided an argument and it's a file, use that.
try:
source_filepath = sys.argv[1]
except IndexError:
source_filepath = ''
if os.path.exists(so... | <commit_before>import urllib2
if __name__ == '__main__':
gdal_version = '1.11.0'
# parse out the version info
major, minor, release = map(lambda x: int(x), gdal_version.split('.'))
gdal_download_uri = 'http://download.osgeo.org/gdal/'
if minor >= 10:
gdal_download_uri += gdal_version + '/'... | import sys
import os
import urllib2
if __name__ == '__main__':
version_info = lambda v: map(lambda x: int(x), v.split('.'))
# if the user provided an argument and it's a file, use that.
try:
source_filepath = sys.argv[1]
except IndexError:
source_filepath = ''
if os.path.exists(so... | import urllib2
if __name__ == '__main__':
gdal_version = '1.11.0'
# parse out the version info
major, minor, release = map(lambda x: int(x), gdal_version.split('.'))
gdal_download_uri = 'http://download.osgeo.org/gdal/'
if minor >= 10:
gdal_download_uri += gdal_version + '/'
local_gzi... | <commit_before>import urllib2
if __name__ == '__main__':
gdal_version = '1.11.0'
# parse out the version info
major, minor, release = map(lambda x: int(x), gdal_version.split('.'))
gdal_download_uri = 'http://download.osgeo.org/gdal/'
if minor >= 10:
gdal_download_uri += gdal_version + '/'... |
f122d1561c79bd46eb82ff64a15245171a4934e8 | insert_date.py | insert_date.py | import sublime
import sublime_plugin
from functools import partial
from format_date import FormatDate
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
if prompt:... | import locale
from functools import partial
from format_date import FormatDate
import sublime
import sublime_plugin
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
... | Add handling for non-unicode return values from datetime.strftime | Add handling for non-unicode return values from datetime.strftime
Hopefully fixes #3.
| Python | mit | FichteFoll/InsertDate,FichteFoll/InsertDate | import sublime
import sublime_plugin
from functools import partial
from format_date import FormatDate
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
if prompt:... | import locale
from functools import partial
from format_date import FormatDate
import sublime
import sublime_plugin
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
... | <commit_before>import sublime
import sublime_plugin
from functools import partial
from format_date import FormatDate
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
... | import locale
from functools import partial
from format_date import FormatDate
import sublime
import sublime_plugin
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
... | import sublime
import sublime_plugin
from functools import partial
from format_date import FormatDate
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
if prompt:... | <commit_before>import sublime
import sublime_plugin
from functools import partial
from format_date import FormatDate
class InsertDateCommand(sublime_plugin.TextCommand, FormatDate):
"""Prints Date according to given format string"""
def run(self, edit, format=None, prompt=False, tz_in=None, tz_out=None):
... |
737dca75d26a90d627be09144db7441156fee981 | scraper/management/commands/run_scraper.py | scraper/management/commands/run_scraper.py | from django.core.management.base import NoArgsCommand
from scraper.models import Source
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
sources = Source.objects.filter(active=True)
for source in sources:
source.crawl()
| from django.core.management.base import NoArgsCommand
from scraper.models import Spider
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
spiders = Spider.objects.all()
for spider in spiders:
spider.crawl_content()
| Update management command to adapt new model | Update management command to adapt new model
| Python | mit | zniper/django-scraper,zniper/django-scraper | from django.core.management.base import NoArgsCommand
from scraper.models import Source
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
sources = Source.objects.filter(active=True)
for source in sources:
source.crawl()
Update m... | from django.core.management.base import NoArgsCommand
from scraper.models import Spider
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
spiders = Spider.objects.all()
for spider in spiders:
spider.crawl_content()
| <commit_before>from django.core.management.base import NoArgsCommand
from scraper.models import Source
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
sources = Source.objects.filter(active=True)
for source in sources:
source.c... | from django.core.management.base import NoArgsCommand
from scraper.models import Spider
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
spiders = Spider.objects.all()
for spider in spiders:
spider.crawl_content()
| from django.core.management.base import NoArgsCommand
from scraper.models import Source
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
sources = Source.objects.filter(active=True)
for source in sources:
source.crawl()
Update m... | <commit_before>from django.core.management.base import NoArgsCommand
from scraper.models import Source
class Command(NoArgsCommand):
""" Crawl all active resources """
def handle_noargs(self, **options):
sources = Source.objects.filter(active=True)
for source in sources:
source.c... |
4d414fe592bfd7f085f9aaea0b6992d28ad193ce | tcconfig/_common.py | tcconfig/_common.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | Change to use format method | Change to use format method
| Python | mit | thombashi/tcconfig,thombashi/tcconfig | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | <commit_before># encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import ne... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import netifaces
exc... | <commit_before># encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import absolute_import
import dataproperty
import six
from ._error import NetworkInterfaceNotFoundError
ANYWHERE_NETWORK = "0.0.0.0/0"
def verify_network_interface(device):
try:
import ne... |
6672d3eb6bcc916f25f7f7e6ed47d573644f7c45 | debug.py | debug.py | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
import __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
# get frame
frame = _getframe(2)
# inject see (`from see import see`... | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
try:
import __builtin__
except ImportError:
# Python 3.x
import builtins as __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
... | Add compatibility with Python 3.x | Add compatibility with Python 3.x
| Python | unlicense | narfdotpl/debug | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
import __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
# get frame
frame = _getframe(2)
# inject see (`from see import see`... | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
try:
import __builtin__
except ImportError:
# Python 3.x
import builtins as __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
import __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
# get frame
frame = _getframe(2)
# inject see (`from ... | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
try:
import __builtin__
except ImportError:
# Python 3.x
import builtins as __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
... | #!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
import __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
# get frame
frame = _getframe(2)
# inject see (`from see import see`... | <commit_before>#!/usr/bin/env python
# encoding: utf-8
"""
import debug: https://github.com/narfdotpl/debug
"""
import __builtin__
from sys import _getframe
from ipdb import set_trace
# do not forget
old_import = __builtin__.__import__
def debug():
# get frame
frame = _getframe(2)
# inject see (`from ... |
6bff4763f486f10e43890191244b33d5b609bfdd | flashcards/commands/sets.py | flashcards/commands/sets.py | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | Add docstring to select command. | Add docstring to select command.
| Python | mit | zergov/flashcards,zergov/flashcards | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | <commit_before>"""
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass... | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | """
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass
@click.comma... | <commit_before>"""
flashcards.commands.sets
~~~~~~~~~~~~~~~~~~~
Contains the commands and subcommands related to the sets resource.
"""
import os
import click
from flashcards import sets
from flashcards import storage
@click.group('sets')
def sets_group():
"""Command related to the StudySet object """
pass... |
01b7fa7fe0778c195d9f75d35d43618691778ef8 | pymatgen/__init__.py | pymatgen/__init__.py | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.2"
"""
Useful aliases for commonly used objects and modules.
"""... | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.3dev"
"""
Useful aliases for commonly used objects and modules.
... | Increase minor version number + dev. | Increase minor version number + dev.
| Python | mit | Bismarrck/pymatgen,Dioptas/pymatgen,yanikou19/pymatgen,Dioptas/pymatgen,migueldiascosta/pymatgen,ctoher/pymatgen,yanikou19/pymatgen,Bismarrck/pymatgen,Bismarrck/pymatgen,rousseab/pymatgen,ctoher/pymatgen,Bismarrck/pymatgen,rousseab/pymatgen,sonium0/pymatgen,migueldiascosta/pymatgen,sonium0/pymatgen,Bismarrck/pymatgen,r... | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.2"
"""
Useful aliases for commonly used objects and modules.
"""... | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.3dev"
"""
Useful aliases for commonly used objects and modules.
... | <commit_before>__author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.2"
"""
Useful aliases for commonly used objects a... | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.3dev"
"""
Useful aliases for commonly used objects and modules.
... | __author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.2"
"""
Useful aliases for commonly used objects and modules.
"""... | <commit_before>__author__ = "Shyue Ping Ong, Anubhav Jain, Michael Kocher, " + \
"Geoffroy Hautier, William Davidson Richard, Dan Gunter, " + \
"Shreyas Cholia, Vincent L Chevrier, Rickard Armiento"
__date__ = "Jul 27, 2012"
__version__ = "2.1.2"
"""
Useful aliases for commonly used objects a... |
cb2745cfdfa7e90de4a7201300d5d22ae8015e0e | skimage/measure/_label.py | skimage/measure/_label.py | from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
| from ._ccomp import label as _label
def label(input, neighbors=None, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
| Change default neighbors to None | Change default neighbors to None
| Python | bsd-3-clause | bennlich/scikit-image,ClinicalGraphics/scikit-image,newville/scikit-image,chriscrosscutler/scikit-image,warmspringwinds/scikit-image,blink1073/scikit-image,paalge/scikit-image,michaelaye/scikit-image,vighneshbirodkar/scikit-image,Midafi/scikit-image,Hiyorimi/scikit-image,Britefury/scikit-image,vighneshbirodkar/scikit-i... | from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
Change default neighbors to None | from ._ccomp import label as _label
def label(input, neighbors=None, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
| <commit_before>from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
<commit_msg>Change default neighbors to None<commit_after> | from ._ccomp import label as _label
def label(input, neighbors=None, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
| from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
Change default neighbors to Nonefrom ._ccomp import label as _label
def label(input... | <commit_before>from ._ccomp import label as _label
def label(input, neighbors=8, background=None, return_num=False,
connectivity=None):
return _label(input, neighbors, background, return_num, connectivity)
label.__doc__ = _label.__doc__
<commit_msg>Change default neighbors to None<commit_after>from ._ccom... |
efe588cbedc1100f2893c53503ddd30ac011cf06 | joku/checks.py | joku/checks.py | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | Add my ID as a hard override for has_permissions. | Add my ID as a hard override for has_permissions.
| Python | mit | MJB47/Jokusoramame,MJB47/Jokusoramame,MJB47/Jokusoramame | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | <commit_before>"""
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
... | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | """
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
if ctx.... | <commit_before>"""
Specific checks.
"""
from discord.ext.commands import CheckFailure, check
def is_owner(ctx):
if ctx.bot.owner_id not in ["214796473689178133", ctx.bot.owner_id]:
raise CheckFailure(message="You are not the owner.")
return True
def has_permissions(**perms):
def predicate(ctx):
... |
f0a185e443490396af254627ead039cf627db556 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="Girder API endpoints for interacting with cloud providers.",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(exclu... | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="A RESTful API for the creation & management of HPC clusters",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(excl... | Fix description to be more generic | Fix description to be more generic
| Python | apache-2.0 | cjh1/cumulus,Kitware/cumulus,cjh1/cumulus,Kitware/cumulus | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="Girder API endpoints for interacting with cloud providers.",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(exclu... | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="A RESTful API for the creation & management of HPC clusters",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(excl... | <commit_before>from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="Girder API endpoints for interacting with cloud providers.",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find... | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="A RESTful API for the creation & management of HPC clusters",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(excl... | from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="Girder API endpoints for interacting with cloud providers.",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find_packages(exclu... | <commit_before>from setuptools import setup, find_packages
setup(
name="cumulus",
version="0.1.0",
description="Girder API endpoints for interacting with cloud providers.",
author="Chris Haris",
author_email="chris.harris@kitware.com",
url="https://github.com/Kitware/cumulus",
packages=find... |
1a22f2b7413ecf3b9cc656c51a7856fc99431a4a | setup.py | setup.py | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | Add the package template data to the egg | Add the package template data to the egg
This adds some extra files that are needed at run time to the packaged
egg.
| Python | apache-2.0 | sonata-nfv/son-cli,edmaas/son-cli,dang03/son-cli,lconceicao/son-cli,stevenvanrossem/son-cli,stevenvanrossem/son-cli,lconceicao/son-cli,sonata-nfv/son-cli,sonata-nfv/son-cli,lconceicao/son-cli,edmaas/son-cli,dang03/son-cli,lconceicao/son-cli,stevenvanrossem/son-cli,edmaas/son-cli,stevenvanrossem/son-cli,dang03/son-cli,l... | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | <commit_before>from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
... | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
longdesc = code... | <commit_before>from setuptools import setup, find_packages
import codecs
import os.path as path
# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html
# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#setup-py
cwd = path.dirname(__file__)
... |
06fd1674239de71ccbe52398516642d9b19b743b | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | Change repository URL to point to OpenPrinting's organisation | Change repository URL to point to OpenPrinting's organisation
| Python | mit | vitorbaptista/pyppd | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
... | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
with open... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
from distutils.command.sdist import sdist as _sdist
class sdist(_sdist):
def run(self):
try:
import sys
sys.path.append("contrib")
import git2changes
print('generating CHANGES.txt')
... |
904bf6ad25fb719c0cb90d3a4b77227fc56ed92b | api/serializers.py | api/serializers.py | from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body')
| from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body', 'site')
| Add source site to api | Add source site to api
| Python | mit | jchmura/suchary-django,jchmura/suchary-django,jchmura/suchary-django | from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body')
Add source si... | from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body', 'site')
| <commit_before>from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body'... | from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body', 'site')
| from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body')
Add source si... | <commit_before>from rest_framework import serializers
from obcy.models import Joke
class ObcyJokeSerializer(serializers.ModelSerializer):
added = serializers.DateTimeField(source='added', format='%Y-%m-%dT%XZ')
class Meta:
model = Joke
fields = ('key', 'votes', 'date', 'added', 'url', 'body'... |
393366860dcf0e4af7621839c61de9008f8ea900 | sphinxgallery/tests/test_backreferences.py | sphinxgallery/tests/test_backreferences.py | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | Test on thumbnail update to new reference naming | Test on thumbnail update to new reference naming
| Python | bsd-3-clause | sphinx-gallery/sphinx-gallery,Titan-C/sphinx-gallery,Titan-C/sphinx-gallery,Eric89GXL/sphinx-gallery,lesteve/sphinx-gallery,lesteve/sphinx-gallery,Eric89GXL/sphinx-gallery,sphinx-gallery/sphinx-gallery | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | <commit_before># -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thu... | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | # -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thumbnail div gene... | <commit_before># -*- coding: utf-8 -*-
# Author: Óscar Nájera
# License: 3-clause BSD
"""
Testing the rst files generator
"""
from __future__ import division, absolute_import, print_function
import sphinxgallery.backreferences as sg
from nose.tools import assert_equals
def test_thumbnail_div():
"""Test if the thu... |
37b0387f9425c25a53c981dce3911e98c7ca14dd | test/test_config.py | test/test_config.py | import os
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
def test_basic_functionality(self):
con... | import os
import stat
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
os.chmod(self.test_filename, sta... | Add a test for config file permissions check. | Add a test for config file permissions check.
| Python | apache-2.0 | novel/lc-tools,novel/lc-tools | import os
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
def test_basic_functionality(self):
con... | import os
import stat
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
os.chmod(self.test_filename, sta... | <commit_before>import os
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
def test_basic_functionality(sel... | import os
import stat
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
os.chmod(self.test_filename, sta... | import os
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
def test_basic_functionality(self):
con... | <commit_before>import os
from nose.tools import *
from lctools import config
class TestConfig(object):
test_filename = "bebebe"
def setup(self):
fd = open(self.test_filename, 'w')
fd.write("[default]\n")
fd.write("foo = bar\n")
fd.close()
def test_basic_functionality(sel... |
62d275fbb27bf40a5b94e5e708dd9669a6d7270a | test/test_gossip.py | test/test_gossip.py | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
gossiper.init({}, threading.RLock(), '127.0.0.1', 6768, 'testing', 'super testing', 1, 'QQQQQQQQQQQ... | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
import tempfile
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
# We need to have a valid path for data
from opsbro.configurationmanager im... | TEST gossip was crashing as the data directory was not exists for history data Enh: now directory creation is by default recursive | Fix: TEST gossip was crashing as the data directory was not exists for history data
Enh: now directory creation is by default recursive
| Python | mit | naparuba/kunai,naparuba/kunai,naparuba/kunai,naparuba/opsbro,naparuba/opsbro,naparuba/kunai,naparuba/opsbro,naparuba/opsbro,naparuba/kunai,naparuba/kunai | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
gossiper.init({}, threading.RLock(), '127.0.0.1', 6768, 'testing', 'super testing', 1, 'QQQQQQQQQQQ... | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
import tempfile
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
# We need to have a valid path for data
from opsbro.configurationmanager im... | <commit_before>#!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
gossiper.init({}, threading.RLock(), '127.0.0.1', 6768, 'testing', 'super testing', ... | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
import tempfile
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
# We need to have a valid path for data
from opsbro.configurationmanager im... | #!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
gossiper.init({}, threading.RLock(), '127.0.0.1', 6768, 'testing', 'super testing', 1, 'QQQQQQQQQQQ... | <commit_before>#!/usr/bin/env python
# Copyright (C) 2014:
# Gabes Jean, naparuba@gmail.com
import threading
from opsbro_test import *
from opsbro.gossip import gossiper
class TestGossip(OpsBroTest):
def setUp(self):
gossiper.init({}, threading.RLock(), '127.0.0.1', 6768, 'testing', 'super testing', ... |
1175a7da5583f58915cfe7991ba250cb19db39f7 | pysswords/credential.py | pysswords/credential.py | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | Change string formating for Credential | Change string formating for Credential
| Python | mit | marcwebbie/passpie,scorphus/passpie,marcwebbie/pysswords,eiginn/passpie,marcwebbie/passpie,scorphus/passpie,eiginn/passpie | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | <commit_before>import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, se... | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, self.name)
... | <commit_before>import os
class Credential(object):
def __init__(self, name, login, password, comments):
self.name = name
self.login = login
self.password = password
self.comments = comments
def save(self, database_path):
credential_path = os.path.join(database_path, se... |
edbbcdda383c8f15c5a3c496490f2a85125d844d | setup.py | setup.py | from setuptools import setup, find_packages
import ofxparse
setup(name='ofxparse',
version=ofxparse.__version__,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_description=open("./README", "r").read(),
# Get strings from http://pypi.python.org/pypi?%3A... | from setuptools import setup, find_packages
import re
VERSION = re.search(r"__version__ = '(.*?)'",
open("ofxparse/__init__.py").read()).group(1)
setup(name='ofxparse',
version=VERSION,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_desc... | Fix ImportError when installing without BeautifulSoup | Fix ImportError when installing without BeautifulSoup
| Python | mit | udibr/ofxparse,rdsteed/ofxparse,jseutter/ofxparse,jaraco/ofxparse,hiromu2000/ofxparse,egh/ofxparse | from setuptools import setup, find_packages
import ofxparse
setup(name='ofxparse',
version=ofxparse.__version__,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_description=open("./README", "r").read(),
# Get strings from http://pypi.python.org/pypi?%3A... | from setuptools import setup, find_packages
import re
VERSION = re.search(r"__version__ = '(.*?)'",
open("ofxparse/__init__.py").read()).group(1)
setup(name='ofxparse',
version=VERSION,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_desc... | <commit_before>from setuptools import setup, find_packages
import ofxparse
setup(name='ofxparse',
version=ofxparse.__version__,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_description=open("./README", "r").read(),
# Get strings from http://pypi.pyth... | from setuptools import setup, find_packages
import re
VERSION = re.search(r"__version__ = '(.*?)'",
open("ofxparse/__init__.py").read()).group(1)
setup(name='ofxparse',
version=VERSION,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_desc... | from setuptools import setup, find_packages
import ofxparse
setup(name='ofxparse',
version=ofxparse.__version__,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_description=open("./README", "r").read(),
# Get strings from http://pypi.python.org/pypi?%3A... | <commit_before>from setuptools import setup, find_packages
import ofxparse
setup(name='ofxparse',
version=ofxparse.__version__,
description="Tools for working with the OFX (Open Financial Exchange) file format",
long_description=open("./README", "r").read(),
# Get strings from http://pypi.pyth... |
e56a8b5cf4e298d69bc321a4ce323e2f881900d0 | pyvac/views/__init__.py | pyvac/views/__init__.py | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | Sort vacation type by id when displaying on home page | Sort vacation type by id when displaying on home page
| Python | bsd-3-clause | doyousoft/pyvac,sayoun/pyvac,doyousoft/pyvac,doyousoft/pyvac,sayoun/pyvac,sayoun/pyvac | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | <commit_before># -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
r... | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | # -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
ret_dict = {'typ... | <commit_before># -*- coding: utf-8 -*-
from .base import RedirectView
from pyvac.models import VacationType
class Index(RedirectView):
redirect_route = u'login'
class Home(RedirectView):
redirect_route = u'login'
def render(self):
if not self.user:
return self.redirect()
r... |
adcbb33f7f0fed92bbbe33ef37b67db8841953d1 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | Exclude .DS_Store from package build. | Exclude .DS_Store from package build.
| Python | mit | anthonydb/pneumatic | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | <commit_before>#!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Developme... | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | #!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Development Status :: 4 ... | <commit_before>#!/usr/bin/env python
from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='pneumatic',
version='0.1.8',
description='A bulk upload library for DocumentCloud.',
long_description=readme(),
classifiers=[
'Developme... |
9596d7c5cd30a41961ac49471c3501a29b619d46 | setup.py | setup.py | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.2",
author="Jacob Levine",
author_email="j... | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.3",
author="Jacob Levine",
author_email="j... | Increment version. New in 1.3: Linux binaries are properly included | Increment version. New in 1.3: Linux binaries are properly included
| Python | mit | jacoblevine/PhenoGraph | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.2",
author="Jacob Levine",
author_email="j... | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.3",
author="Jacob Levine",
author_email="j... | <commit_before>from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.2",
author="Jacob Levine",
... | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.3",
author="Jacob Levine",
author_email="j... | from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.2",
author="Jacob Levine",
author_email="j... | <commit_before>from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
raise RuntimeError("PhenoGraph requires Python 3")
setup(
name="PhenoGraph",
description="Graph-based clustering for high-dimensional single-cell data",
version="1.2",
author="Jacob Levine",
... |
5deb33c244242d36a16a8c08ff816368b345a8f3 | 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('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('django')
try:
from qrcode.image.pil i... | Exclude handling of the situation where Pillow is not available from test coverage. | Exclude handling of the situation where Pillow is not available from test coverage.
| 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('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('django')
try:
from qrcode.image.pil i... | <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('django')
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 i... | """
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('django')
try:
from qrco... |
ca62e5dae3b07bb0534fbb2df9072c744bff6e4b | setup.py | setup.py | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | Update dependency to Markdown 2.6+ & bleach 2.0.0+ | Update dependency to Markdown 2.6+ & bleach 2.0.0+
| Python | mit | daGrevis/mdx_linkify | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | <commit_before>import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
... | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
author="Rait... | <commit_before>import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_linkify",
version="0.6",
... |
d0e4c6300c8328f4f72b4a2b04061e94d7c7dea8 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.15',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 7.0.16. | Update the PyPI version to 7.0.16.
| Python | mit | Doist/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.15',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.15',
packages=['todoist', 'todoist.managers'],
aut... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.15',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.15',
packages=['todoist', 'todoist.managers'],
aut... |
4737bbc134aaa3b4512ef89e7824a36495e68291 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.6',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.7',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | Update the PyPI version to 0.2.7 | Update the PyPI version to 0.2.7
| Python | mit | Doist/todoist-python,electronick1/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.6',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.7',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.6',
packages=['todoist', 'todoist.managers'],
auth... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.7',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.6',
packages=['todoist', 'todoist.managers'],
author='Doist Team'... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.6',
packages=['todoist', 'todoist.managers'],
auth... |
a8a56f20dd76f61ec1ea6e99037490922d5cbcb1 | setup.py | setup.py | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions'],
url='https://github.com/PatrikValkovic/grammpy',
... | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions', 'grammpy.Rules'],
url='https://github.com/PatrikValko... | FIX missing Rules directory in package | FIX missing Rules directory in package
| Python | mit | PatrikValkovic/grammpy | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions'],
url='https://github.com/PatrikValkovic/grammpy',
... | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions', 'grammpy.Rules'],
url='https://github.com/PatrikValko... | <commit_before>#!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions'],
url='https://github.com/PatrikValkovi... | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions', 'grammpy.Rules'],
url='https://github.com/PatrikValko... | #!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions'],
url='https://github.com/PatrikValkovic/grammpy',
... | <commit_before>#!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 04.08.2017 19:00
:Licence GNUv3
Part of grammpy
"""
from distutils.core import setup
setup(
name='grammpy',
version='1.1.1',
packages=['grammpy', 'grammpy.Grammars', 'grammpy.exceptions'],
url='https://github.com/PatrikValkovi... |
a582b184c9918cdf556c9892b70481deccded61d | setup.py | setup.py | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | Remove h5py requirement and made it optional. | Remove h5py requirement and made it optional.
| Python | mit | xiaoda99/keras,jimgoo/keras,dxj19831029/keras,eulerreich/keras,iScienceLuvr/keras,ledbetdr/keras,kemaswill/keras,cvfish/keras,why11002526/keras,gamer13/keras,DeepGnosis/keras,harshhemani/keras,saurav111/keras,abayowbo/keras,Aureliu/keras,keras-team/keras,kuza55/keras,relh/keras,nehz/keras,keskarnitish/keras,dolaameng/k... | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | <commit_before>from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
dow... | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
download_url='http... | <commit_before>from setuptools import setup
from setuptools import find_packages
setup(name='Keras',
version='0.1.2',
description='Theano-based Deep Learning library',
author='Francois Chollet',
author_email='francois.chollet@gmail.com',
url='https://github.com/fchollet/keras',
dow... |
c6e7f85907c59de284938d30342c7ca48674d4c7 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | Allow Django 1.6 install while preventing 1.3.X | Allow Django 1.6 install while preventing 1.3.X
| Python | mit | charettes/django-mutant | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic m... | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | #!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic model definition... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from mutant import __version__
github_url = 'https://github.com/charettes/django-mutant'
long_desc = open('README.md').read()
setup(
name='django-mutant',
version='.'.join(str(v) for v in __version__),
description='Dynamic m... |
3e717a2a77dcf18f9a281e68462b5809010e1835 | setup.py | setup.py | from setuptools import setup
setup(name='pyW215',
version='0.4',
description='Interface for d-link W215 Smart Plugs.',
url='https://github.com/linuxchristian/pyW215',
author='Christian Juncker Brædstrup',
author_email='christian@fredborg-braedstrup.dk',
... | # -*- coding: utf-8 -*-
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='pyW215',
version='0.4',
descrip... | Prepare for publication on pypi | Prepare for publication on pypi
| Python | mit | LinuxChristian/pyW215 | from setuptools import setup
setup(name='pyW215',
version='0.4',
description='Interface for d-link W215 Smart Plugs.',
url='https://github.com/linuxchristian/pyW215',
author='Christian Juncker Brædstrup',
author_email='christian@fredborg-braedstrup.dk',
... | # -*- coding: utf-8 -*-
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='pyW215',
version='0.4',
descrip... | <commit_before>from setuptools import setup
setup(name='pyW215',
version='0.4',
description='Interface for d-link W215 Smart Plugs.',
url='https://github.com/linuxchristian/pyW215',
author='Christian Juncker Brædstrup',
author_email='christian@fredborg-braeds... | # -*- coding: utf-8 -*-
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='pyW215',
version='0.4',
descrip... | from setuptools import setup
setup(name='pyW215',
version='0.4',
description='Interface for d-link W215 Smart Plugs.',
url='https://github.com/linuxchristian/pyW215',
author='Christian Juncker Brædstrup',
author_email='christian@fredborg-braedstrup.dk',
... | <commit_before>from setuptools import setup
setup(name='pyW215',
version='0.4',
description='Interface for d-link W215 Smart Plugs.',
url='https://github.com/linuxchristian/pyW215',
author='Christian Juncker Brædstrup',
author_email='christian@fredborg-braeds... |
fd5b1bc59bc6b6640727fc88ade075be9b8355c4 | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | Fix the XRC package_data entry. | Fix the XRC package_data entry.
| Python | bsd-2-clause | cmpilato/thotkeeper | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-b... | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | #!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-bean.com',
d... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
from thotkeeper import __version__ as tk_version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='thotkeeper',
version=tk_version,
author='C. Michael Pilato',
author_email='cmpilato@red-b... |
c984957d006cacfe2e741d5f57fcb8257f4d846b | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.2'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailto1... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.1.0'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailt... | Use semantic versioning and re-publish to PyPi | Use semantic versioning and re-publish to PyPi
| Python | mit | Norpadon/tornado-httpclient-session | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.2'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailto1... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.1.0'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailt... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.2'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.1.0'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailt... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.2'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author_email='mailto1... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.2'
setup(name='tornado-httpclient-session',
version=VERSION,
packages=['httpclient_session', 'httpclient_session.test'],
author='mailto1587',
author... |
ab63395c1d8c9ec6bce13811965c8335463b0b78 | setup.py | setup.py | from distutils.core import setup, Extension
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
| from distutils.core import setup, Extension
import os
os.environ['CFLAGS'] = "-Qunused-arguments"
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
| Fix compile error on OS X 10.9 | Fix compile error on OS X 10.9
| Python | apache-2.0 | pombredanne/python-rabin-fingerprint,pombredanne/python-rabin-fingerprint,cschwede/python-rabin-fingerprint,cschwede/python-rabin-fingerprint | from distutils.core import setup, Extension
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
Fix compile error on OS X 10.9 | from distutils.core import setup, Extension
import os
os.environ['CFLAGS'] = "-Qunused-arguments"
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
| <commit_before>from distutils.core import setup, Extension
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
<commit_msg>Fix compile error on OS X 10.9<commit_after> | from distutils.core import setup, Extension
import os
os.environ['CFLAGS'] = "-Qunused-arguments"
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
| from distutils.core import setup, Extension
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
Fix compile error on OS X 10.9from distutils.core import setup, Extension
import os
os.environ['CFLAGS'] = "-Qunused-arguments"
setup(name = "Indexer", version = "0.1", ext_modul... | <commit_before>from distutils.core import setup, Extension
setup(name = "Indexer", version = "0.1", ext_modules = [Extension("rabin", ["src/rabin.c", ])])
<commit_msg>Fix compile error on OS X 10.9<commit_after>from distutils.core import setup, Extension
import os
os.environ['CFLAGS'] = "-Qunused-arguments"
setup(nam... |
006929cb8032f038522645a687f7385dcaa66b78 | setup.py | setup.py | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | Install header files to include/ | Install header files to include/
| Python | mit | bwall/HashPump,bwall/HashPump,christophetd/HashPump,christophetd/HashPump | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | <commit_before>from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallac... | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallace (HashPump)',
... | <commit_before>from distutils.core import setup, Extension
from glob import glob
module1 = Extension('hashpumpy',
sources = glob('*.cpp'),
libraries = ['crypto'])
setup (name = 'hashpumpy',
version = '1.0',
author = 'Zach Riggle (Python binding), Brian Wallac... |
784e1257e7784d15f84cb81c5fff887796ebd54f | setup.py | setup.py | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.0.0a',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # ... | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.1.0',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # u... | Set to the next version | Set to the next version
| Python | mit | grokkers/cr-async | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.0.0a',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # ... | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.1.0',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # u... | <commit_before>from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.0.0a',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers... | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.1.0',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # u... | from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.0.0a',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers/cr-async', # ... | <commit_before>from distutils.core import setup
setup(
name='crasync',
packages=['crasync'], # this must be the same as the name above
version='v1.0.0a',
description='An async wrapper for cr-api.com',
author='verixx',
author_email='abdurraqeeb53@gmail.com',
url='https://github.com/grokkers... |
352461ab268d6f6bba691f837880ef0d3def4f43 | setup.py | setup.py | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | Correct version number for sk-video | Correct version number for sk-video | Python | apache-2.0 | CoDaS-Lab/image_analysis | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | <commit_before># -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
... | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | # -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
description='A ... | <commit_before># -*- coding: utf-8 -*-
"""
image analysis group tools
"""
from setuptools import setup
setup(
name='image-analysis',
version='0.0.1',
url='https://github.com/CoDaS-Lab/image-analysis',
license='BSD',
author='CoDaSLab http://shaftolab.com/',
author_email='s@sophiaray.info',
... |
85697d8a1d79a599071fea4cc41216f3df3f3586 | setup.py | setup.py | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='http://p... | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='https://... | Make it installable with PyPI | Make it installable with PyPI
| Python | mit | ikatson/flickruper | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='http://p... | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='https://... | <commit_before>from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
... | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='https://... | from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
url='http://p... | <commit_before>from distutils.core import setup
setup(
name='flickruper',
version='0.1.0',
author='Igor Katson',
author_email='igor.katson@gmail.com',
py_modules=['flickruper'],
scripts=['bin/flickruper'],
entry_points={
'console_scripts': ['flickruper = flickruper:main'],
},
... |
126b9d4e49bfdba7305d727f13eb2f97b0051069 | setup.py | setup.py | try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.command import install
import forms
for scheme in install.INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Ne... | try:
from setuptools import setup
except:
from distutils.core import setup
import forms
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Nevow',
author='Matt Goodall',
author_email='matt@pollenation.net',
packages=['forms', 'forms.test'],
package_da... | Use py2.4' package_data thing instead of hacking it. | Use py2.4' package_data thing instead of hacking it.
| Python | mit | emgee/formal,emgee/formal,emgee/formal | try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.command import install
import forms
for scheme in install.INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Ne... | try:
from setuptools import setup
except:
from distutils.core import setup
import forms
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Nevow',
author='Matt Goodall',
author_email='matt@pollenation.net',
packages=['forms', 'forms.test'],
package_da... | <commit_before>try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.command import install
import forms
for scheme in install.INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name='forms',
version=forms.version,
description='HTML forms f... | try:
from setuptools import setup
except:
from distutils.core import setup
import forms
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Nevow',
author='Matt Goodall',
author_email='matt@pollenation.net',
packages=['forms', 'forms.test'],
package_da... | try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.command import install
import forms
for scheme in install.INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name='forms',
version=forms.version,
description='HTML forms framework for Ne... | <commit_before>try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.command import install
import forms
for scheme in install.INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name='forms',
version=forms.version,
description='HTML forms f... |
a982d30b0b3f97858209b51d9c8525086daf37f8 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import maxmindupdater
with open('README.rst') as readme_file:
readme = readme_file.read().decode('utf8')
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_description=readme,
auth... | #!/usr/bin/env python
from codecs import open
from setuptools import setup
import maxmindupdater
with open('README.rst', encoding='utf8') as readme_file:
readme = readme_file.read()
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_de... | Handle encoding better across python versions | Handle encoding better across python versions
| Python | mit | yola/maxmind-updater,yola/maxmind-updater | #!/usr/bin/env python
from setuptools import setup
import maxmindupdater
with open('README.rst') as readme_file:
readme = readme_file.read().decode('utf8')
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_description=readme,
auth... | #!/usr/bin/env python
from codecs import open
from setuptools import setup
import maxmindupdater
with open('README.rst', encoding='utf8') as readme_file:
readme = readme_file.read()
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_de... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import maxmindupdater
with open('README.rst') as readme_file:
readme = readme_file.read().decode('utf8')
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_description=r... | #!/usr/bin/env python
from codecs import open
from setuptools import setup
import maxmindupdater
with open('README.rst', encoding='utf8') as readme_file:
readme = readme_file.read()
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_de... | #!/usr/bin/env python
from setuptools import setup
import maxmindupdater
with open('README.rst') as readme_file:
readme = readme_file.read().decode('utf8')
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_description=readme,
auth... | <commit_before>#!/usr/bin/env python
from setuptools import setup
import maxmindupdater
with open('README.rst') as readme_file:
readme = readme_file.read().decode('utf8')
setup(
name=maxmindupdater.__name__,
version=maxmindupdater.__version__,
description=maxmindupdater.__doc__,
long_description=r... |
ce606a9dfce7506da0072832cb5ea7c96163d582 | setup.py | setup.py | from distutils.core import setup
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
license='MIT License',
description='Django QuerySet inspired interface to query list of dicts',
long_description=open('README.md').read()... | from distutils.core import setup
try:
long_desc = open('./README.md').read()
except IOError:
long_desc = 'See: https://github.com/naiquevin/lookupy/blob/master/README.md'
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
... | Handle building the package in absence of README.md | Handle building the package in absence of README.md
| Python | mit | naiquevin/lookupy | from distutils.core import setup
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
license='MIT License',
description='Django QuerySet inspired interface to query list of dicts',
long_description=open('README.md').read()... | from distutils.core import setup
try:
long_desc = open('./README.md').read()
except IOError:
long_desc = 'See: https://github.com/naiquevin/lookupy/blob/master/README.md'
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
... | <commit_before>from distutils.core import setup
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
license='MIT License',
description='Django QuerySet inspired interface to query list of dicts',
long_description=open('REA... | from distutils.core import setup
try:
long_desc = open('./README.md').read()
except IOError:
long_desc = 'See: https://github.com/naiquevin/lookupy/blob/master/README.md'
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
... | from distutils.core import setup
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
license='MIT License',
description='Django QuerySet inspired interface to query list of dicts',
long_description=open('README.md').read()... | <commit_before>from distutils.core import setup
setup(
name='Lookupy',
version='0.1',
author='Vineet Naik',
author_email='naikvin@gmail.com',
packages=['lookupy',],
license='MIT License',
description='Django QuerySet inspired interface to query list of dicts',
long_description=open('REA... |
3f869e81a8c5e8f62146bc09b0c316fbc1327799 | setup.py | setup.py | form setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
license='Apache',
packages=['todo-man'])
| from setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
description='Grab TODOs in your source code them and put them into a markdown document',
license='Apache',
packages=['todo-man'])
| Fix typo in import statement | Fix typo in import statement
| Python | apache-2.0 | rylans/todo-man | form setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
license='Apache',
packages=['todo-man'])
Fix typo in import statement | from setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
description='Grab TODOs in your source code them and put them into a markdown document',
license='Apache',
packages=['todo-man'])
| <commit_before>form setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
license='Apache',
packages=['todo-man'])
<commit_msg>Fix typo in import statement<commit_after> | from setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
description='Grab TODOs in your source code them and put them into a markdown document',
license='Apache',
packages=['todo-man'])
| form setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
license='Apache',
packages=['todo-man'])
Fix typo in import statementfrom setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santin... | <commit_before>form setuptools import setup, find_packages
setup(name='todo-man',
version='0.0.1',
author='Rylan Santinon',
license='Apache',
packages=['todo-man'])
<commit_msg>Fix typo in import statement<commit_after>from setuptools import setup, find_packages
setup(name='todo-man',
ve... |
2cdb59c417d2a099744f629557307331bba8d706 | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial exte... | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial ext... | Add newline to make flake happy | Add newline to make flake happy
| Python | apache-2.0 | Bachmann1234/marshmallow-polyfield | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial exte... | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial ext... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An ... | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial ext... | #!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An unofficial exte... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), fname), 'r') as infile:
content = infile.read()
return content
setup(
name='marshmallow-polyfield',
version=3.1,
description='An ... |
572d990af00e4113b66e7fe06083032f70710874 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='confab',
version='0.2',
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
license='... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
version='0.2' + os.environ.get('BUILD_SUFFIX','')
setup(name='confab',
version=version,
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
... | Support .dev<N> extension to version via env var. | Support .dev<N> extension to version via env var.
| Python | apache-2.0 | locationlabs/confab | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='confab',
version='0.2',
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
license='... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
version='0.2' + os.environ.get('BUILD_SUFFIX','')
setup(name='confab',
version=version,
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='confab',
version='0.2',
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
version='0.2' + os.environ.get('BUILD_SUFFIX','')
setup(name='confab',
version=version,
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='confab',
version='0.2',
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
license='... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='confab',
version='0.2',
description='Configuration management with Fabric and Jinja2.',
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
... |
1c17410550c926960eab863c2c2e8dca63e92364 | setup.py | setup.py | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | Add Python 3.8 to supported versions | Add Python 3.8 to supported versions
| Python | mit | srittau/eventstreamd,srittau/eventstreamd | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | <commit_before>#!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("READ... | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | #!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("README.md"),
lo... | <commit_before>#!/usr/bin/env python3
import os.path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="eventstreamd",
version="0.6.1",
description="Simple Event Stream Server",
long_description=read("READ... |
b193cd6ffdb3343f8b5619962e275ffa63c55ed5 | setup.py | setup.py | import subprocess
from setuptools import setup
import startup
subprocess.check_call('./gen_manifest.sh')
setup(
name = 'startup',
version = startup.__version__,
description = 'A dependency graph resolver for program startup',
long_description = startup.__doc__,
author = startup.__author__,
... | import subprocess
from setuptools import setup
try:
import buildtools
except ImportError:
buildtools = None
import startup
subprocess.check_call('./gen_manifest.sh')
if buildtools:
cmdclass = {
'bdist_zipapp': buildtools.make_bdist_zipapp(main_optional=True),
}
else:
cmdclass = {}
se... | Support bdist_zipapp when buildtools is available | Support bdist_zipapp when buildtools is available
| Python | mit | clchiou/startup,clchiou/startup | import subprocess
from setuptools import setup
import startup
subprocess.check_call('./gen_manifest.sh')
setup(
name = 'startup',
version = startup.__version__,
description = 'A dependency graph resolver for program startup',
long_description = startup.__doc__,
author = startup.__author__,
... | import subprocess
from setuptools import setup
try:
import buildtools
except ImportError:
buildtools = None
import startup
subprocess.check_call('./gen_manifest.sh')
if buildtools:
cmdclass = {
'bdist_zipapp': buildtools.make_bdist_zipapp(main_optional=True),
}
else:
cmdclass = {}
se... | <commit_before>import subprocess
from setuptools import setup
import startup
subprocess.check_call('./gen_manifest.sh')
setup(
name = 'startup',
version = startup.__version__,
description = 'A dependency graph resolver for program startup',
long_description = startup.__doc__,
author = startup.... | import subprocess
from setuptools import setup
try:
import buildtools
except ImportError:
buildtools = None
import startup
subprocess.check_call('./gen_manifest.sh')
if buildtools:
cmdclass = {
'bdist_zipapp': buildtools.make_bdist_zipapp(main_optional=True),
}
else:
cmdclass = {}
se... | import subprocess
from setuptools import setup
import startup
subprocess.check_call('./gen_manifest.sh')
setup(
name = 'startup',
version = startup.__version__,
description = 'A dependency graph resolver for program startup',
long_description = startup.__doc__,
author = startup.__author__,
... | <commit_before>import subprocess
from setuptools import setup
import startup
subprocess.check_call('./gen_manifest.sh')
setup(
name = 'startup',
version = startup.__version__,
description = 'A dependency graph resolver for program startup',
long_description = startup.__doc__,
author = startup.... |
1f2c5b6e75224116b8c3a327aa739eed976ded11 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT L... | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT Licen... | Update pypi classifier to Alpha status | Update pypi classifier to Alpha status
| Python | mit | storborg/pyramid_es | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT L... | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT Licen... | <commit_before>from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Ap... | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT Licen... | from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT L... | <commit_before>from setuptools import setup, find_packages
setup(name='pyramid_es',
version='0.3.2.dev',
description='Elasticsearch integration for Pyramid.',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Ap... |
2f593f1581eaa4ec30c1a73a71bc8e0a52284441 | setup.py | setup.py | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.2',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.3',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | Install missing templatetags test package | Install missing templatetags test package
| Python | bsd-3-clause | texastribune/armstrong.base | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.2',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.3',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | <commit_before>from setuptools import setup
setup(
name='armstrong.base',
version='0.1.2',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
... | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.3',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | from setuptools import setup
setup(
name='armstrong.base',
version='0.1.2',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
'armstrong.base... | <commit_before>from setuptools import setup
setup(
name='armstrong.base',
version='0.1.2',
description='Base functionality that needs to be shared widely',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/armstrong.base/',
packages=[
... |
3299b0057ab79f81103128ec15f894f6e4c039a4 | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | Change the parser library requirement to reference master | Change the parser library requirement to reference master
| Python | mit | ministryofjustice/money-to-prisoners-transaction-uploader | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-tran... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-transaction-uploade... | <commit_before>import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='money-to-prisoners-tran... |
de11e989fd18c2565a99e8299f76eebe0fff8dc4 | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2,
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno",... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2",
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno"... | Fix missing quote after version number. | Fix missing quote after version number. | Python | mit | fastly/fastly-py,fastly/fastly-py | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2,
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno",... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2",
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno"... | <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2,
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
lic... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2",
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno"... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2,
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
license = "dunno",... | <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "fastly",
version = "0.0.2,
author = "Fastly?",
author_email="support@fastly.com",
description = ("Fastly python API"),
lic... |
46f0aa2f1dd219fa733b4e1e522c382d695ad8d6 | setup.py | setup.py | from distutils.core import setup
setup(
name='permission',
version='0.1.2',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple permission control for Python Web Frameworks.',
... | from distutils.core import setup
setup(
name='permission',
version='0.1.3',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple and flexible permission control for Flask app.',
... | Update description and bump version to 0.1.3 | Update description and bump version to 0.1.3
| Python | mit | hustlzp/permission | from distutils.core import setup
setup(
name='permission',
version='0.1.2',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple permission control for Python Web Frameworks.',
... | from distutils.core import setup
setup(
name='permission',
version='0.1.3',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple and flexible permission control for Flask app.',
... | <commit_before>from distutils.core import setup
setup(
name='permission',
version='0.1.2',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple permission control for Python Web ... | from distutils.core import setup
setup(
name='permission',
version='0.1.3',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple and flexible permission control for Flask app.',
... | from distutils.core import setup
setup(
name='permission',
version='0.1.2',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple permission control for Python Web Frameworks.',
... | <commit_before>from distutils.core import setup
setup(
name='permission',
version='0.1.2',
author='Zhipeng Liu',
author_email='hustlzp@qq.com',
url='https://github.com/hustlzp/permission',
packages=['permission'],
license='LICENSE',
description='Simple permission control for Python Web ... |
504d515f03fffdc999cc21a9615ea659a4e29f3b | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | Add twitter services to install since they work again | Add twitter services to install since they work again
| Python | mit | durden/frappy | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'fra... | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | #!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'frappy.services', ... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='Frappy',
version='0.1',
description='Framework for creating Web APIs in Python',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='http://github.com/durden/frappy',
packages=['frappy', 'fra... |
798808550be49e941d72044622ae920171611283 | setup.py | setup.py | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, "requirements.txt")
try:
with open(requirements_file, "r") as req_fp:
requires = req_fp.read()... | Include cmt in installed packages. | Include cmt in installed packages.
| Python | mit | csdms/coupling,csdms/coupling,csdms/pymt | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, "requirements.txt")
try:
with open(requirements_file, "r") as req_fp:
requires = req_fp.read()... | <commit_before>from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, "requirements.txt")
try:
with open(requirements_file, "r") as req_fp:
requires = req_fp.read()... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | <commit_before>from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires... |
0451c608525ee81e27c8f8ec78d31e50f0bed9d2 | box/models.py | box/models.py | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | Raise an exception when the API response is not successful | Raise an exception when the API response is not successful
| Python | apache-2.0 | rca/box | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | <commit_before>BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
... | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
"""
... | <commit_before>BASE_URL = 'https://api.box.com/2.0'
FOLDERS_URL = '{}/folders/{{}}/items'.format(BASE_URL)
MAX_FOLDERS = 1000
class Client(object):
def __init__(self, provider_logic):
"""
Box client constructor
:param provider_logic: oauthclient ProviderLogic instance
:return:
... |
32bbd11a910b9c1d686b2d41671f01390af3c36c | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | Remove versiontools dependency and change version number. | Remove versiontools dependency and change version number.
| Python | bsd-3-clause | jespino/django-sr | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespi... | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | # -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespinog@gmail.com",... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
description = """
Django settings resolver.
"""
setup(
name = "django-sr",
url = "https://github.com/jespino/django-sr",
author = "Jesús Espino",
author_email = "jespi... |
082dd34f8c9090f8bcb48b460e8ccc0e80aa205c | setup.py | setup.py | from distutils.core import setup
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(str(line.strip()))
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=requirements
) | from distutils.core import setup
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=open('requirements.txt', 'r').read().split()
) | Revert "Fixed reading of requirements from the file" | Revert "Fixed reading of requirements from the file"
This reverts commit 29be75d
| Python | mit | artreven/pp_api | from distutils.core import setup
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(str(line.strip()))
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=requirements
)Revert "Fixed read... | from distutils.core import setup
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=open('requirements.txt', 'r').read().split()
) | <commit_before>from distutils.core import setup
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(str(line.strip()))
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=requirements
)<co... | from distutils.core import setup
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=open('requirements.txt', 'r').read().split()
) | from distutils.core import setup
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(str(line.strip()))
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=requirements
)Revert "Fixed read... | <commit_before>from distutils.core import setup
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(str(line.strip()))
setup(
name='pp_api',
version='0.1dev',
packages=['pp_api', 'pp_api.server_data'],
license='MIT',
requires=requirements
)<co... |
d194c8e532b57956ef2a91f7d391b8f5a7d3c639 | setup.py | setup.py | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | Add Python 3 classifier trove | Add Python 3 classifier trove
| Python | bsd-3-clause | SideStudios/django-jsonfield | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | <commit_before>import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.... | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/d... | <commit_before>import os
from setuptools import setup
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.