commit
stringlengths
40
40
subject
stringlengths
1
3.25k
old_file
stringlengths
4
311
new_file
stringlengths
4
311
old_contents
stringlengths
0
26.3k
lang
stringclasses
3 values
proba
float64
0
1
diff
stringlengths
0
7.82k
9357d163e13a0e7bff481e6453a0dec7ebd95a72
bump version
setup.py
setup.py
import os from setuptools import setup, find_packages # 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.23", author = "James Crosby", author_email = "James.Crosby@arm.c...
Python
0
@@ -242,17 +242,17 @@ = %220.0.2 -3 +4 %22,%0A a
759f58d875f6fa5caabb09a5f730e2d3e2ea8b2b
Bump version id
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup version = "0.2.2" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfield", author_email="bmhatfield@gmail.com", url=...
Python
0
@@ -66,11 +66,11 @@ %220. -2.2 +3.0 %22%0A%0As
e727d9a4eab95a0c1efa630f5754b085419b3c9d
Add pytz to install requirements
setup.py
setup.py
#!/usr/bin/env python # Copyright (C) 2011 Smarkets Limited <support@smarkets.com> # # This module is released under the MIT License: # http://www.opensource.org/licenses/mit-license.php import glob import io import os import shutil import subprocess import sys from distutils.command import build, clean from distutils....
Python
0
@@ -5767,16 +5767,32 @@ 0.0b2',%0A + 'pytz',%0A
c5324ab5bfeb9fb02ef61b245db0507671887c81
remove print statement
django/crashreport/processor/processor.py
django/crashreport/processor/processor.py
# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # import subprocess, re from .model...
Python
0.999999
@@ -1805,41 +1805,8 @@ d')%0A - print(thread_id)%0A
70abc0c81f7cedb5e54f30ee3d2da617ecb6e3f1
fix setup
setup.py
setup.py
# Copyright the Karmabot authors and contributors. # All rights reserved. See AUTHORS. # # This file is part of 'karmabot' and is distributed under the BSD license. # See LICENSE for more details. """ Karmabot -------- A highly extensible IRC karma+information bot Features include, thing storage, karma tracking Link...
Python
0.000001
@@ -1482,16 +1482,17 @@ blinker' +, %0A
74593323d5ae5a087b01bbd58f74c1aa22ce3937
Add test for get_filter_period
django/website/logframe/tests/test_api.py
django/website/logframe/tests/test_api.py
from django.contrib.auth.models import Permission from django.test.client import RequestFactory from django_dynamic_fixture import G import mock import pytest from rest_framework.request import Request from contacts.models import User from contacts.group_permissions import GroupPermissions from ..api import CanEditOr...
Python
0.000001
@@ -1,20 +1,58 @@ +from datetime import date, timedelta%0A%0A from django.contrib. @@ -376,16 +376,66 @@ rBackend +, get_period_filter%0Afrom inspect import isfunction %0A%0A%0A@pyte @@ -1811,8 +1811,238 @@ 2, 3%5D)%0A +%0A%0Adef test_get_period_filter_returns_function():%0A yesterday = date.today() - timedelta...
f9f54a90a8bc7ba4c7583529590a413b1482aa1e
Bump version (2.0.0)
setup.py
setup.py
# -*- coding: utf-8 -*- """ Jump Consistent Hash -------------------- Python implementation of the jump consistent hash algorithm by John Lamping and Eric Veach[1]. Requires Python 2.6-2.7 or 3.2+. Usage ````` .. code:: python >>> import jump >>> jump.hash(256, 1024) 520 Or if you want to use the C++ e...
Python
0
@@ -554,13 +554,13 @@ on=' -1.1.1 +2.0.0 ',%0A
00781e66e931c2eff67f076a86af1462227cc04f
Fix minor bug in modify about redirecting.
controller/admin.py
controller/admin.py
from bson.objectid import ObjectId from flask import Blueprint, session, flash, redirect, url_for, render_template, request import pymongo from util import database import controller.user admin = Blueprint('admin', __name__, template_folder='templates') """ The default action for the admin module. """ @admin.route(...
Python
0
@@ -4144,36 +4144,37 @@ direct(url_for(' -blog +admin .default'))%0A
4fe893a78dc74c68007198962d9e35c5b408c312
Move rest of setup metadata to top of module
setup.py
setup.py
from setuptools import setup, find_packages import versioneer import os packagename = 'documenteer' description = 'Tools for LSST DM documentation projects' author = 'Association of Universities for Research in Astronomy, Inc.' author_email = 'sqre-admin@lists.lsst.org' license = 'MIT' url = 'https://github.com/lsst...
Python
0
@@ -332,16 +332,247 @@ enteer'%0A +classifiers = %5B%0A 'Development Status :: 4 - Beta',%0A 'License :: OSI Approved :: MIT License',%0A 'Programming Language :: Python :: 3.5',%0A 'Programming Language :: Python :: 3.6',%0A%5D%0Akeywords = 'sphinx documentation lsst'%0A %0A%0Adef re @@ -1841,16 +1841,28...
8c123a32d1f946cb21891448ce1c1de7603eae09
Fix extra space
rnacentral_pipeline/databases/data/utils.py
rnacentral_pipeline/databases/data/utils.py
# -*- coding: utf-8 -*- """ Copyright [2009-2018] 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...
Python
0
@@ -1230,17 +1230,16 @@ :0000185 - ',%0A %22
e698f2dd90e9ea40814800ab6614c926f71b0416
Update version
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.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-protractor', ...
Python
0
@@ -325,17 +325,17 @@ sion='0. -1 +2 ',%0A p
6792aa5a5a2e1002af54b67e408ea3edff9eedba
Version 0.5.0
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import ( find_packages, setup, ) setup( name='pytest-docker', url='https://github.com/AndreLouisCaron/pytest-docker', version='0.3.0', license='MIT', maintainer='Andre Caron', maintainer_email='andre.l.caron@gmail.com', classifiers=[ ...
Python
0.000001
@@ -186,17 +186,17 @@ sion='0. -3 +5 .0',%0A
e56b79484ac8277769e641a9b5cf72bda9bd8ebf
Fix the setup.py
setup.py
setup.py
from distutils.core import setup setup(name='registration', version='0.1', description='User-registration application for Django', author='James Bennett', author_email='james@b-list.org', url='http://code.google.com/p/django-registration/', packages=['registration'], classifie...
Python
0.000079
@@ -294,24 +294,149 @@ stration'%5D,%0A + package_dir=%7B 'registration': 'registration' %7D,%0A package_data=%7B 'registration': %5B'templates/registration/*.*'%5D %7D,%0A classi
894804df76f1ecde4acb17d705c5daaca7d757d5
Bump version.
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst') as f: readme = f.read() setup( name='python-callfire', version='0.9.1', description='CallFire API thin wrapper.', long_description=readme, author='Alexander Shchapov', author_email='sasha@imedicar...
Python
0
@@ -173,9 +173,9 @@ 0.9. -1 +2 ',%0A
994fb3b3f3b2fa4e8da05fab7268eef14ca020b7
Fix bad script name
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='openmesher', version='0.6.1', description='OpenMesher: Router OpenVPN p2p Mesh Link Generator', author='Aaron C. de Bruyn', author_email='aaron@heyaaron.com', url='https://github.com/darkpixel/openmesher', ...
Python
0.02134
@@ -422,16 +422,20 @@ ripts=%5B' +open mesher.p
a006caac94e74e77eb037775748d53efa39d38ce
Version bump to telepath 0.1.1 for gettext_lazy fix
setup.py
setup.py
#!/usr/bin/env python from wagtail import __version__ from wagtail.utils.setup import assets, check_bdist_egg, sdist try: from setuptools import find_packages, setup except ImportError: from distutils.core import setup # Hack to prevent "TypeError: 'NoneType' object is not callable" error # in multiprocess...
Python
0
@@ -1025,16 +1025,18 @@ ath%3E=0.1 +.1 ,%3C1%22,%0A%5D%0A
ef30348ddaf7cd1f283d6ae7a008018f27ba1c71
use Cython to build
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, Extension setup( name = "python-libmemcached", version = "0.40", description="python memcached client wrapped on libmemcached", maintainer="davies", maintainer_email="davies.liu@gmail.com", install_requires = ['pyrex']...
Python
0
@@ -55,16 +55,55 @@ xtension +%0Afrom Cython.Distutils import build_ext %0A%0Asetup( @@ -164,11 +164,10 @@ = %22 -0.4 +1. 0%22,%0A @@ -348,15 +348,61 @@ = %5B' -pyrex'%5D +cython'%5D,%0A cmdclass = %7B'build_ext': build_ext%7D ,%0A
4932f85d656e501bea688ec483f30fd8ab907a8c
Add Python 3.6 classifier to packaging
setup.py
setup.py
#!/usr/bin/env python """ ChatterBot setup file. """ from setuptools import setup # Dynamically retrieve the version information from the chatterbot module CHATTERBOT = __import__('chatterbot') VERSION = CHATTERBOT.__version__ AUTHOR = CHATTERBOT.__author__ AUTHOR_EMAIL = CHATTERBOT.__email__ URL = CHATTERBOT.__url__...
Python
0.020479
@@ -2554,16 +2554,65 @@ : 3.5',%0A + 'Programming Language :: Python :: 3.6',%0A %5D,%0A
a0b522fa392925aac525f5ebf0a4e5b10a63d8f9
Add aiodataloader to test deps
setup.py
setup.py
import ast import codecs import re import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand _version_re = re.compile(r"VERSION\s+=\s+(.*)") with open("graphene/__init__.py", "rb") as f: version = ast.literal_eval(_version_re.search(f.read().decode("utf-8")).g...
Python
0
@@ -1378,16 +1378,39 @@ .1,%3C2%22,%0A + %22aiodataloader%3C1%22,%0A %5D%0A%0Adev_r
7cbe3db336ad4d75f556f0cda8a6ddf15cd3f8b4
add plots to local binary pattern example
doc/examples/plot_local_binary_pattern.py
doc/examples/plot_local_binary_pattern.py
""" =============================================== Local Binary Pattern for texture classification =============================================== In this example, we will see how to classify textures based on LBP (Local Binary Pattern). The histogram of the LBP result is a good measure to classify textures. For simp...
Python
0
@@ -479,13 +479,50 @@ ort -pylab +matplotlib%0Aimport matplotlib.pyplot as plt %0Aimp @@ -1669,16 +1669,44 @@ HOD)%0A%7D%0A%0A +# classify rotated textures%0A print ma @@ -1865,24 +1865,597 @@ le=145, reshape=False))%0A +%0A# plot histograms of LBP of textures%0Amatplotlib.rcParams%5B'font.size'%5D = 9%0Aplt.figu...
7c7b8a8688de576b144336cb27b812865d91506a
Bump version number to 0.9.6b7
setup.py
setup.py
import os import sys try: from setuptools import setup except: from distutils.core import setup readme_note = '''\ .. note:: For the latest source, issues and discussion, etc, please visit the `GitHub repository <https://github.com/samuell/sciluigi>`_\n\n ''' with open('README.rst') as fobj: long_...
Python
0.000069
@@ -403,11 +403,11 @@ 0.9. -5b6 +6b7 ',%0A
416ec194c42092dd9fd28d8b71a77c403e14aa55
Bump version number to v2.1.0
red_star/rs_version.py
red_star/rs_version.py
from collections import namedtuple __all__ = ['version_tuple', 'version'] _VersionInfo = namedtuple("VersionInfo", 'major minor patch releaselevel') version_tuple = _VersionInfo(major=2, minor=0, patch=1, releaselevel="release") version = f"{version_tuple.major}.{version_tuple.minor}.{version_tuple.patch}" if version...
Python
0.000005
@@ -191,17 +191,17 @@ nor= -0 +1 , patch= 1, r @@ -196,17 +196,17 @@ , patch= -1 +0 , releas
9f5946cb00211f5617413082b3481eae35156a68
Switch from api to ORM for creating transform
run_initial_services_page_transformation.py
run_initial_services_page_transformation.py
from __future__ import print_function from django.conf import settings from stagecraft.apps.dashboards.models.dashboard import Dashboard from stagecraft.apps.dashboards.models.module import ModuleType from stagecraft.apps.datasets.models.data_group import DataGroup from stagecraft.apps.datasets.models.data_type impor...
Python
0.000001
@@ -440,24 +440,35 @@ ransformType +, Transform %0Afrom django @@ -2264,336 +2264,176 @@ -transform = %7B%0A %22type_id%22: str(transform_type.id),%0A %22input%22: %7B%0A %22data-group%22: '*',%0A %22data-type%22: data_type,%0A %7D,%0A %2...
2e3316d179988a2f1963dae5c53bdb51b6ac6669
fix little bug in method get_flow_mod
uctrl/load_balancer.py
uctrl/load_balancer.py
#!/usr/bin/env python import random # Not supposed to be something dynamic, for now. class Load_Balancer(object): def __init__(self): # Edge output ports in order of preference # It will be calculated in the load_balance method self.edge_out_ports = {} def lb_policy(self, edge_core): ...
Python
0.000001
@@ -1545,16 +1545,20 @@ low_mod( +self ):%0A
685eac5daf534ed0ac9b61df8c55ae7261ce2e47
test uneven number of digits in hex and binary
proto/utest/test_binary_tools.py
proto/utest/test_binary_tools.py
import unittest from binary_tools import to_bin, to_bin_of_length, to_hex, to_0xhex class TestBinaryConversions(unittest.TestCase): def test_integer_to_bin(self): self.assertEquals(to_bin(0), '\x00') self.assertEquals(to_bin(5), '\x05') self.assertEquals(to_bin(255), '\xff') self.a...
Python
0.000033
@@ -848,17 +848,16 @@ bin('0b0 -0 '), '%5Cx0 @@ -896,17 +896,16 @@ _bin('0b -0 1'), '%5Cx @@ -1002,17 +1002,16 @@ _bin('0b -0 1 0000 0 @@ -1239,17 +1239,16 @@ bin('0x0 -0 '), '%5Cx0 @@ -1287,17 +1287,16 @@ _bin('0x -0 5'), '%5Cx @@ -1386,17 +1386,16 @@ _bin('0x -0 100'), '
82c8a1d53b8fa023cefb330a554860b2ff118752
make data structure id_matcher as a dict
uctrl/load_balancer.py
uctrl/load_balancer.py
#!/usr/bin/env python import random # Not supposed to be something dynamic, for now. class Load_Balancer(object): def __init__(self): # Edge output ports in order of preference # It will be calculated in the load_balance method self.edge_out_ports = {} def lb_policy(self, edge_core): ...
Python
0.000031
@@ -991,18 +991,18 @@ tcher = -%5B%5D +%7B%7D %0A%0A %0A
d745dde2c50fcac582e9d4b544a7c65f5035963b
Update version
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup import chainer_setup_build setup_requires = [] install_requires = [ 'filelock', 'nose', 'numpy>=1.9.0', 'protobuf', 'six>=1.9.0', ] # Hack for Read the Docs on_rtd = chainer_setup_build.check_readthedocs_environment() if on_rtd: ...
Python
0
@@ -530,17 +530,17 @@ on='1.7. -1 +2 ',%0A d
d041ab4a09da6a2181e1b14f3d0f323ed9c29c6f
Make scored_by_user filter call model method
applications/templatetags/applications_tags.py
applications/templatetags/applications_tags.py
# -*- encoding: utf-8 -*- from django import template from applications.models import Score register = template.Library() @register.filter def scored_by_user(value, arg): try: score = Score.objects.get(application=value, user=arg) return True if score.score else False except Score.DoesNotExi...
Python
0
@@ -52,47 +52,8 @@ te%0A%0A -from applications.models import Score%0A%0A %0Areg @@ -80,16 +80,17 @@ rary()%0A%0A +%0A @registe @@ -121,190 +121,74 @@ ser( -value, arg):%0A try:%0A score = Score.objects.get(application=value, user=arg)%0A +application, user):%0A - return -True if score.score e...
207a5a80a97bd41498159198819f5f99d1b2894e
Version bump to v0.7.1
src/django_xworkflows/__init__.py
src/django_xworkflows/__init__.py
# -*- coding: utf-8 -*- # Copyright (c) 2011-2012 Raphaël Barrois __version__ = '0.7.0' __author__ = 'Raphaël Barrois <raphael.barrois@polytechnique.org>'
Python
0
@@ -79,17 +79,17 @@ = '0.7. -0 +1 '%0A__auth
4ea1e23cb3ef96775c99984bda3640b22bbe97e1
Tidy up the parameters to the `setup()` function.
setup.py
setup.py
import os import platform import sys import warnings from distutils.command.build_ext import build_ext from distutils.errors import CCompilerError from distutils.errors import DistutilsExecError from distutils.errors import DistutilsPlatformError from setuptools import setup from setuptools.extension import Extension ...
Python
0.000004
@@ -3005,16 +3005,17 @@ rl='http +s ://githu @@ -3439,20 +3439,470 @@ :: -3',%0A +2',%0A 'Programming Language :: Python :: 2.7',%0A 'Programming Language :: Python :: 3',%0A 'Programming Language :: Python :: 3.4',%0A 'Programming Language :: Python :: 3.5',%0A ...
4cf729fe916157e97fb5e6cd527147c816246fa3
Drop privileges before starting other services
core/application.py
core/application.py
from abc import ABCMeta from abc import abstractmethod import daemon import logging import os from optparse import OptionParser import pwd import sys import time import tornado.ioloop from core import pid from core.settings import Settings logging.basicConfig( level=logging.WARNING, format="%(asctime)-15s [%...
Python
0
@@ -1626,101 +1626,8 @@ ry:%0A - self.start_services()%0A pid.write(self.pid_file, append=True)%0A%0A @@ -1764,16 +1764,109 @@ d(uid)%0A%0A + self.start_services()%0A pid.write(self.pid_file, append=True)%0A%0A
c791c52d2813e01e18ff745bce33a707f50b98af
Fix template error in sql (#71169)
homeassistant/components/sql/sensor.py
homeassistant/components/sql/sensor.py
"""Sensor from an SQL Query.""" from __future__ import annotations from datetime import date import decimal import logging import sqlalchemy from sqlalchemy.exc import SQLAlchemyError from sqlalchemy.orm import scoped_session, sessionmaker import voluptuous as vol from homeassistant.components.recorder import CONF_D...
Python
0
@@ -1619,24 +1619,22 @@ TE): cv. -template +string ,%0A %7D%0A
51274bd196dbde19d89d68c83b0cc7814b77d8ab
fix with exception for python3
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import sys if sys.version_info[:2] != (2, 7): print "Need Python 2.7.x" sys.exit(1) setup ( name = "tt", version = "0.2", description="(tt) - time tracker", long_description="lightweight command line tool to track time for projects", au...
Python
0.000001
@@ -96,22 +96,25 @@ 7):%0A - print +%09raise Exception( %22Nee @@ -132,20 +132,8 @@ 7.x%22 -%0A%09sys.exit(1 )%0A %0A
360128c41dfe73f2d229a751bbe4611b4337d71a
Add invoke >= 0.8 to setup.py
setup.py
setup.py
#!/usr/bin/env python """ Copyright 2014-2015 Parsely, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
Python
0
@@ -1082,17 +1082,18 @@ 'invoke -%3C +%3E= 0.8',%0A
b1d55ec6069f24729abb6b7bf304dca966b515fb
Change homepage in setup.py from github to readthedocs
setup.py
setup.py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspa...
Python
0
@@ -753,17 +753,17 @@ on='0.1. -0 +1 ',%0A%0A @@ -961,38 +961,11 @@ http -s :// -github.com/lev-veshnyakov/ djan @@ -970,32 +970,48 @@ ango-import-data +.readthedocs.org ',%0A%0A # Author
403f00464801db437dbec6682a847b6479853f12
Remove Python 2.5 as supported because I haven't actually tested this with it
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup def file_get_contents(name): with open(os.path.join(os.path.dirname(__file__), name)) as f: return f.read() setup(name = "docopts", version = "0.5.0+fix", author = "Lari Rasku", author_email ...
Python
0
@@ -1013,75 +1013,8 @@ e%22,%0A - %22Programming Language :: Python :: 2.5%22,%0A
c0490aaa47507bd6ba9b34f3b27bd8ba96c339d7
Fix setup entry point
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import os.path def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except IOError: return '' setupconf = dict( name='pundle', version='0.2.5', license='BSD', url='https://github.com/Deepw...
Python
0.000001
@@ -660,16 +660,28 @@ pundle: +CmdRegister. main'%0A
fb8839cbd3c7829584dd8cc9d2282614b9a6e3c2
Cut 0.0.4
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='pytest-relaxed', version='0.0.3', description='Relaxed test discovery/organization for pytest', license='BSD', url="https://github.com/bitprophet/pytest-relaxed", author='Jeff Forcier', author_email='jeff@bitpr...
Python
0.000002
@@ -112,17 +112,17 @@ on='0.0. -3 +4 ',%0A d
ed6de11b55686f449a0dbe9ce99cf588aa57374a
Test for application details test that answers are shown
hyrodactil/tests/applications/views.py
hyrodactil/tests/applications/views.py
import os import shutil from django.core.urlresolvers import reverse from django_webtest import WebTest from ..factories._accounts import UserFactory from ..factories._applications import ApplicationFactory from ..factories._companysettings import SingleLineQuestionFactory from ..factories._jobs import OpeningFactory...
Python
0
@@ -175,32 +175,38 @@ ications import +(%0A ApplicationFacto @@ -199,32 +199,60 @@ plicationFactory +, ApplicationAnswerFactory%0A) %0Afrom ..factorie @@ -4076,32 +4076,242 @@ ng=self.opening) +%0A answer = ApplicationAnswerFactory.create(application=application,%0A ...
db8795ce757cdc223e22b0f9b2613641a297eb69
update logging
birdhousebuilder/recipe/supervisor/__init__.py
birdhousebuilder/recipe/supervisor/__init__.py
# -*- coding: utf-8 -*- """Recipe supervisor""" import os from mako.template import Template import logging import zc.recipe.deployment from zc.recipe.deployment import Configuration from zc.recipe.deployment import SharedConfig import birdhousebuilder.recipe.conda templ_config = Template(filename=os.path.join(os....
Python
0.000001
@@ -184,54 +184,8 @@ ion%0A -from zc.recipe.deployment import SharedConfig%0A impo @@ -1804,68 +1804,8 @@ ons) -%0A self.logger.debug('deployment %25s', buildout.keys()) %0A%0A
a051c8f88c596ee847250f1c43f4270abc1b75c6
Add test for coverage
pyembed/core/test/render_test.py
pyembed/core/test/render_test.py
# The MIT License(MIT) # Copyright (c) 2013-2014 Matt Thomson # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mo...
Python
0
@@ -1142,62 +1142,22 @@ t re -sponse%0Afrom pyembed.core.render import DefaultRenderer +nder, response %0A%0Afr @@ -1547,32 +1547,39 @@ t_that(%0A +render. DefaultRenderer( @@ -2049,32 +2049,39 @@ t_that(%0A +render. DefaultRenderer( @@ -2426,32 +2426,39 @@ t_that(%0A +render. DefaultRen...
6c1e355b7229977a6fc028cb72d6cbde0cb0289d
Update studio_object.py
pyfmodex/studio/studio_object.py
pyfmodex/studio/studio_object.py
"""Parent class for most other classes related to FMOD Stdio.""" from ..utils import ckresult from .library import get_library class StudioObject: """A base FMOD studio object.""" function_prefix = '' # to be overridden in subclasses def __init__(self, ptr): """Constructor. :param...
Python
0.000002
@@ -565,33 +565,8 @@ ix)%0A - print(func_name)%0A
baa4d90a57f55e5a42fe1d4995bc29b28c299aa5
Simplify how the OpenMP backend builds libraries.
pyfr/backends/openmp/compiler.py
pyfr/backends/openmp/compiler.py
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod from ctypes import CDLL import itertools as it import os import tempfile from pytools.prefork import call_capture_output from pyfr.ctypesutil import platform_libname from pyfr.nputil import npdtype_to_ctypestype from pyfr.util import rm class SourceMo...
Python
0
@@ -1602,20 +1602,16 @@ cn, - on, ln = 't @@ -1620,17 +1620,8 @@ .c', - 'tmp.o', pla @@ -1781,16 +1781,25 @@ Compile + and link %0A @@ -1808,32 +1808,91 @@ md = %5Bself._cc,%0A + '-shared', # Create a shared library%0A ' @@ -2211,244 +2211,18 @@ '- -c', '-o'...
639d784eebba9aa6c88dd4c275790508c17ffde4
Bump version
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pynubank', version='2.7.2', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', ...
Python
0.000078
@@ -1,8 +1,19 @@ +import os%0A%0A from set @@ -49,16 +49,126 @@ ckages%0A%0A +def read(fname):%0A with open(os.path.join(os.path.dirname(__file__), fname)) as f:%0A return f.read()%0A%0A setup(%0A @@ -206,11 +206,11 @@ ='2. -7.2 +8.0 ',%0A @@ -558,16 +558,107 @@ cs12'%5D,%0A + long_description=read...
2f54c01fb6666beada00535a1b8ee5346a1a7ff0
Prepare release v1.0.1
setup.py
setup.py
#!/usr/bin/env python2.7 from __future__ import print_function from distutils.core import setup import os version = '1.0.1b' # Append TeamCity build number if it gives us one. if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'): version += '' + os.environ['TC_BUILD_NUMBER'] setup(name='fetch', mai...
Python
0.000001
@@ -116,17 +116,16 @@ = '1.0.1 -b '%0A%0A# App
b8f14b43cf55a319ee7accb1f9101c5f53819b12
fix field name regexp
configdb/db/schema.py
configdb/db/schema.py
import json import re from dateutil import parser as dateutil_parser from configdb import exceptions from configdb.db import acl from configdb.db import validation ENTITY_NAME_PATTERN = re.compile(r'^[-_a-z0-9]+$') FIELD_NAME_PATTERN = re.compile(r'^[a-z][-_a-z0-9]*$') DEFAULT_ACL = {'r': '*', 'w': '*'} class Field(...
Python
0.000008
@@ -250,17 +250,16 @@ '%5E%5Ba-z%5D%5B -- _a-z0-9%5D
46255e4c24f7931396e37671ad9a3086724c4f88
version bump
setup.py
setup.py
from setuptools import setup, find_packages setup( name='volta', version='0.0.56', description='yandex package for mobile energy consumption measurements', longer_description=''' yandex package for mobile energy consumption measurements ''', maintainer='Alexey Lavrenuke (load testing)', maintai...
Python
0.000001
@@ -85,9 +85,9 @@ .0.5 -6 +7 ',%0A
853c41b02ffa80d7ea41b01d85761c79d8c72595
Bump version -- in the right place
setup.py
setup.py
from distutils.core import setup DESCRIPTION=""" """ setup( name="django-moneyfield", description="Django Money Model Field", long_description=DESCRIPTION, version="0.2.1", author="Carlos Palol", author_email="carlos.palol@awarepixel.com", url="https://github.com/carlospalol/django-moneyf...
Python
0
@@ -183,9 +183,9 @@ =%220. -2 +3 .1%22,
935aa0ff545254dbd43069a2173898f5138d7d63
Remove deprecated plugin
pelicanconf.py
pelicanconf.py
#!/usr/bin/env python AUTHOR = 'poliastro developer team' SITENAME = 'poliastro' SITESUBTITLE = u'poliastro website' SITEURL = '' PATH = 'content' TIMEZONE = 'Europe/Madrid' DEFAULT_LANG = 'en' LOCALE = 'en_US.UTF-8' # Feed generation is usually not desired when developing FEED_ALL_ATOM = None CATEGORY_FEED_ATOM = No...
Python
0.000001
@@ -1001,72 +1001,8 @@ les%0A - 'feed_summary', # use summaries for RSS, not full articles%0A
a8e8baa029b4d7fb7de45894dbd8e2abc74bbe33
Fix encoding requirement.
pelicanconf.py
pelicanconf.py
#!/usr/bin/env python """Build this thing!""" # -*- coding: utf-8 -*- # from __future__ import unicode_literals # Site configuration AUTHOR = 'Chris Krycho and Stephen Carradini' SITENAME = 'Winning Slowly' SITE_DESCRIPTION = 'Culture, technology, religion, ethics, and art—from the long view.' SITEURL = '' LOGO = 'st...
Python
0.000015
@@ -19,33 +19,8 @@ hon%0A -%22%22%22Build this thing!%22%22%22%0A%0A # -* @@ -40,16 +40,42 @@ -8 -*- # +%0A%0A%22%22%22Build this thing!%22%22%22%0A %0Afrom __
2108a16ba931f3ef4b64ced72115539faa250b02
fix path to robots
pelicanconf.py
pelicanconf.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals from pathlib import Path AUTHOR = u'Python Group' SITENAME = u'Python Group UEA' SITEURL = '' PATH = 'content' STATIC_PATHS = ['extra/robots.txt', 'pdfs', 'figures', 'extra/favicon.ico', 'extra/custom.css'] EXTRA_P...
Python
0.000378
@@ -210,16 +210,25 @@ ATHS = %5B +'extra', 'extra/r @@ -477,22 +477,16 @@ path': ' -extra/ robots.t
0d31d032754287ae10aef3e056cea00ea1cc4ac6
Fix version bump
setup.py
setup.py
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
Python
0
@@ -1054,13 +1054,13 @@ n='12.1. -1 +2 '%0A)%0A
a3637c8520beb5dd9505bdc04cad131e0a8357db
Fix runtime_lib_dirs on Linux and macOS
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, Extension import platform import os with open('README.md') as f: readme = f.read() def ls_dir(base_dir): """List files recursively.""" base_dir = os.path.join(base_dir, "") return [ os.path.join(dirpath.replace(base_dir, "", 1), f) ...
Python
0.000127
@@ -398,16 +398,17 @@ %0A %5D%0A%0A +%0A x64 = pl @@ -479,16 +479,318 @@ 'lib32' +%0Aostype = platform.system()%0A%0Aif ostype == 'Linux':%0A runtime_lib_dirs = %5B%0A os.path.join('$ORIGIN', 'amplpy', 'amplpython', libdir)%0A %5D%0Aelif ostype == 'Darwin':%0A runtime_lib_dirs = %5B%0A os....
7686e645434a414629d12c8a73b98cfb16efdbe4
upgrade dependencies : coop_html_editor 1.0.0
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """package the lib""" try: from setuptools import setup, find_packages except ImportError: import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages VERSION = __import__('coop_cms').__version__ import os def read(fname): ...
Python
0.000002
@@ -933,11 +933,11 @@ %3E= -0.1 +1.0 .0',
9f73f4f32b5bff9ca2708d1ac78e1eb976becbbe
add classes to init
corpkit/__init__.py
corpkit/__init__.py
__all__ = ["interrogator", "editor", "plotter", "conc", "save", "quickview", "load", "load_all_results", "as_regex", "new_project", "make_corpus", "flatten_treestring", "interroplot"] __v...
Python
0.000004
@@ -307,16 +307,65 @@ rroplot%22 +,%0A %22Corpus%22,%0A %22Interrogation%22 %5D%0A%0A__ver @@ -1223,8 +1223,74 @@ estring%0A +from corpus import Corpus%0Afrom interrogation import Interrogation%0A
806d64ecf8d5e009dc7f31d1af873ff32fe84425
Update version to 1.0
setup.py
setup.py
from setuptools import setup, find_packages __version__ = "0.0.37" setup( # package name in pypi name='django-oscar-api', # extract version from module. version=__version__, description="REST API module for django-oscar", long_description=open('README.rst').read(), classifiers=[ ...
Python
0
@@ -58,14 +58,11 @@ = %22 -0 +1 .0 -.37 %22%0A%0A%0A
95077753702ac3441f5da07a2ee8f6a6f48e0890
Fix wx backend for Py3
pyscreenshot/plugins/wxscreen.py
pyscreenshot/plugins/wxscreen.py
from PIL import Image import logging log = logging.getLogger(__name__) # based on: # http://stackoverflow.com/questions/69645/take-a-screenshot-via-a-python-script-linux class WxScreen(object): name = 'wx' childprocess = False def __init__(self): import wx self.wx = wx self.app ...
Python
0.000007
@@ -1,41 +1,120 @@ -from PIL import Image%0Aimport logging%0A +import logging%0Aimport sys%0A%0Afrom PIL import Image%0A%0APY3 = sys.version_info%5B0%5D %3E= 3%0Ato_bytes = bytes if PY3 else buffer %0Alog @@ -1136,22 +1136,24 @@ ombytes( -buffer +to_bytes (myWxIma
21c020edc9eb810cb39d17c375c1a8b8e2098175
remove file
scraper/cheapcdn/client.py
scraper/cheapcdn/client.py
import os import glob import shutil import random import mimetypes import subprocess from django.conf import settings from minio import ( Minio, policy, error ) import netifaces as ni from core import ( logging, error as core_error ) from . import models logger = logging.getLogger(__name__) ...
Python
0.000003
@@ -2875,16 +2875,64 @@ o/mp4')%0A + os.remove(filename) # XXX: Remove file%0A
58fa7de8caf0061cfc1a5c86aca25855ffd29b04
Update contact email.
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.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-etesync-journal',...
Python
0
@@ -602,23 +602,19 @@ il=' -contact.journal +development @ete
196baa9c2824c5d0409282f3b5cbe7c2f2ef01d5
bump version number and update author
setup.py
setup.py
from setuptools import setup setup(name='servicemanager', version='0.1.0', description='A python tool to manage developing and testing with lots of microservices', url='https://github.com/hmrc/service-manager', author='vaughansharman', license='Apache Licence 2.0', packages=['servi...
Python
0
@@ -70,17 +70,17 @@ sion='0. -1 +2 .0',%0A @@ -242,22 +242,27 @@ or=' -vaughansharman +hmrc-web-operations ',%0A
909eb03bda11a3cd37248f80ebc0e7b8d0d52677
Reset signal?
python/mic-speech-text-stream.py
python/mic-speech-text-stream.py
# You need to install pyaudio to run this example # pip install pyaudio from __future__ import print_function from watson_developer_cloud import SpeechToTextV1 from watson_developer_cloud.websocket import RecognizeCallback from watson_developer_cloud import ConversationV1 import os, sys, subprocess, threading, time, ...
Python
0
@@ -1275,120 +1275,8 @@ ed%0A%0A -signal.signal(signal.SIGINT, signal_handler)%0Adetector = snowboydecoder.HotwordDetector(model, sensitivity=0.5)%0A%0A # K9 @@ -2360,16 +2360,135 @@ ile go:%0A + signal.signal(signal.SIGINT, signal_handler)%0A detector = snowboydecoder.HotwordDetector(model, sensitivity=0.5)%0...
decb2c611e3920855ff26a8eed53e125879a0019
Fix the build
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'Click>=6.0', 'gql>=0.1.0', 'requests>=2.0.0', 'inquirer>=2....
Python
0.000254
@@ -88,19 +88,18 @@ 'README. -rst +md ') as re @@ -146,85 +146,8 @@ ()%0A%0A -with open('HISTORY.rst') as history_file:%0A history = history_file.read()%0A%0A requ @@ -537,27 +537,8 @@ adme - + '%5Cn%5Cn' + history ,%0A
ed3383b4cb22a88e0f5ae1bdd8d70a2a348b25ed
Make Pillow a formal dependency
setup.py
setup.py
import sys from glob import glob from os import cpu_count, environ from os.path import dirname, exists, join import setuptools from setuptools import Extension, setup from setuptools.command.build_ext import build_ext class get_pybind_include(object): """Helper class to determine the pybind11 include path T...
Python
0
@@ -5029,21 +5029,110 @@ es=%5B -'lxml %3E= 4.0' +%0A 'lxml %3E= 4.0',%0A 'Pillow %3E= 6', # only needed for manipulating images%0A %5D,%0A
4ecbec96d65b32be24ff9494982325f5fd40a2d6
Add classifiers to setup.py
setup.py
setup.py
from setuptools import setup setup(name='clihelper', version='1.0.0', description='Internal Command-Line Application Wrapper', long_description=('clihelper is a wrapper for command-line daemons ' 'providing a core Controller class and methods for ' 'sta...
Python
0.000003
@@ -706,24 +706,418 @@ nittest2'%5D,%0A + classifiers=%5B%0A 'Development Status :: 4 - Beta',%0A 'Intended Audience :: Developers',%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A 'Topic :: Software Development :: Libraries',...
e109efc914064549d1d14f0814e9aa462dc8ea4a
version bump
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Created on Fri May 22 18:29:26 2015 @author: ddboline """ from __future__ import (absolute_import, division, print_function, unicode_literals) import sys from setuptools import setup console_scripts = ( ('make-queue', 'movie_collection_app.make_queue:make_queue_parse'...
Python
0.000001
@@ -1006,17 +1006,17 @@ ='0.0.2. -8 +9 ',%0A a
a806077d98df37094caae91839e316152a7c660d
Update package metadata release status to 'Stable' (#5031)
setup.py
setup.py
# Copyright 2018 Google LLC # # 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, s...
Python
0
@@ -895,24 +895,26 @@ atus :: -4 - Beta +5 - Stable '%0Adepend
67b138bc83bc5caa7f8337287a3349fbc86705f5
edit version
setup.py
setup.py
from distutils.core import setup setup( name='regexXML', version='0.1dev', packages=['regexXML',], license='Apache 2.0', long_description=open('README.md').read(), )
Python
0
@@ -74,9 +74,9 @@ ='0. -1 +2 dev'
86f3c75ff996a42da29125cc57dcf78bfe196caf
Fix typo
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='bugzilla2fedmsg', version='1.0.0', description='Consume Bugzilla messages over STOMP and republish to Fedora Messaging', license='LGPLv2+', author='Ralph Bean', author_email='rbean@redhat.com', url='https://git...
Python
0.999992
@@ -546,17 +546,16 @@ roved :: - GNU Les
d71a76e3dc30cb4d2b3c43f39351e32fab3fb2d4
Update error message
simplesqlite/loader/spreadsheet/gsloader.py
simplesqlite/loader/spreadsheet/gsloader.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import absolute_import import dataproperty from six.moves import zip from ..error import InvalidDataError from ..error import OpenError from ..data import TableData from .core import SpreadSheetLoader from ..._func im...
Python
0.000001
@@ -3448,30 +3448,34 @@ rror(%22spread - sheet + '%7B%7D' not found%22) @@ -3473,16 +3473,35 @@ t found%22 +.format(self.title) )%0A%0A d
8f3143213c7b6fc9df4edd85d39d57b71e173eb4
Use encryptor instead of cryptor for encryption
qingstor/sdk/utils/file_chunk.py
qingstor/sdk/utils/file_chunk.py
from __future__ import unicode_literals import os from math import ceil from Crypto.Cipher import AES from .helper import md5_digest from ..constant import PART_SIZE, SEGMENT_SIZE # Only support read for now HOOKS = ["read"] class FileChunk: def __init__(self, fd, part_size=PART_SIZE, hooks=None): se...
Python
0
@@ -2505,54 +2505,8 @@ CBC%0A - encrypt_key = md5_digest(encrypt_key)%0A @@ -2510,24 +2510,26 @@ self. +en cryptor = AE @@ -2534,16 +2534,27 @@ AES.new( +md5_digest( encrypt_ @@ -2556,16 +2556,17 @@ rypt_key +) , self.m @@ -2946,16 +2946,18 @@ rn self. +en cryptor.
51c777a29b9b6fcc07459ad894f6c256db8e6c78
Update setup.py.
setup.py
setup.py
from setuptools import setup description = """ Redis Cache Backend for Django. (This is fork of django-redis-cache) """ setup( name = "django-redis", url = "https://github.com/niwibe/django-redis", author = "Andrei Antoukh", author_email = "niwi@niwi.be", version=':versiontools:redis_cache:', ...
Python
0
@@ -284,34 +284,11 @@ on=' -:versiontools:redis_cache: +3.0 ',%0A @@ -445,72 +445,11 @@ %3E=2. -4.5',%0A %5D,%0A setup_requires = %5B%0A 'versiontools %3E= 1.8 +7.0 ',%0A @@ -638,50 +638,8 @@ e%22,%0A - %22Programming Language :: Python%22,%0A @@ -693,153 +693,529 @@ %22 -Topic :: S...
46a32359974f47d2fd0097d8a2cf29c678914575
rename distribution to ecreall_dace
setup.py
setup.py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() requires = [ 'BTrees', 'pyramid', 'pyramid_tm', 'pyzmq', 'rwproperty', 'subst...
Python
0.000001
@@ -383,16 +383,24 @@ p(name=' +ecreall_ dace',%0A
521e3448160625d598330f55edf6149c79c56c51
set license in setup script
setup.py
setup.py
import os from setuptools import setup, find_packages import posts def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-posts', version=posts.__version__, description='A generic posts app for django', long_description=read('README.md'), auth...
Python
0
@@ -305,16 +305,35 @@ E.md'),%0A + license='BSD',%0A auth
60e823d1e8f1272c171e1bf9b5bc510173304ba6
update setup.py
setup.py
setup.py
#!/usr/bin/python import os from distutils.core import setup, Extension ext_modules = [] packages = ['bayesdb', 'bayesdb.tests'] setup( name='BayesDB', version='0.1', author='MIT.PCP', author_email = 'bayesdb@mit.edu', url='probcomp.csail.mit.edu/bayesdb', long_descript...
Python
0.000001
@@ -8,24 +8,19 @@ bin/ +env python%0A -import os %0Afro @@ -52,86 +52,17 @@ etup -, Extension%0A%0Aext_modules = %5B%5D%0A%0Apackages = %5B'bayesdb', 'bayesdb.tests'%5D +%0A %0Asetup(%0A @@ -57,20 +57,16 @@ %0Asetup(%0A - name @@ -81,20 +81,16 @@ B',%0A - - version= @@ -96,28 +96,24 @@ ...
16ef3b173e357ec22d2b3f0e601b40be634886c6
Bump version
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages __version__ = '0.4' __build__ = '' setup(name='jsonschematypes', version=__version__ + __build__, description='JSON Schema type generator', author='Location Labs', author_email='info@locationlabs.com', url='http://www.lo...
Python
0
@@ -78,17 +78,17 @@ __ = '0. -4 +5 '%0A%0A__bui
812a0b1668869458dbc29df8d22b72270bf8b525
Update setup.py to be more explicit about dependency requirements.
setup.py
setup.py
from distribute_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages long_description = """ Pymatgen (python materials genomics) is the python library that powers the Materials Project (http://www.materialsproject.org). These are some of the main features: 1. Highly flexible clas...
Python
0
@@ -2034,16 +2034,21 @@ =%5B'numpy +%3E=1.6 ', 'scip @@ -2052,21 +2052,133 @@ cipy +%3E=0.9 ', 'PyC -IFRW'%5D +ifRW%3E=3.3'%5D,%0A extras_require=%7B%0A 'plotting': %5B'matplotlib%3E=1.1'%5D,%0A 'ase_adaptor': %5B'ase%3E=3.3'%5D%0A %7D ,%0A
06def4497b3472acda42cf215ca7d30f30d39c6f
Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. (#6391)
setup.py
setup.py
# Copyright 2018 Google LLC # # 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, s...
Python
0
@@ -993,25 +993,29 @@ rpc%5D -%3C2.0.0dev,%3E=0.1.1 + %3E= 1.4.1, %3C 2.0.0dev ',%0A
204994603fa5350a12617e508e0097a3586d8f59
fix dependencies, bump to 0.3.0
setup.py
setup.py
from setuptools import setup setup(name='nxBender', version='0.2.0', packages=['nxbender'], entry_points={ 'console_scripts': [ 'nxBender = nxbender:main' ] }, install_requires=[ 'ConfigArgParse', 'ipaddress', 'pyroute2', ...
Python
0.000001
@@ -63,17 +63,17 @@ sion='0. -2 +3 .0',%0A @@ -310,16 +310,60 @@ oute2',%0A + 'requests',%0A 'colorlog',%0A %5D,
00601a57f00703cef2fb9a8031b14222b6aec21c
add minimum lower version for tileforge dependency
setup.py
setup.py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = "c2cgeoportal, generic gis protail made by camptocamp" requires = [ 'pyramid', 'WebError', 'psycopg2', 'sqlalchemy', 'sqlalchemy-migrate', 'sqlahelper', 'pyramid_tm', 'papy...
Python
0.000001
@@ -510,16 +510,21 @@ ileforge +%3E=0.2 ',%0A '
eee5008d5e8f7ae29405491962d3adb1af375e44
Add hypothesis as test requirement.
setup.py
setup.py
from setuptools import setup, find_packages import unittest import doctest # Read in the version number exec(open('src/nash/version.py', 'r').read()) requirements = ["numpy==1.11.2"] def test_suite(): """Discover all tests in the tests dir""" test_loader = unittest.TestLoader() # Read in unit tests t...
Python
0.000222
@@ -178,16 +178,59 @@ .11.2%22%5D%0A +test_requirements = %5B'hypothesis%3E=3.6.0'%5D%0A%0A %0Adef tes @@ -677,16 +677,53 @@ ements,%0A + tests_require=test_requirements,%0A auth
77f5aea80f824bc691a0f7ce3a3274c2c07db5c4
Update the tests
indra/tests/test_indranet_assembler.py
indra/tests/test_indranet_assembler.py
import pandas as pd import networkx as nx from indra.assemblers.indranet import IndraNetAssembler, IndraNet from indra.statements import * ev1 = Evidence(pmid='1') ev2 = Evidence(pmid='2') ev3 = Evidence(pmid='3') st1 = Activation(Agent('a', db_refs={'HGNC': '1'}), Agent('b'), evidence=[ev1]) st2 = Inhibition(Agent('...
Python
0
@@ -2253,16 +2253,33 @@ 'belief' +, 'source_counts' %7D%0A%0A%0A# Te
428c827cef10c4677a4af592d1dfaafce6480087
Install require beautifulsoup4
setup.py
setup.py
"""Setup script for django-emoticons""" import os from setuptools import setup from setuptools import find_packages import emoticons setup( name='django-emoticons', version=emoticons.__version__, description=('A usefull and incredible Django application ' 'that allow you to use emoticon...
Python
0.000001
@@ -1133,10 +1133,50 @@ ules'%5D,%0A + install_requires=%5B'beautifulsoup4'%5D%0A )%0A
6467e33ebf66a162afb83f33a3245f08a76ee24b
bump version 1.5.2
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='bayesloop', packages=['bayesloop'], version='1.5.1', description='Probabilistic programming framework that facilitates objective model selection for time-varying parameter models.', url='http://bayesloop.com', download_url = 'http...
Python
0.000001
@@ -116,25 +116,25 @@ ersion='1.5. -1 +2 ',%0A descr @@ -364,17 +364,17 @@ all/1.5. -1 +2 ',%0A a
972205aded6a5a6bc2300e154f65f0ccaef8262b
fix #4320 use explicit Flask and Werkzeug versions (#4358)
setup.py
setup.py
# -*- coding: utf-8 -*- u"""Sirepo setup script :copyright: Copyright (c) 2015-2018 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ import pykern.pksetup pykern.pksetup.setup( author='RadiaSoft LLC.', author_email='pip@sirepo.com', description='accelerato...
Python
0
@@ -367,13 +367,15 @@ lask -%3E=1.1 +==2.0.3 ',%0A @@ -667,16 +667,23 @@ werkzeug +==2.0.3 ',%0A%0A
45c54fb2acea3e0a2b5e0caba1ea3cfcde6058c3
version bump
setup.py
setup.py
from setuptools import setup, find_packages setup( name='panya-show', version='0.0.3', description='Panya show app.', long_description = open('README.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/panya-sh...
Python
0.000001
@@ -89,9 +89,9 @@ 0.0. -3 +4 ',%0A
9e8d9bebfa3aad823cba5bf7cbf822d432e155cf
Update Licence in setup.py to AGPLv3
setup.py
setup.py
#!/usr/bin/env python2 from setuptools import setup import sys # workaround issue on OSX, where sys.prefix is not an installable location if sys.platform == 'darwin' and sys.prefix.startswith('/System'): data_prefix = '.' else: data_prefix = sys.prefix setup(name='fdroidserver', version='0.4.0', ...
Python
0
@@ -1281,16 +1281,23 @@ :: GNU +Affero General @@ -1328,16 +1328,17 @@ er ( +A GPLv3+)' ,%0A @@ -1333,17 +1333,16 @@ GPLv3+)' -, %0A
6d24a10171fccea49a73782d79d098620dada62f
add remote init to scripts
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "deploy", version = "1.1.0", url = 'http://ondrejsika.com/docs/deploy', download_url = 'https://github.com/sikaondrej/deploy', license = 'GNU LGPL v.3', description = "Easy deploy Python WSG...
Python
0.000001
@@ -438,16 +438,25 @@ ipts = %5B +%0A %22deploy/ @@ -467,16 +467,24 @@ deploy%22, +%0A %22deploy @@ -508,16 +508,24 @@ server%22, +%0A %22deploy @@ -542,16 +542,24 @@ y-init%22, +%0A %22deploy @@ -577,16 +577,63 @@ -remote%22 +,%0A %22deploy/bin/deploy-remote-init%22,%0A ...
870eab64c57678c4089d5347b589c74e46f5b94b
Version bump
setup.py
setup.py
import os import sys import subprocess from codecs import open from setuptools import setup, find_packages version = '0.0.24' here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() if sys.argv[-1] == 'publish': ver...
Python
0.000001
@@ -123,9 +123,9 @@ .0.2 -4 +5 '%0A%0A%0A
b5985bbe40141a9b0766380756cc9de1db22e0f5
Only use the futures backport on Python 2.7
setup.py
setup.py
from setuptools import setup import os # Installed name used for various commands (both script and setuptools). command_name = os.environ.get('CIU_ALT_NAME') or 'caniusepython3' with open('README_PyPI.rst') as file: long_description = file.read() with open('dev_requirements.txt') as file: tests_require = [...
Python
0.999999
@@ -1000,17 +1000,65 @@ he', - 'futures +%0A 'futures ; python_version==%222.7%22 ',%0A
93c49b328b97aaac3f9fbfbccd872a48fae852f0
bump version to 0.3.0
setup.py
setup.py
import sys from setuptools import setup, find_packages setup(name="meshcat", version="0.2.0", description="WebGL-based visualizer for 3D geometries and scenes", url="https://github.com/rdeits/meshcat-python", download_url="https://github.com/rdeits/meshcat-python/archive/v0.2.0.tar.gz", author="Rob...
Python
0.000001
@@ -86,17 +86,17 @@ sion=%220. -2 +3 .0%22,%0A @@ -285,17 +285,17 @@ hive/v0. -2 +3 .0.tar.g
c447d41dea2a5ccc2c3afc772d4791591b9a3365
Prepare release 1.2.0
setup.py
setup.py
import os from distutils.core import setup from setuptools import find_packages version = '1.1.13' long_description = """ With this package you can convert dicom images to nifti files. There is support for most anatomical CT and MR data. For MR specifically there is support for most 4D data (like DTI and fMRI) """ se...
Python
0
@@ -91,12 +91,11 @@ '1. -1.13 +2.0 '%0Alo
f7fdf7902d2ff2b91da8d866b6a26573a7c5ce35
Upgrade dependency boto to ==2.45.0 (#601)
setup.py
setup.py
""" Lemur ===== Is a TLS management and orchestration tool. :copyright: (c) 2015 by Netflix, see AUTHORS for more :license: Apache, see LICENSE for more details. """ from __future__ import absolute_import import sys import json import os.path import datetime from distutils import log from distutils.core import Comm...
Python
0
@@ -1486,17 +1486,17 @@ oto==2.4 -4 +5 .0', #
dee4287e18dfe6720ec06dfd0fe5b589249b541f
add long description to setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import os.path ns = {} with open(os.path.join(os.path.dirname(__file__), 'mf2py/version.py'))\ as version_file: exec(version_file.read(), ns) setup(name='mf2py', version=ns['__version__'], description='Python Microformats2 parser', aut...
Python
0
@@ -300,24 +300,126 @@ s2 parser',%0A + long_description=open('README.md').read(),%0A long_description_content_type='text/markdown',%0A author
bc03fffe86adc528cb404c7b9f7131f30c275c25
Upgrade to Oscar 1.6.
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-oscar-adyen', version='0.8.0', url='https://github.com/oscaro/django-oscar-adyen', author='Oscaro', description='Adyen HPP payment module for django-oscar', long_description=open('README.rst').read(), keywords='payment, django...
Python
0
@@ -484,17 +484,17 @@ scar%3E=1. -4 +6 ',%0A %5D
1e9fb2ff2529836ec1f01f85650cc8f680dc0d95
Add django as dependency
setup.py
setup.py
from setuptools import setup import os import io def file_content(fname): return io.open(os.path.join(os.path.dirname(__file__), fname), encoding="UTF-8").read() dist = setup( name='django-compressor-postcss', version='0.8', description='PostCSS support for django-compressor', long_description=f...
Python
0.000143
@@ -811,24 +811,41 @@ _requires=%5B%0A + 'django'%0A 'dja
2140adcb8a10718be2bce32721ff553e1d42b8e9
Bump version.
setup.py
setup.py
from setuptools import setup, Command import subprocess class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call(['py.test']) raise SystemExit(errno) setup( name='Flask-Up...
Python
0
@@ -338,17 +338,17 @@ on='0.1. -1 +2 ',%0A u
83d5098bc671d7602e4e7cde9222b687480e9b9b
update the package description
setup.py
setup.py
""" pybitcoin ============== """ from setuptools import setup, find_packages setup( name='pybitcoin', version='0.9.2', url='https://github.com/blockstack/pybitcoin', license='MIT', author='Blockstack Developers', author_email='hello@onename.com', description=("Tools for Bitcoin & other cr...
Python
0.000036
@@ -119,17 +119,17 @@ on='0.9. -2 +3 ',%0A u @@ -287,15 +287,18 @@ ion= -(%22Tools +%22%22%22Library for @@ -334,41 +334,87 @@ cies - (private & %22,%0A %22 +. Tools are provided for blockchain transactions, RPC calls, and private keys, publ @@ -421,16 +421,20 @@ ic keys, + and address @@ ...
6fc71311f7cb8959b0b17565fa0370b66f2dec77
version bump
setup.py
setup.py
# Copyright (c) 2014. Mount Sinai School of Medicine # # 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 o...
Python
0.000001
@@ -1027,17 +1027,17 @@ on=%220.5. -0 +1 %22,%0A
eed77fc13e84cbab9d5e911ba39c25ff883fdc7c
fix list of exported packages
setup.py
setup.py
from setuptools import setup from oioswift import __version__ setup( name='oioswift', version=__version__, author='OpenIO', author_email='support@openio.io', description='OpenIO Swift Gateway', url='https://github.com/open-io/oio-swift', license='Apache License (2.0)', classifiers=[ ...
Python
0
@@ -588,16 +588,25 @@ ckages=%5B +%0A 'oioswif @@ -608,16 +608,51 @@ oswift', +%0A 'oioswift.common',%0A 'oioswi @@ -661,16 +661,24 @@ .proxy', +%0A 'oioswi
c942c6e2b679b41a93e4c87a46d134955852d8cd
Version bump
setup.py
setup.py
from setuptools import setup, find_packages INSTALL_REQUIRES = [ 'BTrees', 'zope.component', 'zodbpickle', 'ZODB', 'zope.index', 'repoze.catalog', 'zc.zlibstorage', 'pycrypto', 'click', 'flask', 'requests', 'jsonpickle', 'pyelliptic', 'ecdsa'] setup( name="z...
Python
0.000001
@@ -337,17 +337,17 @@ ion=%220.9 -0 +1 %22,%0A d