commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
a0631098b8f5c6e76a536598fcea478d41f1f2a8
Fix flake8 pt2
he7d3r/ores,wiki-ai/ores,wiki-ai/ores,he7d3r/ores,he7d3r/ores,wiki-ai/ores
setup.py
setup.py
import os import re import sys import platform from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "ores/about.py") exec(compile(open(about_path).read(), about_path, "exec")) if sys.version_info <= (3, 0): print("ORES needs Python 3 to run properly. Your version is " +...
import os import re import sys import platform from setuptools import find_packages, setup about_path = os.path.join(os.path.dirname(__file__), "ores/about.py") exec(compile(open(about_path).read(), about_path, "exec")) if sys.version_info <= (3, 0): print("ORES needs Python 3 to run properly. Your version is " +...
mit
Python
858b836d1592ff634e84c9d9affe0186233d1b2c
Bump version.
pozytywnie/django-facebook-auth,pozytywnie/django-facebook-auth
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup def read(name): from os import path return open(path.join(path.dirname(__file__), name)).read() setup( name='django-facebook-auth', version='3.8.3', description="Authorisation app for Facebook API.", long_description=read("README.rst"), u...
#!/usr/bin/env python from setuptools import setup def read(name): from os import path return open(path.join(path.dirname(__file__), name)).read() setup( name='django-facebook-auth', version='3.8.2', description="Authorisation app for Facebook API.", long_description=read("README.rst"), u...
mit
Python
3cb55c62bc2526a04fe03e97a8b870922a56fef1
Bump absl-py version to 0.1.12.
abseil/abseil-py,abseil/abseil-py
setup.py
setup.py
# Copyright 2017 The Abseil Authors. # # 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 ...
# Copyright 2017 The Abseil Authors. # # 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 ...
apache-2.0
Python
6528a9b20d6c1db98a55843f7b2a645c76e6e4d7
remove requirements
allanlei/rhinocloud-utils
setup.py
setup.py
from distutils.core import setup from setuptools import find_packages import os import sys def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def find_packages_in(where, **kwargs): return [where] + ['%s.%s' % (where, package) for package in find_packages(where=where, **kwargs)...
from distutils.core import setup from setuptools import find_packages import os import sys def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def find_packages_in(where, **kwargs): return [where] + ['%s.%s' % (where, package) for package in find_packages(where=where, **kwargs)...
bsd-3-clause
Python
b1f6ea2395344eafee3db5f0a49614be88af233a
bump version
blockcypher/bwallet,blockcypher/bcwallet
setup.py
setup.py
# https://youtu.be/kNke39OZ2k0?t=65 from setuptools import setup setup( name='bcwallet', version='1.1.13', description='Simple BIP32 HD cryptocurrecy command line wallet', author='Michael Flaxman', author_email='mflaxman+blockcypher@gmail.com', url='https://github.com/b...
# https://youtu.be/kNke39OZ2k0?t=65 from setuptools import setup setup( name='bcwallet', version='1.1.12', description='Simple BIP32 HD cryptocurrecy command line wallet', author='Michael Flaxman', author_email='mflaxman+blockcypher@gmail.com', url='https://github.com/b...
apache-2.0
Python
2ece428fef4c5a36a238c797116e53c34f7338e2
Fix 'python setup.py test' with import.
shakefu/pyconfig
setup.py
setup.py
import multiprocessing, logging # Fix atexit bug import os from setuptools import setup, find_packages def README(): try: return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() except: raise pass setup( name='pyconfig', version='1.0.3', ...
import os from setuptools import setup, find_packages def README(): try: return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() except: raise pass setup( name='pyconfig', version='1.0.3', description="Python-based singleton confi...
mit
Python
fd5595171e6d43853fece341cb4de0e0629875f1
bump version
olark/pagerdutyduty
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup kwargs = { "name": "pagerdutyduty", "version": "0.3", "py_modules": ["pagerdutyduty"], "scripts": ["bin/pagerdutyduty"], "description": "Set PagerDuty schedules with SMART COMPUTERS and YAML", "author": "Jeff Zellner", "maintainer": "J...
#!/usr/bin/env python from distutils.core import setup kwargs = { "name": "pagerdutyduty", "version": "0.2", "py_modules": ["pagerdutyduty"], "scripts": ["bin/pagerdutyduty"], "description": "Set PagerDuty schedules with SMART COMPUTERS and YAML", "author": "Jeff Zellner", "maintainer": "J...
bsd-3-clause
Python
504532d636ba48a01520e712872f8a57a84e9b81
Upgrade nydus
numan/sandsnake
setup.py
setup.py
#!/usr/bin/python from setuptools import setup, find_packages setup( name="sandsnake", license='Apache License 2.0', version="0.1.0ALPHA", description="Manage activity indexes for objects.", long_description=open('README.rst', 'r').read(), author="Numan Sachwani", author_email="numan856@gm...
#!/usr/bin/python from setuptools import setup, find_packages setup( name="sandsnake", license='Apache License 2.0', version="0.1.0ALPHA", description="Manage activity indexes for objects.", long_description=open('README.rst', 'r').read(), author="Numan Sachwani", author_email="numan856@gm...
apache-2.0
Python
dd7b1d78583c068b165efc3361463b340165d9ba
Bump version
YPlan/nexus,brilliant-org/nexus,roverdotcom/nexus,Raekkeri/nexus,blueprinthealth/nexus,brilliant-org/nexus,Raekkeri/nexus,graingert/nexus,disqus/nexus,blueprinthealth/nexus,disqus/nexus,disqus/nexus,blueprinthealth/nexus,roverdotcom/nexus,graingert/nexus,roverdotcom/nexus,YPlan/nexus,brilliant-org/nexus,YPlan/nexus,gra...
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): ...
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): ...
apache-2.0
Python
04e2da1a0c903c0332f7396ee1c1a27c234a9664
Fix switching using an environment variable via .pth file across builds (fixes #13)
skorokithakis/tbvaccine
setup.py
setup.py
#!/usr/bin/env python import os.path import sys from itertools import chain from setuptools import setup # noqa from setuptools.command.install_lib import install_lib exec(open('tbvaccine/version.py').read()) assert sys.version >= '2.6', "Requires Python v2.6 or above." class InstallLibWithPTH(install_lib): def...
#!/usr/bin/env python from distutils.sysconfig import get_python_lib import sys exec(open('tbvaccine/version.py').read()) assert sys.version >= '2.6', "Requires Python v2.6 or above." from setuptools import setup # noqa classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python...
mit
Python
342bb75a396425b2a607910c8576be057805f635
Update setup
shnizzedy/SM_openSMILE,shnizzedy/SM_openSMILE,shnizzedy/SM_openSMILE,shnizzedy/SM_openSMILE,shnizzedy/SM_openSMILE
setup.py
setup.py
#!/usr/bin/env python """ mhealthx is a Python package for automated feature extraction of mobile health app research data. """ import os import sys from os.path import join as pjoin # BEFORE importing distguts, remove MANIFEST. distguts doesn't properly # update it when the contents of directories change. if os.pat...
#!/usr/bin/env python """ mhealthx is a Python package for automated feature extraction of mobile health app research data. """ import os import sys from os.path import join as pjoin # BEFORE importing distguts, remove MANIFEST. distguts doesn't properly # update it when the contents of directories change. if os.pat...
apache-2.0
Python
f368f6c026d8fc377639f7cffa9a90d25e2c9fc4
add tornado and SQLAlchemy as dependencies
siddhantgoel/tornado-sqlalchemy
setup.py
setup.py
from setuptools import setup from sys import version_info with open('README.rst') as f: long_description = f.read() def install_requires(): deps = [ 'tornado >= 4.0', 'SQLAlchemy >= 1.0' ] if version_info.major == 2: deps.append('futures >== 3.0.0') return deps setup(...
from setuptools import setup from sys import version_info with open('README.rst') as f: long_description = f.read() install_requires = ['futures >== 3.0.0'] if version_info.major == 2 else [] setup( name='tornado_sqlalchemy', version='0.1.1', description='SQLAlchemy helpers for working in Tornado'...
mit
Python
19408c54ff849528f6fdbd920e450743023f836f
Bump to 0.1.6
YPlan/nexus,graingert/nexus,roverdotcom/nexus,YPlan/nexus,Raekkeri/nexus,disqus/nexus,roverdotcom/nexus,disqus/nexus,blueprinthealth/nexus,blueprinthealth/nexus,graingert/nexus,roverdotcom/nexus,brilliant-org/nexus,graingert/nexus,blueprinthealth/nexus,brilliant-org/nexus,Raekkeri/nexus,brilliant-org/nexus,YPlan/nexus,...
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): ...
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): ...
apache-2.0
Python
5b327cea7c1b7b042f54967fa8911a79f0b9a0e2
Expand metadata in setup.py
wbolster/mysql-latin1-codec
setup.py
setup.py
import os from setuptools import setup def here(*paths): return os.path.join(os.path.dirname(__file__), *paths) setup( name='mysql-latin1-codec', description='Python string codec for MySQL\'s latin1 encoding', long_description=open(here('README.rst')).read(), version="1.0", py_modules=['mys...
from setuptools import setup setup( name='mysql-latin1-codec', description='Python string codec for MySQL\'s latin1 encoding' version="1.0", py_modules=['mysql_latin1_codec'], author="Wouter Bolsterlee", author_email="uws@xs4all.nl", url="https://github.com/wbolster/mysql-latin1-codec", )
bsd-3-clause
Python
4cb2a3fe0fc70cbb7c3c35a93d010092b40aa009
Integrate markdown readme for PyPI
husl-colors/husl.py,hsluv/hsluv-python
setup.py
setup.py
#!/usr/bin/python from setuptools import setup from hsluv import __version__ setup( name='hsluv', version=__version__, description='Human-friendly HSL', long_description=open('README.md').read(), long_description_content_type='text/markdown', license="MIT", author_email="alexei@boronine.co...
#!/usr/bin/python from setuptools import setup from hsluv import __version__ setup( name='hsluv', version=__version__, description='Human-friendly HSL', license="MIT", author_email="alexei@boronine.com", url="http://www.hsluv.org", keywords="color hsl cie cieluv colorwheel hsluv hpluv", ...
mit
Python
f5c92b9c019ca7452c69b73c3b383bcc7d66b8d8
fix file install specifications
sivy/boxpub
setup.py
setup.py
#!/usr/bin/env python # _______ _______ __ __ _______ __ __ _______ # | _ || || |_| || || | | || _ | # | |_| || _ || || _ || | | || |_| | # | || | | || || |_| || |_| || | # | _ | | |_| | | | | ___|| || _ | # | |_| || ...
#!/usr/bin/env python # _______ _______ __ __ _______ __ __ _______ # | _ || || |_| || || | | || _ | # | |_| || _ || || _ || | | || |_| | # | || | | || || |_| || |_| || | # | _ | | |_| | | | | ___|| || _ | # | |_| || ...
mpl-2.0
Python
f85dc1151946128f9b22a4b5fc1e19548fe39e6c
Bump to v44
Kane610/axis
setup.py
setup.py
"""Setup for Axis.""" from setuptools import find_packages, setup setup( name="axis", packages=find_packages(include=["axis", "axis.*"]), version="44", description="A Python library for communicating with devices from Axis Communications", author="Robert Svensson", author_email="Kane610@users....
"""Setup for Axis.""" from setuptools import find_packages, setup setup( name="axis", packages=find_packages(include=["axis", "axis.*"]), version="43", description="A Python library for communicating with devices from Axis Communications", author="Robert Svensson", author_email="Kane610@users....
mit
Python
6b755ff294756a65ee1a19b8bd0fc3ac3fafaaca
remove explicit version dependence from all dependent pacakges
ddboline/bat-country,ddboline/bat-country
setup.py
setup.py
from distutils.core import setup setup( name='bat-country', packages=['batcountry'], version='0.2', description='A lightweight, extendible, easy to use Python package for deep dreaming and image generation with Caffe and CNNs', author='Adrian Rosebrock', author_email='adrian@pyimagesearch.com',...
from distutils.core import setup setup( name='bat-country', packages=['batcountry'], version='0.2', description='A lightweight, extendible, easy to use Python package for deep dreaming and image generation with Caffe and CNNs', author='Adrian Rosebrock', author_email='adrian@pyimagesearch.com',...
mit
Python
38453f6c7cbe1b03cd55fbdbaba4af2eb6e11826
Increment version number
LogicalDash/gorm
setup.py
setup.py
from setuptools import setup setup( name = "gorm", version = "0.9.1", packages = ["gorm"], install_requires = ['networkx>=1.9'], author = "Zachary Spector", author_email = "zacharyspector@gmail.com", description = "An object-relational mapper serving database-backed versions of the standard ...
from setuptools import setup setup( name = "gorm", version = "0.9.0", packages = ["gorm"], install_requires = ['networkx>=1.9'], author = "Zachary Spector", author_email = "zacharyspector@gmail.com", description = "An object-relational mapper serving database-backed versions of the standard ...
bsd-2-clause
Python
86680c05c334201d6aaccec8e45cfb6596a029c1
Add Jon Walton to authors
boxidau/rax-autoscaler,rackerlabs/rax-autoscaler,boxidau/rax-autoscaler,eljrax/rax-autoscaler
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # this file is part of 'RAX-AutoScaler' # # Copyright 2014 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obta...
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # this file is part of 'RAX-AutoScaler' # # Copyright 2014 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obta...
apache-2.0
Python
bed24040d4d5970e0cc4e6825c069136da9a539d
Bump the version to 0.0.10
MagicStack/httptools
setup.py
setup.py
from setuptools import setup, Extension setup( name='httptools', version='0.0.10', description='A collection of framework independent HTTP protocol utils.', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Pytho...
from setuptools import setup, Extension setup( name='httptools', version='0.0.9', description='A collection of framework independent HTTP protocol utils.', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python...
mit
Python
e3cedcf071366caad1127e1e6f2b0bea011f1440
update setup.py metadata and versions
matplotlib/mpl-probscale,phobson/mpl-probscale
setup.py
setup.py
# Setup script for the probscale package # # Usage: python setup.py install import os from setuptools import setup, find_packages DESCRIPTION = "mpl-probscale: Probabily scales for matplotlib" LONG_DESCRIPTION = DESCRIPTION NAME = "probscale" VERSION = "0.2.4" AUTHOR = "Paul Hobson (Geosyntec Consultants)" AUTHOR_E...
# Setup script for the probscale package # # Usage: python setup.py install import os from setuptools import setup, find_packages DESCRIPTION = "mpl-probscale: Probabily scales for matplotlib" LONG_DESCRIPTION = DESCRIPTION NAME = "probscale" VERSION = "0.2.3" AUTHOR = "Paul Hobson (Geosyntec Consultants)" AUTHOR_E...
bsd-3-clause
Python
001e30fc4f6fa813b829fab988023eacd022f22b
update deps
kirichoi/tellurium,sys-bio/tellurium,sys-bio/tellurium,kirichoi/tellurium
setup.py
setup.py
################################### # tellurium setup script # # develop install via # pip install -e . ################################### from setuptools import setup # allows 'python setup.py develop' import os try: with open(os.path.join(os.path.dirname(__file__), 'VERSION.txt'), 'r') as f: version = f...
################################### # tellurium setup script # # develop install via # pip install -e . ################################### from setuptools import setup # allows 'python setup.py develop' import os try: with open(os.path.join(os.path.dirname(__file__), 'VERSION.txt'), 'r') as f: version = f...
apache-2.0
Python
f929ae104ab70e23fba1a13f1cbaac1ba747a4ee
Bump version to 1.4.6
mwilliamson/python-mammoth
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() _install_requires = [ "cobble>=0.1.3,<0.2", ] if sys.version_info[:2] <= (2, 6): _install_requires.append("argparse>=1.1,<2.0") setup( name='m...
#!/usr/bin/env python import os import sys from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() _install_requires = [ "cobble>=0.1.3,<0.2", ] if sys.version_info[:2] <= (2, 6): _install_requires.append("argparse>=1.1,<2.0") setup( name='m...
bsd-2-clause
Python
320de3f88524a11fdd1c021efbdfffb610b1c246
bump version for release
rambo/python-holviapi,rambo/python-holviapi
setup.py
setup.py
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import subprocess import six git_version = 'UNKNOWN' try: if six.PY2: git_version = str(subprocess.check_output(['git', 'rev-parse', '--verify', '--short', 'HEAD'])).strip() if six.PY...
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import subprocess import six git_version = 'UNKNOWN' try: if six.PY2: git_version = str(subprocess.check_output(['git', 'rev-parse', '--verify', '--short', 'HEAD'])).strip() if six.PY...
mit
Python
07a3c44cc6b464a7786d1469efc519b3ec9ee718
bump to rc5
carlosp420/edittag,carlosp420/edittag
setup.py
setup.py
import distribute_setup distribute_setup.use_setuptools() from setuptools import setup, find_packages if __name__ == '__main__': setup( name='edittag', version="1.0rc5", description="Design and check sets of edit metric sequence tags.", author="Brant Faircloth", author_emai...
import distribute_setup distribute_setup.use_setuptools() from setuptools import setup, find_packages if __name__ == '__main__': setup( name='edittag', version="1.0rc2", description="Design and check sets of edit metric sequence tags.", author="Brant Faircloth", author_emai...
bsd-3-clause
Python
5a91b5b5ae24bf4144ce8d9a22560bf9dd682f88
update version
rande/python-simple-ioc,rande/python-simple-ioc
setup.py
setup.py
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="ioc", version="0.0.9", description="A small dependency injection container based on Symfony2 Dependency Component", author="Thomas Rabaix", author_email="thomas.rabaix@gmail.com", url="https://github...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="ioc", version="0.0.8", description="A small dependency injection container based on Symfony2 Dependency Component", author="Thomas Rabaix", author_email="thomas.rabaix@gmail.com", url="https://github...
apache-2.0
Python
116d0e3da41992d9230baf730f018e5d03dd0818
Update setup.py to include URL to GitHub repository.
nephila/python-taiga
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import os, sys def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() extra_kwargs = {} if sys.version_info >= (3,): extra_kwargs['setup_requires'] = ['setuptools'] classifiers = [ "License :: OSI Approved ::...
#!/usr/bin/env python from setuptools import setup, find_packages import os, sys def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() extra_kwargs = {} if sys.version_info >= (3,): extra_kwargs['setup_requires'] = ['setuptools'] classifiers = [ "License :: OSI Approved ::...
mit
Python
36cccb56d1a288953b5ba7baeae6e268c1a48c6a
Update `django-rest-framework` requirement
consbio/seedsource-core,consbio/seedsource-core
setup.py
setup.py
from setuptools import find_packages, setup from seedsource_core import __version__ as version setup( name='seedsource-core', version=version, description='Core functionality underlying a collection of climate suitability tools.', author='Conservation Biology Institute', url='https://github.com/con...
from setuptools import find_packages, setup from seedsource_core import __version__ as version setup( name='seedsource-core', version=version, description='Core functionality underlying a collection of climate suitability tools.', author='Conservation Biology Institute', url='https://github.com/con...
bsd-3-clause
Python
c6e063127f35edd76df0d1f4bbd257f53a3668f5
Use setuptools so that we can build an egg.
musicmetric/mmpy
setup.py
setup.py
#!/usr/bin/env python import sys, os.path import ConfigParser try: from setuptools import setup except: from distutils.core import setup setup(name='mmpy', version='0.1.4dev', description='Musicmetric API Wrapper', long_description=open('README.rst').read(), author='Ben Fields', ...
#!/usr/bin/env python import sys, os.path import ConfigParser from distutils.core import setup setup(name='mmpy', version='0.1.4dev', description='Musicmetric API Wrapper', long_description=open('README.rst').read(), author='Ben Fields', author_email='ben@musicmetric.com', url='http...
isc
Python
571c0a1a8d4b9fc89576e17c089d45e6eaf7b975
RENAME las to hopstack in setup.py
willpatterson/LASubway,willpatterson/HOPSTACK,willpatterson/HOPSTACK
setup.py
setup.py
""" Mostly Blank Setup script """ from setuptools import setup, find_packages from setuptools.command.install import install setup(name="HOPSTACK", version="0.0.0", description="Self Provisioning Ad Hoc Cluster Tool Kit", license="MIT", author="William Patterson", install_requires=['PyYa...
""" Mostly Blank Setup script """ from setuptools import setup, find_packages from setuptools.command.install import install setup(name="LASubway", version="0.0.0", description="Software Pipelining Suite", license="MIT", author="William Patterson", install_requires=['PyYaml'], pack...
mit
Python
b0d972a11c07ee69a6f63aa4b571386f1c2a6802
add install required lib: coverage
akun/aproject
setup.py
setup.py
#!/usr/bin/env python import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from aproject import VERSION setup( name='aproject', version=VERSION, description='A Project Template', author='akun', url='https://github.com/akun/aprojec...
#!/usr/bin/env python import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from aproject import VERSION setup( name='aproject', version=VERSION, description='A Project Template', author='akun', url='https://github.com/akun/aprojec...
mit
Python
270c9e61646f4fe45e01b06e45dde15ea0856106
Add the ShopifyAPI package as a dependency.
discolabs/django-shopify-auth,funkybob/django-shopify-auth,discolabs/django-shopify-auth,RafaAguilar/django-shopify-auth,RafaAguilar/django-shopify-auth,funkybob/django-shopify-auth
setup.py
setup.py
from distutils.core import setup version = __import__('shopify_auth').__version__ setup( name = 'django-shopify-auth', version = version, description = 'An simple package for adding Shopify authentication to Django apps.', long_description = open('README.md').read(), author = 'Gavin Ballard', ...
from distutils.core import setup version = __import__('shopify_auth').__version__ setup( name = 'django-shopify-auth', version = version, description = 'An simple package for adding Shopify authentication to Django apps.', long_description = open('README.md').read(), author = 'Gavin Ballard', ...
mit
Python
a6d0e8d57fd725e7b3b94bc9b4bff702bcfa6484
Update license in setup.py to match LICENSE.txt, which was updated 5 years ago. ¯\_(ツ)_/¯
kti/python-netfilterqueue
setup.py
setup.py
from distutils.core import setup, Extension VERSION = "0.6" # Remember to change README.rst when version changes. try: # Use Cython from Cython.Distutils import build_ext cmd = {"build_ext": build_ext} ext = Extension( "netfilterqueue", sources=["netfilterqueue.pyx",], ...
from distutils.core import setup, Extension VERSION = "0.6" # Remember to change README.rst when version changes. try: # Use Cython from Cython.Distutils import build_ext cmd = {"build_ext": build_ext} ext = Extension( "netfilterqueue", sources=["netfilterqueue.pyx",], ...
mit
Python
6ea2fca11c57859264c9174dccbbf3e999e4b05d
add twisted dependany back, trollius will come back later
AppEnlight/channelstream_twisted_test,AppEnlight/channelstream_twisted_test
setup.py
setup.py
import os import sys from setuptools import setup, find_packages setup(name='channelstream', version='0.1', description='Websocket server supporting channels/users communication', classifiers=[ 'Intended Audience :: Developers' ], author='Marcin Lulek', author_email='info...
import os import sys from setuptools import setup, find_packages setup(name='channelstream', version='0.1', description='Websocket server supporting channels/users communication', classifiers=[ 'Intended Audience :: Developers' ], author='Marcin Lulek', author_email='info...
bsd-3-clause
Python
c954d2bf408f304350b7ef43826567667535737b
Bump version to 0.0.6 (#27)
googleapis/protoc-java-resource-names-plugin,googleapis/protoc-java-resource-names-plugin
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2015, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyrig...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2015, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyrig...
bsd-3-clause
Python
6cb9bfdbb37bc6d5ce15c28b3a0325d9d239b7ca
Bump version
lambdalisue/django-permission
setup.py
setup.py
# coding=utf-8 import sys from setuptools import setup, find_packages NAME = 'django-permission' VERSION = '0.8.2' def read(filename): import os BASE_DIR = os.path.dirname(__file__) filename = os.path.join(BASE_DIR, filename) with open(filename, 'r') as fi: return fi.read() def readlist(fil...
# coding=utf-8 import sys from setuptools import setup, find_packages NAME = 'django-permission' VERSION = '0.8.1' def read(filename): import os BASE_DIR = os.path.dirname(__file__) filename = os.path.join(BASE_DIR, filename) with open(filename, 'r') as fi: return fi.read() def readlist(fil...
mit
Python
42f00a4f68134a7fd2f5a13c320f6b06ea353df1
Update setup.py for reqt's and Py3.5
questrail/siganalysis
setup.py
setup.py
import codecs import os import re from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) def read(*parts): """Read parts of a file Taken from pip's setup.py intentionally *not* adding an encoding option to open see: https://github.com/pypa/virtualenv/issues/201#issuecomment-...
import codecs import os import re from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) def read(*parts): """Read parts of a file Taken from pip's setup.py intentionally *not* adding an encoding option to open see: https://github.com/pypa/virtualenv/issues/201#issuecomment-...
mit
Python
0c38d2ac6145f12951696ab2a82f3b6b4ae2f338
bump version
aykut/django-bulk-update,HowGood/django-bulk-update,lead-ratings/django-bulk-update,torchingloom/django-bulk-update
setup.py
setup.py
import os from setuptools import setup, find_packages README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-bulk-update', version='1.1.2', packa...
import os from setuptools import setup, find_packages README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-bulk-update', version='1.1.1', packa...
mit
Python
3c8701ea83feab9d8e84b759f81de8c35948bc37
bump version
tatterdemalion/django-nece
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup with open('README.rst', 'rb') as f: ld = f.read().decode('utf8') long_description = ld.replace(ld[0:ld.find('nece?')], '') version = '0.8.1' description = "A content translation framework using Postgresql's jsonb" + \ " field in the background" url = 'htt...
# -*- coding: utf-8 -*- from setuptools import setup with open('README.rst', 'rb') as f: ld = f.read().decode('utf8') long_description = ld.replace(ld[0:ld.find('nece?')], '') version = '0.8.0' description = "A content translation framework using Postgresql's jsonb" + \ " field in the background" url = 'htt...
bsd-3-clause
Python
582c314b0afdbb2cd0a0c2d5f64a2fd357d00e5a
Bump version.
kxgames/kxg
setup.py
setup.py
import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '0.1.1' distutils.core.setup( name='kxg', version=version, author='Kale Kundert and Alex Mitchell', url='https://github.com/kxgames/Game...
import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '0.1.0' distutils.core.setup( name='kxg', version=version, author='Kale Kundert and Alex Mitchell', url='https://github.com/kxgames/Game...
mit
Python
440e413227b94fbbe82c0ea60c67f03562caef7c
Add long_description_content_type='text/markdown'
hfaran/piazza-api
setup.py
setup.py
from __future__ import print_function import codecs import os import re from setuptools import setup def read(filename): """Read and return `filename` in root dir of project and return string""" here = os.path.abspath(os.path.dirname(__file__)) return codecs.open(os.path.join(here, filename), 'r').read()...
from __future__ import print_function import codecs import os import re from setuptools import setup def read(filename): """Read and return `filename` in root dir of project and return string""" here = os.path.abspath(os.path.dirname(__file__)) return codecs.open(os.path.join(here, filename), 'r').read()...
mit
Python
ab6918e262df5e6a79c31969973f98458f94b991
Prepare openprocurement.auction 1.0.0.dev25.
openprocurement/openprocurement.auction,openprocurement/openprocurement.auction
setup.py
setup.py
from setuptools import setup, find_packages import os version = '1.0.0.dev25' setup(name='openprocurement.auction', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings f...
from setuptools import setup, find_packages import os version = '1.0.0.dev24' setup(name='openprocurement.auction', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings f...
apache-2.0
Python
c473a3ec69ba7f73024f531c4752d46315ea9b24
Bump jaraco.test to 1.0.2
yougov/pmxbot,yougov/pmxbot,yougov/pmxbot
setup.py
setup.py
# -*- coding: utf-8 -*- # vim:ts=4:sw=4:noexpandtab # c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true; import sys import setuptools py26reqs = ['importlib'] if sys.version_info < (2, 7) else [] setup_params = dict( name="pmxbot", use_hg_version=True, packages=setuptools.find_packages(), include_package_d...
# -*- coding: utf-8 -*- # vim:ts=4:sw=4:noexpandtab # c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true; import sys import setuptools py26reqs = ['importlib'] if sys.version_info < (2, 7) else [] setup_params = dict( name="pmxbot", use_hg_version=True, packages=setuptools.find_packages(), include_package_d...
mit
Python
23d0d0d6ad96f2215b374c29fd5cf70ab1a9e7f6
bump version
pigmonkey/django-inlineobjects,pigmonkey/django-inlineobjects
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-inlineobjects', packages=find_packages(), version='2.0.1', description='A reusable Django application used to insert content objects into other pieces of content.', author='Peter Hogg', author_email='peter@havenaut.net', url='h...
from setuptools import setup, find_packages setup( name='django-inlineobjects', packages=find_packages(), version='2.0.0', description='A reusable Django application used to insert content objects into other pieces of content.', author='Peter Hogg', author_email='peter@havenaut.net', url='h...
bsd-3-clause
Python
4e718d8266491aefd3bde5cde5835aac9e297017
bump version
bridadan/yotta,theotherjimmy/yotta,bridadan/yotta,eyeye/yotta,eyeye/yotta,ntoll/yotta,ntoll/yotta,theotherjimmy/yotta,stevenewey/yotta,ARMmbed/yotta,autopulated/yotta,iriark01/yotta,stevenewey/yotta,autopulated/yotta,BlackstoneEngineering/yotta,BlackstoneEngineering/yotta,iriark01/yotta,ARMmbed/yotta
setup.py
setup.py
import os from setuptools import setup # Utility function to cat in a file (used for the README) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "yotta", version = "0.0.9", author = "James Crosby", author_email = "James.Crosby@arm.com", descrip...
import os from setuptools import setup # Utility function to cat in a file (used for the README) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "yotta", version = "0.0.8", author = "James Crosby", author_email = "James.Crosby@arm.com", descrip...
apache-2.0
Python
08c5a288af26e664580fe4c4bf8dd81681b4666d
Bump version to 0.0.5
refinery29/chassis,refinery29/chassis
setup.py
setup.py
from distutils.core import setup setup( name='chassis', version='0.0.5', packages=['chassis'], description="Tornado framework for self-documenting JSON RESTful APIs.", author="Refinery 29", author_email="chassis-project@refinery29.com", url="https://github.com/refinery29/chassis", downl...
from distutils.core import setup setup( name='chassis', version='0.0.4', packages=['chassis'], description="Tornado framework for self-documenting JSON RESTful APIs.", author="Refinery 29", author_email="chassis-project@refinery29.com", url="https://github.com/refinery29/chassis", downl...
mit
Python
f5fc2721c00584b365b7c00ae3e835417e2377a0
Extend setup.py with some more metadata
wbolster/temporenc-python
setup.py
setup.py
import os from setuptools import setup # No third party dependencies, so importing the package should be safe. import temporenc with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as fp: long_description = fp.read() setup( name='temporenc', description="Python library for the temporenc forma...
from setuptools import setup, find_packages # No third party dependencies, so importing the package should be safe. import temporenc setup( name='temporenc', version=temporenc.__version__, author="Wouter Bolsterlee", author_email="uws@xs4all.nl", url='https://github.com/wbolster/temporenc-python',...
bsd-3-clause
Python
fd5c185f1600184c97c5e46c9f8bfe5577c8aa17
Bump version
raviqqe/tensorflow-qnd,raviqqe/tensorflow-qnd
setup.py
setup.py
import setuptools import sys if not sys.version_info >= (3, 5): exit("Sorry, Python must be later than 3.5.") setuptools.setup( name="tensorflow-qnd", version="0.0.4", description="Quick and Distributed TensorFlow command framework", long_description=open("README.md").read(), license="Public...
import setuptools import sys if not sys.version_info >= (3, 5): exit("Sorry, Python must be later than 3.5.") setuptools.setup( name="tensorflow-qnd", version="0.0.3", description="Quick and Distributed TensorFlow command framework", long_description=open("README.md").read(), license="Public...
unlicense
Python
1485f90a558bc9b15ef62565c0f275e3e1f81f96
Add themes package
miyakogi/wdom,miyakogi/wdom,miyakogi/wdom
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from os import path try: from setuptools import setup except ImportError: from distutils.core import setup readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.rst') with open(readme_file) as readme_file: readme = readme_file.read() install_...
#!/usr/bin/env python # -*- coding: utf-8 -*- from os import path try: from setuptools import setup except ImportError: from distutils.core import setup readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.rst') with open(readme_file) as readme_file: readme = readme_file.read() install_...
mit
Python
affd21097f0d3bb757b946c6221147554984a5c0
make sure we require the new remoto version
imzhulei/ceph-deploy,SUSE/ceph-deploy-to-be-deleted,alfredodeza/ceph-deploy,branto1/ceph-deploy,zhouyuan/ceph-deploy,ceph/ceph-deploy,shenhequnying/ceph-deploy,ktdreyer/ceph-deploy,jumpstarter-io/ceph-deploy,zhouyuan/ceph-deploy,jumpstarter-io/ceph-deploy,rtulke/ceph-deploy,rtulke/ceph-deploy,Vicente-Cheng/ceph-deploy,...
setup.py
setup.py
from setuptools import setup, find_packages import os import sys import ceph_deploy from vendor import vendorize def read(fname): path = os.path.join(os.path.dirname(__file__), fname) f = open(path) return f.read() install_requires = [] pyversion = sys.version_info[:2] if pyversion < (2, 7) or (3, 0) <= ...
from setuptools import setup, find_packages import os import sys import ceph_deploy from vendor import vendorize def read(fname): path = os.path.join(os.path.dirname(__file__), fname) f = open(path) return f.read() install_requires = [] pyversion = sys.version_info[:2] if pyversion < (2, 7) or (3, 0) <= ...
mit
Python
8f2fe6ca6fa9c7e046d189970c3bcd6bf5ab3906
Add semantic-release setup.py hook
frigg/frigg-test-discovery
setup.py
setup.py
# -*- encoding: utf8 -*- import sys from setuptools import setup import frigg_test_discovery def _read_long_description(): try: import pypandoc return pypandoc.convert('README.md', 'rst', format='markdown') except Exception: return None version = frigg_test_discovery.__version__ try...
# -*- encoding: utf8 -*- from setuptools import setup import frigg_test_discovery def _read_long_description(): try: import pypandoc return pypandoc.convert('README.md', 'rst', format='markdown') except Exception: return None version = frigg_test_discovery.__version__ setup( na...
mit
Python
a3d361f26017996d845f769d37833aa955089ff9
add xmlrunner.extra to packages.
arcivanov/unittest-xml-reporting,haiyangd/unittest-xml-reporting,NightBlues/unittest-xml-reporting,tkanemoto/unittest-xml-reporting
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from distutils.util import convert_path import codecs # Load version information main_ns = {} ver_path = convert_path('xmlrunner/version.py') with codecs.open(ver_path, 'rb', 'utf8') as ver_file: exec(ver_file.read(), main_ns) install_requires = [...
#!/usr/bin/env python from setuptools import setup, find_packages from distutils.util import convert_path import codecs # Load version information main_ns = {} ver_path = convert_path('xmlrunner/version.py') with codecs.open(ver_path, 'rb', 'utf8') as ver_file: exec(ver_file.read(), main_ns) install_requires = [...
bsd-2-clause
Python
599e14c50d51e9564c1c613190c43d97952887bf
bump version
blockstack/blockstack-profiles-py
setup.py
setup.py
""" Blockstack Profiles ============== """ from setuptools import setup, find_packages setup( name='blockstack-schema', version='0.1.5', url='https://github.com/blockstack/blockstack-schema-py', license='MIT', author='Blockstack Developers', author_email='hello@onename.com', description="...
""" Blockstack Profiles ============== """ from setuptools import setup, find_packages setup( name='blockstack-schema', version='0.1.4', url='https://github.com/blockstack/blockstack-schema-py', license='MIT', author='Blockstack Developers', author_email='hello@onename.com', description="...
mit
Python
572f752a86f97716be534c99f451aa9cdf9d9499
bump version for pip
nizig/ruco
setup.py
setup.py
from setuptools import setup setup( name="ruco", packages=["ruco"], version="0.5", description="Rust (by Facepunch Studios) rcon API and shell utility", author="exo", author_email="exo@eckso.io", url="https://github.com/nizig/ruco", download_url="https://github.com/nizig/ruco/tarball/re...
from setuptools import setup setup( name="ruco", packages=["ruco"], version="0.3", description="Rust (by Facepunch Studios) rcon API and shell utility", author="exo", author_email="exo@eckso.io", url="https://github.com/nizig/ruco", download_url="https://github.com/nizig/ruco/tarball/re...
mit
Python
c474f5193f822f7597b8e2b5826c472c41989d6d
change version
vangj/py-bbn,vangj/py-bbn
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pybbn', version='0.0.6', author='Jee Vang', author_email='vangjee@gmail.com', packages=find_packages(), description='Inference in Bayesian Belief Networks using Probability Propagation in Trees of Clusters (PPTC) and Gibbs sampling', ...
from setuptools import setup, find_packages setup( name='pybbn', version='0.0.5', author='Jee Vang', author_email='vangjee@gmail.com', packages=find_packages(), description='Inference in Bayesian Belief Networks using Probability Propagation in Trees of Clusters (PPTC) and Gibbs sampling', ...
apache-2.0
Python
c3f3a3b09124817898bf6a04d1260361c723887c
Make setup.py regenerate dropin.cache if possible
ludios/DemosMinerva,ludios/DemosMinerva,ludios/DemosMinerva
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup import demosminerva # When pip installs anything from packages, py_modules, or ext_modules that # includes a twistd plugin (which are installed to twisted/plugins/), # setuptools/distribute writes a Package.egg-info/top_level.txt that includes # "twisted". If y...
#!/usr/bin/env python from distutils.core import setup import demosminerva # When pip installs anything from packages, py_modules, or ext_modules that # includes a twistd plugin (which are installed to twisted/plugins/), # setuptools/distribute writes a Package.egg-info/top_level.txt that includes # "twisted". If y...
apache-2.0
Python
600aec95ba239683bdda573b24685497b8f4f8da
bump version
happyleavesaoc/python-snapcast
setup.py
setup.py
from distutils.core import setup setup( name='snapcast', version='2.0.8', description='Control Snapcast.', url='https://github.com/happyleavesaoc/python-snapcast/', license='MIT', author='happyleaves', author_email='happyleaves.tfr@gmail.com', packages=['snapcast', 'snapcast.control', '...
from distutils.core import setup setup( name='snapcast', version='2.0.7', description='Control Snapcast.', url='https://github.com/happyleavesaoc/python-snapcast/', license='MIT', author='happyleaves', author_email='happyleaves.tfr@gmail.com', packages=['snapcast', 'snapcast.control', '...
mit
Python
fbd1407608505a1107042c14b8fc5cc6017d9e78
Add Python 3.7 to the list of supported versions
kefir500/ghstats
setup.py
setup.py
from setuptools import setup from os import path with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f: readme = f.read() setup( name='ghstats', version='1.2.0', packages=['ghstats'], description='GitHub Release download count and other statistics.', long_description=re...
from setuptools import setup from os import path with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst')) as f: readme = f.read() setup( name='ghstats', version='1.2.0', packages=['ghstats'], description='GitHub Release download count and other statistics.', long_description=re...
mit
Python
419e2d3f1c2dcc43048c0450fa8261ace493449f
Use ArkaneMoose/EuPy fork
ArkaneMoose/BotBot
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name='botbot', version='0.3.0', description='A meta-bot for Euphoria.', author='Rishov Sarkar', url='https://github.com/ArkaneMoose/BotBot', license='MIT', packages=['botbot'], package_dir={'botbot': 'source'}, install_requ...
#!/usr/bin/env python3 from setuptools import setup setup( name='botbot', version='0.2.8', description='A meta-bot for Euphoria.', author='Rishov Sarkar', url='https://github.com/ArkaneMoose/BotBot', license='MIT', packages=['botbot'], package_dir={'botbot': 'source'}, install_requ...
mit
Python
96547f06d712bd41951d22c9c50a62074a050340
Fix packaging error
wmayner/pyemd,wmayner/pyemd
setup.py
setup.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from setuptools import setup, Extension from setuptools.command.build_ext import build_ext as _build_ext # See http://stackoverflow.com/a/21621689/1085344 class build_ext(_build_ext): def finalize_options(self): _build_ext.finalize_options(self) # Pr...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from setuptools import setup, Extension from setuptools.command.build_ext import build_ext as _build_ext # See http://stackoverflow.com/a/21621689/1085344 class build_ext(_build_ext): def finalize_options(self): _build_ext.finalize_options(self) # Pr...
mit
Python
3eef2fb3383cd218c6fb6dd034abdb2d18485846
Bump version
skggm/skggm,skggm/skggm
setup.py
setup.py
from __future__ import print_function import sys from setuptools import setup, find_packages from distutils.extension import Extension import platform try: import numpy except ImportError: print('numpy is required during installation') sys.exit(1) try: import scipy except ImportError: print('scipy...
from __future__ import print_function import sys from setuptools import setup, find_packages from distutils.extension import Extension import platform try: import numpy except ImportError: print('numpy is required during installation') sys.exit(1) try: import scipy except ImportError: print('scipy...
mit
Python
1227c4b0a80523a99f72efc42d9cbc0fe1f40c77
fix snowflake version for brew install --HEAD
fishtown-analytics/dbt,fishtown-analytics/dbt,nave91/dbt,nave91/dbt,fishtown-analytics/dbt,analyst-collective/dbt,analyst-collective/dbt
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages from distutils.core import setup package_name = "dbt" package_version = "0.8.3" setup( name=package_name, version=package_version, description="data build tool", author="Fishtown Analytics", author_email="info@fishtownanalytics.com", ...
#!/usr/bin/env python from setuptools import find_packages from distutils.core import setup package_name = "dbt" package_version = "0.8.3" setup( name=package_name, version=package_version, description="data build tool", author="Fishtown Analytics", author_email="info@fishtownanalytics.com", ...
apache-2.0
Python
644a25e2b61bec8847af2f6d64b9b41b8798092d
Add coverage as a testing requirement
fusionbox/django-backupdb
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages VERSION = '0.4.2' def readme(): with open('README.rst') as f: return f.read() setup( name='django-backupdb', version=VERSION, description='Management commands for backing up and restoring databases in Django.', long_des...
#!/usr/bin/env python from setuptools import setup, find_packages VERSION = '0.4.2' def readme(): with open('README.rst') as f: return f.read() setup( name='django-backupdb', version=VERSION, description='Management commands for backing up and restoring databases in Django.', long_des...
bsd-2-clause
Python
3b0cab6809104c3171cc452d166cc78122401be1
Remove *.txt and doc from setup.py until I can figure out how to include them in the tarball without installing them.
snarfed/beautifulsoup,h4ck3rm1k3/BeautifulSoup4,h4ck3rm1k3/BeautifulSoup4,h4ck3rm1k3/BeautifulSoup4,snarfed/beautifulsoup
setup.py
setup.py
from distutils.core import setup try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: # 2.x from distutils.command.build_py import build_py setup(name="beautifulsoup4", version = "4.0.0b6", author="Leonard Richardson", author_email='leonardr@segfault....
from distutils.core import setup try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: # 2.x from distutils.command.build_py import build_py setup(name="beautifulsoup4", version = "4.0.0b6", author="Leonard Richardson", author_email='leonardr@segfault....
mit
Python
a5337c85b4aaf75cf137ce318c41573d523c4447
Bump flake8 from 3.9.1 to 3.9.2 (#96)
glidernet/python-ogn-client
setup.py
setup.py
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages from ogn.client.settings import PACKAGE_VERSION here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f...
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages from ogn.client.settings import PACKAGE_VERSION here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f...
agpl-3.0
Python
0d8889ff0971c196e720434c8a347086693de89b
Update version number
ShinNoNoir/twitterwebsearch
setup.py
setup.py
#!/usr/bin/env python import os import sys if sys.version < '2.7': print 'Python >= 2.7 required' sys.exit(1) from setuptools import setup long_description = ''' A simple Python package for using Twitter search functionality that is only available through the Twitter web interface (such as searching for twee...
#!/usr/bin/env python import os import sys if sys.version < '2.7': print 'Python >= 2.7 required' sys.exit(1) from setuptools import setup long_description = ''' A simple Python package for using Twitter search functionality that is only available through the Twitter web interface (such as searching for twee...
mit
Python
1f7a27554dacdcacdb6065bd0f0320c05bb5901d
Upgrade python dateutil dep
appdotnet/ADNpy,appdotnet/ADNpy
setup.py
setup.py
#!/usr/bin/env python #from distutils.core import setup from setuptools import setup, find_packages from adnpy import __version__ setup(name="adnpy", version=__version__, description="App.net API library for python", license="MIT", author="Alex Kessinger", author_email="alex@app.net", ...
#!/usr/bin/env python #from distutils.core import setup from setuptools import setup, find_packages from adnpy import __version__ setup(name="adnpy", version=__version__, description="App.net API library for python", license="MIT", author="Alex Kessinger", author_email="alex@app.net", ...
mit
Python
4748479c409a736e5ce01c5324dd11c4c5fd5aa1
Add long description to setup.py.
tensorflow/recommenders,tensorflow/recommenders
setup.py
setup.py
# Copyright 2020 The TensorFlow Recommenders Authors. # # 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 ...
# Copyright 2020 The TensorFlow Recommenders Authors. # # 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 ...
apache-2.0
Python
d57ead599b982c0f69ad48024124e6dd5bc9f12c
Bump version
bertrandvidal/parse_this
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup README_PATH = os.path.join(os.path.dirname(__file__), "README.md") with open(README_PATH, "r") as README_FILE: README = README_FILE.read() setup( name="parse_this", version="3.0.0", description=( "Makes it easy to create a command li...
#!/usr/bin/env python import os from setuptools import setup README_PATH = os.path.join(os.path.dirname(__file__), "README.md") with open(README_PATH, "r") as README_FILE: README = README_FILE.read() setup( name="parse_this", version="2.0.4", description=( "Makes it easy to create a command li...
mit
Python
09b77544262acf30db6ffb07b426479e0e5565fe
Duplicate 'description' in setup.py
FastSociety/nagios-cloudwatch-plugin
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='nagios-cloudwatch-plugin', version='0.2', author='William Hutson', author_email='wilrnh@gmail.com', license="MIT", keywords="nagios cloudwatch plugin", url='https://github.com/FastSociety/nagios-cloudwat...
#!/usr/bin/env python from distutils.core import setup setup(name='nagios-cloudwatch-plugin', version='0.2', description='Nagios Plugin for AWS Cloudwatch Metrics', author='William Hutson', author_email='wilrnh@gmail.com', license="MIT", keywords="nagios cloudwatch plug...
mit
Python
cef9923ad9667fdec85afe74da45204e807642dc
Update version
antoinearnoud/openfisca-france,sgmap/openfisca-france,sgmap/openfisca-france,antoinearnoud/openfisca-france
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'OpenFisca-France', version = '5.0.0', author = 'OpenFisca Team', author_email = 'contact@openfisca.fr', classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'OpenFisca-France', version = '4.1.20', author = 'OpenFisca Team', author_email = 'contact@openfisca.fr', classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OS...
agpl-3.0
Python
5c96c49af35b3363e855e69d1954812b0f5b25c9
increment version
Mego/Seriously,Sherlock9/Seriously
setup.py
setup.py
"""Seriously - a Python-based golfing language""" from setuptools import setup, find_packages setup( name='seriously', version='2.0.19', description='A Python-based golfing language', long_description='Seriously is a Python-based golfing language. See the GitHub page for more details.', ...
"""Seriously - a Python-based golfing language""" from setuptools import setup, find_packages setup( name='seriously', version='2.0.18', description='A Python-based golfing language', long_description='Seriously is a Python-based golfing language. See the GitHub page for more details.', ...
mit
Python
e6975630c721969aa40fffa31afec300a23c839d
fix setup.py
kalefranz/auxlib,kalefranz/auxlib
setup.py
setup.py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import os from setuptools import setup, find_packages import sys # When executing the setup.py, we need to be able to import ourselves, this # means that we need to add the src directory to the sys.path. here = os.path.abspath(os....
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import os from setuptools import setup, find_packages import sys # When executing the setup.py, we need to be able to import ourselves, this # means that we need to add the src directory to the sys.path. here = os.path.abspath(os....
isc
Python
3637154aaca296fa211337e6990f262305fc899a
Convert ExtractedFeatures to TypedFields
CybOXProject/python-cybox
cybox/common/extracted_features.py
cybox/common/extracted_features.py
# Copyright (c) 2014, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import cybox import cybox.bindings.cybox_common as common_binding from cybox.common import ExtractedStrings, ObjectProperties, String class Imports(cybox.EntityList): _binding = common_binding _binding_cla...
# Copyright (c) 2014, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import cybox import cybox.bindings.cybox_common as common_binding from cybox.common import ExtractedStrings, ObjectProperties, String class Imports(cybox.EntityList): _binding = common_binding _binding_cla...
bsd-3-clause
Python
4d7ee27a364144ac00903fe7902b15b6e772afaa
Remove invalid comment
wfxiang08/changes,wfxiang08/changes,bowlofstew/changes,wfxiang08/changes,wfxiang08/changes,bowlofstew/changes,bowlofstew/changes,dropbox/changes,dropbox/changes,dropbox/changes,dropbox/changes,bowlofstew/changes
changes/jobs/sync_build.py
changes/jobs/sync_build.py
from datetime import datetime from flask import current_app from changes.backends.jenkins.builder import JenkinsBuilder from changes.config import db, queue from changes.constants import Status from changes.models import Build, RemoteEntity def sync_with_builder(build): build.date_modified = datetime.utcnow() ...
from datetime import datetime from flask import current_app from changes.backends.jenkins.builder import JenkinsBuilder from changes.config import db, queue from changes.constants import Status from changes.models import Build, RemoteEntity def sync_with_builder(build): # HACK(dcramer): this definitely is a temp...
apache-2.0
Python
491d4a145979c8cdab97a87e46df4d652a4cdd10
fix test
praekelt/molo-freebasics,praekelt/molo-freebasics,praekelt/molo-freebasics,praekelt/molo-freebasics
freebasics/tests/test_env_variables.py
freebasics/tests/test_env_variables.py
from django.test import TestCase, RequestFactory from molo.core.tests.base import MoloTestCaseMixin from freebasics.views import HomeView from freebasics.templatetags import freebasics_tags class EnvTestCase(TestCase, MoloTestCaseMixin): def setUp(self): self.mk_main() def test_block_ordering(self):...
from django.test import TestCase from molo.core.tests.base import MoloTestCaseMixin from freebasics.views import HomeView from freebasics.templatetags import freebasics_tags class EnvTestCase(TestCase, MoloTestCaseMixin): def setUp(self): self.mk_main() def test_block_ordering(self): with se...
bsd-2-clause
Python
e5de8e1b3867a0409145b53c3d78cde5cdc9ff31
Change version to rc1.
Z2PackDev/TBmodels,Z2PackDev/TBmodels
tbmodels/__init__.py
tbmodels/__init__.py
# -*- coding: utf-8 -*- # (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> """A tool for creating / loading and manipulating tight-binding models.""" __version__ = "1.4.0.rc1" # import order is important due to circular imports from . import helpers from . import...
# -*- coding: utf-8 -*- # (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> """A tool for creating / loading and manipulating tight-binding models.""" __version__ = "1.4.0.dev0" # import order is important due to circular imports from . import helpers from . impor...
apache-2.0
Python
4454e7dabfba8ad92b604ee9255db70a3f2e917d
return 204 if job is not yet complete
shapiromatron/bmds-server,shapiromatron/bmds-server,shapiromatron/bmds-server,shapiromatron/bmds-server
jobrunner/api.py
jobrunner/api.py
from rest_framework import mixins, status, viewsets from rest_framework.decorators import detail_route from rest_framework.response import Response from rest_framework.renderers import BaseRenderer from . import serializers, models class TxtRenderer(BaseRenderer): media_type = 'text/plain' format = 'txt' ...
from rest_framework import mixins, viewsets from rest_framework.decorators import detail_route from rest_framework.response import Response from rest_framework.renderers import BaseRenderer from . import serializers, models class TxtRenderer(BaseRenderer): media_type = 'text/plain' format = 'txt' def r...
mit
Python
e2f5131a56ceb73ee58f76feb9cbf96aa8f9e705
correct bug with get_or_create return
DeepController/tellina,DeepController/tellina,DeepController/tellina
website/utils.py
website/utils.py
import socket import ssl import sys import urllib from django.core.exceptions import ObjectDoesNotExist from website.models import NL, Command, Tag, URL def get_nl(nl_str): nl, _ = NL.objects.get_or_create(str=nl_str) return nl def get_command(command_str): cmd, _ = Command.objects.get_or_create(str=com...
import socket import ssl import sys import urllib from django.core.exceptions import ObjectDoesNotExist from website.models import NL, Command, Tag, URL def get_nl(nl_str): return NL.objects.get_or_create(str=nl_str) def get_command(command_str): return Command.objects.get_or_create(str=command_str) def ...
mit
Python
985f2ae675e3933463d987bb109430c58f6df408
Handle div-by-zero error
mitmedialab/MediaCloud-Web-Tools,mitmedialab/MediaCloud-Web-Tools,mitmedialab/MediaCloud-Web-Tools,mitmedialab/MediaCloud-Web-Tools
server/views/topics/entities.py
server/views/topics/entities.py
import logging from flask import jsonify import flask_login from server import app from server.auth import user_mediacloud_key from server.util.tags import CLIFF_PEOPLE, CLIFF_ORGS, processed_by_cliff_tag_ids from server.util.request import api_error_handler from server.views.topics.apicache import topic_tag_coverage,...
import logging from flask import jsonify import flask_login from server import app from server.auth import user_mediacloud_key from server.util.tags import CLIFF_PEOPLE, CLIFF_ORGS, processed_by_cliff_tag_ids from server.util.request import api_error_handler from server.views.topics.apicache import topic_tag_coverage,...
apache-2.0
Python
3eec6859bbae03dbb1c1dca8e2b10acc1d717e78
Delete unused functions
Josef-Friedrich/audiorename
audiorename.py
audiorename.py
#! /usr/bin/env python import os, sys, argparse, textwrap from beets.mediafile import MediaFile from beets.util.functemplate import Template from beets.library import DefaultTemplateFunctions as Functions parser = argparse.ArgumentParser( formatter_class=argparse.RawDescriptionHelpFormatter, description=textwrap.d...
#! /usr/bin/env python import os, sys, argparse, textwrap from beets.mediafile import MediaFile from beets.util.functemplate import Template from beets.library import DefaultTemplateFunctions as Functions parser = argparse.ArgumentParser( formatter_class=argparse.RawDescriptionHelpFormatter, description=textwrap.d...
mit
Python
2adfcea14f292bacfbae906a70d6395304acf607
Fix a problem with PESEL validation
KrzysiekJ/bestja,ludwiktrammer/bestja,EE/bestja,ludwiktrammer/bestja,EE/bestja,EE/bestja,KrzysiekJ/bestja,ludwiktrammer/bestja,KrzysiekJ/bestja
addons/bestja_volunteer_pesel/models.py
addons/bestja_volunteer_pesel/models.py
# -*- coding: utf-8 -*- from operator import mul from openerp import models, fields, api, exceptions class Volunteer(models.Model): _inherit = 'res.users' pesel = fields.Char(string=u"PESEL") def __init__(self, pool, cr): super(Volunteer, self).__init__(pool, cr) self._add_permitted_fiel...
# -*- coding: utf-8 -*- from operator import mul from openerp import models, fields, api, exceptions class Volunteer(models.Model): _inherit = 'res.users' pesel = fields.Char(string=u"PESEL") def __init__(self, pool, cr): super(Volunteer, self).__init__(pool, cr) self._add_permitted_fiel...
agpl-3.0
Python
f6b818222d8e6eb9bb6ad3a0d8ab55513eb90673
Raise window to focus on Mac
jensengrouppsu/rapid,jensengrouppsu/rapid
gui/driver.py
gui/driver.py
from __future__ import print_function, division from sys import argv, stderr def run_gui(): '''Start the event loop to calucate spectra interactively''' # Import Qt functions. Do so here to handle errors better try: from PyQt4.QtGui import QApplication except ImportError: print("Cannot...
from __future__ import print_function, division from sys import argv, stderr def run_gui(): '''Start the event loop to calucate spectra interactively''' # Import Qt functions. Do so here to handle errors better try: from PyQt4.QtGui import QApplication except ImportError: print("Cannot...
mit
Python
8d71ab23d28a0bed34602d13e96c10270ab9d50b
Fix AutoRoll email
Tiger66639/skia-buildbot,Tiger66639/skia-buildbot,google/skia-buildbot,Tiger66639/skia-buildbot,Tiger66639/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,Tiger66639/skia-buildbot,google/skia-buildbot,Tiger66639/skia-buildbot,google/skia-buildbot,Ti...
slave/skia_slave_scripts/do_auto_roll.py
slave/skia_slave_scripts/do_auto_roll.py
#!/usr/bin/env python # Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Run the Blink AutoRoll bot for Skia.""" import os import re import sys from build_step import BuildStep from slave import sl...
#!/usr/bin/env python # Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Run the Blink AutoRoll bot for Skia.""" import os import re import sys from build_step import BuildStep from slave import sl...
bsd-3-clause
Python
10dc90feadfb16216924095d717861a1f76c77e0
Update 0006_auto_20200819_0951.py (#15449)
wagnerand/addons-server,mozilla/olympia,wagnerand/addons-server,diox/olympia,mozilla/olympia,eviljeff/olympia,bqbn/addons-server,bqbn/addons-server,mozilla/addons-server,eviljeff/olympia,diox/olympia,mozilla/addons-server,bqbn/addons-server,mozilla/addons-server,diox/olympia,eviljeff/olympia,mozilla/olympia,bqbn/addons...
src/olympia/promoted/migrations/0006_auto_20200819_0951.py
src/olympia/promoted/migrations/0006_auto_20200819_0951.py
# Generated by Django 2.2.14 on 2020-08-19 09:51 from django.db import migrations from olympia import amo from olympia.addons.tasks import index_addons from olympia.constants.promoted import RECOMMENDED @amo.decorators.use_primary_db def make_recommended_firefox_only(apps, schema_editor): PromotedAddon = apps.g...
# Generated by Django 2.2.14 on 2020-08-19 09:51 from django.db import migrations from olympia import amo from olympia.constants.promoted import RECOMMENDED @amo.decorators.use_primary_db def make_recommended_firefox_only(apps, schema_editor): PromotedAddon = apps.get_model('promoted', 'PromotedAddon') qs =...
bsd-3-clause
Python
f8e800219ac2c2c76bb5ac10b2dfdac038edbb5d
Remove StringIO import. Use a simple list to build up the output and return .join(s)
treemo/circuits,eriol/circuits,eriol/circuits,treemo/circuits,treemo/circuits,nizox/circuits,eriol/circuits
circuits/tools/__init__.py
circuits/tools/__init__.py
# Module: __init__ # Date: 8th November 2008 # Author: James Mills, prologic at shortcircuit dot net dot au """Circuits Tools circuits.tools contains a standard set of tools for circuits. These tools are installed as executables with a prefix of "circuits." """ def graph(x): s = [] d = 0 i = 0 done...
# Module: __init__ # Date: 8th November 2008 # Author: James Mills, prologic at shortcircuit dot net dot au """Circuits Tools circuits.tools contains a standard set of tools for circuits. These tools are installed as executables with a prefix of "circuits." """ try: from cStringIO import StringIO except ImportE...
mit
Python
b83390ee76d5bcbf68a21398b7fc16c918a6614a
implement required ckan interfaces
deniszgonjanin/ckanext-webhooks,derilinx/ckanext-webhooks,deniszgonjanin/ckanext-webhooks,datacats/ckanext-webhooks,derilinx/ckanext-webhooks,datacats/ckanext-webhooks
ckanext/webhooks/plugin.py
ckanext/webhooks/plugin.py
import ckan.plugins as plugins import ckan.plugins.toolkit as toolkit import ckan.model as model import logging import datetime from sqlalchemy import Table from sqlalchemy import Column from sqlalchemy import types from ckan.model.meta import metadata, mapper, Session from ckan.model.types import make_uuid log = lo...
import ckan.plugins as plugins import ckan.plugins.toolkit as toolkit import ckan.model as model import logging import datetime from sqlalchemy import Table from sqlalchemy import Column from sqlalchemy import types from ckan.model.meta import metadata, mapper, Session from ckan.model.types import make_uuid log = lo...
agpl-3.0
Python
42be102dd07d062080d9d5db4c0c9d054ed4534f
Prepare for version 0.4.3.
tarak/django-password-policies,tarak/django-password-policies
password_policies/__init__.py
password_policies/__init__.py
VERSION = (0, 4, 3, 'beta', 0) def get_version(version=None): """Derives a PEP386-compliant version number from VERSION.""" if version is None: version = VERSION assert len(version) == 5 assert version[3] in ('alpha', 'beta', 'rc', 'final') # Now build the two parts of the version number:...
VERSION = (0, 4, 2, 'final', 0) def get_version(version=None): """Derives a PEP386-compliant version number from VERSION.""" if version is None: version = VERSION assert len(version) == 5 assert version[3] in ('alpha', 'beta', 'rc', 'final') # Now build the two parts of the version number...
bsd-3-clause
Python
aac4262582ed2c367b0a398424652473ab5647f7
rename the app hook
bittner/cmsplugin-zinnia,django-blog-zinnia/cmsplugin-zinnia,bittner/cmsplugin-zinnia,bittner/cmsplugin-zinnia,django-blog-zinnia/cmsplugin-zinnia,django-blog-zinnia/cmsplugin-zinnia
cmsplugin_zinnia/cms_app.py
cmsplugin_zinnia/cms_app.py
"""Applications hooks for cmsplugin_zinnia""" from django.utils.translation import ugettext_lazy as _ from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from cmsplugin_zinnia.settings import APP_MENUS class ZinniaApphook(CMSApp): """Zinnia's Apphook""" name = _('Zinnia Weblog') ur...
"""Applications hooks for cmsplugin_zinnia""" from django.utils.translation import ugettext_lazy as _ from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from cmsplugin_zinnia.settings import APP_MENUS class ZinniaApphook(CMSApp): """Zinnia's Apphook""" name = _('Zinnia App Hook') ...
bsd-3-clause
Python
8bf58b1a55cd5f9d8c69088abc352bca962da088
Fix SQL error
minlexx/whdbx_web,minlexx/whdbx_web,minlexx/whdbx_web,minlexx/whdbx_web,minlexx/whdbx_web
classes/killmails_cache.py
classes/killmails_cache.py
# -*- coding: utf-8 -*- import sqlite3 import json from classes.sitecfg import SiteConfig class KillMailsCache: def __init__(self, siteconfig: SiteConfig): self._conn = sqlite3.connect(siteconfig.ZKB_CACHE_DIR + '/killmails.db', check_same_thread=False) self.check_tables() def check_tables(se...
# -*- coding: utf-8 -*- import sqlite3 import json from classes.sitecfg import SiteConfig class KillMailsCache: def __init__(self, siteconfig: SiteConfig): self._conn = sqlite3.connect(siteconfig.ZKB_CACHE_DIR + '/killmails.db', check_same_thread=False) self.check_tables() def check_tables(se...
mit
Python
8695a3b0216207370842651b771d765ecc7f8538
Remove copyright sign and year from 'rights' field
jodal/comics,datagutten/comics,datagutten/comics,datagutten/comics,jodal/comics,klette/comics,datagutten/comics,klette/comics,jodal/comics,klette/comics,jodal/comics
comics/comics/yehudamoon.py
comics/comics/yehudamoon.py
import re from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.meta.base import MetaBase class Meta(MetaBase): name = 'Yehuda Moon' language = 'en' url = 'http://www.yehudamoon.com/' start_date = '2008-01-22' rights = 'Rick Smith' class Crawler(CrawlerBase): history_cap...
import re from comics.aggregator.crawler import CrawlerBase, CrawlerImage from comics.meta.base import MetaBase class Meta(MetaBase): name = 'Yehuda Moon' language = 'en' url = 'http://www.yehudamoon.com/' start_date = '2008-01-22' rights = '(c) 2010 Rick Smith' class Crawler(CrawlerBase): hi...
agpl-3.0
Python
ec24e051e9d10b4cb24d135a3c08e9e9f87c6b8c
Allow to override strategy getter
fearlessspider/python-social-auth,MSOpenTech/python-social-auth,clef/python-social-auth,JJediny/python-social-auth,firstjob/python-social-auth,muhammad-ammar/python-social-auth,henocdz/python-social-auth,ariestiyansyah/python-social-auth,python-social-auth/social-app-django,falcon1kr/python-social-auth,lamby/python-soc...
social/apps/django_app/utils.py
social/apps/django_app/utils.py
from functools import wraps from django.conf import settings from django.core.urlresolvers import reverse from social.utils import setting_name, module_member from social.strategies.utils import get_strategy BACKENDS = settings.AUTHENTICATION_BACKENDS STRATEGY = getattr(settings, setting_name('STRATEGY'), ...
from functools import wraps from django.conf import settings from django.core.urlresolvers import reverse from social.utils import setting_name, module_member from social.strategies.utils import get_strategy BACKENDS = settings.AUTHENTICATION_BACKENDS STRATEGY = getattr(settings, setting_name('STRATEGY'), ...
bsd-3-clause
Python
eaa3f567c08469f0b441467662a8e323c364808f
Set no-cache on views
degs098/python-social-auth,muhammad-ammar/python-social-auth,iruga090/python-social-auth,bjorand/python-social-auth,mrwags/python-social-auth,rsteca/python-social-auth,robbiet480/python-social-auth,barseghyanartur/python-social-auth,cjltsod/python-social-auth,ononeor12/python-social-auth,chandolia/python-social-auth,MS...
social/apps/django_app/views.py
social/apps/django_app/views.py
from django.conf import settings from django.contrib.auth import login, REDIRECT_FIELD_NAME from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_exempt, csrf_protect from django.views.decorators.http import require_POST from django.views.decorators.cache import never_c...
from django.conf import settings from django.contrib.auth import login, REDIRECT_FIELD_NAME from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_exempt, csrf_protect from django.views.decorators.http import require_POST from social.utils import setting_name from socia...
bsd-3-clause
Python
dda57adf1b1ec7b6429f0891cf76bc4eb2001af9
Save historic->modern dictionary to file
NLeSC/embodied-emotions-scripts,NLeSC/embodied-emotions-scripts
reverse_dict.py
reverse_dict.py
"""Reverse modern->historic spelling variants dictonary to historic->modern mappings """ import argparse import codecs import json from collections import Counter if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('input_dict', help='the name of the json file ' ...
"""Reverse modern->historic spelling variants dictonary to historic->modern mappings """ import argparse import codecs import json from collections import Counter if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('input_dict', help='the name of the json file ' ...
apache-2.0
Python
73eaef92dd5b477ea003ac721be560d272b1f3c1
clean up __init__.py
jesford/cluster-lensing
clusterlensing/__init__.py
clusterlensing/__init__.py
from .clusters import ClusterEnsemble # noqa from .nfw import SurfaceMassDensity # noqa import cofm # noqa import halobias # noqa
from .clusters import ClusterEnsemble from .nfw import SurfaceMassDensity import cofm import halobias #from . import * # noqa #__all__ = ["clusters", "nfw", "cofm"]
mit
Python
f1f70b4615b497f0fe7019169656989e692a7de2
Insert Revenue data using insert expression
okfn-brasil/gastos_abertos,andresmrm/gastos_abertos,LuizArmesto/gastos_abertos,nucleo-digital/gastos_abertos,okfn-brasil/gastos_abertos,LuizArmesto/gastos_abertos,andresmrm/gastos_abertos
utils/import_revenue.py
utils/import_revenue.py
import pandas as pd from datetime import datetime, timedelta import calendar from sqlalchemy.sql.expression import insert from gastosabertos import create_app from gastosabertos.extensions import db app = create_app() db.app = app from gastosabertos.receita.models import Revenue def parse_money(money_string): i...
import pandas as pd from datetime import datetime, timedelta import calendar from gastosabertos import create_app from gastosabertos.extensions import db from gastosabertos.receita.models import Revenue app = create_app() db.app = app def parse_money(money_string): return float(money_string[3:].replace('.', '')....
agpl-3.0
Python
e86172dab2bff2e67e2cb9ed788afccf37f447f2
test 5.0.10
kaczmarj/neurodocker,kaczmarj/neurodocker
neurodocker/interfaces/tests/test_fsl.py
neurodocker/interfaces/tests/test_fsl.py
"""Tests for neurodocker.interfaces.FSL""" from neurodocker.interfaces.tests import utils class TestFSL(object): def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('fsl', {'version': '5.0.10'}), ...
"""Tests for neurodocker.interfaces.FSL""" from neurodocker.interfaces.tests import utils class TestFSL(object): def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('fsl', {'version': '5.0.11'}), ...
apache-2.0
Python
f98ec6d0dbd069bf16e23f6d1fb62014bf4d030e
update print to remove string format
jerodg/hackerrank-python
01_Introduction/03_arithmetic-operators.py
01_Introduction/03_arithmetic-operators.py
#!/usr/bin/python3.6 """Jerod Gawne, 2016-09-21 Arithmetic Operators https://www.hackerrank.com/challenges/python-arithmetic-operators/ Editorial - We can solve this problem by using basic arithmetic operators like +, - and *. a = int(input()) b = int(input()) print(a + b) print(a - b) print(a * b) """ def main...
#!/usr/bin/python3.6 """Jerod Gawne, 2016-09-21 Arithmetic Operators https://www.hackerrank.com/challenges/python-arithmetic-operators/ Editorial - We can solve this problem by using basic arithmetic operators like +, - and *. a = int(input()) b = int(input()) print(a + b) print(a - b) print(a * b) """ def main...
mit
Python
3a6dbe0149954190837d7a9f35a5f6fb2878a5a6
Fix #265 - Wrong introspection rule for GeoDjango 1.0
matthiask/south,matthiask/south
south/introspection_plugins/geodjango.py
south/introspection_plugins/geodjango.py
""" GeoDjango introspection rules """ import django from django.conf import settings from south.modelsinspector import add_introspection_rules has_gis = "django.contrib.gis" in settings.INSTALLED_APPS if has_gis: # Alright,import the field from django.contrib.gis.db.models.fields import GeometryField ...
""" GeoDjango introspection rules """ import django from django.conf import settings from south.modelsinspector import add_introspection_rules has_gis = "django.contrib.gis" in settings.INSTALLED_APPS if has_gis: # Alright,import the field from django.contrib.gis.db.models.fields import GeometryField ...
apache-2.0
Python