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
a459baeffc5f363cc502447df751e6799e7cc83d
Comment out entry-point in setup.py
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() with open('requirements.txt') as f: requirements ...
Python
0
@@ -780,16 +780,18 @@ '%5D),%0A + # entry_p @@ -797,24 +797,26 @@ points=%7B%0A + # 'consol @@ -833,24 +833,25 @@ : %5B%0A +# 'pydov=p @@ -842,16 +842,17 @@ + 'pydov=p @@ -865,24 +865,26 @@ li:main'%0A + # %5D%0A %7D @@ -881,16 +881,18 @@ %5D%0A + # %7D,...
82a694b29755b6e723a43e4b38a03e5b2f5e3f47
Bump version number to 0.2.5
setup.py
setup.py
from setuptools import setup, find_packages # dirty hack to allow running sdist in a vbox # source: Leonardo.Z's answer on this StackOverflow thread: # http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted import os if os.environ.get('USER', '') == 'vagrant': del os.link ...
Python
0.000412
@@ -385,17 +385,17 @@ on='0.2. -4 +5 ',%0A u
a7d7a31ea43deb69e469d23b138e737774cee795
bump the remoto version required
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) <= ...
Python
0
@@ -465,17 +465,17 @@ ', '0.0. -3 +4 '),%0A%5D)%0A%0A
efdada239c54f7a838cf07af85563980fc69897f
update ank url
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup #from setuptools import setup, find_packages setup ( name = "AutoNetkit", version = "0.6.0", description = 'Automated configuration generator for cBGP, Netkit and Junosphere', long_description = 'Automated configuration generator for cBGP, Netkit ...
Python
0
@@ -668,39 +668,22 @@ p:// -packages.python.org/AutoN +auton etkit -/ +.org %22,%0A
0b1bcf6305f808f3ed1b862a1673e774dce67879
Add six as a requirement
setup.py
setup.py
from distutils.core import setup setup( name = 'depedit', packages = ['depedit'], version = '2.1.2', description = 'A simple configurable tool for manipulating dependency trees', author = 'Amir Zeldes', author_email = 'amir.zeldes@georgetown.edu', url = 'https://github.com/amir-zeldes/depedit', licens...
Python
0.000016
@@ -305,16 +305,44 @@ edit', %0A + install_requires=%5B%22six%22%5D,%0A licens @@ -793,8 +793,9 @@ ent'%5D,%0A) +%0A
0906cc5192b770c8e83c41000cddd9559c9955a4
fix setup
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup setup( name='weiterm', version='0.0.1', description='Weibo client for terminal', author='peichao.yu', author_email='nerocrux@gmail.com', py_modules=['weiterm', ], package_data={'': ['LICENSE'], }, url='http:...
Python
0.000001
@@ -92,18 +92,18 @@ name='w -ei +ay term',%0A @@ -249,18 +249,18 @@ ules=%5B'w -ei +ay term', %5D @@ -316,18 +316,18 @@ http://w -ei +ay term.ner
9890ff35bda62ec53879f5b23c1c5bc9be7286d3
Modify setup tools to use hg correctly. Related to #845
setup.py
setup.py
#!/usr/bin/env python # This will effectively place satchmo files but there needs to # be extra work before this would work correctly import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages import os, os.path import sys DIRNAME = os.path.dirname(__file__) APPDIR = os.path.join(DIRNAME, ...
Python
0
@@ -567,194 +567,8 @@ c')%0A -template_dirs = %5B%5D%0Afor root, dirs, files in os.walk(APPDIR):%0A if root.endswith('templates'):%0A template_dirs.append(os.path.join(root,%22*.*%22))%0A%0Aprint template_dirs%0Aprint packages %0Aset @@ -1071,44 +1071,40 @@ -package_data = %7B '': template_dirs %7D +s...
8faa0f4ee4492965bb46cd04373830792ba4d192
Version 1.5.1
setup.py
setup.py
# 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.abspath(path.dirname(__file__)) setup( name='pdf2image', version='1.5.0', description='A wrapper around the pdftoppm and pdftocairo...
Python
0.000001
@@ -251,9 +251,9 @@ 1.5. -0 +1 ',%0A%0A
4e397ed0c6e29253c720479351aa9cf1179735dd
add asyncio to deps
setup.py
setup.py
from setuptools import setup setup( name='aioreloader', version='0.0.0', description='Port of tornado reloader to asyncio', url='https://github.com/and800/aioreloader', author='Andriy Maletsky', author_email='andriy.maletsky@gmail.com', license='MIT', py_modules=['aioreloader'], )
Python
0
@@ -306,10 +306,85 @@ ader'%5D,%0A + extras_require=%7B%0A ':python_version==%223.3%22': %5B'asyncio'%5D,%0A %7D,%0A )%0A
a8d27cb1613610274314646e712b8ff69a24233b
add row/col span; move IE stuff to objectClass
src/ObjectModel/XMLDSCELLClass.py
src/ObjectModel/XMLDSCELLClass.py
# -*- coding: utf-8 -*- """ XMLDS CELL Hervé Déjean cpy Xerox 2017 a class for table cell from a XMLDocument READ project This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free...
Python
0
@@ -1707,22 +1707,132 @@ .name)%0D%0A + %0D%0A #default%0D%0A self.addAttribute('rowSpan', 1)%0D%0A self.addAttribute('colSpan', 1)%0D%0A %0D%0A - def @@ -2235,55 +2235,8 @@ %0D -%0A def getFields(self): return self._lFields%0D %0A%0D%0A @@ -2475,670 +2475,10 @@ %0D%0...
f0eb68c78adead20cc9ee0b1d395af078312984a
Update `setup.py`
setup.py
setup.py
from setuptools import setup import re def get_version(): VERSIONFILE="warden/__init__.py" initfile_lines = open(VERSIONFILE, "rt").readlines() VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" for line in initfile_lines: mo = re.search(VSRE, line, re.M) if mo: return mo.group(1)...
Python
0
@@ -876,191 +876,151 @@ den -can tail log files, watch that processes are running, ping an HTTP url, and track memory and CPU usage.%0A%0AIt provides a plug-in architecture allowing custom checks to be implemented.%0A%0A +uses Diamond to collect stats. Using Diamond's plug-in Collectors architecture, many stats can b...
bd93315654bb89c90865e1ec928c9f85f2810447
Add new tags
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 1 Dec 2013 @author: jyp ''' from distutils.core import setup setup( name='pyodbcOpenEdge', version='1.0', description='A Django Backend for OpenEdge databases (Progress)', long_description=''' This module allows the use of the OpenEdge (...
Python
0
@@ -348,16 +348,54 @@ Django. + It uses pyodbc for the db connexions. It prov @@ -518,16 +518,16 @@ cation.%0A - The Sout @@ -637,24 +637,29 @@ il=' -jy.priou@free.fr +monasysinfo@gmail.com ',%0A @@ -815,19 +815,19 @@ icense=%22 -MIT +BSD %22,%0A c @@ -997,11 +997,11 @@ :: -MIT +BSD Lic @@ -1136,32 +...
053767d393e0a171bacdcbc9af7ac6f1c65cde02
bump version again
setup.py
setup.py
# # setup.py - brozzler setup script # # Copyright (C) 2014-2016 Internet Archive # # 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...
Python
0
@@ -717,9 +717,9 @@ .dev -8 +9 ',%0A
fde6e8c3d44118a4fba1ca6ae62c50933eb72aa4
Version 0.0.6
setup.py
setup.py
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.6a0" setup(name='backlash', version=version, description="Standalone WebOb port of th...
Python
0.000001
@@ -220,10 +220,8 @@ .0.6 -a0 %22%0A%0As
117747306da712875c066dc310b4d417a52a7a0f
bump tqdm dep to 4.13.0
setup.py
setup.py
from setuptools import setup import versioneer commands = versioneer.get_cmdclass() setup(name="magic-wormhole", version=versioneer.get_version(), description="Securely transfer data between computers", author="Brian Warner", author_email="warner-magic-wormhole@lothar.com", license="MIT...
Python
0
@@ -995,16 +995,67 @@ df%22, - %22tqdm%22, +%0A %22tqdm %3E= 4.13.0%22, # 4.13.0 fixes crash on NetBSD %0A
84e02763dbc0b1574a3a586f849c028171a5db72
add url to setup.py
setup.py
setup.py
from setuptools import setup import proso.release VERSION = proso.release.VERSION setup( name='proso-apps', version=VERSION, description='General library for applications in PROSO projects', author='Adaptive Learning Group', author_email='al@fi.muni.cz', namespace_packages=['proso', 'proso.dja...
Python
0.000001
@@ -270,16 +270,75 @@ ni.cz',%0A + url='https://github.com/adaptive-learning/proso-apps',%0A name
7a01c9722fb47a7feec64a5f6f59273b96851f07
use python 3 explicitly in the entry point
setup.py
setup.py
import os from setuptools import setup import pch2csd def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='pch2csd', version=pch2csd.__version__, author='Gleb Rogozinsky, Mikhail Chesnokov, Eugene Cherny', description='Convert Clavia Nord Modular G2 ...
Python
0.000001
@@ -983,16 +983,123 @@ %5D%0A + %7D,%0A options=%7B%0A 'build_scripts': %7B%0A 'executable': '/usr/bin/env python3'%0A %7D%0A %7D%0A)%0A
3832887597e52f70149611497643127f1291be9f
prepare release
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.absp...
Python
0
@@ -541,11 +541,14 @@ ='0. -6 +7 .0 +rc1 ',%0A
6b7149d5f0a42b44d330cdf2fa6840f4b4bc2e3f
Bump version
setup.py
setup.py
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # 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...
Python
0
@@ -725,17 +725,17 @@ n='4.0a1 -0 +1 ',%0A a
0601e711d5b259144ecbbce52c7d5424eb02a48a
Bump GAX dependency to 0.15.14. (#3752)
setup.py
setup.py
# Copyright 2016 Google 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 agreed to in writing, ...
Python
0
@@ -1471,17 +1471,17 @@ = 0.15.1 -2 +4 , %3C 0.16
fdffb432ffa14fe7f08483959b41c3e4b7e5e7c2
Bump version
setup.py
setup.py
import os import sys from setuptools import setup, find_packages REQS_FILE = open(os.path.join(os.path.dirname(__file__), "requirements.txt")) install_reqs = [r.strip() for r in REQS_FILE] if sys.version_info < (3, 3): install_reqs.append("mock==1.0.1") setup( name='tictactoe', version='0.1.4', auth...
Python
0
@@ -305,9 +305,9 @@ 0.1. -4 +5 ',%0A
97533b8a789cac7947ce4eb4ec5e2af20afcd3e7
Update author email
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs from setuptools import setup, find_packages def _read_file(name, encoding='utf-8'): """ Read the contents of a file. :param name: The name of the file in the current directory. :param encoding: The encoding of the file; defaults to utf-8. :return: The content...
Python
0
@@ -699,16 +699,17 @@ mail='os +s @gebn.co
dbf3bf530272750856eac023f02977faf9196086
Bump version
setup.py
setup.py
from setuptools import setup setup( name='woopra', version='0.1.0', author='Antoine Chkaiban', author_email='antoine@woopra.com', url='https://github.com/Woopra/woopra-python-sdk', packages=['woopra',], license='LICENSE.txt', description='Woopra Analytics Tracking API', )
Python
0
@@ -68,9 +68,9 @@ ='0. -1 +2 .0',
ab0f6c38ab79cb6c11606fd110b36ec545177e26
Add lxml as dependancy and add keywords to package
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function import io import os import re from glob import glob from os.path import basename from os.path import dirname from os.path import join from os.path import relpath from os.path import splitext from setuptools import f...
Python
0
@@ -1920,49 +1920,70 @@ -# eg: 'keyword1', 'keyword2', 'keyword3', +'ONIX', 'validation', 'EDItEUR', 'XML', 'RelaxNG', 'XMLSchema' %0A @@ -2021,24 +2021,32 @@ 'click', + 'lxml', %0A %5D,%0A
6517088562d5e3d6aa43683556eb298027e33613
Version up
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="swampdragon-notifications", version="0.1.2", author="Jonas Hagstedt", author_email="hagstedt@gmail.com", description=("SwampDragon notificatio...
Python
0
@@ -200,17 +200,17 @@ on=%220.1. -2 +3 %22,%0A a
1e1ab475e05ad76056b7e0068cbd04e699926ca2
Make `python setup.py test` run the tests via nose2, and have it install the test dependencies beforehand.
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs from setuptools import setup with codecs.open('README.rst', encoding='utf-8') as f: long_description = f.read() setup( name='syslog2IRC', version='0.8', description='A proxy to forward syslog messages to IRC', long_description=long_description, url='ht...
Python
0
@@ -31,16 +31,27 @@ t codecs +%0Aimport sys %0A%0Afrom s @@ -164,16 +164,210 @@ ead()%0A%0A%0A +# Require the 'enum34' package on Python versions before 3.4.%0Aversion_dependent_install_requires = %5B%5D%0Aif sys.version_info%5B:2%5D %3C (3, 4):%0A version_dependent_install_requires.append('enum34')%0A%0A%0A set...
d1af809109dc8c9746bba7faabf0be4eaf51d9d5
update version
setup.py
setup.py
from setuptools import setup, find_packages setup(name='Kamanian', version='1.4', packages=find_packages(), install_requires=['pandas', 'numpy', 'scipy', 'matplotlib', 'networkx'], dependency_links=['git+git://github.com/TimeWz667/PyFire.git',] )
Python
0
@@ -80,16 +80,17 @@ ion='1.4 +1 ',%0A
9277e9cdeb910645e19423711bc5f2cc71c41dde
Version number bump to 0.3.0
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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
0.000003
@@ -843,17 +843,17 @@ sion='0. -2 +3 .0',%0A
49d60b9213fb20518f2de74322a43abebf36a2b8
Fix install_requires
setup.py
setup.py
""" Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch> Licensed under MIT. All rights reserved. """ import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_d...
Python
0.000001
@@ -480,17 +480,17 @@ on='0.4. -3 +4 ',%0A d @@ -769,32 +769,16 @@ s=%5B' -aiohttp', 'async_timeout +requests ', '
9122becffcc69d3b6f5b6f54d193ac0e6bd94939
revert last commit
setup.py
setup.py
# Copyright 2015-2017 Tom Eulenfeld, MIT license import os import re from setuptools import find_packages, setup def find_version(*paths): fname = os.path.join(os.path.dirname(__file__), *paths) with open(fname) as fp: code = fp.read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code...
Python
0
@@ -1704,17 +1704,23 @@ ges= -%5B'qopen'%5D +find_packages() ,%0A
764e07667bd3daca131183716a29abb13a0779b5
force zip_safe=False
setup.py
setup.py
"""Mission Pinball Framework Media Controller (mpf-mc) setup.py""" import re from platform import system from setuptools import setup # Get the version number of mpf-mc and the required version of MPF by reading # the file directly. We can't import it because that would import mpf and # break the setup. Details here...
Python
0.999828
@@ -3288,10 +3288,8 @@ %0A - # zip @@ -3294,19 +3294,20 @@ ip_safe= -Tru +Fals e,%0A%0A
bb4a81918ab27ad43e7615177eeca054372dc662
Remove requires from setup.py
setup.py
setup.py
import os from setuptools import setup 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-graphiter', version='1.0', requires=["Django<1.6", "p...
Python
0
@@ -287,64 +287,8 @@ 0',%0A - requires=%5B%22Django%3C1.6%22, %22pytz%22, %22requests==2.0.1%22%5D,%0A
0dc6bc8b7128777d89e261354a9c59314244e447
Fix pep8 problem on line length for authors
setup.py
setup.py
# Copyright (C) 2013, Red Hat, Inc. # All rights reserved. # # 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, modif...
Python
0.001224
@@ -1885,238 +1885,361 @@ )%0A%0A%0A -setup(%0A name=%22kdcproxy%22,%0A version=%220.4%22,%0A author=%22Nalin Dahyabhai, Nathaniel McCallum, Christian Heimes, Robbie Harwood%22,%0A author_email=%22nalin@redhat.com, npmccallum@redhat.com, cheimes@redhat.com, rharwood@redhat.com%22 +# in chronological order%...
392204f5cba85ea12d73dd66c95b99be8a3d0bbe
Add probability prediction
random_forest/views.py
random_forest/views.py
from django.http.response import JsonResponse from rest_framework.decorators import api_view from techson_server.settings import BASE_DIR import pickle # Create your views here. @api_view(['POST']) def run(request): path = BASE_DIR + "/random_forest/classifier.pkl" with open(path, 'rb') as f: classif...
Python
0.999995
@@ -1,50 +1,4 @@ -from django.http.response import JsonResponse%0A from @@ -85,16 +85,61 @@ ASE_DIR%0A +from rest_framework.response import Response%0A import p @@ -143,16 +143,22 @@ t pickle +, json %0A%0A%0A# Cre @@ -415,16 +415,22 @@ .predict +_proba (data)%5B0 @@ -439,50 +439,93 @@ -return JsonResponse...
19c3a0efc9ec55a41f8ae5abd2f961c84d248774
print RX: 0 when channel selection finishes
tools/rftestrx2pcap.py
tools/rftestrx2pcap.py
#!/usr/bin/python # (C) 2012, Mariano Alvira <mar@devl.org> import sys,os,time from termios import * from struct import * import re if len(sys.argv) < 3: sys.stderr.write( "Usage: %s tty channel\n" %(sys.argv[0])) sys.stderr.write( " channel = 11-26\n") sys.exit(2) # change the channel # rftest-rx in...
Python
0
@@ -1057,18 +1057,22 @@ %0A%09%09if m -!= +is not None:%0A%09 @@ -1125,16 +1125,43 @@ rport)%0A%0A +sys.stderr.write(%22RX: 0%22)%0A%0A try:%0A%09se @@ -1671,18 +1671,22 @@ estline -!= +is not None:%0A%09 @@ -2409,16 +2409,39 @@ .*', d)%0A +%09%09%09%09if m is not None:%0A%09 %09%09%09%09sys.
20a8809d35650c3c328bd1b5c2fb45983bb591bf
Add verbose/non-verbose options for echo bridge
regrowl/bridge/echo.py
regrowl/bridge/echo.py
""" Echo a growl notification to the terminal This is just a simple regrowler to show the basic structure and provide a simple debug output """ from __future__ import absolute_import import logging from regrowl.regrowler import ReGrowler logger = logging.getLogger(__name__) __all__ = ['EchoNotifier'] SPACER = '=...
Python
0.000108
@@ -133,16 +133,70 @@ g output +%0A%0AConfig Example:%0A%5Bregrowl.bridge.echo%5D%0Averbose = True %0A%22%22%22%0A%0Afr @@ -608,32 +608,99 @@ ration Packet:'%0A + if self.config.getboolean(self.key, 'verbose', False):%0A print SP @@ -696,32 +696,36 @@ print SPACER%0A + print pa @...
824ef0e8b691dc221c8cf0aad0127e57bb81ea0e
Fix missing execute flag on naclsdk script after unpacking with pythin zipfile
tools/sdksetup_nacl.py
tools/sdksetup_nacl.py
''' Helper functions for setting up the NaCl SDK. This is called from the main oryol script. ''' import sys import os import platform import subprocess import urllib import zipfile ProjectDirectory = os.path.dirname(os.path.abspath(__file__)) + '/..' #-----------------------------------------------------------------...
Python
0
@@ -1951,20 +1951,17 @@ -cmd = %5B'sh', +naclsdk = '%7B%7D @@ -1994,16 +1994,63 @@ kPath()) +%0A os.chmod(naclsdk, 0744)%0A cmd = %5Bnaclsdk , 'insta
4ca88e7f2ba81f1d5d8613a5d37db08f3de2e186
Handle no current link when extracting the data.
pad/plugins/uri_detail.py
pad/plugins/uri_detail.py
"""URIDetail Plugin.""" from __future__ import absolute_import import re from html.parser import HTMLParser try: from urllib.parse import unquote from urllib.parse import urlparse except ImportError: from urllib import unquote from urlparse import urlparse import pad.regex import pad.rules.uri impo...
Python
0
@@ -3242,24 +3242,111 @@ anchors%22%22%22%0A + if not all(%5Bdata, self.last_start_tag, self.current_link%5D):%0A return%0A if s
a90d18e04e1b12fef85ac23efccdab17aa161072
Declare Python 3 support.
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages # Figure out the version import re here = os.path.dirname(os.path.abspath(__file__)) version_re = re.compile( r'__version__ = (\(.*?\))') fp = open(os.path.join(here, 'src/glob2', '__init__.py')) version = None for line in fp: match =...
Python
0.000001
@@ -1060,16 +1060,63 @@ ython',%0A + 'Programming Language :: Python :: 3',%0A
ea0a4d6716303bca8031443e5a2432dcd12c0e2e
Fix hanging tests
setup.py
setup.py
""" Pontus ------ Flask utility for signing Amazon S3 POST requests and validating Amazon S3 files. """ import os import re import subprocess from setuptools import Command, setup def get_version(): filename = os.path.join( os.path.dirname(os.path.abspath(__file__)), 'pontus', '__init__...
Python
0.000001
@@ -862,16 +862,44 @@ %3E=0.3.9' +,%0A 'httpretty==0.8.6' %0A %5D%0A%7D
6c7fe7701814972b8cb63be662c4af884ab3bec7
Fix installation
setup.py
setup.py
from distutils.core import setup # pylint: disable=no-name-in-module,import-error setup( name='spinners', packages=['spinners'], version='0.0.2', description='Spinners for terminals', author='Manraj Singh', author_email='manrajsinghgrover@gmail.com', url='https://github.com/ManrajGrover/py-...
Python
0.000001
@@ -2,35 +2,46 @@ rom -distutils.core import setup +setuptools import setup, find_packages # p @@ -91,51 +91,262 @@ or%0A%0A -setup(%0A name='spinners',%0A packages=%5B' +def readme():%0A with open('README.md') as f:%0A return f.read()%0A%0Adef dependencies(file):%0A with open(file) as f:%0A ...
a53ea0ce2341973b5b86eaddc6f863611fbde1ba
Bump version for release
setup.py
setup.py
# #!/usr/bin/env python # -*- coding: utf-8 -*- import re import os from setuptools import setup, find_packages def parse_requirements(): """ Rudimentary parser for the `requirements.txt` file We just want to separate regular packages from links to pass them to the `install_requires` and `dependency...
Python
0
@@ -1246,17 +1246,17 @@ on='0.7. -0 +1 ',%0A
fcf3f24e022d3b0f889fcc8ff6939a710d49300c
Clarify dtype of returned object from window ops (#43030)
pandas/core/window/doc.py
pandas/core/window/doc.py
"""Any shareable docstring components for rolling/expanding/ewm""" from textwrap import dedent from pandas.core.shared_docs import _shared_docs _shared_docs = dict(**_shared_docs) def create_section_header(header: str) -> str: """Create numpydoc section header""" return "\n".join((header, "-" * len(header))...
Python
0
@@ -519,16 +519,42 @@ l object + with %60%60np.float64%60%60 dtype .%5Cn%0A
1f03e566e1b6da72724ceda35a909b42cb2cdb3e
Add dependencies to setup.py
setup.py
setup.py
import os from setuptools import 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-widgy-facebook', version='0...
Python
0.000001
@@ -1209,10 +1209,90 @@ %0A %5D,%0A + install_requires=%5B%0A 'Django%3E=1.8',%0A 'django-widgy%5Ball%5D'%0A %5D%0A )%0A
b61b06152a4cfd9972a4e132fe627a4858bf02bd
update `setup.py` to compile `fd.pyx`
setup.py
setup.py
# # Copyright (c) 2015, Scott J Maddox # # This file is part of Open Band Parameters Device Simulator (OBPDS). # # OBPDS is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the...
Python
0
@@ -888,16 +888,64 @@ packages +%0Afrom Cython.Build import cythonize%0Aimport numpy %0A%0A# read @@ -1779,24 +1779,25 @@ %3E= 0.9' +%5D ,%0A @@ -1792,42 +1792,8 @@ - 'fdint'%5D,%0A zip_ @@ -1818,22 +1818,127 @@ se_2to3=True +,%0A # Cython%0A ext_modules=cyt...
ac2b3c8a2e0ced939bed157418b7abd308d703a3
Bump version
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 University of Dundee. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your...
Python
0
@@ -1222,11 +1222,11 @@ '0. -2.1 +3.0 '%0A%0A%0A
d10eb86abea0387797b91c591135e8085277d228
Update packaging
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import with_statement from setuptools import setup, find_packages with open('VERSION') as f: VERSION = f.read().rstrip() with open('README.md') as fl: LONG_DESCRIPTION = fl.read() setup( name='NeoBase', version=VERSION, author='Alex Pren...
Python
0
@@ -551,16 +551,36 @@ a=True,%0A + zip_safe=False,%0A inst
ca80cadadbe473ebe9d9e5e58cbf4fd6fc7480b3
Bump DUA dependency
setup.py
setup.py
import codecs from os import path from setuptools import find_packages, setup def read(*parts): filename = path.join(path.dirname(__file__), *parts) with codecs.open(filename, encoding="utf-8") as fp: return fp.read() setup( author="Pinax Team", author_email="team@pinaxproject.com", des...
Python
0
@@ -738,17 +738,17 @@ unts%3E=1. -1 +2 %22%0A %5D,
e6000fc4543abee352a71fe91ab8e1ab04e553f2
Bump setup.py version to 1.10.0
setup.py
setup.py
"""Install tensor2tensor.""" from setuptools import find_packages from setuptools import setup setup( name='tensor2tensor', version='1.9.0', description='Tensor2Tensor', author='Google Inc.', author_email='no-reply@google.com', url='http://github.com/tensorflow/tensor2tensor', license='Apa...
Python
0
@@ -138,17 +138,18 @@ sion='1. -9 +10 .0',%0A
41c9c23360e5de2d3c3dde338d20ccb35eb0b84e
Allow to run test via setup.py
setup.py
setup.py
#!/usr/bin/env python # vim: fileencoding=utf-8 et sw=4 ts=4 tw=80: # python-quilt - A Python implementation of the quilt patch system # # Copyright (C) 2012 - 2017 Björn Ricks <bjoern.ricks@gmail.com> # # See LICENSE comming with the source of python-quilt for details. from setuptools import setup from codecs impor...
Python
0
@@ -1405,10 +1405,52 @@ n cli%22,%0A + test_suite=%22tests.pquilt_test_suite%22,%0A )%0A
c6a60b74cc11a0bbf879f691067a21223ceb6ce1
Bump version to 0.18.0
setup.py
setup.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools REQUIREMENT_DIR = "requirements" ENCODING = "utf8" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = [...
Python
0
@@ -920,11 +920,11 @@ %220.1 -7.2 +8.0 %22,%0A
05587f46d9989c8cd64284732f3d87b822c40077
add opencv dependency for atari to fix tests
setup.py
setup.py
from setuptools import setup, find_packages import sys, os.path # Don't import gym module here, since deps may not be installed sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'gym')) from version import VERSION # Environment-specific dependencies. extras = { 'atari': ['atari_py>=0.1.4', 'Pillow', 'PyOpe...
Python
0
@@ -313,24 +313,41 @@ , 'PyOpenGL' +, 'opencv-python' %5D,%0A 'box2d'
8910fdb896bd17f90fb14827d31611b66fa4430f
fix setup.py
setup.py
setup.py
import os import glob import fnmatch from setuptools import setup def opj(*args): path = os.path.join(*args) return os.path.normpath(path) badnames = [".pyc", ".py", "~", "no_"] def find_data_files(srcdir, *wildcards, **kw): # get a list of all files under the srcdir matching wildcards, # returned ...
Python
0.000001
@@ -1777,24 +1777,65 @@ atic/js/*',%0A + 'static/js/jquery/*',%0A
2f547ffe8365ea390dce303f3002bd3c1a5fb2ce
Change version
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='chainer', version='1.4.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.functions', ...
Python
0
@@ -89,17 +89,17 @@ on='1.4. -0 +1 ',%0A d
2ffaeca1d56f16d54d6c5723218cc66fb23b429d
Add license to setup.py
setup.py
setup.py
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.di...
Python
0
@@ -563,16 +563,19 @@ ense = %22 +MIT %22,%0A k
858b1c18c8ca8ff3c992482da1ed5ed3d656515f
Fix pycontracts incompatibility with pyparsing v3 (closes #255)
setup.py
setup.py
""" setup.py Copyright (c) 2013-2021 Snowplow Analytics Ltd. All rights reserved. This program is licensed to you under the Apache License Version 2.0, and you may not use this file except in compliance with the Apache License Version 2.0. You may obtain a copy of the Apache License Version 2.0 at...
Python
0
@@ -2568,21 +2568,37 @@ %3E=1.8.12 -,%3C2 +;python_version%3C'3 .0 +' %22,%0A @@ -2605,27 +2605,27 @@ %22 -decorator%3E=4.4,%3C5.0 +pycontracts3%3E=3.0.2 ;pyt @@ -2639,13 +2639,14 @@ sion -%3C'3.6 +%3E='3.0 '%22,%0A
5c5e49797358e7020d409adf74209c0647050465
Add classifiers for python versions
setup.py
setup.py
from distutils.core import setup setup(name='fuzzywuzzy', version='0.2', description='Fuzzy string matching in python', author='Adam Cohen', author_email='adam@seatgeek.com', url='https://github.com/seatgeek/fuzzywuzzy/', packages=['fuzzywuzzy'])
Python
0.000002
@@ -263,10 +263,271 @@ ywuzzy'%5D +,%0A classifiers=(%0A 'Programming Language :: Python',%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A 'Programming Language :: Python :: 3',%0A 'Programming Language :: Python :: 3.3'%0A )%0A )%0A
672cfcae1223a7510b098b497ab7f7f9b90d0dce
test 1 edge
track_edges_to_gold.py
track_edges_to_gold.py
from SPARQLWrapper import SPARQLWrapper, JSON import argparse from preprocessing.read_conll_files import ConllReader parser = argparse.ArgumentParser(description='Yields pairs of prediction from a strategy and gold to stdout.') parser.add_argument('--file', type=str, help='The location of the .conll-file to be parsed'...
Python
0
@@ -548,18 +548,139 @@ s, golds -): +, forward_edges=True):%0A centroid_symbol = %22s%22 if forward_edges else %22o%22%0A gold_symbol = %22o%22 if forward_edges else %22s%22%0A %0A que @@ -823,32 +823,129 @@ es ? -o %7B %22 + %22 %22.join(centroi +%22 + centroid_symbol + %22 %7B %22 + %22 %22.join(centroids...
7fcc097d1659d7ea11e648d4b21728b94d487b59
Upgrade dependencies
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'OpenFisca-Core', version = '14.0.0', author = 'OpenFisca Team', author_email = 'contact@openfisca.fr', classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI ...
Python
0.000001
@@ -1211,38 +1211,51 @@ ountry-template -= +%3E= 1.2.0rc0, %3C = 1. -0 +2 .0',%0A @@ -1290,17 +1290,17 @@ te == 1. -0 +1 .0',%0A
f10e1f1a14e0367b3f027c0bbe6e5bd5d1c531c8
Increment version number on 0.4.x maintenance branch.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2007-2008 Christopher Lenz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. from distutils.cmd import Command import doctest from glob import glob import ...
Python
0.000001
@@ -3504,17 +3504,19 @@ on = '0. -3 +4.1 ',%0A d
80265dcecc0e6d7c30224326850c3870d7d80f72
Bump version to 1.6
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() setup( name='django-postgres-extra', version='1.5', packages=find_packages(), include_package_data=True, license='MIT License', descript...
Python
0
@@ -209,17 +209,17 @@ sion='1. -5 +6 ',%0A p
6a8687b8b9d63cbd38e683fc603f2c6c989d6f9b
bump version
setup.py
setup.py
import setuptools setuptools.setup( name='pytsv', version='0.1.8', description='pytsv is a module to help with all things TSV', long_description='pytsv is a module to help with all things TSV', url='https://github.com/veltzer/pytsv', download_url='https://github.com/veltzer/pytsv', author='...
Python
0
@@ -69,9 +69,9 @@ 0.1. -8 +9 ',%0A
d2aa09413411f346620a76f703573b2cecf2d17d
bump pgspecial req. (#981)
setup.py
setup.py
import re import ast import platform from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgcli/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'CLI for Postgres Database....
Python
0
@@ -408,17 +408,17 @@ l%3E=1.11. -2 +5 ',%0A '
e5fe2994b05ffbb5abca5641ae75114da315e888
Use twine to upload package
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup from lora import VERSION if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() if sys.argv[-1] == 'tag': os.system("git tag -a v{} -m 'tagging v{}'".format(VERSION, VERSION)) os.system('git push && ...
Python
0
@@ -94,16 +94,46 @@ ERSION%0A%0A +package_name = 'python-lora'%0A%0A if sys.a @@ -194,16 +194,91 @@ dist - upload' +')%0A os.system('twine upload -r pypi dist/%25s-%25s.tar.gz' %25 (package_name, VERSION) )%0A
3518f5ae323f5a390f8894557db8285eb1ec7e34
Bump patch version
setup.py
setup.py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ import io from os import path from setuptools import setup here = path.dirname(__file__) # Get the long description from the README file with io.open(path.join(here, 'README.rs...
Python
0
@@ -419,9 +419,10 @@ 1.1. -9 +10 ',%0A
f95567cde5a3abc3022f338a552ccf6319ff35ec
Bump version
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "python-dispatch", version = "v0.0.3", author = "Matthew Reid", author_email = "matt@nomadic-recording.com", description = "Lightweight Event Handling", url='https://github.com/nocarryr/python-dispatch', license='MIT', packages=f...
Python
0
@@ -95,17 +95,17 @@ = %22v0.0. -3 +4 %22,%0A a
b74dd7c08bbd8aa02709d35d447194ae933f80b1
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
e23fac64fdc22baae8d28933e6cc06238c1d1b5d
Update version to 2.3.0
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="emitter-io", version="2.2.0", author="Florimond Husquinet", author_email="florimond@emitter.io", description="A Python library to interact with the Emitter API.", long_description=long...
Python
0
@@ -137,17 +137,17 @@ sion=%222. -2 +3 .0%22,%0A
db8fb255898d22c40c4bbce74114a63c27a2aab5
Version string bump
setup.py
setup.py
#!/usr/bin/python from setuptools import setup, find_packages setup( name='South', version='0.4', description='South: Migrations for Django', long_description='South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a w...
Python
0.000004
@@ -101,9 +101,14 @@ ='0. -4 +5 beta ',%0A
ae7cfb31bc71a753ae0926b7bd2247c8373c4605
Trove classifier: 3.2
setup.py
setup.py
import sys import os import re from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # On Python 3, we can't "from hamcrest import __version__" (get ImportError), # so we extract the variable assignment and execute it ourselves. matched = r...
Python
0.999969
@@ -1626,16 +1626,65 @@ : 3.1',%0A + 'Programming Language :: Python :: 3.2',%0A
77df874b9c096e9378111c1fb26704b4016a259b
switch to slightly more generic isinstance
rclpy/rclpy/context.py
rclpy/rclpy/context.py
# Copyright 2018 Open Source Robotics Foundation, 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...
Python
0
@@ -3656,19 +3656,25 @@ if -typ +isinstanc e(callba @@ -3679,12 +3679,9 @@ back -) == +, Met @@ -3687,16 +3687,17 @@ thodType +) :%0A
e5a154e4d15e1795a6ff4b1ec40429cccf6887e5
Update setup.py
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2014 genkosta # # django-editor-ymaps is free software under terms of the MIT License. # from setuptools import find_packages, setup def get_readme(file_path): with open(file_path) as readme_file: result = readme_file.read() return res...
Python
0.000001
@@ -931,24 +931,66 @@ assifiers=%5B%0A + 'Development Status :: 4 - Beta',%0A 'Env @@ -1203,24 +1203,120 @@ evelopers',%0A + 'License :: OSI Approved :: MIT License',%0A 'Operating System :: OS Independent',%0A 'Pro
59aea04121405302a1b7804fb72e57e65cae0b47
Bump pip package version to 0.0.1dev6.
setup.py
setup.py
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
0.000001
@@ -1379,17 +1379,17 @@ 0.0.1dev -5 +6 '%0AREQUIR
af76a27a1907450db0cf906dc605d1f539d1ebd6
Add wellpathpy to install_requires
setup.py
setup.py
""" Python installation file for welly project. :copyright: 2021 Agile Scientific :license: Apache 2.0 """ from setuptools import setup import re verstr = 'unknown' VERSIONFILE = "welly/_version.py" with open(VERSIONFILE, "r") as f: verstrline = f.read().strip() pattern = re.compile(r"__version__ = ['\"](.*)[...
Python
0
@@ -657,24 +657,53 @@ 'tqdm',%0A + 'wellpathpy'%0A
2c1caf83f99161ef2f1d17c50a1d3006d9834ecd
Drop explicit archlist for now.
hotness/repository.py
hotness/repository.py
import logging import subprocess from hotness.cache import cache log = logging.getLogger('fedmsg') def get_version(package_name, yumconfig): nvr_dict = build_nvr_dict(yumconfig) return nvr_dict[package_name] @cache.cache_on_arguments() def build_nvr_dict(yumconfig): cmdline = ["/usr/bin/repoquery", ...
Python
0
@@ -385,24 +385,25 @@ +# %22--archlist=
1c8ad7256b7e1ed211ff4caa07bf516934fa398a
fix to more python standard manner
setup.py
setup.py
#!/usr/bin/env python '''setup script for SEAT and SAT Copyright (C) 2009-2010 Yosuke Matsusaka and Isao Hara Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved. Licensed under the Eclipse Public License -v 1.0...
Python
0.000372
@@ -1734,21 +1734,22 @@ -data_files=%5B( +package_data=%7B 'sea @@ -1757,35 +1757,20 @@ sat' -, %5B'seatsat/seatml +: %5B'* .xsd'%5D -),%5D +%7D ,%0A
ea908afaed746e1c3405828617ba7a16d3472e4a
Update setup.py with new beta version of next release
setup.py
setup.py
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='1.2.1', description='A CLI...
Python
0
@@ -287,12 +287,14 @@ on=' -1. 2. +0.0b 1',%0A
4e464600aa867a409fb7a3a7d34838cfc717d660
Update classifiers.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() with open('requirements.txt') as f: requirements =...
Python
0
@@ -1230,16 +1230,29 @@ :: -4 - Beta +5 - Production/Stable ',%0A @@ -1289,24 +1289,73 @@ evelopers',%0A + 'Intended Audience :: Science/Research',%0A 'Lic @@ -1439,17 +1439,54 @@ -%22 +'Natural Language :: Dutch',%0A ' Programm @@ -1512,17 +1512,17 @@ hon :: 2 -%22 +' ,%0A ...
be3f4f9e13c9e71dbbcdf6abe5a13a06160304b7
Remove entry-points from setup.py
setup.py
setup.py
# -*- coding: utf-8 -*- """Perses: Tools for expanded-ensemble simulations with OpenMM """ from __future__ import print_function, absolute_import DOCLINES = __doc__.split("\n") import os import sys import glob import traceback import numpy as np from os.path import join as pjoin from os.path import relpath from setu...
Python
0.000001
@@ -2435,205 +2435,6 @@ -entry_points=%7B'console_scripts': %5B%0A 'thermoml-update-mirror = thermopyl.scripts.update_archive:main',%0A 'thermoml-build-pandas = thermopyl.scripts.parse_xml:main',%0A %5D%7D )%0A
875b7b6dcbdc21d443009220f980fd7999868cf5
Remove webcolors dependency
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import io from codecs import open from setuptools import setup, find_packages def walk_subpkg(name): data_files = [] package_dir = 'cartoframes' for parent, dirs, files in os.walk(os.path.join(package_dir, name)): # Remove package_dir from t...
Python
0.000001
@@ -683,37 +683,8 @@ 2.0' -,%0A 'webcolors%3E=1.9.1,%3C2.0' %0A%5D%0A%0A
7734b5480bcdc5f96901c5effed54e2d8b5799fa
version bump
setup.py
setup.py
from setuptools import setup setup(name='lspreader', version='0.1.2r1', description='A set of python readers for the code LSP', url='http://github.com/noobermin/lspreader', author='noobermin', author_email='ngirmang.1@osu.com', license='MIT', packages=['lspreader'], inst...
Python
0.000001
@@ -70,11 +70,9 @@ 0.1. -2r1 +3 ',%0A
dd413fdaf9957eb4bd061bb50f42006867f0ee65
test for unrelated
peddy/tests/test_peddy.py
peddy/tests/test_peddy.py
from peddy import Ped, Family, Sample, PHENOTYPE, SEX def test_sample(): s = Sample('fam1', 'sample1', '-9', '-9', '2', '2') assert s.sex == SEX.FEMALE, (s.sex) assert s.affected == PHENOTYPE.AFFECTED assert s.kids == [] def test_sample_str_and_from_row(): s = Sample('fam1', 'sample1', '-9', '-9'...
Python
0.999896
@@ -1262,16 +1262,76 @@ = ggma%0A%0A + unrelated = Sample('fam1', 'un', '-9', '-9', '2', '2')%0A%0A from @@ -1431,16 +1431,27 @@ ma, ggma +, unrelated %5D)%0A a @@ -1825,16 +1825,68 @@ ) == 0%0A%0A + assert p.distance(%22mom%22, %22un%22) == float(%22inf%22)%0A%0A import s
11fa79921451e087b5e3e307bb646c83ee929296
make NetworkConvertors a new style object
repository/xmlshims.py
repository/xmlshims.py
# # Copyright (c) 2004 Specifix, Inc. # # This program is distributed under the terms of the Common Public License, # version 1.0. A copy of this license should have been distributed with this # source file in a file called LICENSE. If it is not present, the license # is always available at http://www.opensource.org/li...
Python
0
@@ -653,16 +653,24 @@ nvertors +(object) :%0A%0A d
1118191ebb51e5ffe2ce3a1be91ae79808f2fdcb
Support comma separators when printing numbers.
rdioexport/__init__.py
rdioexport/__init__.py
from ._client import get_rdio_client from ._exporter import get_exporter from itertools import chain, imap, islice # Thanks to Roberto Bonvallet # http://stackoverflow.com/a/1915307 def _split(iterable, batch_size): iterator = iter(iterable) batch = tuple(islice(iterator, batch_size)) while batch: ...
Python
0
@@ -1245,32 +1245,34 @@ print u%22Wrote %7B +:, %7D albums and %7B%7D @@ -1261,32 +1261,34 @@ :,%7D albums and %7B +:, %7D tracks so far. @@ -1382,16 +1382,18 @@ %22Wrote %7B +:, %7D albums @@ -1398,16 +1398,18 @@ ms and %7B +:, %7D tracks
a34ce610a6f961158e15769f02926aeed6321e58
Bump version to 0.1.post1 to re-release on PyPi correctly packaged
setup.py
setup.py
#!/usr/bin/env python # # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file ...
Python
0
@@ -436,16 +436,22 @@ = '0.1 +.post1 ',%0A
8581cf8d2e2d38dcc5ca0bcb8821d9f5c60b00ac
Change version back to 0.1
setup.py
setup.py
from distutils.core import setup from Cython.Build import cythonize setup( name="gfspy", packages=["gtfspy"], version="0.1", description="Python package for analyzing public transport timetables", author="Rainer Kujala", author_email="Rainer.Kujala@gmail.com", url="https://github.com/CxAal...
Python
0.000008
@@ -387,17 +387,17 @@ chive/0. -1 +2 .tar.gz%22
430d27997bf914ef7bb9af753c4a9a49a5854ced
fix imports order
setup.py
setup.py
from setuptools import setup, find_packages module_name = 'yamlious' description = "Build voluptuous schema from yaml files" root_url = 'https://github.com/cogniteev/' + module_name # Extract version from module __init__.py init_file = '{}/__init__.py'.format(module_name.replace('-', '_').lower()) __version__ = None ...
Python
0
@@ -19,15 +19,8 @@ port - setup, fin @@ -29,16 +29,23 @@ packages +, setup %0A%0Amodule
fba783e42696d86670432930ecdc3414fd4b08f9
add the license information to setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='junit_xml_output', author='David Black', author_email='dblack@atlassian.com', url='https://bitbucket.org/db_atlass/python-junit-xml-output-mod...
Python
0
@@ -415,16 +415,34 @@ E.md'),%0A +%09license = %22MIT%22,%0A %09version
0c3106c17651fd56e25833c348442544a078c433
Bump to 0.3
setup.py
setup.py
# 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/. from setuptools import setup, find_packages PACKAGE_VERSION = '0.2' deps = [] setup(name='b2g-commands', versio...
Python
0.000198
@@ -259,17 +259,17 @@ ON = '0. -2 +3 '%0A%0Adeps
b8d6098018573f24e4ea97fe643a19a3b1c03d6f
Define a constant variable
setup.py
setup.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools MODULE_NAME = "pathvalidate" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requiremen...
Python
0.999995
@@ -1332,16 +1332,84 @@ rip()%5D%0A%0A +PYTEST_RUNNER_REQUIRES = %5B%22pytest-runner%22%5D if need_pytest() else %5B%5D%0A cmdclass @@ -2160,50 +2160,30 @@ res= -%5B%22pytest-runner%22%5D if need_pytest() else %5B%5D +PYTEST_RUNNER_REQUIRES ,%0A
a6c89d5c169c81cb41b56d79f153e1e9dfe5e50b
fix setup.py
setup.py
setup.py
import setuptools setuptools.setup( name="torchdiffeq", version="0.0.1", author="Ricky Tian Qi Chen", author_email="rtqichen@cs.toronto.edu", description="ODE solvers and adjoint sensitivity analysis in PyTorch.", url="https://github.com/rtqichen/torchdiffeq", packages=['torchdiffeq', 'torc...
Python
0.000001
@@ -296,44 +296,34 @@ ges= -%5B'torchdiffeq', 'torchdiffeq._impl'%5D +setuptools.find_packages() ,%0A @@ -375,17 +375,17 @@ sifiers= -( +%5B %0A @@ -422,12 +422,69 @@ on :: 3%22 -) , +%0A %22License :: OSI Approved :: MIT License%22,%0A %5D,%0A )%0A
7800a34d8475d3e5efd3dccd58e4275a2359eb0d
Fix json_unhandled_exception handling of JsonableError.
zerver/lib/rest.py
zerver/lib/rest.py
from __future__ import absolute_import from django.views.decorators.csrf import csrf_exempt, csrf_protect from zerver.decorator import authenticated_json_view, authenticated_rest_api_view, \ process_as_post from zerver.lib.response import json_method_not_allowed, json_unauthorized, json_unhandled_exception fr...
Python
0.000005
@@ -209,16 +209,31 @@ _as_post +, JsonableError %0Afrom ze @@ -3661,16 +3661,74 @@ except + JsonableError:%0A raise%0A except Exception :%0A
13ec5ac73151b5a171ee5ae040c95521396e9906
fix bioconda
setup.py
setup.py
# Copyright (C) 2015-2016 Regents of the University of California # # 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 app...
Python
0.000001
@@ -1462,16 +1462,16 @@ 1808 -09224403 +19175200 '%0A
9590a881bdfae21a1c332c859459f709871e0d59
Add check if configuration section merge needed
pg_bawler/bawlerd/conf.py
pg_bawler/bawlerd/conf.py
import collections import itertools import os import yaml #: Default name for bawlerd configuration file DEFAULT_CONFIG_FILENAME = 'pg_bawler.yml' #: List of location where bawlerd searches for configuration #: Order matters. Configuration in current working directory takes precedence #: over configuration from user...
Python
0
@@ -1306,23 +1306,25 @@ -value = +if key in precede %5Bkey @@ -1323,47 +1323,63 @@ cede -%5B + and key -%5D i -f key in precede else bas +n base:%0A value = preced e%5Bkey%5D%0A + @@ -1429,32 +1429,36 @@ g):%0A + value = _merge_c @@ -1472,29 +1472,108 @@ base -.get...
9d92a6d2b93cfba258e5f0fda4484dccfad8ada8
Remove "Open-Dynamics-Engine" dep.
setup.py
setup.py
import os import setuptools setuptools.setup( name='pagoda', version='0.0.2', packages=setuptools.find_packages(), author='Leif Johnson', author_email='leif@cs.utexas.edu', description='yet another OpenGL-with-physics simulation framework', long_description=open(os.path.join(os.path.dirname...
Python
0
@@ -614,32 +614,8 @@ let' -, 'Open-Dynamics-Engine' %5D,%0A @@ -866,78 +866,8 @@ g',%0A - 'Topic :: Scientific/Engineering :: Artificial Intelligence',%0A
b8ebb1c14b600a3a6fed1f3100827de9b50bc847
Bump version to 1.2.0 according to create_freeze
setup.py
setup.py
from distutils.core import Extension, setup from distutils.command.install import INSTALL_SCHEMES from Pyrex.Distutils import build_ext import os # http://stackoverflow.com/questions/1612733/including-non-python-files-with-setup-py for scheme in INSTALL_SCHEMES.values(): scheme['data'] = scheme['purelib'] def fin...
Python
0
@@ -813,17 +813,17 @@ sion='1. -0 +2 .0',%0A
7e72ccffd2d7bb342804edf2d91e5793d9e434ef
Update dependencies
setup.py
setup.py
"""Setup script for sandman2.""" from __future__ import print_function from setuptools import setup from setuptools.command.test import test as TestCommand import codecs import os import sys import re HERE = os.path.abspath(os.path.dirname(__file__)) def read(*parts): """Return multiple read calls to different r...
Python
0.000001
@@ -1127,17 +1127,17 @@ sk%3E=1.0. -2 +3 ',%0A @@ -1160,19 +1160,19 @@ hemy==2. -3.2 +4.0 ',%0A @@ -1193,12 +1193,11 @@ ==1. -2.15 +3.3 ',%0A
fac27b4fb48c94e984be6211b8cd213622ce931b
Add AUTHORS generation function.
setup.py
setup.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 OpenStack LLC. # All Rights Reserved. # # 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/...
Python
0.003906
@@ -3999,17 +3999,16 @@ %0A %22%22%22 - Write a @@ -4043,17 +4043,16 @@ hangelog - %22%22%22%0A @@ -4253,24 +4253,24 @@ gelog_file:%0A - @@ -4331,8 +4331,551 @@ ilmap))%0A +%0A%0Adef generate_authors():%0A %22%22%22Create AUTHORS file using git commits%22%22%22%0A jenkins_email = 'je...
930656c062e6d0424dd0292f5cb09865fec3e1aa
Fix dependency issue
setup.py
setup.py
from setuptools import setup from setuptools import find_packages import versioneer # README # def readme(): with open('README.rst') as f: return f.read() setup(name='fair', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='Python package to perform calcu...
Python
0.000003
@@ -893,11 +893,11 @@ =1.1 -1.3 +4.5 ',%0A
f1a4f76641683aa0f1919e8d3a1442bcd1b6f920
Tidy up route import
pipeline_notifier/main.py
pipeline_notifier/main.py
import os import cherrypy from .routes import setup_routes from flask import Flask app = Flask("Pipeline Notifier") setup_routes(app, []) def run_server(): cherrypy.tree.graft(app, '/') cherrypy.config.update({ 'engine.autoreload_on': True, 'log.screen': True, 'server.socket_port': in...
Python
0.000001
@@ -24,16 +24,33 @@ py%0Afrom +pipeline_notifier .routes