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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
351815d8da1dc1b2227e8fd832e690f8aee47747 | setup.py | setup.py | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
version=version,
d... | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.append('\n')
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
versi... | Add blank line between README and CHANGES in long_description | Add blank line between README and CHANGES in long_description
| Python | mit | claudep/translitcodec,claudep/translitcodec | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
version=version,
d... | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.append('\n')
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
versi... | <commit_before>import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
version=v... | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.append('\n')
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
versi... | import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
version=version,
d... | <commit_before>import codecs
from setuptools import setup
lines = codecs.open('README', 'r', 'utf-8').readlines()[3:]
lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:])
desc = ''.join(lines).lstrip()
import translitcodec
version = translitcodec.__version__
setup(name='translitcodec',
version=v... |
748f6f932be1feda15fc27eed7cbe1cff934fb35 | setup.py | setup.py | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | Fix vigil only working in dev mode. | Fix vigil only working in dev mode.
- Be careful in future with pip dev mode. Unfortunately its
possible for code to work in dev mode but not when deployed.
For example in this case, when files aren't listed in setup.py
package_data.
| Python | artistic-2.0 | ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil,ahamilton/vigil | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | <commit_before>#!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains... | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | #!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains an up-to-date ... | <commit_before>#!/usr/bin/env python3.6
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name="vigil",
version="17.06",
description=("Vigil maintains... |
17ed284dd2c084d95fdbae221cbf9e701827f16d | setup.py | setup.py | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Dodgy: Searches for dodgy looking lines in Python code"
_install_requires = []
_classifi... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Searches for dodgy looking lines in Python code"
_install_requires = []
_classifiers = (... | Remove dodgy mention from _short_description | Remove dodgy mention from _short_description
The package name shouldn't be in the description. | Python | mit | landscapeio/dodgy | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Dodgy: Searches for dodgy looking lines in Python code"
_install_requires = []
_classifi... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Searches for dodgy looking lines in Python code"
_install_requires = []
_classifiers = (... | <commit_before># -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Dodgy: Searches for dodgy looking lines in Python code"
_install_requires ... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Searches for dodgy looking lines in Python code"
_install_requires = []
_classifiers = (... | # -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Dodgy: Searches for dodgy looking lines in Python code"
_install_requires = []
_classifi... | <commit_before># -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
from dodgy import __pkginfo__
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Dodgy: Searches for dodgy looking lines in Python code"
_install_requires ... |
bec0984d0fe1cd6820f9e10dbc97b5c872c41a87 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam",
version="0.4+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
p... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam2",
version="0.5.1+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
... | Update local version identifier. Name txyam2 per dev discussion. | Update local version identifier. Name txyam2 per dev discussion. | Python | mit | Weasyl/txyam2 | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam",
version="0.4+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
p... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam2",
version="0.5.1+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam",
version="0.4+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmulle... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam2",
version="0.5.1+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam",
version="0.4+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmuller/txyam",
p... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="txyam",
version="0.4+weasyl.1",
description="Yet Another Memcached (YAM) client for Twisted.",
author="Brian Muller",
author_email="bamuller@gmail.com",
license="MIT",
url="http://github.com/bmulle... |
51356be94e251b75b8262170ac2f8c2c3a2c5ba6 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | Allow newer versions of pyinotify | Allow newer versions of pyinotify | Python | mit | borntyping/spotter | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description = "A comm... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'spotter',
version = '1.7',
url = "http://github.com/borntyping/spotter",
author = "Sam Clements",
author_email = "sam@borntyping.co.uk",
description... |
54af02729b1bbac17e5c65337635a46493bd2177 | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='eDisGo',
version='0.0.1',
packages=find_packages(),
url='https://github.com/openego/eDisGo',
license='GNU Affero General Public License v3.0',
author='gplssm, nesnoj',
author_email='',
description='A python package for distributio... | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH='.eDisGo'
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)
@staticmethod
def create_edisgo_path():
edisgo_path = os.path.join(os.pa... | Create path ~/.eDisGo on install | Create path ~/.eDisGo on install
For all of those already installed eDisGo run
pip3 install -U .
again.
| Python | agpl-3.0 | openego/eDisGo,openego/eDisGo | from setuptools import find_packages, setup
setup(
name='eDisGo',
version='0.0.1',
packages=find_packages(),
url='https://github.com/openego/eDisGo',
license='GNU Affero General Public License v3.0',
author='gplssm, nesnoj',
author_email='',
description='A python package for distributio... | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH='.eDisGo'
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)
@staticmethod
def create_edisgo_path():
edisgo_path = os.path.join(os.pa... | <commit_before>from setuptools import find_packages, setup
setup(
name='eDisGo',
version='0.0.1',
packages=find_packages(),
url='https://github.com/openego/eDisGo',
license='GNU Affero General Public License v3.0',
author='gplssm, nesnoj',
author_email='',
description='A python package ... | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH='.eDisGo'
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)
@staticmethod
def create_edisgo_path():
edisgo_path = os.path.join(os.pa... | from setuptools import find_packages, setup
setup(
name='eDisGo',
version='0.0.1',
packages=find_packages(),
url='https://github.com/openego/eDisGo',
license='GNU Affero General Public License v3.0',
author='gplssm, nesnoj',
author_email='',
description='A python package for distributio... | <commit_before>from setuptools import find_packages, setup
setup(
name='eDisGo',
version='0.0.1',
packages=find_packages(),
url='https://github.com/openego/eDisGo',
license='GNU Affero General Public License v3.0',
author='gplssm, nesnoj',
author_email='',
description='A python package ... |
9674f2d1f459db6e231d81fa979db07d4805ca29 | shuup/admin/modules/shops/views/list.py | shuup/admin/modules/shops/views/list.py | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | Modify shops for dynamic columns | Modify shops for dynamic columns
Refs SH-64
| Python | agpl-3.0 | shoopio/shoop,suutari/shoop,suutari-ai/shoop,shawnadelic/shuup,suutari/shoop,shawnadelic/shuup,shoopio/shoop,suutari/shoop,suutari-ai/shoop,shawnadelic/shuup,shoopio/shoop,suutari-ai/shoop | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | <commit_before># -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf imp... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf import settings
fr... | <commit_before># -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
from django.conf imp... |
a7b47737be5e0ad674025348ce938a81058c85f6 | viewer/viewer.py | viewer/viewer.py | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.templating import render_template
app = Flask(__name__, template_folder='.')
# app.debug = True
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
reco... | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.helpers import send_from_directory
app = Flask(__name__)
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
record_data = []
@app.route("/")
def hell... | Use send so no templates are evald by python. | Use send so no templates are evald by python.
| Python | mit | mihneadb/python-execution-trace,mihneadb/python-execution-trace,mihneadb/python-execution-trace | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.templating import render_template
app = Flask(__name__, template_folder='.')
# app.debug = True
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
reco... | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.helpers import send_from_directory
app = Flask(__name__)
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
record_data = []
@app.route("/")
def hell... | <commit_before># Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.templating import render_template
app = Flask(__name__, template_folder='.')
# app.debug = True
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source... | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.helpers import send_from_directory
app = Flask(__name__)
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
record_data = []
@app.route("/")
def hell... | # Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.templating import render_template
app = Flask(__name__, template_folder='.')
# app.debug = True
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source, 1: state
reco... | <commit_before># Run with `python viewer.py PATH_TO_RECORD_JSON.
import json
import sys
from flask import Flask, jsonify
from flask.templating import render_template
app = Flask(__name__, template_folder='.')
# app.debug = True
# `main` inits these.
# File containing `record` output.
record_path = None
# 0: source... |
7b30846c322f7f81566f0b2a454e61ad271eee65 | cegui/src/ScriptingModules/PythonScriptModule/bindings/distutils/PyCEGUI/__init__.py | cegui/src/ScriptingModules/PythonScriptModule/bindings/distutils/PyCEGUI/__init__.py | import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(str(fake).split()[3][1:])
libpath = os.path.abspath(get_my_path())
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
| import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(os.path.abspath(fake.__file__))
libpath = get_my_path()
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
| Use a less pathetic method to retrieve the PyCEGUI dirname | MOD: Use a less pathetic method to retrieve the PyCEGUI dirname
| Python | mit | arkana-fts/cegui,arkana-fts/cegui,cbeck88/cegui-mirror,cbeck88/cegui-mirror,RealityFactory/CEGUI,arkana-fts/cegui,cbeck88/cegui-mirror,RealityFactory/CEGUI,arkana-fts/cegui,RealityFactory/CEGUI,cbeck88/cegui-mirror,RealityFactory/CEGUI,arkana-fts/cegui,RealityFactory/CEGUI,cbeck88/cegui-mirror | import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(str(fake).split()[3][1:])
libpath = os.path.abspath(get_my_path())
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
MOD: Use a less pathetic method t... | import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(os.path.abspath(fake.__file__))
libpath = get_my_path()
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
| <commit_before>import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(str(fake).split()[3][1:])
libpath = os.path.abspath(get_my_path())
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
<commit_msg>MOD: U... | import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(os.path.abspath(fake.__file__))
libpath = get_my_path()
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
| import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(str(fake).split()[3][1:])
libpath = os.path.abspath(get_my_path())
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
MOD: Use a less pathetic method t... | <commit_before>import os
import os.path
# atrocious and unholy!
def get_my_path():
import fake
return os.path.dirname(str(fake).split()[3][1:])
libpath = os.path.abspath(get_my_path())
#print "libpath =", libpath
os.environ['PATH'] = libpath + ";" + os.environ['PATH']
from PyCEGUI import *
<commit_msg>MOD: U... |
212bf2f97a82ebe28431ff3d8f64affaf45fd55e | pyforge/celeryconfig.py | pyforge/celeryconfig.py | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWORD = "celerypw"
CELERYD_LOG_FILE = "celeryd.log"
CELERYD_PID_FILE = "celeryd.pid"
CELERYD_DAEMON_LOG_LEVEL = "INFO"
CELERY_MONGODB_BACKEND_SETTINGS = {
"hos... | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
# We shouldn't need to supply these because we're using Mongo,
# but Celery gives us errors if we don't.
DATABASE_ENGINE = "sqlite3"
DATABASE_NAME = "celery.db"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWO... | Add unused DATABASE_ENGINE, DATABASE_NAME to pacify celeryinit | Add unused DATABASE_ENGINE, DATABASE_NAME to pacify celeryinit
| Python | apache-2.0 | Bitergia/allura,apache/incubator-allura,apache/allura,apache/incubator-allura,lym/allura-git,lym/allura-git,apache/incubator-allura,leotrubach/sourceforge-allura,lym/allura-git,heiths/allura,apache/allura,heiths/allura,apache/allura,heiths/allura,Bitergia/allura,apache/incubator-allura,leotrubach/sourceforge-allura,lym... | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWORD = "celerypw"
CELERYD_LOG_FILE = "celeryd.log"
CELERYD_PID_FILE = "celeryd.pid"
CELERYD_DAEMON_LOG_LEVEL = "INFO"
CELERY_MONGODB_BACKEND_SETTINGS = {
"hos... | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
# We shouldn't need to supply these because we're using Mongo,
# but Celery gives us errors if we don't.
DATABASE_ENGINE = "sqlite3"
DATABASE_NAME = "celery.db"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWO... | <commit_before># -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWORD = "celerypw"
CELERYD_LOG_FILE = "celeryd.log"
CELERYD_PID_FILE = "celeryd.pid"
CELERYD_DAEMON_LOG_LEVEL = "INFO"
CELERY_MONGODB_BACKEND_SETTIN... | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
# We shouldn't need to supply these because we're using Mongo,
# but Celery gives us errors if we don't.
DATABASE_ENGINE = "sqlite3"
DATABASE_NAME = "celery.db"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWO... | # -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWORD = "celerypw"
CELERYD_LOG_FILE = "celeryd.log"
CELERYD_PID_FILE = "celeryd.pid"
CELERYD_DAEMON_LOG_LEVEL = "INFO"
CELERY_MONGODB_BACKEND_SETTINGS = {
"hos... | <commit_before># -*- coding: utf-8 -*-
CELERY_BACKEND = "mongodb"
AMQP_SERVER = "localhost"
AMQP_PORT = 5672
AMQP_VHOST = "celeryvhost"
AMQP_USER = "celeryuser"
AMQP_PASSWORD = "celerypw"
CELERYD_LOG_FILE = "celeryd.log"
CELERYD_PID_FILE = "celeryd.pid"
CELERYD_DAEMON_LOG_LEVEL = "INFO"
CELERY_MONGODB_BACKEND_SETTIN... |
d8588d31f23377f27b81e62f5471997271ae0ca2 | tasks.py | tasks.py | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | Remove redundant flag from flake8 task | Remove redundant flag from flake8 task
The max line length is already specified in Flake8's configuration.
| Python | apache-2.0 | paddycarey/mopidy-webhooks | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | <commit_before>import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black... | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black mopidy_webhook... | <commit_before>import os
import sys
from invoke import task, util
in_ci = os.environ.get("CI", "false") == "true"
if in_ci:
pty = False
else:
pty = util.isatty(sys.stdout) and util.isatty(sys.stderr)
@task
def reformat(c):
c.run("isort mopidy_webhooks tests setup.py tasks.py", pty=pty)
c.run("black... |
d3ef281b8e64ede5076aa58e47016b3252c2c181 | polling_stations/apps/data_importers/management/commands/import_barrow_in_furness.py | polling_stations/apps/data_importers/management/commands/import_barrow_in_furness.py | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | Update barrow in furness coords from council | Update barrow in furness coords from council
| Python | bsd-3-clause | DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | <commit_before>from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110... | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110811/Barrow in F... | <commit_before>from data_importers.management.commands import BaseDemocracyCountsCsvImporter
class Command(BaseDemocracyCountsCsvImporter):
council_id = "BAR"
addresses_name = "2021-03-08T19:54:15.110811/Barrow in Furness Democracy Club - Polling Districts (2).csv"
stations_name = "2021-03-08T19:54:15.110... |
63f8f15d359fd12827ef41def4faf72a5e998640 | cactus/listener/__init__.py | cactus/listener/__init__.py | import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.warning("Failed to load FSEventsListener", exc_info=True)
Listener = PollingListener
| import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.debug("Failed to load FSEventsListener, falling back to PollingListener", exc_info=True)
Liste... | Make FSEventsListener a debug-only thing | Make FSEventsListener a debug-only thing
| Python | bsd-3-clause | chaudum/Cactus,Knownly/Cactus,Knownly/Cactus,koenbok/Cactus,koenbok/Cactus,chaudum/Cactus,chaudum/Cactus,koenbok/Cactus,eudicots/Cactus,ibarria0/Cactus,Knownly/Cactus,eudicots/Cactus,ibarria0/Cactus,eudicots/Cactus,ibarria0/Cactus | import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.warning("Failed to load FSEventsListener", exc_info=True)
Listener = PollingListener
Make FSEv... | import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.debug("Failed to load FSEventsListener, falling back to PollingListener", exc_info=True)
Liste... | <commit_before>import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.warning("Failed to load FSEventsListener", exc_info=True)
Listener = PollingLis... | import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.debug("Failed to load FSEventsListener, falling back to PollingListener", exc_info=True)
Liste... | import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.warning("Failed to load FSEventsListener", exc_info=True)
Listener = PollingListener
Make FSEv... | <commit_before>import logging
from cactus.listener.polling import PollingListener
logger = logging.getLogger(__name__)
try:
from cactus.listener.mac import FSEventsListener as Listener
except (ImportError, OSError):
logger.warning("Failed to load FSEventsListener", exc_info=True)
Listener = PollingLis... |
86dca4a7d3c1574af9da85e5a2f10b84d18d28c0 | blueprints/aws_backup_plans/delete.py | blueprints/aws_backup_plans/delete.py | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | Revert "[Dev-20546] AwSBackPlan-Blueprint is broken-Teardown is not working" | Revert "[Dev-20546] AwSBackPlan-Blueprint is broken-Teardown is not working"
| Python | apache-2.0 | CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | <commit_before>from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id ... | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id = resource.attr... | <commit_before>from common.methods import set_progress
from azure.common.credentials import ServicePrincipalCredentials
from botocore.exceptions import ClientError
from resourcehandlers.aws.models import AWSHandler
import boto3
def run(job, **kwargs):
resource = kwargs.pop('resources').first()
backup_plan_id ... |
e6a3e0c77ada592c06394af2e235b3528a61202a | armstrong/dev/tasks/__init__.py | armstrong/dev/tasks/__init__.py | import pkg_resources
pkg_resources.declare_namespace(__name__)
| import pkg_resources
pkg_resources.declare_namespace(__name__)
from contextlib import contextmanager
try:
import coverage
except ImportError:
coverage = False
import os
from os.path import basename, dirname
import sys
from fabric.api import *
from fabric.decorators import task
if not "fabfile" in sys.module... | Create all of the tasks needed for developing in Armstrong | Create all of the tasks needed for developing in Armstrong
| Python | apache-2.0 | armstrong/armstrong.dev | import pkg_resources
pkg_resources.declare_namespace(__name__)
Create all of the tasks needed for developing in Armstrong | import pkg_resources
pkg_resources.declare_namespace(__name__)
from contextlib import contextmanager
try:
import coverage
except ImportError:
coverage = False
import os
from os.path import basename, dirname
import sys
from fabric.api import *
from fabric.decorators import task
if not "fabfile" in sys.module... | <commit_before>import pkg_resources
pkg_resources.declare_namespace(__name__)
<commit_msg>Create all of the tasks needed for developing in Armstrong<commit_after> | import pkg_resources
pkg_resources.declare_namespace(__name__)
from contextlib import contextmanager
try:
import coverage
except ImportError:
coverage = False
import os
from os.path import basename, dirname
import sys
from fabric.api import *
from fabric.decorators import task
if not "fabfile" in sys.module... | import pkg_resources
pkg_resources.declare_namespace(__name__)
Create all of the tasks needed for developing in Armstrongimport pkg_resources
pkg_resources.declare_namespace(__name__)
from contextlib import contextmanager
try:
import coverage
except ImportError:
coverage = False
import os
from os.path import ... | <commit_before>import pkg_resources
pkg_resources.declare_namespace(__name__)
<commit_msg>Create all of the tasks needed for developing in Armstrong<commit_after>import pkg_resources
pkg_resources.declare_namespace(__name__)
from contextlib import contextmanager
try:
import coverage
except ImportError:
covera... |
a37db382c69293953c709365cd2c64c4a99f419e | rest_framework/authtoken/migrations/0001_initial.py | rest_framework/authtoken/migrations/0001_initial.py | # encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
... |
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name... | Update authtoken latest Django 1.7 migration | Update authtoken latest Django 1.7 migration | Python | bsd-2-clause | James1345/django-rest-framework,wzbozon/django-rest-framework,rhblind/django-rest-framework,ajaali/django-rest-framework,tcroiset/django-rest-framework,hunter007/django-rest-framework,hunter007/django-rest-framework,wwj718/django-rest-framework,kennydude/django-rest-framework,jpadilla/django-rest-framework,kezabelle/dj... | # encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
... |
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name... | <commit_before># encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migration... |
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name... | # encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
... | <commit_before># encoding: utf8
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migration... |
04557bbff362ae3b89e7dd98a1fb11e0aaeba50e | common/djangoapps/student/migrations/0010_auto_20170207_0458.py | common/djangoapps/student/migrations/0010_auto_20170207_0458.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | Make this no-op migration be a true no-op. | Make this no-op migration be a true no-op.
| Python | agpl-3.0 | philanthropy-u/edx-platform,lduarte1991/edx-platform,eduNEXT/edx-platform,msegado/edx-platform,cpennington/edx-platform,hastexo/edx-platform,a-parhom/edx-platform,ESOedX/edx-platform,angelapper/edx-platform,gymnasium/edx-platform,eduNEXT/edunext-platform,pepeportela/edx-platform,ESOedX/edx-platform,pepeportela/edx-plat... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4->1.8 upgrade. ... | <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0009_auto_20170111_0422'),
]
# This migration was to add a constraint that we lost in the Django
# 1.4... |
7f796b74b8996bda7d31184e6c580d2a3e4f7e18 | os.py | os.py | import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
| import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
if... | Add example code for sorted_walk | Add example code for sorted_walk
| Python | mit | inker610566/python-improve-libs | import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
Ad... | import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
if... | <commit_before>import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndi... | import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
if... | import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndirs, nfiles)
Ad... | <commit_before>import os
def sorted_walk(rootpath):
# report this
dirpath, dirs, files = next(os.walk(rootpath))
yield (dirpath, dirs, files)
for ndir in sorted(dirs):
ndirpath = os.path.join(rootpath, ndir)
for _, ndirs, nfiles in sorted_walk(ndirpath):
yield (ndirpath, ndi... |
6f5c1aa40181d5f9cc34bf85fd03e8e5758a9183 | libs/utils.py | libs/utils.py | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
serialise.append(str(key))
serialise.append(str(arg))
key = hashlib... | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
if key == "clear_cache":
continue
serialise.append(str(key)... | Exclude clear_cache from cache key | Exclude clear_cache from cache key
| Python | mit | daigotanaka/kawaraban,daigotanaka/kawaraban,daigotanaka/kawaraban,daigotanaka/kawaraban | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
serialise.append(str(key))
serialise.append(str(arg))
key = hashlib... | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
if key == "clear_cache":
continue
serialise.append(str(key)... | <commit_before>from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
serialise.append(str(key))
serialise.append(str(arg))
... | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
if key == "clear_cache":
continue
serialise.append(str(key)... | from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
serialise.append(str(key))
serialise.append(str(arg))
key = hashlib... | <commit_before>from django.core.cache import cache
#get the cache key for storage
def cache_get_key(*args, **kwargs):
import hashlib
serialise = []
for arg in args:
serialise.append(str(arg))
for key,arg in kwargs.items():
serialise.append(str(key))
serialise.append(str(arg))
... |
e7278521d8ee387acc5bc94c39f041c7e08c6cc6 | lab_members/views.py | lab_members/views.py | from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
queryset = Scientist.objects.all()
class ScientistDetailView(DetailView):
model = Scientist
| from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
def get_context_data(self, **kwargs):
context = super(ScientistListView, self).get_context_data(**kwargs)
context['scientist_list'] = Scientist.ob... | Return both scientist_list and alumni_list for ScientistListView | Return both scientist_list and alumni_list for ScientistListView
| Python | bsd-3-clause | mfcovington/django-lab-members,mfcovington/django-lab-members,mfcovington/django-lab-members | from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
queryset = Scientist.objects.all()
class ScientistDetailView(DetailView):
model = Scientist
Return both scientist_list and alumni_list for ScientistListView | from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
def get_context_data(self, **kwargs):
context = super(ScientistListView, self).get_context_data(**kwargs)
context['scientist_list'] = Scientist.ob... | <commit_before>from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
queryset = Scientist.objects.all()
class ScientistDetailView(DetailView):
model = Scientist
<commit_msg>Return both scientist_list and alumni_l... | from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
def get_context_data(self, **kwargs):
context = super(ScientistListView, self).get_context_data(**kwargs)
context['scientist_list'] = Scientist.ob... | from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
queryset = Scientist.objects.all()
class ScientistDetailView(DetailView):
model = Scientist
Return both scientist_list and alumni_list for ScientistListViewfr... | <commit_before>from django.views.generic import DetailView, ListView
from lab_members.models import Scientist
class ScientistListView(ListView):
model = Scientist
queryset = Scientist.objects.all()
class ScientistDetailView(DetailView):
model = Scientist
<commit_msg>Return both scientist_list and alumni_l... |
d4171faa21324cc8d23b5e0352932e3d1769f58a | bluesky/tests/test_callbacks.py | bluesky/tests/test_callbacks.py | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
RE = None
def setup():
global RE
RE = RunEngine()
def test_main_thread_callback_exceptions():
def callbacker(doc):
raise Exception("Hey look it's an exception that better not ... | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
from nose.tools import raises
RE = None
def setup():
global RE
RE = RunEngine()
def exception_raiser(doc):
raise Exception("Hey look it's an exception that better not kill the "
... | Add test that fails *if* 'all' is not working | ENH: Add test that fails *if* 'all' is not working
| Python | bsd-3-clause | klauer/bluesky,ericdill/bluesky,sameera2004/bluesky,klauer/bluesky,dchabot/bluesky,ericdill/bluesky,dchabot/bluesky,sameera2004/bluesky | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
RE = None
def setup():
global RE
RE = RunEngine()
def test_main_thread_callback_exceptions():
def callbacker(doc):
raise Exception("Hey look it's an exception that better not ... | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
from nose.tools import raises
RE = None
def setup():
global RE
RE = RunEngine()
def exception_raiser(doc):
raise Exception("Hey look it's an exception that better not kill the "
... | <commit_before>from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
RE = None
def setup():
global RE
RE = RunEngine()
def test_main_thread_callback_exceptions():
def callbacker(doc):
raise Exception("Hey look it's an exception t... | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
from nose.tools import raises
RE = None
def setup():
global RE
RE = RunEngine()
def exception_raiser(doc):
raise Exception("Hey look it's an exception that better not kill the "
... | from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
RE = None
def setup():
global RE
RE = RunEngine()
def test_main_thread_callback_exceptions():
def callbacker(doc):
raise Exception("Hey look it's an exception that better not ... | <commit_before>from nose.tools import assert_in, assert_equal
from bluesky.run_engine import RunEngine
from bluesky.examples import *
RE = None
def setup():
global RE
RE = RunEngine()
def test_main_thread_callback_exceptions():
def callbacker(doc):
raise Exception("Hey look it's an exception t... |
77c6fd50fdc2bd7e716ecfba30e8e18e27b3c0eb | oslo/__init__.py | oslo/__init__.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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... | # 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, software
# d... | Remove extraneous vim editor configuration comments | Remove extraneous vim editor configuration comments
Change-Id: I0a48345e7fd2703b6651531087097f096264dc7d
Partial-Bug: #1229324
| Python | apache-2.0 | openstack/oslo.concurrency,varunarya10/oslo.concurrency,JioCloud/oslo.concurrency | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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... | # 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, software
# d... | <commit_before># vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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 require... | # 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, software
# d... | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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># vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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 require... |
c974c7a73e8ef48ea4fb1436b397f2973d8048c7 | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/apps/users/adapter.py | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/apps/users/adapter.py | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | Modify is_open_for_signup to receive 3 arguments | Modify is_open_for_signup to receive 3 arguments
SocialAccountAdapter expects a sociallogin argument.
| Python | mit | LucianU/bud,LucianU/bud,LucianU/bud | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | <commit_before># -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(setting... | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | # -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(settings, 'ACCOUNT_ALL... | <commit_before># -*- coding: utf-8 -*-
from django.conf import settings
from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class AccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return getattr(setting... |
4adb9f2f526970ee40ee26c5969fc58db1a6b04e | setup.py | setup.py | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | Use the readme as the long description | Use the readme as the long description
| Python | bsd-3-clause | Calysto/metakernel | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | <commit_before>try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
for line in ... | <commit_before>try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
import sys
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with open('jupyter_kernel/__init__.py', 'rb') as fid:
... |
cdf98c02f8c7590931e732226a65f2e15daa7500 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | Set SymPy version req to 0.7.4.1 (required only for Theano). | Set SymPy version req to 0.7.4.1 (required only for Theano).
| Python | bsd-3-clause | Shekharrajak/pydy,skidzo/pydy,oliverlee/pydy,jcrist/pydy,skidzo/pydy,jcrist/pydy,pydy/pydy-code-gen,Shekharrajak/pydy,pydy/pydy-code-gen,skidzo/pydy,jcrist/pydy,jcrist/pydy,skidzo/pydy,jcrist/pydy,Shekharrajak/pydy,Shekharrajak/pydy,jcrist/pydy,oliverlee/pydy,jcrist/pydy,oliverlee/pydy | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
descri... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | #!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
description='Code gen... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from pydy_code_gen import __version__
setup(
name='pydy-code-gen',
version=__version__,
author='Jason K. Moore',
author_email='moorepants@gmail.com',
url="https://github.com/PythonDynamics/pydy-code-gen/",
descri... |
a95f74e926a9381e16688fbebd017f676d19b7a5 | setup.py | setup.py | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | Make sure that the error code is returned properly | Make sure that the error code is returned properly
| Python | mit | teozkr/Flask-Pushrod,UYSio/Flask-Pushrod,teozkr/Flask-Pushrod | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | <commit_before>from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause out... | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs a... | <commit_before>from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause out... |
681326cb6b070c84f5d84064f3d8925dd2762065 | setup.py | setup.py | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | Add trove classifiers for supported Python versions | Add trove classifiers for supported Python versions | Python | mit | twisted/axiom,hawkowl/axiom | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | <commit_before>from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relati... | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relational database",... | <commit_before>from distutils.core import setup
import re
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("axiom/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name="Axiom",
version=version,
description="An in-process object-relati... |
fc8b5e8744ba8fe26d12788829eac90dcb6ea87e | setup.py | setup.py | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt':
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt' and 0:
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | Test Fortran compiler on windows | Test Fortran compiler on windows
| Python | bsd-3-clause | SMTorg/smt,bouhlelma/smt,bouhlelma/smt,hwangjt/SMT,SMTorg/smt,relf/smt,hwangjt/SMT,relf/smt | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt':
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt' and 0:
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | <commit_before>from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt':
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check... | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt' and 0:
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt':
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check'],
... | <commit_before>from numpy.distutils.core import setup, Extension
import os
if os.name == 'nt':
# If OS is Windows, don't compile Fortran code
ext = []
else:
# If OS is OS X or Linux, assume Fortran compilers are available
ext = [
Extension(name='smt.IDWlib', extra_compile_args=['-fbounds-check... |
119478a8531bc7b58257801c4cf18628ce006d7e | setup.py | setup.py | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | Fix url, correct url this time? | Fix url, correct url this time?
| Python | lgpl-2.1 | jabl/vasputil,jabl/vasputil,oren88/vasputil,oren88/vasputil | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | <commit_before>#!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author... | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | #!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author_email='Janne.B... | <commit_before>#!/usr/bin/python
from distutils.core import setup
from glob import glob
# Scripts whose names end in a-z or 1-9 (avoids emacs backup files)
scripts = glob('scripts/*[a-z,1-9]')
setup(name='vasputil',
version='5.1',
description='VASP utilities',
author='Janne Blomqvist',
author... |
05139a0944d227064458d06c06ae5088784b4298 | hoodcms/models.py | hoodcms/models.py |
import os
import time
from django.contrib.staticfiles import finders
from django.templatetags.static import StaticNode
def get_media(path):
result = finders.find(path, all=True)
return [os.path.realpath(path) for path in result]
def new_url(self, context):
"""Add a query string to invalidate cached file... | Add a query string static patch | Add a query string static patch
| Python | agpl-3.0 | Ashmont-Valley/ashmont-valley-website,Ashmont-Valley/ashmont-valley-website,Ashmont-Valley/ashmont-valley-website,Ashmont-Valley/ashmont-valley-website | Add a query string static patch |
import os
import time
from django.contrib.staticfiles import finders
from django.templatetags.static import StaticNode
def get_media(path):
result = finders.find(path, all=True)
return [os.path.realpath(path) for path in result]
def new_url(self, context):
"""Add a query string to invalidate cached file... | <commit_before><commit_msg>Add a query string static patch<commit_after> |
import os
import time
from django.contrib.staticfiles import finders
from django.templatetags.static import StaticNode
def get_media(path):
result = finders.find(path, all=True)
return [os.path.realpath(path) for path in result]
def new_url(self, context):
"""Add a query string to invalidate cached file... | Add a query string static patch
import os
import time
from django.contrib.staticfiles import finders
from django.templatetags.static import StaticNode
def get_media(path):
result = finders.find(path, all=True)
return [os.path.realpath(path) for path in result]
def new_url(self, context):
"""Add a query s... | <commit_before><commit_msg>Add a query string static patch<commit_after>
import os
import time
from django.contrib.staticfiles import finders
from django.templatetags.static import StaticNode
def get_media(path):
result = finders.find(path, all=True)
return [os.path.realpath(path) for path in result]
def new... | |
0ef82c3b6b98da84f423a61482969cb1cdb64681 | setup.py | setup.py | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | Remove deprecated jsondiff entry point. | Remove deprecated jsondiff entry point.
| Python | mit | ZoomerAnalytics/jsondiff | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | <commit_before>import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests'... | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version... | <commit_before>import os
import re
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'jsondiff', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
setup(
name='jsondiff',
packages=find_packages(exclude=['tests'... |
7a4f8b1456183d48f508086887d7bb79a1f24dff | 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='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | Remove packages. tables not needed anymore, numpy installed with pandas | Remove packages. tables not needed anymore, numpy installed with pandas
| Python | mit | wind-python/windpowerlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... |
1f484b5001e53955a85bed2a8ea5da3ed3fde139 | setup.py | setup.py | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | Set cov-core dependency to 1.13.0 | Set cov-core dependency to 1.13.0
| Python | mit | ionelmc/pytest-cover,pytest-dev/pytest-cov,opoplawski/pytest-cov,schlamar/pytest-cov,moreati/pytest-cov | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
lo... | <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.7.0',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
... |
5d9032fc79466880c28b4472f152d517c027ab40 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | Add tools to package data | Add tools to package data | Python | bsd-3-clause | gtaylor/python-fedex,python-fedex-devs/python-fedex,gtaylor/python-fedex,python-fedex-devs/python-fedex,python-fedex-devs/python-fedex,gtaylor/python-fedex,python-fedex-devs/python-fedex,gtaylor/python-fedex | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: Eng... | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | #!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Op... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
import fedex
LONG_DESCRIPTION = open('README.rst').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: Eng... |
5af8feb0372ef6bb33b4fd686a30da95cabb6840 | setup.py | setup.py | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | Bump the version to 0.1. | Bump the version to 0.1.
| Python | mit | nejucomo/preconditions | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | <commit_before>#! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
descript... | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | #! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
description='Flexible, ... | <commit_before>#! /usr/bin/env python
import sys
from setuptools import setup
if 'upload' in sys.argv:
if '--sign' not in sys.argv and sys.argv[1:] != ['upload', '--help']:
raise SystemExit('Refusing to upload unsigned packages.')
PACKAGENAME = 'preconditions'
setup(
name=PACKAGENAME,
descript... |
95e0b154f8b612cdab3e255ee8450f7308800c3f | setup.py | setup.py | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | Install latest oedialect version from GitHub instead from PyPi | Install latest oedialect version from GitHub instead from PyPi
| Python | agpl-3.0 | openego/ego.io,openego/ego.io | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | <commit_before>#! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='... | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | <commit_before>#! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='... |
5b862e4c7ae236eb8fb476bb10eef2985c9e3bac | setup.py | setup.py | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | Replace extra deps with sync packages | Replace extra deps with sync packages
| Python | bsd-3-clause | rrader/aio_manager | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | <commit_before>from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web E... | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
... | <commit_before>from setuptools import setup, find_packages
classifiers = [
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web E... |
4a5496fc655818cfe87934c91c9be206957d221e | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | Fix code style to fix travis build | Fix code style to fix travis build
| Python | mit | gbv/wdmapper | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob ... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/version.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
... |
242c302f110fef9f2016d76c5e5b05a0c929497e | setup.py | setup.py | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | Switch to new version scheme, alpha timestamped today. | Switch to new version scheme, alpha timestamped today.
| Python | apache-2.0 | probcomp/bdbcontrib,probcomp/bdbcontrib | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | <commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/LICENS... | <commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# 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/... |
1c7cac04f9398abb824a7591caa381bcc495dcfe | setup.py | setup.py | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='11',
description='A python lib... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='12',
description='A python lib... | Increase version to 12 (it goes past 11!!!) | Increase version to 12 (it goes past 11!!!)
| Python | mit | Kane610/axis | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='11',
description='A python lib... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='12',
description='A python lib... | <commit_before># https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='11',
descriptio... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='12',
description='A python lib... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='11',
description='A python lib... | <commit_before># https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='11',
descriptio... |
5194e3d8c433bcd427b04eb3611834aa36e3d0ac | setup.py | setup.py | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | Install beautifulsoup4 with lxml parser | Install beautifulsoup4 with lxml parser
| Python | agpl-3.0 | carlodef/s2p,MISS3D/s2p,MISS3D/s2p,MISS3D/s2p,MISS3D/s2p,carlodef/s2p,mnhrdt/s2p,mnhrdt/s2p | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | <commit_before>import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip i... | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | <commit_before>import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip i... |
4f672bd867e1e94b8b78f0f50d3da1be93af84d2 | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
execfile('kronos/version.py')
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kronos',
version=__version__,
description='... | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
exec(compile(open('kronos/version.py').read(), 'kronos/version.py', 'exec'))
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kron... | Change execfile to exec() for python 3 | Change execfile to exec() for python 3
| Python | mit | joshblum/django-kronos,jgorset/django-kronos,jgorset/django-kronos,joshblum/django-kronos,jeanbaptistelab/django-kronos,jeanbaptistelab/django-kronos | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
execfile('kronos/version.py')
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kronos',
version=__version__,
description='... | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
exec(compile(open('kronos/version.py').read(), 'kronos/version.py', 'exec'))
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kron... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
execfile('kronos/version.py')
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kronos',
version=__version__,
... | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
exec(compile(open('kronos/version.py').read(), 'kronos/version.py', 'exec'))
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kron... | #!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
execfile('kronos/version.py')
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kronos',
version=__version__,
description='... | <commit_before>#!/usr/bin/env python
import os
from setuptools import setup
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
execfile('kronos/version.py')
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-kronos',
version=__version__,
... |
57ed6bb3994342fce594c9cbbb0ecde4ee8c117c | setup.py | setup.py | from setuptools import setup
setup(
name="Flask-Redistore",
version="1.0",
url="",
license="BSD",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
description="Adds Redis support to your Flask applications",
long_description=open("README.rst").read(),
py_modules=["fl... | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outsi... | Enable running tests with py.test | Enable running tests with py.test
| Python | bsd-2-clause | dstufft/Flask-Redistore | from setuptools import setup
setup(
name="Flask-Redistore",
version="1.0",
url="",
license="BSD",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
description="Adds Redis support to your Flask applications",
long_description=open("README.rst").read(),
py_modules=["fl... | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outsi... | <commit_before>from setuptools import setup
setup(
name="Flask-Redistore",
version="1.0",
url="",
license="BSD",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
description="Adds Redis support to your Flask applications",
long_description=open("README.rst").read(),
... | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outsi... | from setuptools import setup
setup(
name="Flask-Redistore",
version="1.0",
url="",
license="BSD",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
description="Adds Redis support to your Flask applications",
long_description=open("README.rst").read(),
py_modules=["fl... | <commit_before>from setuptools import setup
setup(
name="Flask-Redistore",
version="1.0",
url="",
license="BSD",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
description="Adds Redis support to your Flask applications",
long_description=open("README.rst").read(),
... |
d6dcc2162ad24cd46b1b2661f996e6a90f77da94 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: defcon requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Leming"... | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: fontMath requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Lemin... | Correct name of package in warning message | Correct name of package in warning message | Python | mit | typesupply/fontMath,anthrotype/fontMath,moyogo/fontMath | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: defcon requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Leming"... | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: fontMath requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Lemin... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: defcon requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
auth... | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: fontMath requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Lemin... | #!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: defcon requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
author="Tal Leming"... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
try:
import robofab
except:
print "*** Warning: defcon requires RoboFab, see:"
print " robofab.com"
setup(name="fontMath",
version="0.2",
description="A set of objects for performing math operations on font data.",
auth... |
370aa8094a9a2cc67acc414ceb7f24dd33fd7e68 | setup.py | setup.py | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.0.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.2.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | Fix package version and remove django from list of required packages. | Fix package version and remove django from list of required packages.
| Python | mit | Alexx-G/django-unicode-urls | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.0.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.2.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | <commit_before>from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.0.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
aut... | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.2.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.0.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
author_email='alex... | <commit_before>from distutils.core import setup
LONG_DESC = """
Unicode URLS in django."""
setup(
name='unicode_urls',
packages=['unicode_urls', 'unicode_urls.django', 'unicode_urls.cms'],
version='0.0.1',
long_description=LONG_DESC,
description='Unicode urls.',
author='Alex Gavrisco',
aut... |
a0a0a92e6cf1e2f0f288c46d75c66ec74e0b08be | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=find_packages... | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=['voltron'],
... | Fix install per \@8BitAce's PR | Fix install per \@8BitAce's PR
| Python | mit | snare/voltron,snare/voltron,snare/voltron,snare/voltron | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=find_packages... | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=['voltron'],
... | <commit_before>from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
package... | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=['voltron'],
... | from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
packages=find_packages... | <commit_before>from setuptools import setup, find_packages
setup(
name="voltron",
version="0.1",
author="snare",
author_email="snare@ho.ax",
description=("A UI for GDB & LLDB"),
license="Buy snare a beer",
keywords="voltron gdb lldb",
url="https://github.com/snarez/voltron",
package... |
c62a0ceecd9067dad757d3def34ce747557b2509 | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.15",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.16.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | Prepare for next dev cycle | Prepare for next dev cycle
| Python | mit | ProgramFan/bentoo | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.15",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.16.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.15",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.16.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.15",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.15",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... |
372b39cb1e4537b2f3221e71e310a4c928a81468 | tests/func/import/imported_actions/by_decorator_action_name/base_actions.py | tests/func/import/imported_actions/by_decorator_action_name/base_actions.py | from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
| from __future__ import unicode_literals
from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
| Test fix for Python 2. | Test fix for Python 2.
| Python | mit | igordejanovic/parglare,igordejanovic/parglare | from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
Test fix for Python 2. | from __future__ import unicode_literals
from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
| <commit_before>from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
<commit_msg>Test fix for Python 2.<commit_after> | from __future__ import unicode_literals
from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
| from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
Test fix for Python 2.from __future__ import unicode_literals
from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def N... | <commit_before>from parglare.actions import get_action_decorator
action = get_action_decorator()
@action('number')
def NUMERIC(_, value):
return float(value)
<commit_msg>Test fix for Python 2.<commit_after>from __future__ import unicode_literals
from parglare.actions import get_action_decorator
action = get_act... |
551b96a3a2f354b6aa281546a32a08f70c31c03f | mysite/views/testmode_switch.py | mysite/views/testmode_switch.py | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.GET['database'])
return redirect('/das... | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.args['database'])
return redirect('/',... | Fix a redirect error and adjust request object method call. | Fix a redirect error and adjust request object method call.
| Python | agpl-3.0 | RosesTheN00b/BudgetButlerWeb,RosesTheN00b/BudgetButlerWeb,RosesTheN00b/BudgetButlerWeb,RosesTheN00b/BudgetButlerWeb,RosesTheN00b/BudgetButlerWeb,RosesTheN00b/BudgetButlerWeb | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.GET['database'])
return redirect('/das... | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.args['database'])
return redirect('/',... | <commit_before>from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.GET['database'])
return... | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.args['database'])
return redirect('/',... | from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.GET['database'])
return redirect('/das... | <commit_before>from flask import redirect
from mysite.viewcore import viewcore
from mysite.test.FileSystemStub import FileSystemStub
from mysite.core import FileSystem
from mysite.viewcore import configuration_provider
def leave_debug(request):
viewcore.switch_database_instance(request.GET['database'])
return... |
b540d5c3943f6a21232428ecf717667c6beb48d5 | dmp/__init__.py | dmp/__init__.py | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | Change to try and improve importability | Change to try and improve importability
| Python | apache-2.0 | Multiscale-Genomics/mg-dm-api,Multiscale-Genomics/mg-dm-api | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | <commit_before>"""
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless req... | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | """
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | <commit_before>"""
.. Copyright 2016 EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless req... |
6c6e8d17bce3976a2ef766139f3692a78df2d0c4 | tests/unit/cloud/clouds/test_saltify.py | tests/unit/cloud/clouds/test_saltify.py | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import MagicMock
# Import Salt Libs
from salt.cloud.clouds i... | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import (
MagicMock,
patch
)
# Import Salt Libs
from ... | Update unit test for Saltify with credential verification | Update unit test for Saltify with credential verification
| Python | apache-2.0 | saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import MagicMock
# Import Salt Libs
from salt.cloud.clouds i... | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import (
MagicMock,
patch
)
# Import Salt Libs
from ... | <commit_before># -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import MagicMock
# Import Salt Libs
from salt... | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import (
MagicMock,
patch
)
# Import Salt Libs
from ... | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import MagicMock
# Import Salt Libs
from salt.cloud.clouds i... | <commit_before># -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Alexander Schwartz <alexander.schwartz@gmx.net>`
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing Libs
from tests.support.unit import TestCase
from tests.support.mock import MagicMock
# Import Salt Libs
from salt... |
f9fa16fb2bc04d6bdddf19a939291e39b0fa1741 | ores/wsgi/routes/v3/precache.py | ores/wsgi/routes/v3/precache.py | import json
import logging
from urllib.parse import unquote
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/... | import logging
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/", methods=["POST"])
@preprocessors.nocac... | Use the whole body of POST request as the json event in precaching | Use the whole body of POST request as the json event in precaching
| Python | mit | he7d3r/ores,wiki-ai/ores,wiki-ai/ores,wiki-ai/ores,he7d3r/ores,he7d3r/ores | import json
import logging
from urllib.parse import unquote
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/... | import logging
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/", methods=["POST"])
@preprocessors.nocac... | <commit_before>import json
import logging
from urllib.parse import unquote
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route... | import logging
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/", methods=["POST"])
@preprocessors.nocac... | import json
import logging
from urllib.parse import unquote
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route("/v3/precache/... | <commit_before>import json
import logging
from urllib.parse import unquote
from flask import request
from . import scores
from ... import preprocessors, responses, util
logger = logging.getLogger(__name__)
def configure(config, bp, scoring_system):
precache_map = util.build_precache_map(config)
@bp.route... |
4612d1ab6b3694e5926f54a55fefa305cac4e8bf | myhronet/utils.py | myhronet/utils.py | # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[0]
else:
return request.META['REMOTE_ADDR']
| # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[-1]
else:
return request.META['REMOTE_ADDR']
| Fix client IP detection behind reverse proxy | Fix client IP detection behind reverse proxy
The `X-Forwarded-For` header can be easily spoofed by a client. When
forwarding a connection, nginx appends the real detected IP to the the
list. So, what we need is actually the last one on this list, not the
first one.
| Python | mit | myhro/myhronet,myhro/myhronet | # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[0]
else:
return request.META['REMOTE_ADDR']
Fix client IP detection behind reverse proxy
The `X-Forwarded-For` header can be easily spoofed by a client. When
forw... | # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[-1]
else:
return request.META['REMOTE_ADDR']
| <commit_before># -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[0]
else:
return request.META['REMOTE_ADDR']
<commit_msg>Fix client IP detection behind reverse proxy
The `X-Forwarded-For` header can be easily spo... | # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[-1]
else:
return request.META['REMOTE_ADDR']
| # -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[0]
else:
return request.META['REMOTE_ADDR']
Fix client IP detection behind reverse proxy
The `X-Forwarded-For` header can be easily spoofed by a client. When
forw... | <commit_before># -*- coding: utf-8 -*-
def get_client_ip(request):
ip = request.META.get('HTTP_X_FORWARDED_FOR')
if ip:
return ip.split(', ')[0]
else:
return request.META['REMOTE_ADDR']
<commit_msg>Fix client IP detection behind reverse proxy
The `X-Forwarded-For` header can be easily spo... |
7494c5506cbfed0a641003f38085bd74f35d38b4 | cryptchat/test/test_networkhandler.py | cryptchat/test/test_networkhandler.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.aes import AESCipher
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
def setUpClass(cls):
alice ... | Update test to run on new code | Update test to run on new code
| Python | mit | djohsson/Cryptchat | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.aes import AESCipher
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
def setUpClass(cls):
alice ... | <commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.aes import AESCipher
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@c... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
def setUpClass(cls):
alice ... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.aes import AESCipher
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@classmethod
... | <commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Run from Cryptchat
# python3 -m unittest discover
import unittest
from ..network.networkhandler import NetworkHandler
from ..crypto.aes import AESCipher
from ..crypto.diffiehellman import DiffieHellman
class testNetworkHandler(unittest.TestCase):
@c... |
c717ca0f2f85923dcf6ed3fd7a347f44f48f7941 | ocradmin/plugins/numpy_nodes.py | ocradmin/plugins/numpy_nodes.py |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
def validate(self):
super(RotateNode, self).validate()
if not self._params.... |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
_parameters = [{
"name": "num",
"value": 1,
}]
... | Add copy/pasted get_node function (TODO: Fix that), added parameters, fixed type | Add copy/pasted get_node function (TODO: Fix that), added parameters, fixed type
| Python | apache-2.0 | vitorio/ocropodium,vitorio/ocropodium,vitorio/ocropodium,vitorio/ocropodium |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
def validate(self):
super(RotateNode, self).validate()
if not self._params.... |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
_parameters = [{
"name": "num",
"value": 1,
}]
... | <commit_before>
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
def validate(self):
super(RotateNode, self).validate()
if no... |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
_parameters = [{
"name": "num",
"value": 1,
}]
... |
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
def validate(self):
super(RotateNode, self).validate()
if not self._params.... | <commit_before>
import node
import manager
import stages
import numpy
class Rotate90Node(node.Node):
"""
Rotate a Numpy image by num*90 degrees.
"""
arity = 1
stage = stages.FILTER_BINARY
name = "Numpy::Rotate90"
def validate(self):
super(RotateNode, self).validate()
if no... |
bece8b815ea3359433df708272ec3065d2c2a231 | examples/basic_siggen.py | examples/basic_siggen.py | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time, logging
import matplotlib
import matplotlib.pyplot as plt
logging.basicConfig(format='%(asctime)s:%(name)s:%(levelname)s::%(message)s')
logging.getLogger('pymoku').setLevel(logging.DEBUG)
# Use Moku.get_by_serial() or get... | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time
# Use Moku.get_by_serial() or get_by_name() if you don't know the IP
m = Moku.get_by_name("example")
i = SignalGenerator()
m.attach_instrument(i)
try:
i.synth_sinewave(1, 1.0, 1000000)
i.synth_squarewave(2, 1.0, 2000000, ... | Simplify and clean the siggen example | PM-133: Simplify and clean the siggen example
| Python | mit | liquidinstruments/pymoku | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time, logging
import matplotlib
import matplotlib.pyplot as plt
logging.basicConfig(format='%(asctime)s:%(name)s:%(levelname)s::%(message)s')
logging.getLogger('pymoku').setLevel(logging.DEBUG)
# Use Moku.get_by_serial() or get... | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time
# Use Moku.get_by_serial() or get_by_name() if you don't know the IP
m = Moku.get_by_name("example")
i = SignalGenerator()
m.attach_instrument(i)
try:
i.synth_sinewave(1, 1.0, 1000000)
i.synth_squarewave(2, 1.0, 2000000, ... | <commit_before>from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time, logging
import matplotlib
import matplotlib.pyplot as plt
logging.basicConfig(format='%(asctime)s:%(name)s:%(levelname)s::%(message)s')
logging.getLogger('pymoku').setLevel(logging.DEBUG)
# Use Moku.get_by_... | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time
# Use Moku.get_by_serial() or get_by_name() if you don't know the IP
m = Moku.get_by_name("example")
i = SignalGenerator()
m.attach_instrument(i)
try:
i.synth_sinewave(1, 1.0, 1000000)
i.synth_squarewave(2, 1.0, 2000000, ... | from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time, logging
import matplotlib
import matplotlib.pyplot as plt
logging.basicConfig(format='%(asctime)s:%(name)s:%(levelname)s::%(message)s')
logging.getLogger('pymoku').setLevel(logging.DEBUG)
# Use Moku.get_by_serial() or get... | <commit_before>from pymoku import Moku, ValueOutOfRangeException
from pymoku.instruments import *
import time, logging
import matplotlib
import matplotlib.pyplot as plt
logging.basicConfig(format='%(asctime)s:%(name)s:%(levelname)s::%(message)s')
logging.getLogger('pymoku').setLevel(logging.DEBUG)
# Use Moku.get_by_... |
5f416dadecf21accbaccd69740c5398967ec4a7c | doubles/nose.py | doubles/nose.py | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | Remove verification skipping in Nose plugin for now. | Remove verification skipping in Nose plugin for now.
| Python | mit | uber/doubles | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | <commit_before>from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
... | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
setup()
d... | <commit_before>from __future__ import absolute_import
import sys
from nose.plugins.base import Plugin
from doubles.lifecycle import setup, verify, teardown, current_space
from doubles.exceptions import MockExpectationError
class NoseIntegration(Plugin):
name = 'doubles'
def beforeTest(self, test):
... |
852ce5cee8171fdf4a33f3267de34042cb066bf3 | tests/routine/test_config.py | tests/routine/test_config.py | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | Update test to for Config.add_request and config-counts | Update test to for Config.add_request and config-counts
| Python | mit | BakeCode/performance-testing,BakeCode/performance-testing | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | <commit_before>import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, conf... | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, config.host)
... | <commit_before>import unittest
from performance.routine import Config
from performance.web import Request
class ConfigTestCase(unittest.TestCase):
def setUp(self):
self.host = 'http://www.google.com'
def test_init(self):
config = Config(host=self.host)
self.assertEqual(self.host, conf... |
9622a7dbac8fdaa97121b638aa72d43c446cb71c | astroquery/ogle/__init__.py | astroquery/ogle/__init__.py | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data hosted at: http://ogle.astrouw.edu.pl/cgi-ogle/getext.py.
Note:
If... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data
`hosted at. <http://ogle.astrouw.edu.pl/cgi-ogle/getext.py>`_
Note:
... | Add reST link for sphinx | Add reST link for sphinx
| Python | bsd-3-clause | imbasimba/astroquery,ceb8/astroquery,imbasimba/astroquery,ceb8/astroquery | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data hosted at: http://ogle.astrouw.edu.pl/cgi-ogle/getext.py.
Note:
If... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data
`hosted at. <http://ogle.astrouw.edu.pl/cgi-ogle/getext.py>`_
Note:
... | <commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data hosted at: http://ogle.astrouw.edu.pl/cgi-ogle/getext.... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data
`hosted at. <http://ogle.astrouw.edu.pl/cgi-ogle/getext.py>`_
Note:
... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data hosted at: http://ogle.astrouw.edu.pl/cgi-ogle/getext.py.
Note:
If... | <commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
OGLE Query Tool
---------------
:Author: Brian Svoboda (svobodb@email.arizona.edu)
This package is for querying interstellar extinction toward the Galactic bulge
from OGLE-III data hosted at: http://ogle.astrouw.edu.pl/cgi-ogle/getext.... |
1f9edc409029556bb943655de311f47dfd4c2237 | src/hijri_converter/__init__.py | src/hijri_converter/__init__.py | __version__ = "2.1.2"
| """Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"""
__version__ = "2.1.2"
| Add summary to package init | Add summary to package init
| Python | mit | dralshehri/hijri-converter | __version__ = "2.1.2"
Add summary to package init | """Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"""
__version__ = "2.1.2"
| <commit_before>__version__ = "2.1.2"
<commit_msg>Add summary to package init<commit_after> | """Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"""
__version__ = "2.1.2"
| __version__ = "2.1.2"
Add summary to package init"""Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"""
__version__ = "2.1.2"
| <commit_before>__version__ = "2.1.2"
<commit_msg>Add summary to package init<commit_after>"""Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"""
__version__ = "2.1.2"
|
562cad4342f9daff31ae383d96b2d86cabdca8fd | setup.py | setup.py | from distutils.core import setup, Extension
data_files = ["inpout32.dll"]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_modules=[Ext... | from distutils.core import setup, Extension
data_files = [("DLLs", ["inpout32.dll"])]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_... | Revert "Moved inpout32.dll from DLLs to Python27" | Revert "Moved inpout32.dll from DLLs to Python27"
This reverts commit 9274a30ba7c3ee82e4f5a94c276f26fa03d5fe89.
| Python | apache-2.0 | chickendiver/PortFunctions,chickendiver/PortFunctions | from distutils.core import setup, Extension
data_files = ["inpout32.dll"]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_modules=[Ext... | from distutils.core import setup, Extension
data_files = [("DLLs", ["inpout32.dll"])]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_... | <commit_before>from distutils.core import setup, Extension
data_files = ["inpout32.dll"]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
e... | from distutils.core import setup, Extension
data_files = [("DLLs", ["inpout32.dll"])]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_... | from distutils.core import setup, Extension
data_files = ["inpout32.dll"]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
ext_modules=[Ext... | <commit_before>from distutils.core import setup, Extension
data_files = ["inpout32.dll"]
setup(name='PortFunctions', version='1.1',
description = 'A Windows port reader for Python, built in C',
author = 'Bradley Poulette',
author_email = 'bpoulett@ualberta.ca',
data_files = data_files,
e... |
0cb6291d4134f527cc1bb905af836918c6994b13 | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | Fix for error when no X window detected. | [v0.1.2] Fix for error when no X window detected.
| Python | mit | M157q/gettitle | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | <commit_before>#!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
... | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | #!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
packages=fi... | <commit_before>#!/usr/bin/env python3
from setuptools import find_packages, setup
dependency_links = [
'https://github.com/m157q/robobrowser/tarball/babf6dd#egg=robobrowser-0.5.3'
]
install_requires = [
'beautifulsoup4==4.4.1',
'dryscrape==1.0',
'requests==2.10.0',
'robobrowser==0.5.3',
]
setup(
... |
1ed2f877556fb4a99f9e71177c1ada7585ed9a30 | setup.py | setup.py | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | Change compile CLI entry point name to urbansim_compile. | Change compile CLI entry point name to urbansim_compile.
| Python | bsd-3-clause | synthicity/urbansim,UDST/urbansim,UDST/urbansim,bricegnichols/urbansim,apdjustino/urbansim,synthicity/urbansim,AZMAG/urbansim,bricegnichols/urbansim,ual/urbansim,apdjustino/urbansim,VladimirTyrin/urbansim,ual/urbansim,UDST/urbansim,AZMAG/urbansim,waddell/urbansim,VladimirTyrin/urbansim,waddell/urbansim,waddell/urbansim... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license='AGPL',
u... | <commit_before>from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='urbansim',
version='0.2dev',
description='Tool for modeling metropolitan real estate markets',
author='Synthicity',
author_email='ffoti@berkeley.edu',
license... |
9c4fb8e031b2856c0cb425d64b0e7d032a4b5a19 | setup.py | setup.py | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | Add cachetools to install reqs. | Add cachetools to install reqs.
| Python | bsd-3-clause | lebedov/chash | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | <commit_before>#!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = ... | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | #!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = 'http... | <commit_before>#!/usr/bin/env python
import os
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
NAME = 'chash'
VERSION = '0.1.0'
AUTHOR = 'Lev Givon'
AUTHOR_EMAIL = 'lev@columbia.edu'
URL = ... |
a85dda3ae44782e897384e046b37b7de5811cef2 | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS project',
author_email='dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | Fix author name and email | Fix author name and email
| Python | agpl-3.0 | adamkalis/satnogs-client,adamkalis/satnogs-client | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS project',
author_email='dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | <commit_before>from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment ... | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS project',
author_email='dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
... | <commit_before>from setuptools import find_packages, setup
setup(
name='satnogsclient',
version='0.2.5',
url='https://github.com/satnogs/satnogs-client/',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
classifiers=[
'Development Status :: 4 - Beta',
'Environment ... |
e9a445a4c12986680654e1ccb2feb3917ccbd263 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@stdout.be',
url='http://stdbrouw.github.com/python-addressable/',
do... | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@debrouwere.org',
url='https://github.com/debrouwere/python-addressable/',
... | Fix faulty URL reference in the package metadata. | Fix faulty URL reference in the package metadata.
| Python | isc | debrouwere/python-addressable | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@stdout.be',
url='http://stdbrouw.github.com/python-addressable/',
do... | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@debrouwere.org',
url='https://github.com/debrouwere/python-addressable/',
... | <commit_before>from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@stdout.be',
url='http://stdbrouw.github.com/python-addressa... | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@debrouwere.org',
url='https://github.com/debrouwere/python-addressable/',
... | from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@stdout.be',
url='http://stdbrouw.github.com/python-addressable/',
do... | <commit_before>from setuptools import setup, find_packages
setup(name='addressable',
description='Use lists like you would dictionaries.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='stijn@stdout.be',
url='http://stdbrouw.github.com/python-addressa... |
8f70e822a53ec4d00764c97e65597078c5e0c2b7 | setup.py | setup.py | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | Remove upper bound on jaraco.util. Incompatibility will be handled as it's encountered. | Remove upper bound on jaraco.util. Incompatibility will be handled as it's encountered.
| Python | mit | jaraco/irc | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | <commit_before>import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argpar... | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argparse'] if sys.ver... | <commit_before>import sys
import setuptools
def read_long_description():
with open('README.rst') as f:
data = f.read()
with open('CHANGES.rst') as f:
data += '\n\n' + f.read()
return data
importlib_req = ['importlib'] if sys.version_info < (2,7) else []
argparse_req = ['argpar... |
084f70c87cf4a22d797ac282ba7f074802f6e6b3 | setup.py | setup.py | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='rafem',
version='0.1.0',
author='Katherine Ratliff',
author_email='k.ratliff@duke.edu',
description='River Avulsion Flooplain Evolution Model',
long_descrip... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from model_metadata.utils import get_cmdclass, get_entry_points
pymt_components = [
(
"BmiRiverModule=rafem:BmiRiverModule",
".bmi",
)
]
setup(name='rafem',
version=... | Install rafem as a pymt component. | Install rafem as a pymt component.
| Python | mit | katmratliff/avulsion-bmi,mcflugen/avulsion-bmi | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='rafem',
version='0.1.0',
author='Katherine Ratliff',
author_email='k.ratliff@duke.edu',
description='River Avulsion Flooplain Evolution Model',
long_descrip... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from model_metadata.utils import get_cmdclass, get_entry_points
pymt_components = [
(
"BmiRiverModule=rafem:BmiRiverModule",
".bmi",
)
]
setup(name='rafem',
version=... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='rafem',
version='0.1.0',
author='Katherine Ratliff',
author_email='k.ratliff@duke.edu',
description='River Avulsion Flooplain Evolution Model',
... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from model_metadata.utils import get_cmdclass, get_entry_points
pymt_components = [
(
"BmiRiverModule=rafem:BmiRiverModule",
".bmi",
)
]
setup(name='rafem',
version=... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='rafem',
version='0.1.0',
author='Katherine Ratliff',
author_email='k.ratliff@duke.edu',
description='River Avulsion Flooplain Evolution Model',
long_descrip... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='rafem',
version='0.1.0',
author='Katherine Ratliff',
author_email='k.ratliff@duke.edu',
description='River Avulsion Flooplain Evolution Model',
... |
6327b3f0f7f27647bac4d169169f3d727fdfabc4 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes',
url='http:... | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
'pycurl'
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes... | Add pycurl as a dependency | Add pycurl as a dependency
| Python | bsd-3-clause | ktong/kubespawner,jupyterhub/kubespawner,jbmarcille/kubespawner,yuvipanda/jupyterhub-kubernetes-spawner | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes',
url='http:... | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
'pycurl'
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes... | <commit_before>from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes',... | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
'pycurl'
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes... | from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes',
url='http:... | <commit_before>from setuptools import setup, find_packages
setup(
name='jupyterhub-kubespawner',
version='0.5.1',
install_requires=[
'jupyterhub',
'pyyaml',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description='JupyterHub Spawner targetting Kubernetes',... |
cf3ba1d37ebcb037c7116097c55814c3af5f9512 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
author='Incuna Ltd',
... | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
long_description=open(... | Use readme in long description | Use readme in long description
| Python | bsd-2-clause | incuna/django-txtlocal | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
author='Incuna Ltd',
... | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
long_description=open(... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
author='... | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
long_description=open(... | from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
author='Incuna Ltd',
... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='0.2',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
author='... |
3f9cac3b9c36398a3eb6dba4ece49fc3656a56b0 | setup.py | setup.py | import os
from setuptools import Extension, find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
long_description = f.read()
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version="4.1.1",
ext_modules=[
... | import os
from pathlib import Path
from setuptools import Extension, find_packages, setup
PROJECT_ROOT = Path(__file__).parent
long_description = (PROJECT_ROOT / "README.md").read_text(encoding="utf8")
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version... | Add encoding to README read | Add encoding to README read
| Python | bsd-3-clause | joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument | import os
from setuptools import Extension, find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
long_description = f.read()
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version="4.1.1",
ext_modules=[
... | import os
from pathlib import Path
from setuptools import Extension, find_packages, setup
PROJECT_ROOT = Path(__file__).parent
long_description = (PROJECT_ROOT / "README.md").read_text(encoding="utf8")
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version... | <commit_before>import os
from setuptools import Extension, find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
long_description = f.read()
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version="4.1.1",
ext_mo... | import os
from pathlib import Path
from setuptools import Extension, find_packages, setup
PROJECT_ROOT = Path(__file__).parent
long_description = (PROJECT_ROOT / "README.md").read_text(encoding="utf8")
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version... | import os
from setuptools import Extension, find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
long_description = f.read()
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version="4.1.1",
ext_modules=[
... | <commit_before>import os
from setuptools import Extension, find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
long_description = f.read()
setup(
name="pyinstrument",
packages=find_packages(include=["pyinstrument", "pyinstrument.*"]),
version="4.1.1",
ext_mo... |
f7709dc6de24c1acb36abcfd3d07f2b3a5130dfa | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | Include dot so that data files don't get their first letters cut off | Include dot so that data files don't get their first letters cut off
| Python | mit | moble/spherical_functions | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner ... | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | #!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner D Matrices, spi... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2014, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE>
from distutils.core import setup
setup(name='spherical_functions',
version='1.0',
description='Python/numba implementation of Wigner ... |
c3103d881024cef6a7790d47e4937838cf97c4a5 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | Add xdg as a dependency | Add xdg as a dependency
| Python | mit | release-engineering/releng-sop,release-engineering/releng-sop | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@r... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@redhat.com",
... | <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Enginering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
author_email="dmach@r... |
55718e4cc706341058d8bd2192598f9fa6ca8e22 | setup.py | setup.py | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.1',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
packages=['idlk'],
... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.9',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
url='https://github.... | Add specifiers and bump version | Add specifiers and bump version
| Python | mit | znerol/py-idlk | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.1',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
packages=['idlk'],
... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.9',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
url='https://github.... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.1',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
packa... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.9',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
url='https://github.... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.1',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
packages=['idlk'],
... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from setuptools import setup
setup(
name='idlk',
version='0.0.1',
description='idlk lock filename generator',
author='Lorenz Schori',
author_email='lo@znerol.ch',
packa... |
0571579b98f516c208e6e84ae77abe25c4f248fc | setup.py | setup.py | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name=... | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_long_des... | Use README.rst as long_description for package info. | Use README.rst as long_description for package info.
| Python | apache-2.0 | ahawker/scratchdir | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name=... | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_long_des... | <commit_before>"""
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
s... | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_long_des... | """
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name=... | <commit_before>"""
scratchdir
~~~~~~~~~~
Context manager used to maintain your temporary directories/files.
:copyright: (c) 2017 Andrew Hawker.
:license: Apache 2.0, see LICENSE for more details.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
s... |
e7a6eb6f63356f19a6deafb0b087f8deedc363c2 | setup.py | setup.py | from setuptools import setup
dependencies = [
'requests~=2.7'
]
setup(
name='eclipsegen',
version='0.4.1',
description='Generate Eclipse instances in Python',
url='http://github.com/Gohla/eclipsegen',
author='Gabriel Konat',
author_email='gabrielkonat@gmail.com',
license='Apache 2.0',
packages=['ecl... | from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
import os
dependencies = [
'requests~=2.7'
]
class PostDevelopCommand(develop):
def run(self):
make_director_executable()
class PostInstallCommand(install):
def run(self):
make_dir... | Make director scripts executable after installing, as they does not always seem to be executable. | Make director scripts executable after installing, as they does not always seem to be executable.
| Python | apache-2.0 | Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen | from setuptools import setup
dependencies = [
'requests~=2.7'
]
setup(
name='eclipsegen',
version='0.4.1',
description='Generate Eclipse instances in Python',
url='http://github.com/Gohla/eclipsegen',
author='Gabriel Konat',
author_email='gabrielkonat@gmail.com',
license='Apache 2.0',
packages=['ecl... | from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
import os
dependencies = [
'requests~=2.7'
]
class PostDevelopCommand(develop):
def run(self):
make_director_executable()
class PostInstallCommand(install):
def run(self):
make_dir... | <commit_before>from setuptools import setup
dependencies = [
'requests~=2.7'
]
setup(
name='eclipsegen',
version='0.4.1',
description='Generate Eclipse instances in Python',
url='http://github.com/Gohla/eclipsegen',
author='Gabriel Konat',
author_email='gabrielkonat@gmail.com',
license='Apache 2.0',
... | from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
import os
dependencies = [
'requests~=2.7'
]
class PostDevelopCommand(develop):
def run(self):
make_director_executable()
class PostInstallCommand(install):
def run(self):
make_dir... | from setuptools import setup
dependencies = [
'requests~=2.7'
]
setup(
name='eclipsegen',
version='0.4.1',
description='Generate Eclipse instances in Python',
url='http://github.com/Gohla/eclipsegen',
author='Gabriel Konat',
author_email='gabrielkonat@gmail.com',
license='Apache 2.0',
packages=['ecl... | <commit_before>from setuptools import setup
dependencies = [
'requests~=2.7'
]
setup(
name='eclipsegen',
version='0.4.1',
description='Generate Eclipse instances in Python',
url='http://github.com/Gohla/eclipsegen',
author='Gabriel Konat',
author_email='gabrielkonat@gmail.com',
license='Apache 2.0',
... |
b635eddbe3ad344b02ecae47333a4ddf4b17cd18 | bin/remotePush.py | bin/remotePush.py | import json,httplib
config_file = open('conf/net/ext_service/parse.json')
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Application-Id": co... | import json,httplib
config_data = json.load(open('conf/net/ext_service/parse.json'))
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Applicat... | Fix minor issue in remote push | Fix minor issue in remote push
We need to open the file and then parse it as json
| Python | bsd-3-clause | joshzarrabi/e-mission-server,sunil07t/e-mission-server,joshzarrabi/e-mission-server,yw374cornell/e-mission-server,e-mission/e-mission-server,joshzarrabi/e-mission-server,joshzarrabi/e-mission-server,shankari/e-mission-server,yw374cornell/e-mission-server,e-mission/e-mission-server,e-mission/e-mission-server,sunil07t/e-... | import json,httplib
config_file = open('conf/net/ext_service/parse.json')
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Application-Id": co... | import json,httplib
config_data = json.load(open('conf/net/ext_service/parse.json'))
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Applicat... | <commit_before>import json,httplib
config_file = open('conf/net/ext_service/parse.json')
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Appl... | import json,httplib
config_data = json.load(open('conf/net/ext_service/parse.json'))
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Applicat... | import json,httplib
config_file = open('conf/net/ext_service/parse.json')
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Application-Id": co... | <commit_before>import json,httplib
config_file = open('conf/net/ext_service/parse.json')
silent_push_msg = {
"where": {
"deviceType": "ios"
},
"data": {
# "alert": "The Mets scored! The game is now tied 1-1.",
"content-available": 1,
"sound": "",
}
}
parse_headers = {
"X-Parse-Appl... |
6b667b62ad1987c2a312a918df77c0ebb77af298 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
]
setup(
name='djang... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
'whoosh',
]
setup(
... | Add whoosh as test dependancy | Add whoosh as test dependancy
| Python | bsd-3-clause | beniwohli/apm-agent-python,songyi199111/sentry,looker/sentry,jbarbuto/raven-python,jmp0xf/raven-python,arthurlogilab/raven-python,mvaled/sentry,looker/sentry,someonehan/raven-python,collective/mr.poe,felixbuenemann/sentry,Goldmund-Wyldebeast-Wunderliebe/raven-python,pauloschilling/sentry,1tush/sentry,nikolas/raven-pyth... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
]
setup(
name='djang... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
'whoosh',
]
setup(
... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
]
setup(
... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
'whoosh',
]
setup(
... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
]
setup(
name='djang... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
tests_require = [
'django',
'django-celery',
'south',
'django-haystack',
]
setup(
... |
3315ce5ce730f0607c16864e12b6bbb7b2a1c69e | setup.py | setup.py | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | Fix Django dependency: update Django version from 1.4 to 1.8 | Fix Django dependency: update Django version from 1.4 to 1.8
| Python | mit | teddziuba/django-sslserver | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | <commit_before>from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslse... | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslserver",
pa... | <commit_before>from distutils.core import setup
import sslserver
setup(name="django-sslserver",
version=sslserver.__version__,
author="Ted Dziuba",
author_email="tjdziuba@gmail.com",
description="An SSL-enabled development server for Django",
url="https://github.com/teddziuba/django-sslse... |
f75d3c71bbcebbfa574d83ff336f55d36dce4d48 | setup.py | setup.py | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | Use entry_point instead of script for Windows (from sirhcel on github) | Use entry_point instead of script for Windows
(from sirhcel on github) | Python | mit | inorton/junit2html | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | <commit_before>from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlrepor... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | <commit_before>from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="023",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlrepor... |
8bb278bdba0d6325d3c9b7fbc26807e36fa90cdd | setup.py | setup.py | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | Add license meta for pypi | Add license meta for pypi
Add license meta for pypi. | Python | mit | guzzle/guzzle_sphinx_theme,guzzle/guzzle_sphinx_theme | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | <commit_before>from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx... | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx_theme',
pa... | <commit_before>from setuptools import setup
setup(
name='guzzle_sphinx_theme',
version='0.7.11',
description='Sphinx theme used by Guzzle.',
long_description=open('README.rst').read(),
author='Michael Dowling',
author_email='mtdowling@gmail.com',
url='https://github.com/guzzle/guzzle_sphinx... |
cdfd38a552f0f1bf0738e8c2d02f40c44db3fee3 | setup.py | setup.py | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="0.0.1",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="1.0.0",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | Update release version to 1.0.0 | Update release version to 1.0.0
| Python | mit | krux/pysecurity-groups | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="0.0.1",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="1.0.0",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | <commit_before>### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="0.0.1",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathr... | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="1.0.0",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | ### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="0.0.1",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathrop',
auth... | <commit_before>### -*- coding: utf-8 -*-
###
### © 2012 Krux Digital, Inc.
### Author: Paul Lathrop <paul@krux.com>
###
from setuptools import setup, find_packages
setup(name='pysecurity-groups',
version="0.0.1",
description='Library for working with EC2 security groups in bulk.',
author='Paul Lathr... |
c4ab1f10227fa98158127a390ab6b2a2b472a972 | setup.py | setup.py | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | Use github repo as package url. | Use github repo as package url.
| Python | mit | jaap3/sourcebuilder | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | <commit_before>import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
... | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
version=version... | <commit_before>import codecs
from os.path import join, dirname
from setuptools import setup, find_packages
version = '1.0dev'
read = lambda *rnames: unicode(codecs.open(join(dirname(__file__), *rnames),
encoding='utf-8').read()).strip()
setup(
name='sourcebuilder',
... |
dd7b0abe5cdd94c90af5705b261463285f70d2d2 | setup.py | setup.py | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | Make cent package a requirement | Make cent package a requirement
| Python | mit | breakbase/flask-cent | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | <commit_before>'''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith... | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | '''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith('__version_inf... | <commit_before>'''
Flask-Cent
-----------
Flask-Cent is a flask extension for centrifugal/cent
'''
import os
import sys
from setuptools import setup
module_path = os.path.join(os.path.dirname(__file__), 'flask_cent.py')
version_line = [line for line in open(module_path)
if line.startswith... |
f9784cd3f03094ab92e58c5168300f068668f905 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires['numpy', 'rply', 'scip... | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires=['numpy', 'rply', 'sci... | Fix incorrect specification for install_requires. | Fix incorrect specification for install_requires.
| Python | mit | HazenBabcock/opensdraw | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires['numpy', 'rply', 'scip... | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires=['numpy', 'rply', 'sci... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires['numpy'... | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires=['numpy', 'rply', 'sci... | #!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires['numpy', 'rply', 'scip... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='OpenSDraw',
version='0.0.2',
description='A CAD program similar to OpenSCAD but for LEGO(R).',
author='Hazen Babcock',
author_email='hbabcock@mac.com',
packages=['opensdraw'],
install_requires['numpy'... |
8ed290524a4e8459bd448521633be62600df42fd | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction",
long_de... | #!/usr/bin/env python3
from setuptools import setup, find_packages
with open("README.md", encoding='utf8') as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction"... | Modify encoding for open README to prevent ascii errors | Modify encoding for open README to prevent ascii errors
| Python | mit | kevthehermit/RATDecoders | #!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction",
long_de... | #!/usr/bin/env python3
from setuptools import setup, find_packages
with open("README.md", encoding='utf8') as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction"... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extractio... | #!/usr/bin/env python3
from setuptools import setup, find_packages
with open("README.md", encoding='utf8') as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction"... | #!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extraction",
long_de... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='malwareconfig',
version='1.0.3',
author='Kevin Breen',
author_email='thehermit@malwareconfig.com',
description="Malware Config Extractio... |
6d5d9e72125e5d281af3a93a83974c47e3400b95 | tasks.py | tasks.py | from arctasks import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
| from arctasks.base import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
| Fix lint task import path | Fix lint task import path
| Python | mit | wylee/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,PSU-OIT-ARC/django-arcutils | from arctasks import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
Fix lint task import path | from arctasks.base import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
| <commit_before>from arctasks import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
<commit_msg>Fix lint task import path<commit_after> | from arctasks.base import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
| from arctasks import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
Fix lint task import pathfrom arctasks.base import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
| <commit_before>from arctasks import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release import * # noqa
<commit_msg>Fix lint task import path<commit_after>from arctasks.base import lint # noqa
from arctasks.python import show_upgraded_packages # noqa
from arctasks.release im... |
46bf4915426b14db84c46a0109645a3a0f3fa94d | mando/__init__.py | mando/__init__.py | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # unfortunately this is the only workaround for argparse
# and Python 2.6
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.e... | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # pragma: no cover
# unfortunately the only workaround for Python2.6, argparse and setup.py
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execu... | Add a pragma comment to importerror | Add a pragma comment to importerror
| Python | mit | rubik/mando,MarioSchwalbe/mando,MarioSchwalbe/mando | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # unfortunately this is the only workaround for argparse
# and Python 2.6
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.e... | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # pragma: no cover
# unfortunately the only workaround for Python2.6, argparse and setup.py
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execu... | <commit_before>__version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # unfortunately this is the only workaround for argparse
# and Python 2.6
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
e... | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # pragma: no cover
# unfortunately the only workaround for Python2.6, argparse and setup.py
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execu... | __version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # unfortunately this is the only workaround for argparse
# and Python 2.6
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.e... | <commit_before>__version__ = '0.3.2'
try:
from mando.core import Program
except ImportError as e: # unfortunately this is the only workaround for argparse
# and Python 2.6
e.version = __version__
raise e
main = Program()
command = main.command
arg = main.arg
parse = main.parse
e... |
62151b04bd46fc1f586b179cdaeeca8ba3e18fed | markups/common.py | markups/common.py | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | Use HTTPS url for MathJax script | Use HTTPS url for MathJax script
| Python | bsd-3-clause | mitya57/pymarkups,retext-project/pymarkups | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | <commit_before># This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('... | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | # This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('~/.config'))
MA... | <commit_before># This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2012
import os.path
# Some common constants and functions
(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)
CONFIGURATION_DIR = (os.environ.get('XDG_CONFIG_HOME') or
os.path.expanduser('... |
ed98c04ed7d5e99422a65fbdbf45f222aca408ca | poradnia/template_mail/utils.py | poradnia/template_mail/utils.py | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | Fix new mail subject header bug | Fix new mail subject header bug
| Python | mit | watchdogpolska/poradnia.siecobywatelska.pl,rwakulszowa/poradnia,watchdogpolska/poradnia,watchdogpolska/poradnia.siecobywatelska.pl,watchdogpolska/poradnia.siecobywatelska.pl,rwakulszowa/poradnia,watchdogpolska/poradnia,rwakulszowa/poradnia,watchdogpolska/poradnia,watchdogpolska/poradnia,rwakulszowa/poradnia | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | <commit_before>from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.re... | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.render(c).split("... | <commit_before>from django.template import loader, Context
from django.core.mail import send_mail
from django.conf import settings
def send_tpl_email(template_name, recipient_list, context=None, from_email=None, **kwds):
t = loader.get_template(template_name)
c = Context(context or {})
subject, txt = t.re... |
191ba72a2d8b2e47363fcdbd200549ff3eef18fb | plex/objects/library/section.py | plex/objects/library/section.py | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | Fix issue with "titles" in SectionContainer.filter() | Fix issue with "titles" in SectionContainer.filter()
| Python | mit | fuzeman/plex.py | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | <commit_before>from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agen... | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agent = Property
... | <commit_before>from plex.core.helpers import to_iterable
from plex.objects.container import Container
from plex.objects.core.base import Property
from plex.objects.directory import Directory
class Section(Directory):
uuid = Property
filters = Property(type=bool)
refreshing = Property(type=bool)
agen... |
1cdd8add2807ecedb7efb23428075423dcf9bfd2 | ehriportal/suggestions/forms.py | ehriportal/suggestions/forms.py | """Form for submitting suggestions."""
from django import forms
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label="Name",
widget=forms.TextInput(attrs={'placeholder': 'Name'}))
email = forms.EmailField(label="Email", required=False,... | """Form for submitting suggestions."""
from django import forms
from django.utils.translation import ugettext as _
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label=_("Name"),
widget=forms.TextInput(attrs={'placeholder': _('Name')}))
... | Add some translation stuff on the suggestion form | Add some translation stuff on the suggestion form
| Python | mit | mikesname/ehri-collections,mikesname/ehri-collections,mikesname/ehri-collections | """Form for submitting suggestions."""
from django import forms
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label="Name",
widget=forms.TextInput(attrs={'placeholder': 'Name'}))
email = forms.EmailField(label="Email", required=False,... | """Form for submitting suggestions."""
from django import forms
from django.utils.translation import ugettext as _
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label=_("Name"),
widget=forms.TextInput(attrs={'placeholder': _('Name')}))
... | <commit_before>"""Form for submitting suggestions."""
from django import forms
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label="Name",
widget=forms.TextInput(attrs={'placeholder': 'Name'}))
email = forms.EmailField(label="Email", ... | """Form for submitting suggestions."""
from django import forms
from django.utils.translation import ugettext as _
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label=_("Name"),
widget=forms.TextInput(attrs={'placeholder': _('Name')}))
... | """Form for submitting suggestions."""
from django import forms
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label="Name",
widget=forms.TextInput(attrs={'placeholder': 'Name'}))
email = forms.EmailField(label="Email", required=False,... | <commit_before>"""Form for submitting suggestions."""
from django import forms
from suggestions import models
class SuggestionForm(forms.ModelForm):
name = forms.CharField(max_length=100, label="Name",
widget=forms.TextInput(attrs={'placeholder': 'Name'}))
email = forms.EmailField(label="Email", ... |
c21c2f4879c48b6a881b480df7bbfbff47ffffcc | src/mmw/apps/modeling/calcs.py | src/mmw/apps/modeling/calcs.py | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | Align animal population counts rounding | Align animal population counts rounding
- round animal population counts down for the frontend "analyze" display to match the MapShed implementation
| Python | apache-2.0 | WikiWatershed/model-my-watershed,project-icp/bee-pollinator-app,project-icp/bee-pollinator-app,WikiWatershed/model-my-watershed,project-icp/bee-pollinator-app,kdeloach/model-my-watershed,WikiWatershed/model-my-watershed,kdeloach/model-my-watershed,kdeloach/model-my-watershed,project-icp/bee-pollinator-app,WikiWatershed... | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | <commit_before># -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = sett... | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = settings.GWLFE_CONF... | <commit_before># -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from django.contrib.gis.geos import GEOSGeometry
from django.conf import settings
from apps.modeling.mapshed.calcs import animal_energy_units
ANIMAL_KEYS = sett... |
ae0158c49224464084e0302897c91e9c9fa7ffbe | webview.py | webview.py | """Main module for pyicemon webview"""
import SimpleHTTPServer
import SocketServer
import threading
import sys
import os
import logging
from monitor import Monitor
from publishers import WebsocketPublisher
from connection import Connection
PORT = 80
if __name__ == "__main__":
logging.basicConfig(level=logging.WA... | """Main module for pyicemon webview"""
# Handle difference in module name between python2/3.
try:
from SimpleHTTPServer import SimpleHTTPRequestHandler
except ImportError:
from http.server import SimpleHTTPRequestHandler
try:
from SocketServer import TCPServer
except ImportError:
from socketserver imp... | Make it work with python3. | Make it work with python3.
| Python | mit | DiscoViking/pyicemon,DiscoViking/pyicemon | """Main module for pyicemon webview"""
import SimpleHTTPServer
import SocketServer
import threading
import sys
import os
import logging
from monitor import Monitor
from publishers import WebsocketPublisher
from connection import Connection
PORT = 80
if __name__ == "__main__":
logging.basicConfig(level=logging.WA... | """Main module for pyicemon webview"""
# Handle difference in module name between python2/3.
try:
from SimpleHTTPServer import SimpleHTTPRequestHandler
except ImportError:
from http.server import SimpleHTTPRequestHandler
try:
from SocketServer import TCPServer
except ImportError:
from socketserver imp... | <commit_before>"""Main module for pyicemon webview"""
import SimpleHTTPServer
import SocketServer
import threading
import sys
import os
import logging
from monitor import Monitor
from publishers import WebsocketPublisher
from connection import Connection
PORT = 80
if __name__ == "__main__":
logging.basicConfig(l... | """Main module for pyicemon webview"""
# Handle difference in module name between python2/3.
try:
from SimpleHTTPServer import SimpleHTTPRequestHandler
except ImportError:
from http.server import SimpleHTTPRequestHandler
try:
from SocketServer import TCPServer
except ImportError:
from socketserver imp... | """Main module for pyicemon webview"""
import SimpleHTTPServer
import SocketServer
import threading
import sys
import os
import logging
from monitor import Monitor
from publishers import WebsocketPublisher
from connection import Connection
PORT = 80
if __name__ == "__main__":
logging.basicConfig(level=logging.WA... | <commit_before>"""Main module for pyicemon webview"""
import SimpleHTTPServer
import SocketServer
import threading
import sys
import os
import logging
from monitor import Monitor
from publishers import WebsocketPublisher
from connection import Connection
PORT = 80
if __name__ == "__main__":
logging.basicConfig(l... |
580eb57f68a8501cae925f747e94a8edb2c6a028 | accounts/tests.py | accounts/tests.py | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(self):
"""The root url should response with the welcome page template.
... | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
from accounts.models import LoginToken
TEST_EMAIL = 'newvisitor@example.com'
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(se... | Add unit test for LoginToken model | Add unit test for LoginToken model
| Python | mit | randomic/aniauth-tdd,randomic/aniauth-tdd | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(self):
"""The root url should response with the welcome page template.
... | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
from accounts.models import LoginToken
TEST_EMAIL = 'newvisitor@example.com'
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(se... | <commit_before>"""accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(self):
"""The root url should response with the welcome pag... | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
from accounts.models import LoginToken
TEST_EMAIL = 'newvisitor@example.com'
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(se... | """accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(self):
"""The root url should response with the welcome page template.
... | <commit_before>"""accounts app unittests
"""
from django.test import TestCase
from django.contrib.auth import get_user_model
class WelcomePageTest(TestCase):
"""Tests relating to the welcome_page view.
"""
def test_uses_welcome_template(self):
"""The root url should response with the welcome pag... |
48d9e6c2d36b7c1beb11f6574624731a88cdccbc | accounts/views.py | accounts/views.py | from django.views.generic import View
from django.shortcuts import render
class MemberProfileView(View):
template_name = 'accounts/profile.html'
def get(self, request):
return render(request, self.template_name) | from django.views.generic import View
from django.shortcuts import render
from django.contrib.auth.mixins import LoginRequiredMixin
class MemberProfileView(LoginRequiredMixin, View):
login_url = '/accounts/login/'
redirect_field_name = 'redirect_to'
template_name = 'accounts/profile.html'
def get(sel... | Add login required mixin to user profile | Add login required mixin to user profile
| Python | mit | davidjrichardson/uwcs-zarya,davidjrichardson/uwcs-zarya | from django.views.generic import View
from django.shortcuts import render
class MemberProfileView(View):
template_name = 'accounts/profile.html'
def get(self, request):
return render(request, self.template_name)Add login required mixin to user profile | from django.views.generic import View
from django.shortcuts import render
from django.contrib.auth.mixins import LoginRequiredMixin
class MemberProfileView(LoginRequiredMixin, View):
login_url = '/accounts/login/'
redirect_field_name = 'redirect_to'
template_name = 'accounts/profile.html'
def get(sel... | <commit_before>from django.views.generic import View
from django.shortcuts import render
class MemberProfileView(View):
template_name = 'accounts/profile.html'
def get(self, request):
return render(request, self.template_name)<commit_msg>Add login required mixin to user profile<commit_after> | from django.views.generic import View
from django.shortcuts import render
from django.contrib.auth.mixins import LoginRequiredMixin
class MemberProfileView(LoginRequiredMixin, View):
login_url = '/accounts/login/'
redirect_field_name = 'redirect_to'
template_name = 'accounts/profile.html'
def get(sel... | from django.views.generic import View
from django.shortcuts import render
class MemberProfileView(View):
template_name = 'accounts/profile.html'
def get(self, request):
return render(request, self.template_name)Add login required mixin to user profilefrom django.views.generic import View
from django.... | <commit_before>from django.views.generic import View
from django.shortcuts import render
class MemberProfileView(View):
template_name = 'accounts/profile.html'
def get(self, request):
return render(request, self.template_name)<commit_msg>Add login required mixin to user profile<commit_after>from djan... |
44514a724fc8eff464d4c26a7e9c213644c99e53 | elasticsearch_flex/tasks.py | elasticsearch_flex/tasks.py | from celery import shared_task
@shared_task
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
__all__ = ('updat... | from celery import shared_task
@shared_task(rate_limit='50/m')
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
... | Add rate-limit to update_indexed_document task | Add rate-limit to update_indexed_document task
| Python | mit | prashnts/dj-elasticsearch-flex,prashnts/dj-elasticsearch-flex | from celery import shared_task
@shared_task
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
__all__ = ('updat... | from celery import shared_task
@shared_task(rate_limit='50/m')
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
... | <commit_before>from celery import shared_task
@shared_task
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
__... | from celery import shared_task
@shared_task(rate_limit='50/m')
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
... | from celery import shared_task
@shared_task
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
__all__ = ('updat... | <commit_before>from celery import shared_task
@shared_task
def update_indexed_document(index, created, pk):
indexed_doc = index.init_using_pk(pk)
indexed_doc.prepare()
indexed_doc.save()
@shared_task
def delete_indexed_document(index, pk):
indexed_doc = index.get(id=pk)
indexed_doc.delete()
__... |
063d88ed5d5f48114cdf566433ae40d40a8674f4 | nbgrader/utils.py | nbgrader/utils.py | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | Make sure points in checksum are consistent | Make sure points in checksum are consistent
| Python | bsd-3-clause | EdwardJKim/nbgrader,modulexcite/nbgrader,jupyter/nbgrader,jhamrick/nbgrader,jdfreder/nbgrader,dementrock/nbgrader,ellisonbg/nbgrader,ellisonbg/nbgrader,ellisonbg/nbgrader,jhamrick/nbgrader,alope107/nbgrader,dementrock/nbgrader,MatKallada/nbgrader,EdwardJKim/nbgrader,ellisonbg/nbgrader,MatKallada/nbgrader,jdfreder/nbgra... | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | <commit_before>import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
... | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
if 'nbgrader' ... | <commit_before>import hashlib
import autopep8
def is_grade(cell):
"""Returns True if the cell is a grade cell."""
if 'nbgrader' not in cell.metadata:
return False
return cell.metadata['nbgrader'].get('grade', False)
def is_solution(cell):
"""Returns True if the cell is a solution cell."""
... |
ed8b6b615bc8d006e3e31843fa31f0bda09109ed | spec/puzzle/examples/public_domain/zebra_puzzle_spec.py | spec/puzzle/examples/public_domain/zebra_puzzle_spec.py | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | Update zebra puzzle to reflect LogicProblem changes. | Update zebra puzzle to reflect LogicProblem changes.
| Python | mit | PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | <commit_before>import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
ware... | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
warehouse.save()
... | <commit_before>import astor
from data import warehouse
from puzzle.examples.public_domain import zebra_puzzle
from puzzle.problems import logic_problem
from puzzle.puzzlepedia import prod_config
from spec.mamba import *
with _description('zebra_puzzle'):
with description('solution'):
with before.all:
ware... |
b2a7171aa274a1d1bfa0653fc9963e52b44dc904 | example/example/settings.py | example/example/settings.py | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['d... | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['default']['ATOMIC_... | Fix TEMPLATES setting in example project | Fix TEMPLATES setting in example project
| Python | bsd-2-clause | meshy/django-conman,meshy/django-conman | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['d... | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['default']['ATOMIC_... | <commit_before>import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
... | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['default']['ATOMIC_... | import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
)}
DATABASES['d... | <commit_before>import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = 'example-app!'
ROOT_URLCONF = 'example.urls'
STATIC_URL = '/static/'
DATABASES = {'default': dj_database_url.config(
default='postgres://localhost/conman_example',
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.