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
b902c32237febd976ae899bea41195adc58920d0
tests/context.py
tests/context.py
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: @patch('invoke.context.run') def honors_warn_state(self, run): Context(run={'warn': True}).run('x') run.assert_called_with('x', warn=True)
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: def _honors(self, kwarg, value): with patch('invoke.context.run') as run: Context(run={kwarg: value}).run('x') run.assert_called_with('x', **{kwarg...
Refactor + add test for run(hide)
Refactor + add test for run(hide)
Python
bsd-2-clause
pyinvoke/invoke,mattrobenolt/invoke,pfmoore/invoke,tyewang/invoke,pyinvoke/invoke,frol/invoke,kejbaly2/invoke,mkusz/invoke,frol/invoke,mkusz/invoke,kejbaly2/invoke,pfmoore/invoke,singingwolfboy/invoke,sophacles/invoke,mattrobenolt/invoke
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: @patch('invoke.context.run') def honors_warn_state(self, run): Context(run={'warn': True}).run('x') run.assert_called_with('x', warn=True) Refactor + add test ...
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: def _honors(self, kwarg, value): with patch('invoke.context.run') as run: Context(run={kwarg: value}).run('x') run.assert_called_with('x', **{kwarg...
<commit_before>from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: @patch('invoke.context.run') def honors_warn_state(self, run): Context(run={'warn': True}).run('x') run.assert_called_with('x', warn=True) <comm...
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: def _honors(self, kwarg, value): with patch('invoke.context.run') as run: Context(run={kwarg: value}).run('x') run.assert_called_with('x', **{kwarg...
from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: @patch('invoke.context.run') def honors_warn_state(self, run): Context(run={'warn': True}).run('x') run.assert_called_with('x', warn=True) Refactor + add test ...
<commit_before>from spec import Spec from mock import patch from invoke.context import Context class Context_(Spec): class run_: @patch('invoke.context.run') def honors_warn_state(self, run): Context(run={'warn': True}).run('x') run.assert_called_with('x', warn=True) <comm...
bd8c4e3640649cb9253f7a10088d8e879afc5b4f
st2client/st2client/models/keyvalue.py
st2client/st2client/models/keyvalue.py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
Add back code which is needed.
Add back code which is needed.
Python
apache-2.0
StackStorm/st2,nzlosh/st2,StackStorm/st2,nzlosh/st2,StackStorm/st2,Plexxi/st2,nzlosh/st2,nzlosh/st2,Plexxi/st2,StackStorm/st2,Plexxi/st2,Plexxi/st2
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
<commit_before># Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you...
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
<commit_before># Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you...
8e5854e09a0c05a46257eb7130aac48c0dcb9079
backdrop/collector/__init__.py
backdrop/collector/__init__.py
__VERSION__ = "0.0.6" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
__VERSION__ = "0.0.8" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
Bring __VERSION__ inline with latest tag
Bring __VERSION__ inline with latest tag
Python
mit
gds-attic/backdrop-collector,alphagov/performanceplatform-collector,alphagov/performanceplatform-collector,alphagov/performanceplatform-collector,gds-attic/backdrop-collector
__VERSION__ = "0.0.6" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = "" Bring __VERSION__ inline with latest tag
__VERSION__ = "0.0.8" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
<commit_before>__VERSION__ = "0.0.6" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = "" <commit_msg>Bring __VERSION__ inline with latest tag<commit_after>
__VERSION__ = "0.0.8" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
__VERSION__ = "0.0.6" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = "" Bring __VERSION__ inline with latest tag__VERSION__ = "0.0.8" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
<commit_before>__VERSION__ = "0.0.6" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = "" <commit_msg>Bring __VERSION__ inline with latest tag<commit_after>__VERSION__ = "0.0.8" __AUTHOR__ = "GDS Developers" __AUTHOR_EMAIL__ = ""
240ae629ba54d79d9306227fa9a88e8bc93324ea
tests/extractor_test.py
tests/extractor_test.py
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml = beastling.beastxml.BeastXml(config) ...
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor _test_dir = os.path.dirname(__file__) def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml...
Clean up afterwards, even if test fails.
Clean up afterwards, even if test fails.
Python
bsd-2-clause
lmaurits/BEASTling
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml = beastling.beastxml.BeastXml(config) ...
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor _test_dir = os.path.dirname(__file__) def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml...
<commit_before>import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml = beastling.beastxml.Be...
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor _test_dir = os.path.dirname(__file__) def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml...
import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml = beastling.beastxml.BeastXml(config) ...
<commit_before>import os import shutil from nose.tools import * import beastling.beastxml import beastling.configuration import beastling.extractor def test_extractor(): config = beastling.configuration.Configuration(configfile="tests/configs/embed_data.conf") config.process() xml = beastling.beastxml.Be...
ba1de19895b001069966a10d9c72b8485c4b4195
tests/testapp/views.py
tests/testapp/views.py
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html, mark_safe from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from .models import Page, RichText, Image, Snippet, Externa...
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from feincms3 import plugins from .models import Page, RichText, Imag...
Use render_richtext in test suite
Use render_richtext in test suite
Python
bsd-3-clause
matthiask/feincms3,matthiask/feincms3,matthiask/feincms3
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html, mark_safe from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from .models import Page, RichText, Image, Snippet, Externa...
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from feincms3 import plugins from .models import Page, RichText, Imag...
<commit_before>from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html, mark_safe from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from .models import Page, RichText, Image, S...
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from feincms3 import plugins from .models import Page, RichText, Imag...
from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html, mark_safe from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from .models import Page, RichText, Image, Snippet, Externa...
<commit_before>from __future__ import unicode_literals from django.shortcuts import get_object_or_404, render from django.utils.html import format_html, mark_safe from content_editor.contents import contents_for_mptt_item from content_editor.renderer import PluginRenderer from .models import Page, RichText, Image, S...
7b1773d5c3fa07899ad9d56d4ac488c1c2e2014e
dope_cherry.py
dope_cherry.py
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
Set server.max_request_body_size in cherrypy settings to allow more then 100M uploads.
Set server.max_request_body_size in cherrypy settings to allow more then 100M uploads.
Python
mit
mbr/dope,mbr/dope
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
<commit_before>#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path...
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path/to/virtualenv/...
<commit_before>#!/usr/bin/env python # coding=utf8 # This is an example of how to run dope (or any other WSGI app) in CherryPy. # Running it will start dope at the document root, and the server on port 80. # # Assuming a virtual environment in which cherrypy is installed, this would be # the way to run it: # # $ /path...
b345d27486376ed4c1b9edbbf999cef074b21b3c
lambda_utils/setup.py
lambda_utils/setup.py
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='1.0.6', insta...
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='2017.10.20', ...
Switch lambda_utils to CalVer, bump the version
Switch lambda_utils to CalVer, bump the version
Python
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='1.0.6', insta...
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='2017.10.20', ...
<commit_before>import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='1....
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='2017.10.20', ...
import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='1.0.6', insta...
<commit_before>import os from setuptools import find_packages, setup def local_file(name): return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) SOURCE = local_file('src') setup( name='wellcome_lambda_utils', packages=find_packages(SOURCE), package_dir={'': SOURCE}, version='1....
2ca649f158a5ec4b93105081d93eba7516419c53
tests/simple_service.py
tests/simple_service.py
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
Make python script work with python 3 as well as python 2.7
Make python script work with python 3 as well as python 2.7
Python
mit
zielmicha/nim-dbus,zielmicha/nim-dbus,zielmicha/nim-dbus
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
<commit_before>from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bu...
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/com/z...
<commit_before>from gi.repository import GLib import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop class MyDBUSService(dbus.service.Object): def __init__(self): bus_name = dbus.service.BusName('com.zielmicha.test', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bu...
7fcc7a2540eabdd1ccbe85fa62df66f1caeb24ae
setup.py
setup.py
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
Remove awscli dependency and assume it is installed
Remove awscli dependency and assume it is installed
Python
mit
wnkz/codebuilder,wnkz/codebuilder
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
<commit_before>from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', ...
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', license='MIT'...
<commit_before>from setuptools import setup, find_packages from codebuilder import __version__ setup( name='codebuilder', version=__version__, description='CLI helper for AWS CodeBuild and CodePipeline', url='http://github.com/wnkz/codebuilder', author='wnkz', author_email='g@predicsis.ai', ...
9c9d16d9a71986373d9bbe06d6c3484f97553152
setup.py
setup.py
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.1.0', description='A data structure to impose a total order ...
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.2.0', description='A data structure to impose a total order ...
Bump version number to 0.2.0
Bump version number to 0.2.0
Python
mit
madman-bob/python-order-maintenance
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.1.0', description='A data structure to impose a total order ...
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.2.0', description='A data structure to impose a total order ...
<commit_before>from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.1.0', description='A data structure to impose...
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.2.0', description='A data structure to impose a total order ...
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.1.0', description='A data structure to impose a total order ...
<commit_before>from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file: long_description = readme_file.read() setup( name='ordering', version='0.1.0', description='A data structure to impose...
45569a10768ce5730a25699611d8de07cbcc8491
setup.py
setup.py
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.0b6', url='https://github.com/mikemi...
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.1b1', url='https://github.com/mikemi...
Update the version number in preparation for release.
Update the version number in preparation for release.
Python
mit
mikemill/rq_retry_scheduler
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.0b6', url='https://github.com/mikemi...
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.1b1', url='https://github.com/mikemi...
<commit_before>from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.0b6', url='https://gi...
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.1b1', url='https://github.com/mikemi...
from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.0b6', url='https://github.com/mikemi...
<commit_before>from setuptools import setup, find_packages try: import pypandoc def long_description(): return pypandoc.convert_file('README.md', 'rst') except ImportError: def long_description(): return '' setup( name='rq-retry-scheduler', version='0.1.0b6', url='https://gi...
9addb88d7d3b9067a0581cb46b048ad693bbb720
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
Add matplotlib as a dependency
Add matplotlib as a dependency
Python
mit
MrJarv1s/FEMur
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
<commit_before>try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/Mr...
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/MrJarv1s/FEMur', ...
<commit_before>try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'Description': 'A simple Finite Element Modeling (FEM) library', 'author': 'Greg Hamel (MrJarv1s)', 'url': 'https://github.com/MrJarv1s/FEMur', 'download_url': 'https://github.com/Mr...
44083ea7efc9a48c86ee5ce749cce94cb98bdc05
spicedham/nonsensefilter.py
spicedham/nonsensefilter.py
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
Fix nonsense filter lambda so it uses tags
Fix nonsense filter lambda so it uses tags
Python
mpl-2.0
mozilla/spicedham,mozilla/spicedham
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
<commit_before>import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['fi...
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['filter_miss'] ...
<commit_before>import operator from itertools import imap, repeat from spicedham.config import config from spicedham.backend import Backend class NonsenseFilter(object): def __init__(self): self.filter_match = config['nonsensefilter']['filter_match'] self.filter_miss = config['nonsensefilter']['fi...
df973fa9fe8f0dc4b8b6a50ff7410e9fd4faed2b
setup.py
setup.py
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
Add an aipy version requirement
Add an aipy version requirement
Python
bsd-2-clause
HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
<commit_before>from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile...
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile) setup_args =...
<commit_before>from setuptools import setup import glob import os.path as op from os import listdir from pyuvdata import version import json data = [version.git_origin, version.git_hash, version.git_description, version.git_branch] with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile: json.dump(data, outfile...
f46a0cb7109d3532aa4cba8b0e351fe20bc8056f
setup.py
setup.py
import os from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def requirements(fname): return [...
import os import sys import package from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) if sys.version_info <= (3, 0): print("Revscoring needs Python 3 to run properly. Your version is "...
Add hard requirements for py3
Add hard requirements for py3
Python
mit
wiki-ai/revscoring,he7d3r/revscoring
import os from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def requirements(fname): return [...
import os import sys import package from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) if sys.version_info <= (3, 0): print("Revscoring needs Python 3 to run properly. Your version is "...
<commit_before>import os from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def requirements(fname...
import os import sys import package from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) if sys.version_info <= (3, 0): print("Revscoring needs Python 3 to run properly. Your version is "...
import os from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def requirements(fname): return [...
<commit_before>import os from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "revscoring/about.py") exec(compile(open(about_path).read(), about_path, "exec")) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def requirements(fname...
0cee0801c8a5fd320a0e0b4cb7136ec1360539f0
api/api/views/attendee/rsvp.py
api/api/views/attendee/rsvp.py
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
Allow RSVP after hackathon ends
Allow RSVP after hackathon ends damn it jared
Python
apache-2.0
andrewsosa/hackfsu_com,andrewsosa/hackfsu_com,andrewsosa/hackfsu_com,andrewsosa/hackfsu_com
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
<commit_before>""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField...
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField(required=False...
<commit_before>""" Submit an RSVP for the current user """ from django import forms from hackfsu_com.views.generic import ApiView from hackfsu_com.util import acl from api.models import AttendeeStatus, Hackathon from django.utils import timezone class RequestForm(forms.Form): rsvp_answer = forms.BooleanField...
0f8ba23c445a56897a00c25b6a2784484e567045
setup.py
setup.py
#!/usr/bin/env python """ Setup script for PythonTemplateDemo. """ import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
#!/usr/bin/env python """Setup script for PythonTemplateDemo.""" import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
Deploy Travis CI build 377 to GitHub
Deploy Travis CI build 377 to GitHub
Python
mit
jacebrowning/template-python-demo
#!/usr/bin/env python """ Setup script for PythonTemplateDemo. """ import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
#!/usr/bin/env python """Setup script for PythonTemplateDemo.""" import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
<commit_before>#!/usr/bin/env python """ Setup script for PythonTemplateDemo. """ import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANG...
#!/usr/bin/env python """Setup script for PythonTemplateDemo.""" import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
#!/usr/bin/env python """ Setup script for PythonTemplateDemo. """ import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANGES.md').read() ...
<commit_before>#!/usr/bin/env python """ Setup script for PythonTemplateDemo. """ import setuptools from demo import __project__, __version__ import os if os.path.exists('README.rst'): README = open('README.rst').read() else: README = "" # a placeholder, readme is generated on release CHANGES = open('CHANG...
2c9dc66b64a7afeee958e950c25366fd43d07bb3
setup.py
setup.py
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
Add simplejson as installation requirement
Add simplejson as installation requirement
Python
bsd-3-clause
codeforamerica/three
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
<commit_before>""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Op...
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", ...
<commit_before>""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.1", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Op...
fd14dc0cd191b4060562a83fad29ab852044f1fc
subscriptions/management/commands/add_prepend_next_to_subscriptions.py
subscriptions/management/commands/add_prepend_next_to_subscriptions.py
from django.core.exceptions import ObjectDoesNotExist from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call servic...
from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call service.") def add_arguments(self, parser): par...
Remove unused ObjectDoesNotExist exception import
Remove unused ObjectDoesNotExist exception import
Python
bsd-3-clause
praekelt/seed-stage-based-messaging,praekelt/seed-stage-based-messaging,praekelt/seed-staged-based-messaging
from django.core.exceptions import ObjectDoesNotExist from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call servic...
from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call service.") def add_arguments(self, parser): par...
<commit_before>from django.core.exceptions import ObjectDoesNotExist from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new mis...
from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call service.") def add_arguments(self, parser): par...
from django.core.exceptions import ObjectDoesNotExist from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new missed call servic...
<commit_before>from django.core.exceptions import ObjectDoesNotExist from django.core.management.base import BaseCommand, CommandError from subscriptions.models import Subscription class Command(BaseCommand): help = ("Active subscription holders need to be informed via audio file " "about the new mis...
9286baad7800b3d9e3d3724b891ceb8e6ff90687
config.py
config.py
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = os...
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = o...
Update logic for reading boolean environment variables
Update logic for reading boolean environment variables
Python
mit
nhshd-slot/SLOT,nhshd-slot/SLOT,nhshd-slot/SLOT
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = os...
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = o...
<commit_before>import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_cli...
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = o...
import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_client_secret = os...
<commit_before>import os try: from local_config import * except ImportError: twilio_sid = os.environ.get('TWILIO_SID', '') twilio_token = os.environ.get('TWILIO_TOKEN', '') twilio_number = os.environ.get('TWILIO_NUMBER', '') google_client_id = os.environ.get('GOOGLE_CLIENT_ID', '') google_cli...
e6bd87d5a4ba42edb4e301258712be2da2a35b2d
setup.py
setup.py
#!/usr/bin/env python """Setup script for MemeGen.""" import sys import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + ...
#!/usr/bin/env python """Setup script for MemeGen.""" import os import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + '...
Use os.name to detect OS
Use os.name to detect OS This is consistent with the rest of the code.
Python
mit
DanLindeman/memegen,DanLindeman/memegen,DanLindeman/memegen,DanLindeman/memegen
#!/usr/bin/env python """Setup script for MemeGen.""" import sys import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + ...
#!/usr/bin/env python """Setup script for MemeGen.""" import os import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + '...
<commit_before>#!/usr/bin/env python """Setup script for MemeGen.""" import sys import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPT...
#!/usr/bin/env python """Setup script for MemeGen.""" import os import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + '...
#!/usr/bin/env python """Setup script for MemeGen.""" import sys import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPTION = README + ...
<commit_before>#!/usr/bin/env python """Setup script for MemeGen.""" import sys import logging import setuptools from memegen import __project__, __version__ try: README = open("README.rst").read() CHANGELOG = open("CHANGELOG.rst").read() except IOError: DESCRIPTION = "<placeholder>" else: DESCRIPT...
1f9c998815ddcb1ededb940ebc86ac816d2cf6aa
setup.py
setup.py
from setuptools import setup setup( name='troposphere-sugar', version='0.0.4', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
from setuptools import setup setup( name='troposphere-sugar', version='0.0.5', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
Add boto3 as dependency, bump version
Add boto3 as dependency, bump version
Python
mit
enriclluelles/troposphere_sugar
from setuptools import setup setup( name='troposphere-sugar', version='0.0.4', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
from setuptools import setup setup( name='troposphere-sugar', version='0.0.5', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
<commit_before>from setuptools import setup setup( name='troposphere-sugar', version='0.0.4', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/...
from setuptools import setup setup( name='troposphere-sugar', version='0.0.5', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
from setuptools import setup setup( name='troposphere-sugar', version='0.0.4', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/troposphere_sug...
<commit_before>from setuptools import setup setup( name='troposphere-sugar', version='0.0.4', description='Common utilities on top of troposphere and boto for ease of clouformation template creation', author='Enric Lluelles', author_email='enric@lluel.es', url="https://github.com/enriclluelles/...
c33806dac3e693d2a33d6739fab78b644b36c9af
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent>=1.1', 'gunicorn>=19.0', 'Jinja2>=2.8.1', ] setup( name='makiki', version='0.1.0', description='Web service utils and gene...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent==1.1.2', 'gunicorn>=19.0', 'Jinja2>=2.8.1', 'psycogreen>=1.0.0', 'psycopg2>=2.6.2', 'hug>=2.1.2', ] setup( name='makik...
Add useful libs and bump version to 0.1.1
Add useful libs and bump version to 0.1.1
Python
mit
faith0811/makiki,faith0811/makiki
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent>=1.1', 'gunicorn>=19.0', 'Jinja2>=2.8.1', ] setup( name='makiki', version='0.1.0', description='Web service utils and gene...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent==1.1.2', 'gunicorn>=19.0', 'Jinja2>=2.8.1', 'psycogreen>=1.0.0', 'psycopg2>=2.6.2', 'hug>=2.1.2', ] setup( name='makik...
<commit_before># -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent>=1.1', 'gunicorn>=19.0', 'Jinja2>=2.8.1', ] setup( name='makiki', version='0.1.0', description='Web service...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent==1.1.2', 'gunicorn>=19.0', 'Jinja2>=2.8.1', 'psycogreen>=1.0.0', 'psycopg2>=2.6.2', 'hug>=2.1.2', ] setup( name='makik...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent>=1.1', 'gunicorn>=19.0', 'Jinja2>=2.8.1', ] setup( name='makiki', version='0.1.0', description='Web service utils and gene...
<commit_before># -*- coding: utf-8 -*- from setuptools import setup, find_packages console_scripts = [ 'makiki = makiki.cli:main_parser', ] requires = [ 'blinker>=1.4', 'gevent>=1.1', 'gunicorn>=19.0', 'Jinja2>=2.8.1', ] setup( name='makiki', version='0.1.0', description='Web service...
7b92f1c5d1b109b93eb5535e70573b708c3df305
setup.py
setup.py
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): import pytest...
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin install_requires = [] if sys.version_info[:2] < (2, 6): install_requires.append('argparse') class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) s...
Make the py2.6 dependency conditional
Make the py2.6 dependency conditional
Python
mit
mlen108/pipin
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): import pytest...
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin install_requires = [] if sys.version_info[:2] < (2, 6): install_requires.append('argparse') class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) s...
<commit_before>import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): ...
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin install_requires = [] if sys.version_info[:2] < (2, 6): install_requires.append('argparse') class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) s...
import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): import pytest...
<commit_before>import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pipin class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): ...
d5c8b10500661727ddbfdb4afa4f770f098a06d5
setup.py
setup.py
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for twisted's trac instance", author="Tom Prince", author_email="...
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "release-macro = twisted_trac_plugins.release_macro", "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for...
Add release macro to entry points.
Add release macro to entry points.
Python
mit
twisted-infra/twisted-trac-plugins
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for twisted's trac instance", author="Tom Prince", author_email="...
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "release-macro = twisted_trac_plugins.release_macro", "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for...
<commit_before>from setuptools import setup setup( entry_points={ 'trac.plugins': [ "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for twisted's trac instance", author="Tom Prince",...
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "release-macro = twisted_trac_plugins.release_macro", "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for...
from setuptools import setup setup( entry_points={ 'trac.plugins': [ "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for twisted's trac instance", author="Tom Prince", author_email="...
<commit_before>from setuptools import setup setup( entry_points={ 'trac.plugins': [ "ticket-reporter = twisted_trac_plugins.ticket_reporter", ], }, name='Twisted Trac Plugins', version='0.0', description="Plugins for twisted's trac instance", author="Tom Prince",...
4d6a69dc60ea4f10330c11de04ba4706b980d037
setup.py
setup.py
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.1', description='A library that allows your python tests t...
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.2', description='A library that allows your python tests t...
Bump version for new feature
Bump version for new feature
Python
mit
Captricity/mocurly
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.1', description='A library that allows your python tests t...
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.2', description='A library that allows your python tests t...
<commit_before>from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.1', description='A library that allows your...
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.2', description='A library that allows your python tests t...
from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.1', description='A library that allows your python tests t...
<commit_before>from setuptools import setup, find_packages install_requires = open('requirements.txt').read().split() setup( name='mocurly', packages=find_packages(exclude=("tests", "tests.*")), package_data={'mocurly': ['templates/*.xml']}, version='0.1.1', description='A library that allows your...
341a4a3a4bd3ac0761196695a1458e75b6d9a772
setup.py
setup.py
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha2", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha3", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
Make get_by_id return representation without id, for consistency
Make get_by_id return representation without id, for consistency
Python
mit
cosmic-api/cosmic.py
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha2", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha3", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
<commit_before>#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha2", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API...
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha3", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha2", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API framework', ...
<commit_before>#!/usr/bin/python from setuptools import setup with open("README.rst") as readme: long_description = readme.read() setup( name = 'cosmic', version = "0.3.0.alpha2", url = "http://www.cosmic-api.com/docs/cosmic/python/", packages = ['cosmic'], description = 'A high-level web API...
154b01b4c116d7a7a940168bef60728cce4c3973
setup.py
setup.py
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
Fix Twisted requirement (I think?)
Fix Twisted requirement (I think?)
Python
bsd-3-clause
olix0r/pub
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
<commit_before>#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = g...
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() s...
<commit_before>#!/usr/bin/env python2.6 try: from setuptools import setup except: from distutils.core import setup def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = g...
b42d762acd30a19b5035b536a8d3c059b74dc5ed
setup.py
setup.py
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.4', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.5', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
Add new PyPI release version
Add new PyPI release version
Python
mit
duboviy/pybenchmark
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.4', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.5', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
<commit_before>from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.4', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = ...
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.5', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.4', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = 'https://github...
<commit_before>from distutils.core import setup setup( name = 'pybenchmark', packages = ['pybenchmark'], # this must be the same as the name above version = '0.0.4', description = 'A benchmark utility used in performance tests.', author = 'Eugene Duboviy', author_email = 'eugene.dubovoy@gmail.com', url = ...
ba959fe7bd3b4a0bee758090585cf1a2bbc5b94c
setup.py
setup.py
from setuptools import setup setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=['spare5'], keywords=['spare5'], install_requires=[], class...
from setuptools import setup from setuptools import find_packages setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=find_packages(), keywords=['sp...
Use find packages to recursively search
Use find packages to recursively search
Python
mit
roverdotcom/spare5-python
from setuptools import setup setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=['spare5'], keywords=['spare5'], install_requires=[], class...
from setuptools import setup from setuptools import find_packages setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=find_packages(), keywords=['sp...
<commit_before>from setuptools import setup setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=['spare5'], keywords=['spare5'], install_require...
from setuptools import setup from setuptools import find_packages setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=find_packages(), keywords=['sp...
from setuptools import setup setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=['spare5'], keywords=['spare5'], install_requires=[], class...
<commit_before>from setuptools import setup setup( name="spare5", version='0.1', description="Spare 5 Python API client", license="MIT", author="John Williams, Philip Kimmey", author_email="john@rover.com, philip@rover.com", packages=['spare5'], keywords=['spare5'], install_require...
b06773830ea3f3be4580ea9c4c49a84b07d27634
setup.py
setup.py
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
Add newer versions of Python 3.4 to classifier list.
Add newer versions of Python 3.4 to classifier list.
Python
mit
eddieantonio/unormalize
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
<commit_before>from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_...
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_description=lon...
<commit_before>from setuptools import setup, find_packages import unormalize import codecs def long_description(): with codecs.open('README.rst', encoding='utf8') as f: return f.read() setup( name='unormalize', version=unormalize.__version__, description=unormalize.__doc__.strip(), long_...
1c397202b6df7b62cbd22509ee7cc366c2c09d6c
setup.py
setup.py
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
Make library dependencies python-debian a bit more sane
Make library dependencies python-debian a bit more sane
Python
mit
jadonk/debexpo,jonnylamb/debexpo,jadonk/debexpo,jonnylamb/debexpo,swvist/Debexpo,jadonk/debexpo,swvist/Debexpo,swvist/Debexpo,jonnylamb/debexpo
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
<commit_before>try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', ins...
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', install_requires=[...
<commit_before>try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='debexpo', version="", #description='', #author='', #author_email='', #url='', ins...
51228ca43fdc27af9cf5c0a6b569e2b6a9d77cb7
setup.py
setup.py
#!/usr/bin/env python from mpyq import __version__ as version from setuptools import setup setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) files.', ...
#!/usr/bin/env python import sys from setuptools import setup from mpyq import __version__ as version setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) fil...
Add version dependent inclusion of argparse as a install requirement.
Add version dependent inclusion of argparse as a install requirement. For versions prior to 2.7 argparse must be installed manually before mpyq can be installed. By checking the current python version we can make sure to only require the argparse module for versions of python < 2.7. (Patch slightly modified.) Signe...
Python
bsd-2-clause
fengthedroid/mpyq,eagleflo/mpyq
#!/usr/bin/env python from mpyq import __version__ as version from setuptools import setup setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) files.', ...
#!/usr/bin/env python import sys from setuptools import setup from mpyq import __version__ as version setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) fil...
<commit_before>#!/usr/bin/env python from mpyq import __version__ as version from setuptools import setup setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ)...
#!/usr/bin/env python import sys from setuptools import setup from mpyq import __version__ as version setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) fil...
#!/usr/bin/env python from mpyq import __version__ as version from setuptools import setup setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ) files.', ...
<commit_before>#!/usr/bin/env python from mpyq import __version__ as version from setuptools import setup setup(name='mpyq', version=version, author='Aku Kotkavuo', author_email='aku@hibana.net', url='http://github.com/arkx/mpyq/', description='A Python library for extracting MPQ (MoPaQ)...
a80a875a62f3cf4e73eb47934b7589b00042d369
staticmodel/django/__init__.py
staticmodel/django/__init__.py
""" ****************** Django integration ****************** **Static Model** provides two custom Django model fields in the ``staticmodel.django.fields`` module: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelIntegerField`` (sub-class of ``django.db.models.IntegerField``) ...
""" ************************ Django model integration ************************ **Static Model** provides custom Django model fields in the ``staticmodel.django.models`` package: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelTextField`` (sub-class of ``django.db.models.TextF...
Fix django model field docstring.
Fix django model field docstring.
Python
mit
wsmith323/staticmodel
""" ****************** Django integration ****************** **Static Model** provides two custom Django model fields in the ``staticmodel.django.fields`` module: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelIntegerField`` (sub-class of ``django.db.models.IntegerField``) ...
""" ************************ Django model integration ************************ **Static Model** provides custom Django model fields in the ``staticmodel.django.models`` package: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelTextField`` (sub-class of ``django.db.models.TextF...
<commit_before>""" ****************** Django integration ****************** **Static Model** provides two custom Django model fields in the ``staticmodel.django.fields`` module: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelIntegerField`` (sub-class of ``django.db.models.In...
""" ************************ Django model integration ************************ **Static Model** provides custom Django model fields in the ``staticmodel.django.models`` package: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelTextField`` (sub-class of ``django.db.models.TextF...
""" ****************** Django integration ****************** **Static Model** provides two custom Django model fields in the ``staticmodel.django.fields`` module: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelIntegerField`` (sub-class of ``django.db.models.IntegerField``) ...
<commit_before>""" ****************** Django integration ****************** **Static Model** provides two custom Django model fields in the ``staticmodel.django.fields`` module: * ``StaticModelCharField`` (sub-class of ``django.db.models.CharField``) * ``StaticModelIntegerField`` (sub-class of ``django.db.models.In...
117de7c9ff56388ae7e33fb05f146710e423f174
setup.py
setup.py
from distutils.core import setup setup( name='Decouple', version='1.2.1', packages=['Decouple', 'Decouple.BatchPlugins'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@svenkreiss....
from distutils.core import setup setup( name='Decouple', version='1.2.2', packages=['Decouple', 'Decouple.BatchPlugins', 'scripts'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@...
Include 'scripts' as module in package.
Include 'scripts' as module in package.
Python
mit
svenkreiss/decouple
from distutils.core import setup setup( name='Decouple', version='1.2.1', packages=['Decouple', 'Decouple.BatchPlugins'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@svenkreiss....
from distutils.core import setup setup( name='Decouple', version='1.2.2', packages=['Decouple', 'Decouple.BatchPlugins', 'scripts'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@...
<commit_before>from distutils.core import setup setup( name='Decouple', version='1.2.1', packages=['Decouple', 'Decouple.BatchPlugins'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email=...
from distutils.core import setup setup( name='Decouple', version='1.2.2', packages=['Decouple', 'Decouple.BatchPlugins', 'scripts'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@...
from distutils.core import setup setup( name='Decouple', version='1.2.1', packages=['Decouple', 'Decouple.BatchPlugins'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email='sk@svenkreiss....
<commit_before>from distutils.core import setup setup( name='Decouple', version='1.2.1', packages=['Decouple', 'Decouple.BatchPlugins'], license='LICENSE', description='Decouple and recouple.', long_description=open('README.md').read(), author='Sven Kreiss, Kyle Cranmer', author_email=...
ccb9aebb5f2338e12d8aa79d65fa1a6e972e76c2
todobackend/__init__.py
todobackend/__init__.py
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = '0.0.0.0' PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async def init(loop): ...
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = getenv('IP', '0.0.0.0') PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async de...
Allow users to specify IP
MOD: Allow users to specify IP
Python
mit
justuswilhelm/todobackend-aiohttp
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = '0.0.0.0' PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async def init(loop): ...
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = getenv('IP', '0.0.0.0') PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async de...
<commit_before>from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = '0.0.0.0' PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async d...
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = getenv('IP', '0.0.0.0') PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async de...
from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = '0.0.0.0' PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async def init(loop): ...
<commit_before>from logging import getLogger, basicConfig, INFO from os import getenv from aiohttp import web from .middleware import cors_middleware_factory from .views import ( IndexView, TodoView, ) IP = '0.0.0.0' PORT = getenv('PORT', '8000') basicConfig(level=INFO) logger = getLogger(__name__) async d...
8fe31c3fbf3853d679f29b6743d05478cc1413f9
tests/unit/utils/test_utils.py
tests/unit/utils/test_utils.py
# coding=utf-8 ''' Test case for utils/__init__.py ''' from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pytest = None import salt.utils @skipIf(pytest is None, 'PyTest is missing...
# coding=utf-8 ''' Test case for utils/__init__.py ''' from __future__ import unicode_literals, print_function, absolute_import from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pyt...
Add unit test to check if the environment returns a correct type
Add unit test to check if the environment returns a correct type
Python
apache-2.0
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
# coding=utf-8 ''' Test case for utils/__init__.py ''' from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pytest = None import salt.utils @skipIf(pytest is None, 'PyTest is missing...
# coding=utf-8 ''' Test case for utils/__init__.py ''' from __future__ import unicode_literals, print_function, absolute_import from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pyt...
<commit_before># coding=utf-8 ''' Test case for utils/__init__.py ''' from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pytest = None import salt.utils @skipIf(pytest is None, 'Py...
# coding=utf-8 ''' Test case for utils/__init__.py ''' from __future__ import unicode_literals, print_function, absolute_import from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pyt...
# coding=utf-8 ''' Test case for utils/__init__.py ''' from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pytest = None import salt.utils @skipIf(pytest is None, 'PyTest is missing...
<commit_before># coding=utf-8 ''' Test case for utils/__init__.py ''' from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch ) try: import pytest except ImportError: pytest = None import salt.utils @skipIf(pytest is None, 'Py...
f5ff12afcc75f722a41356ca89d09c23b03396dd
setup.py
setup.py
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
Remove <1.9 limit on Django version
Remove <1.9 limit on Django version
Python
mit
ministryofjustice/django-moj-irat
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
<commit_before>import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.ch...
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.chdir(os.path.nor...
<commit_before>import os from setuptools import setup import sys with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() tests_require = ['responses>=0.5'] if sys.version_info < (3, 3): tests_require.append('mock>=1.3') # allow setup.py to be run from any path os.ch...
774915b91358b2e8ec7f665826b3dde4be1b5607
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
Extend list of supported python versions
Extend list of supported python versions
Python
mit
davidaurelio/hashids-python
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
<commit_before>#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_descr...
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_description=open(joi...
<commit_before>#!/usr/bin/env python from distutils.core import setup from os.path import dirname, join from codecs import open setup(name='hashids', version='1.1.0', description='Python implementation of hashids (http://www.hashids.org).' 'Compatible with python 2.6-3.', long_descr...
a1ddc3eac2c663c25498fe105843eef634a59de0
setup.py
setup.py
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
Use a sane version of oscar.
Use a sane version of oscar.
Python
bsd-3-clause
regulusweb/django-oscar-api,crgwbr/django-oscar-api,KuwaitNET/django-oscar-api,lijoantony/django-oscar-api
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
<commit_before>from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classif...
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
<commit_before>from setuptools import setup, find_packages __version__ = "0.0.13" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classif...
7a393502b36567dce93df718d716373414e2e674
test_noise_addition.py
test_noise_addition.py
# #!/usr/bin python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux)) ...
#!/usr/bin/env python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux))...
Fix noise calculation, add printing to check SNR value of data
Fix noise calculation, add printing to check SNR value of data
Python
mit
jason-neal/companion_simulations,jason-neal/companion_simulations
# #!/usr/bin python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux)) ...
#!/usr/bin/env python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux))...
<commit_before># #!/usr/bin python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigm...
#!/usr/bin/env python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux))...
# #!/usr/bin python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigma, len(flux)) ...
<commit_before># #!/usr/bin python #Test Noise Addition: import numpy as np import matplotlib.pyplot as plt def add_noise(flux, SNR): "Using the formulation mu/sigma" mu = np.mean(flux) sigma = mu / SNR # Add normal distributed noise at the SNR level. noisey_flux = flux + np.random.normal(0, sigm...
38b60466398172166daa2616fc1c5ea138bf513c
setup.py
setup.py
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
Add missing dependency for tastypie
Add missing dependency for tastypie
Python
bsd-2-clause
johnofkorea/django-gcm,johnofkorea/django-gcm,bogdal/django-gcm,bogdal/django-gcm
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
<commit_before>from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://g...
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://github.com/bogda...
<commit_before>from setuptools import setup, find_packages from gcm import VERSION setup( name='django-gcm', version=VERSION, description='Google Cloud Messaging Server', author='Adam Bogdal', author_email='adam@bogdal.pl', url='https://github.com/bogdal/django-gcm', download_url='https://g...
b60cca91aada5a9b634a893de5bc757afe3c5ba9
setup.py
setup.py
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
Add library required for schema checking
Add library required for schema checking
Python
mit
bdupharm/falcon-autocrud
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
<commit_before>from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD...
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD easier', ...
<commit_before>from setuptools import setup version = '1.0.24' try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): long_description = open('README.md').read() setup(name='falcon-autocrud', version=version, description='Makes RESTful CRUD...
7c10f4511e64bedad079e39834d6b845cfb942cc
setup.py
setup.py
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
Update the list of scripts to install.
Update the list of scripts to install.
Python
isc
larsyencken/shelly
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
<commit_before># -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by...
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
# -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by-line data in t...
<commit_before># -*- coding: utf-8 -*- # # setup.py # shelly # """ Package information for shelly package. """ from setuptools import setup VERSION = '0.1.0' setup( name='shelly', description="Standalone tools to make the shell better.", long_description=""" Shelly makes processing line-by...
da9e6a701c701ac38d512159424fd33401b4c91d
setup.py
setup.py
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) setup( name="salad", description="A nice mix of great BDD ingredients", author="Steven Skoczen", author_email="steven.skoczen@wk...
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) requirements = ["argparse", "nose", "splinter", "zope.testbrowser", "lettuce>=0.2.10.1"] try: import argparse except ImportError: requirements.a...
Install argparse when installing on Python 2.6
Install argparse when installing on Python 2.6
Python
bsd-3-clause
adw0rd/salad-py3,beanqueen/salad,salad/salad,beanqueen/salad,adw0rd/salad-py3,salad/salad
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) setup( name="salad", description="A nice mix of great BDD ingredients", author="Steven Skoczen", author_email="steven.skoczen@wk...
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) requirements = ["argparse", "nose", "splinter", "zope.testbrowser", "lettuce>=0.2.10.1"] try: import argparse except ImportError: requirements.a...
<commit_before>#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) setup( name="salad", description="A nice mix of great BDD ingredients", author="Steven Skoczen", author_email="st...
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) requirements = ["argparse", "nose", "splinter", "zope.testbrowser", "lettuce>=0.2.10.1"] try: import argparse except ImportError: requirements.a...
#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) setup( name="salad", description="A nice mix of great BDD ingredients", author="Steven Skoczen", author_email="steven.skoczen@wk...
<commit_before>#/usr/bin/env python import os from setuptools import setup, find_packages from salad import VERSION ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) setup( name="salad", description="A nice mix of great BDD ingredients", author="Steven Skoczen", author_email="st...
505489011e3a9b32efc172e002dbbcfce27b5874
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup( name='fmi', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ '...
#!/usr/bin/env python from distutils.core import setup setup( name='fmi_weather', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ ...
Rename package to fmi_weather, as 'fmi' is already taken.
Rename package to fmi_weather, as 'fmi' is already taken.
Python
mit
kipe/fmi
#!/usr/bin/env python from distutils.core import setup setup( name='fmi', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ '...
#!/usr/bin/env python from distutils.core import setup setup( name='fmi_weather', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ ...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup( name='fmi', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_d...
#!/usr/bin/env python from distutils.core import setup setup( name='fmi_weather', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ ...
#!/usr/bin/env python from distutils.core import setup setup( name='fmi', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_data={ '...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup( name='fmi', version='0.50', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com', url='https://github.com/kipe/fmi', packages=['fmi', 'fmi.symbols'], package_d...
b0e7db83e1b81c5babe0ac9193d5a71f655bd75c
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
Put secretballot's Git repository instead of using the release
Put secretballot's Git repository instead of using the release
Python
bsd-3-clause
Afnarel/django-likes,Afnarel/django-likes,Afnarel/django-likes
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
<commit_before>from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), a...
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt...
<commit_before>from setuptools import setup, find_packages setup( name='django-likes', version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), a...
73d8857dd3d7798d29d7f9ef9bc41193ee692616
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.2', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.3', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
Update dependency on annotator -> 0.7.3 to fix datetime decoder bug.
Update dependency on annotator -> 0.7.3 to fix datetime decoder bug.
Python
agpl-3.0
openannotation/annotateit,openannotation/annotateit
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.2', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.3', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
<commit_before>from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.2', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', ...
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.3', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.2', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', 'SQLAlchemy==...
<commit_before>from setuptools import setup, find_packages setup( name = 'annotateit', version = '2.1.2', packages = find_packages(), install_requires = [ 'annotator==0.7.2', 'Flask==0.8', 'Flask-Mail==0.6.1', 'Flask-SQLAlchemy==0.15', 'Flask-WTF==0.5.4', ...
a074ccda405c5215bc3157f9d6086dced6f271a9
setup.py
setup.py
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
Update libcloud dependency to 0.16
Update libcloud dependency to 0.16
Python
apache-2.0
cloudify-cosmo/cloudify-cloudstack-plugin,cloudify-cosmo/cloudify-cloudstack-plugin
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
<commit_before>__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin f...
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
<commit_before>__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin f...
b7e4a6df41dd1938e6be999a59871048094e0727
setup.py
setup.py
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
Update humanize requirement from <0.6,>=0.5.1 to >=0.5.1,<1.1
Update humanize requirement from <0.6,>=0.5.1 to >=0.5.1,<1.1 Updates the requirements on [humanize](https://github.com/jmoiron/humanize) to permit the latest version. - [Release notes](https://github.com/jmoiron/humanize/releases) - [Commits](https://github.com/jmoiron/humanize/compare/0.5.1...1.0.0) Signed-off-by: ...
Python
apache-2.0
zooniverse/panoptes-cli
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
<commit_before>from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zoon...
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zooniverse' ), ...
<commit_before>from setuptools import setup, find_packages setup( name='panoptescli', version='1.1.1', url='https://github.com/zooniverse/panoptes-cli', author='Adam McMaster', author_email='adam@zooniverse.org', description=( 'A command-line client for Panoptes, the API behind the Zoon...
b1168ed34505c8bfa20e6679c06cc9fd0ae559d1
setup.py
setup.py
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
Clean up a little bit
Clean up a little bit
Python
mit
checkr/fdep
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
<commit_before>from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="...
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="MIT LICENSE", ...
<commit_before>from setuptools import setup from fdep import __VERSION__ try: ldsc = open("README.md").read() except: ldsc = "" setup( name="fdep", packages=['fdep'], version=__VERSION__, author="Checkr", author_email="eng@checkr.com", url="http://github.com/checkr/fdep", license="...
a8ac3656ad66eb5767742adc6e0c35b61e7f13d6
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.17', packages=['todoist', 'todoist.managers'], author='Doist Team...
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.18', packages=['todoist', 'todoist.managers'], author='Doist Team...
Update the PyPI version to 0.2.18.
Update the PyPI version to 0.2.18.
Python
mit
Doist/todoist-python
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.17', packages=['todoist', 'todoist.managers'], author='Doist Team...
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.18', packages=['todoist', 'todoist.managers'], author='Doist Team...
<commit_before># -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.17', packages=['todoist', 'todoist.managers'], aut...
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.18', packages=['todoist', 'todoist.managers'], author='Doist Team...
# -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.17', packages=['todoist', 'todoist.managers'], author='Doist Team...
<commit_before># -*- coding: utf-8 -*- import os from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='0.2.17', packages=['todoist', 'todoist.managers'], aut...
0a047eabb06afcf870e6fa160b808816454a85d7
setup.py
setup.py
from setuptools import setup import sys, os from pip.req import parse_requirements exec(open('tooldog/version.py').read()) install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel uploa...
from setuptools import setup import sys, os exec(open('tooldog/version.py').read()) if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel upload; git push") sys.exit() setup(name="tooldog", version=__version__, description='Tool description generator (from https//bio.tool...
Fix Pypi issue for correct install
Fix Pypi issue for correct install
Python
mit
khillion/ToolDog
from setuptools import setup import sys, os from pip.req import parse_requirements exec(open('tooldog/version.py').read()) install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel uploa...
from setuptools import setup import sys, os exec(open('tooldog/version.py').read()) if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel upload; git push") sys.exit() setup(name="tooldog", version=__version__, description='Tool description generator (from https//bio.tool...
<commit_before>from setuptools import setup import sys, os from pip.req import parse_requirements exec(open('tooldog/version.py').read()) install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] if sys.argv[-1] == 'publish': os.system("python setup.py sdist bd...
from setuptools import setup import sys, os exec(open('tooldog/version.py').read()) if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel upload; git push") sys.exit() setup(name="tooldog", version=__version__, description='Tool description generator (from https//bio.tool...
from setuptools import setup import sys, os from pip.req import parse_requirements exec(open('tooldog/version.py').read()) install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel uploa...
<commit_before>from setuptools import setup import sys, os from pip.req import parse_requirements exec(open('tooldog/version.py').read()) install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] if sys.argv[-1] == 'publish': os.system("python setup.py sdist bd...
8e6041d78da54415d4b4cf918a0abba2f779b8d7
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.0', description='A simple interface for sending metrics to Graphite', ...
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.2', description='A simple interface for sending metrics to Graphite', ...
Increase version for logging and pep8
Increase version for logging and pep8
Python
apache-2.0
daniellawrence/graphitesend,rdefeo/graphitesend,PabloLefort/graphitesend,numberly/graphitesend
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.0', description='A simple interface for sending metrics to Graphite', ...
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.2', description='A simple interface for sending metrics to Graphite', ...
<commit_before>#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.0', description='A simple interface for sending metrics...
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.2', description='A simple interface for sending metrics to Graphite', ...
#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.0', description='A simple interface for sending metrics to Graphite', ...
<commit_before>#!/usr/bin/env python from distutils.core import setup import os #README = "/".join([os.path.dirname(__file__), "README.md"]) #with open(README) as file: # long_description = file.read() setup( name='graphitesend', version='0.3.0', description='A simple interface for sending metrics...
89ede0eaf7ef96824731da94fba38075c46e2c95
setup.py
setup.py
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
Add codegen script to package_data
Add codegen script to package_data
Python
agpl-3.0
openego/ego.io,openego/ego.io
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
<commit_before>#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/eg...
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/ego.io', pa...
<commit_before>#! /usr/bin/env python # coding: utf-8 from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='', description='ego input/output repository', version='0.3.0', url='https://github.com/openego/eg...
c308ddec90d37777896a9275738fac8e5764dec7
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
Update dependency to pymongo 2.6.2
Update dependency to pymongo 2.6.2
Python
mit
bumbeelabs2/eve-mongoengine,MongoEngine/eve-mongoengine,rudaoshi/eve-mongoengine,kcaylor/eve-mongoengine,rudaoshi/eve-mongoengine
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mon...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM su...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mon...
aae0586728f29887b6789260a286cb3e7a244b52
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
Update python-dateutil to match the package we ship in Cloud:Tools
Update python-dateutil to match the package we ship in Cloud:Tools
Python
apache-2.0
SUSE/azurectl,SUSE/azurectl,SUSE/azurectl
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
<commit_before>try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_...
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_url': 'https://...
<commit_before>try: from setuptools import setup except ImportError: from distutils.core import setup from azurectl.version import __VERSION__ config = { 'description': 'Manage Azure PubCloud Service', 'author': 'PubCloud Development team', 'url': 'https://github.com/SUSE/azurectl', 'download_...
5e8218a2fb5b0c63df4394e299ad75fec2494b29
setup.py
setup.py
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
Upgrade dependency python-slugify to ==1.2.2
Upgrade dependency python-slugify to ==1.2.2
Python
mit
renanivo/with
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
<commit_before>import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context ma...
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context manager', lon...
<commit_before>import os from setuptools import setup from withtool import __version__ def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, encoding='utf-8') as f: return f.read() setup( name='with', version=__version__, description='A shell context ma...
b9b5af6bc8da56caadf74e75b833338330305779
setup.py
setup.py
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
Upgrade to sendmail 4.3, fixed old bug with transaction
Upgrade to sendmail 4.3, fixed old bug with transaction
Python
mit
amol-/tgext.mailer
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
<commit_before>from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', ...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', version=versi...
<commit_before>from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.1.0" test_requirements = [ 'nose', 'webtest', ] setup(name='tgext.mailer', ...
e0d284e9796bddad2dcb1284f9c9fa34c85db8af
setup.py
setup.py
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
Change development status from alpha to beta
Change development status from alpha to beta
Python
apache-2.0
jodal/pykka,tamland/pykka,tempbottle/pykka
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
<commit_before>from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
<commit_before>from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description...
9efd6c325376270938cd16fec9907fcb4680722e
setup.py
setup.py
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
Bump tensorflow from 2.5.1 to 2.5.2
Bump tensorflow from 2.5.1 to 2.5.2 Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.5.1 to 2.5.2. - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/...
Python
mit
smousavi05/EQTransformer
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
<commit_before>from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attenti...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attentive deep-learnin...
<commit_before>from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup( name="EQTransformer", author="S. Mostafa Mousavi", version="0.1.61", author_email="smousavi05@gmail.com", description="A python package for making and using attenti...
53332dd8eae28e9a42ea213b8b3d482f09135ce3
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
Add python_requires to help pip
Add python_requires to help pip
Python
apache-2.0
spulec/freezegun
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
<commit_before>#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read(...
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
<commit_before>#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read(...
bcf7b9a670b2ad1ad1962879de2009453e98a315
setup.py
setup.py
from distutils.core import setup import skyfield # to learn the version setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', author_email='brandon@rhodesmill...
from distutils.core import setup import skyfield # safe, because __init__.py contains no import statements setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', ...
Make it clearer when import could be a bad idea
Make it clearer when import could be a bad idea
Python
mit
skyfielders/python-skyfield,exoanalytic/python-skyfield,ozialien/python-skyfield,GuidoBR/python-skyfield,ozialien/python-skyfield,exoanalytic/python-skyfield,skyfielders/python-skyfield,GuidoBR/python-skyfield
from distutils.core import setup import skyfield # to learn the version setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', author_email='brandon@rhodesmill...
from distutils.core import setup import skyfield # safe, because __init__.py contains no import statements setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', ...
<commit_before>from distutils.core import setup import skyfield # to learn the version setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', author_email='bra...
from distutils.core import setup import skyfield # safe, because __init__.py contains no import statements setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', ...
from distutils.core import setup import skyfield # to learn the version setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', author_email='brandon@rhodesmill...
<commit_before>from distutils.core import setup import skyfield # to learn the version setup( name='skyfield', version=skyfield.__version__, description=skyfield.__doc__.split('\n', 1)[0], long_description=open('README.rst').read(), license='MIT', author='Brandon Rhodes', author_email='bra...
d251f7f97e5fc32fd41266430ed0e991109e1fbe
setup.py
setup.py
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__ install_requires = ['decorator>=4.1.0'] extras_require = {'all': ['numpy']} packages = ['dimod', 'dimod.responses', 'dimod.composites', 'dimod.samplers'] setup(...
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__, _PY2 install_requires = ['decorator>=4.1.0'] if _PY2: # enum is built-in for python 3 install_requires.append('enum') extras_require = {'all': ['numpy']} packages = ['dimod', ...
Add enum for python2 install
Add enum for python2 install
Python
apache-2.0
dwavesystems/dimod,dwavesystems/dimod
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__ install_requires = ['decorator>=4.1.0'] extras_require = {'all': ['numpy']} packages = ['dimod', 'dimod.responses', 'dimod.composites', 'dimod.samplers'] setup(...
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__, _PY2 install_requires = ['decorator>=4.1.0'] if _PY2: # enum is built-in for python 3 install_requires.append('enum') extras_require = {'all': ['numpy']} packages = ['dimod', ...
<commit_before>from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__ install_requires = ['decorator>=4.1.0'] extras_require = {'all': ['numpy']} packages = ['dimod', 'dimod.responses', 'dimod.composites', 'dimod.sam...
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__, _PY2 install_requires = ['decorator>=4.1.0'] if _PY2: # enum is built-in for python 3 install_requires.append('enum') extras_require = {'all': ['numpy']} packages = ['dimod', ...
from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__ install_requires = ['decorator>=4.1.0'] extras_require = {'all': ['numpy']} packages = ['dimod', 'dimod.responses', 'dimod.composites', 'dimod.samplers'] setup(...
<commit_before>from setuptools import setup, find_packages from dimod import __version__, __author__, __description__, __authoremail__ install_requires = ['decorator>=4.1.0'] extras_require = {'all': ['numpy']} packages = ['dimod', 'dimod.responses', 'dimod.composites', 'dimod.sam...
9c4ceba823a1e25ce75e5231a705ca2cbc76c3dc
setup.py
setup.py
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
Add Trove classifiers indicating supported Python versions.
Add Trove classifiers indicating supported Python versions.
Python
mit
cburgmer/upsidedown,jaraco/upsidedown
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
<commit_before>import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme:...
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme: long_descr...
<commit_before>import re import codecs from setuptools import setup import upsidedown VERSION = str(upsidedown.__version__) (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', upsidedown.__author__).groups() URL = upsidedown.__url__ LICENSE = upsidedown.__license__ with codecs.open('README', encoding='utf-8') as readme:...
fcef30a09d24ade495085fc281c334da0098f727
tests/test_commands.py
tests/test_commands.py
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): d = _defaults() d['description'] = 'test package' _make_package(d, True) return d def test_insta...
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): """Helper function to create a test package""" d = _defaults() d['description'] = 'test package' ...
Add docstring to test functions
DOC: Add docstring to test functions
Python
mit
freeman-lab/pim
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): d = _defaults() d['description'] = 'test package' _make_package(d, True) return d def test_insta...
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): """Helper function to create a test package""" d = _defaults() d['description'] = 'test package' ...
<commit_before>from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): d = _defaults() d['description'] = 'test package' _make_package(d, True) return d ...
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): """Helper function to create a test package""" d = _defaults() d['description'] = 'test package' ...
from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): d = _defaults() d['description'] = 'test package' _make_package(d, True) return d def test_insta...
<commit_before>from pim.commands.init import _defaults, _make_package from pim.commands.install import install from pim.commands.uninstall import uninstall from click.testing import CliRunner def _create_test_package(): d = _defaults() d['description'] = 'test package' _make_package(d, True) return d ...
b0dba403abb5d0a81d823eddc90c19160dc5b354
setup.py
setup.py
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
Add colorlog to reqs and fix dev req versions
Add colorlog to reqs and fix dev req versions
Python
mit
tesera/pygypsy,tesera/pygypsy
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
<commit_before>from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=...
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=LONG_DESCRIPTIO...
<commit_before>from codecs import open as codecs_open from setuptools import setup, find_packages with codecs_open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='gypsy', version='0.0.1', description=u"Forestry Growth and Yield Projection System", long_description=...
6c488d267cd5919eb545855a522d5cd7ec7d0fec
molly/utils/management/commands/generate_cache_manifest.py
molly/utils/management/commands/generate_cache_manifest.py
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
Revert "Don't cache markers, admin files or uncompressed JS/CSS"
Revert "Don't cache markers, admin files or uncompressed JS/CSS" This reverts commit 357d4053e80e433b899ecacc15fba2a04cd6032b.
Python
apache-2.0
mollyproject/mollyproject,mollyproject/mollyproject,mollyproject/mollyproject
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
<commit_before>import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
<commit_before>import os import os.path from django.core.management.base import NoArgsCommand from django.conf import settings class Command(NoArgsCommand): can_import_settings = True def handle_noargs(self, **options): cache_manifest_path = os.path.join(settings.STATIC_ROOT, ...
aa3a79f3e733e65e354e0c1c63bf3efe0f128fc1
contentcuration/contentcuration/views/json_dump.py
contentcuration/contentcuration/views/json_dump.py
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
Update json bootstrapping code for Py3.
Update json bootstrapping code for Py3.
Python
mit
DXCanas/content-curation,DXCanas/content-curation,DXCanas/content-curation,DXCanas/content-curation
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
<commit_before>import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ de...
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ def _json_dumps(v...
<commit_before>import json from rest_framework.renderers import JSONRenderer """ Format data such that it can be safely loaded by JSON.parse in javascript 1. create a JSON string 2. second, correctly wrap the JSON in quotes for inclusion in JS Ref: https://github.com/learningequality/kolibri/issues/6044 """ de...
00dddace119917ff4e6428450d6ddf75f50bc3ac
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 if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
Install requires pycryptodome, not pycrypto
Install requires pycryptodome, not pycrypto PyCrypto version on PyPi is 2.6, but sjcl requires 2.7. PyCrypto is not maintained. PyCryptodome is a drop in replacement. A fresh install of sjcl with PyCrypto in Python 3.6.1 on macOS results in error on: File "/Users/jthetzel/.local/src/py_test/venv/lib/python3.6/ si...
Python
bsd-3-clause
berlincode/sjcl
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
<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 if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() README = open(...
<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 if sys.argv[-1] == 'publish': os.system('pandoc -o README.rst README.md') os.system('python setup.py sdist upload') sys.exit() ...
e647731ecd2f7c3d68744137e298143529962693
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
Make sure templates get included
Make sure templates get included
Python
mit
shimon/Splango
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splang...
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splang...
f708d695f2f0a33c3e856ebd4aa8299c46e91694
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
Add some more or less obvious dependencies
Add some more or less obvious dependencies
Python
agpl-3.0
fsfw-dresden/ldap-dingens,fsfw-dresden/ldap-dingens
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
<commit_before>#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", licens...
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", license="AGPL", c...
<commit_before>#!/usr/bin/env python3 from setuptools import setup setup( name="ldap_dingens", version="0.1", description="LDAP web frontend for the FSFW Dresden group", url="https://github.com/fsfw-dresden/ldap-dingens", author="Dominik Pataky", author_email="mail@netdecorator.org", licens...
9e09a45edee517f62c252fce9716d82e63ea7a0e
pact/group.py
pact/group.py
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = pacts[:] self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def __ia...
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = list(pacts) self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def _...
Use list instead of [:] to allow the pact argument to be an iterator
Use list instead of [:] to allow the pact argument to be an iterator
Python
bsd-3-clause
vmalloc/pact
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = pacts[:] self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def __ia...
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = list(pacts) self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def _...
<commit_before>import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = pacts[:] self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__(...
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = list(pacts) self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def _...
import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = pacts[:] self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__() def __ia...
<commit_before>import itertools from .base import PactBase class PactGroup(PactBase): def __init__(self, pacts=None, lazy=True): if pacts is None: pacts = [] self._pacts = pacts[:] self._finished_pacts = [] self._is_lazy = lazy super(PactGroup, self).__init__(...
f068be029606253d36518478151793e70e231d5f
setup.py
setup.py
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
Change version to 0.2.1 for next release
Change version to 0.2.1 for next release
Python
bsd-3-clause
DasIch/oore
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
<commit_before># encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Reg...
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
# encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Regular Expression...
<commit_before># encoding: utf-8 """ setup ~~~~~ :copyright: 2014 by Daniel Neuhäuser :license: BSD, see LICENSE.rst for details """ from setuptools import setup with open('README.rst', 'r') as readme: long_description = readme.read() setup( name='oore', description='Object-Oriented Reg...
53bcc5478d3bf25be308ca0e2d0920dcb5b57cfe
setup.py
setup.py
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = [], packages = ['eppy'] )
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = ["backports.ssl_match_hostname"], ...
Add missing dependency to install_requires list
Add missing dependency to install_requires list
Python
mit
cloudregistry/eppy
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = [], packages = ['eppy'] ) Add m...
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = ["backports.ssl_match_hostname"], ...
<commit_before>from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = [], packages = [...
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = ["backports.ssl_match_hostname"], ...
from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = [], packages = ['eppy'] ) Add m...
<commit_before>from setuptools import setup, find_packages from eppy import __version__ setup( name = "EPP", version = __version__, author = "Wil Tan", author_email = "wil@cloudregistry.net", description = "EPP Client for Python", license = "MIT/X", install_requires = [], packages = [...
b740afb96931518d122ebb10bb356457036b35ed
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
Fix package name in entry point
Fix package name in entry point
Python
mit
guykisel/pre-commit-robotframework-tidy
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
<commit_before>#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy...
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy tool.', ur...
<commit_before>#!/usr/bin/env python import sys from setuptools import find_packages, setup install_requires = ['robotframework'] if sys.version_info < (2, 7): install_requires.append('argparse') setup( name='pre_commit_robotframework_tidy', description='A pre-commit hook to run Robot Framework\'s tidy...
d71921a3dff82b038311b15fc9b56926521eaefb
setup.py
setup.py
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
Modify required package list to minimal pakcages.
Modify required package list to minimal pakcages.
Python
mit
PyOCL/OpenCLGA,PyOCL/oclGA,PyOCL/oclGA,PyOCL/TSP,PyOCL/TSP,PyOCL/oclGA,PyOCL/oclGA,PyOCL/OpenCLGA,PyOCL/OpenCLGA
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
<commit_before>import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue ...
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue prin...
<commit_before>import os from setuptools import setup, find_packages package_files_paths = [] def package_files(directory): global package_files_paths for (path, directories, filenames) in os.walk(directory): for filename in filenames: if filename == '.gitignore': continue ...
1e1430d89d0cbd5f1de04194ac394b703c86693d
virtool/api/genbank.py
virtool/api/genbank.py
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.web import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/api/genbank/{acc...
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.client_exceptions import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/ap...
Return 502 when NCBI unavailable
Return 502 when NCBI unavailable
Python
mit
virtool/virtool,virtool/virtool,igboyes/virtool,igboyes/virtool
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.web import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/api/genbank/{acc...
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.client_exceptions import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/ap...
<commit_before>""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.web import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/a...
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.client_exceptions import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/ap...
""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.web import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/api/genbank/{acc...
<commit_before>""" Provides request handlers for managing and viewing analyses. """ import aiohttp import aiohttp.web import virtool.genbank import virtool.http.proxy import virtool.http.routes from virtool.api.utils import bad_gateway, json_response, not_found routes = virtool.http.routes.Routes() @routes.get("/a...
057aecebb701810c57cac5b8e44a5d5d0a03fa12
virtool/error_pages.py
virtool/error_pages.py
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) if not is_api_call and response.status =...
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash from virtool.handlers.utils import json_response @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) ...
Return json error response for ALL api errors
Return json error response for ALL api errors HTML responses were being returned for non-existent endpoints. This was resulting on some uncaught exceptions.
Python
mit
virtool/virtool,igboyes/virtool,igboyes/virtool,virtool/virtool
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) if not is_api_call and response.status =...
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash from virtool.handlers.utils import json_response @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) ...
<commit_before>import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) if not is_api_call and re...
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash from virtool.handlers.utils import json_response @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) ...
import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) if not is_api_call and response.status =...
<commit_before>import os import sys from aiohttp import web from mako.template import Template from virtool.utils import get_static_hash @web.middleware async def middleware(req, handler): is_api_call = req.path.startswith("/api") try: response = await handler(req) if not is_api_call and re...
2721a3d5c8bfcf3a6945e8744e4887688578ce9f
tests/test_emailharvesterws.py
tests/test_emailharvesterws.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ import pytest from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != "" print(emails_found)
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != ""
Revert "Revert "Fix a codacy issue""
Revert "Revert "Fix a codacy issue"" This reverts commit 6551c882745b13d5b9be183e83f379e34b067921.
Python
mit
avidot/Botanick
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ import pytest from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != "" print(emails_found) Revert "Revert "Fix a co...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != ""
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ import pytest from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != "" print(emails_found) <commit_m...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != ""
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ import pytest from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != "" print(emails_found) Revert "Revert "Fix a co...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_botanick ---------------------------------- Tests for `botanick` module. """ import pytest from botanick import Botanick def test_botanick(): emails_found = Botanick.search("squad.pro") assert emails_found != "" print(emails_found) <commit_m...
e7e2c68a147adc9e7d0da69740d4698b7c100796
micro.py
micro.py
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def parse_function(tokens): return 'test', (23, None), tokens[-1...
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div from uuid import uuid4 functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def generate_name(): return str(uuid4()) ...
Add a parsing of a function name.
Add a parsing of a function name.
Python
mit
thewizardplusplus/micro,thewizardplusplus/micro,thewizardplusplus/micro
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def parse_function(tokens): return 'test', (23, None), tokens[-1...
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div from uuid import uuid4 functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def generate_name(): return str(uuid4()) ...
<commit_before>#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def parse_function(tokens): return 'test', (23, N...
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div from uuid import uuid4 functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def generate_name(): return str(uuid4()) ...
#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def parse_function(tokens): return 'test', (23, None), tokens[-1...
<commit_before>#!/usr/bin/env python from sys import argv from operator import add, sub, mul, div functions = { \ '+': (2, add), \ '-': (2, sub), \ '*': (2, mul), \ '/': (2, div) \ } def get_code(): return argv[1] def get_tokens(code): return code.split(' ') def parse_function(tokens): return 'test', (23, N...
e9dae2ad4790aeb903723d095f9efc4614700b65
conda_concourse_ci/__main__.py
conda_concourse_ci/__main__.py
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
Fix indentation to multiple of 4
E111: Fix indentation to multiple of 4
Python
bsd-3-clause
conda/conda-concourse-ci,conda/conda-concourse-ci
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main()) E111: Fix indentation to multiple of 4
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
<commit_before>import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main()) <commit_msg>E111: Fix indentation to multiple of 4<commit_after>
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main()) E111: Fix indentation to multiple of 4import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
<commit_before>import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main()) <commit_msg>E111: Fix indentation to multiple of 4<commit_after>import sys if __name__ == '__main__': from conda_concourse_ci.cli import main sys.exit(main())
f46526a5a42ec324de4925a208c23a46c48658c9
pages/views.py
pages/views.py
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
Fix a bug with an empty database
Fix a bug with an empty database
Python
bsd-3-clause
pombreda/django-page-cms,google-code-export/django-page-cms,pombreda/django-page-cms,google-code-export/django-page-cms,google-code-export/django-page-cms,Alwnikrotikz/django-page-cms,odyaka341/django-page-cms,Alwnikrotikz/django-page-cms,Alwnikrotikz/django-page-cms,PiRSquared17/django-page-cms,pombreda/django-page-cm...
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
<commit_before>from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None l...
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None lang = Language....
<commit_before>from pages.models import Page, Language, Content from pages.utils import auto_render from django.contrib.admin.views.decorators import staff_member_required from django import forms from django.http import Http404 import settings @auto_render def details(request, page_id=None): template = None l...
7e15c50628f5d0a03b5407923a1dc2db99932ba3
partner_company_group/models/res_partner.py
partner_company_group/models/res_partner.py
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) ...
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) c...
Add one2many counterpart for company_group_id TT34815
[IMP] partner_company_group: Add one2many counterpart for company_group_id TT34815
Python
agpl-3.0
OCA/partner-contact,OCA/partner-contact
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) ...
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) c...
<commit_before># Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", Tru...
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) c...
# Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", True)] ) ...
<commit_before># Copyright 2019 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models class Contact(models.Model): _inherit = "res.partner" company_group_id = fields.Many2one( "res.partner", "Company group", domain=[("is_company", "=", Tru...
2124c66d11e46878492970e73700e3e0028a3f1e
mopidy/internal/gi.py
mopidy/internal/gi.py
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
Set GLib prgname and application name
Set GLib prgname and application name This makes Mopidy properly show up in pulseaudio as "Mopidy" instead of "python*"
Python
apache-2.0
adamcik/mopidy,kingosticks/mopidy,mopidy/mopidy,jodal/mopidy,mopidy/mopidy,kingosticks/mopidy,mopidy/mopidy,adamcik/mopidy,jcass77/mopidy,adamcik/mopidy,jcass77/mopidy,jodal/mopidy,kingosticks/mopidy,jodal/mopidy,jcass77/mopidy
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
<commit_before>from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not...
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not found. ...
<commit_before>from __future__ import absolute_import, print_function, unicode_literals import sys import textwrap try: import gi gi.require_version('Gst', '1.0') from gi.repository import GLib, GObject, Gst except ImportError: print(textwrap.dedent(""" ERROR: A GObject Python package was not...
e7e043884244cc6bf38027db99a14e184cd1eda2
gapipy/resources/flights/flight_status.py
gapipy/resources/flights/flight_status.py
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order', 'state', ] @property ...
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _resource_name = 'flight_statuses' _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order',...
Add resource name to FlightStatus
Add resource name to FlightStatus
Python
mit
gadventures/gapipy
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order', 'state', ] @property ...
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _resource_name = 'flight_statuses' _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order',...
<commit_before>from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order', 'state', ] ...
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _resource_name = 'flight_statuses' _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order',...
from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order', 'state', ] @property ...
<commit_before>from ..base import Resource from .flight_segment import FlightSegment class FlightStatus(Resource): _as_is_fields = [ 'current_segment', 'departure_service_action', 'flags', 'href', 'id', 'internal', 'segments_order', 'state', ] ...
af010c5e924a779a37495905efc32aecdfd358ea
whalelinter/commands/common.py
whalelinter/commands/common.py
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
Fix line addressing issue on 'cd' command
Fix line addressing issue on 'cd' command
Python
mit
jeromepin/whale-linter
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
<commit_before>#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCom...
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCommand): def ...
<commit_before>#!/usr/bin/env python3 import re from whalelinter.app import App from whalelinter.dispatcher import Dispatcher from whalelinter.commands.command import ShellCommand from whalelinter.commands.apt import Apt @Dispatcher.register(token='run', command='cd') class Cd(ShellCom...
d327b6651234c33549f35d5d5411012d2419634b
anillo/middlewares/cors.py
anillo/middlewares/cors.py
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
Add the ability to use the middleware decorator without arguments.
Add the ability to use the middleware decorator without arguments.
Python
bsd-2-clause
jespino/anillo,hirunatan/anillo,jespino/anillo,hirunatan/anillo
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
<commit_before>import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control...
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
<commit_before>import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control...
298d9fc5264fc80089034c4770369d65e898e3e0
anillo/middlewares/cors.py
anillo/middlewares/cors.py
import functools def wrap_cors( func=None, *, allow_origin='*', allow_headers=set(["Origin", "X-Requested-With", "Content-Type", "Accept"])): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers. This middlware accept...
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
Put default headers as constant and make it immutable.
Put default headers as constant and make it immutable. With additional cosmetic fixes.
Python
bsd-2-clause
jespino/anillo,hirunatan/anillo,jespino/anillo,hirunatan/anillo
import functools def wrap_cors( func=None, *, allow_origin='*', allow_headers=set(["Origin", "X-Requested-With", "Content-Type", "Accept"])): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers. This middlware accept...
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
<commit_before>import functools def wrap_cors( func=None, *, allow_origin='*', allow_headers=set(["Origin", "X-Requested-With", "Content-Type", "Accept"])): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers. This m...
import functools DEFAULT_HEADERS = frozenset(["origin", "x-requested-with", "content-type", "accept"])): def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers....
import functools def wrap_cors( func=None, *, allow_origin='*', allow_headers=set(["Origin", "X-Requested-With", "Content-Type", "Accept"])): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers. This middlware accept...
<commit_before>import functools def wrap_cors( func=None, *, allow_origin='*', allow_headers=set(["Origin", "X-Requested-With", "Content-Type", "Accept"])): """ A middleware that allow CORS calls, by adding the headers Access-Control-Allow-Origin and Access-Control-Allow-Headers. This m...
1a75b9336b295502f4625f4edd11d86d2a2fe117
yahoo.py
yahoo.py
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
Change time sleep from 10 to 60
Change time sleep from 10 to 60
Python
mit
cathyq/yahoo-finance
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
<commit_before>import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() ...
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() print "IBM's s...
<commit_before>import time from yahoo_finance import Share nyt = Share('NYT') ibm = Share('IBM') google = Share('GOOG') facebook = Share('FB') linkedin = Share('LNKD') for minute in range(30): print "%s minutes" % minute nyt.refresh() print "The New York Times' stock price is $%s" % nyt.get_price() ibm.refresh() ...
7e7be00f696bd9fea2e9f18e126d27b6e9e1882d
jarn/mkrelease/python.py
jarn/mkrelease/python.py
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = sys.executable self.version_info = sys.version_info if python is not None: self.python = python if ve...
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = python or sys.executable self.version_info = version_info or sys.version_info def __str__(self): return self.python ...
Use terser idiom for initialization.
Use terser idiom for initialization.
Python
bsd-2-clause
Jarn/jarn.mkrelease
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = sys.executable self.version_info = sys.version_info if python is not None: self.python = python if ve...
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = python or sys.executable self.version_info = version_info or sys.version_info def __str__(self): return self.python ...
<commit_before>import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = sys.executable self.version_info = sys.version_info if python is not None: self.python = pytho...
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = python or sys.executable self.version_info = version_info or sys.version_info def __str__(self): return self.python ...
import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = sys.executable self.version_info = sys.version_info if python is not None: self.python = python if ve...
<commit_before>import sys from exit import err_exit class Python(object): """Python interpreter abstraction.""" def __init__(self, python=None, version_info=None): self.python = sys.executable self.version_info = sys.version_info if python is not None: self.python = pytho...
012235fd93e77de19065a0e906554887e27580fd
kitsune/sumo/models.py
kitsune/sumo/models.py
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
Use Django's default update method
Use Django's default update method
Python
bsd-3-clause
mozilla/kitsune,mozilla/kitsune,mozilla/kitsune,mozilla/kitsune
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
<commit_before>from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, af...
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, after=None): ...
<commit_before>from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds objects_range class method. * Adds update method. """ class Meta: abstract = True @classmethod def objects_range(cls, before=None, af...
be5ffde03bd08a613353c876fd91b35f8a38d76a
oidc_provider/urls.py
oidc_provider/urls.py
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = patterns('', url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'...
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = [ url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'^userinfo/?...
Remove patterns which will be deprecated in 1.10
Remove patterns which will be deprecated in 1.10
Python
mit
torreco/django-oidc-provider,ByteInternet/django-oidc-provider,wojtek-fliposports/django-oidc-provider,bunnyinc/django-oidc-provider,torreco/django-oidc-provider,bunnyinc/django-oidc-provider,juanifioren/django-oidc-provider,juanifioren/django-oidc-provider,ByteInternet/django-oidc-provider,wojtek-fliposports/django-oi...
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = patterns('', url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'...
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = [ url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'^userinfo/?...
<commit_before>from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = patterns('', url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='toke...
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = [ url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'^userinfo/?...
from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = patterns('', url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'), url(r'...
<commit_before>from django.conf.urls import patterns, include, url from django.views.decorators.csrf import csrf_exempt from oidc_provider.views import * urlpatterns = patterns('', url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'), url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='toke...
96d7a2a3a3250993084c1847436711ceaea988fc
app/database.py
app/database.py
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
Change unuique keys to MySQL varchar
Change unuique keys to MySQL varchar
Python
mit
taeram/idiocy,taeram/idiocy,taeram/idiocy
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
<commit_before>from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.com...
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.command def drop()...
<commit_before>from app import app from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.script import Manager, prompt_bool from datetime import datetime db = SQLAlchemy(app) manager = Manager(usage="Manage the database") @manager.command def create(): "Create the database" db.create_all() @manager.com...
9a0cab561ea76a3d54cd410bacbe13a4f5e9f35b
server/admin.py
server/admin.py
from django.contrib import admin from server.models import * class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') admin.site.register(UserProfile) admin.site.register(BusinessUnit) admin.site.register(MachineGroup...
from django.contrib import admin from server.models import * class ApiKeyAdmin(admin.ModelAdmin): list_display = ('name', 'public_key', 'private_key') class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) ad...
Sort registrations. Separate classes of imports. Add API key display.
Sort registrations. Separate classes of imports. Add API key display.
Python
apache-2.0
salopensource/sal,sheagcraig/sal,sheagcraig/sal,salopensource/sal,sheagcraig/sal,salopensource/sal,salopensource/sal,sheagcraig/sal
from django.contrib import admin from server.models import * class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') admin.site.register(UserProfile) admin.site.register(BusinessUnit) admin.site.register(MachineGroup...
from django.contrib import admin from server.models import * class ApiKeyAdmin(admin.ModelAdmin): list_display = ('name', 'public_key', 'private_key') class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) ad...
<commit_before>from django.contrib import admin from server.models import * class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') admin.site.register(UserProfile) admin.site.register(BusinessUnit) admin.site.regist...
from django.contrib import admin from server.models import * class ApiKeyAdmin(admin.ModelAdmin): list_display = ('name', 'public_key', 'private_key') class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) ad...
from django.contrib import admin from server.models import * class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') admin.site.register(UserProfile) admin.site.register(BusinessUnit) admin.site.register(MachineGroup...
<commit_before>from django.contrib import admin from server.models import * class MachineGroupAdmin(admin.ModelAdmin): readonly_fields = ('key',) class MachineAdmin(admin.ModelAdmin): list_display = ('hostname', 'serial') admin.site.register(UserProfile) admin.site.register(BusinessUnit) admin.site.regist...
59c8c57884021f472bb98d00fc46fe7214c689d3
test/unbuffered_test.py
test/unbuffered_test.py
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
Fix 'unbuffered' test that somehow got broken
Fix 'unbuffered' test that somehow got broken
Python
bsd-3-clause
lechat/jenkinsflow,lhupfeldt/jenkinsflow,lhupfeldt/jenkinsflow,lhupfeldt/jenkinsflow,lechat/jenkinsflow,lechat/jenkinsflow,lhupfeldt/jenkinsflow,lechat/jenkinsflow
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
<commit_before># Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout...
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
<commit_before># Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout...
569cc559e32f31d3256ff2df3a491a55384e5c27
lib/pylprof/imports.py
lib/pylprof/imports.py
from line_profiler import LineProfiler lp = LineProfiler() profile = lp.runcall
from line_profiler import LineProfiler lp = LineProfiler() lp.enable_profile_all() profile = lp.runcall
Use new version of line profiler
[pylprof] Use new version of line profiler
Python
mit
iddl/pprofile,iddl/pprofile
from line_profiler import LineProfiler lp = LineProfiler() profile = lp.runcall [pylprof] Use new version of line profiler
from line_profiler import LineProfiler lp = LineProfiler() lp.enable_profile_all() profile = lp.runcall
<commit_before>from line_profiler import LineProfiler lp = LineProfiler() profile = lp.runcall <commit_msg>[pylprof] Use new version of line profiler<commit_after>
from line_profiler import LineProfiler lp = LineProfiler() lp.enable_profile_all() profile = lp.runcall
from line_profiler import LineProfiler lp = LineProfiler() profile = lp.runcall [pylprof] Use new version of line profilerfrom line_profiler import LineProfiler lp = LineProfiler() lp.enable_profile_all() profile = lp.runcall
<commit_before>from line_profiler import LineProfiler lp = LineProfiler() profile = lp.runcall <commit_msg>[pylprof] Use new version of line profiler<commit_after>from line_profiler import LineProfiler lp = LineProfiler() lp.enable_profile_all() profile = lp.runcall
86f3c9b12e46c34d38fbebdefb70380a45526fe3
tmaps/config/default.py
tmaps/config/default.py
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
Remove gc3pie session dir from config
Remove gc3pie session dir from config
Python
agpl-3.0
TissueMAPS/TmServer
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
<commit_before>import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA...
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA = datetime.tim...
<commit_before>import datetime # Override this key with a secret one SECRET_KEY = 'default_secret_key' HASHIDS_SALT = 'default_secret_salt' # This should be set to true in the production config when using NGINX USE_X_SENDFILE = False DEBUG = True JWT_EXPIRATION_DELTA = datetime.timedelta(days=2) JWT_NOT_BEFORE_DELTA...
236eaa669027199c2bc53e225b8ffcc6427e78cd
CodeFights/simpleComposition.py
CodeFights/simpleComposition.py
#!/usr/local/bin/python # Code Fights Simple Composition Problem from functools import reduce import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) # Generic composition of n functions: def compose_n(*functions): return reduce(lamb...
#!/usr/local/bin/python # Code Fights Simple Composition Problem import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) def main(): tests = [ ["math.log10", "abs", -100, 2], ["math.sin", "math.cos", 34.4, math.sin(ma...
Remove generic function composition example - didn't work
Remove generic function composition example - didn't work
Python
mit
HKuz/Test_Code
#!/usr/local/bin/python # Code Fights Simple Composition Problem from functools import reduce import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) # Generic composition of n functions: def compose_n(*functions): return reduce(lamb...
#!/usr/local/bin/python # Code Fights Simple Composition Problem import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) def main(): tests = [ ["math.log10", "abs", -100, 2], ["math.sin", "math.cos", 34.4, math.sin(ma...
<commit_before>#!/usr/local/bin/python # Code Fights Simple Composition Problem from functools import reduce import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) # Generic composition of n functions: def compose_n(*functions): ret...
#!/usr/local/bin/python # Code Fights Simple Composition Problem import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) def main(): tests = [ ["math.log10", "abs", -100, 2], ["math.sin", "math.cos", 34.4, math.sin(ma...
#!/usr/local/bin/python # Code Fights Simple Composition Problem from functools import reduce import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) # Generic composition of n functions: def compose_n(*functions): return reduce(lamb...
<commit_before>#!/usr/local/bin/python # Code Fights Simple Composition Problem from functools import reduce import math def compose(f, g): return lambda x: f(g(x)) def simpleComposition(f, g, x): return compose(eval(f), eval(g))(x) # Generic composition of n functions: def compose_n(*functions): ret...
d085f8de9d428d0c84d281ad6782d86f4bb0d242
photutils/conftest.py
photutils/conftest.py
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
Remove h5py from pytest header
Remove h5py from pytest header
Python
bsd-3-clause
larrybradley/photutils,astropy/photutils
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
<commit_before># this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWar...
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
# this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWarnings as ## exc...
<commit_before># this contains imports plugins that configure py.test for astropy tests. # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. from astropy.tests.pytest_plugins import * ## Uncomment the following line to treat all DeprecationWar...