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 |
|---|---|---|---|---|---|---|---|
9bbad92a8aec5e52781fab42d913156c8d62a451 | Fix output | implementation/Python/lbm_simple/lbmFlowAroundCylinder.py | implementation/Python/lbm_simple/lbmFlowAroundCylinder.py | #!/usr/bin/env python3
# Copyright (C) 2015 Universite de Geneve, Switzerland
# E-mail contact: jonas.latt@unige.ch
#
# 2D flow around a cylinder
#
# Update by Adrien Python (adrien.python@gmail.com):
# Slightly modified from original to handle different ordering for v/t variables
from numpy import *
import matplotlib... | Python | 0.999999 | @@ -4683,26 +4683,10 @@
te(%22
-%5B
%7B0
-%7D, %7B1%7D, %7B2%7D%5D %7B3
:64.
@@ -4704,15 +4704,8 @@
mat(
-x,y,f,
fin%5B
|
f10dcd822f72e86d0eb0071acf7d38e81cfe32da | Add a blank line | examples/mnist/mnist.py | examples/mnist/mnist.py | import logging
import qnd
import tensorflow as tf
logging.getLogger().setLevel(logging.INFO)
qnd.add_flag("use_eval_input_fn", action="store_true")
qnd.add_flag("use_model_fn_ops", action="store_true")
def read_file(filename_queue):
_, serialized = tf.TFRecordReader().read(filename_queue)
scalar_feature ... | Python | 1 | @@ -1531,16 +1531,17 @@
etrics%0A%0A
+%0A
run = qn
|
35d6d780bddf72ab5ff216a7603bd89f980c8deb | Bump version | libgrabsite/__init__.py | libgrabsite/__init__.py | __version__ = '0.4.0'
| Python | 0 | @@ -12,11 +12,11 @@
= '0.4.
-0
+1
'%0A
|
e511da2cb7b73891f26b93e684d9fba80042f3cd | fix syntax | bin/redis_app_update.py | bin/redis_app_update.py | import json
import sys
import redis
r_server = redis.StrictRedis('127.0.0.1', db=2)
app_key = "apps"
app_info = json.loads(r_server.get(app_key))
app_name = sys.argv[1]
app_port = sys.argv[2]
app_namespace = sys.argv[3]
app_service_name = sys.argv[4]
check = False
for app in app_info:
if app["name"] == app_name:... | Python | 0.000023 | @@ -491,16 +491,17 @@
ice_name
+,
app_po
|
dcd657cb66f6d1f4df78c23bffeae01bf8a88ec3 | Revise edge case & memo return positions | alg_longest_common_subsequence.py | alg_longest_common_subsequence.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def longest_common_subsequence_recur(s1, s2, n1, n2):
"""Longest common subsequence by recursion.
Time complexity: O(2^n).
Space complexity: O(n1*n2).
"""
if n1 < 0 or n2 < 0: # Base case... | Python | 0.000002 | @@ -319,38 +319,42 @@
se.%0A
-lcs =
+return
0%0A
-el
+%0A
if s1%5Bn1%5D ==
@@ -722,25 +722,32 @@
%0A if
-M%5Bn1%5D%5Bn2%5D
+n1 %3C 0 or n2 %3C 0
:%0A
@@ -759,66 +759,63 @@
urn
-M%5Bn1%5D%5Bn2%5D%0A%0A if n1 %3C 0 or n2 %3C 0:%0A lcs = 0
+0%0A %0A if M%5Bn1%5D%5Bn2%5D:%0... |
a1b6205497ac079da24201478d76f3435857dd7b | Add a default height for the traits view | examples/world_map.py | examples/world_map.py | #!/usr/bin/env python
"""
Displays a world map with locations plotted on top. Locations are expected to
be tuples of latitude, longitude where West and South are expressed as
negative values.
- Mousewheel up and down zooms the plot in and out.
- Pressing "z" brings up the Zoom Box, and you can click-drag a rectangula... | Python | 0 | @@ -1489,16 +1489,28 @@
dth=800,
+ height=400,
show_la
|
525a14100be26a89185421657989616c3711eedc | make username/passvoid better findeable ;-) | examples/debiangraph.py | examples/debiangraph.py | #/usr/bin/env python3
"""
example to build a file with all packages known to your system for a debian jessie:
for i in $(ls /var/lib/apt/lists/*debian_dists_jessie_* |\
grep -v i386 |grep -v Release); do
cat $i >> /tmp/allpackages;
echo >> /tmp/allpackages;
done
All debian based distros have a set ... | Python | 0.000004 | @@ -946,16 +946,12 @@
me=%22
-USERNAME
+root
%22, p
@@ -963,14 +963,8 @@
rd=%22
-SECRET
%22)%0A%0A
|
47dff0bd0c7d4be641268845d70d08228a621108 | Make players moving more smoothly, add ability for recursion | Lesson5/MazeGame/Maze.py | Lesson5/MazeGame/Maze.py | import time
class Maze(object):
def __init__(self, map, mx, my):
self.map = []
self.width = 0
self.mx = mx
self.my = my
for y in range(0, len(map)):
s = map[y]
self.width = max(self.width, len(s))
ls = list(s)
if len(ls)>0:
... | Python | 0.000001 | @@ -641,336 +641,244 @@
-%0A print self.players %0A %0A def show(self):%0A brickImg = loadImage(%22Brick32.png%22);%0A okaymanImg = loadImage(%22Okay32.png%22);%0A trollmanImg = loadImage(%22Troll32.png%22);%0A chestImg = loadImage(%22Chest32.gif%22);%0A ... |
0d68fbaef300c53db407f6296c00e493e4b040bf | use xdg-email by default, fallback to xdg-open + mailto uri | plyer/platforms/linux/email.py | plyer/platforms/linux/email.py | import subprocess
from urllib import quote
from plyer.facades import Email
class LinuxEmail(Email):
def _send(self, **kwargs):
recipient = kwargs.get('recipient')
subject = kwargs.get('subject')
text = kwargs.get('text')
create_chooser = kwargs.get('create_chooser')
uri = "... | Python | 0 | @@ -322,16 +322,45 @@
ailto:%22%0A
+ args = %5B%22xdg-email%22%5D%0A
@@ -407,16 +407,53 @@
ipient)%0A
+ args += %5Bstr(recipient)%5D%0A
@@ -583,16 +583,64 @@
bject))%0A
+ args += %5B%22--subject%22, str(subject)%5D%0A
@@ -765,52 +765,318 @@
t))%0A
-%0A ... |
8178b8083e29b2f9930e8e72e9f0d80beb847ba4 | Implement file upload on server side | indico/modules/attachments/controllers.py | indico/modules/attachments/controllers.py | # This file is part of Indico.
# Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
#
# Indico 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 Software Foundation; either version 3 of the
# License, or (a... | Python | 0.000001 | @@ -785,16 +785,34 @@
rt flash
+, request, session
%0Afrom in
@@ -1064,16 +1064,117 @@
tFolder%0A
+from indico.modules.attachments.models.attachments import Attachment, AttachmentFile, AttachmentType%0A
from ind
@@ -4088,47 +4088,471 @@
-# TODO: Handle files%0A return
+for f in request.files.iterva... |
447a7c56401dce19f5bdd412e5f66ba40180b665 | refactor take_catty_corner to use parse_analysis | OnStage/computer_dais.py | OnStage/computer_dais.py | from player_chair import Player
class Computer(Player):
name = 'computer'
def choose(self, board):
options = self.get_legal_moves(board)
win_chance = self.take_win_chances(options, board)
center = self.take_the_center(options)
catty_corner = self.take_catty_corner(options, boa... | Python | 0.000018 | @@ -1129,199 +1129,137 @@
-if 0 in options:%0A return 0%0A return 8%0A elif analysis%5B7%5D == 11:%0A if 2 in options:%0A return 2%0A return 6
+return self.parse_analysis(options, 6)%0A elif analysis%5B7%5D == 1... |
f321366fdd486dd0cd49c15a5040b54e33e4aa8f | Update comment and docstring | src/permission/handlers.py | src/permission/handlers.py | # coding=utf-8
"""
"""
__author__ = 'Alisue <lambdalisue@hashnote.net>'
from permission.utils.permissions import get_app_perms
from permission.utils.permissions import get_model_perms
import collections
class PermissionHandler(object):
"""
Abstract permission handler class
"""
_includes = None
_ex... | Python | 0 | @@ -65,16 +65,53 @@
e.net%3E'%0A
+from permission.conf import settings%0A
from per
@@ -214,16 +214,76 @@
l_perms%0A
+from permission.utils.permissions import perm_to_permission%0A
import c
@@ -5836,24 +5836,237 @@
attribute.%0A%0A
+ It will raise %60%60ObjectDoesNotExist%60%60 exception when the specified%0... |
8fb201b866c0eabc99c370cf3ccc993d2de06264 | Update version 0.10.1 | src/iteration_utilities/__init__.py | src/iteration_utilities/__init__.py | # Licensed under Apache License Version 2.0 - see LICENSE
"""Utilities based on Pythons iterators and generators."""
from ._iteration_utilities import *
from ._convenience import *
from ._recipes import *
from ._additional_recipes import *
from ._classes import *
__version__ = '0.10.0'
| Python | 0.000001 | @@ -281,11 +281,11 @@
= '0.10.
-0
+1
'%0A
|
ffa551d8e4519005791f42bb2862f0411c54ced3 | Update projectfiles_unchanged script | projectfiles_unchanged.py | projectfiles_unchanged.py | # version: 2
import os
import glob
import hashlib
import sys
matches = []
exlude_dirs = set(['.git', 'docs'])
def get_subdirs(path):
return set([name for name in os.listdir(path)
if os.path.isdir(os.path.join(path, name))])
def find_in(path):
# print(path)
out = []
out += glob.glob(path + "/... | Python | 0.000001 | @@ -1,9 +1,169 @@
#
+!/usr/bin/env python3%0A#%0A# This script is used on Linux, OS X and Windows.%0A# Python 3 required.%0A# Returns 0 if project files are unchanged and 1 else.%0A#%0A# Script
version
@@ -168,9 +168,9 @@
on:
-2
+3
%0Aimp
@@ -229,16 +229,50 @@
s = %5B%5D%0A%0A
+tmp_file = %22projectfiles.md5.tmp... |
4e62d7d9514449be5afc5a27b15726a254077e89 | Remove dangling argument | MachineSettingsAction.py | MachineSettingsAction.py | from cura.MachineAction import MachineAction
import cura.Settings.CuraContainerRegistry
from UM.i18n import i18nCatalog
from UM.Settings.DefinitionContainer import DefinitionContainer
from UM.Application import Application
from PyQt5.QtCore import pyqtSlot, QObject
catalog = i18nCatalog("cura")
class MachineSetti... | Python | 0.000021 | @@ -345,18 +345,16 @@
QObject
-,
):%0A d
|
2e071c0e37fac657955de70fb7193b3e46ba2aef | Update subscribe_speakers_to_talks.py | p3/management/commands/subscribe_speakers_to_talks.py | p3/management/commands/subscribe_speakers_to_talks.py | # -*- coding: UTF-8 -*-
from django.core.management.base import BaseCommand, CommandError
from conference import models as cmodels
from hcomments import models as hmodels
class Command(BaseCommand):
def handle(self, *args, **options):
try:
conf = args[0]
except IndexError:
r... | Python | 0 | @@ -83,16 +83,63 @@
ndError%0A
+from django.contrib.auth import get_user_model%0A
from con
@@ -212,16 +212,76 @@
models%0A%0A
+info = get_user_model().objects.get(email='info@pycon.it')%0A%0A
class Co
@@ -814,8 +814,74 @@
e(t, u)%0A
+ hmodels.ThreadSubscription.objects.subscribe(t, info)%0A
|
025da327fde5b20a4f8bf8edfea6a322722a54bb | Check nodes changes before updating | polyaxon/runner/nodes/tasks.py | polyaxon/runner/nodes/tasks.py | import logging
import requests
import uuid
from django.conf import settings
from django.db.models import Count, Sum
import auditor
from clusters.models import Cluster
from event_manager.events.cluster import (
CLUSTER_NODE_CREATED,
CLUSTER_NODE_DELETED,
CLUSTER_NODE_UPDATED,
CLUSTER_RESOURCES_UPDATED... | Python | 0 | @@ -2592,24 +2592,53 @@
m(new_node)%0A
+ node_updated = False%0A
for
@@ -2680,35 +2680,146 @@
-setattr(current_node, k, v)
+if v != getattr(current_node, k):%0A setattr(current_node, k, v)%0A node_updated = True%0A if node_updated:
%0A
|
50266b417208f562e7fe430d5ab2906b56c323ca | remove alpha bleeding debug | PyTexturePacker/Utils.py | PyTexturePacker/Utils.py | # -*- coding: utf-8 -*-
"""----------------------------------------------------------------------------
Author:
Huang Quanyong (wo1fSea)
quanyongh@foxmail.com
Date:
2016/10/19
Description:
Utils.py
----------------------------------------------------------------------------"""
SUPPORTED_IMAGE_FORMAT = ... | Python | 0 | @@ -2340,27 +2340,25 @@
, pixel%5B2%5D,
-255
+0
)%0A
|
ea245f90cf0fb18cc0894d4b959ce7c3a75cf0c5 | align librispeech | SCT/benchmark_aligner.py | SCT/benchmark_aligner.py | import sys
import shutil, os
sys.path.insert(0, os.path.expanduser('~/Montreal-Forced-Aligner'))
import time
import logging
import platform
import csv
import statistics
from datetime import datetime
from aligner.command_line.train_and_align import align_corpus, align_corpus_no_dict
#corpus_dir = '/media/share/datase... | Python | 0.998401 | @@ -279,17 +279,16 @@
o_dict%0A%0A
-#
corpus_d
@@ -356,16 +356,17 @@
andard'%0A
+#
corpus_d
@@ -434,17 +434,16 @@
french'%0A
-#
dict_pat
@@ -518,16 +518,17 @@
n.txt')%0A
+#
dict_pat
@@ -640,17 +640,16 @@
.dict')%0A
-#
output_d
@@ -692,24 +692,25 @@
ibrispeech'%0A
+#
output_direc
@@ -807,27 +807,25 @@
cumen... |
b679e3b479f4889d045f56530448161523cb6290 | fix syntax issue | _doc/examples/plot_rest_api_search_images.py | _doc/examples/plot_rest_api_search_images.py | """
Search engines for images through a REST API
============================================
This example starts a :epkg:`waitress` server, creates
a :epkg:`WSGI` application based on :epkg:`falcon`
and queries the REST API. This application takes an image and
searches for similar images based on features produced
by... | Python | 0.000001 | @@ -2064,34 +2064,34 @@
t(%22Running '%7B0%7D'
-.
%22
+.
format(cmd))%0A
@@ -2183,18 +2183,18 @@
ng '%7B0%7D'
-.
%22
+.
format(c
|
843121f8c0e4c0f2a533540633c62060bb676ea1 | remove unnecessary dependency | _unittests/ut_xmlhelper/test_xml_iterator.py | _unittests/ut_xmlhelper/test_xml_iterator.py | #-*- coding: utf-8 -*-
"""
@brief test log(time=20s)
"""
import sys
import os
import unittest
try:
import src
except ImportError:
path = os.path.normpath(
os.path.abspath(
os.path.join(
os.path.split(__file__)[0],
"..",
"..")))
if p... | Python | 0.000413 | @@ -1170,407 +1170,8 @@
__%0A%0A
-try:%0A import pymyinstall as skip___%0Aexcept ImportError:%0A path = os.path.normpath(%0A os.path.abspath(%0A os.path.join(%0A os.path.split(__file__)%5B0%5D,%0A %22..%22,%0A %22..%22,%0A %22..%22,%0A... |
35c5fd2606682827e43f707400d726f84f41104a | Fix for issue 11. | abusehelper/core/opts.py | abusehelper/core/opts.py | import os
import sys
import inspect
from optparse import OptionParser
from ConfigParser import SafeConfigParser
def long_name(key):
return key.replace("_", "-").lower()
def action_and_type(default):
if isinstance(default, bool):
if default:
return "store_false", None
return "store_... | Python | 0 | @@ -2014,24 +2014,45 @@
es = dict()%0A
+ actions = dict()%0A
for key
@@ -2806,16 +2806,60 @@
%22, type)
+%0A actions%5Bkey%5D = kwargs%5B%22action%22%5D
%0A%0A
@@ -3147,21 +3147,16 @@
section
-_name
= optio
@@ -3178,18 +3178,77 @@
-if
+argv = list(argv)%0A for key in ar... |
9f4982e351e36d7f3d248e0d2fbee24617cd4509 | Fix install so organizations have vote.prohibit permissions set | adhocracy/lib/install.py | adhocracy/lib/install.py | import logging
import adhocracy.model as model
log = logging.getLogger(__name__)
def mk_group(name, code):
group = model.Group.by_code(unicode(code))
if not group:
log.debug("Creating group: %s" % name)
group = model.Group(unicode(name), unicode(code))
model.meta.Session.add(group)
... | Python | 0 | @@ -3712,32 +3712,58 @@
on.permissions =
+ organization.permission +
observer.permis
|
801ead866ea94d9b144758198f121b0a10caeb82 | Remove deprecated kwarg -Breaking change from "master" | admin/preprints/views.py | admin/preprints/views.py | from __future__ import unicode_literals
from django.views.generic import ListView, UpdateView, DeleteView
from django.core.urlresolvers import reverse_lazy
from django.contrib.auth.mixins import PermissionRequiredMixin
from django.shortcuts import redirect
from django.core.exceptions import PermissionDenied
from osf.... | Python | 0 | @@ -4209,38 +4209,16 @@
preprint
-, 'unavailable %7C spam'
)%0A
@@ -5647,30 +5647,8 @@
rint
-, 'unavailable %7C spam'
)%0A
@@ -6345,18 +6345,8 @@
rint
-, 'public'
)%0A
|
78dd9bb220a8e1a03b51b801e023e4401a351892 | Support animated pngs | gif_split/views.py | gif_split/views.py | import os
import posixpath
from cStringIO import StringIO
import logging
import requests
from PIL import Image, ImageSequence
from paste.httpheaders import CONTENT_DISPOSITION
from pyramid.response import FileIter, FileResponse
from pyramid.view import view_config
from pyramid_duh import argify
LOG = logging.getLogg... | Python | 0 | @@ -477,20 +477,8 @@
url
- is not None
:%0A
@@ -491,16 +491,21 @@
filename
+, ext
= posix
@@ -513,85 +513,273 @@
ath.
-basename(url).replace('.gif', '')%0A filename = filename + %22_sprite.gif%22
+splitext(posixpath.basename(url))%0A ext = ext.lower()%0A filename = filename + %22_sprite%22... |
eafe5c77a05d0f6d24bfb61c2be3a7d46c411b25 | add new projections. | examples/plot_tissot.py | examples/plot_tissot.py | import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap
from mpl_toolkits.basemap import __version__ as basemap_version
# Tissot's Indicatrix (http://en.wikipedia.org/wiki/Tissot's_Indicatrix).
# These diagrams illustrate the distortion inherent in all map projections.
# In confor... | Python | 0 | @@ -951,16 +951,119 @@
l')%0Am2 =
+ Basemap(llcrnrlon=-180,llcrnrlat=-80,urcrnrlon=180,urcrnrlat=80,%0A projection='mill')%0Am3 =
Basemap
@@ -1099,25 +1099,25 @@
n='ortho')%0Am
-3
+4
= Basemap(l
@@ -1141,17 +1141,17 @@
rnrlat=-
-7
+8
0,urcrnr
@@ -1168,17 +1168,17 @@
crnrlat=
-7
+8
0,%0A
@@ -... |
44db9815aeaad8b23eecebd3e761466ffdf854f4 | Normalize target dir, ensure we have target path. | scaffolder/vcs.py | scaffolder/vcs.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import traceback
import subprocess
import os
import sys
import shutil
def ensure_path(path):
pass
class VCS():
def __init__(self, url=''):
"""
https://github.com/CG-TTDET/Platform.git
git@github.com:goliatone/minions.git
https:/... | Python | 0 | @@ -115,39 +115,215 @@
il%0A%0A
+%0A
def
-ensure_path(path):%0A pass
+normalize_path(file_path, mkdir=False):%0A file_path = os.path.realpath(os.path.expanduser(file_path))%0A if mkdir and not os.path.isdir(file_path):%0A os.makedirs(file_path)%0A return file_path
%0A%0A%0Ac
@@ -1405,32 +1405,64 ... |
d00d809735210f53c3da71195107f1991814eb52 | fix minor bug most likely due to merge error | labonneboite/common/models/user_favorite_offices.py | labonneboite/common/models/user_favorite_offices.py | # coding: utf8
import datetime
from sqlalchemy import Column, ForeignKey, UniqueConstraint
from sqlalchemy import desc
from sqlalchemy import Integer, String, DateTime
from sqlalchemy.orm import relationship
from labonneboite.common.database import Base
from labonneboite.common.database import db_session
from labonn... | Python | 0.000001 | @@ -360,45 +360,8 @@
xin%0A
-from labonneboite.common import util%0A
from
|
02d6e904fe02a4c53b1878a3f6c44c074de47d79 | Add __str__ to Decorator | api/python/schwa/dr/decoration.py | api/python/schwa/dr/decoration.py | """
Utilities for managing document decoration by marking the document with the set of decorations that have been applied to it.
"""
from functools import wraps, partial
def decorator(key=None):
"""
Wraps a docrep decorator, ensuring it is only executed once per document.
Duplication is checked using the given... | Python | 0.999998 | @@ -940,16 +940,36 @@
ecorate)
+%0A self._key = key
%0A%0A @cla
@@ -1196,16 +1196,59 @@
rror()%0A%0A
+ def __str__(self):%0A return self._key%0A%0A
%0Adef req
|
53829f5a65727ba5ba0b69785bd74bf77d3e2ecf | Remove bogus shebang line. | cli/hack.py | cli/hack.py | # Copyright 2011 Digg, 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 writ... | Python | 0 | @@ -582,31 +582,8 @@
e.%0A%0A
-#!/usr/bin/env python%0A%0A
impo
|
543562d588f4aea74eacb80b404e0994e97cc7ff | Add method to convert set affine=False in all BN layers for PSPnet | ptsemseg/models/pspnet.py | ptsemseg/models/pspnet.py | import numpy as np
import torch.nn as nn
from ptsemseg import caffe_pb2
from ptsemseg.models.utils import *
class pspnet(nn.Module):
def __init__(self, n_classes=21, block_config=[3, 4, 23, 3]):
super(pspnet, self).__init__()
self.block_config = block_config
self.n_classes = n_c... | Python | 0.000012 | @@ -4217,60 +4217,486 @@
#
-TODO: Plug weights from dictionary into right places
+ Set affine=False for all batchnorm modules%0A def _no_affine_bn(module=None):%0A if isinstance(module, nn.BatchNorm2d):%0A module.affine = False%0A%0A if len(%5Bm for m in module.children()... |
c97992688641bcbf2075c9da532522f289e02c71 | Add response code reason logging | scrap/__main__.py | scrap/__main__.py | import sys, asyncio, aiohttp, async_timeout, collections, csv
from lxml import html, etree
from tld import get_tld
from urllib.parse import urlparse
USER_AGENT = 'Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1'
'''
analizar doctype html5... | Python | 0.000001 | @@ -1011,16 +1011,146 @@
us code%0A
+%09%09%09%09%09%09if response.status != 200:%0A%09%09%09%09%09%09%09print(url, 'response', response.status, ':', response.reason)%0A%09%09%09%09%09%09%09return %0A%09%09%09%09%09%09else:%0A%09
%09%09%09%09%09%09tr
@@ -1148,24 +1148,25 @@
%09%09%09%09%09%09%09try:%0A
+%09
%09%09%... |
d7e6db61a0100e69b9a18c17a906e094e91ce7b3 | fix wrong keyword param (passws) to MySQLdb.connect | database.py | database.py | """
Database Manager.
"""
import MySQLdb
import MySQLdb.cursors
class DatabaseManager(object):
def __init__(self, host, user, passwd, database, charset='utf8', large_scale=False):
"""Be careful using large_scale=True, SSDictCursor seems not reliable."""
self.conn = MySQLdb.connect(host=host, user=... | Python | 0.000026 | @@ -324,17 +324,17 @@
r, passw
-s
+d
=passwd,
|
4baba777801765b0ce9025c9ef170d3465d874fc | Add state class measurement to SwitchBot signal strength sensors (#79886) | homeassistant/components/switchbot/sensor.py | homeassistant/components/switchbot/sensor.py | """Support for SwitchBot sensors."""
from __future__ import annotations
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
SensorEntityDescription,
SensorStateClass,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (
PERCENTAGE,
... | Python | 0 | @@ -911,32 +911,82 @@
IGNAL_STRENGTH,%0A
+ state_class=SensorStateClass.MEASUREMENT,%0A
entity_r
@@ -1260,32 +1260,82 @@
IGNAL_STRENGTH,%0A
+ state_class=SensorStateClass.MEASUREMENT,%0A
entity_r
|
63d7b33ece78303ff66b159c5db7be373e69dfea | Fix comment | hoomd/md/pytest/test_lj_equation_of_state.py | hoomd/md/pytest/test_lj_equation_of_state.py | import hoomd
import pytest
import hoomd.conftest
import numpy
import math
# Selected state points in the high density fluid. Both of these state points
# are in single phase regions of the phase diagram and suitable for NVT/NPT and
# MC cross validation.
# T_star, rho_star, mean_U_ref, sigma_U_ref, mean_P_ref, sigma_P... | Python | 0 | @@ -90,17 +90,19 @@
te point
-s
+(s)
in the
@@ -125,17 +125,9 @@
id.
-Both of t
+T
hese
@@ -142,18 +142,20 @@
oint
-s%0A#
+(s)
are in
+%0A#
sin
@@ -225,13 +225,13 @@
and
-%0A#
MC
+%0A#
cro
|
73ff711881475b8e18b7a569e9b6fc3e024b0119 | Update design-twitter.py | Python/design-twitter.py | Python/design-twitter.py | # Time: O(klogu), k is most recently number of tweets,
# u is the number of the user's following.
# Space: O(t + f), t is the total number of tweets,
# f is the total number of followings.
# Design a simplified version of Twitter where users can post tweets,
# follow/unfollow another... | Python | 0 | @@ -2632,38 +2632,8 @@
d, 0
-, len(self.__messages%5BuserId%5D)
))%0A
@@ -2796,35 +2796,8 @@
d, 0
-, len(self.__messages%5Buid%5D)
))%0A%0A
@@ -2922,13 +2922,8 @@
curr
-, end
= h
@@ -2995,19 +2995,41 @@
nxt !=
+l
en
-d
+(self.__messages%5Buid%5D)
:%0A
@@ -3112,35 +3112,8 @@
nxt
-, len(self.__messag... |
2e164c5fe2e3a208dbdcbc51f287a9e5b7cc34a8 | Add package_data entry in setup.py | setup.py | setup.py | from setuptools import setup
from klink import __version__
setup(
name='klink',
version=__version__,
url='https://github.com/pmorissette/klink',
description='Klink is a simple and clean theme for creating Sphinx docs, inspired by jrnl',
license='MIT',
author='Philippe Morissette',
author_em... | Python | 0.000001 | @@ -372,11 +372,156 @@
'klink'%5D
+,%0A package_data = %7B'klink': %5B%0A 'theme.conf',%0A 'layout.html',%0A 'static/css/klink.css',%0A 'static/fonts/*.*',%0A %5D%7D,
%0A)%0A
|
82e735dabd789139ded53bcb4b1dd5af1065d7ef | fix a module name in 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 = "pyrsslocal"
sversion = "0.8"
versionPython = "%s.%s" % (sys.version_info.major, sys.version_info.minor)
path = "Lib/site-packages/" + project_var_name
r... | Python | 0.00002 | @@ -4289,16 +4289,17 @@
, %22pyens
+a
e%22%5D,%0A
|
64c50a273c3e113affdb700f137bda78fd1a684d | update examples/progressbar.by | examples/progressbar.py | examples/progressbar.py | #!/usr/bin/env python
# Tai Sakuma <sakuma@fnal.gov>
from AlphaTwirl.ProgressBar import ProgressBar, MPProgressMonitor, ProgressReport
from AlphaTwirl.EventReader import MPEventLoopRunner
import time, random
##____________________________________________________________________________||
class EventLoop(object):
d... | Python | 0 | @@ -93,16 +93,30 @@
ressBar,
+ ProgressBar2,
MPProgr
@@ -142,16 +142,16 @@
sReport%0A
-
from Alp
@@ -487,16 +487,57 @@
(5, 50)%0A
+ time.sleep(random.randint(0, 3))%0A
@@ -1012,17 +1012,16 @@
op(%22loop
-1
%22))%0Arunn
@@ -1042,13 +1042,20 @@
op(%22
+another
loop
-2
%22))%0A
@@ -1080,13 +10... |
f8bd4073beb50f9fb750170e79804d13ea50db0b | update example | examples/raster_mesh.py | examples/raster_mesh.py | from bluesky.examples import Mover, SynGauss, Syn2DGauss
import bluesky.simple_scans as bss
import bluesky.spec_api as bsa
import bluesky.callbacks
from bluesky.standard_config import gs
import bluesky.qt_kicker
# motors
theta = Mover('theta', ['theta'])
gamma = Mover('gamma', ['gamma'])
# synthetic detectors coupled... | Python | 0 | @@ -69,25 +69,18 @@
sky.
-simple_sc
+pl
ans as b
ss%0Ai
@@ -75,18 +75,17 @@
ans as b
-ss
+p
%0Aimport
@@ -196,16 +196,54 @@
t_kicker
+%0Abluesky.qt_kicker.install_qt_kicker()
%0A%0A# moto
@@ -797,17 +797,16 @@
allback%0A
-#
cb = blu
@@ -842,20 +842,16 @@
teps
- + 1
, xsteps
+ 1
@@ -850,16 +850,11 @@
teps... |
2fe555e71d0b428a85c63c39dcfeecb30420f9b1 | Handle SIGTERM by raising SystemExit | src/main/python/afp_alppaca/main.py | src/main/python/afp_alppaca/main.py | from __future__ import print_function, absolute_import, unicode_literals, division
import argparse
import signal
import sys
import threading
from afp_alppaca.assume_role import AssumedRoleCredentialsProvider
from afp_alppaca.ims_interface import IMSCredentialsProvider
from afp_alppaca.scheduler import Scheduler
from ... | Python | 0 | @@ -475,16 +475,91 @@
aemon%0A%0A%0A
+def sigterm_handler(*args):%0A raise SystemExit(%22SIGTERM was received%22)%0A%0A%0A
class Al
@@ -690,106 +690,37 @@
ERM
-the same way SIGINT is handled, i.e. throw a%0A # KeyboardInterrupt exception. This
+by raising SystemExit to
make
-s
the
@@ -741,69 +741,... |
9f8a9f1ac7d283decc57e7779efeb8cb351cb646 | handle case of no records to save | put_base_records_in_elastic.py | put_base_records_in_elastic.py | import boto
import os
from time import sleep
from time import time
from util import elapsed
import zlib
import re
import json
import argparse
from elasticsearch import Elasticsearch, RequestsHttpConnection, serializer, compat, exceptions
# from https://github.com/elastic/elasticsearch-py/issues/374
# to work around un... | Python | 0 | @@ -1783,24 +1783,26 @@
%0A
+ #
print recor
@@ -4764,16 +4764,48 @@
time()%0A
+ if records_to_save:%0A
|
4fb812463bd9af16fbf70442d1626e7f275a8f0f | add BADCOLUMN to fiberbitmasking | py/desispec/fiberbitmasking.py | py/desispec/fiberbitmasking.py | """
desispec.fiberbitmasking
==============
Functions to properly take FIBERSTATUS into account in the variances for data reduction
"""
from __future__ import absolute_import, division
import numpy as np
from astropy.table import Table
from desiutil.log import get_logger
from desispec.maskbits import fibermask as fm... | Python | 0.000008 | @@ -4690,32 +4690,49 @@
%7C %5C%0A
+ fmsk.BADCOLUMN %7C
fmsk.MANYBADCOL
@@ -5401,16 +5401,30 @@
SITION %7C
+ %5C%0A
fmsk.BA
@@ -5426,32 +5426,49 @@
sk.BADPOSITION %7C
+ fmsk.BADCOLUMN %7C
%5C%0A f
|
5da88c648e338d21b782a8a36a69e873da6c04ae | use --http-socket rather than --http for uwsgi | gnocchi/cli/api.py | gnocchi/cli/api.py | # Copyright (c) 2013 Mirantis Inc.
# Copyright (c) 2015-2017 Red Hat
#
# 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 | @@ -2575,78 +2575,19 @@
%22--
-if-not-plugin%22, %22http%22, %22--plugin%22, %22http%22, %22--endif%22,%0A %22--http
+http-socket
%22, %22
@@ -2624,16 +2624,23 @@
i.host,%0A
+
|
f8bb295bf1d10410d36a8a8880ff96303bbda451 | Update announcements.py | announcements.py | announcements.py | import sys
import icalendar
import requests
import pytz
from datetime import datetime, timedelta
from libs import post_text
from icalendar import Calendar
from database import find_bot_nname
import re
r = requests.get(sys.argv[2])
icsData = r.text
cal = Calendar.from_ical(icsData)
for evt in cal.subcomponents:
p... | Python | 0 | @@ -358,16 +358,17 @@
mponents
+)
%0A sta
|
d35c6124c60ce0ef7edd7291db5787f18b9e4374 | Fix hostname logging for connection created log in pool_logger | pycassa/logging/pool_logger.py | pycassa/logging/pool_logger.py | import pycassa_logger
import logging
class PoolLogger(object):
def __init__(self):
self.root_logger = pycassa_logger.PycassaLogger()
self.logger = self.root_logger.add_child_logger('pool', self.name_changed)
def name_changed(self, new_logger):
self.logger = new_logger
def connect... | Python | 0.000001 | @@ -618,11 +618,8 @@
rver
-%5B0%5D
, di
|
37bd5193dd25c3cd64d956d967454f3a781a979c | Update chainer/training/extensions/log_report.py | chainer/training/extensions/log_report.py | chainer/training/extensions/log_report.py | import json
import os
import shutil
import warnings
import six
from chainer import reporter
from chainer import serializer as serializer_module
from chainer.training import extension
from chainer.training import trigger as trigger_module
from chainer import utils
from chainer.utils import argument
class LogReport(e... | Python | 0 | @@ -2651,16 +2651,21 @@
you can
+also
specify%0A
|
d7a4948b8ee015ad918dac473114b728c65418f8 | add total number of assignments to progress API (AA-816) | lms/djangoapps/course_home_api/progress/v1/serializers.py | lms/djangoapps/course_home_api/progress/v1/serializers.py | """
Progress Tab Serializers
"""
from rest_framework import serializers
from rest_framework.reverse import reverse
from lms.djangoapps.course_home_api.mixins import VerifiedModeSerializerMixin
class CourseGradeSerializer(serializers.Serializer):
"""
Serializer for course grade
"""
letter_grade = seria... | Python | 0 | @@ -2032,24 +2032,81 @@
op_count'%5D,%0A
+ 'num_total': assignment_policy%5B'min_count'%5D,%0A
|
c5e13436d7d453bd851e39591f82e2ef0d740d92 | Fix typo | pyfarm/scheduler/celery_app.py | pyfarm/scheduler/celery_app.py | # No shebang line, this module is meant to be imported
#
# Copyright 2014 Ambient Entertainment GmbH & Co. KG
#
# 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/lice... | Python | 0.999999 | @@ -1097,17 +1097,16 @@
INTERVAL
-E
%22, 30))%7D
|
f755f9857020cfceaeb3cf9607e96cef66ccb048 | update dev version after 0.21.1 tag [skip ci] | py/desitarget/_version.py | py/desitarget/_version.py | __version__ = '0.21.1'
| Python | 0 | @@ -14,10 +14,18 @@
'0.21.1
+.dev2037
'%0A
|
47527996fe967d8ef713ff8814f71d49ab539fd8 | update version | grizli/version.py | grizli/version.py | # git describe --tags
__version__ = "0.6.0-86-g140db75"
| Python | 0 | @@ -40,17 +40,18 @@
6.0-
-86-g140db75
+109-g647e4b4
%22%0A
|
b493082352de19ed8d3d52c8eda838064957bbc2 | bump version to 1.2-BETA2 | libnamebench/version.py | libnamebench/version.py | VERSION = '1.2-BETA1'
| Python | 0 | @@ -12,12 +12,12 @@
1.2-BETA
-1
+2
'%0A%0A
|
19cfe70c69b026429454fb8361ec3e8d6f1a0505 | add show/hide requested signals | pyqode/core/widgets/preview.py | pyqode/core/widgets/preview.py | """
This module contains a widget that can show the html preview of an
editor.
"""
from weakref import proxy
from pyqode.qt import QtCore, QtWebWidgets
from pyqode.core.api import DelayJobRunner
class HtmlPreviewWidget(QtWebWidgets.QWebView):
def __init__(self, parent=None):
super(HtmlPreviewWidget, self)... | Python | 0 | @@ -238,16 +238,91 @@
bView):%0A
+ hide_requested = QtCore.Signal()%0A show_requested = QtCore.Signal()%0A%0A
def
@@ -880,24 +880,147 @@
f, editor):%0A
+ url = QtCore.QUrl('')%0A if editor is not None:%0A url = QtCore.QUrl.fromLocalFile(editor.file.path)%0A
try:
@@ -1053,... |
d428bb582c6fe71e39bdedfbed1b355421f48139 | Fix that | src/mysql_proto/com/stmt/prepare.py | src/mysql_proto/com/stmt/prepare.py | #!/usr/bin/env python
# coding=utf-8
from packet import Packet
from proto import Proto
from flags import Flags
class Prepare(Packet):
query = ""
def getPayload(self):
payload = bytearray()
payload.extend(Proto.build_byte(Flags.COM_STMT_PREPARE))
payload.extend(Proto.build... | Python | 0.999999 | @@ -440,18 +440,15 @@
j =
-Statistics
+Prepare
()%0A
|
76611b7e6e97089b93626b472f91c04f16644034 | Fix up some comments | channels/management/commands/runserver.py | channels/management/commands/runserver.py | import threading
from django.core.management.commands.runserver import \
Command as RunserverCommand
from channels import DEFAULT_CHANNEL_LAYER, channel_layers
from channels.handler import ViewConsumer
from channels.log import setup_logger
from channels.worker import Worker
class Command(RunserverCommand):
... | Python | 0.000153 | @@ -899,92 +899,34 @@
#
-Report starting up%0A # Launch worker as subthread (including autoreload logic)
+Launch worker as subthread
%0A
@@ -1068,132 +1068,112 @@
in
+'
main
+'
thread
- (Twisted doesn't like being in a%0A # subthread, and it doesn't need to autoreload as there's no user code... |
e451ea4d698450813bd11fed6b501b839cd477a6 | Reformat runworker a bit | channels/management/commands/runworker.py | channels/management/commands/runworker.py | from __future__ import unicode_literals
from django.core.management import BaseCommand, CommandError
from channels import DEFAULT_CHANNEL_LAYER, channel_layers
from channels.log import setup_logger
from channels.worker import Worker
class Command(BaseCommand):
leave_locale_alone = True
def add_arguments(s... | Python | 0 | @@ -406,16 +406,29 @@
rgument(
+%0A
'--layer
@@ -557,16 +557,26 @@
efault.'
+,%0A
)%0A
@@ -597,16 +597,29 @@
rgument(
+%0A
'--only-
@@ -769,16 +769,26 @@
bbing).'
+,%0A
)%0A
@@ -809,16 +809,29 @@
rgument(
+%0A
'--exclu
@@ -986,16 +986,26 @@
bbin... |
33fb480ba089cae579ed1b9a061c8f5f2fd72a61 | make regex raw strings | src/nibetaseries/interfaces/bids.py | src/nibetaseries/interfaces/bids.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import os
import re
from shutil import copy
from nipype.interfaces.base import (
traits, isdefined, TraitedSpec, BaseInterfaceInputSpec,
File, SimpleInt... | Python | 0.00384 | @@ -343,32 +343,33 @@
re.compile(%0A
+r
'%5E(.*%5C/)?(?P%3Csub
@@ -431,24 +431,25 @@
9%5D+))?'%0A
+r
'(_(?P%3Ctask_
@@ -505,24 +505,25 @@
9%5D+))?'%0A
+r
'(_(?P%3Crec_i
@@ -581,16 +581,17 @@
)?'%0A
+r
'(_(?P%3Cs
@@ -693,20 +693,21 @@
ompile(%0A
-
+r
'%5E(.*%5C/)
|
f980f4b557df7cb4984cb428dd4bebcfe7ca7bc6 | use urgent when you got mails | py3status/modules/imap.py | py3status/modules/imap.py | # -*- coding: utf-8 -*-
"""
Display number of unread messages from IMAP account.
Configuration parameters:
cache_timeout: refresh interval for this module (default 60)
criterion: status of emails to check for (default 'UNSEEN')
format: display format for this module (default 'Mail: {unseen}')
hide_if_z... | Python | 0 | @@ -97,24 +97,93 @@
parameters:%0A
+ allow_urgent: display urgency on unread messages (default False)%0A
cache_ti
@@ -1110,16 +1110,41 @@
ameters%0A
+ allow_urgent = False%0A
cach
@@ -2420,16 +2420,92 @@
LOR_GOOD
+%0A if self.allow_urgent:%0A response%5B'urgent'%5D = True
%... |
596f9752a7956c259217b0528bed924812d0631f | Add admin filter to filter attendees with children. | pyconde/accounts/admin.py | pyconde/accounts/admin.py | from django.contrib import admin
from . import models
admin.site.register(models.Profile,
list_display=['user'])
| Python | 0 | @@ -30,91 +30,813 @@
min%0A
-%0Afrom . import models%0A%0A%0Aadmin.site.register(models.Profile,%0A list_display=%5B'user'%5D
+from django.contrib.admin import SimpleListFilter%0A%0Afrom . import models%0A%0A%0Aclass WithChildrenFilter(SimpleListFilter):%0A title = 'Anzahl Kinder'%0A parameter_name = 'childre... |
1b5b43542fe3ba8f85076c6b6cb1e98a4614a0c6 | reformat JobGroup to match other tables | pyfarm/models/jobgroup.py | pyfarm/models/jobgroup.py | # No shebang line, this module is meant to be imported
#
# Copyright 2015 Ambient Entertainment GmbH & Co. KG
#
# 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/lice... | Python | 0.000001 | @@ -103,18 +103,49 @@
Co. KG%0A
+# Copyright 2015 Oliver Palmer%0A
#%0A
-
# Licens
@@ -742,16 +742,17 @@
ups%0A%22%22%22%0A
+%0A
from pyf
@@ -1008,16 +1008,17 @@
peWork%0A%0A
+%0A
class Jo
@@ -1200,16 +1200,17 @@
peWork)%0A
+%0A
titl
@@ -1223,16 +1223,25 @@
.Column(
+%0A
db.Strin
@@ -1268,16 +12... |
9801345043972715e3d6cdfcce09d61f3b6c7d46 | input 1: commenting out keys | Roles/avl_input1/main.py | Roles/avl_input1/main.py | """
inputs:
4 cap sensors on I2C
3 rotary encoders on SPI
output topics:
pitch_key_event - integer from 0 to 47
voice_key_1_position - float from 0.0 to 1.0
voice_key_2_position - float from 0.0 to 1.0
voice_key_3_position - float from 0.0 to 1.0
"""
import Adafruit_MPR121.MPR121 as MPR121... | Python | 0.999997 | @@ -5065,24 +5065,26 @@
.start()%0A
+ #
key_0 = Key
@@ -5111,24 +5111,26 @@
on%22,0,0)%0A
+ #
key_1 = Key
@@ -5157,24 +5157,26 @@
on%22,0,1)%0A
+ #
key_2 = Key
@@ -5203,24 +5203,26 @@
on%22,1,1)%0A
+ #
key_0.start
@@ -5219,32 +5219,34 @@
ey_0.start()%0A
+ #
time.sleep(5)%0A
@@ -5243,24 +5... |
d63049e8c3901386570ac4324786701d67dbf0dc | Add a redirectLegacyRequest response | app/soc/views/helper/responses.py | app/soc/views/helper/responses.py | #!/usr/bin/python2.5
#
# Copyright 2008 the Melange authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | Python | 0 | @@ -6721,20 +6721,266 @@
rror.response_args)%0A
+%0A%0Adef redirectLegacyRequest(request, *args, **kwargs):%0A %22%22%22Redirects a request to a legacy url to the new '/gsoc' suffix.%0A%0A Args:%0A request: a Django HTTP request%0A %22%22%22%0A%0A url = '/gsoc' + request.path%0A%0A return http.HttpResponseRedi... |
853878cbf218728608a783260ae74c408ef4b8a2 | fix the wrong format | python/paddle/fluid/average.py | python/paddle/fluid/average.py | # Copyright (c) 2018 PaddlePaddle Authors. 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 app... | Python | 0.999964 | @@ -1539,16 +1539,17 @@
python%0A
+%0A
|
662aaa79305cbbbceeba8d46f9a7e543621f45a3 | Add harvest edit view | Seeder/harvests/views.py | Seeder/harvests/views.py | import time
import models
import forms
import datetime
from django.http.response import Http404, HttpResponseRedirect
from django.utils.translation import ugettext_lazy as _
from django.views.generic.base import TemplateView
from django.views.generic import DetailView, FormView
from urljects import U, URLView, pk
fr... | Python | 0 | @@ -20,16 +20,30 @@
models%0A
+import source%0A
import f
@@ -402,16 +402,56 @@
Generic%0A
+from core.generic_views import EditView%0A
%0A%0Adef ti
@@ -2712,16 +2712,52 @@
.save()%0A
+ harvest.pair_custom_seeds()%0A
@@ -2961,16 +2961,149 @@
name = 'detail'%0A
+%0A%0Aclass Edit(HarvestView, EditVi... |
dca5301379ea16fa1adbbace699e623b0abd1c58 | Add util method to get subsystem counts with postselection | qiskit/aqua/utils/subsystem.py | qiskit/aqua/utils/subsystem.py | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any... | Python | 0 | @@ -3549,8 +3549,1342 @@
counts%5D%0A
+%0Adef get_subsystems_counts_postselected(complete_system_counts, index, postselect_value):%0A %22%22%22%0A Extract all subsystems' counts from the single complete system count dictionary subject to a%0A specific postselection.%0A%0A Args:%0A complete_system_co... |
f4106e3025c5dbb3136db94081b9998a052c8e70 | Bump version to 2.0.0-alpha2 | pyqode/python/__init__.py | pyqode/python/__init__.py | # -*- coding: utf-8 -*-
"""
pyqode.python is an extension of pyqode.core that brings support
for the python programming language. It does so by providing a set
of additional modes and panels for the frontend and by supplying
dedicated workers for the backend.
"""
__version__ = "2.0.0-alpha1"
| Python | 0.000001 | @@ -288,7 +288,7 @@
lpha
-1
+2
%22%0A
|
2aa98c286e5abb7da424e5f3b305df765b5f7a4e | Remove dependency on webkit_strings from webkit_unit_tests. | Source/web/web_tests.gyp | Source/web/web_tests.gyp | #
# Copyright (C) 2011 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions an... | Python | 0.999999 | @@ -2240,79 +2240,8 @@
s',%0A
- '%3C(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',%0A
@@ -2767,94 +2767,8 @@
k',%0A
- '%3C(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',%0A
|
6990f6c57737a01debc398b8de42f375e84672e1 | Use with statement around open() calls | pysmi/reader/localfile.py | pysmi/reader/localfile.py | #
# This file is part of pysmi software.
#
# Copyright (c) 2015-2016, Ilya Etingof <ilya@glas.net>
# License: http://pysmi.sf.net/license.html
#
import os
import sys
import time
from pysmi.reader.base import AbstractReader
from pysmi.mibinfo import MibInfo
from pysmi.compat import decode
from pysmi import debug
from py... | Python | 0 | @@ -2005,32 +2005,79 @@
try:%0A
+ with open(indexFile) as f:%0A
@@ -2093,16 +2093,20 @@
= dict(%0A
+
@@ -2141,31 +2141,17 @@
or x in
-open(indexFile)
+f
.readlin
@@ -2156,16 +2156,20 @@
ines()%5D%0A
+
@@ -3911,24 +3911,83 @@
e(mtime))))%... |
d96aac74b32a166ec724234540dc93a8ea526a3f | fix test error in windows | pythainlp/tag/__init__.py | pythainlp/tag/__init__.py | # -*- coding: utf-8 -*-
# TODO ปรับ API ให้เหมือน nltk
from __future__ import absolute_import,division,print_function,unicode_literals
import sys
def pos_tag(text,engine='old'):
"""
ระบบ postaggers
pos_tag(text,engine='old')
engine ที่รองรับ
* old เป็น UnigramTagger
* artagger เป็น RDR POS Tagger
"""
if engin... | Python | 0.000001 | @@ -608,39 +608,45 @@
ps://github.com/
-franziz
+wannaphongcom
/artagger/archiv
@@ -797,15 +797,21 @@
com/
-franziz
+wannaphongcom
/art
|
6d6ba9e84c0b53cc05cec36047c8e701493d826e | Update rules | pythainlp/tokenize/tcc.py | pythainlp/tokenize/tcc.py | # -*- coding: utf-8 -*-
"""
The implementation of tokenizer accorinding to Thai Character Clusters (TCCs)
rules purposed by `Theeramunkong et al. 2000. \
<http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.59.2548>`_
Credits:
* TCC: Jakkrit TeCho
* Grammar: Wittawat Jitkrittum (`link to the source fil... | Python | 0.000001 | @@ -646,19 +646,16 @@
%E0%B8%B9%5Dtk%0Ac%E0%B9%87%0A
-ck%0A
ct%5B%E0%B8%B0%E0%B8%B2%E0%B8%B3%5D?
@@ -659,16 +659,19 @@
%E0%B8%B3%5D?(%E0%B9%8C?)%0A
+ck%0A
%E0%B9%81c%E0%B9%87c%0A%E0%B9%81cc
@@ -802,17 +802,15 @@
%22,%22(
-(
cc
-%7Cc)?%5B%E0%B8%B0
+?%5Bd%7C%E0%B8%B4
%5D?%5B%E0%B9%8C
@@ -811,24 +811,67 @@
%7C%E0%... |
0df8cbad8b67163c3e4a0274b6bb22b8927a36ff | add example API map route | python/marvin/api/maps.py | python/marvin/api/maps.py | #!/usr/bin/env python
# encoding: utf-8
#
# maps.py
#
# Created by José Sánchez-Gallego on 25 Jun 2016.
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
import flask.ext.classy
import json
import brain.utils.general
import marvin.api.base
import marvin.cor... | Python | 0 | @@ -4809,16 +4809,130 @@
%60None%60%60.
+%0A %0A e.g., https://api.sdss.org/marvin2/api/maps/8485-1901/map/category=EMLINE_GFLUX/channel=Ha-6564/
%0A%0A
|
8dc08d3733461ebe0ea770d0af07fdd4cfa00b64 | Use mujoco function instead. | python/mujoco/__init__.py | python/mujoco/__init__.py | # Copyright 2022 DeepMind Technologies Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | Python | 0 | @@ -2882,289 +2882,37 @@
t%0A%0A%0A
-def _get_version() -%3E str:%0A with open(os.path.join(HEADERS_DIR, 'mujoco.h'), 'r') as f:%0A for line in f:%0A if line.startswith('#define mjVERSION_HEADER'):%0A version = line.split()%5B2%5D%0A break%0A return '.'.join(%5Bd for d in str(version)%5D)%0A%0A... |
518ef4c0b3d523225582f7defeff2b8c3bf237d8 | Increase timeout waiting for HTTP server (#8286) | python/ray/serve/utils.py | python/ray/serve/utils.py | import asyncio
from functools import wraps
import inspect
import json
import logging
import random
import string
import time
import io
import os
import ray
import requests
from pygments import formatters, highlight, lexers
from ray.serve.context import FakeFlaskRequest, TaskContext
from ray.serve.http_util import buil... | Python | 0 | @@ -2171,9 +2171,9 @@
ies=
-5
+6
, ba
|
adb0c2bd97c6c4ca7272d764b669cef90f81a5bb | Allow non-dev logins to dev builds | handlers/login.py | handlers/login.py | from rorn.Box import LoginBox, ErrorBox, WarningBox, SuccessBox
from rorn.Session import delay
from User import User
from Button import Button
from LoadValues import isDevMode
from Event import Event
from utils import *
@get('login')
def login(handler, request):
handler.title('Login')
if handler.session['user']:
... | Python | 0 | @@ -816,215 +816,8 @@
'/')
-%0A%09%09elif isDevMode() and not user.hasPrivilege('Dev'):%0A%09%09%09Event.login(handler, user, False, %22Non-dev login blocked%22)%0A%09%09%09delay(handler, ErrorBox(%22Login Failed%22, %22This is a development build%22))%0A%09%09%09redirect('/')
%0A%0A%09%09
|
64713296cf4f4f3772a1ac23248d4fb930ee23ff | Bump to 0.3 | python_gdrive/__init__.py | python_gdrive/__init__.py | from client import GoogleDrive
__version__ = '0.3-dev'
| Python | 0.000198 | @@ -47,10 +47,6 @@
'0.3
--dev
'%0A
|
6b2f3b76b14214dc1ff6bfc3a0a679b775a5c12d | Add json response option | quotes_page/core/views.py | quotes_page/core/views.py | import random
import time
from django.http import HttpResponse
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.core.cache import cache
from django.utils import simplejson
from django.views.decorators.cache import cache_page
import _qi as qi
from core.models impor... | Python | 0.00002 | @@ -219,16 +219,24 @@
mplejson
+ as json
%0Afrom dj
@@ -612,17 +612,8 @@
se =
- 'raw' if
req
@@ -639,30 +639,17 @@
nse'
-) == 'raw' else
+,
'html'
+)
%0A%0A
@@ -2127,16 +2127,477 @@
quest))%0A
+ elif response == 'json':%0A data = json.dumps(%7B%0A 'quote_text': quote.text.strip(),%0A ... |
dcd84fec03daee62f05a70b93753d88cb356f196 | add skipping of empty lines | catdumps.py | catdumps.py | """
Concatenates dumps from a LAMMPS script.
All dumps in the given LAMMPS script will be concatenated into single files
separately, which are to be written in the current working directory.
"""
import argparse
import re
import os.path
import glob
def main():
"""Drive the script."""
parser = argparse.Argum... | Python | 0.000035 | @@ -1088,16 +1088,74 @@
split()%0A
+ if len(fields) == 0:%0A continue%0A
|
712f300bb3b735ad38c95334581523859825bf73 | increment the right names | redbot/webui/ratelimit.py | redbot/webui/ratelimit.py | #!/usr/bin/env python
"""
Rate Limiting for RED, the Resource Expert Droid.
"""
from collections import defaultdict
from configparser import SectionProxy
from typing import Dict, Set, Union, Callable, TYPE_CHECKING
from urllib.parse import urlsplit
import thor.loop
if TYPE_CHECKING:
from redbot.webui import Red... | Python | 0.999999 | @@ -2123,19 +2123,16 @@
ack_user
-_id
%22, user_
@@ -2722,19 +2722,16 @@
ack_team
-_id
%22, user_
|
3475aee89ef5b22a92a674400ea37430f8255924 | handle Appengine Datastore Key Type | huTools/hujson.py | huTools/hujson.py | #!/usr/bin/env python
# encoding: utf-8
"""
hujson.py - extended json - tries to be compatible with simplejson
hujson can encode additional types like decimal and datetime into valid json.
All the heavy lifting is done by John Millikin's `jsonlib`, see
https://launchpad.net/jsonlib
Created by Maximillian Dornseif on ... | Python | 0 | @@ -887,16 +887,115 @@
mail())%0A
+ elif 'google.appengine.api.datastore_types.Key' in str(type(value)):%0A return str(value)%0A
rais
|
530844a16a573ab49850a22631f97d8ad89465c9 | Clean Up NLU state | sara_flexbe_states/src/sara_flexbe_states/sara_nlu_spr.py | sara_flexbe_states/src/sara_flexbe_states/sara_nlu_spr.py | #!/usr/bin/env python
# encoding=utf8
from __future__ import print_function
from flexbe_core import EventState, Logger
import rospy
import re
from wm_nlu.srv import AnswerQuestion
from std_msgs.msg import String
class SaraNLUspr(EventState):
'''
Use wm_nlu to parse a sentence and return the detected actions i... | Python | 0 | @@ -129,18 +129,8 @@
spy%0A
-import re%0A
from
@@ -289,59 +289,15 @@
the
-detected actions in a standard format (ActionForm)%0A
+answer.
%0A
@@ -309,24 +309,28 @@
entence
+
string
@@ -351,27 +351,27 @@
rse%0A
-%0A
#%3E
-ActionForms
+answer
@@ -381,35 +381,20 @@
ring
-%5B%5D
... |
142d3ebf66e31aad2363fc0c421dc573dc9b1157 | Simplify current_service() function | ci/utils.py | ci/utils.py | # -*- coding: utf-8 -*-
"""This module defines functions generally useful in scikit-ci."""
import os
try:
from .constants import SERVICES, SERVICES_ENV_VAR
except (SystemError, ValueError):
from constants import SERVICES, SERVICES_ENV_VAR
def current_service():
for service in SERVICES.keys():
i... | Python | 0.000006 | @@ -283,16 +283,25 @@
service
+, env_var
in SERV
@@ -308,12 +308,21 @@
ICES
-.key
+_ENV_VAR.item
s():
@@ -352,50 +352,15 @@
get(
-%0A SERVICES_ENV_VAR%5Bservice%5D
+env_var
, 'f
|
9a7c0a07d14b81b134963a9459326ffdb53cf28d | Disable fe build | ci/zoeci.py | ci/zoeci.py | #!/usr/bin/env python3
# Copyright (c) 2016, Quang-Nhat Hoang-Xuan
#
# 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 ap... | Python | 0.000001 | @@ -1682,32 +1682,33 @@
+#
retFE = self.fro
|
84556b2480f7d49843a6e42edbc9415980837308 | Remove an unused variable | eval/python/evaluate.py | eval/python/evaluate.py | import argparse
import numpy as np
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--vocab_file', default='vocab.txt', type=str)
parser.add_argument('--vectors_file', default='vectors.txt', type=str)
args = parser.parse_args()
with open(args.vocab_file, 'r') as f:
words... | Python | 0.000071 | @@ -1068,24 +1068,16 @@
m, vocab
-, ivocab
)%0A%0Adef e
@@ -1104,16 +1104,8 @@
ocab
-, ivocab
):%0A
|
037527c028e2b6326c930f4390cb754f110d6450 | Fix bug in test helper function clear_clipboard(). | clipocr1.py | clipocr1.py |
"""
clipocr1.py
Reads an image from the system clipboard,
and prints text recognized in the image, by using tesseract OCR.
The one perhaps unusual trick to be found herein is
resizing the image to larger sizes, which sometimes makes a screen capture
easier for OCR code to process.
SIDE EFFECT:
... | Python | 0 | @@ -6193,116 +6193,8 @@
e()%0A
- if not clipboard_getdata_status:%0A del app%0A raise Exception(%22couldn't find image data in clipboard%22)%0A
de
|
89766874e7ef17bdce4cfa7cae9898336928c19e | Remove satellites from JSON | modules/gy-gps6mv1/core/get.py | modules/gy-gps6mv1/core/get.py | #! /usr/bin/python
# Written by Dan Mandle http://dan.mandle.me September 2012
# Modified by Broda Noel @brodanoel (in all social networks)
# License: GPL 2.0
from gps import *
from time import *
import time
import threading
import sys
gpsd = None #seting the global variable
class GpsPoller(threading.Thread):
def ... | Python | 0.000003 | @@ -1643,32 +1643,33 @@
de, ','%0A
+#
print 'satellite
|
3685715cd260f4f5ca392caddf7fb0c01af9ebcc | Add in comments for orgs and places too, remove limit | mzalendo/comments2/feeds.py | mzalendo/comments2/feeds.py | from disqus.wxr_feed import ContribCommentsWxrFeed
# from comments2.models import Comment
from core.models import Person
# http://help.disqus.com/customer/portal/articles/472150-custom-xml-import-format
class CommentWxrFeed(ContribCommentsWxrFeed):
link = "/"
def items(self):
return Person.objects.a... | Python | 0 | @@ -113,17 +113,38 @@
t Person
+, Place, Organisation
%0A
-
%0A%0A# http
@@ -315,81 +315,174 @@
-return Person.objects.all()%5B:5%5D # remove %5B:5%5D before generating full dump
+list = %5B%5D%0A list.extend( Person.objects.all() )%0A list.extend( Organisation.objects.all() )%0A list.exte... |
35c1b48864858ee4aa38ce39d69f52a7fbf73fc5 | Allow specifying path to read dumps | classify.py | classify.py | from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.base import TransformerMixin
from sklearn.dummy import DummyRegressor
from sklearn.ensemble import RandomForestRegressor
from sklearn.pipeline import Pipeline
from sklearn import cross_validation
import numpy as np
import sys
import itertools
impo... | Python | 0 | @@ -5331,24 +5331,68 @@
%3E 1 else %22%22%0A
+ path = argv%5B2%5D if len(argv) %3E 2 else %22%22%0A
cv_folds
@@ -5939,24 +5939,106 @@
n.isatty():%0A
+ if path != %22%22 and path%5B-1%5D != %22/%22:%0A path = path + %22/%22%0A%0A
@@ -6148,16 +6148,23 @@
= glob(
+path +... |
f375bef2a4f98abdc1ded20474d6b2538d3ed8c3 | Fix typo | airbag_program/runner.py | airbag_program/runner.py | from subprocess import Popen, PIPE, DEVNULL, TimeoutExpired
from airbag.status import ExitStatus
from os import environ
class ProgramTest(object):
"""docstring for Test"""
def __init__(
self,
program,
name='',
arguments=[],
expected=None,
stdin=None,
tim... | Python | 0.999999 | @@ -415,17 +415,16 @@
(Program
-s
Test, se
|
fe998a48be769f6a957611584145706b71385cc9 | Fix airflow jobs check cmd for TriggererJob (#19185) | airflow/jobs/__init__.py | airflow/jobs/__init__.py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | Python | 0 | @@ -912,16 +912,50 @@
uler_job
+%0Aimport airflow.jobs.triggerer_job
# noqa
|
d266de64cbcc7ed8672e9bb61cdb966870fccfdc | Use random.choice() & reduce len() duplication | alg_percentile_select.py | alg_percentile_select.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import random
def percentile_select(ls, k):
"""Kth percentile selection algorithm.
Just select the kth element, without caring about
the relative ordering of the rest of them.
The algorithm per... | Python | 0.000677 | @@ -456,24 +456,18 @@
dom.
-sample(ls, 1)%5B0%5D
+choice(ls)
%0A%09id
@@ -621,16 +621,36 @@
v%5D%0A
-%0A%09if k %3C
+%09n_le = len(idx_le_v)%0A%09n_eq
= le
@@ -655,21 +655,36 @@
len(idx_
-l
e
+q
_v)
+%0A%0A%09if k %3C= n_le
:%0A%09%09le_v
@@ -768,110 +768,65 @@
lif
-len(idx_le_v) %3C k %3C= len(idx_le_v) + ... |
d1c16f90ca86bc1bd11a81f021d8317a82902a69 | print annotation | ui/app/models.py | ui/app/models.py | from . import db
class Spans(db.Model):
__tablename__ = 'zipkin_spans'
span_id = db.Column(db.Integer)
parent_id = db.Column(db.Integer)
trace_id = db.Column(db.Integer)
span_name = db.Column(db.String(255))
debug = db.Column(db.Integer)
duration = db.Column(db.Integer)
created_ts = db.... | Python | 0.000009 | @@ -786,28 +786,129 @@
ion = db.Column(db.Integer)%0A
+%0A def __repr__(self):%0A return '%3CAnnotation %25r - %25r%3E' %25 (self.span_name, self.service_name)%0A
|
b38555ff465f59333f32c2bb556f6b7a236e288b | disable traceview for now | seabus/web/web.py | seabus/web/web.py | from flask import Flask
import oboe
from oboeware import OboeMiddleware
from seabus.web.blueprint import blueprint
from seabus.common.database import db
from seabus.web.socketio import socketio
def create_app(config=None):
app = Flask(__name__)
if config is not None:
app.config.from_object('seabus.web... | Python | 0 | @@ -501,15 +501,8 @@
%0A
- #TODO:
tv_
|
57b5aa4acb3878916368eeb24d62f1508c9a9a43 | Remove useless staticmethods. | linguist/models/base.py | linguist/models/base.py | # -*- coding: utf-8 -*-
from django.db import models, IntegrityError
from django.utils.translation import ugettext_lazy as _
from django.utils.encoding import python_2_unicode_compatible
from .. import settings
class TranslationManager(models.Manager):
def get_object_translations(self, obj, language=None):
... | Python | 0.000002 | @@ -1121,34 +1121,16 @@
age'))%0A%0A
- @staticmethod%0A
def
@@ -1151,32 +1151,38 @@
ed_translations(
+self,
instances):%0A
@@ -2377,26 +2377,8 @@
es%0A%0A
- @staticmethod%0A
@@ -2402,32 +2402,38 @@
lations_to_save(
+self,
instances):%0A
|
87fecc3c1ed8d25ce20159ff000e3c4228333642 | Use whichever autocomplete we currently have, since it's better | taggit/forms.py | taggit/forms.py | import os
from cStringIO import StringIO as SIO
from django import forms
from django.forms.util import flatatt
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _
from taggit.utils import parse_tags, edit_string_for_tags, clean_tag_string
class TagWidget(forms.TextInput):
... | Python | 0.000001 | @@ -1350,92 +1350,8 @@
'),%0A
- os.path.join(media_url, 'js', 'jquery-ui.1.8.20.min.js'),%0A
|
1fb6dbd0fa674119d360a42cebdd77a421eae9f1 | Add log message if core threshold is used in fallback policy | rasa/core/policies/fallback.py | rasa/core/policies/fallback.py | import json
import logging
import os
from typing import Any, List, Text
from rasa.core.actions.action import ACTION_LISTEN_NAME
from rasa.core import utils
from rasa.core.domain import Domain
from rasa.core.policies.policy import Policy
from rasa.core.trackers import DialogueStateTracker
logger = logging.getLogger(_... | Python | 0.000001 | @@ -4142,32 +4142,208 @@
ll be executed.%0A
+ logger.debug(%22Predict fallback action with confidence %22%0A %22'core_threshold' (%7B%7D). %22%0A %22%22.format(self.core_threshold))%0A
resu
|
b5241e62cb7cc09b5d469f1cf3908fa1d7cedc21 | Tweak the settings. | gobble/settings.py | gobble/settings.py | """User configurable settings"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from future import standard_library
standard_library.install_aliases()
from os import getenv
from logging import DEBUG, INFO
from os.pa... | Python | 0 | @@ -418,16 +418,66 @@
bject):%0A
+ JSON_INDENT = 4%0A EXPANDED_LOG_STYLE = True%0A
CONS
@@ -492,20 +492,21 @@
LEVEL =
-INFO
+DEBUG
%0A FIL
@@ -636,37 +636,24 @@
'%5B%25(name)s%5D
- %5B%25(module)s%5D
%5B%25(levelnam
@@ -1482,16 +1482,313 @@
False))%0A
+ CONSOLE_LOG_FORMAT = ('%5B%25(name)s%5D ... |
2050017ced613f5c0282dcfaf07494b8dbcc8e41 | Update ipc_lista2.05.py | lista2/ipc_lista2.05.py | lista2/ipc_lista2.05.py | #ipc_lista2.05
#Professor: Jucimar Junior
#Any Mendes Carvalho - 1615310044
#
#
#
#
#Faça um programa para a leitura de duas notas parciais de um aluno. O programa deve calcular a média alcançada por aluno e apresentar:
#--A mensagem "Aprovado", se a média alcançada for maior ou igual a sete;
#--A mensagem "Reprovado"... | Python | 0 | @@ -517,9 +517,11 @@
(n1+n2)
+/2
%0A
|
e1fb17476770620546d0bd244b35591b99ba6ea7 | Revert 7392f01f for pkg_resources/extern. 3.3 is the right signal there. | pkg_resources/extern/__init__.py | pkg_resources/extern/__init__.py | import sys
class VendorImporter:
"""
A PEP 302 meta path importer for finding optionally-vendored
or otherwise naturally-installed packages from root_name.
"""
def __init__(self, root_name, vendored_names=(), vendor_pkg=None):
self.root_name = root_name
self.vendored_names = set(v... | Python | 0 | @@ -1753,19 +1753,17 @@
info
-.major %3E= 3
+ %3E (3, 3)
:%0A
|
f3da1fab9af2279182a09922aae00fcee73a92ee | Fix imports for Django >= 1.6 | goog/middleware.py | goog/middleware.py | from django.conf import settings
from django.conf.urls.defaults import patterns, include
import goog.urls
from goog import utils
class GoogDevelopmentMiddleware(object):
def devmode_enabled(self, request):
"""Returns True iff the devmode is enabled."""
return utils.is_devmode()
def process_r... | Python | 0 | @@ -26,16 +26,25 @@
ettings%0A
+try:%0A
from dja
@@ -90,16 +90,104 @@
include
+%0Aexcept ImportError: # Django %3E= 1.6%0A from django.conf.urls import patterns, include
%0A%0Aimport
|
473d4c16d7865e608bc3732ba82e448e245d8339 | Version Bump | littlepython/version.py | littlepython/version.py | version = '0.4.8'
| Python | 0.000001 | @@ -12,7 +12,7 @@
0.4.
-8
+9
'%0A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.