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
e908792a8a47b4afc478a89f479ab836d7acea5e
set 2to3 False
setup.py
setup.py
#!/usr/bin/env python # Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import absolute_import, division, print_function # # Standard imports # import glob import os import sys from setuptools import setup, find_packages # # desiutil needs to import some of its own code. # sys.path.insert(...
Python
0.999999
@@ -1748,11 +1748,12 @@ %5D = -Tru +Fals e%0Ase
012230b2693a1922cae4bbf163de1b4d23d00b40
Fix beta sample
tensorforce/core/distributions/beta.py
tensorforce/core/distributions/beta.py
# Copyright 2017 reinforce.io. 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 required by applicable law or...
Python
0.000011
@@ -3237,16 +3237,17 @@ lf.mean%0A +%0A @@ -3413,25 +3413,24 @@ =self.beta)%0A -%0A samp
32fe6ea4fa2aa710d2627b6c19c0e25013b72a1d
Test fixture update.
awx/main/tests/functional/test_rbac_workflow.py
awx/main/tests/functional/test_rbac_workflow.py
import pytest from awx.main.access import ( WorkflowJobTemplateAccess, WorkflowJobTemplateNodeAccess, WorkflowJobAccess, # WorkflowJobNodeAccess ) @pytest.fixture def wfjt(workflow_job_template_factory, organization): objects = workflow_job_template_factory('test_workflow', organization=organizati...
Python
0
@@ -865,16 +865,25 @@ rn wfjt. +workflow_ jobs.cre
25ff2bcd545c7429dda5f3cd48ff8272c28d8965
Complete recur sort w/ iter merge sol
lc0148_sort_list.py
lc0148_sort_list.py
"""Leetcode 148. Sort List Medium URL: https://leetcode.com/problems/sort-list/ Sort a linked list in O(n log n) time using constant space complexity. Example 1: Input: 4->2->1->3 Output: 1->2->3->4 Example 2: Input: -1->5->3->4->0 Output: -1->0->3->4->5 """ # Definition for singly-linked list. class ListNode(obje...
Python
0
@@ -411,16 +411,21 @@ Solution +Recur (object) @@ -438,144 +438,1902 @@ def -sortList(self, head):%0A %22%22%22%0A :type head: ListNode%0A :rtype: ListNode%0A %22%22%22%0A pass%0A%0A%0Adef main():%0A pass%0A +_merge_sorted_lists(self, l1, l2):%0A if not l1 and not l2:%0A...
d3d8267588b60f77b6c55ffd8461ddfa163501da
add dependency for protobuf
setup.py
setup.py
#!/usr/bin/env python # Copyright 2011 The fast-python-pb Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
Python
0
@@ -1077,19 +1077,17 @@ age_data - = += %7B%0A @@ -1141,19 +1141,17 @@ y_points - = += %7B%0A @@ -1274,16 +1274,33 @@ quires=%5B +'ez-setup==0.9', 'protobu
4025fc66078478fe56822f31a0706422cb178e8e
Fix a warning on Python 3.x
allauth/socialaccount/providers/openid/utils.py
allauth/socialaccount/providers/openid/utils.py
import base64 import pickle from openid.association import Association as OIDAssociation from openid.extensions.ax import FetchResponse from openid.extensions.sreg import SRegResponse from openid.store.interface import OpenIDStore as OIDStore from allauth.compat import UserDict from allauth.utils import valid_email_o...
Python
0.000116
@@ -1928,32 +1928,217 @@ l, assoc=None):%0A + try:%0A secret = base64.encodebytes(assoc.secret)%0A except AttributeError:%0A # Python 2.x compat%0A secret = base64.encodestring(assoc.secret)%0A OpenIDSt @@ -2149,32 +2149,32 @@ objects.create(%0A - s...
a17d425cb7b1490927fdd1d5bc013fe60adf5f60
Update ParticleSwarm.py
Solid/ParticleSwarm.py
Solid/ParticleSwarm.py
from abc import ABCMeta, abstractmethod from random import random from numpy import apply_along_axis, argmin, array, copy, diag_indices_from, dot, zeros from numpy.random import uniform class ParticleSwarm: """ Conducts particle swarm optimization """ __metaclass__ = ABCMeta swarm_size = None ...
Python
0
@@ -6431,43 +6431,8 @@ if -self.min_objective is not None and self @@ -6462,24 +6462,25 @@ _best%5B0%5D) %3C +( self.min_obj @@ -6485,16 +6485,22 @@ bjective + or 0) :%0A
2035099fd78b1d0906403ec836a4b7e7144a6bbc
bump to 0.0.6
swingtix/bookkeeper/__init__.py
swingtix/bookkeeper/__init__.py
__VERSION__='0.0.5'
Python
0.000005
@@ -14,7 +14,7 @@ 0.0. -5 +6 '%0A
8dc258dafad833ff5681e2bc0c436d2f8e7b23ae
Fix inventory's click_window()
spock/plugins/helpers/inventory.py
spock/plugins/helpers/inventory.py
""" Inventory plugin is a helper plugin for dealing with interaction with inventories """ from collections import deque from spock.utils import pl_announce from spock.mcp import mcdata, mcpacket import logging logger = logging.getLogger('spock') INV_MAIN = "minecraft:main" #not ever sent by the server but a n...
Python
0
@@ -3064,16 +3064,22 @@ _window( +self, slot, bu
448d1fc24dd92e6d9f063a1b679db2d5be2f7106
Simplify n - 1
lc0293_flip_game.py
lc0293_flip_game.py
"""Leetcode 293. Flip Game (Premium) Easy URL: https://leetcode.com/problems/flip-game You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take turns to flip two consecutive "++" into "--". The game ends when a person can no lo...
Python
0.999999
@@ -609,24 +609,44 @@ ass Solution +CheckCharAndNeighbor Iter(object) @@ -906,24 +906,16 @@ n -_minus_1 = len(s @@ -919,12 +919,8 @@ n(s) - - 1 %0A @@ -1052,23 +1052,19 @@ le i %3C n -_minus_ + - 1:%0A @@ -1117,15 +1117,11 @@ %3C n -_minus_ + - 1 an @@ -1434,16 +1434,36 @@ Solution +CheckC...
4e9444f76ba36ed58b13843017cb2d67a6ebd2a7
create version 2.4.8
setup.py
setup.py
from setuptools import setup setup(name='DukeDSClient', version='2.4.7', description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.', url='https://github.com/Duke-GCB/DukeDSClient', keywords='duke dds dukedataservice', author='John Bradley', ...
Python
0.000001
@@ -72,17 +72,17 @@ on='2.4. -7 +8 ',%0A
01f3774d7fdf9369eabb322fd2c53a1f16747e49
Fix notificatiosn
autostew_back/plugins/chat_notifications.py
autostew_back/plugins/chat_notifications.py
""" Show a message when a player logs in (and other messages, too) """ from autostew_back.gameserver.event import EventType, BaseEvent, LapEvent, MemberEvent from autostew_back.gameserver.server import Server from autostew_back.gameserver.session import SessionStage, SessionState, SessionFlags from autostew_web_users.m...
Python
0.001748
@@ -2644,20 +2644,20 @@ .format( -winn +lead er_name= @@ -2825,36 +2825,36 @@ (message.format( -lead +winn er_name=event.pa
c1396fdfea3f3393cf44b74cf62c623df1e5af75
Improve user message in lightweight crash handler.
IPython/core/crashhandler.py
IPython/core/crashhandler.py
# encoding: utf-8 """sys.excepthook for IPython itself, leaves a detailed report on disk. Authors: * Fernando Perez * Brian E. Granger """ #----------------------------------------------------------------------------- # Copyright (C) 2001-2007 Fernando Perez. <fperez@colorado.edu> # Copyright (C) 2008-2010 The IP...
Python
0
@@ -2157,49 +2157,177 @@ can -enable a much more verbose traceback with +print a more detailed traceback right now with %22%25tb%22, or use %22%25debug%22%0Ato interactively debug it.%0A%0AExtra-detailed tracebacks for bug-reporting purposes can be enabled via :%0A
ac85d822f1c2656ee2c83550e613b52d97b8f2da
update message for image check gate when base id is out of date Fixes #50
anchore/anchore-modules/gates/11_check_image.py
anchore/anchore-modules/gates/11_check_image.py
#!/usr/bin/env python import sys import os import json import re import anchore from anchore import anchore_utils gate_name = "IMAGECHECK" triggers = { 'BASEOUTOFDATE': { 'description':'triggers if the image\'s base image has been updated since the image was built/analyzed', 'params':'None' ...
Python
0
@@ -1221,16 +1221,23 @@ E Image +stored base ima @@ -1308,16 +1308,30 @@ latest +detected base ID for (
511747b4233ce0d25034675a61955db4fcc3a13d
Add time/space complexity
lc0542_01_matrix.py
lc0542_01_matrix.py
"""Leetcode 542. 01 Matrix Medium URL: https://leetcode.com/problems/01-matrix/ Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Input: [[0,0,0], [0,1,0], [0,0,0]] Output: [[0,0,0], [0,1,0], [0,0,0]] Example 2: Input...
Python
0.002369
@@ -2243,32 +2243,166 @@ List%5BList%5Bint%5D%5D +%0A%0A Time complexity: O(mn), where%0A - m: number of rows%0A - n: number of columns%0A Space complexity: O(1). %0A %22%22%22%0A
7f03e3ee668f272a68fd326d642966eb876609d7
Fix a debug email error.
satchmo/apps/satchmo_store/mail.py
satchmo/apps/satchmo_store/mail.py
from django.conf import settings from django.template import loader, Context from satchmo_store.shop.models import Config from socket import error as SocketError import logging log = logging.getLogger('satchmo_store.mail') if "mailer" in settings.INSTALLED_APPS: from mailer import send_mail else: from django....
Python
0.000085
@@ -2069,23 +2069,20 @@ ubject, -message +body )%0A
f3c61475ff06c42f4a2a23c9113e3bd3c73937f5
Reorganize socket timeout configuration
plugins/telnet_plugin.py
plugins/telnet_plugin.py
from sqlalchemy import Column, Integer, String, DateTime from base import Base from string import join import GeoIP import geojson import socket import json import datetime import logging class Plugin: def __init__(self): logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%...
Python
0
@@ -1956,32 +1956,35 @@ _stamp)%0A +if passed_socket.se @@ -1984,83 +1984,131 @@ cket -.settimeout(35)%0A if socket:%0A self.negotiate(passed_socket +:%0A passed_socket.settimeout(4)%0A self.negotiate(passed_socket)%0A passed_socket.settimeout(35 )%0A @@...
602fb71ac76ad921e780490ec806915cd5206d0a
handle exceptions better and fix Turkey URL
leaguewinners/dl.py
leaguewinners/dl.py
import re, requests, csv, time from bs4 import BeautifulSoup teams = [] for country, urlpart in [('Germany', 'germany/bundesliga/german-bundesliga'), ('Spain', 'spain/la-liga-primera/spanish-la-liga-primera'), ('England', 'english/premier-league'), ...
Python
0
@@ -4,31 +4,78 @@ ort -re, requests, csv, time +csv%0Aimport re%0Aimport sys%0Aimport time%0Aimport traceback%0A%0Aimport requests %0Afro @@ -785,34 +785,26 @@ -lig -/turkish-super-league')%5D:%0A +')%5D:%0A try:%0A @@ -867,16 +867,20 @@ urlpart%0A + prin @@ -904,16 +904,20 @@ url%0A + ...
d146e397b0240d1a22e2f53d3c538a90180a122d
remove wxPython from install_requires, as setuptools can't find/install it
setup.py
setup.py
from setuptools import setup, find_packages import os kws = {} if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )): kws['install_requires'] = [ 'numpy>=1.0.4', 'PIL>=1.1.6', 'motmot.imops', 'wxPython>=2.8' ] setup(name='motmot.wxvideo', description='wx viewer of i...
Python
0
@@ -220,32 +220,8 @@ s',%0A - 'wxPython%3E=2.8'%0A
51de92a1402739e4a6a703ce1fc7e2f2ade308f3
add information to pypi page (#21)
setup.py
setup.py
"""Setup for vt_graph_api module.""" import re import sys import setuptools with open("./vt_graph_api/version.py") as f: version = ( re.search(r"__version__ = \'([0-9]{1,}.[0-9]{1,}.[0-9]{1,})\'", f.read()).groups()[0]) # check python version >2.7.x and >=3.2.x installable = True if sys.ver...
Python
0
@@ -820,16 +820,55 @@ iption=%22 +The official Python client library for VirusTot @@ -906,16 +906,55 @@ che 2%22,%0A + long_description=long_description,%0A long @@ -1037,23 +1037,23 @@ total/vt -_ +- graph -_ +- api%22,%0A
d36e17e3823af74b5a6f75191f141ec98fdf281f
Fix failing reconnects; add quit IRC command
plugins/irc/irc.py
plugins/irc/irc.py
from p1tr.helpers import clean_string from p1tr.plugin import * @meta_plugin class Irc(Plugin): """Provides commands for basic IRC operations.""" @command @require_master def nick(self, server, channel, nick, params): """Usage: nick NEW_NICKNAME - changes the bot's nickname.""" if len(...
Python
0.000001
@@ -1299,13 +1299,9 @@ el)%0A - %0A + @@ -1392,15 +1392,104 @@ +%22%22%22%0A Usage: quit - Tell the bot to disconnect from the server.%0A %22%22%22%0A self.b -l ot.i @@ -1514,8 +1514,32 @@ = True%0A + self.bot.exit()%0A
823d6a22622ad1f854c5241ccc5458cd0e8ea6e1
call to the configure logging function ... :P
scout/app.py
scout/app.py
# -*- coding: utf-8 -*- """The app module, containing the app factory function.""" from __future__ import absolute_import, unicode_literals import os import arrow from flask import Flask, render_template from jinja2 import is_undefined from path import path as ipath from werkzeug.utils import import_string from .sett...
Python
0
@@ -1402,24 +1402,54 @@ lueprints()%0A + self._configure_logging()%0A self._co
8396d59c6dd8a07889dce472dec23b7eff4cc4fb
version 0.9.5
setup.py
setup.py
from distutils.core import setup setup( name='pySunScene', version='0.9.4', py_modules=['raytrace'], url='', license='MIT', author='Gabriel Cardona, Ramon Pujol', author_email='gabriel.cardona@uib.es, ramon.pujol@uib.es', description='', install_requires=[ 'numpy>=1', ] ...
Python
0.000002
@@ -78,9 +78,9 @@ 0.9. -4 +5 ',%0A
65aa46e11fc815490d5c76b803645e3d8f6c49c4
bump version to 0.1.0
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import io import sys from shutil import rmtree from setuptools import setup, Command readme_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst') with io.open(readme_file, encoding='utf-8') as f: long_descri...
Python
0.000001
@@ -2338,19 +2338,19 @@ sion=%220. -0.8 +1.0 %22,%0A d @@ -2611,11 +2611,11 @@ e/0. -0.8 +1.0 .tar
c643fa5f69d09cbb1512624c4c173d9bea34348c
Fix rdflib version
setup.py
setup.py
import os from setuptools import setup readme_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md') with open(readme_path, 'r', encoding='utf-8') as fh: long_description = fh.read() def main(): install_list = ['pysb>=1.3.0,<=1.9.1', 'objectpath', 'rdflib', ...
Python
0
@@ -309,16 +309,23 @@ 'rdflib +==4.2.2 ',%0A
c831f6bee344b67171900ca7e50bf6fc85ea9345
Remove outdated qualifier in setup.py
setup.py
setup.py
import os from setuptools import setup from explorer import __version__ # 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): ...
Python
0.000002
@@ -1056,46 +1056,8 @@ s',%0A - 'Framework :: Django :: 1.7',%0A
d8e0109e4c697f4a920ff4993c491eb5b0d38d55
Update pylint dependency to 1.9.1
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010-2018 OneLogin, Inc. # MIT License from setuptools import setup setup( name='python-saml', version='2.4.1', description='Onelogin Python Toolkit. Add SAML support to your Python software using this library', classifiers=[ 'De...
Python
0
@@ -1153,17 +1153,17 @@ lint==1. -3 +9 .1',%0A
c0566fabd434b2f9722ac37538fd74b4959fedbc
Add click as dependency
setup.py
setup.py
from setuptools import setup, find_packages from jarvis_cli import __version__ setup( name = "jarvis-cli", version = __version__, packages = find_packages(), author = "Michael Hwang", author_email = "hirehwang@gmail.com", description = ("Jarvis command-line tool"), ...
Python
0.000001
@@ -666,16 +666,29 @@ r%3C1.0.0' +, 'click%3C7.0' %5D,%0A
cf16c64e378f64d2267f75444c568aed895f940c
Add csblog to installed scripts.
setup.py
setup.py
import platform, sys from distutils.core import setup from distextend import * packages, package_data = findPackages("countershape") setup( name = "countershape", version = "0.1", description = "A framework for rendering static documentation.", author = "Nullcube Pty Ltd", autho...
Python
0
@@ -478,13 +478,23 @@ %22cshape%22 +, %22csblog%22 %5D,%0A)%0A
496abc7854985c6f1bfd8463330f2f07a0f3048c
remove unused dependency libcst (#39)
setup.py
setup.py
# -*- coding: utf-8 -*- # Copyright 2020 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...
Python
0
@@ -1420,35 +1420,8 @@ v%22,%0A - %22libcst %3E= 0.2.5%22,%0A
a339b96b33fd7f2ef8e2d18c64e997173309a459
Prepare for more development.
setup.py
setup.py
from distutils.core import setup setup( name='udiskie', version='0.2.0', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', packages=[ 'udiskie', ], scripts=[ ...
Python
0
@@ -71,17 +71,17 @@ on='0.2. -0 +1 ',%0A d
118c079b2065f1b624f2ed54722483f1dca46eac
fix typo in setup.py
setup.py
setup.py
from distutils.core import setup setup( name='htmlr', version='0.1.0', author='Scott Hamilton', author_email='mcleopold@gmail.com', packages=['htmlr', 'skills.testsuite' ], url='http://github.com/McLeopold/PythonHtmlr/', license="BSD", description='DSL to generate HTML...
Python
0.000015
@@ -184,14 +184,13 @@ ' -skills +htmlr .tes
6bd7a61272ca5fe3d916488e24a1dab5e022f61b
Fix installing PIP issues
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='hypchat', version='0.4', description="Package for HipChat's v2 API", long_description=open('README.rst').read(), author='James Bliss', author_email='james@ridersdiscount.com', url='https://github.com/RidersDiscountC...
Python
0
@@ -50,16 +50,208 @@ setup%0A%0A +def read_file(name):%0A %22%22%22%0A Read file content%0A %22%22%22%0A f = open(name)%0A try:%0A return f.read()%0A except IOError:%0A print(%22could not read %25r%22 %25 name)%0A f.close()%0A%0A setup(na @@ -358,20 +358,25 @@ ription= -open +...
91746b5a3352ffc56baf770d6b35f0130b2e4128
update version
setup.py
setup.py
import setuptools with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() with open('requirements.txt') as f: required = f.read().splitlines() version = '0.0.2' setuptools.setup( name="rt-utils", version=version, author="Asim Shrestha", author_email="asim.shrestha@ho...
Python
0
@@ -190,9 +190,9 @@ 0.0. -2 +3 '%0A%0As
c754e7fd020ff3bdada2e724087c82ce72ee061b
Bump version to 0.2.19
setup.py
setup.py
"""sfdclib package setup""" import textwrap from setuptools import setup setup( name='sfdclib', version='0.2.18', author='Andrey Shevtsov', author_email='ashevtsov@rbauction.com', packages=['sfdclib'], url='https://github.com/rbauction/sfdclib', license='MIT', description=("SFDClib is ...
Python
0
@@ -117,9 +117,9 @@ .2.1 -8 +9 ',%0A
ec070a097ead0370cf7b1ac9c21e6c4a68f9477c
Send file before changes
bin/py/watch.py
bin/py/watch.py
#!/usr/bin/env python from __future__ import print_function import os from sys import argv from time import sleep import logging from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler import liblo logger = logging.getLogger("watcher.py") logger.setLevel(logging.INFO) logger.addHandl...
Python
0
@@ -1904,16 +1904,31 @@ llback)%0A + callback()%0A try:
54620b2be022c66d384ec0553838c463ed1a0d61
fix problem with file writing messages not being strings
tiFile.py
tiFile.py
""" file: ti_file.py language: python3 author: Nate Levesque <public@thenaterhood.com> description: Reads and writes TI-Basic .8Xp files and returns structures relevant to the file if appropriate. TODO: add additional validation to the validate function add an empty structure or otherwise change ...
Python
0.000086
@@ -2928,20 +2928,25 @@ Was '%22+ +str( byte +) +%22'. Co
633110a0967f75f590bc24dd9d5d3400cb9efb0a
Remove unused classmethod from setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys class PyTest(TestCommand): # long option, short option, description user_options = [ ('flakes', None, 'Use pyflakes'), ('coverage', 'C',...
Python
0.000001
@@ -419,310 +419,8 @@ %5D%0A - @classmethod%0A def add_project_specific_options(self):%0A %22%22%22%0A Function for subclasses to add additional test args eg. location of tests%0A%0A These options are likely to be specific to the project and are therefore not added to user_options ...
effe6edab431c133aed40c72698f6a1b976b6a67
add dependencies to setup.py
setup.py
setup.py
from setuptools import setup, find_packages from ckanext.qa import __version__ setup( name='ckanext-qa', version=__version__, description="Quality Assurance plugin for CKAN", long_description=""" """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers ...
Python
0.000001
@@ -641,17 +641,123 @@ -# +'celery%3E=2.3.3',%0A 'kombu-sqlalchemy%3E=1.1.0',%0A 'SQLAlchemy%3E=0.6.6',%0A 'requests==0.6.4', %0A %5D,%0A
6076ceb869a604eb460a19b11b8c17043f21362f
bump version to 0.11.2
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup README = open('README.rst', 'rt').read() setup( name='vncdotool', version='0.11.1', description='Command line VNC client', install_requires=[ 'Twisted', "Pillow", ], tests_require=[ 'nose', 'pexpect', ], ...
Python
0
@@ -135,17 +135,17 @@ n='0.11. -1 +2 ',%0A d
875b7111a273cacb9b768d2cc6f9fa72fdd73180
Let it be 1.0.0
setup.py
setup.py
#!/usr/bin/env python2.7 from setuptools import setup import sys, os __version__ = '0.6' setup(name='gglsbl', version=__version__, description="Client library for Google Safe Browsing API", classifiers=[ "Operating System :: POSIX", "Environment :: Console", "Programming Language...
Python
0.99994
@@ -84,11 +84,13 @@ = ' +1. 0. -6 +0 '%0A%0As
67677c102fad318a9d64b1e65b125570ac1f1700
bump versions.
setup.py
setup.py
import os from setuptools import setup, find_packages from openspending.version import __version__ PKG_ROOT = '.' def files_in_pkgdir(pkg, dirname): pkgdir = os.path.join(PKG_ROOT, *pkg.split('.')) walkdir = os.path.join(pkgdir, dirname) walkfiles = [] for dirpath, _, files in os.walk(walkdir): ...
Python
0
@@ -1647,17 +1647,17 @@ es==0.1. -3 +4 %22,%0A @@ -1685,12 +1685,12 @@ 11-2 -5.02 +8.03 %22%0A
921ef5f43e8f6f0c3274ca3ed48b856c50b0ead9
Fix build with Python 3
setup.py
setup.py
# -*- coding: utf-8 -*- # from setuptools import setup, find_packages import os import codecs # https://packaging.python.org/single_source_version/ base_dir = os.path.abspath(os.path.dirname(__file__)) about = {} with open(os.path.join(base_dir, 'voropy', '__about__.py')) as f: exec(f.read(), about) def read(fna...
Python
0.000001
@@ -265,16 +265,22 @@ t__.py') +, 'rb' ) as f:%0A
1de80ec1d74c2cf074d8f90a9c7da3c6e0380b05
Fix setup.py (really)
setup.py
setup.py
import os from setuptools import setup ROOT = os.path.dirname(os.path.realpath(__file__)) with open("README.md", encoding="utf-8") as inp: README_CONTENT = inp.read() setup( # Meta data name="grab", version="0.6.41", author="Gregory Petukhov", author_email="lorien@lorien.name", maintaine...
Python
0
@@ -817,16 +817,23 @@ %22grab. +spider. service%22
c9a21b84a4fd719fc0cf50cf96e642d7c494ea5d
use setup from distribution.py
setup.py
setup.py
# -*- coding: iso-8859-1 -*- # ----------------------------------------------------------------------------- # setup.py - Setup script for kaa.base # ----------------------------------------------------------------------------- # $Id$ # # ----------------------------------------------------------------------------- # C...
Python
0.000001
@@ -1226,41 +1226,8 @@ rts%0A -from distutils.core import setup%0A impo @@ -1475,16 +1475,23 @@ xtension +, setup %0A%0Aext = @@ -1548,26 +1548,16 @@ ule.c'%5D) -.convert() %0Aextensi @@ -1723,26 +1723,16 @@ bjectrow -.convert() )%0Aelse:%0A @@ -2360,26 +2360,16 @@ tify_ext -.convert() )%0A%0Aelse: @@ -2452,...
07bb5d08e639e634df30c0b0feaf13423945d2bd
Update version
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 # # This file is part of ckanext-nhm # Created by the Natural History Museum in London, UK from collections import OrderedDict from setuptools import find_packages, setup __version__ = '3.6.1' with open('README.md', 'r') as f: __long_description__ = f.read() def github(n...
Python
0
@@ -226,16 +226,18 @@ = '3.6.1 +.1 '%0A%0Awith
b1742f04c0d3c39e5fa7faa2606f46561a82fad7
Add requirements to setup.py
setup.py
setup.py
#!/usr/bin/env python2 from distutils.core import setup setup(name='visram', version='0.1.0', description='Graphical RAM/CPU Visualizer', license='MIT', author='Matthew Pfeiffer', author_email='spferical@gmail.com', url='http://github.com/Spferical/visram', packages=['visram'...
Python
0
@@ -327,24 +327,85 @@ ram.test'%5D,%0A + install_requires=%5B'wxPython', 'matplotlib', 'psutil'%5D,%0A script
9c5b61c7ac246db59436e0faf667e20d945244e9
Update Development Status
setup.py
setup.py
from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() setup( name='singleurlcrud', description='Django CRUD, implemented using a single view and consequently a single URL.', long_description=readme, version='0.13', author='Hari Mahadevan...
Python
0
@@ -649,16 +649,15 @@ :: -3 - Alph +4 - Bet a',%0A
aeb487b3d93618eeff11935a1df88340646207af
Set setup.py version to latest dev release (1.7dev4)
setup.py
setup.py
#!/usr/bin/env python import sys, os try: from setuptools import setup except ImportError: from distutils.core import setup setup_args = {} install_requires = ['param>=1.3.2', 'numpy>=1.0'] extras_require={} # Notebook dependencies of IPython 3 extras_require['notebook-dependencies'] = ['ipython', 'pyzmq', ...
Python
0
@@ -1060,11 +1060,13 @@ =%221. -6.2 +7dev4 %22,%0A
8ddea9ae48467c830693e3b47b4faa1022c10b5f
fix csv write unicode bug (#199)
Lagerregal/utils.py
Lagerregal/utils.py
from __future__ import unicode_literals import csv, codecs, cStringIO import uuid from datetime import date, timedelta from django.conf import settings from django.test.runner import DiscoverRunner class PaginationMixin(): def get_paginate_by(self, queryset): if self.request.user.pagelength == None: ...
Python
0
@@ -681,16 +681,186 @@ ingIO()%0A + if %22delimiter%22 in kwds:%0A kwds%5B%22delimiter%22%5D=str(kwds%5B%22delimiter%22%5D)%0A if %22quotechar%22 in kwds:%0A kwds%5B%22quotechar%22%5D=str(kwds%5B%22quotechar%22%5D)%0A @@ -919,16 +919,17 @@ , **kwds + )%0A
6267967a01875b9d600346b0f5cc18de0b9603d6
Version 0.2.
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-urldecorators', version='0.1', description='Django-urldecorators is a reusable Django application which allows apply ' 'view decorators and middleware components depending on requested url.', author='Miloslav Pojman', ...
Python
0
@@ -36,16 +36,76 @@ packages +%0A%0AVERSION = (0, 2)%0AVERSION_STR = %22.%22.join(map(str, VERSION)) %0A %0Asetup @@ -155,13 +155,19 @@ ion= -'0.1' +VERSION_STR ,%0A
b96a5f4bb4c61a272dfd9d7a090b10245535ebbe
Fix find_packages() for python3
setup.py
setup.py
from setuptools import find_packages, setup setup( name = 'garage', description = 'My personal python modules', license = 'MIT', packages = find_packages(include=['garage', 'garage.*']), install_requires = [ 'lxml', 'requests', 'startup', ], )
Python
0.998001
@@ -169,38 +169,8 @@ ges( -include=%5B'garage', 'garage.*'%5D ),%0A
646adedf91ed4b939f95418e5d362f6ad0906d7d
Add setup_requires
setup.py
setup.py
import ast import sys from setuptools import find_packages, setup def readme(): try: with open('README.rst') as f: return f.read() except (IOError, OSError): return def get_version(): filename = 'nirum/__init__.py' version = None with open(filename, 'r') as f: ...
Python
0.000001
@@ -603,16 +603,56 @@ ion%5D)%0A%0A%0A +setup_requires = %5B'setuptools %3E= 17.1'%5D%0A service_ @@ -773,36 +773,8 @@ = %5B%0A - 'setuptools %3E= 25.2.0',%0A @@ -1402,24 +1402,59 @@ l_requires,%0A + setup_requires=setup_requires,%0A extras_r
d5a559c0771b21cea96ecabd6db2bcd8d3936a98
Bump pytest from 6.2.3 to 6.2.4
setup.py
setup.py
import re from setuptools import setup, find_packages # take the version with open("indexdigest/__init__.py", "r") as fh: # e.g. VERSION = '1.5.0' last_line = fh.readlines()[-1] VERSION = re.search(r'[\d.]+', last_line).group(0) # @see https://packaging.python.org/tutorials/packaging-projects/#creating-se...
Python
0.000011
@@ -1938,17 +1938,17 @@ st==6.2. -3 +4 ',%0A
c7a90821c186c28e808cc38bfaa9bee908dd20f2
Set version 0.1.2 to push latest updates to PYPI
setup.py
setup.py
# Copyright (c) 2015. Librato, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions a...
Python
0
@@ -1635,17 +1635,17 @@ on=%220.1. -1 +2 %22,%0A d
12695de726b1d1c81257a50ec8e3896ee4c9a737
bump version; bump requests
setup.py
setup.py
from setuptools import setup, find_packages setup( name="xcloud", version="0.0.3", install_requires=[ 'PyYaml', 'jinja2', 'glob2', 'python-keystoneclient==3.10.0', 'python-neutronclient==6.2.0', 'python-novaclient==7.1.0', 'requests==2.14.2', ...
Python
0.000001
@@ -81,17 +81,17 @@ on=%220.0. -3 +4 %22,%0A i @@ -298,16 +298,16 @@ ests -= +%3E =2.1 -4.2 +9.1 ',%0A
370f882b7df1112c09de39ac218396d9d88bab0d
version 0.2.1 updated to PyPI.repo version changed to 0.2.2
setup.py
setup.py
import sys from setuptools import setup, find_packages def readme(): try: with open('README.rst') as f: return f.read() except BaseException: pass setup( name='termicoder', version='0.2.1', url='https://github.com/diveshuttam/termicoder', author='Divesh Uttamchand...
Python
0
@@ -231,9 +231,9 @@ 0.2. -1 +2 ',%0A
e165a146805e01fbe4a9f91686c27939bb6abdf0
update dependency
setup.py
setup.py
from setuptools import setup install_requires = [ 'jsonschema>=3.0.1', 'networkx>=2.3', 'jsonpath-rw>=1.4.0', 'requests>=2.21.0', 'grequests>=0.4.0', 'graphviz>=0.11.1' ] setup( name="biothings_explorer", version="0.0.1", author="Jiwen Xin, Chunlei Wu", author_email="cwu@scri...
Python
0.000001
@@ -152,46 +152,44 @@ 'gr -equests%3E=0.4.0',%0A 'graphviz%3E=0.11.1 +aphviz%3E=0.11.1',%0A 'aiohttp%3E=3.5.4 '%0A%5D%0A
c8ea59db22758eca775756810c0a39bc690d67a1
Bump version
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages # ---------------------------------------------------------------------------- # Building # # Create source distribution: # ./setup.py sdist # # # Create binary distribution (non-univeral, python 3 only): # ./setup.py bdist_wheel --python-tag=...
Python
0
@@ -528,17 +528,17 @@ on='0.3. -2 +3 '%0A%0A# dev
bc88bbd68d531b89bf692c5e7736c0022a7158c5
use regex to extract package name
setup.py
setup.py
import os import runpy from itertools import chain from setuptools import find_packages, setup BASE_DIR = os.path.dirname(os.path.abspath(__file__)) OPTIONAL_DEPENDENCIES = ("autograd", "tensorflow", "theano") def parse_requirements_file(filename): with open(filename) as f: return f.read().splitlines()...
Python
0
@@ -3,16 +3,26 @@ port os%0A +import re%0A import r @@ -26,16 +26,16 @@ t runpy%0A - from ite @@ -302,16 +302,42 @@ return +%5Bline.strip() for line in f.read() @@ -349,16 +349,17 @@ tlines() +%5D %0A%0A%0Aif __ @@ -578,12 +578,8 @@ ate -out hard @@ -626,14 +626,8 @@ any( -(d in requ @@ -637,14 +637,7...
7a840f58ee083aa5e23ac324beace4b4ad2335ca
bump to v30.0.1 so we can use semver on pypi
setup.py
setup.py
import os from setuptools import setup files = ["*.css", os.path.join("templates", "*.html")] setup( name="junit2html", version="2.0.1", description="Generate HTML reports from Junit results", author="Ian Norton", author_email="inorton@gmail.com", url="https://gitlab.com/inorton/jun...
Python
0
@@ -143,17 +143,18 @@ ersion=%22 -2 +30 .0.1%22,%0A
6a16baa99d7a23271367b233b514e02721e63e1c
Add requests to dependencies
setup.py
setup.py
from setuptools import setup, find_packages setup(name='rnaseq-lib', version='1.0a6', description='', url='http://github.com/jvivian/rnaseq-lib', author='John Vivian', author_email='jtvivian@gmail.com', license='MIT', package_dir={'': 'src'}, packages=find_packages('src'...
Python
0.000001
@@ -477,11 +477,47 @@ seaborn' +,%0A 'requests' %5D)%0A
5cac38046b708ce83f8dfe7081941c47afed453d
Add gmuffin entry point
setup.py
setup.py
#!/usr/bin/env python import re from os import path as op from setuptools import setup, find_packages def _read(fname): try: return open(op.join(op.dirname(__file__), fname)).read() except IOError: return '' _meta = _read('muffin/__init__.py') _license = re.search(r'^__license__\s*=\s*"(.*)...
Python
0
@@ -1710,21 +1710,8 @@ ': %5B -%0A 'muf @@ -1737,16 +1737,17 @@ .pytest' +%5D ,%0A @@ -1748,17 +1748,64 @@ -%5D +'console_scripts': %5B'gmuffin = muffin.app:run'%5D, %0A %7D,%0A
023501d5b6c3355672d7227a7dc30e7decd5688f
Bump version
setup.py
setup.py
from distutils.core import setup setup(name='adyen', version='0.1', description='Python library for the Adyen payment provider', license="MIT", author='Markus Bertheau', author_email='mbertheau@gmail.com', long_description=open('README.md').read(), packages=['adyen', 'django_a...
Python
0
@@ -65,16 +65,18 @@ ion='0.1 +.1 ',%0A
73114498b9c54739812827c89f639828333ad723
Fix cross-platform install bug.
setup.py
setup.py
import os from setuptools import setup, find_packages def file_read(filename): filepath = os.path.join(os.path.dirname(__file__), filename) with open(filepath) as flo: return flo.read() __version__ = file_read('staticmodel/VERSION.txt').strip() setup( name="staticmodel", version=__version...
Python
0
@@ -224,16 +224,29 @@ le_read( +os.path.join( 'staticm @@ -249,17 +249,20 @@ ticmodel -/ +', ' VERSION. @@ -266,16 +266,17 @@ ON.txt') +) .strip()
461049fa94b965e1cf54cb86434a45f77f696918
update setup.py
setup.py
setup.py
# -*- coding: utf-8 -*- import sys import os from distutils.core import setup from setuptools import find_packages ######### # settings ######### project_var_name = "pysqllike" sversion = "0.1" versionPython = "%s.%s" % (sys.version_info.major, sys.version_info.minor) path = "Lib/site-packages/" + project_var_name re...
Python
0.000001
@@ -1303,32 +1303,68 @@ n sys.argv or %5C%0A + %22build_ext%22 in sys.argv or %5C%0A %22bdist_wh
b1ee098ed3f205923efcae2189ebfb53d3f7b3e0
check status codes instead of error message
plugins/weather.py
plugins/weather.py
import logging log = logging.getLogger(__name__) import urllib import json import ircbot.plugin import socket def make_http_request(url): return urllib.request.urlopen(url, timeout=2).read().decode('utf-8') class WeatherPlugin(ircbot.plugin.Plugin): @ircbot.plugin.command('weather') def weather(self, cmd): if...
Python
0
@@ -665,21 +665,26 @@ sponse)%0A -%0A %09%09 -if +status = int(dat @@ -696,71 +696,33 @@ d'%5D) - != 200:%0A%09%09%09if 'Error: Not found city' in data%5B'message'%5D +%0A%0A%09%09if status == 404 :%0A%09%09%09 -%09 retu @@ -748,16 +748,37 @@ found'%0A +%09%09elif status != 200%0A %09%09%09retur
8c8e3553008e864c6587098a0007064aba00ffab
Update version
setup.py
setup.py
"""This file is part of DING0, the DIstribution Network GeneratOr. DING0 is a tool to generate synthetic medium and low voltage power distribution grids based on open data. It is developed in the project open_eGo: https://openegoproject.wordpress.com DING0 lives at github: https://github.com/openego/ding0/ The docume...
Python
0
@@ -701,17 +701,20 @@ n='v0.1. -5 +6dev ',%0A
a6dc2ce5dea3d216dab1c94138904762290495d9
Remove extraneous entry points
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os import sys # Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml) if sys.platform == 'darwin': os.environ['C_INCLU...
Python
0.000016
@@ -786,268 +786,8 @@ (),%0A - entry_points = %7B%0A 'console_scripts' : %5B%0A 'pycc=scripts.pycc:entry',%0A 'control_cc=scripts.control_cc:main',%0A 'generate_interfaces=scripts.generate_interfaces:main'%0A %5D%0A %7D,%0A
d34b28c3d5067f26c86d588a3a80304e7fcb8992
Remove the lib/index.js js target for now
setup.py
setup.py
import os import setuptools from jupyter_packaging import combine_commands from jupyter_packaging import create_cmdclass from jupyter_packaging import ensure_targets from jupyter_packaging import install_npm from jupyter_packaging import skip_if_exists # The directory containing this file HERE = os.path.abspath(os.pa...
Python
0
@@ -688,60 +688,8 @@ = %5B -%0A os.path.join(src_path, %22lib%22, %22index.js%22),%0A os.p @@ -722,18 +722,16 @@ e.json%22) -,%0A %5D%0A%0Apacka
965af6bf85f8a65831fd6729deecf1cb7bd7322f
Version bump 3.7.0
setup.py
setup.py
from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'DESCRIPTION.md'), encoding='utf-8') as f: long_description = f.read() setup( name='mangopaysdk', version='3.6.0', description='A client librar...
Python
0
@@ -279,9 +279,10 @@ ='3. -6 +7V .0',
230162033388f64e7b2c27b7df8ade4f72b743c4
Bump version
setup.py
setup.py
import sys from setuptools import setup from setuptools.command.test import test as TestCommand # ref: https://tox.readthedocs.org/en/latest/example/basic.html#integration-with-setuptools-distribute-test-commands class Tox(TestCommand): user_options = [('tox-args=', 'a', "Arguments to pass to tox")] def ini...
Python
0
@@ -1086,17 +1086,17 @@ on='0.0. -2 +3 ',%0A p
0891664b3d23b31e855eb48d4fea1ac436190e82
Read long description from README.rst
setup.py
setup.py
#!/usr/bin/env python3 import sys try: from setuptools import setup, Command except ImportError: from distutils.core import setup, Command from markups import __version__ as version long_description = \ """This module provides a wrapper around the various text markup languages, such as Markdown_ and reStructuredTex...
Python
0
@@ -182,803 +182,153 @@ ion%0A -%0Along_description = %5C%0A%22%22%22This module provides a wrapper around the various text markup languages,%0Asuch as Markdown_ and reStructuredText_ (these two are supported by default).%0A%0AUsage example:%0A%0A%3E%3E%3E markup = markups.get_markup_for_file_ +from os.path import dir...
d46d526f4212cfdd06c398a4bdcffa0c7611a666
Version bump
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup # Work around mbcs bug in distutils. # http://bugs.python.org/issue10945 import codecs try: codecs.lookup('mbcs') except LookupError: ascii = codecs.lookup('ascii') codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) VERSION = '0.1....
Python
0.000001
@@ -315,16 +315,21 @@ '0.1.11 +.beta '%0A%0Asetup
5a70307744d6f33384d4184ebb08f928766247e7
Increment version to 3.1
setup.py
setup.py
from setuptools import setup description = """ Full featured redis cache backend for Django. """ setup( name = "django-redis", url = "https://github.com/niwibe/django-redis", author = "Andrei Antoukh", author_email = "niwi@niwi.be", version='3.0', packages = [ "redis_cache", "r...
Python
0.999974
@@ -259,17 +259,17 @@ sion='3. -0 +1 ',%0A p
357a54f6358dc440ad61ff5c507981d9a79f953c
Add hook for installing image package.
setup.py
setup.py
import sys import os from setuptools import setup long_description = open('README.rst').read() classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Pytho...
Python
0
@@ -1278,16 +1278,73 @@ =2.2.0'%5D +,%0A 'image':%5B'powershift-image%3E=1.0.3'%5D %7D,%0A)%0A%0Ase
c42be2c82a07b42127f51e2579b595b09e1cacc4
Version bump
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from os.path import join, dirname from setuptools import setup, find_packages setup( name='django-ripple_api', version='0.0.42', packages=find_packages(), requires=['python (>= 2.7)', 'requests', 'django_model_utils'], install_requires=['requests<2.3.0...
Python
0.000001
@@ -174,17 +174,17 @@ n='0.0.4 -2 +3 ',%0A p
8cdafd66bb59895d24681a79765d7d60006bc4b4
remove pip session from setup (#493)
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2017 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 req...
Python
0
@@ -827,56 +827,8 @@ 10%0A - from pip._internal.download import PipSession%0A fr @@ -918,46 +918,8 @@ 0.3%0A - from pip.download import PipSession%0A fr @@ -2336,20 +2336,13 @@ ion= -PipSession() +False )%0A
6f7003f39acb80d375010acebeb2840e1d83a7d7
bump to version 0.7.3
setup.py
setup.py
from setuptools import setup setup( name='slothauth', packages=['slothauth'], install_requires=['djangorestframework>=3.3.3', ], version='0.7.2', description='A Python Django package for user accounts and authentication.', author='Chris Del Guercio', author_email='cdelguercio@gmail.com', url='https://gi...
Python
0
@@ -139,25 +139,25 @@ ersion='0.7. -2 +3 ',%0A descrip @@ -419,9 +419,9 @@ 0.7. -2 +3 ',%0A
79c1f49f5451141192b366aaf62a27c62c9f17b9
bump setup.py
setup.py
setup.py
from setuptools import setup setup(name='peercoin_rpc', version='0.50', description='Library to communicate with peercoin daemon via JSON-RPC protocol.', url='https://github.com/peerchemist/peercoin_rpc', author='Peerchemist', author_email='peerchemist@protonmail.ch', license='MIT',...
Python
0.000001
@@ -68,17 +68,17 @@ ion='0.5 -0 +5 ',%0A @@ -762,38 +762,67 @@ 3.5' +, %0A -%5D,%0A - zip_safe=False +'Programming Language :: Python :: 3.6'%0A %5D ,%0A
033ee858b07ae7a66b59c4fcc73079cf8376ea8a
version bump
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from distutils.command.install import INSTALL_SCHEMES import os for scheme in INSTALL_SCHEMES.values(): scheme['data'] = scheme['purelib'] template_files = [] for (path, dirs, files) in os.walk('templates'): template_files.extend([os.path.join('..', path, f)...
Python
0.000001
@@ -374,9 +374,9 @@ .12. -7 +8 ',%0A
c021ca2b2faec465c70b89f774c29c58b6312112
bump version to 0.6.1
setup.py
setup.py
#!/usr/bin/evn python2 from setuptools import setup, find_packages setup(name='pprof', version='0.6', packages= find_packages(), author = "Andreas Simbuerger", author_email = "simbuerg@fim.uni-passau.de", description = "This is the experiment driver for the pprof study", license = "...
Python
0.000004
@@ -99,16 +99,18 @@ ion='0.6 +.1 ',%0A
c967bea5399c87b006ae5f057f8b78175e574de5
Add 'install_requires'
setup.py
setup.py
from setuptools import setup # Package metadata metadata = {} with open('plasmapy/_metadata.py', 'r') as metadata_file: exec(metadata_file.read(), metadata) # Requirements with open('requirements/base.txt', 'r') as req_file: requirements = req_file.read().splitlines() setup(name=metadata['name'], vers...
Python
0.000004
@@ -422,16 +422,53 @@ ements,%0A + install_requires=requirements,%0A pr
19752f793b82ce4af07d798cdbd781629fa7d887
fix development status value
setup.py
setup.py
from setuptools import setup setup( zip_safe=True, name='desafe', version='0.0.4', author='pjon', py_modules=['desafe'], description='An utility to decrypt Safe in Cloud password files', license='LICENSE', install_requires=[ "pycrypto", "xmltodict", "passlib", ...
Python
0
@@ -484,17 +484,17 @@ atus :: -4 +3 - Alpha
31aa81628e8161f41fe487f43ea45aa5364b7fd9
fix spelling error in setup.py
setup.py
setup.py
# # to build the distrubution in dist/cloudfeaster-*.*.*.tar.gz # and cloudfeaster-*.*.*-py2-none-any.whl # # >git clone https://github.com/simonsdave/cloudfeaster.git # >cd cloudfeaster # >source cfg4dev # >python setup.py bdist_wheel sdist --formats=gztar # # update pypitest with both meta data and source dis...
Python
0.000034
@@ -15,17 +15,17 @@ he distr -u +i bution i
075488b6f2b33c211b734dc08414d45cb35c4e68
Bump version to prepare for next release.
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages # Match releases to redis-py versions __version__ = '2.9.0.11' # Jenkins will replace __build__ with a unique value. __build__ = '' setup(name='mockredispy', version=__version__ + __build__, description='Mock for redis-py', url='htt...
Python
0
@@ -121,17 +121,17 @@ '2.9.0.1 -1 +2 '%0A%0A# Jen
4bacbaeb899207115c9b2f4655051ac5121c8ad0
Version bump
setup.py
setup.py
from setuptools import setup setup(name='html_telegraph_poster', version='0.0.19', description='Posts your html to telegra.ph blogging service', keywords='telegra.ph post html telegram', url='https://github.com/mercuree/html-telegraph-poster', author='Garry G', author_email='mercure...
Python
0.000001
@@ -82,10 +82,10 @@ 0.0. -19 +20 ',%0A
cea141e94259e6ffdff63570b77541c5d7623056
bump minor version
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='paddingoracle', author='Marcin Wielgoszewski', author_email='marcin.wielgoszewski@gmail.com', version='0.2', url='https://github.com/mwielgoszewski/python-paddingoracle', py_modules=['pa...
Python
0
@@ -225,16 +225,18 @@ ion='0.2 +.1 ',%0A u
b2a95d7f08b6eaf0f544f50170a6213c01908369
version 1.0.0
setup.py
setup.py
# -*- coding: utf8 -*- from setuptools import setup import os README = os.path.join(os.path.dirname(__file__), 'README.md') setup( name='python-brasileirao', version='0.0.2', description='', long_description=open(README).read(), author='Anderson Lima', author_email='anderson.sl93@hotmail.com...
Python
0.000002
@@ -176,13 +176,13 @@ on=' +1. 0.0 -.2 ',%0A
6452a600b29dd191695b91d5402fdffbcc3c755e
Bump version to 0.1.0b7
setup.py
setup.py
from distutils.core import setup setup( name='schemavalidator', packages=['schemavalidator'], version='0.1.0b6', description='A local JSON schema validator based on jsonschema', author='Daan Porru (Wend)', author_email='daan@wend.nl', license='MIT', url='https://github.com/wendbv/schem...
Python
0.000001
@@ -120,9 +120,9 @@ 1.0b -6 +7 ',%0A
76f254582243dc927ca25eebf2b47702ef43167b
Fix install-time dependency on pymongo.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup from mongorm import VERSION def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() version = '.'.join(map(str, VERSION)) if __name__ == '__main__': setup( name='mongorm', versi...
Python
0
@@ -84,35 +84,27 @@ up%0A%0A -from mongorm import VERSION +VERSION = (0, 6, 5) %0A%0A%0Ad
e7ad292b2d38e33dc466fa2114018a2e04076965
Bump version to 0.7.3
setup.py
setup.py
#!/usr/bin/env python # -*- test-case-name: twistedchecker -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from setuptools import find_packages, setup with open('README.rst') as f: longDescription = f.read() setup( name='twistedchecker', description='A Twisted coding standard ...
Python
0
@@ -352,17 +352,17 @@ on='0.7. -2 +3 ',%0A a
98f60aeb3cbcf1ae241620ecfca5884483717347
Update setup.py classifiers
setup.py
setup.py
''' explicit setup ''' import versioneer from setuptools import setup, find_packages install_requires = ['versioneer', ] setup( name='explicit', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), author='Levi Noecker', author_email='levi.noecker@gmail.com', url='https://gith...
Python
0.000001
@@ -335,24 +335,83 @@ /explicit',%0A + keywords=%5B'selenium', 'explicit', 'wait', 'implicit'%5D,%0A packages @@ -618,44 +618,174 @@ ' -Operating System :: MacOS :: MacOS X +Development Status :: 1 - Planning',%0A 'Intended Audience :: Developers',%0A 'Natural Language :: English',%0A ...
b7ec7f787a052c07af18d59990e44ed9fd3a58dd
add flask_featureflags.contrib sub package in install script
setup.py
setup.py
import os from setuptools import setup from sys import argv here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.md')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() except: README = '' CHANGES = '' install_requires = ["Flask"] if "develop" in argv...
Python
0.000001
@@ -907,16 +907,21 @@ ckages=%5B +%0A 'flask_f @@ -932,16 +932,140 @@ reflags' +,%0A 'flask_featureflags.contrib',%0A 'flask_featureflags.contrib.inline',%0A 'flask_featureflags.contrib.sqlalchemy',%0A %5D,%0A ins
d1b787a08c2430ca4a9063312455ab696b7caf5c
Version 0.2.1
setup.py
setup.py
"""setup.py file.""" import uuid from setuptools import setup, find_packages from pip.req import parse_requirements __author__ = 'David Barroso <dbarrosop@dravetech.com>' install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) reqs = [str(ir.req) for ir in install_reqs] setup( name="napalm-...
Python
0.000001
@@ -338,17 +338,17 @@ on=%220.2. -0 +1 %22,%0A p
b7d082b9b8efc441eb849fd6584ecb5e72d9c8fc
remove dependency on pyqt5
setup.py
setup.py
from setuptools import setup setup( name='broadbean', version='0.9', # We might as well require what we know will work # although older numpy and matplotlib version will probably work too install_requires=['numpy>=1.12.1', 'matplotlib>=2.0.1', 'PyQt5'], ...
Python
0
@@ -283,39 +283,8 @@ 0.1' -,%0A 'PyQt5' %5D,%0A%0A
345fc7fcfea208d36c7e0647b6dccb6fe4fd160d
Bump Core dependency to v32
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" from setuptools import setup, find_packages classifiers = """\ Development Status :: 2 - Pre-Alpha License :: OSI Approved :: GNU Affero General Public License v3 Operating System...
Python
0
@@ -1620,14 +1620,14 @@ %3E=3 -1 +2 , %3C3 -2 +3 ',%0A
b1a3831de9c4d52f674cf1b1d4aed7cf74e8d4ba
Update setup.py
setup.py
setup.py
# Always prefer setuptools over distutils from setuptools import setup, find_packages here = path.abspath(path.dirname(__file__)) setup( name='hmm', version='1.0.0', description='Implementation of the Linear Sparse Version Algorithms to Hidden Markov Model', long_description= This is an implementatio...
Python
0
@@ -1,8 +1,32 @@ +#! /usr/bin/env python%0A%0A # Always
142ef9b0c2a1d7307132a32cb0803fd047af3b14
Fix invalid variable name
pokediadb/utils.py
pokediadb/utils.py
import sqlite3 def max_sql_variables(): """Get the maximum number of arguments allowed in a query by the current sqlite3 implementation. Returns: int: SQLITE_MAX_VARIABLE_NUMBER """ db = sqlite3.connect(':memory:') cur = db.cursor() cur.execute('CREATE TABLE t (test)') low, h...
Python
0.999623
@@ -666,16 +666,18 @@ ror as e +rr :%0A @@ -718,16 +718,18 @@ in str(e +rr ):%0A
a33df7cb106e0eaf8498b60d3477269f85be891b
fix setup
setup.py
setup.py
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='family', version=version, description="Easy to create your microservice based on Falcon.", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers...
Python
0.000001
@@ -342,17 +342,17 @@ oservice -, + falcon', @@ -486,16 +486,19 @@ icense=' +MIT ',%0A @@ -721,48 +721,8 @@ t',%0A - # -*- Extra requirements: -*-%0A