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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7175712bd646a126747ec8ca7c7ce3cfe41bd007 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | Remove (no longer needed) dependency link for daploader | Remove (no longer needed) dependency link for daploader
| Python | agpl-3.0 | devassistant/dapi,devassistant/dapi,devassistant/dapi | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
'Django==1.6',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name='Dapi',
version='1.0',
description='DevAssistant Package Index',
author='Miro Hroncok',
author_email='[email protected]',
url='https://github.com/hroncok/dapi',
license='AGPLv3',
install_requires=[
... |
3e7624aeeff08eb03935b29286a754de59ea318d | setup.py | setup.py | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklogger',
version='... | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklog',
version='0.2... | Modify the name of package | Modify the name of package
| Python | mit | nkmrtty/SlackLogger | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklogger',
version='... | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklog',
version='0.2... | <commit_before>import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklogger'... | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklog',
version='0.2... | import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklogger',
version='... | <commit_before>import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name='slacklogger'... |
f9f65019230f8c694a61053d571093cd87db4950 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | Add instructions for uploading to pypitest | Add instructions for uploading to pypitest
| Python | mit | sonph/gdaxcli,sonph/gdaxcli | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | <commit_before>from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https:/... | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https://github.com/son... | <commit_before>from distutils.core import setup
setup(
name = 'gdaxcli',
packages = ['gdaxcli'],
version = '0.1',
description = 'Commandline client for trading on GDAX',
author = 'Son Pham',
author_email = '[email protected]',
url = 'https://github.com/sonph/gdaxcli',
download_url = 'https:/... |
6a4fa01005d1023e79bc5f214a14285727bb096b | setup.py | setup.py | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | Revert "Use include_package_data=True instead of manual package_data specification" | Revert "Use include_package_data=True instead of manual package_data specification"
This reverts commit e8458e83b7929340c73ae0308af28b5c8d18faac.
| Python | apache-2.0 | mesonbuild/wrapweb,mesonbuild/wrapweb,mesonbuild/wrapweb | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | <commit_before>#!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Mes... | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Meson development ... | <commit_before>#!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
if __name__ == '__main__':
setuptools.setup(
name='mesonwrap',
version='0.2.0',
author='The Mes... |
be85f552edf4eeeae5f4f2e53db0c03aa037970d | setup.py | setup.py | from setuptools import setup
setup(name='utf9',
version='0.2',
description='Encode and decode text with UTF-9 (IEEE RFC4042)',
install_requires=['bitarray'],
url='http://github.com/enricobacis/utf9',
author='Enrico Bacis',
author_email='[email protected]',
license='MIT',
... | from setuptools import setup
with open('README.rst') as README:
long_description = README.read()
long_description[long_description.index('Description'):]
setup(name='utf9',
version='0.3',
description='Encode and decode text using UTF-9.',
long_description=long_description,
install_requ... | Add long_description and bump to version 0.3 | Add long_description and bump to version 0.3
| Python | mit | enricobacis/utf9 | from setuptools import setup
setup(name='utf9',
version='0.2',
description='Encode and decode text with UTF-9 (IEEE RFC4042)',
install_requires=['bitarray'],
url='http://github.com/enricobacis/utf9',
author='Enrico Bacis',
author_email='[email protected]',
license='MIT',
... | from setuptools import setup
with open('README.rst') as README:
long_description = README.read()
long_description[long_description.index('Description'):]
setup(name='utf9',
version='0.3',
description='Encode and decode text using UTF-9.',
long_description=long_description,
install_requ... | <commit_before>from setuptools import setup
setup(name='utf9',
version='0.2',
description='Encode and decode text with UTF-9 (IEEE RFC4042)',
install_requires=['bitarray'],
url='http://github.com/enricobacis/utf9',
author='Enrico Bacis',
author_email='[email protected]',
... | from setuptools import setup
with open('README.rst') as README:
long_description = README.read()
long_description[long_description.index('Description'):]
setup(name='utf9',
version='0.3',
description='Encode and decode text using UTF-9.',
long_description=long_description,
install_requ... | from setuptools import setup
setup(name='utf9',
version='0.2',
description='Encode and decode text with UTF-9 (IEEE RFC4042)',
install_requires=['bitarray'],
url='http://github.com/enricobacis/utf9',
author='Enrico Bacis',
author_email='[email protected]',
license='MIT',
... | <commit_before>from setuptools import setup
setup(name='utf9',
version='0.2',
description='Encode and decode text with UTF-9 (IEEE RFC4042)',
install_requires=['bitarray'],
url='http://github.com/enricobacis/utf9',
author='Enrico Bacis',
author_email='[email protected]',
... |
8ab6e70e8c04936ee7c6608a97014b06856e7a2f | setup.py | setup.py | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
version='0.1.0',
description="Query the Kernel ARP cache for the MAC address "
"corresponding to IP ad... | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
author='Sebastian Schrader',
author_email='[email protected]',
url='https://github.com/sebschrader/pyt... | Add author and home page information | Add author and home page information
| Python | mit | sebschrader/python-arpreq,sebschrader/python-arpreq,sebschrader/python-arpreq,sebschrader/python-arpreq | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
version='0.1.0',
description="Query the Kernel ARP cache for the MAC address "
"corresponding to IP ad... | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
author='Sebastian Schrader',
author_email='[email protected]',
url='https://github.com/sebschrader/pyt... | <commit_before>from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
version='0.1.0',
description="Query the Kernel ARP cache for the MAC address "
"corresp... | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
author='Sebastian Schrader',
author_email='[email protected]',
url='https://github.com/sebschrader/pyt... | from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
version='0.1.0',
description="Query the Kernel ARP cache for the MAC address "
"corresponding to IP ad... | <commit_before>from setuptools import Extension, find_packages, setup
arpreq = Extension('arpreq', sources=['arpreq/arpreq.c'],
extra_compile_args=['-std=c99'])
setup(name='arpreq',
version='0.1.0',
description="Query the Kernel ARP cache for the MAC address "
"corresp... |
ae65aa843a2da11f4a237ce52de3b034826c40e8 | setup.py | setup.py | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | Exclude the tests directory when finding packages (for consistency and future-proofing). | Exclude the tests directory when finding packages (for consistency and future-proofing).
| Python | mit | LuminosoInsight/luminoso-api-client-python | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | <commit_before>#!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
... | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | #!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
]
GITHUB_URL =... | <commit_before>#!/usr/bin/env python
VERSION = "0.5.1"
from setuptools import setup, find_packages
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing :: Linguistic'
... |
64ecd6694bc1aeeece09a4b3485f53aee02e5962 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | Add some Python version classifiers | Add some Python version classifiers
| Python | bsd-3-clause | caktus/django-pagelets,caktus/django-pagelets,caktus/django-pagelets,caktus/django-pagelets | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
ur... | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
url='http://githu... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-pagelets',
version=__import__('pagelets').__version__,
author='Caktus Consulting Group',
author_email='[email protected]',
packages=find_packages(exclude=['sample_project']),
include_package_data=True,
ur... |
1e6bd140ebc2fbc4227af7859b3df47a6f876f95 | setup.py | setup.py | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(),
include_package_data=True,
version=version,
description='Custom TestCases and other test helpers fo... | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(exclude=['tests']),
include_package_data=True,
version=version,
description='Custom TestCases and othe... | Exclude tests folder from package | Exclude tests folder from package
| Python | bsd-2-clause | incuna/incuna-test-utils,incuna/incuna-test-utils | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(),
include_package_data=True,
version=version,
description='Custom TestCases and other test helpers fo... | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(exclude=['tests']),
include_package_data=True,
version=version,
description='Custom TestCases and othe... | <commit_before>from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(),
include_package_data=True,
version=version,
description='Custom TestCases and other ... | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(exclude=['tests']),
include_package_data=True,
version=version,
description='Custom TestCases and othe... | from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(),
include_package_data=True,
version=version,
description='Custom TestCases and other test helpers fo... | <commit_before>from setuptools import find_packages, setup
version = '6.5.1'
extras_require = {
'images': [
'Pillow>=2.8.1,<2.9',
],
}
setup(
name='incuna-test-utils',
packages=find_packages(),
include_package_data=True,
version=version,
description='Custom TestCases and other ... |
ac000dab8aff1a80f20cc525bf799f6a9893dee3 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | Exclude 'spec' package from installation. | Exclude 'spec' package from installation.
This prevents some weird behavior when running
specs for another package because mamba will load
its own spec package since is first in the PYTHONPATH.
| Python | mit | eferro/mamba,angelsanz/mamba,alejandrodob/mamba,nestorsalceda/mamba,dex4er/mamba,jaimegildesagredo/mamba,markng/mamba | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').re... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').read(),
cla... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from mamba import __version__
setup(name='mamba',
version=__version__,
description="The definitive testing tool for Python. Born under the banner of Behavior Driven Development.",
long_description=open('README.md').re... |
14a706fe52d3bc316fc5d3a130824b7353e9efed | setup.py | setup.py | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | Add minidump and xbe backends to extras_require | Add minidump and xbe backends to extras_require
| Python | bsd-2-clause | angr/cle | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | <commit_before>try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().stri... | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | <commit_before>try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().stri... |
3b21b6e9edf19edc6569e383e708965a17c2ce0b | setup.py | setup.py | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | Set the version to 1.1.0 | Set the version to 1.1.0
| Python | mit | xgfone/pycom,xgfone/xutils | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | <commit_before>import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",... | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="1... | <commit_before>import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",... |
e23fe0e2e0d4cd3ddc01e4292a3d757963979472 | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | Fix static data missing if not installed in dev mode | Fix static data missing if not installed in dev mode
| Python | agpl-3.0 | openfun/xblock-utils2,open-craft/xblock-utils,open-craft/xblock-utils,openfun/xblock-utils2,edx/xblock-utils,edx/xblock-utils,edx/xblock-utils,openfun/xblock-utils2,open-craft/xblock-utils | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | <commit_before># -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either ... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of th... | <commit_before># -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 edX
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either ... |
06820a8be62577448dbd5e77cb28ce51f9960869 | setup.py | setup.py | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10-pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10_pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | Make whisper build a usable RPM via bdist_RPM | Make whisper build a usable RPM via bdist_RPM
| Python | apache-2.0 | cbowman0/whisper,jjneely/whisper,graphite-server/whisper,graphite-project/whisper,piotr1212/whisper,obfuscurity/whisper,deniszh/whisper,acdha/whisper,akbooer/whisper,penpen/whisper,kerlandsson/whisper,alexandreboisvert/whisper | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10-pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10_pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | <commit_before>#!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10-pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed siz... | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10_pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | #!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10-pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed size round-robin s... | <commit_before>#!/usr/bin/env python
import os
from glob import glob
from distutils.core import setup
setup(
name='whisper',
version='0.9.10-pre2',
url='https://launchpad.net/graphite',
author='Chris Davis',
author_email='[email protected]',
license='Apache Software License 2.0',
description='Fixed siz... |
5651b1a790d1c37162d328ece8673616f8d4bc98 | setup.py | setup.py | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | Remove double install hashlib module. It's a prereq of flask. | Remove double install hashlib module. It's a prereq of flask.
| Python | apache-2.0 | erprice/fes,erprice/fes | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='f... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='fes',
versi... | <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='f... |
052765f6e5e9b95ad18d15931d05716b720ca73d | setup.py | setup.py | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | Add classifiers for supported Python versions. | Add classifiers for supported Python versions. | Python | lgpl-2.1 | smarkets/statprof,bos/statprof.py | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | <commit_before>#!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan"... | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | #!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan",
author_em... | <commit_before>#!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.2",
author="Bryan O'Sullivan"... |
542ab347d5a0195c88be212d966253d4385b8af5 | api.py | api.py | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | Allow messages to come in through GET | Allow messages to come in through GET
| Python | mit | misterwilliam/gae-channels-sample,misterwilliam/gae-channels-sample,misterwilliam/gae-channels-sample | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | <commit_before>import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2... | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2.RequestHandler... | <commit_before>import webapp2
from google.appengine.api import channel
from google.appengine.api import users
open_channels = set()
class ChannelDidConnect(webapp2.RequestHandler):
def post(self):
print "Got connection"
open_channels.add(self.request.get("from"))
class ChannelDisconnect(webapp2... |
5a8ba813dc3dc40044f2fe9365dfde477edc4f6f | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.0',
packages=['pagerduty'],... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.1',
packages=['pagerduty'],... | Fix package data and bump to 0.2.1 | Fix package data and bump to 0.2.1
| Python | mit | kfdm-archive/django-pager-duty | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.0',
packages=['pagerduty'],... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.1',
packages=['pagerduty'],... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.0',
packages... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.1',
packages=['pagerduty'],... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.0',
packages=['pagerduty'],... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-pager-duty',
description='PagerDuty Filtering and On Call Display',
author='Paul Traylor',
url='http://github.com/kfdm/django-pager-duty/',
version='0.2.0',
packages... |
29bb9a9298136475138962bb63f0305e9221628f | setup.py | setup.py | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | Upgrade minimum Django version past security vulnerability | Upgrade minimum Django version past security vulnerability | Python | bsd-3-clause | consbio/tablo | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
inst... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.3.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
inst... |
8bc57a3a09709f8c12bfa98869674680483b162c | setup.py | setup.py | from distutils.core import setup
setup(
name="datafork",
version="0.0.1",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience ::... | from distutils.core import setup
setup(
name="datafork",
version="dev",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: D... | Set the mainline version to "dev". | Set the mainline version to "dev".
Rather than constantly upping the version number in the master branch,
we'll just set it to "dev" and set version numbers only in tags so that
we can easily spot the difference between a build from master and an
actual release.
| Python | mit | apparentlymart/python-datafork | from distutils.core import setup
setup(
name="datafork",
version="0.0.1",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience ::... | from distutils.core import setup
setup(
name="datafork",
version="dev",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: D... | <commit_before>from distutils.core import setup
setup(
name="datafork",
version="0.0.1",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Inten... | from distutils.core import setup
setup(
name="datafork",
version="dev",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: D... | from distutils.core import setup
setup(
name="datafork",
version="0.0.1",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience ::... | <commit_before>from distutils.core import setup
setup(
name="datafork",
version="0.0.1",
description="Forkable global state",
packages=['datafork'],
author="Martin Atkins",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Inten... |
c12b0e1c3253f17b71cbb4095c83c73d0f2ea188 | setup.py | setup.py | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | Add rtrssmgr command entry point | Add rtrssmgr command entry point
| Python | apache-2.0 | notapresent/rtrss,notapresent/rtrss,notapresent/rtrss,notapresent/rtrss | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | <commit_before>"""
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://g... | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | """
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://github.com/notap... | <commit_before>"""
RTRSS
-----
RSS feeds for popular bittorrent tracker
"""
from setuptools import setup
with open('reqs/production.txt') as f:
_requirements = f.read().splitlines()
setup(
name='rtrss',
version='0.3',
author='notapresent',
author_email='[email protected]',
url='https://g... |
c69b7b80c75e170f1b83d1204fb531544a9fc831 | rpifake/__init__.py | rpifake/__init__.py | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
print('Warning, not in RPi, using mock GPIO')
# Idea taken from RPLCD who commented it as being from:
# reddit.com/r/Python/comments/5eddp5/mock_testing_rpigpio
import mock
from... | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
import sys
import mock
from .gpio import Gpio as FakeGpio
MockRPi = mock.MagicMock()
MockRPi.GPIO = FakeGpio()
modules = {
'RPi': MockRPi,
'RPi.GPIO': MockRP... | Make override more global, not just within patch scope | Make override more global, not just within patch scope
| Python | mit | rfarley3/lcd-restful,rfarley3/lcd-restful | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
print('Warning, not in RPi, using mock GPIO')
# Idea taken from RPLCD who commented it as being from:
# reddit.com/r/Python/comments/5eddp5/mock_testing_rpigpio
import mock
from... | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
import sys
import mock
from .gpio import Gpio as FakeGpio
MockRPi = mock.MagicMock()
MockRPi.GPIO = FakeGpio()
modules = {
'RPi': MockRPi,
'RPi.GPIO': MockRP... | <commit_before># After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
print('Warning, not in RPi, using mock GPIO')
# Idea taken from RPLCD who commented it as being from:
# reddit.com/r/Python/comments/5eddp5/mock_testing_rpigpio
impor... | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
import sys
import mock
from .gpio import Gpio as FakeGpio
MockRPi = mock.MagicMock()
MockRPi.GPIO = FakeGpio()
modules = {
'RPi': MockRPi,
'RPi.GPIO': MockRP... | # After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
print('Warning, not in RPi, using mock GPIO')
# Idea taken from RPLCD who commented it as being from:
# reddit.com/r/Python/comments/5eddp5/mock_testing_rpigpio
import mock
from... | <commit_before># After this function, any futher calls to import RPi.GPIO
# will instead import .gpio.Gpio instead
def patch_fake_gpio():
print('Warning, not in RPi, using mock GPIO')
# Idea taken from RPLCD who commented it as being from:
# reddit.com/r/Python/comments/5eddp5/mock_testing_rpigpio
impor... |
9a2e56c5721fad4df75339feac6676897f40ac01 | src/tpn/data_io.py | src/tpn/data_io.py | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | Enable zip64 to store tracks larger than 2GB. | Enable zip64 to store tracks larger than 2GB.
| Python | mit | myfavouritekk/TPN | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | <commit_before>#!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy ar... | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | #!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy array
}
"""
d... | <commit_before>#!/usr/bin/env python
import zipfile
import cPickle
import numpy as np
"""
track_obj: {
frames: 1 by n numpy array,
anchors: 1 by n numpy array,
features: m by n numpy array,
scores: c by n numpy array,
boxes: 4 by n numpy array,
rois: 4 by n numpy ar... |
59d44ba76a9b2f98375fa2f893dabc0376de6f82 | localeurl/models.py | localeurl/models.py | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.pop(
'locale', translation.get_language()... | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from django.contrib.auth import views as auth_views
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.... | Patch redirect_to_login to maintain locale | Patch redirect_to_login to maintain locale
Signed-off-by: Simon Luijk <[email protected]>
| Python | mit | simonluijk/django-localeurl | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.pop(
'locale', translation.get_language()... | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from django.contrib.auth import views as auth_views
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.... | <commit_before>from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.pop(
'locale', translation... | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from django.contrib.auth import views as auth_views
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.... | from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.pop(
'locale', translation.get_language()... | <commit_before>from django.conf import settings
from django.core import urlresolvers
from django.utils import translation
from localeurl import utils
def reverse(*args, **kwargs):
reverse_kwargs = kwargs.get('kwargs') or {}
locale = utils.supported_language(reverse_kwargs.pop(
'locale', translation... |
7cd3cc1a6a023a093c9c6d8df4dd1b9d6c871faa | auto/src/rabird/auto/mouse_xdotool.py | auto/src/rabird/auto/mouse_xdotool.py | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
p = subprocess.Popen(["xdotool", "getmouselocation"], stdou... | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
output = subprocess.check_output(["xdotool", "getmouselocat... | Convert all os.system() to subprocess.check_output(). | Convert all os.system() to subprocess.check_output().
| Python | apache-2.0 | starofrainnight/rabird.core,starofrainnight/rabird.auto | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
p = subprocess.Popen(["xdotool", "getmouselocation"], stdou... | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
output = subprocess.check_output(["xdotool", "getmouselocat... | <commit_before>'''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
p = subprocess.Popen(["xdotool", "getmouselo... | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
output = subprocess.check_output(["xdotool", "getmouselocat... | '''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
p = subprocess.Popen(["xdotool", "getmouselocation"], stdou... | <commit_before>'''
@date 2015-02-21
@author Hong-She Liang <[email protected]>
'''
import os
import re
import subprocess
from .mouse_constant import *
class Mouse(object):
## return current mouse absolute position
@classmethod
def position(cls):
p = subprocess.Popen(["xdotool", "getmouselo... |
ad069a50ec7a4b4e6b1dac679e071279e128c824 | been/source/markdowndirectory.py | been/source/markdowndirectory.py | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | Allow MarkdownDirectory events to specify author. | Allow MarkdownDirectory events to specify author.
| Python | bsd-3-clause | chromakode/been | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | <commit_before>from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(... | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(re.sub('[^\w\s-... | <commit_before>from been.core import DirectorySource, source_registry
from hashlib import sha1
import re
import unicodedata
import time
import markdown
# slugify from Django source (BSD license)
def slugify(value):
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore')
value = unicode(... |
f286dc748670c67845df226ca7d400e745dd502f | awx/main/notifications/email_backend.py | awx/main/notifications/email_backend.py | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | Fix an issue with the email notifier | Fix an issue with the email notifier
Incorrect body format assumptions in the email notifier
| Python | apache-2.0 | wwitzel3/awx,snahelou/awx,wwitzel3/awx,wwitzel3/awx,snahelou/awx,snahelou/awx,snahelou/awx,wwitzel3/awx | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | <commit_before># Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
... | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | # Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
"port": {"la... | <commit_before># Copyright (c) 2016 Ansible, Inc.
# All Rights Reserved.
import pprint
from django.utils.encoding import smart_text
from django.core.mail.backends.smtp import EmailBackend
class CustomEmailBackend(EmailBackend):
init_parameters = {"host": {"label": "Host", "type": "string"},
... |
945e8a256e384ed441fc8f9ec4cf15743ecf5b22 | snakeeyes/tests/conftest.py | snakeeyes/tests/conftest.py | import pytest
from snakeeyes.app import create_app
@pytest.yield_fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = ... | import pytest
from snakeeyes.app import create_app
@pytest.fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = create... | Fix deprecration warnings for pytest | Fix deprecration warnings for pytest
| Python | mit | nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask | import pytest
from snakeeyes.app import create_app
@pytest.yield_fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = ... | import pytest
from snakeeyes.app import create_app
@pytest.fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = create... | <commit_before>import pytest
from snakeeyes.app import create_app
@pytest.yield_fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
... | import pytest
from snakeeyes.app import create_app
@pytest.fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = create... | import pytest
from snakeeyes.app import create_app
@pytest.yield_fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
}
_app = ... | <commit_before>import pytest
from snakeeyes.app import create_app
@pytest.yield_fixture(scope='session')
def app():
"""
Setup our flask test app, this only gets executed once.
:return: Flask app
"""
params = {
'DEBUG': False,
'TESTING': True,
'WTF_CSRF_ENABLED': False
... |
ae1c6c020225423bcfaff5b3c830345467d87b2d | tedx/views.py | tedx/views.py | from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_registration(request):
if request.method == 'POST':
form = RegistrationForm(request.POST... | from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.http import HttpResponseRedirect
from django.shortcuts import render
from clubs.models import Team
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_regis... | Add permission check for TEDx | Add permission check for TEDx
| Python | agpl-3.0 | osamak/student-portal,enjaz/enjaz,osamak/student-portal,osamak/student-portal,enjaz/enjaz,osamak/student-portal,osamak/student-portal,enjaz/enjaz,enjaz/enjaz,enjaz/enjaz | from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_registration(request):
if request.method == 'POST':
form = RegistrationForm(request.POST... | from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.http import HttpResponseRedirect
from django.shortcuts import render
from clubs.models import Team
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_regis... | <commit_before>from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_registration(request):
if request.method == 'POST':
form = RegistrationFo... | from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.http import HttpResponseRedirect
from django.shortcuts import render
from clubs.models import Team
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_regis... | from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_registration(request):
if request.method == 'POST':
form = RegistrationForm(request.POST... | <commit_before>from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from .forms import RegistrationForm
from .models import Registration
import utils
def handle_registration(request):
if request.method == 'POST':
form = RegistrationFo... |
7c9648107a4b3e9c06954b794b76675e32f458f4 | calicoctl/calico_ctl/__init__.py | calicoctl/calico_ctl/__init__.py | __version__ = "0.15.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.10.0-dev"
__felix_version__ = "1.3.0a6-dev"
| __version__ = "0.16.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.11.0-dev"
__felix_version__ = "1.3.0a6-dev"
| Update docs to version v0.16.0 | Update docs to version v0.16.0
| Python | apache-2.0 | TrimBiggs/calico-containers,caseydavenport/calico-docker,TrimBiggs/calico-docker,caseydavenport/calico-docker,projectcalico/calico-docker,projectcalico/calico-containers,caseydavenport/calico-containers,quater/calico-containers,Metaswitch/calico-docker,caseydavenport/calico-containers,Metaswitch/calico-docker,projectca... | __version__ = "0.15.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.10.0-dev"
__felix_version__ = "1.3.0a6-dev"
Update docs to version v0.16.0 | __version__ = "0.16.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.11.0-dev"
__felix_version__ = "1.3.0a6-dev"
| <commit_before>__version__ = "0.15.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.10.0-dev"
__felix_version__ = "1.3.0a6-dev"
<commit_msg>Update docs to version v0.16.0<commit_after> | __version__ = "0.16.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.11.0-dev"
__felix_version__ = "1.3.0a6-dev"
| __version__ = "0.15.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.10.0-dev"
__felix_version__ = "1.3.0a6-dev"
Update docs to version v0.16.0__version__ = "0.16.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.11.0-dev"
__felix_version__ = "1.3.0a6-dev"
| <commit_before>__version__ = "0.15.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.10.0-dev"
__felix_version__ = "1.3.0a6-dev"
<commit_msg>Update docs to version v0.16.0<commit_after>__version__ = "0.16.0-dev"
__libnetwork_plugin_version__ = "v0.7.0-dev"
__libcalico_version__ = "v0.11.0-... |
52138f389d5b8ef3e2cd25179716b36170b94242 | packages/dash-html-components/dash_html_components/__init__.py | packages/dash-html-components/dash_html_components/__init__.py | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(... | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, 'metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(1).f_gl... | Load metadata path from current directory | Load metadata path from current directory
| Python | mit | plotly/dash,plotly/dash,plotly/dash,plotly/dash,plotly/dash | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(... | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, 'metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(1).f_gl... | <commit_before>import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
... | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, 'metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(1).f_gl... | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(... | <commit_before>import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
... |
a47ab820870caebcc00daf32531cfad3abd2e532 | src/engine/SCons/Platform/darwin.py | src/engine/SCons/Platform/darwin.py | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001, 2002, 2003, 2004 Steven Knight
#
# Permi... | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# __COPYRIGHT__
#
# Permission is hereby granted, free of char... | Fix __COPYRIGHT__ and __REVISION__ in new Darwin module. | Fix __COPYRIGHT__ and __REVISION__ in new Darwin module.
| Python | mit | andrewyoung1991/scons,timj/scons,timj/scons,andrewyoung1991/scons,andrewyoung1991/scons,timj/scons,andrewyoung1991/scons,timj/scons,andrewyoung1991/scons,timj/scons,andrewyoung1991/scons,timj/scons,andrewyoung1991/scons,andrewyoung1991/scons,timj/scons,timj/scons,andrewyoung1991/scons,timj/scons | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001, 2002, 2003, 2004 Steven Knight
#
# Permi... | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# __COPYRIGHT__
#
# Permission is hereby granted, free of char... | <commit_before>"""engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001, 2002, 2003, 2004 Steven K... | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# __COPYRIGHT__
#
# Permission is hereby granted, free of char... | """engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001, 2002, 2003, 2004 Steven Knight
#
# Permi... | <commit_before>"""engine.SCons.Platform.darwin
Platform-specific initialization for Mac OS X systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001, 2002, 2003, 2004 Steven K... |
a2430b67423ce036d2a96541e86d356ace04db69 | Twitch/cogs/words.py | Twitch/cogs/words.py |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... | Use f-string for define command | [TwitchIO] Use f-string for define command
| Python | mit | Harmon758/Harmonbot,Harmon758/Harmonbot |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... | <commit_before>
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot... |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... |
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot.WORDNIK_API_KE... | <commit_before>
from twitchio.ext import commands
@commands.cog()
class Words:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def audiodefine(self, ctx, word):
url = f"http://api.wordnik.com:80/v4/word.json/{word}/audio"
params = {"useCanonical": "false", "limit": 1, "api_key": self.bot... |
7be606951b22d77a53274d014cd94aae30af93f5 | samples/oauth2_for_devices.py | samples/oauth2_for_devices.py | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | Fix example to be Python3 compatible, use format() | Fix example to be Python3 compatible, use format()
Both print() and format() are compatible from 2.6. Also, format() is much nicer to use for internationalization since you can define the location of your substitutions. It works similarly to Java and .net's format() as well. Great stuff!
Should I tackle the other e... | Python | apache-2.0 | googleapis/oauth2client,jonparrott/oauth2client,google/oauth2client,jonparrott/oauth2client,clancychilds/oauth2client,googleapis/oauth2client,google/oauth2client,clancychilds/oauth2client | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | <commit_before># -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCO... | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | # -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCOPES = ("https:/... | <commit_before># -*- coding: utf-8 -*-
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
import httplib2
from six.moves import input
from oauth2client.client import OAuth2WebServerFlow
from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"
SCO... |
033ee318e6694ca4b251adf759d8cb62a100fdca | tickertape.py | tickertape.py | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ')
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', 'GOOG'... | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ', pins)
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', ... | Improve ctrl-c handling. Fix the clear-display line. | Improve ctrl-c handling. Fix the clear-display line.
| Python | mit | zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ')
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', 'GOOG'... | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ', pins)
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', ... | <commit_before>#!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ')
symbols = ['AAPL', 'MSFT', 'F', 'T... | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ', pins)
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', ... | #!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ')
symbols = ['AAPL', 'MSFT', 'F', 'T', 'KO', 'GOOG'... | <commit_before>#!/usr/bin/env python
"""Display stock quotes on LEDs."""
import RPi.GPIO as GPIO
from seven_segment import print_leds
from ystockquote import get_price, get_change
pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)
print_leds(' ')
symbols = ['AAPL', 'MSFT', 'F', 'T... |
2f2695b9a63de7c6695036c34c2db129c22d244a | example_project/manage.py | example_project/manage.py | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.5 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.8 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | Update required version of guardian in example project | Update required version of guardian in example project
| Python | bsd-2-clause | rmgorman/django-guardian,lukaszb/django-guardian,rmgorman/django-guardian,lukaszb/django-guardian,benkonrath/django-guardian,lukaszb/django-guardian,benkonrath/django-guardian,rmgorman/django-guardian,benkonrath/django-guardian | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.5 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.8 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | <commit_before>#!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.5 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", ... | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.8 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | #!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.5 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
... | <commit_before>#!/usr/bin/env python
import django
import os
import sys
if django.VERSION < (1, 5):
sys.stderr.write("ERROR: guardian's example project must be run with "
"Django 1.5 or later!\n")
sys.exit(1)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", ... |
18b4d5196fe18479e4aedfaa9030e5ba443d6a85 | test_input/test70.py | test_input/test70.py | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | Fix a problem reported by Greg Ward and pointed out by John Machin when doing: | Fix a problem reported by Greg Ward and pointed out by John Machin when doing:
return (need_quotes) and ('"%s"' % text) or (text)
The following warning was generated:
Using a conditional statement with a constant value ("%s")
This was because even the stack wasn't modified after a BINARY_MODULO
to s... | Python | bsd-3-clause | mitar/pychecker,mitar/pychecker | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | <commit_before>'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
p... | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | 'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
pass
while 1... | <commit_before>'test checking constant conditions'
# __pychecker__ = ''
def func1(x):
'should not produce a warning'
if 1:
pass
while 1:
print x
break
assert x, 'test'
return 0
def func2(x):
'should produce a warning'
__pychecker__ = 'constant1'
if 1:
p... |
1f7f058d97c6599401558a280d85affed7fb5394 | testing/hdiv_proj.py | testing/hdiv_proj.py | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
f.project(as_vector([x[1], x[0]]))
r = Function(... | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
assemble(42*dot(v, FacetNormal(mesh))*ds, tensor=... | Update projection experiment for HDiv functions | Update projection experiment for HDiv functions
| Python | mit | thomasgibson/firedrake-hybridization | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
f.project(as_vector([x[1], x[0]]))
r = Function(... | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
assemble(42*dot(v, FacetNormal(mesh))*ds, tensor=... | <commit_before>from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
f.project(as_vector([x[1], x[0]]))... | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
assemble(42*dot(v, FacetNormal(mesh))*ds, tensor=... | from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
f.project(as_vector([x[1], x[0]]))
r = Function(... | <commit_before>from __future__ import absolute_import, print_function, division
from firedrake import *
mesh = UnitSquareMesh(2, 2)
RT = FiniteElement("RT", triangle, 1)
V = FunctionSpace(mesh, RT)
u = TrialFunction(V)
v = TestFunction(V)
f = Function(V)
x = SpatialCoordinate(mesh)
f.project(as_vector([x[1], x[0]]))... |
b172ee1c1ed76836e570e08f0624a456c07cc388 | get_max_audio.py | get_max_audio.py | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
# import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream... | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream =... | Use RMS for better filtering | Use RMS for better filtering | Python | bsd-2-clause | yan123/BitBox,yan123/QABox,yan123/QABox | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
# import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream... | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream =... | <commit_before>"""
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
# import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_fi... | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream =... | """
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
# import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_file)
audioStream... | <commit_before>"""
Test obtaining peak audio values with PyAV:
time python pyav_audio_vol.py ~/Videos/sample.mp4
Reference:
https://ffmpeg.org/doxygen/trunk/group__lavu__sampfmts.html
"""
import sys
import av
import numpy as np
# import matplotlib.pyplot as plt
video_file = sys.argv[1]
container = av.open(video_fi... |
0d90da8fca411033d66c3a82096a67e12fca830e | util/time_multi.py | util/time_multi.py | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | Add exitcode and segv check for timing util | Add exitcode and segv check for timing util
| Python | mit | reqshark/duktape,jmptrader/duktape,harold-b/duktape,chenyaqiuqiu/duktape,harold-b/duktape,nivertech/duktape,zeropool/duktape,harold-b/duktape,zeropool/duktape,harold-b/duktape,chenyaqiuqiu/duktape,jmptrader/duktape,harold-b/duktape,chenyaqiuqiu/duktape,kphillisjr/duktape,skomski/duktape,nivertech/duktape,skomski/duktap... | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | <commit_before>#!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))... | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | #!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))
p = subproce... | <commit_before>#!/usr/bin/python
#
# Small helper for perftest runs.
#
import os
import sys
import subprocess
def main():
count = int(sys.argv[1])
time_min = None
for i in xrange(count):
cmd = [
'time',
'-f', '%U',
'--quiet',
sys.argv[2], # cmd
sys.argv[3] # testcase
]
#print(repr(cmd))... |
3d7459f7b1d40bb94a64d3f08d41942feabf4c12 | manager/jobs/migrations/0003_auto_20200723_0219.py | manager/jobs/migrations/0003_auto_20200723_0219.py | # Generated by Django 3.0.8 on 2020-07-23 02:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.AlterField(
model_name='job',
name='id',
... | # Generated by Django 3.0.8 on 2020-07-23 02:19.
# Manually modified by Nokome Bentley on 2020-11-09 because the original
# `AlterField` operation was causing the following error on Postgres:
# django.db.utils.ProgrammingError: operator class "varchar_pattern_ops" does not accept data type bigint
# In production, tha... | Allow migration to run on Postgres | chore(Jobs): Allow migration to run on Postgres
| Python | apache-2.0 | stencila/hub,stencila/hub,stencila/hub,stencila/hub,stencila/hub | # Generated by Django 3.0.8 on 2020-07-23 02:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.AlterField(
model_name='job',
name='id',
... | # Generated by Django 3.0.8 on 2020-07-23 02:19.
# Manually modified by Nokome Bentley on 2020-11-09 because the original
# `AlterField` operation was causing the following error on Postgres:
# django.db.utils.ProgrammingError: operator class "varchar_pattern_ops" does not accept data type bigint
# In production, tha... | <commit_before># Generated by Django 3.0.8 on 2020-07-23 02:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.AlterField(
model_name='job',
name='id... | # Generated by Django 3.0.8 on 2020-07-23 02:19.
# Manually modified by Nokome Bentley on 2020-11-09 because the original
# `AlterField` operation was causing the following error on Postgres:
# django.db.utils.ProgrammingError: operator class "varchar_pattern_ops" does not accept data type bigint
# In production, tha... | # Generated by Django 3.0.8 on 2020-07-23 02:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.AlterField(
model_name='job',
name='id',
... | <commit_before># Generated by Django 3.0.8 on 2020-07-23 02:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.AlterField(
model_name='job',
name='id... |
5b8edee2b6fa13fc1b05e15961d8b7920e6f9739 | csunplugged/general/urls.py | csunplugged/general/urls.py | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^$", views.GeneralIndexView.as_view(), name="home"),
url(r"^about/$", views.GeneralAboutView.as_view(), name="about"),
url(r"^computational-thinking/$", views.ComputationalThinkingVie... | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(
r"^$",
views.GeneralIndexView.as_view(),
name="home"
),
url(
r"^about/$",
views.GeneralAboutView.as_view(),
name="about"
),
url(... | Update URLs file to match layout of other URLs files | Update URLs file to match layout of other URLs files
| Python | mit | uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^$", views.GeneralIndexView.as_view(), name="home"),
url(r"^about/$", views.GeneralAboutView.as_view(), name="about"),
url(r"^computational-thinking/$", views.ComputationalThinkingVie... | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(
r"^$",
views.GeneralIndexView.as_view(),
name="home"
),
url(
r"^about/$",
views.GeneralAboutView.as_view(),
name="about"
),
url(... | <commit_before>"""URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^$", views.GeneralIndexView.as_view(), name="home"),
url(r"^about/$", views.GeneralAboutView.as_view(), name="about"),
url(r"^computational-thinking/$", views.Computati... | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(
r"^$",
views.GeneralIndexView.as_view(),
name="home"
),
url(
r"^about/$",
views.GeneralAboutView.as_view(),
name="about"
),
url(... | """URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^$", views.GeneralIndexView.as_view(), name="home"),
url(r"^about/$", views.GeneralAboutView.as_view(), name="about"),
url(r"^computational-thinking/$", views.ComputationalThinkingVie... | <commit_before>"""URL routing for the general application."""
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^$", views.GeneralIndexView.as_view(), name="home"),
url(r"^about/$", views.GeneralAboutView.as_view(), name="about"),
url(r"^computational-thinking/$", views.Computati... |
48d18015b2cf55638cc7bda43ae3751789fa2323 | games/management/commands/autocreate_steamdb_installers.py | games/management/commands/autocreate_steamdb_installers.py | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | Update installer autocreate for games with no icon | Update installer autocreate for games with no icon
| Python | agpl-3.0 | lutris/website,lutris/website,lutris/website,Turupawn/website,Turupawn/website,Turupawn/website,Turupawn/website,lutris/website | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | <commit_before>import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
... | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
steam_runner = ... | <commit_before>import json
from django.core.management.base import BaseCommand
from games import models
from accounts.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
with open("steamdb.json") as steamdb_file:
steamdb = json.loads(steamdb_file.read())
... |
8b4a3741e8e88ae854cc7c075f752bc7238d0875 | lookupy/__init__.py | lookupy/__init__.py | """
lookupy
~~~~~~~
Lookupy is a Python library that provides a Django QuerySet like
interface to query (select and filter) data (list of dicts)
"""
from .lookupy import Collection, Q
__all__ = ["Collection", "Q"]
| Allow 'Collection' & 'Q' to be imported from pkg | Allow 'Collection' & 'Q' to be imported from pkg
| Python | mit | naiquevin/lookupy |
Allow 'Collection' & 'Q' to be imported from pkg | """
lookupy
~~~~~~~
Lookupy is a Python library that provides a Django QuerySet like
interface to query (select and filter) data (list of dicts)
"""
from .lookupy import Collection, Q
__all__ = ["Collection", "Q"]
| <commit_before>
<commit_msg>Allow 'Collection' & 'Q' to be imported from pkg<commit_after> | """
lookupy
~~~~~~~
Lookupy is a Python library that provides a Django QuerySet like
interface to query (select and filter) data (list of dicts)
"""
from .lookupy import Collection, Q
__all__ = ["Collection", "Q"]
|
Allow 'Collection' & 'Q' to be imported from pkg"""
lookupy
~~~~~~~
Lookupy is a Python library that provides a Django QuerySet like
interface to query (select and filter) data (list of dicts)
"""
from .lookupy import Collection, Q
__all__ = ["Collection", "Q"]
| <commit_before>
<commit_msg>Allow 'Collection' & 'Q' to be imported from pkg<commit_after>"""
lookupy
~~~~~~~
Lookupy is a Python library that provides a Django QuerySet like
interface to query (select and filter) data (list of dicts)
"""
from .lookupy import Collection, Q
__all__ = ["Collection", "Q"]
... | |
0c89a78d3a0574ef491d3695366cd786b4c3f950 | indico/migrations/versions/20200904_1543_f37d509e221c_add_user_profile_picture_column.py | indico/migrations/versions/20200904_1543_f37d509e221c_add_user_profile_picture_column.py | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
from indico.modules.users.models.users import ProfilePictureSource
# revision ide... | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
from enum import Enum
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
# revision identifiers, used by Alembic.
revision = 'f37d5... | Use embedded enum in alembic revision | Use embedded enum in alembic revision
Unlikely to matter here but like this it will work correctly even in a
future where someone may add new sources to the original enum (in that
case this particular revision should not add those newer ones, which
would be the case when using the imported enum)
| Python | mit | DirkHoffmann/indico,indico/indico,DirkHoffmann/indico,ThiefMaster/indico,indico/indico,indico/indico,pferreir/indico,ThiefMaster/indico,pferreir/indico,pferreir/indico,pferreir/indico,indico/indico,ThiefMaster/indico,DirkHoffmann/indico,DirkHoffmann/indico,ThiefMaster/indico | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
from indico.modules.users.models.users import ProfilePictureSource
# revision ide... | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
from enum import Enum
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
# revision identifiers, used by Alembic.
revision = 'f37d5... | <commit_before>"""Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
from indico.modules.users.models.users import ProfilePictureSource
... | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
from enum import Enum
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
# revision identifiers, used by Alembic.
revision = 'f37d5... | """Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
from indico.modules.users.models.users import ProfilePictureSource
# revision ide... | <commit_before>"""Add column for profile picture type to User
Revision ID: f37d509e221c
Revises: c997dc927fbc
Create Date: 2020-09-04 15:43:18.413156
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum
from indico.modules.users.models.users import ProfilePictureSource
... |
75fc7888cf4db89ae55324b325afc44452799cb3 | filesystems/interfaces.py | filesystems/interfaces.py | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __truediv__(other):
"""
Traverse to a child of this path.
"""
def __fspath__(... | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __fspath__():
"""
Render the path as a string.
"""
def __truediv__(other):
... | Fix the fspath interface and div docstring. | Fix the fspath interface and div docstring.
| Python | mit | Julian/Filesystems | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __truediv__(other):
"""
Traverse to a child of this path.
"""
def __fspath__(... | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __fspath__():
"""
Render the path as a string.
"""
def __truediv__(other):
... | <commit_before>from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __truediv__(other):
"""
Traverse to a child of this path.
"""
... | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __fspath__():
"""
Render the path as a string.
"""
def __truediv__(other):
... | from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __truediv__(other):
"""
Traverse to a child of this path.
"""
def __fspath__(... | <commit_before>from zope.interface import Interface
from filesystems import _PY3
class Path(Interface):
def __str__():
"""
Render the path as a string.
"""
if _PY3:
def __truediv__(other):
"""
Traverse to a child of this path.
"""
... |
26421bf58344f241452064ae0648d6eb9435d28a | vaje/vaje2.py | vaje/vaje2.py | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def exteuclid(m, n):
"""
Razširjeni Evklidov algoritem.
Vrača (g, a, b), kjer je g = gcd(m, n) in g = a*m + b*n.
Če je g = 1, velja a mod n = m^-1 mod... | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def karatsuba(m, n, b):
"""Množenje z metodo deli in vladaj"""
if b == 0:
return m*n
m1, m2 = m >> b, m & ~(-1 << b)
n1, n2 = n >> b, n & ~(-1 ... | Revert "Dodan razširjeni Evklidov algoritem" | Revert "Dodan razširjeni Evklidov algoritem"
This reverts commit d64e1391b49aca2cdf04d5b136d902bb7331a3f6.
| Python | mit | jaanos/PSA1,markun9/PSA1 | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def exteuclid(m, n):
"""
Razširjeni Evklidov algoritem.
Vrača (g, a, b), kjer je g = gcd(m, n) in g = a*m + b*n.
Če je g = 1, velja a mod n = m^-1 mod... | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def karatsuba(m, n, b):
"""Množenje z metodo deli in vladaj"""
if b == 0:
return m*n
m1, m2 = m >> b, m & ~(-1 << b)
n1, n2 = n >> b, n & ~(-1 ... | <commit_before># -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def exteuclid(m, n):
"""
Razširjeni Evklidov algoritem.
Vrača (g, a, b), kjer je g = gcd(m, n) in g = a*m + b*n.
Če je g = 1, velja a m... | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def karatsuba(m, n, b):
"""Množenje z metodo deli in vladaj"""
if b == 0:
return m*n
m1, m2 = m >> b, m & ~(-1 << b)
n1, n2 = n >> b, n & ~(-1 ... | # -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def exteuclid(m, n):
"""
Razširjeni Evklidov algoritem.
Vrača (g, a, b), kjer je g = gcd(m, n) in g = a*m + b*n.
Če je g = 1, velja a mod n = m^-1 mod... | <commit_before># -*- coding: utf-8 -*-
# Algoritmi z drugih vaj
def euclid(m, n):
"""Evklidov algoritem"""
while n != 0:
m, n = n, m % n
return m
def exteuclid(m, n):
"""
Razširjeni Evklidov algoritem.
Vrača (g, a, b), kjer je g = gcd(m, n) in g = a*m + b*n.
Če je g = 1, velja a m... |
944188858ed41ae43ef950649dc9e3aa9613b5d9 | amqpy/concurrency.py | amqpy/concurrency.py | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | Reduce warning time to 5s | Reduce warning time to 5s
| Python | mit | veegee/amqpy,gst/amqpy | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | <commit_before>import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the ... | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the `lock_name` :cl... | <commit_before>import logging
import time
from functools import wraps
from . import compat
compat.patch() # monkey-patch time.perf_counter
log = logging.getLogger('amqpy')
def synchronized(lock_name):
"""Decorator for automatically acquiring and releasing lock for method call
This decorator accesses the ... |
faf047e7ac3b9a703ffd76bd3c5de2e3ef5d93b6 | dear_astrid/test/test_rtm_importer.py | dear_astrid/test/test_rtm_importer.py | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | Change iteritems() to items() for future compatibility | Change iteritems() to items() for future compatibility
| Python | mit | rwstauner/dear_astrid,rwstauner/dear_astrid | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | <commit_before># pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
se... | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | # pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
self.patches = di... | <commit_before># pylint: disable=wildcard-import,unused-wildcard-import,missing-docstring
from __future__ import absolute_import
from unittest import TestCase
from nose.tools import *
from mock import *
from dear_astrid.rtm.importer import Importer as rtmimp
class TestRTMImport(TestCase):
def setUp(self):
se... |
27c3972a57e09faf35f86b82b35eb815dadc4688 | mediachain/reader/dynamo.py | mediachain/reader/dynamo.py | import boto3
def get_table(name):
dynamo = boto3.resource('dynamo')
return dynamo.Table(name)
def get_object(reference):
table = get_table('mediachain')
obj = table.get_item(Key={'multihash': reference})
byte_string = obj['Item']['data']
if byte_string is None:
raise KeyError('Could n... | import boto3
import cbor
def get_table(name):
dynamo = boto3.resource('dynamodb',
endpoint_url='http://localhost:8000',
region_name='us-east-1',
aws_access_key_id='',
aws_secret_access_key='')
return... | Make get_object pull appropriate fields | Make get_object pull appropriate fields
Temporarily set up dynamo to work internally
| Python | mit | mediachain/mediachain-client,mediachain/mediachain-client | import boto3
def get_table(name):
dynamo = boto3.resource('dynamo')
return dynamo.Table(name)
def get_object(reference):
table = get_table('mediachain')
obj = table.get_item(Key={'multihash': reference})
byte_string = obj['Item']['data']
if byte_string is None:
raise KeyError('Could n... | import boto3
import cbor
def get_table(name):
dynamo = boto3.resource('dynamodb',
endpoint_url='http://localhost:8000',
region_name='us-east-1',
aws_access_key_id='',
aws_secret_access_key='')
return... | <commit_before>import boto3
def get_table(name):
dynamo = boto3.resource('dynamo')
return dynamo.Table(name)
def get_object(reference):
table = get_table('mediachain')
obj = table.get_item(Key={'multihash': reference})
byte_string = obj['Item']['data']
if byte_string is None:
raise Ke... | import boto3
import cbor
def get_table(name):
dynamo = boto3.resource('dynamodb',
endpoint_url='http://localhost:8000',
region_name='us-east-1',
aws_access_key_id='',
aws_secret_access_key='')
return... | import boto3
def get_table(name):
dynamo = boto3.resource('dynamo')
return dynamo.Table(name)
def get_object(reference):
table = get_table('mediachain')
obj = table.get_item(Key={'multihash': reference})
byte_string = obj['Item']['data']
if byte_string is None:
raise KeyError('Could n... | <commit_before>import boto3
def get_table(name):
dynamo = boto3.resource('dynamo')
return dynamo.Table(name)
def get_object(reference):
table = get_table('mediachain')
obj = table.get_item(Key={'multihash': reference})
byte_string = obj['Item']['data']
if byte_string is None:
raise Ke... |
86ee90e0816a8d533ede916a5751ab69942dd48a | laynger.py | laynger.py | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) > 3:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) != 2:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | Work only with 2 colunms | Work only with 2 colunms | Python | mit | amaslenn/Laynger | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) > 3:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) != 2:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | <commit_before>#import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) > 3:
return
if opt == u'center':
layout['col... | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) != 2:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | #import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) > 3:
return
if opt == u'center':
layout['cols'][1] = 0.5
... | <commit_before>#import sublime
import sublime_plugin
class laynger(sublime_plugin.TextCommand):
def run(self, edit, opt='center'):
window = self.view.window()
layout = window.get_layout()
if len(layout['cols']) > 3:
return
if opt == u'center':
layout['col... |
9a38f329ab0f40f20e2dcb0e0acf0f29a2b4c1fd | tests_py3/px_test.py | tests_py3/px_test.py | import sys
from px import px
from unittest.mock import patch
def test_main():
args = ['px', '--install']
with patch("px.px.install") as install_mock:
px._main(args)
install_mock.assert_called_once_with(args)
with patch("px.px_top.top") as top_mock:
px._main(['px', '--top'])
... | import sys
from px import px
from unittest.mock import patch
@patch('px.px.install')
def test_cmdline_install(mock):
args = ['px', '--install']
px._main(args)
mock.assert_called_once_with(args)
@patch("px.px_top.top")
def test_cmdline_top(mock):
px._main(['px', '--top'])
mock.assert_called_once()... | Split command line tests into individuals | Split command line tests into individuals
| Python | mit | walles/px,walles/px | import sys
from px import px
from unittest.mock import patch
def test_main():
args = ['px', '--install']
with patch("px.px.install") as install_mock:
px._main(args)
install_mock.assert_called_once_with(args)
with patch("px.px_top.top") as top_mock:
px._main(['px', '--top'])
... | import sys
from px import px
from unittest.mock import patch
@patch('px.px.install')
def test_cmdline_install(mock):
args = ['px', '--install']
px._main(args)
mock.assert_called_once_with(args)
@patch("px.px_top.top")
def test_cmdline_top(mock):
px._main(['px', '--top'])
mock.assert_called_once()... | <commit_before>import sys
from px import px
from unittest.mock import patch
def test_main():
args = ['px', '--install']
with patch("px.px.install") as install_mock:
px._main(args)
install_mock.assert_called_once_with(args)
with patch("px.px_top.top") as top_mock:
px._main(['px', '... | import sys
from px import px
from unittest.mock import patch
@patch('px.px.install')
def test_cmdline_install(mock):
args = ['px', '--install']
px._main(args)
mock.assert_called_once_with(args)
@patch("px.px_top.top")
def test_cmdline_top(mock):
px._main(['px', '--top'])
mock.assert_called_once()... | import sys
from px import px
from unittest.mock import patch
def test_main():
args = ['px', '--install']
with patch("px.px.install") as install_mock:
px._main(args)
install_mock.assert_called_once_with(args)
with patch("px.px_top.top") as top_mock:
px._main(['px', '--top'])
... | <commit_before>import sys
from px import px
from unittest.mock import patch
def test_main():
args = ['px', '--install']
with patch("px.px.install") as install_mock:
px._main(args)
install_mock.assert_called_once_with(args)
with patch("px.px_top.top") as top_mock:
px._main(['px', '... |
3f764874dbb805d661d38719bb4e78b6a52f9f79 | parser/timestamp.py | parser/timestamp.py | from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:type datetime: datetime
:param datetime: datetime object to convert to string
:return: serialized datetime
:rtype... | from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:return: serialized datetime
:rtype: str
"""
return datetime.now().strftime(DT_FORMAT)
| Remove docs for non-existing function parameters | Remove docs for non-existing function parameters
| Python | mit | m4tx/techswarm-receiver | from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:type datetime: datetime
:param datetime: datetime object to convert to string
:return: serialized datetime
:rtype... | from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:return: serialized datetime
:rtype: str
"""
return datetime.now().strftime(DT_FORMAT)
| <commit_before>from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:type datetime: datetime
:param datetime: datetime object to convert to string
:return: serialized date... | from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:return: serialized datetime
:rtype: str
"""
return datetime.now().strftime(DT_FORMAT)
| from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:type datetime: datetime
:param datetime: datetime object to convert to string
:return: serialized datetime
:rtype... | <commit_before>from datetime import datetime
DT_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
def get_timestamp():
"""
Serialize actual datetime provided as simplified ISO 8601 (without timezone)
string
:type datetime: datetime
:param datetime: datetime object to convert to string
:return: serialized date... |
9c36417af3364b77853b62d9a924d5693e44dce0 | fabfile.py | fabfile.py | # -*- coding: UTF-8 -*-
from fabric.api import *
#def dev()
#def prod()
#def setup_host()
def hello():
print("Hello world!")
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python ma... | # -*- coding: UTF-8 -*-
from fabric.api import *
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python manage.py test")
def clean_test():
clean_db()
test()
| Remove noob fab method :-) | Remove noob fab method :-)
| Python | bsd-3-clause | rinfo/fst,kamidev/autobuild_fst,kamidev/autobuild_fst,rinfo/fst,kamidev/autobuild_fst,rinfo/fst,kamidev/autobuild_fst,rinfo/fst | # -*- coding: UTF-8 -*-
from fabric.api import *
#def dev()
#def prod()
#def setup_host()
def hello():
print("Hello world!")
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python ma... | # -*- coding: UTF-8 -*-
from fabric.api import *
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python manage.py test")
def clean_test():
clean_db()
test()
| <commit_before># -*- coding: UTF-8 -*-
from fabric.api import *
#def dev()
#def prod()
#def setup_host()
def hello():
print("Hello world!")
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
l... | # -*- coding: UTF-8 -*-
from fabric.api import *
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python manage.py test")
def clean_test():
clean_db()
test()
| # -*- coding: UTF-8 -*-
from fabric.api import *
#def dev()
#def prod()
#def setup_host()
def hello():
print("Hello world!")
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
local("python ma... | <commit_before># -*- coding: UTF-8 -*-
from fabric.api import *
#def dev()
#def prod()
#def setup_host()
def hello():
print("Hello world!")
def clean_db():
local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
def test():
l... |
1ba61fc10e2d77f16314da74b5346ddaa7fc9500 | sendinel/backend/scheduler.py | sendinel/backend/scheduler.py | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | Debug prints should show something. | Debug prints should show something.
| Python | mit | Sendinel/Sendinel,Sendinel/Sendinel,Sendinel/Sendinel,Sendinel/Sendinel | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | <commit_before>import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
... | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
.... | <commit_before>import time
from datetime import datetime
from django.core.management import setup_environ
from sendinel import settings
setup_environ(settings)
from sendinel.backend.models import ScheduledEvent
def run(run_only_one_time = False):
while True:
dueEvents = ScheduledEvent.objects \
... |
c94598b8ce59b98213367b54164b1051d56a28da | scene.py | scene.py | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | Allow to set render samples | Allow to set render samples
| Python | mit | josuemontano/blender_wrapper | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | <commit_before>import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.sc... | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.scene.render.engi... | <commit_before>import bpy
class Scene:
"""Scene object"""
def __init__(self, filepath, render_engine='CYCLES'):
self.filepath = filepath
self.render_engine = 'CYCLES'
def setup(self):
self._cleanup()
bpy.context.scene.render.filepath = self.filepath
bpy.context.sc... |
4aa4a52adc2b4cdf9e021a4191211c47763a9962 | setup.py | setup.py | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | Set download_url to pypi directory. | Set download_url to pypi directory. | Python | bsd-2-clause | ancat/python-iptools,malonlabe/python-iptools,timmerk/python-iptools | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name =... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name =... |
9bc09627813c446bc5e155f92a2f03a7bde56d88 | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
version = '0.1.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | from setuptools import setup, find_packages
import sys, os
version = '0.2.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | Prepare for the next development cycle | Prepare for the next development cycle
| Python | mit | keithschulze/mytardisbf | from setuptools import setup, find_packages
import sys, os
version = '0.1.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | from setuptools import setup, find_packages
import sys, os
version = '0.2.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.1.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
c... | from setuptools import setup, find_packages
import sys, os
version = '0.2.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | from setuptools import setup, find_packages
import sys, os
version = '0.1.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
classifiers=[], ... | <commit_before>from setuptools import setup, find_packages
import sys, os
version = '0.1.0'
setup(name='mytardisbf',
version=version,
description="Bioformats App for MyTardis",
long_description="""\
Bioformats App for extracting metadata and thumbnails from microscopy images\
in MyTardis""",
c... |
c55a20928c3f98fee19d20f7fb0dc3bb9be1acb4 | setup.py | setup.py | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | Embed required non python files in packaging : html and js files for report | Embed required non python files in packaging : html and js files for report
| Python | mit | lexman/tuttle,lexman/tuttle,lexman/tuttle | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | <commit_before>#!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
... | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | #!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install... | <commit_before>#!/usr/bin/env python
"""Tuttle"""
import sys
from tuttle import __version__
try:
from setuptools import setup, find_packages
except ImportError:
print("Tuttle needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
... |
995f06a33bf92dcff185a50f84743323170a8b7a | setup.py | setup.py | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowerstatic',
version='0.10.dev0',
description="A Bo... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowersta... | Use io.open with encoding='utf-8' and flake8 compliance | Use io.open with encoding='utf-8' and flake8 compliance
| Python | bsd-3-clause | faassen/bowerstatic,faassen/bowerstatic | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowerstatic',
version='0.10.dev0',
description="A Bo... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowersta... | <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowerstatic',
version='0.10.dev0',
de... | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowersta... | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowerstatic',
version='0.10.dev0',
description="A Bo... | <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'WebTest >= 2.0.14',
'mock',
]
setup(
name='bowerstatic',
version='0.10.dev0',
de... |
5eabda987c43c727ea03a8bd56c32e4c1490c918 | setup.py | setup.py | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.1',
packages=["napalm_ansible"],
au... | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.2',
packages=["napalm_ansible"],
au... | Tag error, rolling to 0.7.2 | Tag error, rolling to 0.7.2
| Python | apache-2.0 | napalm-automation/napalm-ansible,napalm-automation/napalm-ansible | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.1',
packages=["napalm_ansible"],
au... | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.2',
packages=["napalm_ansible"],
au... | <commit_before>"""setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.1',
packages=["napalm_an... | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.2',
packages=["napalm_ansible"],
au... | """setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.1',
packages=["napalm_ansible"],
au... | <commit_before>"""setup.py file."""
import uuid
from setuptools import setup
from pip.req import parse_requirements
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ansible",
version='0.7.1',
packages=["napalm_an... |
a09ac33998debcfa502e650e72e59acb265ffeac | setup.py | setup.py | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | Update minor version for end of 2016 leapsec | Update minor version for end of 2016 leapsec
| Python | bsd-3-clause | sot/Chandra.Time,sot/Chandra.Time,sot/Chandra.Time | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | <commit_before>from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parenthes... | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parentheses']
extension... | <commit_before>from setuptools import setup, Extension
import os
from Cython.Build import cythonize
if (os.name == "nt"):
compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE']
else:
compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default',
'-Wno-deprecated', '-Wno-parenthes... |
7566ba4a701d8da431b6987a7a921b297152615e | setup.py | setup.py | from setuptools import setup
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTT... | from setuptools import setup, find_packages
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Inte... | Use find_packages() instead of manually specifying package name, so that subpackages get included | Use find_packages() instead of manually specifying package name, so that subpackages get included
| Python | mit | storborg/manhattan | from setuptools import setup
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTT... | from setuptools import setup, find_packages
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Inte... | <commit_before>from setuptools import setup
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Inte... | from setuptools import setup, find_packages
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Inte... | from setuptools import setup
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTT... | <commit_before>from setuptools import setup
setup(name="manhattan",
version='0.2',
description='Robust Server-Side Analytics',
long_description='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Topic :: Inte... |
e36744422c615581d366cbbbc3213896e5652f68 | setup.py | setup.py | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | Declare egg to not be zip-safe | Declare egg to not be zip-safe
If the egg is installed zipped, `python manage.py collectstatic` will fail to find the resources under `static`. | Python | bsd-3-clause | timmyomahony/django-pagedown,timmyomahony/django-pagedown,kaushalaman/django-pagedown,kaushalaman/django-pagedown,ministryofjustice/django-pagedown,ministryofjustice/django-pagedown,timmyomahony/django-pagedown,ministryofjustice/django-pagedown,kaushalaman/django-pagedown | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | <commit_before>from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(... | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(['git', 'reset'... | <commit_before>from os import path
from setuptools import setup
from subprocess import check_call
from distutils.command.build import build
from setuptools.command.develop import develop
def get_submodules():
if path.exists('.git'):
check_call(['rm', '-rf', 'pagedown/static/pagedown'])
check_call(... |
0d40f65817666b5e82028ef9e0a07ddfc922affb | setup.py | setup.py | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.2',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.3',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | Fix exception handling to extend colander.Invalid | Fix exception handling to extend colander.Invalid
| Python | mit | aryeh/py-authorize,ClearcodeHQ/py-authorize,vcatalano/py-authorize,uglycitrus/py-authorize | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.2',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.3',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | <commit_before>from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.2',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
... | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.3',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.2',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
long_descript... | <commit_before>from setuptools import setup
setup(
name='Py-Authorize',
version='1.0.1.2',
author='Vincent Catalano',
author_email='[email protected]',
url='https://github.com/vcatalano/py-authorize',
download_url='',
description='A full-featured Python API for Authorize.net.',
... |
36b35f463f27028ae015bbaea3e2bafbfeb7ddb3 | setup.py | setup.py | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | Bump vers for square Aramaic Unicode | Bump vers for square Aramaic Unicode
#975 from @D-K-E | Python | mit | cltk/cltk,kylepjohnson/cltk,diyclassics/cltk,D-K-E/cltk | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | <commit_before>"""Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | <commit_before>"""Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI... |
25d4fabce29433bc1381a03a44a67cc588688e7f | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | Update couchdb-python dependency version to 0.5 in anticipation of its release. | Update couchdb-python dependency version to 0.5 in anticipation of its release.
git-svn-id: fdb8975c015a424b33c0997a6b0d758f3a24819f@9 bfab2ddc-a81c-11dd-9a07-0f3041a8e97c
| Python | bsd-3-clause | cozy-labs/cozy-fuse,jasondavies/couchdb-fuse | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distu... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distutils.core impor... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Jason Davies
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
try:
from setuptools import setup
except ImportError:
from distu... |
de3f474502e781dacc0b182ee8d50d729468c576 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | Add trove classifiers for language support | Add trove classifiers for language support
| Python | mit | chrisgilmerproj/pycolors2 | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | <commit_before>from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/c... | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/chrisgilmerproj/... | <commit_before>from distutils.core import setup
setup(
name = 'pycolors2',
py_modules = ['colors',],
version = '0.0.3',
author = 'Chris Gilmer',
author_email = '[email protected]',
maintainer = 'Chris Gilmer',
maintainer_email = '[email protected]',
url = 'http://github.com/c... |
1f9c09b52269b2c0310317ff252dfdd702fe3462 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | Downgrade mock library for travis compatability. | Downgrade mock library for travis compatability.
| Python | apache-2.0 | locationlabs/awsenv | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=fi... | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | #!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=find_packages(exc... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
__version__ = "1.0"
setup(
name="awsenv",
version=__version__,
description="Opinionated configuration",
author="Location Labs",
author_email="[email protected]",
url="http://locationlabs.com",
packages=fi... |
58619ac341bd552594772be9c03aa73c75b55d0b | setup.py | setup.py | from setuptools import setup
setup(
name='dcp',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Developme... | from setuptools import setup
setup(
name='dcp-client',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp-client'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
... | Rename package from dcp to dcp-client | Rename package from dcp to dcp-client
| Python | apache-2.0 | mattcarabine/python-dcp-client,jbmcgill/python-dcp-client,couchbaselabs/python-dcp-client | from setuptools import setup
setup(
name='dcp',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Developme... | from setuptools import setup
setup(
name='dcp-client',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp-client'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
... | <commit_before>from setuptools import setup
setup(
name='dcp',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
... | from setuptools import setup
setup(
name='dcp-client',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp-client'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
... | from setuptools import setup
setup(
name='dcp',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Developme... | <commit_before>from setuptools import setup
setup(
name='dcp',
version='0.3',
description='Basic DCP client',
author='Couchbase',
author_email='[email protected]',
packages=['dcp'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
... |
80980383c32b8e02dc33a6218b734e7073edd43f | setup.py | setup.py | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | Package name for psycopg2 has been changed | Package name for psycopg2 has been changed
| Python | apache-2.0 | rolobio/DictORM,rolobio/pgpydict | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | <commit_before>#! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'k... | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | #! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'keywords':'psyco... | <commit_before>#! /usr/bin/env python3
from setuptools import setup
from dictorm.dictorm import __version__, __doc__ as ddoc
config = {
'name':'dictorm',
'version':str(__version__),
'author':'rolobio',
'author_email':'[email protected]',
'description':ddoc,
'license':'Apache2',
'k... |
c8a47fe44ca4ecbf98cccec166a5d22a2597b577 | setup.py | setup.py | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | Update osa_differ minimum version to 0.3.8 | Update osa_differ minimum version to 0.3.8
In order to support the use of PR refspecs, we
need to use 0.3.8 and above.
| Python | apache-2.0 | major/rpc_differ | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | <commit_before>#!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | #!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | <commit_before>#!/usr/bin/env python
#
# Copyright 2014 Major Hayden
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... |
21b3a79db94903d18671c58619601022b0277ccd | setup.py | setup.py |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... | Include luhn package update version 1.0.1 | Include luhn package update version 1.0.1 | Python | mit | garwoodpr/LuhnAlgorithmProof,garwoodpr/LuhnAlgorithmProof |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... | <commit_before>
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luh... |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... |
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luhn_algorithm_val... | <commit_before>
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Luhn Algorithm Validator -- long description
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luh... |
ee2d37cd2d088f1bc1aface2322d7216a258754b | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | Include static assets in pakage_data | Include static assets in pakage_data | Python | bsd-3-clause | artscoop/django-treemenus-plus,artscoop/django-treemenus-plus,jphalip/django-treemenus | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
p... | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
packages=find_pa... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-treemenus',
version='0.8.8-pre',
description='Tree-structured menuing application for Django.',
author='Julien Phalip',
author_email='[email protected]',
url='http://github.com/jphalip/django-treemenus/',
p... |
c2bd843cd383cb55c3a74f48612a4969c893a42e | setup.py | setup.py | import os
from setuptools import setup, find_packages
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='widget-party',
vers... | 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='widget-party',
version='2.3',
... | Create 2.3 release with recent PR merges | Create 2.3 release with recent PR merges
| Python | mit | mverteuil/widget-party,mverteuil/widget-party,mverteuil/widget-party | import os
from setuptools import setup, find_packages
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='widget-party',
vers... | 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='widget-party',
version='2.3',
... | <commit_before>import os
from setuptools import setup, find_packages
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='widget-p... | 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='widget-party',
version='2.3',
... | import os
from setuptools import setup, find_packages
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='widget-party',
vers... | <commit_before>import os
from setuptools import setup, find_packages
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='widget-p... |
d73ff1c66925613646495a22018e8c8a6ce139a7 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class CramTest(Command):
user_options = [ ]
def initialize_options(self... | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
from unittest import TextTestRunner, TestLoader
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class UnitTest(Command):
def... | Fix broken unit test command. | Fix broken unit test command.
| Python | mit | echlebek/15puzz,echlebek/15puzz | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class CramTest(Command):
user_options = [ ]
def initialize_options(self... | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
from unittest import TextTestRunner, TestLoader
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class UnitTest(Command):
def... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class CramTest(Command):
user_options = [ ]
def initiali... | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
from unittest import TextTestRunner, TestLoader
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class UnitTest(Command):
def... | #!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class CramTest(Command):
user_options = [ ]
def initialize_options(self... | <commit_before>#!/usr/bin/env python
from distutils.core import setup, Command
from distutils.extension import Extension
import os
import numpy as np
from Cython.Distutils import build_ext
os.environ['TEST_DATA_ROOT'] = os.path.abspath("tests/data")
class CramTest(Command):
user_options = [ ]
def initiali... |
df0efa079afbda84b1c09bc4895c84c0ec70861d | setup.py | setup.py | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | Add SSL to cx-freeze packages | Add SSL to cx-freeze packages
| Python | mit | igboyes/virtool,virtool/virtool,igboyes/virtool,virtool/virtool | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | <commit_before>import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files... | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files": [
("... | <commit_before>import importlib
from cx_Freeze import setup, Executable
backend_path = importlib.import_module("bcrypt").__path__[0]
backend_path = backend_path.replace("bcrypt", ".libs_cffi_backend")
# Dependencies are automatically detected, but it might need
# fine tuning.
build_exe_options = {
"include_files... |
67e53d151971a56c1375c2fa9a8afcb1bfd609d5 | setup.py | setup.py | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | Add Python 3.4 and 3.5 to classifiers | Add Python 3.4 and 3.5 to classifiers
| Python | mit | Anmol-Singh-Jaggi/tldr-python-client,tldr-pages/tldr-python-client | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | <commit_before>from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts... | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts=['tldr.py'],
... | <commit_before>from setuptools import setup
setup(
name='tldr',
version="0.1.3",
author='Felix Yan',
author_email='[email protected]',
url='https://github.com/felixonmars/tldr-python-client',
description='command line client for tldr',
license='MIT',
py_modules=['tldr'],
scripts... |
cf8dc3b9ff61b045233b252f20e2f68587911514 | setup.py | setup.py | from setuptools import setup
setup(
name="arxiv",
version="0.2.1",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | from setuptools import setup
setup(
name="arxiv",
version="0.2.2",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | Resolve python3 error, version++ for release | Resolve python3 error, version++ for release
| Python | mit | lukasschwab/arxiv.py | from setuptools import setup
setup(
name="arxiv",
version="0.2.1",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | from setuptools import setup
setup(
name="arxiv",
version="0.2.2",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | <commit_before>from setuptools import setup
setup(
name="arxiv",
version="0.2.1",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API:... | from setuptools import setup
setup(
name="arxiv",
version="0.2.2",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | from setuptools import setup
setup(
name="arxiv",
version="0.2.1",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API: http://arxiv.o... | <commit_before>from setuptools import setup
setup(
name="arxiv",
version="0.2.1",
packages=["arxiv"],
# dependencies
install_requires=[
'feedparser',
'requests',
],
# metadata for upload to PyPI
author="Lukas Schwab",
author_email="[email protected]",
description="Python wrapper for the arXiv API:... |
83b40ad7c62becd316cf54aba90e31bd6ef29b21 | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | Add the description in the PyPI package | Add the description in the PyPI package
| Python | apache-2.0 | henrysher/kamboo,henrysher/kamboo | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
name='kambo... | <commit_before>#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import kamboo
requires = ['boto3']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.1')
setup_options = dict(
... |
4a28457070e2aaa08eced2651bc437ca052af739 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq',
],
author="Erik Allik",
... | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq==0.5.1',
],
dependency_link... | Use the custom fork of github.com/eallik/txzmq as the dependency instead of the original one at github.com/smira/txzmq | Use the custom fork of github.com/eallik/txzmq as the dependency instead of the original one at github.com/smira/txzmq
| Python | bsd-2-clause | eallik/spinoff | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq',
],
author="Erik Allik",
... | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq==0.5.1',
],
dependency_link... | <commit_before>from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq',
],
author=... | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq==0.5.1',
],
dependency_link... | from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq',
],
author="Erik Allik",
... | <commit_before>from setuptools import setup, find_packages
setup(
name="spinoff",
version="0.3dev",
packages=find_packages(),
data_files=[('twisted/plugins', ['twisted/plugins/startnode.py'])],
install_requires=[
'twisted>=12.0',
'txcoroutine',
'txzmq',
],
author=... |
720bd5b2f3c422af6bd1c70850fb2f67a773def0 | slack.py | slack.py | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
if __name__ == '__main__':
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta... | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
def delete_my_files():
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta(-_t... | Move the main items into a function | Move the main items into a function
| Python | mit | marshallhumble/slack_app,marshallhumble/slack_app | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
if __name__ == '__main__':
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta... | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
def delete_my_files():
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta(-_t... | <commit_before>#!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
if __name__ == '__main__':
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.no... | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
def delete_my_files():
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta(-_t... | #!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
if __name__ == '__main__':
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.now() + timedelta... | <commit_before>#!/usr/bin/env python
import requests
import calendar
from datetime import datetime, timedelta
from settings import _token, _domain, _user, _time, _pretty
if __name__ == '__main__':
while 1:
files_list_url = 'https://slack.com/api/files.list'
date = str(calendar.timegm((datetime.no... |
16516b1ec44e3e44d2dc96a6f3d021268ce4e71d | osgtest/tests/test_84_xrootd.py | osgtest/tests/test_84_xrootd.py | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | Fix test if server started in xrootd cleanup code | Fix test if server started in xrootd cleanup code
git-svn-id: 884a03e47e2adb735d896e55bb5ad6bc3421ba19@17920 4e558342-562e-0410-864c-e07659590f8c
| Python | apache-2.0 | efajardo/osg-test,efajardo/osg-test | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | <commit_before>import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.... | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | <commit_before>import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.... |
75b02b3cafcc34dca143de9143f14c3c7c29c97c | transmutagen/tests/test_coefficients.py | transmutagen/tests/test_coefficients.py | import pytest
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from ..cram import get_CRAM_from_cache, CRAM_coeffs
# @slow
@pytest.mark.parametrize('degree', range(1, TOTAL_DEGREES... | import decimal
import pytest
from sympy import re
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from .partfrac_coeffs import part_frac_coeffs
from ..cram import get_CRAM_from_ca... | Add test against Pusa coefficients (skipped for now, as they don't pass) | Add test against Pusa coefficients (skipped for now, as they don't pass)
| Python | bsd-3-clause | ergs/transmutagen,ergs/transmutagen | import pytest
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from ..cram import get_CRAM_from_cache, CRAM_coeffs
# @slow
@pytest.mark.parametrize('degree', range(1, TOTAL_DEGREES... | import decimal
import pytest
from sympy import re
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from .partfrac_coeffs import part_frac_coeffs
from ..cram import get_CRAM_from_ca... | <commit_before>import pytest
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from ..cram import get_CRAM_from_cache, CRAM_coeffs
# @slow
@pytest.mark.parametrize('degree', range(1... | import decimal
import pytest
from sympy import re
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from .partfrac_coeffs import part_frac_coeffs
from ..cram import get_CRAM_from_ca... | import pytest
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from ..cram import get_CRAM_from_cache, CRAM_coeffs
# @slow
@pytest.mark.parametrize('degree', range(1, TOTAL_DEGREES... | <commit_before>import pytest
slow = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
TOTAL_DEGREES = 30
from .crv_coeffs import coeffs as correct_coeffs
from ..cram import get_CRAM_from_cache, CRAM_coeffs
# @slow
@pytest.mark.parametrize('degree', range(1... |
f468a26893c44411dc1f865b208788373f993918 | asciibooth/camera.py | asciibooth/camera.py | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.capture(stream, 'rgb', resize=confi... | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.camera.hflip = True
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.ca... | Enable hflip for capture and preview | Enable hflip for capture and preview
| Python | cc0-1.0 | jnv/asciibooth,jnv/asciibooth | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.capture(stream, 'rgb', resize=confi... | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.camera.hflip = True
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.ca... | <commit_before>import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.capture(stream, 'rgb... | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.camera.hflip = True
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.ca... | import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.capture(stream, 'rgb', resize=confi... | <commit_before>import io
# import time
import picamera
from . import config
class Camera:
def __init__(self):
self.camera = picamera.PiCamera(resolution=config.CAPTURE_RESOLUTION)
self.preview_alpha = 200
def capture(self):
stream = io.BytesIO()
self.camera.capture(stream, 'rgb... |
6f213f17fab236e1222f4e691015dfd867073ae2 | dbaas/workflow/steps/build_database.py | dbaas/workflow/steps/build_database.py | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | Check if there is an project key on workflow_dict | Check if there is an project key on workflow_dict
| Python | bsd-3-clause | globocom/database-as-a-service,globocom/database-as-a-service,globocom/database-as-a-service,globocom/database-as-a-service | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | <commit_before># -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
i... | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | # -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
if not workflow_... | <commit_before># -*- coding: utf-8 -*-
import logging
from base import BaseStep
from logical.models import Database
LOG = logging.getLogger(__name__)
class BuildDatabase(BaseStep):
def __unicode__(self):
return "Creating logical database..."
def do(self, workflow_dict):
try:
i... |
84f9c189f62c6ab81de952cb9a7e9942237465ec | tasks.py | tasks.py | from invoke import task, Collection
from invocations.packaging import release
# TODO: once this stuff is stable and I start switching my other projects to be
# pytest-oriented, move this into invocations somehow.
@task
def test(c):
"""
Run verbose pytests.
"""
c.run("pytest --verbose --color=yes")
@t... | from invoke import task, Collection
from invocations.packaging import release
from invocations import pytest as pytests
@task
def coverage(c, html=True):
"""
Run coverage with coverage.py.
"""
# NOTE: this MUST use coverage itself, and not pytest-cov, because the
# latter is apparently unable to p... | Use new invocations pytest helper | Use new invocations pytest helper
| Python | bsd-2-clause | bitprophet/pytest-relaxed | from invoke import task, Collection
from invocations.packaging import release
# TODO: once this stuff is stable and I start switching my other projects to be
# pytest-oriented, move this into invocations somehow.
@task
def test(c):
"""
Run verbose pytests.
"""
c.run("pytest --verbose --color=yes")
@t... | from invoke import task, Collection
from invocations.packaging import release
from invocations import pytest as pytests
@task
def coverage(c, html=True):
"""
Run coverage with coverage.py.
"""
# NOTE: this MUST use coverage itself, and not pytest-cov, because the
# latter is apparently unable to p... | <commit_before>from invoke import task, Collection
from invocations.packaging import release
# TODO: once this stuff is stable and I start switching my other projects to be
# pytest-oriented, move this into invocations somehow.
@task
def test(c):
"""
Run verbose pytests.
"""
c.run("pytest --verbose --... | from invoke import task, Collection
from invocations.packaging import release
from invocations import pytest as pytests
@task
def coverage(c, html=True):
"""
Run coverage with coverage.py.
"""
# NOTE: this MUST use coverage itself, and not pytest-cov, because the
# latter is apparently unable to p... | from invoke import task, Collection
from invocations.packaging import release
# TODO: once this stuff is stable and I start switching my other projects to be
# pytest-oriented, move this into invocations somehow.
@task
def test(c):
"""
Run verbose pytests.
"""
c.run("pytest --verbose --color=yes")
@t... | <commit_before>from invoke import task, Collection
from invocations.packaging import release
# TODO: once this stuff is stable and I start switching my other projects to be
# pytest-oriented, move this into invocations somehow.
@task
def test(c):
"""
Run verbose pytests.
"""
c.run("pytest --verbose --... |
87ea6fbc07c547a0c92f0b85811edc0645cb4303 | pysyte/oss/linux.py | pysyte/oss/linux.py | """Linux-specific code"""
import os
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == os.path.expanduser('~/.config')
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CON... | """Linux-specific code"""
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == paths.path('~/.config').expand()
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CONFIG_HOME
... | Remove unused import of "os" | Remove unused import of "os"
| Python | mit | jalanb/dotsite | """Linux-specific code"""
import os
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == os.path.expanduser('~/.config')
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CON... | """Linux-specific code"""
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == paths.path('~/.config').expand()
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CONFIG_HOME
... | <commit_before>"""Linux-specific code"""
import os
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == os.path.expanduser('~/.config')
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that f... | """Linux-specific code"""
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == paths.path('~/.config').expand()
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CONFIG_HOME
... | """Linux-specific code"""
import os
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == os.path.expanduser('~/.config')
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that file in $XDG_CON... | <commit_before>"""Linux-specific code"""
import os
from pysyte.types import paths
def xdg_home():
"""path to $XDG_CONFIG_HOME
>>> assert xdg_home() == os.path.expanduser('~/.config')
"""
return paths.environ_path('XDG_CONFIG_HOME', '~/.config')
def xdg_home_config(filename):
"""path to that f... |
b12418acf3883024be965f42ec8d3a16e76d384f | special/special_relativity.py | special/special_relativity.py | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | Fix error in calculation on lorentz factor | Fix error in calculation on lorentz factor
| Python | mit | tdsymonds/relativity | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | <commit_before># -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@st... | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | # -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@staticmethod
... | <commit_before># -*- coding: utf-8 -*-
from __future__ import division
import math
class LorentzFactor(object):
SPEED_OF_LIGHT = 299792458
@staticmethod
def get_beta(velocity, is_percent):
if is_percent:
return velocity
return velocity / SPEED_OF_LIGHT
@st... |
eb31775a7dbbb2064cf64d85c2bb0912a92f4028 | train.py | train.py | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | Add warning for mismatched image size and scale | Add warning for mismatched image size and scale | Python | mit | jmiller656/EDSR-Tensorflow | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | <commit_before>import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
par... | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
parser.add_argumen... | <commit_before>import data
import argparse
from model import EDSR
parser = argparse.ArgumentParser()
parser.add_argument("--dataset",default="data/General-100")
parser.add_argument("--imgsize",default=100,type=int)
parser.add_argument("--scale",default=2,type=int)
parser.add_argument("--layers",default=32,type=int)
par... |
9c9a2904ad79c2f05dacdabef9f3ad78ae78db3f | quarkc/_metadata.py | quarkc/_metadata.py | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | Revert "[HACK TEST] Rename package for now and try with a registered account for testpypi" | Revert "[HACK TEST] Rename package for now and try with a registered account for testpypi"
This reverts commit 3cc3b07dcbe7faac91cf42b40c7ebd4375c4f93d.
| Python | apache-2.0 | datawire/quark,datawire/quark,datawire/quark,datawire/quark,datawire/quark,datawire/quark | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | <commit_before># Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | <commit_before># Copyright 2015 datawire. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... |
31448c1e23d7dfcea65af20432511673533885b6 | teknologr/registration/mailutils.py | teknologr/registration/mailutils.py | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name},
... | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name}... | Change registration email sender to Phuxivator | Change registration email sender to Phuxivator
| Python | mit | Teknologforeningen/teknologr.io,Teknologforeningen/teknologr.io,Teknologforeningen/teknologr.io,Teknologforeningen/teknologr.io | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name},
... | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name}... | <commit_before>from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = ... | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name}... | from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = '''Hej {name},
... | <commit_before>from django.core.mail import send_mail
# TODO: check whether this should be sent from Phuxivator
def mailApplicantSubmission(context, sender='[email protected]'):
name = context['name']
receiver = context['email']
subject = 'Tack för din medlemsansökan till Teknologföreningen!'
message = ... |
d5df109f95dd47d63188e4b1d0017275adae172c | pip_package/rlds_version.py | pip_package/rlds_version.py | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | Increase Pypi version. New package uploaded to Pypi already. | Increase Pypi version. New package uploaded to Pypi already.
PiperOrigin-RevId: 435120795
Change-Id: Idaed3713248afaeefad2eac345d6cd4d6b37bef9
| Python | apache-2.0 | google-research/rlds,google-research/rlds | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | <commit_before># Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | <commit_before># Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... |
d604d17e8286b1c95a0faafd6d4fd79af11441ab | nn/util.py | nn/util.py | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
with... | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func_or_name):
if isinstance(func_or_name, str):
def wrapper(func)... | Extend funcname_scope so that it accepts funcnames | Extend funcname_scope so that it accepts funcnames
| Python | unlicense | raviqqe/tensorflow-extenteten,raviqqe/tensorflow-extenteten | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
with... | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func_or_name):
if isinstance(func_or_name, str):
def wrapper(func)... | <commit_before>import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func):
@functools.wraps(func)
def wrapper(*args, **kw... | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func_or_name):
if isinstance(func_or_name, str):
def wrapper(func)... | import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
with... | <commit_before>import functools
import numpy
import tensorflow as tf
def static_shape(tensor):
return tf.convert_to_tensor(tensor).get_shape().as_list()
def static_rank(tensor):
return len(static_shape(tf.convert_to_tensor(tensor)))
def funcname_scope(func):
@functools.wraps(func)
def wrapper(*args, **kw... |
832d59557dcf2b73797159b4acb96e727492d8fb | maps/api/urls.py | maps/api/urls.py | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+)', v... | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set_list/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+... | Rename API method into question_set_list | Rename API method into question_set_list
| Python | mit | sevazhidkov/greenland,sevazhidkov/greenland | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+)', v... | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set_list/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+... | <commit_before>from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<quest... | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set_list/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+... | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<question_id>\d+)', v... | <commit_before>from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^question_set/', views.http_list_question_sets),
url(r'^answer_set/', views.http_create_answer_set),
url(r'^answer/', views.create_answer),
url(r'^question/', views.get_question),
url(r'^contour_tile/(?P<quest... |
f3e3b43abebfad0fcaa20df8eac20e3cb8c099d6 | imgproc.py | imgproc.py | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:return: Mask with candidates surrounded in a green rectangle
"""
hsv_image = img.toHSV()
segmented = Image(cv2.inRa... | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config, each_blob=None):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:param each_blob: function, taking a SimpleCV.Blob as an argument, that is called for every candidate blob
:... | Allow a function to be called whenever a candidate blob is found during image processing | Allow a function to be called whenever a candidate blob is found during
image
processing
| Python | mit | mstojcevich/Flash-Vision | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:return: Mask with candidates surrounded in a green rectangle
"""
hsv_image = img.toHSV()
segmented = Image(cv2.inRa... | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config, each_blob=None):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:param each_blob: function, taking a SimpleCV.Blob as an argument, that is called for every candidate blob
:... | <commit_before>from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:return: Mask with candidates surrounded in a green rectangle
"""
hsv_image = img.toHSV()
segmented =... | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config, each_blob=None):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:param each_blob: function, taking a SimpleCV.Blob as an argument, that is called for every candidate blob
:... | from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:return: Mask with candidates surrounded in a green rectangle
"""
hsv_image = img.toHSV()
segmented = Image(cv2.inRa... | <commit_before>from SimpleCV import *
import numpy
import cv2
def process_image(obj, img, config):
"""
:param obj: Object we're tracking
:param img: Input image
:param config: Controls
:return: Mask with candidates surrounded in a green rectangle
"""
hsv_image = img.toHSV()
segmented =... |
7e464f70157c2ce7382912d65014bf9d872bed75 | portal/main.py | portal/main.py | import argparse
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="BTScreenshotAutomation")
parser.add_argument(
"-a", "--account", help="The name of the account", type=str, required=True)
p... | import argparse
import logging
import Portal
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="Dynatrace Synthetic Automation")
parser.add_argument(
"-t", "--type", help="The account type: [gpn|dynatrace]", ... | Add command line arguments for program | Add command line arguments for program
| Python | mit | josecolella/Dynatrace-Resources | import argparse
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="BTScreenshotAutomation")
parser.add_argument(
"-a", "--account", help="The name of the account", type=str, required=True)
p... | import argparse
import logging
import Portal
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="Dynatrace Synthetic Automation")
parser.add_argument(
"-t", "--type", help="The account type: [gpn|dynatrace]", ... | <commit_before>import argparse
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="BTScreenshotAutomation")
parser.add_argument(
"-a", "--account", help="The name of the account", type=str, requi... | import argparse
import logging
import Portal
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="Dynatrace Synthetic Automation")
parser.add_argument(
"-t", "--type", help="The account type: [gpn|dynatrace]", ... | import argparse
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="BTScreenshotAutomation")
parser.add_argument(
"-a", "--account", help="The name of the account", type=str, required=True)
p... | <commit_before>import argparse
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog="BTScreenshotAutomation")
parser.add_argument(
"-a", "--account", help="The name of the account", type=str, requi... |
0eb7e6b9a8e4e38793b1e045ab5f0f0a4d4e6777 | synapse/metrics/resource.py | synapse/metrics/resource.py | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Delete unused import of NOT_READY_YET | Delete unused import of NOT_READY_YET
| Python | apache-2.0 | matrix-org/synapse,illicitonion/synapse,iot-factory/synapse,TribeMedia/synapse,iot-factory/synapse,howethomas/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,rzr/synapse,howethomas/synapse,illicitonion/synapse,rzr/synapse,howethomas/synapse,illicitonion/synapse,matrix-org/synapse,howethomas/synapse,Tri... | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | <commit_before># -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | <commit_before># -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... |
8ef5b15c62960fb9abc43c9b30550faa0c0d7227 | cactusbot/handler.py | cactusbot/handler.py | """Handle handlers."""
import logging
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for handler in self.handlers:
... | """Handle handlers."""
import logging
from .packet import Packet
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for ... | Add support for multiple return `Packet`s from `Handler`s | Add support for multiple return `Packet`s from `Handler`s
| Python | mit | CactusDev/CactusBot | """Handle handlers."""
import logging
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for handler in self.handlers:
... | """Handle handlers."""
import logging
from .packet import Packet
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for ... | <commit_before>"""Handle handlers."""
import logging
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for handler in se... | """Handle handlers."""
import logging
from .packet import Packet
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for ... | """Handle handlers."""
import logging
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for handler in self.handlers:
... | <commit_before>"""Handle handlers."""
import logging
class Handlers(object):
"""Handlers."""
def __init__(self, *handlers):
self.logger = logging.getLogger(__name__)
self.handlers = handlers
def handle(self, event, packet):
"""Handle incoming data."""
for handler in se... |
51cdd71cbcbcfd80105cc5ccb5b95f4d79dc593e | src/service_deployment_tools/paasta_cli/utils/cmd_utils.py | src/service_deployment_tools/paasta_cli/utils/cmd_utils.py | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
# List of commands the paasta client can execute
CMDS = None
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta clien... | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta client is able to execute
:return: a list of string such as ['l... | Clean up directory parsing code | Clean up directory parsing code
| Python | apache-2.0 | gstarnberger/paasta,Yelp/paasta,somic/paasta,Yelp/paasta,gstarnberger/paasta,somic/paasta | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
# List of commands the paasta client can execute
CMDS = None
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta clien... | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta client is able to execute
:return: a list of string such as ['l... | <commit_before>#!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
# List of commands the paasta client can execute
CMDS = None
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
t... | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta client is able to execute
:return: a list of string such as ['l... | #!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
# List of commands the paasta client can execute
CMDS = None
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta clien... | <commit_before>#!/usr/bin/env python
"""
Contains helper functions common to all paasta commands or the client
"""
import glob
import os
# List of commands the paasta client can execute
CMDS = None
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.