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
091a68fef4bc2fcaf87279d36ea3ebec87bac071
astropy/vo/samp/__init__.py
astropy/vo/samp/__init__.py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <www.ivoa.net/samp>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi/sampy/>`_, and wa...
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <http://www.ivoa.net/documents/SAMP/>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi...
Correct URL and add http in SAMP docstring
Correct URL and add http in SAMP docstring
Python
bsd-3-clause
lpsinger/astropy,lpsinger/astropy,stargaser/astropy,larrybradley/astropy,mhvk/astropy,MSeifert04/astropy,larrybradley/astropy,saimn/astropy,pllim/astropy,dhomeier/astropy,astropy/astropy,tbabej/astropy,StuartLittlefair/astropy,dhomeier/astropy,lpsinger/astropy,dhomeier/astropy,joergdietrich/astropy,tbabej/astropy,MSeif...
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <www.ivoa.net/samp>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi/sampy/>`_, and wa...
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <http://www.ivoa.net/documents/SAMP/>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi...
<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <www.ivoa.net/samp>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi/sa...
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <http://www.ivoa.net/documents/SAMP/>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi...
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <www.ivoa.net/samp>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi/sampy/>`_, and wa...
<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage provides classes to communicate with other applications via the `Simple Application Messaging Protocal (SAMP) <www.ivoa.net/samp>`_. Before integration into Astropy it was known as `SAMPy <https://pypi.python.org/pypi/sa...
b3f206d9b8cbde42ce2def6d8b9d8c1d90abfeeb
pyexperiment/utils/interactive.py
pyexperiment/utils/interactive.py
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
Fix style: not foo in [] => foo not in
Fix style: not foo in [] => foo not in
Python
mit
duerrp/pyexperiment,kinverarity1/pyexperiment,DeercoderResearch/pyexperiment,shaunstanislaus/pyexperiment,shaunstanislaus/pyexperiment,kinverarity1/pyexperiment,kinverarity1/pyexperiment,duerrp/pyexperiment,DeercoderResearch/pyexperiment,shaunstanislaus/pyexperiment,duerrp/pyexperiment,DeercoderResearch/pyexperiment,De...
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
<commit_before>"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_...
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_interactive(**k...
<commit_before>"""Provides helper functions for interactive prompts Written by Peter Duerr """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from pyexperiment import state from pyexperiment import conf def embed_...
b423d3f0da64a1d6781128653bd6230ac462ad85
ava/text_to_speech/__init__.py
ava/text_to_speech/__init__.py
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
Put file created by the gtts on tmp folder
Put file created by the gtts on tmp folder
Python
mit
ava-project/AVA
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
<commit_before>import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): sup...
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): super().__init__(q...
<commit_before>import time import os from tempfile import NamedTemporaryFile from sys import platform as _platform from gtts import gTTS from pygame import mixer from .playsound import playsound from ..components import _BaseComponent class TextToSpeech(_BaseComponent): def __init__(self, queues): sup...
608824b396c75c4c82579133d2291eab5491fab9
src/odin/fields/future.py
src/odin/fields/future.py
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField", ) ET = TypeVar('ET', Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """ ...
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any, Type # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField",) ET = TypeVar("ET", Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """...
Use Type[ET] as enum passed to init is a Type
Use Type[ET] as enum passed to init is a Type
Python
bsd-3-clause
python-odin/odin
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField", ) ET = TypeVar('ET', Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """ ...
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any, Type # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField",) ET = TypeVar("ET", Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """...
<commit_before>from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField", ) ET = TypeVar('ET', Enum, Enum) class EnumField(Field): """ Field for handling Python enum...
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any, Type # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField",) ET = TypeVar("ET", Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """...
from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField", ) ET = TypeVar('ET', Enum, Enum) class EnumField(Field): """ Field for handling Python enums. """ ...
<commit_before>from __future__ import absolute_import from enum import Enum from typing import TypeVar, Optional, Any # noqa from odin.exceptions import ValidationError from . import Field __all__ = ("EnumField", ) ET = TypeVar('ET', Enum, Enum) class EnumField(Field): """ Field for handling Python enum...
9bc5ec59224116e2092f0c2e02831c8276360910
providers/output/terminal.py
providers/output/terminal.py
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
Sort on imdb rating if filmtipset ratings are the same.
Sort on imdb rating if filmtipset ratings are the same.
Python
mit
EmilStenstrom/nephele
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
<commit_before>from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", mov...
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", movie_data) ...
<commit_before>from __future__ import print_function import textwrap from providers.output.provider import OutputProvider IDENTIFIER = "Terminal" class Provider(OutputProvider): def process_data(self, movie_data): movie_data = filter(lambda data: data.get("filmtipset_my_grade_type", "none") != "seen", mov...
53fbfc19090ce9e2447d3811ef5807422b71f426
indico/modules/events/registration/views.py
indico/modules/events/registration/views.py
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
Include static files specific to regform
Include static files specific to regform
Python
mit
DirkHoffmann/indico,OmeGak/indico,OmeGak/indico,mvidalgarcia/indico,DirkHoffmann/indico,indico/indico,mvidalgarcia/indico,ThiefMaster/indico,pferreir/indico,mic4ael/indico,DirkHoffmann/indico,pferreir/indico,mic4ael/indico,indico/indico,pferreir/indico,mvidalgarcia/indico,OmeGak/indico,pferreir/indico,mic4ael/indico,Di...
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
<commit_before># This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the #...
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
# This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
<commit_before># This file is part of Indico. # Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN). # # Indico is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the #...
d239ac7241e61e35f8e9e7ce60a8a8735944028e
app/__init__.py
app/__init__.py
''' FAB CITY - VISUALIZAR 2016 -------------------------------------------- A web application powered by Flask and d3.js to generate networks/datavisualisations ------------------------------------------ licence CC : BY - SA --------------------------------------------- project by : - FABLAB BARCELONA ...
'''FAB CITY DASHBOARD - VISUALIZAR'16 -------------------------------------------- A dashboard for all the Fab Cities where citizens can understand the existing resilience of cities and how the Maker movement is having an impact on this. ------------------------------------------ license: AGPL 3.0 ---------------------...
Update info about the project
Update info about the project
Python
agpl-3.0
rubenlorenzo/fab-city-dashboard,rubenlorenzo/fab-city-dashboard,rubenlorenzo/fab-city-dashboard
''' FAB CITY - VISUALIZAR 2016 -------------------------------------------- A web application powered by Flask and d3.js to generate networks/datavisualisations ------------------------------------------ licence CC : BY - SA --------------------------------------------- project by : - FABLAB BARCELONA ...
'''FAB CITY DASHBOARD - VISUALIZAR'16 -------------------------------------------- A dashboard for all the Fab Cities where citizens can understand the existing resilience of cities and how the Maker movement is having an impact on this. ------------------------------------------ license: AGPL 3.0 ---------------------...
<commit_before>''' FAB CITY - VISUALIZAR 2016 -------------------------------------------- A web application powered by Flask and d3.js to generate networks/datavisualisations ------------------------------------------ licence CC : BY - SA --------------------------------------------- project by : - FABLA...
'''FAB CITY DASHBOARD - VISUALIZAR'16 -------------------------------------------- A dashboard for all the Fab Cities where citizens can understand the existing resilience of cities and how the Maker movement is having an impact on this. ------------------------------------------ license: AGPL 3.0 ---------------------...
''' FAB CITY - VISUALIZAR 2016 -------------------------------------------- A web application powered by Flask and d3.js to generate networks/datavisualisations ------------------------------------------ licence CC : BY - SA --------------------------------------------- project by : - FABLAB BARCELONA ...
<commit_before>''' FAB CITY - VISUALIZAR 2016 -------------------------------------------- A web application powered by Flask and d3.js to generate networks/datavisualisations ------------------------------------------ licence CC : BY - SA --------------------------------------------- project by : - FABLA...
d0662f3ae97a194975e842dae2357a0a017aefe7
findingaids/__init__.py
findingaids/__init__.py
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
Set version to 1.9.0-pre to indicate pre-release code
Set version to 1.9.0-pre to indicate pre-release code
Python
apache-2.0
emory-libraries/findingaids,emory-libraries/findingaids
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
<commit_before># file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICE...
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
# file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
<commit_before># file findingaids/__init__.py # # Copyright 2012 Emory University Library # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICE...
5e231666a8c611fcac4683c33f6d92920b6b024d
setup.py
setup.py
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
Revert "Remove dependency that was fixed upstream"
Revert "Remove dependency that was fixed upstream" This reverts commit 9ee219d85849629eac53a28e72fa374a6c805ea4.
Python
mit
Rayman/ros-get,Rayman/ros-get
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
<commit_before>#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(...
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(os.path.join(os...
<commit_before>#!/usr/bin/env python import os import re from setuptools import setup, find_packages def get_ini_variable(name): with open(os.path.join(os.path.dirname(__file__), 'src', 'ros_get', '__init__.py')) as f: return re.compile(r".*%s = '(.*?)'" % name, re.S).match(f.read()).group(1) with open(...
8c74ae32fab10955304941ae7bf20def4718cf9e
setup.py
setup.py
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
Use seed as the js interpreter.
Use seed as the js interpreter.
Python
mit
chevah/pocket-lint,chevah/pocket-lint
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
<commit_before>import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) ...
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) gpg_args =...
<commit_before>import subprocess from distutils.core import setup from distutils.command.sdist import sdist class SignedSDistCommand(sdist): """Sign the source archive with a detached signature.""" description = "Sign the source archive after it is generated." def run(self): sdist.run(self) ...
bcaedd4b1956a849443a9bb535f124b013ab2120
setup.py
setup.py
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('auth_urls',), include_package_data=True, install_requires=install_requires, description='Provides authenticati...
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
Add backends and middleware to the package
Add backends and middleware to the package
Python
bsd-2-clause
incuna/incuna-auth,incuna/incuna-auth,ghickman/incuna-auth,ghickman/incuna-auth
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('auth_urls',), include_package_data=True, install_requires=install_requires, description='Provides authenticati...
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
<commit_before>from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('auth_urls',), include_package_data=True, install_requires=install_requires, description='Provid...
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('auth_urls',), include_package_data=True, install_requires=install_requires, description='Provides authenticati...
<commit_before>from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('auth_urls',), include_package_data=True, install_requires=install_requires, description='Provid...
44a2678526ee7f5bc897969ade7f00ce72e7e3a6
setup.py
setup.py
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating ...
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: Public Domain Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating...
Fix Markdown bug and correct license information
Fix Markdown bug and correct license information
Python
unlicense
perror/pelican-bibtex,vene/pelican-bibtex,trovao/pelican-bibtex,anagno/pelican-bibtex
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating ...
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: Public Domain Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating...
<commit_before>import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Develop...
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: Public Domain Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating...
import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Development Operating ...
<commit_before>import pelican_bibtex from distutils.core import setup CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved Programming Language :: Python Programming Language :: Python :: 3 Topic :: Software Develop...
d3496513274d76941d328f5a7dfd4f8561149039
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.8.0', 'python-dateutil'] setup( name='readabilit...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.9.1', 'python-dateutil'] setup( name='readabilit...
Update httplib2 version, bump version, fix formatting
Update httplib2 version, bump version, fix formatting
Python
mit
arc90/python-readability-api,arc90/python-readability-api
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.8.0', 'python-dateutil'] setup( name='readabilit...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.9.1', 'python-dateutil'] setup( name='readabilit...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.8.0', 'python-dateutil'] setup( n...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.9.1', 'python-dateutil'] setup( name='readabilit...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.8.0', 'python-dateutil'] setup( name='readabilit...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() required = ['oauth2', 'httplib2==0.8.0', 'python-dateutil'] setup( n...
fdad6ecf70c43a7c0100ab75784bc69befa29965
setup.py
setup.py
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.com/...
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README.md').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.c...
Fix the README file opening
Fix the README file opening
Python
bsd-2-clause
uthcode/sphinxcontrib-runcode
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.com/...
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README.md').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.c...
<commit_before>from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "htt...
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README.md').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.c...
from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "http://github.com/...
<commit_before>from setuptools import setup NAME = "sphinxcontrib-runcode" VERSION = "0.0.1" DESCRIPTION = "Post included code in an executable pastebin like codepad / ideone." LONG_DESCRIPTION = open('README').read() AUTHOR = "Senthil Kumaran (Uthcode)" AUTHOR_EMAIL = "senthil@uthcode.com" LICENSE = "BSD" URL = "htt...
e06f9dc9b20c7499690f2a2d3d0506b2e84fa3b9
setup.py
setup.py
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.2", packages=[ ...
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.3", packages=[ ...
Include migrations in package and bump version to v0.3
Include migrations in package and bump version to v0.3
Python
mit
yunojuno/django-trello-webhooks,yunojuno/django-trello-webhooks
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.2", packages=[ ...
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.3", packages=[ ...
<commit_before>import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.2", pa...
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.3", packages=[ ...
import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.2", packages=[ ...
<commit_before>import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="django-trello-webhooks", version="0.2", pa...
22e7c62454b9db88fbc8f4df33fe94aade1385d8
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2, <3", "lxml>=2.3, <4.0", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, ...
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2", "lxml>=2.3", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, 'all': te...
Remove "less-than" restrictions on Astropy, LXML.
Remove "less-than" restrictions on Astropy, LXML. I think I put these in place before I had Travis-CI cron-jobs available. Therefore wanted to avoid future unknowns. Now at least an email gets sent when there's a new release and it breaks something.
Python
bsd-2-clause
timstaley/voevent-parse,timstaley/voevent-parse
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2, <3", "lxml>=2.3, <4.0", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, ...
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2", "lxml>=2.3", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, 'all': te...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2, <3", "lxml>=2.3, <4.0", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': tes...
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2", "lxml>=2.3", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, 'all': te...
#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2, <3", "lxml>=2.3, <4.0", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': test_requires, ...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup import versioneer install_requires = [ "astropy>=1.2, <3", "lxml>=2.3, <4.0", 'iso8601', 'orderedmultidict', 'pytz', 'six', ] test_requires = [ 'pytest>3', 'coverage' ] extras_require = { 'test': tes...
d45c14c1ee3275212535a98db161a0dbd23ed292
src/hue/BridgeScanner.py
src/hue/BridgeScanner.py
__author__ = 'hira'
import requests import json def get_bridge_ips(): res = requests.get('http://www.meethue.com/api/nupnp').text data = json.loads(res) return [map['internalipaddress'] for map in data] print(get_bridge_ips())
Enable finding Hue bridge on network.
Enable finding Hue bridge on network.
Python
mit
almichest/hue_app,almichest/hue_app
__author__ = 'hira' Enable finding Hue bridge on network.
import requests import json def get_bridge_ips(): res = requests.get('http://www.meethue.com/api/nupnp').text data = json.loads(res) return [map['internalipaddress'] for map in data] print(get_bridge_ips())
<commit_before>__author__ = 'hira' <commit_msg>Enable finding Hue bridge on network.<commit_after>
import requests import json def get_bridge_ips(): res = requests.get('http://www.meethue.com/api/nupnp').text data = json.loads(res) return [map['internalipaddress'] for map in data] print(get_bridge_ips())
__author__ = 'hira' Enable finding Hue bridge on network.import requests import json def get_bridge_ips(): res = requests.get('http://www.meethue.com/api/nupnp').text data = json.loads(res) return [map['internalipaddress'] for map in data] print(get_bridge_ips())
<commit_before>__author__ = 'hira' <commit_msg>Enable finding Hue bridge on network.<commit_after>import requests import json def get_bridge_ips(): res = requests.get('http://www.meethue.com/api/nupnp').text data = json.loads(res) return [map['internalipaddress'] for map in data] print(get_bridge_ips())...
ce1282f970276c21e020dca897ba138f07089772
setup.py
setup.py
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Add missing requirement for libvirt-python
Add missing requirement for libvirt-python libvirt-python is missing from setup.py Change-Id: I41c2e29d612ba0b45f94c2340b9a6a3472d5bbdc Closes-bug: #1385439
Python
apache-2.0
stackforge/fuel-devops,stackforge/fuel-devops
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
<commit_before># Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
# Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
<commit_before># Copyright 2013 - 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
01db313ac676fed8a94862c5fbe38e07615f18d6
setup.py
setup.py
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
Add 3.8 to the list of supported versions
Add 3.8 to the list of supported versions
Python
apache-2.0
browncoat-ninjas/nimoy
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
<commit_before>from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System...
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System :: MacOS :: Ma...
<commit_before>from setuptools import setup classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Operating System...
7ed32044c0e122529d3a2f3fd709e50a919c0531
setup.py
setup.py
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
Set Development Status to Beta
Set Development Status to Beta
Python
lgpl-2.1
elapouya/NoAttr
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
<commit_before>from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' valu...
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' values[name] = valu...
<commit_before>from setuptools import setup import os def read(*names): values = dict() for name in names: filename = name + '.rst' if os.path.isfile(filename): fd = open(filename) value = fd.read() fd.close() else: value = '' valu...
9d972bfa792c08d4f3ce6a6b7cfd9877f801b5e3
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', project_urls={ 'Web Page': 'h...
#!/usr/bin/env python from setuptools import setup # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='screenplain', version='0....
Use content or README.md as long_description
Use content or README.md as long_description
Python
mit
vilcans/screenplain,vilcans/screenplain,vilcans/screenplain
#!/usr/bin/env python from setuptools import setup setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', project_urls={ 'Web Page': 'h...
#!/usr/bin/env python from setuptools import setup # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='screenplain', version='0....
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', project_urls={ ...
#!/usr/bin/env python from setuptools import setup # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='screenplain', version='0....
#!/usr/bin/env python from setuptools import setup setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', project_urls={ 'Web Page': 'h...
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', project_urls={ ...
9678a6cf5cb9431419f4f404ec07fc9d4091cbde
setup.py
setup.py
from setuptools import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], classif...
from distutils.core import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], cla...
Use distutils to avoid external dependencies
Use distutils to avoid external dependencies
Python
bsd-2-clause
dcwatson/bbcode
from setuptools import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], classif...
from distutils.core import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], cla...
<commit_before>from setuptools import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode...
from distutils.core import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], cla...
from setuptools import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode'], classif...
<commit_before>from setuptools import setup import sys setup( name='bbcode', version='1.0.5', description='A pure python bbcode parser and formatter.', author='Dan Watson', author_email='dcwatson@gmail.com', url='https://bitbucket.org/dcwatson/bbcode', license='BSD', py_modules=['bbcode...
86774ca5e2a5f31642a4230e9060e38e278a7f39
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
Add lower version bound on `"oedialect"` dependency
Add lower version bound on `"oedialect"` dependency For some reason readthedocs use an earlier version and fails when trying to use it.
Python
mit
oemof/feedinlib
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
<commit_before>import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", au...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", author="oemof dev...
<commit_before>import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="feedinlib", version="0.1.0rc1", description="Creating time series from pv or wind power plants.", url="http://github.com/oemof/feedinlib", au...
4f31a839906d7c48473281bba4f1c628619a5972
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 appdirs to ==1.4.2
Upgrade dependency appdirs to ==1.4.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...
4de541e9832bc45b9e29a6eec0a5d03858fc5b71
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
Make sure the latest pygments is used
Make sure the latest pygments is used
Python
bsd-3-clause
Pylons/kai,Pylons/kai
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
<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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org'...
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org', install_r...
<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='kai', version='0.1', description='', author='Ben Bangert', author_email='ben@groovie.org'...
9b422f71123246632e0e8c505ea9721955a2eada
setup.py
setup.py
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://packages.python.org/Flask-Script>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/u...
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://flask-script.readthedocs.org>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/util....
Update documentation link on PyPI to flask-script.readthedocs.org
Update documentation link on PyPI to flask-script.readthedocs.org
Python
bsd-3-clause
blakev/flask-script,z4y4ts/flask-script,z4y4ts/flask-script,wjt/flask-script,dext0r/flask-script,xingkaixin/flask-script,denismakogon/flask-script
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://packages.python.org/Flask-Script>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/u...
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://flask-script.readthedocs.org>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/util....
<commit_before>""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://packages.python.org/Flask-Script>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in mu...
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://flask-script.readthedocs.org>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/util....
""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://packages.python.org/Flask-Script>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/u...
<commit_before>""" Flask-Script -------------- Flask support for writing external scripts. Links ````` * `documentation <http://packages.python.org/Flask-Script>`_ """ from setuptools import setup # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in mu...
cdb869a872d6c81319f3f072a00c8c99635f4484
setup.py
setup.py
from setuptools import setup, find_packages from os.path import dirname, abspath HERE = abspath(dirname(__file__)) VERSION = open(HERE + '/puresnmp/version.txt').read().strip() setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open(HERE + "/README...
from setuptools import setup, find_packages VERSION = '1.1.4' setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open("README.rst").read(), author="Michel Albert", author_email="michel@albert.lu", provides=['puresnmp'], license="MIT...
Revert "Revert "Another attempt to fix the RTD build.""
Revert "Revert "Another attempt to fix the RTD build."" This reverts commit bb96586af0aa0fcf6ca5b1891740fbc02f3758c8.
Python
mit
exhuma/puresnmp,exhuma/puresnmp
from setuptools import setup, find_packages from os.path import dirname, abspath HERE = abspath(dirname(__file__)) VERSION = open(HERE + '/puresnmp/version.txt').read().strip() setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open(HERE + "/README...
from setuptools import setup, find_packages VERSION = '1.1.4' setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open("README.rst").read(), author="Michel Albert", author_email="michel@albert.lu", provides=['puresnmp'], license="MIT...
<commit_before>from setuptools import setup, find_packages from os.path import dirname, abspath HERE = abspath(dirname(__file__)) VERSION = open(HERE + '/puresnmp/version.txt').read().strip() setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open(...
from setuptools import setup, find_packages VERSION = '1.1.4' setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open("README.rst").read(), author="Michel Albert", author_email="michel@albert.lu", provides=['puresnmp'], license="MIT...
from setuptools import setup, find_packages from os.path import dirname, abspath HERE = abspath(dirname(__file__)) VERSION = open(HERE + '/puresnmp/version.txt').read().strip() setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open(HERE + "/README...
<commit_before>from setuptools import setup, find_packages from os.path import dirname, abspath HERE = abspath(dirname(__file__)) VERSION = open(HERE + '/puresnmp/version.txt').read().strip() setup( name="puresnmp", version=VERSION, description="Pure Python SNMP implementation", long_description=open(...
981284e81044807d0984a0cfd8ac2ed84914b36a
setup.py
setup.py
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
Add peewee dependency for simpledb.
Add peewee dependency for simpledb.
Python
mit
supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
<commit_before>from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open...
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open('README.md').r...
<commit_before>from setuptools import setup, find_packages setup( name='weaveserver', version='0.8', author='Srivatsan Iyer', author_email='supersaiyanmode.rox@gmail.com', packages=find_packages(), license='MIT', description='Library to interact with Weave Server', long_description=open...
e094679810d9c2bc2ea7913f5422869e75b9f499
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.0.2', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.1.0', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
Fix version. Bump minor version, not release version.
Fix version. Bump minor version, not release version.
Python
mit
yola/ultradns
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.0.2', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.1.0', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.0.2', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['request...
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.1.0', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.0.2', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['requests >= 1.0.0, < 2...
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='youltradns', version='0.0.2', description='Yola UltraDNS Client', author='Yola', author_email='engineers@yola.com', url='http://github.com/yola/youltradns', packages=['youltradns'], install_requires=['request...
e09ca6ded17b851fdc4329bb86188e10309787c8
setup.py
setup.py
import os from setuptools import setup from setuptools.command.build_py import build_py version = os.environ.get('CI_COMMIT_TAG', None) class BuildPyCommand(build_py): def run(self): if version is None: raise RuntimeError('CI_COMMIT_TAG must defined as an environment variable to b...
import os from setuptools import setup version = os.environ.get('CI_COMMIT_TAG', None) setup( name='pyEchosign', version=version, packages=['pyEchosign', 'pyEchosign.classes', 'pyEchosign.exceptions', 'pyEchosign.utils'], url='https://gitlab.com/jensastrup/pyEchosign', license='MIT', ...
Remove CI_COMMIT_TAG requirement, docs can't be built without it
Remove CI_COMMIT_TAG requirement, docs can't be built without it
Python
mit
JensAstrup/pyEchosign
import os from setuptools import setup from setuptools.command.build_py import build_py version = os.environ.get('CI_COMMIT_TAG', None) class BuildPyCommand(build_py): def run(self): if version is None: raise RuntimeError('CI_COMMIT_TAG must defined as an environment variable to b...
import os from setuptools import setup version = os.environ.get('CI_COMMIT_TAG', None) setup( name='pyEchosign', version=version, packages=['pyEchosign', 'pyEchosign.classes', 'pyEchosign.exceptions', 'pyEchosign.utils'], url='https://gitlab.com/jensastrup/pyEchosign', license='MIT', ...
<commit_before>import os from setuptools import setup from setuptools.command.build_py import build_py version = os.environ.get('CI_COMMIT_TAG', None) class BuildPyCommand(build_py): def run(self): if version is None: raise RuntimeError('CI_COMMIT_TAG must defined as an environmen...
import os from setuptools import setup version = os.environ.get('CI_COMMIT_TAG', None) setup( name='pyEchosign', version=version, packages=['pyEchosign', 'pyEchosign.classes', 'pyEchosign.exceptions', 'pyEchosign.utils'], url='https://gitlab.com/jensastrup/pyEchosign', license='MIT', ...
import os from setuptools import setup from setuptools.command.build_py import build_py version = os.environ.get('CI_COMMIT_TAG', None) class BuildPyCommand(build_py): def run(self): if version is None: raise RuntimeError('CI_COMMIT_TAG must defined as an environment variable to b...
<commit_before>import os from setuptools import setup from setuptools.command.build_py import build_py version = os.environ.get('CI_COMMIT_TAG', None) class BuildPyCommand(build_py): def run(self): if version is None: raise RuntimeError('CI_COMMIT_TAG must defined as an environmen...
f3ec0a18db0aa9e8b3c9b0e0beaf0bc852578adc
setup.py
setup.py
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
Remove ipython from test deps as Travis is broken
Remove ipython from test deps as Travis is broken
Python
mit
douglas/toxiproxy-python,douglas/toxiproxy-python
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
<commit_before>from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_descr...
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=LONG_DES...
<commit_before>from setuptools import setup NAME = "toxiproxy" VERSION = "0.1.0" DESCRIPTION = "Python library for Toxiproxy" LONG_DESCRIPTION = """\ A Python library for controlling Toxiproxy. Can be used in resiliency testing.""" setup( name=NAME, version=VERSION, description=DESCRIPTION, long_descr...
83928f77fb82da01b9521646ffc6b965f70e1a95
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
Add cuda.requirements to packages to install
Add cuda.requirements to packages to install
Python
mit
niboshi/chainer,benob/chainer,jnishi/chainer,jnishi/chainer,muupan/chainer,woodshop/complex-chainer,chainer/chainer,keisuke-umezawa/chainer,wkentaro/chainer,tscohen/chainer,kikusu/chainer,ikasumi/chainer,jnishi/chainer,ktnyt/chainer,cemoody/chainer,ktnyt/chainer,ysekky/chainer,tkerola/chainer,wkentaro/chainer,nushio3/c...
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chaine...
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.cudnn', ...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup( name='chainer', version='1.0.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chaine...
81ae197f05e81daddc292989ef33c0e9610a14d0
setup.py
setup.py
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
Add Python 3 trove classifiers
Add Python 3 trove classifiers Fixes #46.
Python
bsd-3-clause
praekelt/django-recaptcha,praekelt/django-recaptcha
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
<commit_before>from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', descri...
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', description='Django r...
<commit_before>from setuptools import setup, find_packages long_desc = open('README.rst', 'rb').read().decode('utf-8') + \ open('AUTHORS.rst', 'rb').read().decode('utf-8') + \ open('CHANGELOG.rst', 'rb').read().decode('utf-8') setup( name='django-recaptcha', version='1.0.5', descri...
436508cbad637c42346130bda2745907dba4b0a2
setup.py
setup.py
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
Add Python3 classfier fo CheeseShop.
Add Python3 classfier fo CheeseShop.
Python
mit
kaste/mockito-python,lwoydziak/mockito-python,zhilts/pymockito,zhilts/pymockito
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
<commit_before>#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', versi...
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', version='0.3.0', ...
<commit_before>#!/usr/bin/env python # coding: utf-8 from distribute_setup import use_setuptools use_setuptools() try: from setuptools import setup except ImportError: from distutils.core import setup import sys extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='mockito', versi...
2f7ce78c54e196168b8bab192a07248d578d0b8d
flask_app/config/autoclave.py
flask_app/config/autoclave.py
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
Fix misconfiguration in static root path computation
Fix misconfiguration in static root path computation
Python
bsd-3-clause
vmalloc/mailboxer,vmalloc/logpile,vmalloc/logpile,getslash/mailboxer,vmalloc/logpile,getslash/mailboxer,getslash/mailboxer,vmalloc/mailboxer,vmalloc/mailboxer
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
<commit_before>import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_...
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_ROOT ...
<commit_before>import os AUTOCLAVE_APP_NAME = "autoclave" AUTOCLAVE_USER_NAME = AUTOCLAVE_APP_NAME AUTOCLAVE_DEPLOY_ROOT = os.path.join("/opt", AUTOCLAVE_APP_NAME) AUTOCLAVE_DEPLOY_SRC_ROOT = os.path.join(AUTOCLAVE_DEPLOY_ROOT, "src") AUTOCLAVE_API_...
e19dd09b0243c2edd5c3d2d18399f5a11b9c892b
app/__init__.py
app/__init__.py
import mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017)
import logging, mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) # Create an instance of a logger logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__)
Add a logging instance to the package
Add a logging instance to the package
Python
mit
Zillolo/lazy-todo
import mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) Add a logging instance to the package
import logging, mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) # Create an instance of a logger logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__)
<commit_before>import mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) <commit_msg>Add a logging instance to the package<commit_after>
import logging, mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) # Create an instance of a logger logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__)
import mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) Add a logging instance to the packageimport logging, mongoengine # Open a connection to the MongoDB database, to be shared throughout the # appl...
<commit_before>import mongoengine # Open a connection to the MongoDB database, to be shared throughout the # application. db = mongoengine.connect('lazy', host='127.0.0.1', port=27017) <commit_msg>Add a logging instance to the package<commit_after>import logging, mongoengine # Open a connection to the MongoDB datab...
6e540d7125e76c2d4d7d06662ab283a5d698c86b
setup.py
setup.py
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
Add correct path to tests
Add correct path to tests
Python
mit
tcmoore3/linear_solver
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
<commit_before>from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) sel...
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [...
<commit_before>from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys requirements = [line.strip() for line in open('requirements.txt').readlines()] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) sel...
e848724c65f5ce2434d866543ba9587ac223d56e
premis_event_service/forms.py
premis_event_service/forms.py
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
Make all search form fields optional.
Make all search form fields optional.
Python
bsd-3-clause
unt-libraries/django-premis-event-service,unt-libraries/django-premis-event-service,unt-libraries/django-premis-event-service
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
<commit_before>from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', ...
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', 'cla...
<commit_before>from django import forms import settings OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES class EventSearchForm(forms.Form): outcome = forms.ChoiceField( widget=forms.Select( attrs={ 'id': 'prependedInput', ...
fff41b90b96f0a12a69afcf342812bdf24538e64
setup.py
setup.py
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
Add paramiko to install_requires since libcloud deploy_node() requires it.
Add paramiko to install_requires since libcloud deploy_node() requires it.
Python
agpl-3.0
fedora-infra/fedimg,fedora-infra/fedimg
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
<commit_before>#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: ...
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", ...
<commit_before>#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.0.1', description='Service to automatically upload built Fedora images \ to internal and external cloud providers.', classifiers=[ "Programming Language :: ...
231edf9e0e6eaf6a0fb82f25173164da53b206b8
setup.py
setup.py
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '1.6', descr...
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], package_data={'hxl_proxy':...
Include SQL files in the distribution.
Include SQL files in the distribution.
Python
unlicense
HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '1.6', descr...
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], package_data={'hxl_proxy':...
<commit_before>#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '...
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], package_data={'hxl_proxy':...
#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '1.6', descr...
<commit_before>#!/usr/bin/python """Install, build, or test the HXL Proxy. For details, try python setup.py -h """ import sys, setuptools if sys.version_info.major != 3: raise SystemExit("The HXL Proxy requires Python 3.x") setuptools.setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '...
0de340d41e44bb1057ead9f8d61b47f32732eabb
start.py
start.py
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", tags, rele...
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", [t.version...
Fix version printing of tags and releases
Fix version printing of tags and releases
Python
mit
ayushgoel/LongShot
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", tags, rele...
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", [t.version...
<commit_before>import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "G...
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", [t.version...
import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "Got", tags, rele...
<commit_before>import github import github_token import repositories import tagsparser import flock def main(): g = github.Github(github_token.GITHUB_TOKEN) for repo in repositories.REPOSITORIES: tags, releases = g.get_tags_and_releases(repo["owner"], repo["name"], repositories.COUNT) print "G...
c224fdecf174077f3b7a15f056e65b10282fed38
tasks.py
tasks.py
from invoke import Collection from invocations import docs, testing # TODO: let from_module specify new name api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) api.name = 'docs' ma...
from invoke import Collection from invocations import docs, testing # Usage doc/API site api = Collection.from_module(docs, name='docs', config={ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) # Main/about/changelog site main = Collection.from_module(docs, name='main', config={ 's...
Use new behavior from newer Invoke
Use new behavior from newer Invoke
Python
lgpl-2.1
mirrorcoder/paramiko,thisch/paramiko,paramiko/paramiko,remram44/paramiko,zpzgone/paramiko,dlitz/paramiko,Automatic/paramiko,varunarya10/paramiko,ameily/paramiko,mhdaimi/paramiko,redixin/paramiko,rcorrieri/paramiko,thusoy/paramiko,torkil/paramiko,SebastianDeiss/paramiko,zarr12steven/paramiko,dorianpula/paramiko,toby82/p...
from invoke import Collection from invocations import docs, testing # TODO: let from_module specify new name api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) api.name = 'docs' ma...
from invoke import Collection from invocations import docs, testing # Usage doc/API site api = Collection.from_module(docs, name='docs', config={ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) # Main/about/changelog site main = Collection.from_module(docs, name='main', config={ 's...
<commit_before>from invoke import Collection from invocations import docs, testing # TODO: let from_module specify new name api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) api.n...
from invoke import Collection from invocations import docs, testing # Usage doc/API site api = Collection.from_module(docs, name='docs', config={ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) # Main/about/changelog site main = Collection.from_module(docs, name='main', config={ 's...
from invoke import Collection from invocations import docs, testing # TODO: let from_module specify new name api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) api.name = 'docs' ma...
<commit_before>from invoke import Collection from invocations import docs, testing # TODO: let from_module specify new name api = Collection.from_module(docs) # TODO: maybe allow rolling configuration into it too heh api.configure({ 'sphinx.source': 'sites/docs', 'sphinx.target': 'sites/docs/_build', }) api.n...
de17439cf237d073236fffd0130c883683f1ba28
tokens/models.py
tokens/models.py
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
Add class_name property to Token model
Add class_name property to Token model
Python
apache-2.0
onyb/ethane,onyb/ethane,onyb/ethane,onyb/ethane
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
<commit_before>from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( ...
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( default=18...
<commit_before>from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from .conf import PHASES, TOKEN_TYPES class Token(models.Model): public_name = models.CharField(max_length=200) symbol = models.CharField(max_length=4) decimals = models.IntegerField( ...
937e257d609c51ad81675168a38792b6083d0e2f
graphene/types/union.py
graphene/types/union.py
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
Fix typo in Union initialization exception
Fix typo in Union initialization exception
Python
mit
graphql-python/graphene,graphql-python/graphene,sjhewitt/graphene,Globegitter/graphene,sjhewitt/graphene,Globegitter/graphene
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
<commit_before>import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): re...
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): return type.__new...
<commit_before>import six from ..utils.is_base_type import is_base_type from .options import Options class UnionMeta(type): def __new__(cls, name, bases, attrs): # Also ensure initialization is only performed for subclasses of # Union if not is_base_type(bases, UnionMeta): re...
22186f8ac1033f9e98add968fc983c7281aaf4b5
scrapy-webscanner/scanner/rules/regexrule.py
scrapy-webscanner/scanner/rules/regexrule.py
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
Use DOTALL flag on regex.
Use DOTALL flag on regex.
Python
mpl-2.0
os2webscanner/os2webscanner,os2webscanner/os2webscanner,os2webscanner/os2webscanner,os2webscanner/os2webscanner
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
<commit_before># The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an ...
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
# The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS"basis, #...
<commit_before># The contents of this file are subject to the Mozilla Public License # Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an ...
430b3c1267e79ccfa79d120f0c89112fea7c5cc3
LiSE/setup.py
LiSE/setup.py
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
Correct the version number in LiSE too
Correct the version number in LiSE too
Python
agpl-3.0
LogicalDash/LiSE,LogicalDash/LiSE
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
<commit_before># This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") fr...
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
# This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") from setuptools i...
<commit_before># This file is part of LiSE, a framework for life simulation games. # Copyright (c) Zachary Spector, zacharyspector@gmail.com import sys if sys.version_info[0] < 3 or ( sys.version_info[0] == 3 and sys.version_info[1] < 3 ): raise RuntimeError("LiSE requires Python 3.3 or later") fr...
e526ebe84159bde0be325ec561cc728ab7c0daee
src/zeit/edit/testing.py
src/zeit/edit/testing.py
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
Use vivi-Layer since the editor resides on that
Use vivi-Layer since the editor resides on that
Python
bsd-3-clause
ZeitOnline/zeit.edit,ZeitOnline/zeit.edit,ZeitOnline/zeit.edit
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
<commit_before># Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_L...
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
# Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_LAYER = gocept.s...
<commit_before># Copyright (c) 2010 gocept gmbh & co. kg # See also LICENSE.txt import gocept.lxml.interfaces import gocept.selenium.ztk import grokcore.component as grok import zeit.cms.testing import zeit.edit.container import zeit.edit.interfaces ZCML_LAYER = zeit.cms.testing.ZCMLLayer('ftesting.zcml') SELENIUM_L...
13ab83d88739baccbff204d20f9782e0db447cdc
voteswap/urls.py
voteswap/urls.py
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
Add logout url, but it redirects to /admin
Add logout url, but it redirects to /admin
Python
mit
sbuss/voteswap,sbuss/voteswap,sbuss/voteswap,sbuss/voteswap
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
<commit_before>"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='...
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
<commit_before>"""voteswap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='...
12d927a8fa7d5cf45276fe8e1049cc6cd355cc03
client/ai.py
client/ai.py
import random # define possible actions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' def make_move(state): """ Given a game state, decide on a move. """ print('AI making move for state: {}'.format(state)...
import random # Move definitions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' shoot = 'shoot' def make_move(state): """ Given a game state, decide on a move. """ # TODO: Implement AI! return random.choic...
Add shoot to random AI
Add shoot to random AI
Python
mit
supermitch/mech-ai,supermitch/mech-ai,supermitch/mech-ai
import random # define possible actions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' def make_move(state): """ Given a game state, decide on a move. """ print('AI making move for state: {}'.format(state)...
import random # Move definitions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' shoot = 'shoot' def make_move(state): """ Given a game state, decide on a move. """ # TODO: Implement AI! return random.choic...
<commit_before>import random # define possible actions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' def make_move(state): """ Given a game state, decide on a move. """ print('AI making move for state: {}...
import random # Move definitions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' shoot = 'shoot' def make_move(state): """ Given a game state, decide on a move. """ # TODO: Implement AI! return random.choic...
import random # define possible actions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' def make_move(state): """ Given a game state, decide on a move. """ print('AI making move for state: {}'.format(state)...
<commit_before>import random # define possible actions go_north = 'go north' go_south = 'go south' go_east = 'go east' go_west = 'go west' rotate_cw = 'rotate cw' rotate_ccw = 'rotate ccw' wait = 'wait' def make_move(state): """ Given a game state, decide on a move. """ print('AI making move for state: {}...
29c68602396f04f57de587231b87c9e137d51412
celery/discovery.py
celery/discovery.py
import imp from django.conf import settings from django.core import exceptions __all__ = ["autodiscover", "tasks_for_app", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [tasks_for_app(app) for ap...
from django.conf import settings __all__ = ["autodiscover", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [find_related_module(app, "tasks") for app in settings.INSTALLED_APPS]) def find_relate...
Make autodiscover() work with zipped eggs.
Make autodiscover() work with zipped eggs.
Python
bsd-3-clause
ask/celery,mitsuhiko/celery,ask/celery,WoLpH/celery,frac/celery,mitsuhiko/celery,frac/celery,cbrepo/celery,cbrepo/celery,WoLpH/celery
import imp from django.conf import settings from django.core import exceptions __all__ = ["autodiscover", "tasks_for_app", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [tasks_for_app(app) for ap...
from django.conf import settings __all__ = ["autodiscover", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [find_related_module(app, "tasks") for app in settings.INSTALLED_APPS]) def find_relate...
<commit_before>import imp from django.conf import settings from django.core import exceptions __all__ = ["autodiscover", "tasks_for_app", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [tasks_for_app(app) ...
from django.conf import settings __all__ = ["autodiscover", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [find_related_module(app, "tasks") for app in settings.INSTALLED_APPS]) def find_relate...
import imp from django.conf import settings from django.core import exceptions __all__ = ["autodiscover", "tasks_for_app", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [tasks_for_app(app) for ap...
<commit_before>import imp from django.conf import settings from django.core import exceptions __all__ = ["autodiscover", "tasks_for_app", "find_related_module"] def autodiscover(): """Include tasks for all applications in settings.INSTALLED_APPS.""" return filter(None, [tasks_for_app(app) ...
1d1fec3287abbddfb376ff1fcbcc85bbcf0b44a2
pyoanda/tests/test_client.py
pyoanda/tests/test_client.py
import unittest from ..client import Client class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect(self): pass
import unittest from unittest.mock import patch from ..client import Client from ..exceptions import BadCredentials class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect_pass(self): with patch.object(Client, '_Client__get_credential...
Add very simple client creator validator
Add very simple client creator validator
Python
mit
MonoCloud/pyoanda,toloco/pyoanda,elyobo/pyoanda
import unittest from ..client import Client class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect(self): passAdd very simple client creator validator
import unittest from unittest.mock import patch from ..client import Client from ..exceptions import BadCredentials class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect_pass(self): with patch.object(Client, '_Client__get_credential...
<commit_before>import unittest from ..client import Client class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect(self): pass<commit_msg>Add very simple client creator validator<commit_after>
import unittest from unittest.mock import patch from ..client import Client from ..exceptions import BadCredentials class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect_pass(self): with patch.object(Client, '_Client__get_credential...
import unittest from ..client import Client class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect(self): passAdd very simple client creator validatorimport unittest from unittest.mock import patch from ..client import Client from ..exceptions import BadCredent...
<commit_before>import unittest from ..client import Client class TestClient(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_connect(self): pass<commit_msg>Add very simple client creator validator<commit_after>import unittest from unittest.mock import patch from ..client import C...
49a6a89d7666fc4369b034bcf79d3bd794a468c5
partner_industry_secondary/models/res_partner.py
partner_industry_secondary/models/res_partner.py
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
Make api constrains multi to avoid error when create a company with 2 contacts
[FIX] partner_industry_Secondary: Make api constrains multi to avoid error when create a company with 2 contacts
Python
agpl-3.0
Vauxoo/partner-contact,Vauxoo/partner-contact
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
<commit_before># Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class Re...
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
# Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class ResPartner(models...
<commit_before># Copyright 2015 Antiun Ingenieria S.L. - Javier Iniesta # Copyright 2016 Tecnativa S.L. - Vicent Cubells # Copyright 2018 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, exceptions, fields, models, _ class Re...
9efa2ccc3067d20dc50fd5e3746b291cc670af90
rembed/test/response_test.py
rembed/test/response_test.py
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'title' : 'Bees'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.title, equal_to('Bees')) def test_response_should_be_immutable(): dict = {'title' : 'Bees'} ...
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'type' : 'link', 'version' : '1.0'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.type, equal_to('link')) def test_response_should_be_immutable(): dict = {'t...
Make test match spec more closely
Make test match spec more closely
Python
mit
tino/pyembed,pyembed/pyembed,pyembed/pyembed
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'title' : 'Bees'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.title, equal_to('Bees')) def test_response_should_be_immutable(): dict = {'title' : 'Bees'} ...
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'type' : 'link', 'version' : '1.0'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.type, equal_to('link')) def test_response_should_be_immutable(): dict = {'t...
<commit_before>from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'title' : 'Bees'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.title, equal_to('Bees')) def test_response_should_be_immutable(): dict = {'tit...
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'type' : 'link', 'version' : '1.0'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.type, equal_to('link')) def test_response_should_be_immutable(): dict = {'t...
from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'title' : 'Bees'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.title, equal_to('Bees')) def test_response_should_be_immutable(): dict = {'title' : 'Bees'} ...
<commit_before>from rembed import response from hamcrest import * import pytest def test_should_load_from_dictionary(): dict = {'title' : 'Bees'} oembed_response = response.OEmbedResponse(dict) assert_that(oembed_response.title, equal_to('Bees')) def test_response_should_be_immutable(): dict = {'tit...
ca6d80429cb8ccdac7669b444e5b4d2e88aed098
site/cgi/csv-columns.py
site/cgi/csv-columns.py
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
Fix column listing, use double quotes for JSON remove old stuff
Fix column listing, use double quotes for JSON remove old stuff
Python
agpl-3.0
alejosanchez/CSVBenford,alejosanchez/CSVBenford
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
<commit_before>#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow....
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow.com/a/11764727 ...
<commit_before>#!/usr/bin/python # -*- coding: utf-8 -*- # Give back the columns of a CSV and the in # http://www.tutorialspoint.com/python/python_cgi_programming.htm import cgi import csv import sys import codecs import cgitb CSV_DIR = '../csv/' # CSV upload directory # UTF-8 hack # from http://stackoverflow....
8d40e514228e93af50fbe5264b15f79c2832de46
plantcv/plantcv/plot_image.py
plantcv/plantcv/plot_image.py
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as plt dimensio...
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ from matplotlib import pyplot as plt dimensions = np.shape(img) # If the image is color then OpenCV ...
Remove Agg backend in plot
Remove Agg backend in plot Looks like applying the Agg backend in the plot_image function disables displaying images in Jupyter because the Agg backed is a non-GUI backend.
Python
mit
danforthcenter/plantcv,danforthcenter/plantcv,stiphyMT/plantcv,stiphyMT/plantcv,stiphyMT/plantcv,danforthcenter/plantcv
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as plt dimensio...
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ from matplotlib import pyplot as plt dimensions = np.shape(img) # If the image is color then OpenCV ...
<commit_before># Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as pl...
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ from matplotlib import pyplot as plt dimensions = np.shape(img) # If the image is color then OpenCV ...
# Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as plt dimensio...
<commit_before># Plot image to screen import os import cv2 import numpy as np def plot_image(img, cmap=None): """Plot an image to the screen. :param img: numpy.ndarray :param cmap: str :return: """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as pl...
b11750b83e0fe99bb3c0a058d88ca21d0a64c332
data/load_data.py
data/load_data.py
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
Add fix for sqlite bulk_create breaking with loading lots of points
Add fix for sqlite bulk_create breaking with loading lots of points
Python
mit
crcollins/chemtools-webapp,crcollins/chemtools-webapp,crcollins/chemtools-webapp,crcollins/chemtools-webapp,crcollins/chemtools-webapp
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
<commit_before>import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 ...
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 for row in read...
<commit_before>import csv from chemtools.ml import get_decay_feature_vector from chemtools.mol_name import get_exact_name from models import DataPoint def main(path): with open(path, "r") as csvfile: reader = csv.reader(csvfile, delimiter=',', quotechar='"') points = [] count = 0 ...
806b19db6f50d63f5b0893e9d695f32830890dd2
crm/tests/test_contact_user.py
crm/tests/test_contact_user.py
from django.contrib.auth.models import User from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): """Create a contact and link it ...
from django.contrib.auth.models import User from django.db import IntegrityError from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): ...
Make sure a user can only link to one contact
Make sure a user can only link to one contact
Python
apache-2.0
pkimber/crm,pkimber/crm,pkimber/crm
from django.contrib.auth.models import User from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): """Create a contact and link it ...
from django.contrib.auth.models import User from django.db import IntegrityError from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): ...
<commit_before>from django.contrib.auth.models import User from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): """Create a conta...
from django.contrib.auth.models import User from django.db import IntegrityError from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): ...
from django.contrib.auth.models import User from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): """Create a contact and link it ...
<commit_before>from django.contrib.auth.models import User from django.test import TestCase from crm.tests.model_maker import ( make_contact, make_user_contact, ) from login.tests.model_maker import make_user class TestContactUser(TestCase): def test_link_user_to_contact(self): """Create a conta...
7613ec7e2bc9dbd3354934d4fbe8f689a5b89eed
cyborg/accelerator/__init__.py
cyborg/accelerator/__init__.py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
Replace all occurences of Nomad with Cyborg
Replace all occurences of Nomad with Cyborg This patch proposes to replace all occurences of Nomad with Cyborg. Change-Id: I48a5fc13fd8faa682736d44e6c8cd96eeedaf2e3
Python
apache-2.0
openstack/nomad
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
<commit_before># -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
<commit_before># -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
02cfc3a53bf3f38dc676359eace0e258bfda682a
plotly/graph_objs/__init__.py
plotly/graph_objs/__init__.py
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. """ from __future__ import absolute_import from plotly.graph_objs.graph_objs import * __all__ = ["Data", "Annotations", ...
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. """ from . graph_objs import ( Dat...
Remove the `import *`. Explicitly import what we want to expose.
Remove the `import *`. Explicitly import what we want to expose. Before __all__ was used to manage these. But it's clearer to just import what we want users to see.
Python
mit
plotly/plotly.py,plotly/python-api,plotly/plotly.py,ee-in/python-api,plotly/plotly.py,ee-in/python-api,plotly/python-api,ee-in/python-api,plotly/python-api
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. """ from __future__ import absolute_import from plotly.graph_objs.graph_objs import * __all__ = ["Data", "Annotations", ...
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. """ from . graph_objs import ( Dat...
<commit_before>""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. """ from __future__ import absolute_import from plotly.graph_objs.graph_objs import * __all__ = ["Data", "Annotat...
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. """ from . graph_objs import ( Dat...
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. """ from __future__ import absolute_import from plotly.graph_objs.graph_objs import * __all__ = ["Data", "Annotations", ...
<commit_before>""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. """ from __future__ import absolute_import from plotly.graph_objs.graph_objs import * __all__ = ["Data", "Annotat...
601fe6fd1fc2f34f7cefe2fac0ff343144d139cc
src/ipf/ipfblock/rgb2gray.py
src/ipf/ipfblock/rgb2gray.py
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
Change get_preview_image to same as other blocks (because we fix ipl to pil convert for 1-channel images)
Change get_preview_image to same as other blocks (because we fix ipl to pil convert for 1-channel images)
Python
lgpl-2.1
anton-golubkov/Garland,anton-golubkov/Garland
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
<commit_before># -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """...
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
# -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """ type = "RG...
<commit_before># -*- coding: utf-8 -*- import ipfblock import ioport import ipf.ipfblock.processing from ipf.ipftype.ipfimage3ctype import IPFImage3cType from ipf.ipftype.ipfimage1ctype import IPFImage1cType class RGB2Gray(ipfblock.IPFBlock): """ Convert 3 channel image to 1 channel gray block class """...
e5f81fddc738d3b5773e4b2c2b2397caa49eb513
client/httpd.py
client/httpd.py
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
Disable debug on sample client
Disable debug on sample client
Python
bsd-2-clause
PolyLAN/polybanking,PolyLAN/polybanking,PolyLAN/polybanking,PolyLAN/polybanking
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
<commit_before>"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config...
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config.KEY_API) app ...
<commit_before>"""This example show a full http server. """ from flask import Flask from flask import render_template from flask import request import config from libs.polybanking import PolyBanking import uuid api = PolyBanking(config.POLYBANKING_SERVER, config.CONFIG_ID, config.KEY_REQUESTS, config.KEY_IPN, config...
8834b22654574b71bb891570c77acf2f42eade06
lock_tokens/managers.py
lock_tokens/managers.py
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj): contenttype = ContentType.objects.get_for_model(obj) return self.get(lock...
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj, allow_expired=True): contenttype = ContentType.objects.get_for_model(obj) ...
Add 'allow_expired' parameter to LockTokenManager.get_for_object
Add 'allow_expired' parameter to LockTokenManager.get_for_object
Python
mit
rparent/django-lock-tokens,rparent/django-lock-tokens,rparent/django-lock-tokens
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj): contenttype = ContentType.objects.get_for_model(obj) return self.get(lock...
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj, allow_expired=True): contenttype = ContentType.objects.get_for_model(obj) ...
<commit_before>from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj): contenttype = ContentType.objects.get_for_model(obj) retur...
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj, allow_expired=True): contenttype = ContentType.objects.get_for_model(obj) ...
from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj): contenttype = ContentType.objects.get_for_model(obj) return self.get(lock...
<commit_before>from django.contrib.contenttypes.models import ContentType from django.db.models import Manager from lock_tokens.utils import get_oldest_valid_tokens_datetime class LockTokenManager(Manager): def get_for_object(self, obj): contenttype = ContentType.objects.get_for_model(obj) retur...
e6e6918b54d691803c48f217f0074d5bcdd9df50
endpoint/csp.py
endpoint/csp.py
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
Send CSP reports right to apophis.
Send CSP reports right to apophis.
Python
mit
fi-ksi/web-backend,fi-ksi/web-backend
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
<commit_before># -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): de...
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
# -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): def on_post(self,...
<commit_before># -*- coding: utf-8 -*- import falcon, util, json, sys, traceback # Content-security policy reports of frontend # Every CSP report is forwarded to ksi-admin@fi.muni.cz. # This is testing solution, if a lot of spam occurs, some intelligence should # be added to this endpoint. class CSP(object): de...
c42856ffd6ab8a762ea095fbfbfd7705e1eabd51
ideascube/serveradmin/battery.py
ideascube/serveradmin/battery.py
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
Order the batteries by name
settings: Order the batteries by name Eventually we'll want to do better than this, but batinfo doesn't export what we'd need to do better. Moving to udev+upower would help, but that's probably something we should do with cockpit anyway.
Python
agpl-3.0
ideascube/ideascube,ideascube/ideascube,ideascube/ideascube,ideascube/ideascube
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
<commit_before>import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinf...
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinfo.batteries() ...
<commit_before>import batinfo class Lime2Battery(batinfo.Battery): @property def status(self): if self.charging == 0: return 'Discharging' elif self.capacity < 100: return 'Charging' else: return 'Full' def get_batteries(): batteries = batinf...
362827987bb6587e1440f5f3fa804635e426eb5f
windpowerlib/__init__.py
windpowerlib/__init__.py
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import ( WindTurbine, get_turbine_types, create_power_curve, ) # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .wind_turbine_cluster import WindTurbineCluster # noqa: F401 fro...
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import WindTurbine # noqa: F401 from .wind_turbine import get_turbine_types # noqa: F401 from .wind_turbine import create_power_curve # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .win...
Use one line per import
Use one line per import
Python
mit
wind-python/windpowerlib
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import ( WindTurbine, get_turbine_types, create_power_curve, ) # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .wind_turbine_cluster import WindTurbineCluster # noqa: F401 fro...
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import WindTurbine # noqa: F401 from .wind_turbine import get_turbine_types # noqa: F401 from .wind_turbine import create_power_curve # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .win...
<commit_before>__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import ( WindTurbine, get_turbine_types, create_power_curve, ) # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .wind_turbine_cluster import WindTurbineCluster #...
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import WindTurbine # noqa: F401 from .wind_turbine import get_turbine_types # noqa: F401 from .wind_turbine import create_power_curve # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .win...
__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import ( WindTurbine, get_turbine_types, create_power_curve, ) # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .wind_turbine_cluster import WindTurbineCluster # noqa: F401 fro...
<commit_before>__copyright__ = "Copyright oemof developer group" __license__ = "MIT" __version__ = "0.2.1dev" from .wind_turbine import ( WindTurbine, get_turbine_types, create_power_curve, ) # noqa: F401 from .wind_farm import WindFarm # noqa: F401 from .wind_turbine_cluster import WindTurbineCluster #...
372d03b25f21d363138ecf340816dd04fb33ef71
docs/conf.py
docs/conf.py
extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_static_path = ['_static'] htmlhelp_basename = 'django-soapboxdoc' late...
import os on_rtd = os.environ.get('READTHEDOCS', None) == 'True' extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_sta...
Switch to RTD docs theme.
Switch to RTD docs theme.
Python
bsd-3-clause
ubernostrum/django-soapbox,ubernostrum/django-soapbox
extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_static_path = ['_static'] htmlhelp_basename = 'django-soapboxdoc' late...
import os on_rtd = os.environ.get('READTHEDOCS', None) == 'True' extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_sta...
<commit_before>extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_static_path = ['_static'] htmlhelp_basename = 'django-s...
import os on_rtd = os.environ.get('READTHEDOCS', None) == 'True' extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_sta...
extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_static_path = ['_static'] htmlhelp_basename = 'django-soapboxdoc' late...
<commit_before>extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = u'django-soapbox' copyright = u'2011-2015, James Bennett' version = '1.1' release = '1.1' exclude_trees = ['_build'] pygments_style = 'sphinx' html_static_path = ['_static'] htmlhelp_basename = 'django-s...
8093c239128b1e8f607054c99eca3934da04a31e
comics/comics/dieselsweetiesweb.py
comics/comics/dieselsweetiesweb.py
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
Correct history capability for "Diesel Sweeties (web)"
Correct history capability for "Diesel Sweeties (web)"
Python
agpl-3.0
jodal/comics,jodal/comics,datagutten/comics,jodal/comics,jodal/comics,datagutten/comics,datagutten/comics,datagutten/comics
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
<commit_before>from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens"...
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens" class Crawle...
<commit_before>from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Diesel Sweeties (web)" language = "en" url = "http://www.dieselsweeties.com/" start_date = "2000-01-01" rights = "Richard Stevens"...
5d61b4904057acbe235b74fc1122d09aa365bdeb
edx_data_research/monitor/monitor_tracking.py
edx_data_research/monitor/monitor_tracking.py
import sys import time from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class TrackingEventHandler(FileSystemEventHandler): def on_created(self, event): pass def on_moved(self, event): pass if __name__ == "__main__": if len(sys.argv) > 1: ...
import sys import time from watchdog.observers import Observer from watchdog.events import PatternMatchingEventHandler class TrackingLogHandler(PatternMatchingEventHandler): def on_created(self, event): print event.__repr__() print event.event_type, event.is_directory, event.src_path if __name_...
Define handler for tracking log files
Define handler for tracking log files
Python
mit
McGillX/edx_data_research,McGillX/edx_data_research,McGillX/edx_data_research
import sys import time from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class TrackingEventHandler(FileSystemEventHandler): def on_created(self, event): pass def on_moved(self, event): pass if __name__ == "__main__": if len(sys.argv) > 1: ...
import sys import time from watchdog.observers import Observer from watchdog.events import PatternMatchingEventHandler class TrackingLogHandler(PatternMatchingEventHandler): def on_created(self, event): print event.__repr__() print event.event_type, event.is_directory, event.src_path if __name_...
<commit_before>import sys import time from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class TrackingEventHandler(FileSystemEventHandler): def on_created(self, event): pass def on_moved(self, event): pass if __name__ == "__main__": if len(sy...
import sys import time from watchdog.observers import Observer from watchdog.events import PatternMatchingEventHandler class TrackingLogHandler(PatternMatchingEventHandler): def on_created(self, event): print event.__repr__() print event.event_type, event.is_directory, event.src_path if __name_...
import sys import time from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class TrackingEventHandler(FileSystemEventHandler): def on_created(self, event): pass def on_moved(self, event): pass if __name__ == "__main__": if len(sys.argv) > 1: ...
<commit_before>import sys import time from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class TrackingEventHandler(FileSystemEventHandler): def on_created(self, event): pass def on_moved(self, event): pass if __name__ == "__main__": if len(sy...
7a073da50676864506c3a5de781d3c83530169e8
fbmsgbot/bot.py
fbmsgbot/bot.py
from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, error = self.cli...
import json from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, err...
Fix remove message object from greeting
Fix remove message object from greeting
Python
mit
ben-cunningham/python-messenger-bot,ben-cunningham/pybot
from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, error = self.cli...
import json from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, err...
<commit_before>from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, e...
import json from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, err...
from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, error = self.cli...
<commit_before>from http_client import HttpClient from models.message import ReceivedMessage class Bot(): """ @brief Facebook messenger bot """ def __init__(self, token): self.api_token = token self.client = HttpClient(token) def send_message(self, message): response, e...
8b3d73ce9bbdcf39e7babd5637fcff9d1ad1dbf9
smartcard/Synchronization.py
smartcard/Synchronization.py
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
Use setattr() instead of a direct access to __dict__
Use setattr() instead of a direct access to __dict__ Closes Feature Request 3110077 "new style classes" https://sourceforge.net/tracker/?func=detail&aid=3110077&group_id=196342&atid=957075
Python
lgpl-2.1
moreati/pyscard,moreati/pyscard,LudovicRousseau/pyscard,moreati/pyscard,LudovicRousseau/pyscard,LudovicRousseau/pyscard
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
<commit_before>""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__n...
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__name__, 'acquire...
<commit_before>""" from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython Simple emulation of Java's 'synchronized' keyword, from Peter Norvig. """ from threading import RLock def synchronized(method): def f(*args): self = args[0] self.mutex.acquire() # print method.__n...
1b6fd254472db859960a094454f1229fabee1ec4
back-end/BAA/settings/prod.py
back-end/BAA/settings/prod.py
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
Use my own email as the stuff
Use my own email as the stuff
Python
mit
jumbocodespring2017/bostonathleticsassociation,jumbocodespring2017/bostonathleticsassociation,jumbocodespring2017/bostonathleticsassociation
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
<commit_before>from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.py...
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.python.org/projec...
<commit_before>from .common import * import dj_database_url # Settings for production environment DEBUG = False # Update database configuration with $DATABASE_URL. db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # Simplified static file serving. # https://warehouse.py...
c5f153ce69819acdc8f83704daa919fb0cc0b02b
bookmarks/default_settings.py
bookmarks/default_settings.py
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks'
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' TEST_DATABASE_NAME = 'bookmarks_test'
Add default test database name to default settings
Add default test database name to default settings
Python
apache-2.0
byanofsky/bookmarks,byanofsky/bookmarks,byanofsky/bookmarks
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' Add default test database name to default...
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' TEST_DATABASE_NAME = 'bookmarks_test'
<commit_before>import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' <commit_msg>Add default te...
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' TEST_DATABASE_NAME = 'bookmarks_test'
import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' Add default test database name to default...
<commit_before>import pkg_resources # part of setuptools USER_AGENT_NAME = 'bookmarks' VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version SECRET_KEY = 'development key' DATABASE_USERNAME = 'bookmarks' DATABASE_PASSWORD = '' DATABASE_HOST = 'localhost' DATABASE_NAME = 'bookmarks' <commit_msg>Add default te...
97696fafb6ce556781c02a130ae5f0e610c9bf45
test/selenium/src/lib/file_ops.py
test/selenium/src/lib/file_ops.py
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import os import logging logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a dir_path. Di...
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import logging import os import shutil logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a...
Delete sub folders in log directory
Delete sub folders in log directory
Python
apache-2.0
AleksNeStu/ggrc-core,AleksNeStu/ggrc-core,andrei-karalionak/ggrc-core,selahssea/ggrc-core,selahssea/ggrc-core,andrei-karalionak/ggrc-core,VinnieJohns/ggrc-core,plamut/ggrc-core,VinnieJohns/ggrc-core,VinnieJohns/ggrc-core,AleksNeStu/ggrc-core,plamut/ggrc-core,VinnieJohns/ggrc-core,selahssea/ggrc-core,selahssea/ggrc-core...
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import os import logging logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a dir_path. Di...
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import logging import os import shutil logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a...
<commit_before># Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import os import logging logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or...
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import logging import os import shutil logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a...
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import os import logging logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or a dir_path. Di...
<commit_before># Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> import os import logging logger = logging.getLogger(__name__) def create_directory(path): """ Creates a directory if it doesn't already exist. """ # Check if path is a file_path or...
aa4174fa44994a30cae5be9a59eee6dd55ece201
tests/acceptance/response_test.py
tests/acceptance/response_test.py
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_response_validation': True, } test_app(settings).post_json( '/sample', {'foo': 'test'...
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_swagger_spec_validation': False, 'pyramid_swagger.enable_response_validation': True, } test_a...
Test needs skipping if on p3k
Test needs skipping if on p3k
Python
bsd-3-clause
brianthelion/pyramid_swagger,prat0318/pyramid_swagger,striglia/pyramid_swagger,analogue/pyramid_swagger,striglia/pyramid_swagger
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_response_validation': True, } test_app(settings).post_json( '/sample', {'foo': 'test'...
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_swagger_spec_validation': False, 'pyramid_swagger.enable_response_validation': True, } test_a...
<commit_before>from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_response_validation': True, } test_app(settings).post_json( '/sample', ...
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_swagger_spec_validation': False, 'pyramid_swagger.enable_response_validation': True, } test_a...
from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_response_validation': True, } test_app(settings).post_json( '/sample', {'foo': 'test'...
<commit_before>from .request_test import test_app def test_200_for_normal_response_validation(): settings = { 'pyramid_swagger.schema_directory': 'tests/sample_schemas/good_app/', 'pyramid_swagger.enable_response_validation': True, } test_app(settings).post_json( '/sample', ...
a777ace1d29843a2444d3b73cafea9a808945bc9
django_gears/templatetags/gears.py
django_gears/templatetags/gears.py
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
Move token handling from tag function to CSSAssetTagNode
Move token handling from tag function to CSSAssetTagNode
Python
isc
wiserthanever/django-gears,juliomenendez/django-gears,wiserthanever/django-gears,juliomenendez/django-gears,juliomenendez/django-gears,gears/django-gears,wiserthanever/django-gears,gears/django-gears,juliomenendez/django-gears,gears/django-gears,wiserthanever/django-gears
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
<commit_before>from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s"...
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s">' % GEARS_URL ...
<commit_before>from __future__ import absolute_import from django.template import Node, Library, TemplateSyntaxError from gears.assets import build_asset from ..settings import environment, GEARS_URL, GEARS_DEBUG register = Library() class CSSAssetTagNode(Node): template = u'<link rel="stylesheet" href="%s%%s"...
08812c8507fac2c57bd143dd7aad4c54d5c0aa75
panoptes_client/user.py
panoptes_client/user.py
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
Allow batched User lookups by login name
Allow batched User lookups by login name
Python
apache-2.0
zooniverse/panoptes-python-client
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
<commit_before>from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_emai...
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_email', ) ...
<commit_before>from __future__ import absolute_import, division, print_function from panoptes_client.panoptes import PanoptesObject, LinkResolver from panoptes_client.utils import isiterable, split class User(PanoptesObject): _api_slug = 'users' _link_slug = 'users' _edit_attributes = ( 'valid_emai...
a0099789f404a06a64884ff7ce7b6bfd6597846a
waterbutler/server/api/v1/provider/create.py
waterbutler/server/api/v1/provider/create.py
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.name = self.get_query_argument('name') # TODO What does this do? self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): ra...
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): raise HTTPError(400) if self.path.endswith('/'): name = self...
Allow uploading directly to a file
Allow uploading directly to a file
Python
apache-2.0
Johnetordoff/waterbutler,rafaeldelucena/waterbutler,chrisseto/waterbutler,CenterForOpenScience/waterbutler,kwierman/waterbutler,RCOSDP/waterbutler,felliott/waterbutler,rdhyee/waterbutler,TomBaxter/waterbutler,icereval/waterbutler,cosenal/waterbutler
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.name = self.get_query_argument('name') # TODO What does this do? self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): ra...
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): raise HTTPError(400) if self.path.endswith('/'): name = self...
<commit_before>import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.name = self.get_query_argument('name') # TODO What does this do? self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'):...
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): raise HTTPError(400) if self.path.endswith('/'): name = self...
import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.name = self.get_query_argument('name') # TODO What does this do? self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'): ra...
<commit_before>import os import asyncio from tornado.web import HTTPError class CreateMixin: def validate_put(self): self.name = self.get_query_argument('name') # TODO What does this do? self.kind = self.get_query_argument('kind', default='file') if self.kind not in ('file', 'folder'):...
26fc7b48d2d019b3c83db0d518d5cd99204f7982
linux/keyman-config/keyman_config/__init__.py
linux/keyman-config/keyman_config/__init__.py
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
Use new staging site names
feat(linux): Use new staging site names
Python
apache-2.0
tavultesoft/keymanweb,tavultesoft/keymanweb
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
<commit_before>from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The...
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The staging # ...
<commit_before>from .version import __version__ from .version import __majorversion__ from .version import __releaseversion__ from .version import __tier__ if __tier__ == 'alpha': # Alpha versions will work against the staging server so that they # can access new APIs etc that will only be available there. The...
c1acf5904ba8c48bb58e104195380b0bbce1ed8e
rest_framework_captcha/decorators.py
rest_framework_captcha/decorators.py
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
Add error and detail field to captcha errors
Add error and detail field to captcha errors
Python
mit
leonardoarroyo/rest-framework-captcha
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
<commit_before>from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework....
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework.exceptions impo...
<commit_before>from functools import wraps from dateutil.relativedelta import relativedelta from django.utils import timezone from rest_framework_captcha.models import Captcha from rest_framework_captcha.helpers import get_settings, get_request_from_args from rest_framework.response import Response from rest_framework....
2f9e8ebccfe5057349e8d563b774481a22261f22
linter.py
linter.py
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that # part ...
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${args} ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that ...
Add `${args}` marker to cmd
Add `${args}` marker to cmd
Python
mit
SublimeLinter/SublimeLinter-csslint
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that # part ...
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${args} ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that ...
<commit_before>from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that ...
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${args} ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that ...
from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that # part ...
<commit_before>from SublimeLinter.lint import Linter, util class CSSLint(Linter): cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename # csslint emits errors that pertain to the code as a whole, # in which case there is no line/col information, so that ...
36b6ea45d16946e0c134496b2417505d332821e3
linter.py
linter.py
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
Make block comment parsing less greedy.
Make block comment parsing less greedy.
Python
mit
SublimeLinter/SublimeLinter-json
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
<commit_before># # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import...
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
# # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import Linter class...
<commit_before># # linter.py # Linter for SublimeLinter3, a code checking framework for Sublime Text 3 # # Written by Aparajita Fishman # Copyright (c) 2013 Aparajita Fishman # # License: MIT # """This module exports the JSON plugin linter class.""" import json import os.path import re from SublimeLinter.lint import...
66429bf759c3c6ffcf44db5197b1f09469fdf022
website/addons/twofactor/views.py
website/addons/twofactor/views.py
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
Fix missing argument (issue arose from merge)
Fix missing argument (issue arose from merge)
Python
apache-2.0
rdhyee/osf.io,alexschiller/osf.io,adlius/osf.io,jolene-esposito/osf.io,brianjgeiger/osf.io,jnayak1/osf.io,caneruguz/osf.io,caneruguz/osf.io,kch8qx/osf.io,DanielSBrown/osf.io,amyshi188/osf.io,caseyrollins/osf.io,doublebits/osf.io,GageGaskins/osf.io,billyhunt/osf.io,himanshuo/osf.io,cldershem/osf.io,himanshuo/osf.io,SSJo...
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
<commit_before>import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('t...
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('twofactor', 'use...
<commit_before>import httplib as http import json from framework import request from framework.auth import get_current_user from framework.auth.decorators import must_be_logged_in from framework.exceptions import HTTPError from website.project.decorators import must_have_addon @must_be_logged_in @must_have_addon('t...
146f6204e58695ca469cec7a79757ce9a730719e
contrib/migrateticketmodel.py
contrib/migrateticketmodel.py
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
Fix missing import in contrib script added in [2630].
Fix missing import in contrib script added in [2630].
Python
bsd-3-clause
pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
<commit_before>#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # chan...
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more...
<commit_before>#!/usr/bin/env python # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # chan...
8213a758782a7ab6cecc5a986e193f204fe57691
scrapy_gridfsfilespipeline/images.py
scrapy_gridfsfilespipeline/images.py
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
Add GridFSImagesPipeline.from_settings to use MONGO_URI
Add GridFSImagesPipeline.from_settings to use MONGO_URI
Python
bsd-2-clause
zahariesergiu/scrapy-gridfsfilespipeline
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
<commit_before>from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoD...
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoDB ObjectId to r...
<commit_before>from scrapy.pipelines.images import ImagesPipeline from .files import GridFSFilesPipeline class GridFSImagesPipeline(ImagesPipeline, GridFSFilesPipeline): """ An extension of ImagesPipeline that store files in MongoDB GridFS. Is using a guid to check if the file exists in GridFS and MongoD...
b65293d2bc21a0385a6170e4fbd9ee7c4ce1c631
mopidy/frontends/mpd/protocol/audio_output.py
mopidy/frontends/mpd/protocol/audio_output.py
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
Add TODO for handling unknown outpitid
mpd: Add TODO for handling unknown outpitid
Python
apache-2.0
quartz55/mopidy,diandiankan/mopidy,jcass77/mopidy,swak/mopidy,hkariti/mopidy,dbrgn/mopidy,vrs01/mopidy,rawdlite/mopidy,tkem/mopidy,hkariti/mopidy,bencevans/mopidy,jmarsik/mopidy,glogiotatidis/mopidy,swak/mopidy,pacificIT/mopidy,pacificIT/mopidy,liamw9534/mopidy,mokieyue/mopidy,bacontext/mopidy,SuperStarPL/mopidy,quartz...
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
<commit_before>from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. "...
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. """ if int(o...
<commit_before>from __future__ import unicode_literals from mopidy.frontends.mpd.protocol import handle_request @handle_request(r'^disableoutput "(?P<outputid>\d+)"$') def disableoutput(context, outputid): """ *musicpd.org, audio output section:* ``disableoutput`` Turns an output off. "...
87440383fc0c7260b07d625be54b8db8df4154fa
setup.py
setup.py
from setuptools import setup, find_packages # Dirty requirements loads requirements = [] with open('pip-requires') as f: requirements = f.read().splitlines() desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all depende...
from setuptools import setup, find_packages requirements = ['virtualenv', 'pyparsing==1.5.7', 'pydot==1.0.2'] desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all dependencies for a specific' 'Python packa...
Remove loading of requirements from pip-requires
Remove loading of requirements from pip-requires
Python
apache-2.0
pombredanne/PackMap,jmvrbanac/PackMap
from setuptools import setup, find_packages # Dirty requirements loads requirements = [] with open('pip-requires') as f: requirements = f.read().splitlines() desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all depende...
from setuptools import setup, find_packages requirements = ['virtualenv', 'pyparsing==1.5.7', 'pydot==1.0.2'] desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all dependencies for a specific' 'Python packa...
<commit_before>from setuptools import setup, find_packages # Dirty requirements loads requirements = [] with open('pip-requires') as f: requirements = f.read().splitlines() desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discov...
from setuptools import setup, find_packages requirements = ['virtualenv', 'pyparsing==1.5.7', 'pydot==1.0.2'] desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all dependencies for a specific' 'Python packa...
from setuptools import setup, find_packages # Dirty requirements loads requirements = [] with open('pip-requires') as f: requirements = f.read().splitlines() desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discovers all depende...
<commit_before>from setuptools import setup, find_packages # Dirty requirements loads requirements = [] with open('pip-requires') as f: requirements = f.read().splitlines() desc = '' with open('README.rst') as f: desc = f.read() setup( name='packmap', version='0.0.1', description=('PackMap discov...
26856ad4a5041fe0efa8711dc8ee62b31055282f
setup.py
setup.py
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) setup( name="markovify", version=version_ns['__version__'], descri...
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) with open(os.path.join(HERE, 'README.md')) as f: long_description = f.read...
Add long description to PYPI project page
Add long description to PYPI project page
Python
mit
jsvine/markovify
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) setup( name="markovify", version=version_ns['__version__'], descri...
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) with open(os.path.join(HERE, 'README.md')) as f: long_description = f.read...
<commit_before>from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) setup( name="markovify", version=version_ns['__version_...
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) with open(os.path.join(HERE, 'README.md')) as f: long_description = f.read...
from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) setup( name="markovify", version=version_ns['__version__'], descri...
<commit_before>from setuptools import setup, find_packages import sys, os NAME = "markovify" HERE = os.path.abspath(os.path.dirname(__file__)) version_ns = {} with open(os.path.join(HERE, NAME, '__version__.py')) as f: exec(f.read(), {}, version_ns) setup( name="markovify", version=version_ns['__version_...
b32bcca1baf8854e62dfeae1f3dabb1d1ae98a5d
setup.py
setup.py
from setuptools import find_packages, setup setup( name='tchannel', version='0.20.2.dev0', author=', '.join([ 'Abhinav Gupta', 'Aiden Scandella', 'Bryce Lampe', 'Grayson Koonce', 'Junchao Wu', ]), author_email='abg@uber.com', description='Network multipl...
from setuptools import find_packages, setup import re version = None with open('tchannel/__init__.py', 'r') as f: for line in f: m = re.match(r'^__version__\s*=\s*(["\'])([^"\']+)\1', line) if m: version = m.group(2) break if not version: raise Exception( 'Coul...
Remove requirement to have version number in two places
Remove requirement to have version number in two places
Python
mit
uber/tchannel-python,uber/tchannel-python
from setuptools import find_packages, setup setup( name='tchannel', version='0.20.2.dev0', author=', '.join([ 'Abhinav Gupta', 'Aiden Scandella', 'Bryce Lampe', 'Grayson Koonce', 'Junchao Wu', ]), author_email='abg@uber.com', description='Network multipl...
from setuptools import find_packages, setup import re version = None with open('tchannel/__init__.py', 'r') as f: for line in f: m = re.match(r'^__version__\s*=\s*(["\'])([^"\']+)\1', line) if m: version = m.group(2) break if not version: raise Exception( 'Coul...
<commit_before>from setuptools import find_packages, setup setup( name='tchannel', version='0.20.2.dev0', author=', '.join([ 'Abhinav Gupta', 'Aiden Scandella', 'Bryce Lampe', 'Grayson Koonce', 'Junchao Wu', ]), author_email='abg@uber.com', description='...
from setuptools import find_packages, setup import re version = None with open('tchannel/__init__.py', 'r') as f: for line in f: m = re.match(r'^__version__\s*=\s*(["\'])([^"\']+)\1', line) if m: version = m.group(2) break if not version: raise Exception( 'Coul...
from setuptools import find_packages, setup setup( name='tchannel', version='0.20.2.dev0', author=', '.join([ 'Abhinav Gupta', 'Aiden Scandella', 'Bryce Lampe', 'Grayson Koonce', 'Junchao Wu', ]), author_email='abg@uber.com', description='Network multipl...
<commit_before>from setuptools import find_packages, setup setup( name='tchannel', version='0.20.2.dev0', author=', '.join([ 'Abhinav Gupta', 'Aiden Scandella', 'Bryce Lampe', 'Grayson Koonce', 'Junchao Wu', ]), author_email='abg@uber.com', description='...
7dcddf9bd6f3901770d949830cd9ab3168873ee1
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
Use custom version of core
Use custom version of core
Python
agpl-3.0
openfisca/country-template,openfisca/country-template
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', ...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', ...
d4bba92af13f30e8c816591a432857912011b381
setup.py
setup.py
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
Exclude test project from package - round 2
Exclude test project from package - round 2 Also change development status to Alpha
Python
bsd-2-clause
TargetHolding/django-cassandra-engine,TargetHolding/django-cassandra-engine,richardasaurus/django-cassandra-engine,slurms/django-cassandra-engine,maria-grigorieva/django_cassandra_engine,r4fek/django-cassandra-engine,bezineb5/django-cassandra-engine,slurms/django-cassandra-engine,slurms/django-cassandra-engine,TargetHo...
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
<commit_before>from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join...
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join(map(str, meta....
<commit_before>from setuptools import setup, find_packages import django_cassandra_engine as meta DESCRIPTION = 'Cassandra backend for Django-nonrel' LONG_DESCRIPTION = None try: LONG_DESCRIPTION = open('README.rst').read() except IOError: pass setup( name='django-cassandra-engine', version='.'.join...
2d29a3a635fecfdf83f0a043621abbacacaa43a1
setup.py
setup.py
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
Add future as required package (for Python2)
Add future as required package (for Python2)
Python
apache-2.0
bstellato/mathprogbasepy
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
<commit_before>from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbase...
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbasepy'}, ins...
<commit_before>from setuptools import setup setup(name='mathprogbasepy', version='0.1.1', author='Bartolomeo Stellato', description='Low level interface for mathematical programming solvers.', url='http://github.com/bstellato/mathprogbasepy/', package_dir={'mathprogbasepy': 'mathprogbase...
762908c10fc3d9a6c9e30d9328e96c2a8bf3ce46
setup.py
setup.py
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
Fix description content type for PyPi
Fix description content type for PyPi
Python
mit
masterqa/MasterQA,mdmintz/MasterQA
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
<commit_before>""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_descripti...
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().d...
<commit_before>""" The setup package to install MasterQA requirements """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_descripti...
53646338ce110b034b28bb13bb0400ab6f86b3eb
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
Add Python 3 support via classifier
Add Python 3 support via classifier
Python
apache-2.0
jessemyers/openapi
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="h...
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.c...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup project = "openapi" version = "1.0.0" setup( name=project, version=version, description="Python OpenAPI 2.0 (Swagger) object model", author="Globality Engineering", author_email="engineering@globality.com", url="h...
ffaac071ade9e1d05b12dec0d57b23b38c4975d7
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight...
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight ...
Update trove classifier to Stable. Update my info.
Update trove classifier to Stable. Update my info.
Python
bsd-3-clause
audreyr/binaryornot,audreyr/binaryornot,audreyr/binaryornot
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight...
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight ...
<commit_before>#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ul...
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight ...
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ultra-lightweight...
<commit_before>#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='binaryornot', version='0.4.0', description=( 'Ul...
3cad766f5c42f6dc169eb406e6d3d7ff7a530d42
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.23', 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.24', packages=['todoist', 'todoist.managers'], author='Doist Team...
Update the PyPI version to 0.2.24.
Update the PyPI version to 0.2.24.
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.23', 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.24', 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.23', 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.24', 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.23', 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.23', packages=['todoist', 'todoist.managers'], aut...
fbb9c2bc6f29b059da09764b563441ae687aee47
contentcuration/contentcuration/utils/asynccommand.py
contentcuration/contentcuration/utils/asynccommand.py
from abc import abstractmethod from django.core.management.base import BaseCommand class TaskCommand(BaseCommand): def start_progress(self, *args, **options): # TODO: needs implementation pass def update_progress(self, *args, **options): # TODO: needs implementation pass ...
from abc import abstractmethod from collections import namedtuple from django.core.management.base import BaseCommand from django.core.management.base import CommandError Progress = namedtuple( 'Progress', [ 'progress', 'total', 'fraction', ] ) class TaskCommand(BaseCommand): ...
Add a progress tracker to the async task command
Add a progress tracker to the async task command
Python
mit
DXCanas/content-curation,fle-internal/content-curation,DXCanas/content-curation,fle-internal/content-curation,DXCanas/content-curation,fle-internal/content-curation,fle-internal/content-curation,DXCanas/content-curation
from abc import abstractmethod from django.core.management.base import BaseCommand class TaskCommand(BaseCommand): def start_progress(self, *args, **options): # TODO: needs implementation pass def update_progress(self, *args, **options): # TODO: needs implementation pass ...
from abc import abstractmethod from collections import namedtuple from django.core.management.base import BaseCommand from django.core.management.base import CommandError Progress = namedtuple( 'Progress', [ 'progress', 'total', 'fraction', ] ) class TaskCommand(BaseCommand): ...
<commit_before>from abc import abstractmethod from django.core.management.base import BaseCommand class TaskCommand(BaseCommand): def start_progress(self, *args, **options): # TODO: needs implementation pass def update_progress(self, *args, **options): # TODO: needs implementation ...
from abc import abstractmethod from collections import namedtuple from django.core.management.base import BaseCommand from django.core.management.base import CommandError Progress = namedtuple( 'Progress', [ 'progress', 'total', 'fraction', ] ) class TaskCommand(BaseCommand): ...
from abc import abstractmethod from django.core.management.base import BaseCommand class TaskCommand(BaseCommand): def start_progress(self, *args, **options): # TODO: needs implementation pass def update_progress(self, *args, **options): # TODO: needs implementation pass ...
<commit_before>from abc import abstractmethod from django.core.management.base import BaseCommand class TaskCommand(BaseCommand): def start_progress(self, *args, **options): # TODO: needs implementation pass def update_progress(self, *args, **options): # TODO: needs implementation ...
10cde8f4df66775479e509a994afd0c3f1e9041d
armstrong/apps/embedded_video/tests/_utils.py
armstrong/apps/embedded_video/tests/_utils.py
from django.test import TestCase as DjangoTestCase # TODO: pull into a common dev package so all armstrong code can use it def concrete(klass): attrs = {'__module__': concrete.__module__, } return type("Concrete%s" % klass.__name__, (klass, ), attrs) class TestCase(DjangoTestCase): def assertModelHasFie...
from django.core.management.color import no_style from django.db import connection from django.test import TestCase as DjangoTestCase def create_concrete_table(func): style = no_style() seen_models = connection.introspection.installed_models( connection.introspection.table_names()) def inner(s...
Add two new helpers for creating concrete model tables on the fly
Add two new helpers for creating concrete model tables on the fly These are extremely simple, but they provide the basis for dynamically creating a model table and deleting it for each test case. Going this route instead of setting it up per TestCase to allow running in parallel---each test method is capable of being...
Python
apache-2.0
armstrong/armstrong.apps.embedded_video
from django.test import TestCase as DjangoTestCase # TODO: pull into a common dev package so all armstrong code can use it def concrete(klass): attrs = {'__module__': concrete.__module__, } return type("Concrete%s" % klass.__name__, (klass, ), attrs) class TestCase(DjangoTestCase): def assertModelHasFie...
from django.core.management.color import no_style from django.db import connection from django.test import TestCase as DjangoTestCase def create_concrete_table(func): style = no_style() seen_models = connection.introspection.installed_models( connection.introspection.table_names()) def inner(s...
<commit_before>from django.test import TestCase as DjangoTestCase # TODO: pull into a common dev package so all armstrong code can use it def concrete(klass): attrs = {'__module__': concrete.__module__, } return type("Concrete%s" % klass.__name__, (klass, ), attrs) class TestCase(DjangoTestCase): def as...
from django.core.management.color import no_style from django.db import connection from django.test import TestCase as DjangoTestCase def create_concrete_table(func): style = no_style() seen_models = connection.introspection.installed_models( connection.introspection.table_names()) def inner(s...
from django.test import TestCase as DjangoTestCase # TODO: pull into a common dev package so all armstrong code can use it def concrete(klass): attrs = {'__module__': concrete.__module__, } return type("Concrete%s" % klass.__name__, (klass, ), attrs) class TestCase(DjangoTestCase): def assertModelHasFie...
<commit_before>from django.test import TestCase as DjangoTestCase # TODO: pull into a common dev package so all armstrong code can use it def concrete(klass): attrs = {'__module__': concrete.__module__, } return type("Concrete%s" % klass.__name__, (klass, ), attrs) class TestCase(DjangoTestCase): def as...
bc48dd6e6b28406874cb3c3fda6c91cc90c77bb7
examples/users.py
examples/users.py
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) bob = olite.users.create(name='bob', key='my-awesome-key') alice = olite.users.create(name='alice', key_path='~/.ssh/id_rsa.pub')
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) # create user object vlad = olite.users.create(name='vlad', key_path='/home/wok/.ssh/id_rsa.pub') # get user by name vlad = olite.users.get(name='vlad') # get_or_create django s...
Introduce a complete user operations example
Introduce a complete user operations example
Python
bsd-2-clause
shawkinsl/pyolite,PressLabs/pyolite
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) bob = olite.users.create(name='bob', key='my-awesome-key') alice = olite.users.create(name='alice', key_path='~/.ssh/id_rsa.pub') Introduce a complete user operations example
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) # create user object vlad = olite.users.create(name='vlad', key_path='/home/wok/.ssh/id_rsa.pub') # get user by name vlad = olite.users.get(name='vlad') # get_or_create django s...
<commit_before>from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) bob = olite.users.create(name='bob', key='my-awesome-key') alice = olite.users.create(name='alice', key_path='~/.ssh/id_rsa.pub') <commit_msg>Introduce a complete u...
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) # create user object vlad = olite.users.create(name='vlad', key_path='/home/wok/.ssh/id_rsa.pub') # get user by name vlad = olite.users.get(name='vlad') # get_or_create django s...
from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) bob = olite.users.create(name='bob', key='my-awesome-key') alice = olite.users.create(name='alice', key_path='~/.ssh/id_rsa.pub') Introduce a complete user operations examplefrom ...
<commit_before>from pyolite import Pyolite # initial olite object admin_repository = 'gitolite-admin/' olite = Pyolite(admin_repository=admin_repository) bob = olite.users.create(name='bob', key='my-awesome-key') alice = olite.users.create(name='alice', key_path='~/.ssh/id_rsa.pub') <commit_msg>Introduce a complete u...
10561287678c1621927757de0328f7275fc764d8
api/nodes/urls.py
api/nodes/urls.py
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
Change confirm delete url. /v2/nodes/{pk}/pointers was being read as /v2/nodes/{pk}/{token} and returning 'Incorrect token' instead of pointers list.
Change confirm delete url. /v2/nodes/{pk}/pointers was being read as /v2/nodes/{pk}/{token} and returning 'Incorrect token' instead of pointers list.
Python
apache-2.0
binoculars/osf.io,jnayak1/osf.io,Johnetordoff/osf.io,GageGaskins/osf.io,MerlinZhang/osf.io,mluo613/osf.io,icereval/osf.io,hmoco/osf.io,saradbowman/osf.io,icereval/osf.io,felliott/osf.io,CenterForOpenScience/osf.io,chrisseto/osf.io,HalcyonChimera/osf.io,SSJohns/osf.io,dplorimer/osf,wearpants/osf.io,fabianvf/osf.io,Harry...
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
<commit_before>from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), nam...
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), name='node-detail'...
<commit_before>from django.conf.urls import url from api.nodes import views urlpatterns = [ # Examples: # url(r'^$', 'api.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', views.NodeList.as_view(), name='node-list'), url(r'^(?P<pk>\w+)/$', views.NodeDetail.as_view(), nam...
fa610209334a53cd29441429609c5b045641b4d7
exp/lib/models/content_node.py
exp/lib/models/content_node.py
from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def get_children(sel...
import urllib from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def g...
Add get_variant_url method to content node.
Add get_variant_url method to content node.
Python
mit
ScalaInc/exp-python2-sdk,ScalaInc/exp-python2-sdk
from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def get_children(sel...
import urllib from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def g...
<commit_before>from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def g...
import urllib from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def g...
from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def get_children(sel...
<commit_before>from .. import api_utils class ContentNode(object): def __init__(self, document, _isChildrenPopulated=False): self.document = document self._isChildrenPopulated = _isChildrenPopulated def get_url(self): return api_utils.generate_url("/api/delivery" + self.document.get("path")) def g...