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
b65b513b4079a0d4a7ed7e59962d1758e64d854c
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
Fix rosdistro requirements that were broken
Fix rosdistro requirements that were broken Pip doesn't do transitive dependencies so we must specify it here. This commit was needed due to ros-infrastructure/rosinstall_generator#44
Python
mit
Rayman/ros-get,Rayman/ros-get
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', ...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', 'catkin_too...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ros_get', package_dir={'': 'src'}, # tell distutils packages are under src packages=find_packages('src'), # include all packages under src install_requires=[ 'argcomplete', 'catkin_pkg', ...
d9b0128bf8058a12a08d7dc54fb30d2f588a16c1
setup.py
setup.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
Use https for git dependency
Use https for git dependency
Python
mpl-2.0
EricRahm/atsy,EricRahm/atsy,EricRahm/atsy
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYe...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYet", long_de...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup( name="atsy", version="0.0.1", description="AreTheySlimYe...
a4168c405016751ca78196fc9f6abaa2bafd833a
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
Divide changelog and readme when uploading
Divide changelog and readme when uploading
Python
mit
andrewgross/json2parquet
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILI...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) i...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import re from setuptools import setup, find_packages with open('json2parquet/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILI...
01f165a826cde563d831b5a26598c4ebeb504820
setup.py
setup.py
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
Add enum34 install dependency for python < 3.4
Add enum34 install dependency for python < 3.4
Python
bsd-3-clause
ghisvail/nfft-cffi
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
<commit_before># Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find...
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
# Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find_packages, setu...
<commit_before># Copyright (c) 2016, Imperial College London # Copyright (c) 2016, Ghislain Antony Vaillant # All rights reserved. # # Distributed under the terms of the new BSD license. # See the accompanying LICENSE file or read the terms at # https://opensource.org/licenses/BSD-3-Clause. from setuptools import find...
259555775c098153b1715f85561309b42e29ee7d
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
Install the script with the library.
Install the script with the library.
Python
isc
eliteraspberries/avena
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
<commit_before>#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independen...
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Progra...
<commit_before>#!/usr/bin/env python from distutils.core import setup from avena import avena _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independen...
ff5bc4ed9f7fda3fa1ed2385ace7f11f7a590104
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.md').read(), author="Nate Aune", author_email="nate@apps...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.rst').read(), author="Nate Aune", author_email="nate@app...
Read README.rst into long_description instead
Read README.rst into long_description instead
Python
mit
mrdakoki/ballin-avenger,natea/django-deployer,mrdakoki/ballin-avenger,natea/django-deployer
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.md').read(), author="Nate Aune", author_email="nate@apps...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.rst').read(), author="Nate Aune", author_email="nate@app...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.md').read(), author="Nate Aune", author_e...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.rst').read(), author="Nate Aune", author_email="nate@app...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.md').read(), author="Nate Aune", author_email="nate@apps...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name="django-deployer", version="0.1.0", description="Django deployment utility for popular PaaS providers", long_description=open('README.md').read(), author="Nate Aune", author_e...
efe86c67f287b33701dcdb2198f2fef587ea0be1
setup.py
setup.py
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
Exclude tests directory from installation
Exclude tests directory from installation Fixes #223
Python
mit
thelazier/electrumx,thelazier/electrumx,Groestlcoin/electrumx-grs,Crowndev/electrumx,erasmospunk/electrumx,erasmospunk/electrumx,shsmith/electrumx,Crowndev/electrumx,Groestlcoin/electrumx-grs,shsmith/electrumx
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
<commit_before>import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment...
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment variables, in ...
<commit_before>import setuptools from server.version import VERSION setuptools.setup( name='electrumx', version=VERSION.split()[-1], scripts=['electrumx_server.py', 'electrumx_rpc.py'], python_requires='>=3.5.3', # "irc" package is only required if IRC connectivity is enabled # via environment...
7683926de34fac26df920ecede3735cd347d493b
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
Change python version 3 -> 3.4
Change python version 3 -> 3.4
Python
mit
yukirin/LifeGame-kivy
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
<commit_before> from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT...
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT', keyw...
<commit_before> from setuptools import setup, find_packages setup( name='pylife', version='0.1.0', description='Conway\'s Game of Life with kivy', author='yukirin', author_email='standupdown@gmail.com', url='https://github.com/yukirin/LifeGame-kivy', license='MIT...
3f20852f2e09f0eed6f5f7c227a10d87763f5686
setup.py
setup.py
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
Remove support for python below 2.7 version
Remove support for python below 2.7 version
Python
mit
localmed/pyserializer,localmed/pyserializer
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
<commit_before>from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packag...
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packages=find_package...
<commit_before>from setuptools import find_packages, setup setup( name='pyserializer', version='0.0.2', description='Simple python serialization library.', author='LocalMed', author_email='ecordell@localmed.com, pete@localmed.com, joel.james@localmed.com', url='', license='MIT', packag...
c2b11e603de32d65f5f5ddf500c4e04d3bcce4fd
setup.py
setup.py
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthedocs.org' , version='0.0.0-dev' ...
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , author_email='support@gittip.com' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthe...
Add missing metadata to suppress warning
Add missing metadata to suppress warning Doesn't fix the "503 Backend is unhealthy" error I'm getting from `python setup.py register`, however.
Python
mit
gratipay/dependency_injection.py,gratipay/dependency_injection.py
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthedocs.org' , version='0.0.0-dev' ...
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , author_email='support@gittip.com' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthe...
<commit_before>from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthedocs.org' , version='...
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , author_email='support@gittip.com' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthe...
from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthedocs.org' , version='0.0.0-dev' ...
<commit_before>from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup setup( name='dependency_injection' , author='Gittip, LLC' , description="dependency_injection helpers" , url='https://dependency-injection-py.readthedocs.org' , version='...
2bca6bcf364c2c132a54bb3b1cc27f38601dbad2
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.4', ...
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.5', ...
Add license, update minor version
Add license, update minor version
Python
mit
guillermo-carrasco/bcbio-nextgen-monitor,guillermo-carrasco/bcbio-nextgen-monitor,guillermo-carrasco/bcbio-nextgen-monitor,guillermo-carrasco/bcbio-nextgen-monitor
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.4', ...
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.5', ...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ versio...
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.5', ...
#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ version='1.0.4', ...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages try: with open("requirements.txt", "r") as f: install_requires = [x.strip() for x in f.readlines()] except IOError: install_requires = [] setup(name='bcbio_monitor', # For versioning: http://semver.org/ versio...
8fb48cd9133ac26323ca080b6c7c820f7b729e05
setup.py
setup.py
from setuptools import setup, find_packages def listify(filename): return [line for line in open(filename, 'r').read().split('\n') if line] setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking dirty fields o...
from setuptools import setup, find_packages def listify(filename): with open(filename, "r") as f: return list(filter(None, f.read().splitlines())) setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking...
Fix listify to close file object
Fix listify to close file object
Python
bsd-3-clause
romgar/django-dirtyfields,smn/django-dirtyfields
from setuptools import setup, find_packages def listify(filename): return [line for line in open(filename, 'r').read().split('\n') if line] setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking dirty fields o...
from setuptools import setup, find_packages def listify(filename): with open(filename, "r") as f: return list(filter(None, f.read().splitlines())) setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking...
<commit_before>from setuptools import setup, find_packages def listify(filename): return [line for line in open(filename, 'r').read().split('\n') if line] setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking...
from setuptools import setup, find_packages def listify(filename): with open(filename, "r") as f: return list(filter(None, f.read().splitlines())) setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking...
from setuptools import setup, find_packages def listify(filename): return [line for line in open(filename, 'r').read().split('\n') if line] setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking dirty fields o...
<commit_before>from setuptools import setup, find_packages def listify(filename): return [line for line in open(filename, 'r').read().split('\n') if line] setup( name="django-dirtyfields", version="1.4", url='http://github.com/romgar/django-dirtyfields', license='BSD', description=("Tracking...
ead3b9d90132e95bdd72b40e6c58112de81ded8d
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="eodatasets", version="0.1b", packages=find_packages(), install_requires=[ 'click', 'python-dateutil', 'gdal', 'numpy', 'pathlib', 'pyyaml', ], entry_points=''' ...
#!/usr/bin/env python import os from setuptools import setup, find_packages version = "0.1b" # Append TeamCity build number if it gives us one. if 'BUILD_NUMBER' in os.environ and version.endswith('b'): version += '' + os.environ['BUILD_NUMBER'] setup( name="eodatasets", version=version, packages=f...
Append build number to version if available.
Append build number to version if available.
Python
apache-2.0
GeoscienceAustralia/eo-datasets,GeoscienceAustralia/eo-datasets,jeremyh/eo-datasets,jeremyh/eo-datasets
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="eodatasets", version="0.1b", packages=find_packages(), install_requires=[ 'click', 'python-dateutil', 'gdal', 'numpy', 'pathlib', 'pyyaml', ], entry_points=''' ...
#!/usr/bin/env python import os from setuptools import setup, find_packages version = "0.1b" # Append TeamCity build number if it gives us one. if 'BUILD_NUMBER' in os.environ and version.endswith('b'): version += '' + os.environ['BUILD_NUMBER'] setup( name="eodatasets", version=version, packages=f...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name="eodatasets", version="0.1b", packages=find_packages(), install_requires=[ 'click', 'python-dateutil', 'gdal', 'numpy', 'pathlib', 'pyyaml', ], entry_poi...
#!/usr/bin/env python import os from setuptools import setup, find_packages version = "0.1b" # Append TeamCity build number if it gives us one. if 'BUILD_NUMBER' in os.environ and version.endswith('b'): version += '' + os.environ['BUILD_NUMBER'] setup( name="eodatasets", version=version, packages=f...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="eodatasets", version="0.1b", packages=find_packages(), install_requires=[ 'click', 'python-dateutil', 'gdal', 'numpy', 'pathlib', 'pyyaml', ], entry_points=''' ...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name="eodatasets", version="0.1b", packages=find_packages(), install_requires=[ 'click', 'python-dateutil', 'gdal', 'numpy', 'pathlib', 'pyyaml', ], entry_poi...
af955bf1189d4af612fbdb2bab94d6c39bb489b3
setup.py
setup.py
import setuptools setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").readlines...
import setuptools, sys setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").read...
Add argparse as a dependency for python versions < 2.7
Add argparse as a dependency for python versions < 2.7
Python
mit
StoicLoofah/sc2reader,ggtracker/sc2reader,vlaufer/sc2reader,GraylinKim/sc2reader,GraylinKim/sc2reader,ggtracker/sc2reader,dsjoerg/sc2reader,dsjoerg/sc2reader,StoicLoofah/sc2reader,vlaufer/sc2reader
import setuptools setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").readlines...
import setuptools, sys setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").read...
<commit_before>import setuptools setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README....
import setuptools, sys setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").read...
import setuptools setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README.txt").readlines...
<commit_before>import setuptools setuptools.setup( name="sc2reader", version="0.2.0", license="MIT", author="Graylin Kim", author_email="graylin.kim@gmail.com", url="https://github.com/GraylinKim/sc2reader", description="Utility for parsing Starcraft II replay files", long_description=''.join(open("README....
bf73317955f372246c30fc82d977a247dbc839f6
setup.py
setup.py
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
Add config to support python >= 3
Add config to support python >= 3
Python
mit
edasi/kool
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
<commit_before># coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # deve...
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadat...
<commit_before># coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # deve...
6db55e993cb4a93aeede2cd9aff244e2c517fa06
setup.py
setup.py
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/PyFirebaseTokenGenerator', description='A utility ...
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/firebase-token-generator-python', description='A u...
Fix repo URL after rename
Fix repo URL after rename
Python
mit
googlearchive/firebase-token-generator-python
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/PyFirebaseTokenGenerator', description='A utility ...
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/firebase-token-generator-python', description='A u...
<commit_before>from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/PyFirebaseTokenGenerator', descript...
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/firebase-token-generator-python', description='A u...
from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/PyFirebaseTokenGenerator', description='A utility ...
<commit_before>from distutils.core import setup setup( name='firebase-token-generator', version='1.2', author='Greg Soltis', author_email='greg@firebase.com', py_modules=['firebase_token_generator'], license='LICENSE', url='https://github.com/firebase/PyFirebaseTokenGenerator', descript...
e48e8e28da5b6f4e7ccaad7a4fd1b4d0e9eff863
setup.py
setup.py
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.0.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgresql ETL ELT ex...
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.1.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters", license="MIT", keywords="redshift postgresql ETL ELT ext...
Bump version for v1.1.0 release
Bump version for v1.1.0 release
Python
mit
harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.0.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgresql ETL ELT ex...
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.1.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters", license="MIT", keywords="redshift postgresql ETL ELT ext...
<commit_before>from setuptools import find_packages, setup setup( name="redshift_etl", version="1.0.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgr...
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.1.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters", license="MIT", keywords="redshift postgresql ETL ELT ext...
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.0.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgresql ETL ELT ex...
<commit_before>from setuptools import find_packages, setup setup( name="redshift_etl", version="1.0.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgr...
185a0bad5381f256bc2968b0d225eb45d30a40cb
setup.py
setup.py
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
Add history subdirectory to the package
Add history subdirectory to the package
Python
mit
karec/oct-browser,karec/oct-browser
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
<commit_before>__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', ...
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', author_email='m...
<commit_before>__author__ = 'karec' import os from setuptools import setup from octbrowser import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as f: long_description = f.read() setup( name='octbrowser', version=__version__, author='Emmanuel Valette', ...
506b686435b80fbb782403ebab5348c41689203b
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
Remove installation of dev-requirements;they don't exist anymore
Remove installation of dev-requirements;they don't exist anymore
Python
mit
raphiz/bsAbstimmungen,raphiz/bsAbstimmungen
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
<commit_before>#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", ...
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", description...
<commit_before>#!/usr/bin/env python # encoding: utf-8 import os from setuptools import setup, find_packages setup( name="bsAbstimmungen", version="0.1.0", packages=['bsAbstimmungen'], author="Raphael Zimmermann", author_email="dev@raphael.li", url="https://github.com/raphiz/bsAbstimmungen", ...
5e8579e7e8717ef5b95c5ec1d48c2bff5a147f50
setup.py
setup.py
import os from setuptools import setup setup( name = "ld35", version = "0.1.1", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
import os from setuptools import setup setup( name = "ld35", version = "0.1.2", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
Update install_requires and inc version.
Update install_requires and inc version.
Python
mit
seventhroot/ld35
import os from setuptools import setup setup( name = "ld35", version = "0.1.1", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
import os from setuptools import setup setup( name = "ld35", version = "0.1.2", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
<commit_before>import os from setuptools import setup setup( name = "ld35", version = "0.1.1", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'],...
import os from setuptools import setup setup( name = "ld35", version = "0.1.2", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
import os from setuptools import setup setup( name = "ld35", version = "0.1.1", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'], package_da...
<commit_before>import os from setuptools import setup setup( name = "ld35", version = "0.1.1", url = "https://github.com/seventhroot/ld35", author = 'Seventh Root', description = 'The Seventh Root entry for Ludum Dare 35', long_description_markdown_filename='README.md', packages = ['ld35'],...
dd5dc52e579e8571e7c888b536c0528002345394
setup.py
setup.py
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Ulric Stroetz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='o...
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Uli Strötz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='osrm...
Fix typo in author name
Fix typo in author name
Python
mit
ustroetz/python-osrm,mthh/python-osrm,mthh/python-osrm,ustroetz/python-osrm
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Ulric Stroetz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='o...
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Uli Strötz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='osrm...
<commit_before>from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Ulric Stroetz, mthh", description="A Python wrapper around the OSRM API", install_requires=requiremen...
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Uli Strötz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='osrm...
from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Ulric Stroetz, mthh", description="A Python wrapper around the OSRM API", install_requires=requirements, name='o...
<commit_before>from setuptools import setup #from osrm import __version__ with open("requirements.txt") as f: requirements = f.read().split('\n') setup( author_email="ustroetz@gmail.com", author="Ulric Stroetz, mthh", description="A Python wrapper around the OSRM API", install_requires=requiremen...
c75923fdf53cd14eee9f977f22bffd1512288ae5
setup.py
setup.py
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
Add classifier indicating only Python2.7 support
Add classifier indicating only Python2.7 support
Python
apache-2.0
kderynski/napalm,mirceaulinic/napalm
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
<commit_before>import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", v...
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", version="1.00.0"...
<commit_before>import uuid __author__ = 'David Barroso <dbarrosop@dravetech.com>' from setuptools import setup, find_packages 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", v...
82ae36037513031fde19b7c82cd1f244c6e0c31b
setup.py
setup.py
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
Move RasterIO and Shapely to optional dependencies
Move RasterIO and Shapely to optional dependencies
Python
bsd-3-clause
UDST/spandex,SANDAG/spandex
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
<commit_before>import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( nam...
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( name='spandex', ...
<commit_before>import os.path from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # read README as the long description readme = 'README' if os.path.exists('README') else 'README.md' with open(readme, 'r') as f: long_description = f.read() setup( nam...
f764b52558cb02b8e31b9695a724e4c4e80872dd
iscc_bench/readers/__init__.py
iscc_bench/readers/__init__.py
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen ALL_READERS = (bxbooks, dnbrdf, harvard, openlibrary, ...
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen from iscc_bench.readers.caltech101 import caltech_101 fr...
Add image readers to package scope
Add image readers to package scope
Python
bsd-2-clause
coblo/isccbench
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen ALL_READERS = (bxbooks, dnbrdf, harvard, openlibrary, ...
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen from iscc_bench.readers.caltech101 import caltech_101 fr...
<commit_before># -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen ALL_READERS = (bxbooks, dnbrdf, harvard...
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen from iscc_bench.readers.caltech101 import caltech_101 fr...
# -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen ALL_READERS = (bxbooks, dnbrdf, harvard, openlibrary, ...
<commit_before># -*- coding: utf-8 -*- from iscc_bench.readers.bxbooks import bxbooks from iscc_bench.readers.dnbrdf import dnbrdf from iscc_bench.readers.harvard import harvard from iscc_bench.readers.openlibrary import openlibrary from iscc_bench.readers.libgen import libgen ALL_READERS = (bxbooks, dnbrdf, harvard...
711c992a89f9a6118d2b274e2a526be62e670a92
examples/flask_server.py
examples/flask_server.py
from flask import Flask, request # type: ignore from jsonrpcserver import method, dispatch, Result, Success app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return dispatch(request.get_data().decode()) if __name__ == "__main...
from flask import Flask, Response, request # type: ignore from jsonrpcserver import Result, Success, dispatch, method app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return Response( dispatch(request.get_data().decode...
Set content-type in flask example
Set content-type in flask example
Python
mit
bcb/jsonrpcserver
from flask import Flask, request # type: ignore from jsonrpcserver import method, dispatch, Result, Success app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return dispatch(request.get_data().decode()) if __name__ == "__main...
from flask import Flask, Response, request # type: ignore from jsonrpcserver import Result, Success, dispatch, method app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return Response( dispatch(request.get_data().decode...
<commit_before>from flask import Flask, request # type: ignore from jsonrpcserver import method, dispatch, Result, Success app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return dispatch(request.get_data().decode()) if __na...
from flask import Flask, Response, request # type: ignore from jsonrpcserver import Result, Success, dispatch, method app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return Response( dispatch(request.get_data().decode...
from flask import Flask, request # type: ignore from jsonrpcserver import method, dispatch, Result, Success app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return dispatch(request.get_data().decode()) if __name__ == "__main...
<commit_before>from flask import Flask, request # type: ignore from jsonrpcserver import method, dispatch, Result, Success app = Flask(__name__) @method def ping() -> Result: return Success("pong") @app.route("/", methods=["POST"]) def index() -> str: return dispatch(request.get_data().decode()) if __na...
8d01e536f0d3ce3332b3538155f0a5dd11cef16d
csv2ofx/mappings/gls.py
csv2ofx/mappings/gls.py
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
Add comment about python2.7 specific code.
Add comment about python2.7 specific code.
Python
mit
reubano/csv2ofx,reubano/csv2ofx
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
<commit_before># coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculou...
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
# coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculous M/D/Y order ...
<commit_before># coding: utf-8 from __future__ import absolute_import from operator import itemgetter mapping = { 'has_header': True, 'currency': 'EUR', 'delimiter': ';', 'bank': 'GLS Bank', 'account': itemgetter('Kontonummer'), # Chop up the dotted German date format and put it in ridiculou...
cfb995b21cbeac74b7ae80980ccd299c613d00db
ctypeslib/test/stdio.py
ctypeslib/test/stdio.py
import os from ctypeslib.dynamic_module import include from ctypes import * import logging logging.basicConfig(level=logging.INFO) if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """...
import os from ctypeslib.dynamic_module import include from ctypes import * if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """, persist=False)
Remove the logging setup call.
Remove the logging setup call. git-svn-id: ac2c3632cb6543e7ab5fafd132c7fe15057a1882@52678 6015fed2-1504-0410-9fe1-9d1591cc4771
Python
mit
luzfcb/ctypeslib,trolldbois/ctypeslib,trolldbois/ctypeslib,luzfcb/ctypeslib,luzfcb/ctypeslib,trolldbois/ctypeslib
import os from ctypeslib.dynamic_module import include from ctypes import * import logging logging.basicConfig(level=logging.INFO) if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """...
import os from ctypeslib.dynamic_module import include from ctypes import * if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """, persist=False)
<commit_before>import os from ctypeslib.dynamic_module import include from ctypes import * import logging logging.basicConfig(level=logging.INFO) if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcnt...
import os from ctypeslib.dynamic_module import include from ctypes import * if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """, persist=False)
import os from ctypeslib.dynamic_module import include from ctypes import * import logging logging.basicConfig(level=logging.INFO) if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcntl.h> #endif """...
<commit_before>import os from ctypeslib.dynamic_module import include from ctypes import * import logging logging.basicConfig(level=logging.INFO) if os.name == "nt": _libc = CDLL("msvcrt") else: _libc = CDLL(None) include("""\ #include <stdio.h> #ifdef _MSC_VER # include <fcntl.h> #else # include <sys/fcnt...
373c1d981ffcac9d996bcfa663463f3d8d19a75d
setup.py
setup.py
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
Add 'rb' to open() to support python 3
Add 'rb' to open() to support python 3
Python
apache-2.0
Pulsevoid/python-scss,pistolero/python-scss,Pulsevoid/python-scss,pistolero/python-scss
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
<commit_before>from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass'...
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass', cmdclass = ...
<commit_before>from distutils.extension import Extension from setuptools import setup, Extension from Cython.Distutils import build_ext import os.path here = os.path.dirname(os.path.abspath(__file__)) ext_modules = [Extension("sass", ["sass.pyx"], libraries=["sass", 'stdc++'] )] setup( name = 'sass'...
1d1c15107f017a5f940cfe7fb6cf344ec07268b6
setup.py
setup.py
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
Remove entry point for parse payload documentation
Remove entry point for parse payload documentation
Python
bsd-3-clause
ZeitOnline/zeit.push,ZeitOnline/zeit.push
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
<commit_before>from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages...
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages('src'), pa...
<commit_before>from setuptools import setup, find_packages setup( name='zeit.push', version='1.21.0.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="Sending push notifications through various providers", packages=find_packages...
98f210e2b3fe2451b63ad6abbf50e8ab690ef5a3
setup.py
setup.py
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
Add python language version classifiers
Add python language version classifiers
Python
bsd-3-clause
einvalentin/elasticutils,einvalentin/elasticutils,einvalentin/elasticutils,mozilla/elasticutils,mozilla/elasticutils,mozilla/elasticutils
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
<commit_before>import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M...
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M) if mo: ...
<commit_before>import os import re from setuptools import find_packages, setup READMEFILE = "README.rst" VERSIONFILE = os.path.join("elasticutils", "_version.py") VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" def get_version(): verstrline = open(VERSIONFILE, "rt").read() mo = re.search(VSRE, verstrline, re.M...
e74bed03b6e27a2b25ca57dd1e02994740999951
setup.py
setup.py
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='wallace-platform', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Ber...
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='w', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Berkeley CoCoSci',...
Use a free name on PyPi
Use a free name on PyPi
Python
mit
Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,berkeley-cocosci/Wallace,suchow/Wallace,jcpeterson/Dallinger,suchow/Wallace,Dallinger/Dallinger,berkeley-cocosci/Wallace,Dallinger/Dallinger,jcpeterson/Dallinger,Dallinger/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,Dallinger/Dallinger,suchow/Wal...
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='wallace-platform', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Ber...
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='w', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Berkeley CoCoSci',...
<commit_before>"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='wallace-platform', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', ...
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='w', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Berkeley CoCoSci',...
"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='wallace-platform', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', author='Ber...
<commit_before>"""Install Wallace as a command line utility.""" from setuptools import setup setup_args = dict( name='wallace-platform', packages=['wallace'], version="0.11.0", description='Wallace, a platform for experimental cultural evolution', url='http://github.com/berkeley-cocosci/Wallace', ...
03024f24cf21fc7fa7405aee2ab1a8df6a5da783
setup.py
setup.py
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.11", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "script...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.12.dev", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "sc...
Prepare for next development cycle
Prepare for next development cycle
Python
mit
ProgramFan/bentoo
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.11", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "script...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.12.dev", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "sc...
<commit_before>#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.11", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collect...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.12.dev", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "sc...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.11", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "script...
<commit_before>#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.11", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collect...
3029f33a4bff225128658618ff70a4e7b955a19f
setup.py
setup.py
"""wal - setup.py""" import setuptools try: import pywal except (ImportError, SyntaxError): print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except(IOError, ImportError, RuntimeError): LONG_DESC = open('README....
"""wal - setup.py""" import setuptools try: import pywal except ImportError: print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except (IOError, ImportError, RuntimeError): LONG_DESC = open('README.md').read() VE...
Allow syntax errors to pass up since users should never see any.
Allow syntax errors to pass up since users should never see any. This will help with debugging. Right now it just tells you that pywal needs python 3.5 or newer. Merge remote-tracking branch 'origin/syntax-errors' into syntax-errors
Python
mit
dylanaraps/pywal,dylanaraps/pywal,dylanaraps/pywal
"""wal - setup.py""" import setuptools try: import pywal except (ImportError, SyntaxError): print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except(IOError, ImportError, RuntimeError): LONG_DESC = open('README....
"""wal - setup.py""" import setuptools try: import pywal except ImportError: print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except (IOError, ImportError, RuntimeError): LONG_DESC = open('README.md').read() VE...
<commit_before>"""wal - setup.py""" import setuptools try: import pywal except (ImportError, SyntaxError): print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except(IOError, ImportError, RuntimeError): LONG_DESC ...
"""wal - setup.py""" import setuptools try: import pywal except ImportError: print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except (IOError, ImportError, RuntimeError): LONG_DESC = open('README.md').read() VE...
"""wal - setup.py""" import setuptools try: import pywal except (ImportError, SyntaxError): print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except(IOError, ImportError, RuntimeError): LONG_DESC = open('README....
<commit_before>"""wal - setup.py""" import setuptools try: import pywal except (ImportError, SyntaxError): print("error: pywal requires Python 3.5 or greater.") quit(1) try: import pypandoc LONG_DESC = pypandoc.convert("README.md", "rst") except(IOError, ImportError, RuntimeError): LONG_DESC ...
67dd519631e74d7b10c261ab4d987f1e314af86c
setup.py
setup.py
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
Use more sensible versioning towards first release
BLD: Use more sensible versioning towards first release
Python
bsd-3-clause
sahg/SAHGutils
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
<commit_before>import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: ...
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: GIT_REVISIO...
<commit_before>import os import subprocess from distutils.core import setup try: if os.path.exists(".git"): s = subprocess.Popen(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out = s.communicate()[0] GIT_REVISION = out.strip() else: ...
90e717775867a0445af1ea03455efd0db7af0de7
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot.plu...
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0-dev", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot...
Add -dev suffix to version
Add -dev suffix to version Makes it clear that there has not been an official release yet.
Python
mit
Muzer/smartbot,Cyanogenoid/smartbot,tomleese/smartbot,thomasleese/smartbot-old
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot.plu...
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0-dev", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot...
<commit_before>#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends"...
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0-dev", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot...
#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends", "smartbot.plu...
<commit_before>#!/usr/bin/env python3 from setuptools import setup setup( name="smartbot", version="1.0.0", description="A supposedly smart IRC bot.", url="https://github.com/tomleese/smartbot", author="Tom Leese", author_email="tom@tomleese.me.uk", packages=["smartbot", "smartbot.backends"...
4f7c19db4d875a8e35f48c5d850d2e2b34ada86b
setup.py
setup.py
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
Update pennprov to 2.2.1 for Python 3.7 compatibility.
Update pennprov to 2.2.1 for Python 3.7 compatibility.
Python
apache-2.0
ieeg-portal/ieegpy
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
<commit_before>################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 ...
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 L...
<commit_before>################################################################################## # Copyright 2013-19 by the Trustees of the University of Pennsylvania # # 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 ...
9fbcb33089b20003e042c2f6210a68d2121913ee
setup.py
setup.py
from setuptools import setup, find_packages setup( name="hubblestack", version="2.0", packages=find_packages(), entry_points={ 'console_scripts': [ 'hubble = hubble.daemon:run', ], }, install_requires=[ 'salt >= 2016.3.4', ], data_files=[('/etc/init.d'...
from setuptools import setup, find_packages import platform distro, version, _ = platform.dist() # Default to cent7 data_files = [('/usr/lib/systemd/system', ['pkg/hubble.service']),] if distro == 'redhat' or distro == 'centos': if version.startswith('6'): data_files = [('/etc/init.d', ['pkg/hubble']),] ...
Add platform detection for centos 6/7
Add platform detection for centos 6/7
Python
apache-2.0
basepi/hubble,madchills/hubble,madchills/hubble,basepi/hubble
from setuptools import setup, find_packages setup( name="hubblestack", version="2.0", packages=find_packages(), entry_points={ 'console_scripts': [ 'hubble = hubble.daemon:run', ], }, install_requires=[ 'salt >= 2016.3.4', ], data_files=[('/etc/init.d'...
from setuptools import setup, find_packages import platform distro, version, _ = platform.dist() # Default to cent7 data_files = [('/usr/lib/systemd/system', ['pkg/hubble.service']),] if distro == 'redhat' or distro == 'centos': if version.startswith('6'): data_files = [('/etc/init.d', ['pkg/hubble']),] ...
<commit_before>from setuptools import setup, find_packages setup( name="hubblestack", version="2.0", packages=find_packages(), entry_points={ 'console_scripts': [ 'hubble = hubble.daemon:run', ], }, install_requires=[ 'salt >= 2016.3.4', ], data_files=...
from setuptools import setup, find_packages import platform distro, version, _ = platform.dist() # Default to cent7 data_files = [('/usr/lib/systemd/system', ['pkg/hubble.service']),] if distro == 'redhat' or distro == 'centos': if version.startswith('6'): data_files = [('/etc/init.d', ['pkg/hubble']),] ...
from setuptools import setup, find_packages setup( name="hubblestack", version="2.0", packages=find_packages(), entry_points={ 'console_scripts': [ 'hubble = hubble.daemon:run', ], }, install_requires=[ 'salt >= 2016.3.4', ], data_files=[('/etc/init.d'...
<commit_before>from setuptools import setup, find_packages setup( name="hubblestack", version="2.0", packages=find_packages(), entry_points={ 'console_scripts': [ 'hubble = hubble.daemon:run', ], }, install_requires=[ 'salt >= 2016.3.4', ], data_files=...
a038f3d1d194490ea9a707db314d0fd1dabeb43b
setup.py
setup.py
import os from setuptools import setup, find_packages # import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0',...
import os from setuptools import setup, find_packages import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0', ...
Update w/ Readme & scripts
Update w/ Readme & scripts
Python
bsd-2-clause
mhahn/stacker,mhahn/stacker,federicobaldo/stacker,remind101/stacker,remind101/stacker,EnTeQuAk/stacker
import os from setuptools import setup, find_packages # import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0',...
import os from setuptools import setup, find_packages import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0', ...
<commit_before>import os from setuptools import setup, find_packages # import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', v...
import os from setuptools import setup, find_packages import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0', ...
import os from setuptools import setup, find_packages # import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', version='0.1.0',...
<commit_before>import os from setuptools import setup, find_packages # import glob src_dir = os.path.dirname(__file__) def read(filename): full_path = os.path.join(src_dir, filename) with open(full_path) as fd: return fd.read() if __name__ == '__main__': setup( name='stacker', v...
f545e1a6d95c22da7f941887d9b8823f3cdd5822
setup.py
setup.py
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', packages=find_packages(), in...
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', author='Zardus', author_emai...
Add author/maintainer information to keep pypi happy
Add author/maintainer information to keep pypi happy
Python
bsd-2-clause
zardus/idalink
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', packages=find_packages(), in...
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', author='Zardus', author_emai...
<commit_before>from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', packages=find_pac...
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', author='Zardus', author_emai...
from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', packages=find_packages(), in...
<commit_before>from setuptools import setup, find_packages setup( name='idalink', description='An interface to the insides of IDA!', long_description=open('README.md').read(), version='0.11', url='https://github.com/zardus/idalink', license='GNU General Public License v3', packages=find_pac...
6f4508102dff2db380434d7cf2a00a2cc3141731
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
Add specific Python version trove classifiers
Add specific Python version trove classifiers
Python
isc
Bklyn/dotfiles,aparente/Dotfiles,aparente/Dotfiles,aparente/Dotfiles,nilehmann/dotfiles-1,aparente/Dotfiles
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys....
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys.argv[-1] == "te...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from dotfiles.core import __version__ if sys.argv[-1] == "publish": os.system("python setup.py sdist upload") sys.exit() if sys....
7a7e824b63c4498ee12c59a6af459e6fe8639003
server.py
server.py
import bottle import waitress import controller import breathe from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/Pacific')) breather = breathe.Breathe() my_controller = contro...
import bottle from cso_parser import CsoParser import waitress from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler from breathe import Breathe from controller import Controller bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/...
Add scheduled cso_job method - Retrieves the CSO status and updates the breathe rate
Add scheduled cso_job method - Retrieves the CSO status and updates the breathe rate
Python
mit
tipsqueal/duwamish-lighthouse,tipsqueal/duwamish-lighthouse,illumenati/duwamish-lighthouse,illumenati/duwamish-lighthouse
import bottle import waitress import controller import breathe from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/Pacific')) breather = breathe.Breathe() my_controller = contro...
import bottle from cso_parser import CsoParser import waitress from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler from breathe import Breathe from controller import Controller bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/...
<commit_before>import bottle import waitress import controller import breathe from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/Pacific')) breather = breathe.Breathe() my_cont...
import bottle from cso_parser import CsoParser import waitress from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler from breathe import Breathe from controller import Controller bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/...
import bottle import waitress import controller import breathe from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/Pacific')) breather = breathe.Breathe() my_controller = contro...
<commit_before>import bottle import waitress import controller import breathe from pytz import timezone from apscheduler.schedulers.background import BackgroundScheduler bottle_app = bottle.app() scheduler = BackgroundScheduler() scheduler.configure(timezone=timezone('US/Pacific')) breather = breathe.Breathe() my_cont...
6382a5d47f720d62c596a9f7dd24f6d0aa9dff55
plugins/invitejoiner/invitejoiner.py
plugins/invitejoiner/invitejoiner.py
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) Invitejoiner.run()
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) if __name__ == "__main__": sys....
Fix starting the Invitejoiner plugin
Fix starting the Invitejoiner plugin
Python
mit
Tigge/platinumshrimp
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) Invitejoiner.run() Fix starting th...
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) if __name__ == "__main__": sys....
<commit_before> import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) Invitejoiner.run() ...
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) if __name__ == "__main__": sys....
import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) Invitejoiner.run() Fix starting th...
<commit_before> import plugin from twisted.python import log class Invitejoiner(plugin.Plugin): def __init__(self): plugin.Plugin.__init__(self, "Invitejoiner") def invited(self, server_id, channel): log.msg("Invited to: ", channel) self.join(server_id, channel) Invitejoiner.run() ...
e4b37ddc8802386572aa496e8b37ca647839aac7
setup.py
setup.py
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='tango-shared-core', version='0.6.4', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', url='https://github.com/tBaxter/tango-shared-core', license='LICENSE', description='Tan...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('docs/requirements.txt') as f: required = f.read().splitlines() setup( name='tango-shared-core', version='0.6.5', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', description='Tango shared/core functionali...
Fix for requirements, and increment version
Fix for requirements, and increment version
Python
mit
tBaxter/tango-shared-core,tBaxter/tango-shared-core,tBaxter/tango-shared-core
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='tango-shared-core', version='0.6.4', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', url='https://github.com/tBaxter/tango-shared-core', license='LICENSE', description='Tan...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('docs/requirements.txt') as f: required = f.read().splitlines() setup( name='tango-shared-core', version='0.6.5', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', description='Tango shared/core functionali...
<commit_before># -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='tango-shared-core', version='0.6.4', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', url='https://github.com/tBaxter/tango-shared-core', license='LICENSE', d...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('docs/requirements.txt') as f: required = f.read().splitlines() setup( name='tango-shared-core', version='0.6.5', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', description='Tango shared/core functionali...
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='tango-shared-core', version='0.6.4', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', url='https://github.com/tBaxter/tango-shared-core', license='LICENSE', description='Tan...
<commit_before># -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='tango-shared-core', version='0.6.4', author=u'Tim Baxter', author_email='mail.baxter@gmail.com', url='https://github.com/tBaxter/tango-shared-core', license='LICENSE', d...
3970a8e84c8a541dc69687c36388a829eb36b29f
setup.py
setup.py
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
Use CC0 and Public Domain for license
Use CC0 and Public Domain for license
Python
cc0-1.0
grapesmoker/regulations-site,ascott1/regulations-site,ascott1/regulations-site,willbarton/regulations-site,willbarton/regulations-site,willbarton/regulations-site,willbarton/regulations-site,grapesmoker/regulations-site,grapesmoker/regulations-site,ascott1/regulations-site,grapesmoker/regulations-site,ascott1/regulatio...
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
<commit_before>from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to ru...
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to run `frontendbuil...
<commit_before>from setuptools import setup, find_packages import os from subprocess import call from setuptools import Command from distutils.command.build_ext import build_ext as _build_ext from setuptools.command.bdist_egg import bdist_egg as _bdist_egg class build_frontend(Command): """ A command class to ru...
23334c4598e112d66ebab7702854a40eb4115c5c
setup.py
setup.py
from distutils.core import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], ...
from setuptools import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], # ...
Allow to install in development mode
Allow to install in development mode User can now install with python setup.py develop
Python
mit
kevinburke/hamms
from distutils.core import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], ...
from setuptools import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], # ...
<commit_before>from distutils.core import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server...
from setuptools import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], # ...
from distutils.core import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server', 'http',], ...
<commit_before>from distutils.core import setup setup( name='hamms', packages=['hamms'], version='0.6', description='Malformed servers to test your HTTP client', author='Kevin Burke', author_email='kev@inburke.com', url='https://github.com/kevinburke/hamms', keywords=['testing', 'server...
c39dc041c4ef68808cc7df965321d904960863b8
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
Remove gdata dependency from install reqs
Remove gdata dependency from install reqs
Python
agpl-3.0
openhatch/oh-bugimporters,openhatch/oh-bugimporters,openhatch/oh-bugimporters
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), ...
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), description='B...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, Command setup_params = dict( name='bugimporters', version=0.1, author='Various contributers to the OpenHatch project, Berry Phillips', author_email='all@openhatch.org, berryphillips@gmail.com', packages=find_packages(), ...
7d20d17229f11ddba104d4e5d4fcfc65d56e0102
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
Change ucldc-iiif back to barbara's repo
Change ucldc-iiif back to barbara's repo
Python
bsd-3-clause
barbarahui/nuxeo-calisphere,barbarahui/nuxeo-calisphere
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
<commit_before>import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version =...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version = "0.0.3", d...
<commit_before>import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name = "UCLDC Deep Harvester", version =...
7c2867be212d912e6d49995665d155474dbb2e48
setup.py
setup.py
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
Remove stuff that doesn't need to be here.
Remove stuff that doesn't need to be here.
Python
unlicense
cgiacofei/pyledgertools,cgiacofei/pyledgertools
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
<commit_before>"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ ...
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ 'Developmen...
<commit_before>"""pyledgertools setup file""" from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pyledgertools', version='0.1', description='Python based tools for ledger accounting.', long_description=readme(), classifiers=[ ...
0c58182ef8e82bb3f7a6c26e03eec0de9cbd35d4
setup.py
setup.py
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.2', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.3', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
Bump up version to 0.3
Bump up version to 0.3
Python
bsd-2-clause
hivelocity/djiki,hivelocity/djiki
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.2', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.3', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
<commit_before># -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.2', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_...
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.3', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.2', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_email = 'michal...
<commit_before># -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name = 'djiki', version = '0.2', description = 'Django Wiki Application', url = 'https://github.com/emesik/djiki/', long_description = open('README.rst').read(), author = 'Michał Sałaban', author_...
f2eb6913787bc933c70fca1c1d98058be88d739f
setup.py
setup.py
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', description='A C...
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b2', description='A C...
Update package version to 2.0.0-beta.2
Update package version to 2.0.0-beta.2
Python
mit
caleb531/alfred-workflow-packager
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', description='A C...
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b2', description='A C...
<commit_before>#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', d...
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b2', description='A C...
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', description='A C...
<commit_before>#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', d...
0f4c1b69753450802c1e8a438544b41cf705e92a
backend/api_access/main.py
backend/api_access/main.py
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
Change the way data is printed
Change the way data is printed
Python
mit
nikha1/nyc-taxi,nikha1/nyc-taxi,nikha1/nyc-taxi
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
<commit_before>import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df...
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df.ix[i]['pickup_...
<commit_before>import pandas as pd import geonames as gn #Enter csv path path = "/Users/larshelin/Documents/PycharmProjects/CEP/nyc-taxi/backend/parser/trips_shortend.csv" #Open Dataframe df = pd.read_csv(path) for i in range(0,10): # Get Latitude and Longitude lat = df.ix[i]['pickup_latitude'] long = df...
91e8878764fd9914d56b01da7b8bbbbb37258a20
tests.py
tests.py
#!/usr/bin/python -O import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randint(1, 3790) for i in xran...
#!/usr/bin/python -O # -*- coding: utf-8 -*- import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randin...
Test script to UTF-8 and output category.
Test script to UTF-8 and output category.
Python
mit
dangoldin/jeopardy-parser,dangoldin/jeopardy-parser,whymarrh/jeopardy-parser
#!/usr/bin/python -O import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randint(1, 3790) for i in xran...
#!/usr/bin/python -O # -*- coding: utf-8 -*- import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randin...
<commit_before>#!/usr/bin/python -O import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randint(1, 3790...
#!/usr/bin/python -O # -*- coding: utf-8 -*- import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randin...
#!/usr/bin/python -O import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randint(1, 3790) for i in xran...
<commit_before>#!/usr/bin/python -O import sqlite3 from parser import SQLITE3_DB_NAME from random import randint, randrange def main(): """ Ouputs a random clue (with game ID) from 10 random games for checking. """ sql = sqlite3.connect(SQLITE3_DB_NAME) # list of random game id numbers gids = [randint(1, 3790...
fcffabef406cd0d983e4754c58c76760f0204357
pywikibot/families/commons_family.py
pywikibot/families/commons_family.py
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
Enable Wikidata for Wikimedia Commons
Enable Wikidata for Wikimedia Commons Change-Id: Ibc8734f65dcd97dc7af9674efe8655fe01dc61d3
Python
mit
smalyshev/pywikibot-core,Darkdadaah/pywikibot-core,npdoty/pywikibot,jayvdb/pywikibot-core,magul/pywikibot-core,VcamX/pywikibot-core,h4ck3rm1k3/pywikibot-core,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,darthbhyrava/pywikibot-local,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,emijrp/...
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
<commit_before># -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia...
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
# -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia.org', ...
<commit_before># -*- coding: utf-8 -*- __version__ = '$Id$' from pywikibot import family # The Wikimedia Commons family class Family(family.WikimediaFamily): def __init__(self): super(Family, self).__init__() self.name = 'commons' self.langs = { 'commons': 'commons.wikimedia...
9fa7d9dfe4218f919133efae8495e4bcb16ccc5e
pastas/recharge/recharge_func.py
pastas/recharge/recharge_func.py
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
Change parameters to match StressModel2
Change parameters to match StressModel2 and so the results.
Python
mit
gwtsa/gwtsa,pastas/pasta,pastas/pastas
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
<commit_before>"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of paramete...
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of parameters needed for t...
<commit_before>"""recharge_func module Author: R.A. Collenteur Contains the classes for the different models that are available to calculate the recharge from evaporation and precipitation data. Each Recharge class contains at least the following: Attributes ---------- nparam: int Number of paramete...
73d444c234ddb734ac14b688f6542750ea09de78
api/init/graphqlapi/routes.py
api/init/graphqlapi/routes.py
from graphqlapi.proxy import proxy_request from graphqlapi.interceptor import RequestException from flask_restplus import Resource, fields, Namespace, Api from docker.errors import APIError from flask import request, jsonify, make_response def register_graphql(namespace: Namespace, api: Api): """Method used to re...
from docker.errors import APIError from flask import request, jsonify, make_response from flask_restplus import Resource, fields, Namespace, Api from graphqlapi.exceptions import RequestException from graphqlapi.proxy import proxy_request def register_graphql(namespace: Namespace, api: Api): """Method used to reg...
Reorder imports in alphabetical order
Reorder imports in alphabetical order
Python
apache-2.0
alexisrolland/data-quality,alexisrolland/data-quality,alexisrolland/data-quality,alexisrolland/data-quality
from graphqlapi.proxy import proxy_request from graphqlapi.interceptor import RequestException from flask_restplus import Resource, fields, Namespace, Api from docker.errors import APIError from flask import request, jsonify, make_response def register_graphql(namespace: Namespace, api: Api): """Method used to re...
from docker.errors import APIError from flask import request, jsonify, make_response from flask_restplus import Resource, fields, Namespace, Api from graphqlapi.exceptions import RequestException from graphqlapi.proxy import proxy_request def register_graphql(namespace: Namespace, api: Api): """Method used to reg...
<commit_before>from graphqlapi.proxy import proxy_request from graphqlapi.interceptor import RequestException from flask_restplus import Resource, fields, Namespace, Api from docker.errors import APIError from flask import request, jsonify, make_response def register_graphql(namespace: Namespace, api: Api): """Me...
from docker.errors import APIError from flask import request, jsonify, make_response from flask_restplus import Resource, fields, Namespace, Api from graphqlapi.exceptions import RequestException from graphqlapi.proxy import proxy_request def register_graphql(namespace: Namespace, api: Api): """Method used to reg...
from graphqlapi.proxy import proxy_request from graphqlapi.interceptor import RequestException from flask_restplus import Resource, fields, Namespace, Api from docker.errors import APIError from flask import request, jsonify, make_response def register_graphql(namespace: Namespace, api: Api): """Method used to re...
<commit_before>from graphqlapi.proxy import proxy_request from graphqlapi.interceptor import RequestException from flask_restplus import Resource, fields, Namespace, Api from docker.errors import APIError from flask import request, jsonify, make_response def register_graphql(namespace: Namespace, api: Api): """Me...
d88c2b8c99c57a434209741a65bdb2751415ec3f
setuptools/command/install_scripts.py
setuptools/command/install_scripts.py
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus an...
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus any...
Fix "legacy mode" trying to install scripts when there are none.
Fix "legacy mode" trying to install scripts when there are none. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041777
Python
mit
pypa/setuptools,pypa/setuptools,pypa/setuptools
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus an...
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus any...
<commit_before>from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script i...
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus any...
from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script install, plus an...
<commit_before>from distutils.command.install_scripts import install_scripts \ as _install_scripts from easy_install import get_script_args from pkg_resources import Distribution, PathMetadata, ensure_directory import os from distutils import log class install_scripts(_install_scripts): """Do normal script i...
03bef06e48d513b882b417476e60544eade1cdc4
gitcms/simplecms/urls.py
gitcms/simplecms/urls.py
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.+)/?', views.article), )
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.*)/?', views.article), )
Work for the empty url
Work for the empty url
Python
agpl-3.0
luispedro/django-gitcms,luispedro/django-gitcms
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.+)/?', views.article), ) Work for the empty url
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.*)/?', views.article), )
<commit_before>from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.+)/?', views.article), ) <commit_msg>Work for the empty url<commit_after>
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.*)/?', views.article), )
from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.+)/?', views.article), ) Work for the empty urlfrom django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.*)/?', views.article), )
<commit_before>from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.+)/?', views.article), ) <commit_msg>Work for the empty url<commit_after>from django.conf.urls.defaults import * import views urlpatterns = patterns('', (r'^(?P<url>.*)/?', views.article), )
f9312ee3441d4d6e60b323e88afc4dc0284ed66b
derrida/__init__.py
derrida/__init__.py
__version_info__ = (1, 0, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environ...
__version_info__ = (1, 0, 0, None) # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environm...
Set version to 1.0 final !
Set version to 1.0 final !
Python
apache-2.0
Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django
__version_info__ = (1, 0, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environ...
__version_info__ = (1, 0, 0, None) # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environm...
<commit_before>__version_info__ = (1, 0, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the t...
__version_info__ = (1, 0, 0, None) # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environm...
__version_info__ = (1, 0, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environ...
<commit_before>__version_info__ = (1, 0, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the t...
56236454f252ab8feee461c49c26b9eee70a7e09
vpython/_vector_import_helper.py
vpython/_vector_import_helper.py
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # synonyms in GlowScript vec = vector
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # Remove platform from the namespace now that we are done with it del platfor...
Delete platform so that it doesn't end up in the user's namespace
Delete platform so that it doesn't end up in the user's namespace
Python
mit
BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter,BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter,mwcraig/vpython-jupyter,mwcraig/vpython-jupyter,BruceSherwood/vpython-jupyter,BruceSherwood/vpython-jupyter
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # synonyms in GlowScript vec = vector Delete platform so that it doesn't end ...
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # Remove platform from the namespace now that we are done with it del platfor...
<commit_before>import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # synonyms in GlowScript vec = vector <commit_msg>Delete platf...
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # Remove platform from the namespace now that we are done with it del platfor...
import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # synonyms in GlowScript vec = vector Delete platform so that it doesn't end ...
<commit_before>import platform try: if platform.python_implementation() == 'PyPy': from .vector import * # use pure python vector for PyPy else: from .cyvector import * v = vector(0,0,0) except: from .vector import * # synonyms in GlowScript vec = vector <commit_msg>Delete platf...
8c4059b9467b586ba54e387c9cf7f134a71aaba8
utils.py
utils.py
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) def appid(): if have_appserver: return get_application_id() else: try: from .boot...
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver app...
Fix a bug introduced in the last commit
Fix a bug introduced in the last commit
Python
bsd-3-clause
potatolondon/djangoappengine-1-4,potatolondon/djangoappengine-1-4
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) def appid(): if have_appserver: return get_application_id() else: try: from .boot...
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver app...
<commit_before>import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) def appid(): if have_appserver: return get_application_id() else: try: ...
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver app...
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) def appid(): if have_appserver: return get_application_id() else: try: from .boot...
<commit_before>import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) def appid(): if have_appserver: return get_application_id() else: try: ...
7558ffc73ebb6300e186fe508497a32acbc0c5ae
src/pythonic/test_primes.py
src/pythonic/test_primes.py
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_upper_bound_exception(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): s.is_prime(101)...
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_checking_above_upper_bound_is_an_error(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): ...
Reword guard test on upper bounds
Reword guard test on upper bounds
Python
cc0-1.0
Michael-F-Bryan/rust-ffi-guide,Michael-F-Bryan/rust-ffi-guide,Michael-F-Bryan/rust-ffi-guide
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_upper_bound_exception(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): s.is_prime(101)...
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_checking_above_upper_bound_is_an_error(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): ...
<commit_before>import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_upper_bound_exception(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): ...
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_checking_above_upper_bound_is_an_error(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): ...
import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_upper_bound_exception(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): s.is_prime(101)...
<commit_before>import pytest import itertools from main import Primes, Sieve def test_sieve_limit(): limit = 10000 with Sieve(limit) as s: assert s.upper_bound() >= limit def test_upper_bound_exception(): limit = 10 with Sieve(limit) as s: with pytest.raises(IndexError): ...
57157a9ca96cb077079f310fb259847eac5ce6fb
ztreeauth/component/factories.py
ztreeauth/component/factories.py
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztree.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" at %...
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztreecrud.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" ...
Fix package path issue caused by previous refactoring commit.
Fix package path issue caused by previous refactoring commit.
Python
mit
stana/django-ztree
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztree.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" at %...
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztreecrud.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" ...
<commit_before>from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztree.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local...
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztreecrud.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" ...
from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztree.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local user "%s" at %...
<commit_before>from django.contrib.auth.models import User, Group from ztreeauth.models import LocalUser from ztree.component.factories import create_node_factory import logging logger = logging.getLogger('ztreeauth') def local_user_factory(request, local_user_content_type, **kwargs): logger.info('creating local...
8036a12794f61192dbd8639c84395d8cbb31fb31
axes_login_actions/signals.py
axes_login_actions/signals.py
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'A...
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'AXES_LOGIN_ACT...
Use importlib from Python instead from Django
Use importlib from Python instead from Django
Python
bsd-3-clause
eht16/django-axes-login-actions
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'A...
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'AXES_LOGIN_ACT...
<commit_before># -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getat...
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'AXES_LOGIN_ACT...
# -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getattr(settings, 'A...
<commit_before># -*- coding: utf-8 -*- from axes.models import AccessAttempt from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.importlib import import_module DEFAULT_ACTION = 'axes_login_actions.actions.email.notify' ACTIONS = getat...
8e4f09592d6b4d681a62026b56dca29abeed88d7
backend/scripts/ddirdenorm.py
backend/scripts/ddirdenorm.py
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
Handle non-existent files in the database.
Handle non-existent files in the database.
Python
mit
materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
<commit_before>#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('loc...
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('localhost', int(op...
<commit_before>#!/usr/bin/env python import rethinkdb as r import optparse if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("-p", "--port", dest="port", help="rethinkdb port", default=30815) (options, args) = parser.parse_args() conn = r.connect('loc...
d6726447559b371886ae9885702a5da71c25c0fe
querylist/__init__.py
querylist/__init__.py
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = "0.2.0" __author__ = "Thomas Welfley" __all__ = ['QueryList', 'BetterDict']
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = '0.2.0' __author__ = 'Thomas Welfley' __all__ = ['QueryList', 'BetterDict']
Fix single vs double quote inconsistency
Fix single vs double quote inconsistency
Python
mit
thomasw/querylist
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = "0.2.0" __author__ = "Thomas Welfley" __all__ = ['QueryList', 'BetterDict'] Fix single vs double quote inconsistency
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = '0.2.0' __author__ = 'Thomas Welfley' __all__ = ['QueryList', 'BetterDict']
<commit_before>"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = "0.2.0" __author__ = "Thomas Welfley" __all__ = ['QueryList', 'BetterDict'] <commit_msg>Fix single vs double quote inconsistency<commit_after>
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = '0.2.0' __author__ = 'Thomas Welfley' __all__ = ['QueryList', 'BetterDict']
"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = "0.2.0" __author__ = "Thomas Welfley" __all__ = ['QueryList', 'BetterDict'] Fix single vs double quote inconsistency"""QueryList provides a simple way to filter li...
<commit_before>"""QueryList provides a simple way to filter lists of objects.""" from querylist.list import QueryList from querylist.dict import BetterDict __version__ = "0.2.0" __author__ = "Thomas Welfley" __all__ = ['QueryList', 'BetterDict'] <commit_msg>Fix single vs double quote inconsistency<commit_after>"""Que...
e2fdee671e23fe06cc191b4940f611369c9e90b5
waterfall_wall/models.py
waterfall_wall/models.py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
Fix model id to auto increment
Fix model id to auto increment
Python
mit
carlcarl/rcard,carlcarl/rcard
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
<commit_before># This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the tab...
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
<commit_before># This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the tab...
fd95be0137f23643d99e49b2acdaf28a73e0ae43
read_FVCOM_results.py
read_FVCOM_results.py
from netCDF4 import Dataset, MFDataset def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_format...
def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ from netCDF4 import Dataset, MFDataset rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_f...
Add function to extract surface elevation from a 2D array of surface elevations
Add function to extract surface elevation from a 2D array of surface elevations
Python
mit
pwcazenave/PyFVCOM
from netCDF4 import Dataset, MFDataset def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_format...
def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ from netCDF4 import Dataset, MFDataset rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_f...
<commit_before>from netCDF4 import Dataset, MFDataset def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + root...
def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ from netCDF4 import Dataset, MFDataset rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_f...
from netCDF4 import Dataset, MFDataset def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + rootgrp.file_format...
<commit_before>from netCDF4 import Dataset, MFDataset def readFVCOM(file, varList, noisy=False): """ Read in the FVCOM results file and spit out numpy arrays for each of the variables. """ rootgrp = Dataset(file, 'r') mfdata = MFDataset(file) if noisy: print "File format: " + root...
9c0c49ee1d9181e54d3058e88af7f11f65b8dd5d
dotsecrets/utils.py
dotsecrets/utils.py
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0600
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0o600
Make octal number compatible with Python3
Make octal number compatible with Python3
Python
bsd-3-clause
oohlaf/dotsecrets
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0600 Make ...
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0o600
<commit_before>import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mod...
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0o600
import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mode == 0600 Make ...
<commit_before>import os import stat class CopyFilter(object): def sub(self, line): return line def is_only_user_readable(filename): """Return true if and only if filename is readable by user and unreadable by group and others.""" mode = stat.S_IMODE(os.stat(filename).st_mode) return mod...
e3833d0c8352fa33e6b77200310edfdb96b2cd5a
chipy_org/libs/social_auth_pipelines.py
chipy_org/libs/social_auth_pipelines.py
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user = None, is_new = Fals...
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user=None, is_new=False, ...
Return the user in the pipeline if the backend is google oauth2
Return the user in the pipeline if the backend is google oauth2
Python
mit
bharathelangovan/chipy.org,brianray/chipy.org,chicagopython/chipy.org,agfor/chipy.org,tanyaschlusser/chipy.org,bharathelangovan/chipy.org,agfor/chipy.org,tanyaschlusser/chipy.org,chicagopython/chipy.org,brianray/chipy.org,chicagopython/chipy.org,tanyaschlusser/chipy.org,brianray/chipy.org,agfor/chipy.org,chicagopython/...
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user = None, is_new = Fals...
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user=None, is_new=False, ...
<commit_before>from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user = None...
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user=None, is_new=False, ...
from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user = None, is_new = Fals...
<commit_before>from django.utils.translation import ugettext from django.contrib.auth.models import User from social_auth.backends.pipeline.user import create_user as social_auth_create_user from social_auth.exceptions import AuthAlreadyAssociated def create_user(backend, details, response, uid, username, user = None...
2b39a322860171dd3d947fb2733519f260c74c70
src/webilder/AboutDialog.py
src/webilder/AboutDialog.py
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
Add 2011 to the year range in the about dialog
Add 2011 to the year range in the about dialog
Python
bsd-3-clause
thesamet/webilder,thesamet/webilder,thesamet/webilder
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
<commit_before>''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.Abo...
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.AboutDialog() ...
<commit_before>''' File : AboutDialog.py Author : Nadav Samet Contact : thesamet@gmail.com Date : 2010 Jun 17 Description : Controller for the about dialog. ''' from webilder import __version__ import gtk import pkg_resources def show_about_dialog(name): """Shows the about dialog.""" about = gtk.Abo...
46972788b2f4c3b3ac79e2d2fb9b8dd6a3834148
src/yunohost/utils/error.py
src/yunohost/utils/error.py
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
Add comment about the motivation behind YunohostError
Add comment about the motivation behind YunohostError
Python
agpl-3.0
YunoHost/yunohost,YunoHost/yunohost,YunoHost/moulinette-yunohost,YunoHost/moulinette-yunohost,YunoHost/yunohost,YunoHost/moulinette-yunohost,YunoHost/yunohost,YunoHost/moulinette-yunohost,YunoHost/moulinette-yunohost
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
<commit_before># -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
# -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
<commit_before># -*- coding: utf-8 -*- """ License Copyright (C) 2018 YUNOHOST.ORG This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
b2f5e71e15eec47efd1b8faed97ec614b78deaf6
test/test_stream.py
test/test_stream.py
import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 assert len(sr.next(data)) == 1 sr =...
from __future__ import print_function import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 ass...
Add compatibility with Python 3.3.
Add compatibility with Python 3.3.
Python
mit
Knio/pynmea2,adamfazzari/pynmea2,ampledata/pynmea2,silentquasar/pynmea2,lobocv/pynmea2
import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 assert len(sr.next(data)) == 1 sr =...
from __future__ import print_function import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 ass...
<commit_before>import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 assert len(sr.next(data)) =...
from __future__ import print_function import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 ass...
import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 assert len(sr.next(data)) == 1 sr =...
<commit_before>import pynmea2 from tempfile import TemporaryFile def test_stream(): data = "$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D\n" sr = pynmea2.NMEAStreamReader() assert len(sr.next('')) == 0 assert len(sr.next(data)) == 1 assert len(sr.next(data)) =...
6c73fd3ca1c6459a3a8987a2a5c77b0247eda128
tests/test_users.py
tests/test_users.py
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
Create a test asserting the useradd command
Create a test asserting the useradd command
Python
bsd-3-clause
pglbutt/spanky,pglbutt/spanky,pglbutt/spanky
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
<commit_before>import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): ...
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): self.us...
<commit_before>import pytest from mock import patch, Mock from spanky.lib import users class TestCreateUsers(object): def setup(self): self.conf = [ {'username': 'foo'}, {'username': 'bar'}, ] self.user_init = users.UserInit(self.conf) def test_build(self): ...
409722f0e075385e05a77513f6dbd9c3b540bfac
txpoloniex/const.py
txpoloniex/const.py
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
Add DATE_FORMAT for parsing any datetime strings
Add DATE_FORMAT for parsing any datetime strings Poloniex seems to use a fixed output format for datetime strings
Python
apache-2.0
congruency/txpoloniex
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
<commit_before>""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'ret...
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'returnLoanOrders',...
<commit_before>""" Constant values for the Poloniex API """ PUBLIC_API = 'https://poloniex.com/public' PRIVATE_API = 'https://poloniex.com/tradingApi' PUBLIC_COMMANDS = [ 'returnTicker', 'return24hVolume', 'returnOrderBook', 'returnTradeHistory', 'returnChartData', 'returnCurrencies', 'ret...
74f8b419083189ba666459888d1427193c38873e
netdisco/discoverables/apple_tv.py
netdisco/discoverables/apple_tv.py
"""Discover Apple TV media players.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') def info_from_ent...
"""Discover Apple TV media players.""" import ipaddress from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') ...
Add missing host field to Apple TV
Add missing host field to Apple TV
Python
mit
brburns/netdisco,balloob/netdisco
"""Discover Apple TV media players.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') def info_from_ent...
"""Discover Apple TV media players.""" import ipaddress from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') ...
<commit_before>"""Discover Apple TV media players.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') de...
"""Discover Apple TV media players.""" import ipaddress from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') ...
"""Discover Apple TV media players.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') def info_from_ent...
<commit_before>"""Discover Apple TV media players.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for Apple TV devices.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_appletv-v2._tcp.local.') de...
2f074527b1c1a776d944aa4f487b2f35b388db28
cities_light/tests/test_unicode_decode_error.py
cities_light/tests/test_unicode_decode_error.py
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
Patch settings from inside the command module
Patch settings from inside the command module
Python
mit
greenday2/django-cities-light,yourlabs/django-cities-light,max-arnold/django-cities-light,KevinGrahamFoster/django-cities-light,max-arnold/django-cities-light
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
<commit_before>from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name):...
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name): # noqa re...
<commit_before>from __future__ import unicode_literals import os import mock from django import test from django.core.management import call_command BASE_DIR = os.path.dirname(os.path.dirname(__file__)) FIXTURE_DIR = os.path.abspath(os.path.join(BASE_DIR, 'tests', 'fixtures')) def mock_source(setting, short_name):...
4486fba6dd75dab67c25221653f2384455eda9be
tests/test_sorting_and_searching/test_binary_search.py
tests/test_sorting_and_searching/test_binary_search.py
import unittest from sorting_and_searching import binary_search_recursive class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(self): result = binary_search_recurs...
import unittest from aids.sorting_and_searching.binary_search import binary_search_recursive, binary_search_iterative class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(...
Add unit tests for binary search recursive and iterative
Add unit tests for binary search recursive and iterative
Python
mit
ueg1990/aids
import unittest from sorting_and_searching import binary_search_recursive class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(self): result = binary_search_recurs...
import unittest from aids.sorting_and_searching.binary_search import binary_search_recursive, binary_search_iterative class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(...
<commit_before>import unittest from sorting_and_searching import binary_search_recursive class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(self): result = binar...
import unittest from aids.sorting_and_searching.binary_search import binary_search_recursive, binary_search_iterative class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(...
import unittest from sorting_and_searching import binary_search_recursive class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(self): result = binary_search_recurs...
<commit_before>import unittest from sorting_and_searching import binary_search_recursive class BinarySearchTestCase(unittest.TestCase): ''' Unit tests for binary search ''' def setUp(self): self.example_1 = [2, 3, 4, 10, 40] def test_binary_search_recursive(self): result = binar...
b85d2605224ac3d079c71c93e9d94329366ec0f9
functest/utils/env.py
functest/utils/env.py
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environm...
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'false', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environ...
Undo setting CI_DEBUG to true by default
Undo setting CI_DEBUG to true by default Change-Id: I24ca35ada7591e93413cdda1905ee01f77131889 Signed-off-by: Romanos Skiadas <2ae8a933f732975064e7c256d0625d1633389b98@intracom-telecom.com>
Python
apache-2.0
opnfv/functest,opnfv/functest,mywulin/functest,mywulin/functest
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environm...
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'false', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environ...
<commit_before>import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } ...
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'false', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environ...
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environm...
<commit_before>import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } ...
92204c154ab964d02faade72642a395356f1fa9b
aorun/losses.py
aorun/losses.py
import torch def mean_squared_error(true, pred): return torch.mean((true - pred)**2) def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): re...
import torch def mean_squared_error(true, pred): return ((true - pred)**2).mean() def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): retur...
Change error message to loss
Change error message to loss
Python
mit
ramon-oliveira/aorun
import torch def mean_squared_error(true, pred): return torch.mean((true - pred)**2) def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): re...
import torch def mean_squared_error(true, pred): return ((true - pred)**2).mean() def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): retur...
<commit_before>import torch def mean_squared_error(true, pred): return torch.mean((true - pred)**2) def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, ep...
import torch def mean_squared_error(true, pred): return ((true - pred)**2).mean() def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): retur...
import torch def mean_squared_error(true, pred): return torch.mean((true - pred)**2) def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, eps=1e-9): re...
<commit_before>import torch def mean_squared_error(true, pred): return torch.mean((true - pred)**2) def binary_crossentropy(true, pred, eps=1e-9): p1 = true * torch.log(pred + eps) p2 = (1 - true) * torch.log(1 - pred + eps) return torch.mean(-(p1 + p2)) def categorical_crossentropy(true, pred, ep...
b28c448261d8310a801fe8824ab2852fd50960da
zinnia/urls/shortlink.py
zinnia/urls/shortlink.py
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )
Revert "Add a "e" prefix to avoid issue when reaching the ID 46656"
Revert "Add a "e" prefix to avoid issue when reaching the ID 46656" This reverts commit e730c552c0b6095a8962f29a114069fb335d7ec6.
Python
bsd-3-clause
aorzh/django-blog-zinnia,bywbilly/django-blog-zinnia,ghachey/django-blog-zinnia,marctc/django-blog-zinnia,dapeng0802/django-blog-zinnia,dapeng0802/django-blog-zinnia,aorzh/django-blog-zinnia,petecummings/django-blog-zinnia,ghachey/django-blog-zinnia,bywbilly/django-blog-zinnia,extertioner/django-blog-zinnia,Maplecroft/...
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), ) Revert "Add a ...
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )
<commit_before>"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )...
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), ) Revert "Add a ...
<commit_before>"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )...
36950cf9cffd5083408bc257e37a846835029d58
symposion/speakers/admin.py
symposion/speakers/admin.py
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] search_fields = ["name", "twitter_username"] class MarkEdit: fields = ['biog...
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] raw_id_fields = ["user"] search_fields = ["name", "twitter_username"] class Mark...
Fix user selection for speaker add
Fix user selection for speaker add When adding a speaker in the admin, the staff person had to pick a user from a huge dropdown with all the users, unsorted. Change 'user' to a raw id field, meaning to pick a user, the staff member clicks a magnifying glass icon next to the field and gets a popup listing all the user...
Python
bsd-3-clause
PyCon/pycon,PyCon/pycon,PyCon/pycon,PyCon/pycon
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] search_fields = ["name", "twitter_username"] class MarkEdit: fields = ['biog...
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] raw_id_fields = ["user"] search_fields = ["name", "twitter_username"] class Mark...
<commit_before>from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] search_fields = ["name", "twitter_username"] class MarkEdit: ...
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] raw_id_fields = ["user"] search_fields = ["name", "twitter_username"] class Mark...
from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] search_fields = ["name", "twitter_username"] class MarkEdit: fields = ['biog...
<commit_before>from django.contrib import admin from markedit.admin import MarkEditAdmin from symposion.speakers.models import Speaker class SpeakerAdmin(MarkEditAdmin): list_display = ["name", "email", "created", "twitter_username"] search_fields = ["name", "twitter_username"] class MarkEdit: ...
f0fcde0988b705de752aa20e08c4c05fb504af3d
oz/__init__.py
oz/__init__.py
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
Fix up the example to be proper XML.
Fix up the example to be proper XML. Signed-off-by: Chris Lalancette <60b62644009db6b194cc0445b64e9b27bb26433a@redhat.com>
Python
lgpl-2.1
mgagne/oz,NeilBryant/oz,nullr0ute/oz,imcleod/oz,ndonegan/oz,NeilBryant/oz,moofrank/oz,imcleod/oz,ndonegan/oz,cernops/oz,mgagne/oz,nullr0ute/oz,moofrank/oz,clalancette/oz,clalancette/oz,cernops/oz
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
<commit_before>""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in...
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in the form of an...
<commit_before>""" Class for automated operating system installation. Oz is a set of classes to do automated operating system installation. It has built-in knowledge of the proper things to do for each of the supported operating systems, so the data that the user must provide is very minimal. This data is supplied in...
3ae56f6dc4801013c272cf9b7472522510e4b807
1-multiples-of-3-and-5.py
1-multiples-of-3-and-5.py
def multiples_of_3_and_5(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i if __name__ == '__main__': print(sum(multiples_of_3_and_5()))
from itertools import chain def threes_and_fives_gen(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i def threes_and_fives_fun(n): return set(chain(range(3, n+1, 3), range(5, n+1, 5))) if __name__ == '__main__': print(sum(threes_and_fives_gen(10000000)))
Add fun answer to 1 multiples of 3 and 5
Add fun answer to 1 multiples of 3 and 5
Python
mit
dawran6/project-euler
def multiples_of_3_and_5(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i if __name__ == '__main__': print(sum(multiples_of_3_and_5())) Add fun answer to 1 multiples of 3 and 5
from itertools import chain def threes_and_fives_gen(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i def threes_and_fives_fun(n): return set(chain(range(3, n+1, 3), range(5, n+1, 5))) if __name__ == '__main__': print(sum(threes_and_fives_gen(10000000)))
<commit_before>def multiples_of_3_and_5(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i if __name__ == '__main__': print(sum(multiples_of_3_and_5())) <commit_msg>Add fun answer to 1 multiples of 3 and 5<commit_after>
from itertools import chain def threes_and_fives_gen(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i def threes_and_fives_fun(n): return set(chain(range(3, n+1, 3), range(5, n+1, 5))) if __name__ == '__main__': print(sum(threes_and_fives_gen(10000000)))
def multiples_of_3_and_5(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i if __name__ == '__main__': print(sum(multiples_of_3_and_5())) Add fun answer to 1 multiples of 3 and 5from itertools import chain def threes_and_fives_gen(num=1000): for i in range(num): ...
<commit_before>def multiples_of_3_and_5(num=1000): for i in range(num): if i % 3 == 0 or i % 5 == 0: yield i if __name__ == '__main__': print(sum(multiples_of_3_and_5())) <commit_msg>Add fun answer to 1 multiples of 3 and 5<commit_after>from itertools import chain def threes_and_fives_gen(...
4817784c6e1050034faabb1b3d04382fe8997b41
numpy/_array_api/_constants.py
numpy/_array_api/_constants.py
from ._array_object import ndarray from ._dtypes import float64 import numpy as np e = ndarray._new(np.array(np.e, dtype=float64)) inf = ndarray._new(np.array(np.inf, dtype=float64)) nan = ndarray._new(np.array(np.nan, dtype=float64)) pi = ndarray._new(np.array(np.pi, dtype=float64))
import numpy as np e = np.e inf = np.inf nan = np.nan pi = np.pi
Make the array API constants Python floats
Make the array API constants Python floats
Python
bsd-3-clause
seberg/numpy,numpy/numpy,simongibbons/numpy,charris/numpy,mhvk/numpy,simongibbons/numpy,mattip/numpy,seberg/numpy,pdebuyl/numpy,mattip/numpy,charris/numpy,endolith/numpy,numpy/numpy,anntzer/numpy,jakirkham/numpy,mhvk/numpy,anntzer/numpy,endolith/numpy,seberg/numpy,endolith/numpy,mattip/numpy,simongibbons/numpy,numpy/nu...
from ._array_object import ndarray from ._dtypes import float64 import numpy as np e = ndarray._new(np.array(np.e, dtype=float64)) inf = ndarray._new(np.array(np.inf, dtype=float64)) nan = ndarray._new(np.array(np.nan, dtype=float64)) pi = ndarray._new(np.array(np.pi, dtype=float64)) Make the array API constants Pyth...
import numpy as np e = np.e inf = np.inf nan = np.nan pi = np.pi
<commit_before>from ._array_object import ndarray from ._dtypes import float64 import numpy as np e = ndarray._new(np.array(np.e, dtype=float64)) inf = ndarray._new(np.array(np.inf, dtype=float64)) nan = ndarray._new(np.array(np.nan, dtype=float64)) pi = ndarray._new(np.array(np.pi, dtype=float64)) <commit_msg>Make t...
import numpy as np e = np.e inf = np.inf nan = np.nan pi = np.pi
from ._array_object import ndarray from ._dtypes import float64 import numpy as np e = ndarray._new(np.array(np.e, dtype=float64)) inf = ndarray._new(np.array(np.inf, dtype=float64)) nan = ndarray._new(np.array(np.nan, dtype=float64)) pi = ndarray._new(np.array(np.pi, dtype=float64)) Make the array API constants Pyth...
<commit_before>from ._array_object import ndarray from ._dtypes import float64 import numpy as np e = ndarray._new(np.array(np.e, dtype=float64)) inf = ndarray._new(np.array(np.inf, dtype=float64)) nan = ndarray._new(np.array(np.nan, dtype=float64)) pi = ndarray._new(np.array(np.pi, dtype=float64)) <commit_msg>Make t...
b24ae1320af5387e339a12dc00e214330525e549
src/BibleBot.Frontend/application.py
src/BibleBot.Frontend/application.py
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
Move commands out of test.
Move commands out of test.
Python
mpl-2.0
BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
<commit_before>""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import co...
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import commands from log...
<commit_before>""" Copyright (C) 2016-2022 Kerygma Digital Co. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. """ import disnake from disnake.ext import co...
18925af2a74c20e86867bce9c480b5cd710b6b32
openbudgets/apps/sheets/utilities.py
openbudgets/apps/sheets/utilities.py
from django.conf import settings def is_comparable(): """Sets the value of TemplateNode.comparable to True or False.""" value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE_DEFAULT return value
from django.conf import settings def is_node_comparable(instance): """Sets the value of TemplateNode.comparable to True or False. Relies on the non-abstract TemplateNode implementation where nodes can belong to many templates. """ value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE if al...
Set comparable state of node.
Set comparable state of node.
Python
bsd-3-clause
openbudgets/openbudgets,openbudgets/openbudgets,pwalsh/openbudgets,pwalsh/openbudgets,openbudgets/openbudgets,pwalsh/openbudgets
from django.conf import settings def is_comparable(): """Sets the value of TemplateNode.comparable to True or False.""" value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE_DEFAULT return value Set comparable state of node.
from django.conf import settings def is_node_comparable(instance): """Sets the value of TemplateNode.comparable to True or False. Relies on the non-abstract TemplateNode implementation where nodes can belong to many templates. """ value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE if al...
<commit_before>from django.conf import settings def is_comparable(): """Sets the value of TemplateNode.comparable to True or False.""" value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE_DEFAULT return value <commit_msg>Set comparable state of node.<commit_after>
from django.conf import settings def is_node_comparable(instance): """Sets the value of TemplateNode.comparable to True or False. Relies on the non-abstract TemplateNode implementation where nodes can belong to many templates. """ value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE if al...
from django.conf import settings def is_comparable(): """Sets the value of TemplateNode.comparable to True or False.""" value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE_DEFAULT return value Set comparable state of node.from django.conf import settings def is_node_comparable(instance): """Sets...
<commit_before>from django.conf import settings def is_comparable(): """Sets the value of TemplateNode.comparable to True or False.""" value = settings.OPENBUDGETS_COMPARABLE_TEMPLATENODE_DEFAULT return value <commit_msg>Set comparable state of node.<commit_after>from django.conf import settings def i...
dae46049bd72ce1599fd4169e3d8d6bd8ca1c622
drfdocs/api_docs.py
drfdocs/api_docs.py
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = [] self.get_all_view_names(se...
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] excluded_endpoints = ["serve"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = []...
Exclude "serve" view (static files)
Exclude "serve" view (static files)
Python
bsd-2-clause
manosim/django-rest-framework-docs,ekonstantinidis/django-rest-framework-docs,manosim/django-rest-framework-docs,manosim/django-rest-framework-docs,ekonstantinidis/django-rest-framework-docs,ekonstantinidis/django-rest-framework-docs
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = [] self.get_all_view_names(se...
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] excluded_endpoints = ["serve"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = []...
<commit_before>from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = [] self.get_al...
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] excluded_endpoints = ["serve"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = []...
from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = [] self.get_all_view_names(se...
<commit_before>from django.conf import settings from django.core.urlresolvers import RegexURLResolver, RegexURLPattern class ApiDocumentation(object): excluded_apps = ["admin", "drfdocs"] root_urlconf = __import__(settings.ROOT_URLCONF) def __init__(self): self.view_names = [] self.get_al...
02cb413b8e6671cead4ec9af55acef2daf451fc0
contributr/contributr/wsgi.py
contributr/contributr/wsgi.py
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static import Cling os.e...
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application if os.environ.get("DJANGO_SETTIN...
Move production Cling settings into production-only block
Move production Cling settings into production-only block The Cling import and call are moved into an if-block that is only executed when the server is run with production settings. This makes the server run locally again. Resolves: #42
Python
mit
SanketDG/contributr,iAmMrinal0/contributr,sofianugraha/contributr,nickpolet/contributr,Heasummn/contributr,JoshAddington/contributr,sofianugraha/contributr,troyleak/contributr,nickpolet/contributr,iAmMrinal0/contributr,SanketDG/contributr,planetirf/contributr,planetirf/contributr,planetirf/contributr,kakorrhaphio/contr...
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static import Cling os.e...
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application if os.environ.get("DJANGO_SETTIN...
<commit_before>""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static imp...
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application if os.environ.get("DJANGO_SETTIN...
""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static import Cling os.e...
<commit_before>""" WSGI config for contributr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static imp...
83169cc6e342cd510a97a5e9574eb4701d50d2d8
salt/__init__.py
salt/__init__.py
''' Make me some salt! ''' # Import python libs import os import optparse # Import salt libs import salt.master import salt.minion import salt.utils class Master(object): ''' Creates a master server ''' class Minion(object): ''' Create a minion server ''' def __init__(self): self....
Set up the initial calling of the minion routines
Set up the initial calling of the minion routines
Python
apache-2.0
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
Set up the initial calling of the minion routines
''' Make me some salt! ''' # Import python libs import os import optparse # Import salt libs import salt.master import salt.minion import salt.utils class Master(object): ''' Creates a master server ''' class Minion(object): ''' Create a minion server ''' def __init__(self): self....
<commit_before><commit_msg>Set up the initial calling of the minion routines<commit_after>
''' Make me some salt! ''' # Import python libs import os import optparse # Import salt libs import salt.master import salt.minion import salt.utils class Master(object): ''' Creates a master server ''' class Minion(object): ''' Create a minion server ''' def __init__(self): self....
Set up the initial calling of the minion routines''' Make me some salt! ''' # Import python libs import os import optparse # Import salt libs import salt.master import salt.minion import salt.utils class Master(object): ''' Creates a master server ''' class Minion(object): ''' Create a minion ser...
<commit_before><commit_msg>Set up the initial calling of the minion routines<commit_after>''' Make me some salt! ''' # Import python libs import os import optparse # Import salt libs import salt.master import salt.minion import salt.utils class Master(object): ''' Creates a master server ''' class Minion...
e63a9430d9ad4d6bbfd6af66b1de617e71490c2c
countylimits/views.py
countylimits/views.py
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
Return 400 when state is invalid
Return 400 when state is invalid
Python
cc0-1.0
amymok/owning-a-home-api,cfpb/owning-a-home-api,fna/owning-a-home-api
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
<commit_before>from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits pe...
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits per state. """ ...
<commit_before>from django.shortcuts import render from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from countylimits.models import CountyLimit @api_view(['GET']) def county_limits(request): """ Return all counties with their limits pe...
c8de08c451943f8fc428a611575f1329024e001a
webmention_plugin.py
webmention_plugin.py
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
Add some debugging output to webmentions
Add some debugging output to webmentions
Python
bsd-2-clause
Lancey6/redwind,thedod/redwind,thedod/redwind,Lancey6/redwind,Lancey6/redwind
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
<commit_before>from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = ...
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = WebmentionSend(...
<commit_before>from webmentiontools.send import WebmentionSend from webmentiontools.urlinfo import UrlInfo def handle_new_or_edit(post): url = post.permalink_url in_reply_to = post.in_reply_to if url and in_reply_to: print "Sending webmention {} to {}".format(url, in_reply_to) sender = ...
1046d952415fe48da1d2c06a5abb6e8e31074fab
arc_distance.py
arc_distance.py
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d #make a change
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d
Revert "Added files via upload"
Revert "Added files via upload" This reverts commit d93c66fc467a9899343eacdd85e90bdfe8a0dbd3.
Python
apache-2.0
limatthewk/UAVs
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d #make a changeRevert...
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d
<commit_before>from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d #make...
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d
from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d #make a changeRevert...
<commit_before>from math import cos,sqrt import numpy as np from scipy.optimize import fsolve def func(p, *data): x,y = p i,j,r = data return ((x+r)*(i-x)+(j-y)*y,(x+r)**2+y**2-r**2) data = (-7,10,5) x,y = fsolve(func, [1,1], args=data) print x,y d = sqrt((data[0]-x)**2+(data[1]-y)**2) print d #make...
a58cbb8b3c2c2648098cdd3af3f7316f659902c9
pythonic_rules.example/upload/__init__.py
pythonic_rules.example/upload/__init__.py
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
Enable all rules in pythonic_rules
Enable all rules in pythonic_rules Has been disabled to avoid errors until the new design was nos finished.
Python
bsd-2-clause
Anthony25/python_tc_qos
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
<commit_before>#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["spe...
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["speed"], b...
<commit_before>#!/usr/bin/python from config import INTERFACES from built_in_classes import RootHTBClass from .upload import Interactive, TCPACK, SSH, HTTP, Default def apply_qos(): public_if = INTERFACES["public_if"] root_class = RootHTBClass( interface=public_if["name"], rate=public_if["spe...
6d0b2b5787be4d3a23fa74eccebb4935cb85d48b
salt/runners/state.py
salt/runners/state.py
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
Fix traceback because outputter expects data in {'host', data.. } format
Fix traceback because outputter expects data in {'host', data.. } format
Python
apache-2.0
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
<commit_before>''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverSt...
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverState(__opts__, e...
<commit_before>''' Execute overstate functions ''' # Import salt libs import salt.overstate import salt.output def over(env='base', os_fn=None): ''' Execute an overstate sequence to orchestrate the executing of states over a group of systems ''' stage_num = 0 overstate = salt.overstate.OverSt...
9f091fcc572eb6a65592f828818b34d3e1269083
alg_bellman_ford_shortest_path.py
alg_bellman_ford_shortest_path.py
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3}, ...
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3, 'c'...
Revise main()'s weighted negative graph
Revise main()'s weighted negative graph
Python
bsd-2-clause
bowen0701/algorithms_data_structures
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3}, ...
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3, 'c'...
<commit_before>from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a...
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3, 'c'...
from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a': {'b': 3}, ...
<commit_before>from __future__ import absolute_import from __future__ import print_function from __future__ import division def bellman_ford(w_graph_d, start_vertex): """Bellman-Ford algorithm for weighted / negative graph. """ pass def main(): w_graph_d = { 's': {'a': 2, 'b': 6}, 'a...
31a4253288637070f50a398cd80250176e785a19
rnacentral_pipeline/cli/genes.py
rnacentral_pipeline/cli/genes.py
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
Clean up CLI a bit
Clean up CLI a bit Default arguments are useful.
Python
apache-2.0
RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
<commit_before># -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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 Unl...
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
# -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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...
<commit_before># -*- coding: utf-8 -*- """ Copyright [2009-2020] EMBL-European Bioinformatics Institute 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 Unl...
5ce78ab69c74f6f3be52fe4afad310952f6a1245
scheduler/schedule.py
scheduler/schedule.py
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
Fix typo on job module
Fix typo on job module
Python
apache-2.0
ec-geolink/d1lod,ec-geolink/d1lod,ec-geolink/d1lod,ec-geolink/d1lod
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
<commit_before>import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = Block...
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = BlockingScheduler() ...
<commit_before>import sys import time import logging logging.basicConfig(level=logging.DEBUG) from redis import StrictRedis from rq import Queue from apscheduler.schedulers.blocking import BlockingScheduler from d1lod import jobs conn = StrictRedis(host='redis', port='6379') q = Queue(connection=conn) sched = Block...
845acca37f929eeea98cb7fd1690cf5ca1570aeb
Lib/test/test_symtable.py
Lib/test/test_symtable.py
from test.test_support import vereq, TestFailed import _symtable symbols = _symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"])...
from test.test_support import vereq, TestFailed import symtable symbols = symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"]), ...
Test is still disabled, but access through public module
Test is still disabled, but access through public module
Python
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
from test.test_support import vereq, TestFailed import _symtable symbols = _symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"])...
from test.test_support import vereq, TestFailed import symtable symbols = symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"]), ...
<commit_before>from test.test_support import vereq, TestFailed import _symtable symbols = _symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if st...
from test.test_support import vereq, TestFailed import symtable symbols = symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"]), ...
from test.test_support import vereq, TestFailed import _symtable symbols = _symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if ste.name == "f"])...
<commit_before>from test.test_support import vereq, TestFailed import _symtable symbols = _symtable.symtable("def f(x): return x", "?", "exec") ## XXX ## Test disabled because symtable module needs to be rewritten for new compiler ##vereq(symbols[0].name, "global") ##vereq(len([ste for ste in symbols.values() if st...
9b2999d64b02cc65dc62434a29d0fe841b3d1886
tests/commands/test_test.py
tests/commands/test_test.py
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
Fix test for "pio test"
Fix test for "pio test"
Python
apache-2.0
platformio/platformio,platformio/platformio-core,platformio/platformio-core
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
<commit_before># Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 requir...
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
# Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 applicabl...
<commit_before># Copyright 2014-present PlatformIO <contact@platformio.org> # # 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 requir...
5c117433e1216acbc0e2f53104fab66ae05e86c5
instance/config.py
instance/config.py
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
Change testing database to sqlite
Change testing database to sqlite
Python
mit
Alweezy/cp2-bucketlist-api,Alweezy/cp2-bucketlist-api,Alweezy/cp2-bucketlist-api
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
<commit_before>import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True ...
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True SQLALCHEMY_...
<commit_before>import os class Config(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET_KEY = os.getenv('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """Configurations for Development.""" DEBUG = True ...