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 |
|---|---|---|---|---|---|---|---|
27d43e022d05156eba62ad31fd02526d4c14ecf7 | Fix success check | ds_cli.py | ds_cli.py | from __future__ import absolute_import, print_function
import click
import requests
from functools import partial
class ApiError(Exception):
def __init__(self, code, error=None, error_name=None):
self.code = code
self.error = error
self.error_name = error_name
super(ApiError, self... | Python | 0.000001 | @@ -1279,24 +1279,25 @@
resp.json()%0A
+%0A
if 2
@@ -1303,9 +1303,9 @@
200
-%3E
+%3C
= re
|
ef3917c73847ce11d09c5d8d42c0571379548c41 | add test for same_content. | bento/core/tests/test_utils.py | bento/core/tests/test_utils.py | import os
import unittest
import tempfile
import shutil
from os.path import \
join
from bento.core.utils import \
validate_glob_pattern, expand_glob, subst_vars, to_camel_case, explode_path
class TestParseGlob(unittest.TestCase):
def test_invalid(self):
# Test we raise a ValueError at unwanted pa... | Python | 0 | @@ -54,38 +54,93 @@
il%0A%0A
-from os.path import %5C%0A join
+import os.path as op%0A%0Afrom bento.compat.api %5C%0A import %5C%0A NamedTemporaryFile
%0A%0Afr
@@ -159,16 +159,22 @@
e.utils
+%5C%0A
import %5C
@@ -170,24 +170,28 @@
import %5C%0A
+
validate
@@ -244,16 +244,26 @@
el_cas... |
34d0248510b536483b97e5786ef1a81c2d67dbe1 | add MWPotential | galpy/potential.py | galpy/potential.py | from galpy.potential_src import Potential
from galpy.potential_src import planarPotential
from galpy.potential_src import linearPotential
from galpy.potential_src import verticalPotential
from galpy.potential_src import MiyamotoNagaiPotential
from galpy.potential_src import LogarithmicHaloPotential
from galpy.potential... | Python | 0.999132 | @@ -3208,16 +3208,207 @@
lummerSoftening%0A
+%0A#%0A# Constants%0A#%0AMWPotential= %5BMiyamotoNagaiPotential(a=0.5,b=0.0375,normalize=.6),%0A NFWPotential(a=4.5,normalize=.35),%0A HernquistPotential(a=0.6/8,normalize=0.05)%5D%0A
|
adb2d23f03fc4e0642f10d84bd484e6115af126b | Make Python callback code consistent with the C++ API | src/dynamic_reconfigure/server.py | src/dynamic_reconfigure/server.py | # Software License Agreement (BSD License)
#
# Copyright (c) 2009, Willow Garage, 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... | Python | 0.000058 | @@ -3221,22 +3221,90 @@
ig,
-type.all_level
+~0) # Consistent with the C++ API, the callback gets called with level=~0 (i.e. -1
)%0A
|
07b9b55d9aea99b2cc677761669d01498b0b9b16 | Change formula | examples/finance/black_scholes.py | examples/finance/black_scholes.py | import argparse
import contextlib
import time
import cupy
import numpy
# This sample computes call and put prices for Europian options with
# Black-Scholes equation. It was based on a sample of the financial package
# in CUDA toolkit. For details, please see the corresponding whitepaper.
#
# The following code shows ... | Python | 0.000011 | @@ -707,20 +707,16 @@
sqrt_t =
- 1 /
xp.sqrt
@@ -752,32 +752,36 @@
(r + v * v / 2)
+ * t
) / (v * sqrt_t)
@@ -1968,20 +1968,16 @@
sqrt_t =
- 1 /
sqrt(t)
@@ -2024,16 +2024,20 @@
* v / 2)
+ * t
) / (v *
|
d1a6e0e9ab1b459b0ef45ba7902c4f6d174a175a | Fix deployment json | src/app/hubs/views.py | src/app/hubs/views.py | # encoding:UTF-8
import logging
from chariot.influx import influx
from datetime import datetime
from django.core.urlresolvers import reverse
from django.http import HttpResponse, StreamingHttpResponse
from django.shortcuts import get_object_or_404
import json
from django.views.generic import CreateView
from rest_frame... | Python | 0.000028 | @@ -1591,17 +1591,16 @@
'boil
-d
er_type'
|
6b75e9d7e1c84e5ecc8529618260fb4e6a72ce73 | Update package documentation. | flask_authorization_panda/__init__.py | flask_authorization_panda/__init__.py | """
**Flask-Authorization-Panda provides easy loading and access to the data elements of
JSON based configuration files.**
Usage
-----
Assuming that an environment variable 'SHARED_CONFIG_FILES' exists
and points to a directory containing multiple JSON files, including
the following::
ldap.json
{
"... | Python | 0 | @@ -29,495 +29,455 @@
nda
-provides easy loading and access to the data elements of%0AJSON based configuration files.**%0A%0AUsage%0A-----%0A%0AAssuming that an environment variable 'SHARED_CONFIG_FILES' exists%0Aand points to a directory containing multiple JSON files, includ
+is a Flask extension that provides deco... |
5409845ebf4c5dae7825f8b3f41f6ba063f1360d | Update __init__.py | SU2_PY/SU2/util/__init__.py | SU2_PY/SU2/util/__init__.py |
from switch import switch
from bunch import Bunch as bunch
from ordered_bunch import OrderedBunch as ordered_bunch
from plot import write_plot, tecplot, paraview
from lhc_unif import lhc_unif
from mp_eval import mp_eval | Python | 0.000072 | @@ -1,13 +1,12 @@
-%0A
from switch
@@ -246,16 +246,49 @@
import mp_eval
+%0Afrom which import which%0A
|
c3a380bd2d0129f8433e5f6f06083fdfcc8faea0 | fix tses calc | openquake/calculators/risk/event_based/core.py | openquake/calculators/risk/event_based/core.py | # Copyright (c) 2010-2012, GEM Foundation.
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distri... | Python | 0.000003 | @@ -5740,16 +5740,58 @@
ns = 1%0A%0A
+ time_span = hc.investigation_time%0A
@@ -5848,24 +5848,18 @@
izations
-%0A
+*
time_sp
@@ -5864,32 +5864,8 @@
span
- = hc.investigation_time
%0A%0A
|
8f1209ea641916080f4d203bd56f4753bc7c3344 | Fix to the previous commit. | abusehelper/core/startup.py | abusehelper/core/startup.py | import os
import sys
import time
import errno
import heapq
import signal
import subprocess
import cPickle as pickle
import idiokit
from idiokit import timer
from abusehelper.core import bot, config
def iter_startups(iterable):
for obj in iterable:
startup = getattr(obj, "__startup__", None)
if ca... | Python | 0 | @@ -2272,27 +2272,27 @@
trategies =
-dic
+lis
t()%0A
|
67ad7e203184cb2ac033a5c19b45de0a2d854753 | Improve type annotation for epsilon in DQN agent. | acme/agents/tf/dqn/agent.py | acme/agents/tf/dqn/agent.py | # python3
# Copyright 2018 DeepMind Technologies Limited. 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 re... | Python | 0.999808 | @@ -663,16 +663,44 @@
ort copy
+%0Afrom typing import Optional
%0A%0Afrom a
@@ -1789,16 +1789,25 @@
psilon:
+Optional%5B
tf.Tenso
@@ -1807,16 +1807,17 @@
f.Tensor
+%5D
= None,
|
106389733b430360707fda363cccc7a06fb4e1a4 | Set name when scheduling job | app/main.py | app/main.py | #!/usr/bin/env python
import jinja2
import json
import logging
import os
import Queue
import SocketServer
from apscheduler.scheduler import Scheduler
from datetime import datetime, timedelta
from flask import Flask, render_template, Response, request, abort
from flask.ext.assets import Environment, Bundle
from jobs im... | Python | 0.000004 | @@ -4619,16 +4619,58 @@
un_job,%0A
+ name=name,%0A
|
cee62120cefa8c773795d2b4e24fb4df40b6532e | Remove declaration of the handlers | demo/urls.py | demo/urls.py | """Urls for the demo of Zinnia"""
from django.conf import settings
from django.contrib import admin
from django.conf.urls import url
from django.conf.urls import include
from django.conf.urls import patterns
from django.views.generic.base import RedirectView
from zinnia.sitemaps import TagSitemap
from zinnia.sitemaps ... | Python | 0.000001 | @@ -444,165 +444,8 @@
er()
-%0Ahandler500 = 'django.views.defaults.server_error'%0Ahandler404 = 'django.views.defaults.page_not_found'%0Ahandler403 = 'django.views.defaults.permission_denied'
%0A%0Aur
|
ee8b5f3ee2ac720cb489b582b44cc30142768528 | Remove cruft. | app/main.py | app/main.py | #!/usr/bin/env python
from flask import request
from functools import wraps
from werkzeug.wsgi import DispatcherMiddleware
from werkzeug.serving import run_simple
import flask
import os
import mimetypes
import urllib2
import restfulgit
import repos_service
import jobs_service
from restfulgit import app_factory as rest... | Python | 0 | @@ -3816,120 +3816,8 @@
d):%0A
- # TODO: better JSON API parsing and error responses.%0A data = request.get_json()%0A assert data.get('job_id')%0A%0A
jo
|
14278fdf0a4f741203b91ca2869f8b4b93fb9fd5 | Allow file URLs | lib/spack/spack/validate.py | lib/spack/spack/validate.py | ##############################################################################
# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Written by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
... | Python | 0.000009 | @@ -1350,16 +1350,24 @@
%22, %22ftp%22
+, %22file%22
%5D%0A%0Adef u
|
48df91d48b21fecfbdb87a0e8b011956594a74c2 | Add surface area class (#2183) | maths/area.py | maths/area.py | """
Find the area of various geometric shapes
"""
import math
def area_rectangle(base, height):
"""
Calculate the area of a rectangle
>> area_rectangle(10,20)
200
"""
return base * height
def area_square(side_length):
"""
Calculate the area of a square
>>>... | Python | 0 | @@ -50,21 +50,651 @@
%22%22%0D%0A
-%0D%0Aimport math
+from math import pi%0D%0Afrom typing import Union%0D%0A%0D%0A%0D%0Adef surface_area_cube(side_length: Union%5Bint, float%5D) -%3E float:%0D%0A %22%22%22%0D%0A Calculate the Surface Area of a Cube.%0D%0A%0D%0A %3E%3E%3E surface_area_cube(1)%0D%0A 6%0D%0A... |
94b3aa469e3a37a5c0cffa565a139b6b9607e54e | use interim setting for slave location | mcp/config.py | mcp/config.py | #
# Copyright (c) 2005-2006 rPath, Inc.
#
# All rights reserved
#
import os
from conary import conarycfg
from conary.lib import cfgtypes
class MCPConfig(conarycfg.ConfigFile):
basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
logPath = os.path.join(basePath, 'log')
queueHost = '127.0.0.1'
... | Python | 0 | @@ -408,11 +408,15 @@
oup-
-cor
+jobslav
e'%0A
@@ -437,22 +437,27 @@
abel = '
-conary
+jobslave.rb
.rpath.c
@@ -467,8 +467,11 @@
rpl:
-1
+devel
'%0A
-%0A
|
6d2f22d3a3ef7990dcf2f77b91b619b51d1221c9 | Add support for the new data format (0.2.0) | mkstatistics.py | mkstatistics.py | #!/usr/bin/env python3
import json
from collections import defaultdict
from argparse import ArgumentParser
"""
Generate statistics for receivers.json
"""
def print_stats(stations):
stat_by_country = defaultdict(dict)
for s in stations:
stat_by_country[stations[s]['country']][s] = stations[s]
fo... | Python | 0 | @@ -149,49 +149,170 @@
son%0A
-%22%22%22%0A%0A%0Adef print_stats(stations):%0A stat
+%0AEquivalent:%0Acat receivers.json %7C jq %22.receivers %7C group_by(.country) %7C map(%7B(.%5B0%5D.country): %5B.%5B%5D.callsign%5D%7D)%22%0A%22%22%22%0A%0A%0Adef print_stats(all_receivers):%0A receivers
_by_
@@ -333,19 +333,... |
45d26675b6ffa978fa49204060bb1b41a258c4b5 | Fix variables | app/enc/routes.py | app/enc/routes.py | from flask_restful import Resource
from flask import jsonify, request, g
from app.puppenc import app, api, db, output_yaml, auth, PuppencResource
from app.nodes.models import Node
from app.hostgroups.models import Hostgroup
from app.environments.models import Environment
from app.classes.models import Class
from app.... | Python | 0.000552 | @@ -3734,16 +3734,56 @@
es_var:%0A
+ content = p.content%0A
@@ -3825,18 +3825,16 @@
name%5D =
-p.
content%0A
|
3c165fb263ed7f85bd65f9765e1a7db4ecdd957f | fix comparison of apples and pears | framework_agreement/model/purchase.py | framework_agreement/model/purchase.py | # -*- coding: utf-8 -*-
# Author: Nicolas Bessi, Leonardo Pistone
# Copyright 2013-2015 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of ... | Python | 0.002124 | @@ -7150,19 +7150,16 @@
plier_id
-.id
!= self
|
22f305a7cb1daab3dc61b0d22b796916417de9d2 | Increase size of bottleneck layer. | examples/mnist-deepautoencoder.py | examples/mnist-deepautoencoder.py | #!/usr/bin/env python
import matplotlib.pyplot as plt
import theanets
from utils import load_mnist, plot_layers, plot_images
train, valid, _ = load_mnist()
e = theanets.Experiment(
theanets.Autoencoder,
layers=(784, 256, 64, 16, 64, 256, 784),
train_batches=100,
tied_weights=True,
)
e.run(train, va... | Python | 0 | @@ -231,17 +231,17 @@
56, 64,
-1
+3
6, 64, 2
|
d9efa6723acbc682593125b9d0603328e6fafb8d | fix a comment | delete_contact.py | delete_contact.py | #!/usr/bin/python
import yaml
config = yaml.safe_load(open("config.yml"))
from contacts import Contacts, Contact
c = Contacts()
# syntax: add_contact.py <name> <number>
import sys
if len(sys.argv) < 2:
print("usage: delete_contact.py <name>")
sys.exit()
script_name = sys.argv.pop(0)
name = sys.argv.pop(0)
con... | Python | 0.020002 | @@ -128,49 +128,8 @@
()%0A%0A
-# syntax: add_contact.py %3Cname%3E %3Cnumber%3E%0A
impo
|
bc6afbf9c4eec077d8785753a427b639d6411d10 | remove redundant initialization | app/util.py | app/util.py | from nltk.stem.porter import PorterStemmer
from nltk.stem import SnowballStemmer
from nltk.stem.lancaster import LancasterStemmer
from nltk import word_tokenize, pos_tag, UnigramTagger, BigramTagger, RegexpTagger
from nltk.tokenize import TweetTokenizer
from nltk.corpus import brown
from app.constants import DEFAULT_... | Python | 0.000125 | @@ -5396,30 +5396,8 @@
%5D)%0A
- tags = %5B%5D%0A
|
421c3837e83c2322a2addb52cf8d293af18b54ad | Fix formatting | examples/training/train_parser.py | examples/training/train_parser.py | #!/usr/bin/env python
# coding: utf8
"""
Example of training spaCy dependency parser, starting off with an existing model
or a blank model.
For more details, see the documentation:
* Training: https://alpha.spacy.io/usage/training
* Dependency Parse: https://alpha.spacy.io/usage/linguistic-features#dependency-parse
D... | Python | 0.057169 | @@ -1935,21 +1935,17 @@
for _,
-heads
+_
, deps i
|
4dde490bfbf27d5aa92b9a310a45ef4bd7a561a7 | test MolCatalogs | Code/GraphMol/test_list.py | Code/GraphMol/test_list.py | import sys
tests=[
("testExecs/itertest.exe","",{}),
("testExecs/MolOpsTest.exe","",{}),
("testExecs/testCanon.exe","C1OCCC1 C1CCOC1",{}),
("testExecs/testPickler.exe","",{}),
("testExecs/test1.exe","",{}),
("python","test_list.py",{'dir':'Depictor'}),
("python","test_list.py",{'dir':'FileParsers'}),
... | Python | 0 | @@ -617,17 +617,16 @@
ms'%7D),%0A%0A
-%0A
(%22pyth
@@ -1204,16 +1204,124 @@
forms'%7D)
+,%0A%0A (%22python%22,%22test_list.py%22,%7B'dir':'MolCatalog'%7D),%0A (%22python%22,%22test_list.py%22,%7B'dir':'MolCatalog/Wrap'%7D),%0A
%0A %5D%0A%0Aif
|
1297cdb1560cc731c78d3e558bd0d49952cb40b9 | Make telemetry use am force-stop instead of kill on user builds. | telemetry/telemetry/core/backends/chrome/android_browser_backend.py | telemetry/telemetry/core/backends/chrome/android_browser_backend.py | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import logging
import sys
from telemetry.core.backends import adb_commands
from telemetry.core.backends import android_command_line_backend
from telemetry.c... | Python | 0 | @@ -3142,32 +3142,161 @@
lBrowser(self):%0A
+ if self._adb.device().IsUserBuild():%0A self.platform_backend.StopApplication(self._backend_settings.package)%0A else:%0A
self.platfor
|
f70bbbdadc044a76f7b90b2cac0191353a6a5048 | Rework the import finding logic | depfinder.py | depfinder.py | import ast
def get_imported_libs(code):
tree = ast.parse(code)
# ast.Import represents lines like 'import foo' and 'import foo, bar'
# the extra for name in t.names is needed, because names is a list that
# would be ['foo'] for the first and ['foo', 'bar'] for the second
imports = [name.name.split... | Python | 0.000006 | @@ -4,16 +4,207 @@
ort ast%0A
+import os%0Afrom collections import deque%0Aimport sys%0Afrom stdlib_list import stdlib_list%0A%0Aconf = %7B%0A 'ignore_relative_imports': True,%0A 'ignore_builtin_modules': True,%0A 'pyver': None,%0A%7D%0A
%0A%0Adef ge
@@ -253,16 +253,66 @@
e(code)%0A
+ imports = deque()%0... |
9c8972523c3861cb88dd09f51fa1efbf46d4a1b3 | Fix bilibili seeker. | anicolle/seeker/bilibili.py | anicolle/seeker/bilibili.py | import requests
from bs4 import BeautifulSoup
from json import loads
def seek(chk_key, cur_epi):
tepi = cur_epi+1
chk_key = str(chk_key)
try:
int(chk_key)
except ValueError:
query_url = "http://www.bilibili.com/search?keyword=%s&orderby=&type=series&tids=&tidsC=&arctype=all&page=1" % (... | Python | 0.000001 | @@ -213,35 +213,38 @@
y_url = %22http://
-www
+search
.bilibili.com/se
@@ -241,22 +241,23 @@
ili.com/
-search
+bangumi
?keyword
@@ -263,61 +263,8 @@
d=%25s
-&orderby=&type=series&tids=&tidsC=&arctype=all&page=1
%22 %25
@@ -426,25 +426,27 @@
class_=%22
-s_bgmlist
+ajax-render
%22)%0A
@@ -487,16 +487,48 @@
... |
a816e008e6ebb9547fc51d020252219299825e94 | Update the database last. | live_studio/build/management/commands/queue_runner.py | live_studio/build/management/commands/queue_runner.py | import os
import sys
import time
import shutil
import logging
import datetime
import tempfile
import subprocess
from django.conf import settings
from django.core.mail import send_mail
from django.template.loader import render_to_string
from django.core.management.base import NoArgsCommand, make_option
from django.cont... | Python | 0 | @@ -3478,24 +3478,118 @@
arget_dir)%0A%0A
+ status = 'success'%0A self.log.info(%22#%25d built successfully%22, build.pk)%0A%0A
@@ -3688,32 +3688,48 @@
%0A )%0A%0A
+ except:%0A
stat
@@ -3726,39 +3726,39 @@
status = '
-success
+failure
'%0A ... |
2a8c4790bd432fc4dc0fdda64c0cea4f76fac9ff | Fix add_page_if_missing context processor when no pages exist yet | feincms/context_processors.py | feincms/context_processors.py | from feincms.module.page.models import Page
def add_page_if_missing(request):
# If this attribute exists, the a page object has been registered already
# by some other part of the code. We let it decide, which page object it
# wants to pass into the template
if hasattr(request, '_feincms_page'):
... | Python | 0.000001 | @@ -327,16 +327,29 @@
urn %7B%7D%0A%0A
+ try:%0A
retu
@@ -353,16 +353,20 @@
eturn %7B%0A
+
@@ -435,10 +435,62 @@
+ %7D%0A except Page.DoesNotExist:%0A return %7B
%7D%0A
|
7bd12cf8154b1b435d0ad7591a2040baa6404ceb | Update test case | clock/shifts/tests/test_utils.py | clock/shifts/tests/test_utils.py | """Tests for the shift utilities."""
from test_plus import TestCase
from clock.contracts.models import Contract
from clock.shifts.factories import ShiftFactory, UserFactory
from clock.shifts.models import Shift
from clock.shifts.utils import get_current_shift, get_last_shifts
class TestUtils(TestCase):
"""Test t... | Python | 0 | @@ -538,16 +538,25 @@
urs='50'
+%0A
)%0A%0A d
@@ -1265,59 +1265,124 @@
-self.assertTrue(%0A five_shifts%5Bi%5D
+if shift.finished == five_shifts%5Bi + 1%5D.finished:%0A continue%0A self.assertTrue(shift
.fin
@@ -2345,16 +2345,29 @@
low=True
+%0A ... |
6852ec1ca2198489ca5a986ada34509b1fbc179e | Revert "nacl_core_sdk copies libs to gen/sdk/toolchain/..." | build/nacl_core_sdk.gyp | build/nacl_core_sdk.gyp | # Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'nacl_core_sdk',
'type': 'none',
'dependencies': [
... | Python | 0.000005 | @@ -304,32 +304,185 @@
ependencies': %5B%0A
+ '../src/shared/gio/gio.gyp:gio_lib',%0A '../src/shared/platform/platform.gyp:platform_lib',%0A '../src/shared/srpc/srpc.gyp:srpc_lib',%0A
'../src/
@@ -585,24 +585,83 @@
core_nexe',%0A
+ '../src/untrusted/nacl/nacl.gyp:imc_syscalls_lib'... |
efa36e1013e44fa75f6a77a74bd8bf21f3120976 | Allow for a longer image path | django_facebook/models.py | django_facebook/models.py | from django.db import models
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
class FacebookProfileModel(models.Model):
'''
Abstract class to add to your profile model.
NOTE: If you don't use this this abstract class, make sure you copy/paste
the fields in.... | Python | 0.000001 | @@ -773,16 +773,32 @@
_images'
+, max_length=255
)%0A da
|
571b632a6dceb6035c2dec3c0392cdac10215fa2 | Increase version | djangocms_spa/__init__.py | djangocms_spa/__init__.py | __version__ = '0.1.1'
| Python | 0.000002 | @@ -12,11 +12,11 @@
= '0.1.
-1
+2
'%0A
|
65a069970435d012577a5e4f8971b1a91d9331a8 | Update to 0.3.34 | djconnectwise/__init__.py | djconnectwise/__init__.py | # -*- coding: utf-8 -*-
VERSION = (0, 3, 33, 'final')
# pragma: no cover
if VERSION[-1] != "final":
__version__ = '.'.join(map(str, VERSION))
else:
# pragma: no cover
__version__ = '.'.join(map(str, VERSION[:-1]))
default_app_config = 'djconnectwise.apps.DjangoConnectwiseConfig'
| Python | 0.000001 | @@ -35,17 +35,17 @@
(0, 3, 3
-3
+4
, 'final
|
e1b4a5bebe59ae502e46890f78e666cb50460774 | Update convert_b64.py | dlvm/tools/convert_b64.py | dlvm/tools/convert_b64.py | import base64
INPUT_FILE = 'image.jpg'
OUTPUT_FILE = '/tmp/image_b64.json'
"""Open image and convert it to Base64"""
with open(INPUT_FILE, 'rb') as f:
jpeg_bytes = base64.b64encode(f.read()).decode('utf-8')
predict_request = '{"image_bytes": {"b64": "%s"}}' % jpeg_bytes
# Write JSON to file
with open(OUTPUT_F... | Python | 0.000008 | @@ -139,25 +139,34 @@
E, 'rb') as
-f
+input_file
:%0A jpeg_byt
@@ -187,17 +187,26 @@
4encode(
-f
+input_file
.read())
@@ -348,16 +348,36 @@
as
-f:%0A f
+output_file:%0A output_file
.wri
|
23b247b5ba6f073a0a36708252fa6fd906ed5cfa | update renaming to natsort | funannotate/utilities/gff_reformat.py | funannotate/utilities/gff_reformat.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import argparse
from natsort import natsorted
from collections import OrderedDict
import funannotate.library as lib
def main(args):
# setup menu with argparse
class MyFormatter(argparse.ArgumentDefaultsHelpFormatter):
def __init__(self, prog):
... | Python | 0 | @@ -1612,16 +1612,19 @@
Genes =
+nat
sorted(i
@@ -1658,16 +1658,16 @@
rtDict)%0A
-
sort
@@ -1795,16 +1795,36 @@
ip('_')%0A
+ transcripts = 0%0A
for
@@ -2130,16 +2130,45 @@
, i+1))%0A
+ transcripts += 1%0A
@@ -2319,16 +2319,21 @@
renamed
+ %7B:,%7D
gene mo
@@ -2340,21 +2340,7... |
954e8b979fcb5a0a276c6dc56cce96904cb0198f | fix imports in token_sender | flow/commands/token_sender.py | flow/commands/token_sender.py | import logging
from flow.commands.base import CommandBase
from flow.petri.safenet import Token, SetTokenMessage
LOG = logging.getLogger(__name__)
class TokenSenderCommand(CommandBase):
def __init__(self, broker=None, storage=None, routing_key=None, exchange=None):
self.broker = broker
self.storag... | Python | 0.000002 | @@ -72,15 +72,15 @@
tri.
-safenet
+netbase
imp
|
bec5402ed810bb2a0c8e432096e26f4a17405b8c | refactor to use RequestFactory | api/tests/test_users_api.py | api/tests/test_users_api.py | import json
from api.tests.test_api import IntegrationTestAPICase
class IntegrationTestUserAPI(IntegrationTestAPICase):
def test_user_list(self):
self._login_user_and_profile()
response = self.client.get('/api/v1/users')
data = [{'username': u'bob', 'first_name': u'Bob', 'last_name': u''}... | Python | 0.000001 | @@ -36,27 +36,16 @@
import
-Integration
TestAPIC
@@ -52,35 +52,58 @@
ase%0A
-%0A%0Aclass Integration
+from api.views import UserViewSet%0A%0A%0Aclass
TestUser
API(
@@ -102,105 +102,171 @@
User
+s
API(
-IntegrationTestAPICase):%0A%0A def test_user_list(self):%0A self._login_user_and_profile(
+TestAPI... |
31524cc4eb9ebc7d0dd994757fa505647920c65c | fix eat | modules/mage.py | modules/mage.py | from modules.basemodule import BaseModule
import random
import re
import time
# start with at least 10 charisma, max int and wis
# At level 1, train scholar, practice write
# At level 2, write book
# At level 3, gain engraving and embroidering, prac herbology
# At level 4, gain combat log
#(# At level 5, gain organi... | Python | 0.000006 | @@ -5240,13 +5240,8 @@
': '
-sta%5Cn
eat
@@ -5245,23 +5245,16 @@
at bread
-%5Cnsleep
',%0A
@@ -5285,74 +5285,21 @@
': '
-stand%5Cnn%5Cndrink sink%5Cndrink sink%5Cndrink sink%5Cndrink sink%5Cns%5Cnsleep
+drink buffalo
',%0A
|
991dc8c75433f2c94950b55fbafc284d31c9b6c0 | Change section name | mongoshell.py | mongoshell.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import bson
from paste.deploy import loadapp
import pymongo # noqa
from openchordcharts_api import environment
from openchordcharts_api.model import Account, Chart # noqa
base_dir = os.path.abspath(os.path.dirname(__file__))
conf_file_name = 'production.i... | Python | 0.000001 | @@ -458,19 +458,20 @@
nfig:%7B%7D#
-api
+main
'.format
|
dfaa3fab2a6d0449fb5e6ab1c0d9c6dbf001dda7 | Update sequence_memory_apical_tiebreak.py | src/nupic/research/frameworks/htm/temporal_memory/sequence_memory_apical_tiebreak.py | src/nupic/research/frameworks/htm/temporal_memory/sequence_memory_apical_tiebreak.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2022, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | Python | 0.000002 | @@ -4797,30 +4797,24 @@
idates=self.
-newly_
active_cells
@@ -5108,30 +5108,24 @@
_input=self.
-newly_
active_cells
@@ -5355,22 +5355,16 @@
def get_
-newly_
active_c
@@ -5408,26 +5408,24 @@
n set of new
-ly
active cell
@@ -5464,14 +5464,8 @@
elf.
-newly_
acti
|
ccc6d652bf54a3cf97f4d9363268c13bb23acbdb | version update | mpf/_version.py | mpf/_version.py | """Version string of MPF.
This modules holds the MPF version strings, including the version of BCP it
needs and the config file version it needs.
It's used internally for all sorts of things, from printing the output of the
`mpf --version` command, to making sure any processes connected via BCP are
the proper version... | Python | 0.000001 | @@ -417,10 +417,10 @@
ev17
-27
+84
'%0A__
|
b0d8c25837e9c2ff1d5f482b58dd4710f0244571 | add mne_types - base types were made public in dev mne | mypy/utils.py | mypy/utils.py | import numpy as np
def do_not_warn():
'''turns off DeprecationWarnings as they can be
painful in the current jupyter notebook'''
import warnings
try:
from exceptions import DeprecationWarning # py2
except ImportError:
global DeprecationWarning
# from warnings import Depreca... | Python | 0 | @@ -5502,12 +5502,523 @@
n inst.info%0A
+%0A%0Adef mne_types():%0A import mne%0A types = dict()%0A isdev = mne.__version__.startswith('0.14.dev')%0A from mne.io.meas_info import Info%0A try:%0A from mne.io import _BaseRaw%0A from mne.epochs import _BaseEpochs%0A types%5B'raw'%5D = _... |
c529e63e36e7edd9dac174fdec6d1b565219deb2 | Tidy up record factory tests to PEP8 | test/test_record_factory.py | test/test_record_factory.py | '''
Created on 4 Jul 2011
@author: Will Rogers
Tests for the RecordFactory.
'''
import unittest
from apel.db.loader.record_factory import RecordFactory, RecordFactoryException
from apel.db.records import JobRecord
from apel.db.records import SummaryRecord
class Test(unittest.TestCase):
def setUp(self):
... | Python | 0.000001 | @@ -91,16 +91,17 @@
nittest%0A
+%0A
from ape
@@ -253,16 +253,17 @@
Record%0A%0A
+%0A
class Te
@@ -286,17 +286,16 @@
Case):%0A%0A
-%0A
def
@@ -376,48 +376,8 @@
()%0A%0A
-%0A def tearDown(self):%0A pass%0A%0A%0A
@@ -419,159 +419,91 @@
-%0A try:%0A self._rf.create_record... |
0ff24a91cb3f344d8725c0ec56248fee7a27b0be | Fix another test affected by the simple_table change | astropy/io/ascii/tests/test_ecsv.py | astropy/io/ascii/tests/test_ecsv.py | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This module tests some of the methods related to the ``ECSV``
reader/writer.
Requires `pyyaml <http://pyyaml.org/>`_ to be installed.
"""
import os
import copy
import sys
import numpy as np
from ....table import Table, Column
from ....table.table_h... | Python | 0.000002 | @@ -1380,18 +1380,18 @@
ype: int
-32
+64
%7D',%0A
@@ -1432,18 +1432,18 @@
e: float
-32
+64
%7D',%0A
|
7df49846779392fef9bbb9f5387cfe5bc53b73ec | Update individual.py | src/individual.py | src/individual.py | import src.constants as c
from src.allele import Allele
class Individual(object):
def __init__(self, loci):
self.alleles = loci.alleles
def get_genotype(self):
result = ''
for a in self.alleles:
result = result + a.name
return result
def get_fitness(self):
... | Python | 0 | @@ -1,12 +1,37 @@
+# -*- coding: utf-8 -*-%0A%0A
import src.c
|
057d4fa9e679223a8bb6f80a02c2f17df3b97cef | Add an additional sub-command "all" to showme plugin retrieving all available sources. | hangupsbot/plugins/showme/__init__.py | hangupsbot/plugins/showme/__init__.py | """
"showme" function to retrieve snapshots from security cameras or other URL's accessible to the hangupsbot server and
sent them to the user.
Config must specify aliases and urls which should include any nessisary auth.
"""
__LICENSE__ = """
The BSD License
Copyright (c) 2015, Daniel Casner
All rights reserved.
Red... | Python | 0 | @@ -1906,16 +1906,730 @@
ired')%0A%0A
+def sendSource(bot, event, name, imgLink):%0A logger.info(%22Getting %7B%7D%22.format(imgLink))%0A r = yield from aiohttp.request(%22get%22, imgLink)%0A raw = yield from r.read()%0A contentType = r.headers%5B'Content-Type'%5D%0A logger.info(%22%5CtContent-type: %7B... |
aaaa175b66f2b335023433a3c40635388b98c489 | annotate `computer_vision` (#5571) | computer_vision/harris_corner.py | computer_vision/harris_corner.py | import cv2
import numpy as np
"""
Harris Corner Detector
https://en.wikipedia.org/wiki/Harris_Corner_Detector
"""
class Harris_Corner:
def __init__(self, k: float, window_size: int):
"""
k : is an empirically determined constant in [0.04,0.06]
window_size : neighbourhoods considered
... | Python | 0.000001 | @@ -502,16 +502,23 @@
__(self)
+ -%3E str
:%0A%0A
@@ -609,16 +609,51 @@
th: str)
+ -%3E tuple%5Bcv2.Mat, list%5Blist%5Bint%5D%5D%5D
:%0A%0A
@@ -895,16 +895,33 @@
ner_list
+: list%5Blist%5Bint%5D%5D
= %5B%5D%0A
|
51b50b127bc0e08ca38f0ba0fdf7b8aec35cad56 | fix syntax | src/api.py | src/api.py | #!/usr/bin/env python
# =============================================================================
# file = api.py
# description = System Information API
# author = GR <https://github.com/shortdudey123>
# create_date = 2014-07-25
# mod_date = 2014-07-25
# version = 0.1
# usage =
# notes =
# python_ver = 2.7.6
# ===... | Python | 0.000023 | @@ -850,33 +850,34 @@
n sysData.keys()
+:
%0A
-
retu
@@ -917,32 +917,33 @@
%5D%7D)%0A else
+:
%0A ret
@@ -1153,20 +1153,19 @@
, python
-Info
+Req
):%0A
@@ -1216,20 +1216,19 @@
f python
-Info
+Req
in pyth
@@ -1240,16 +1240,17 @@
a.keys()
+:
%0A
@@ -1276,20 +1276,19 @... |
81288cc988cad7f1d5886eea1df01f7e39fe6729 | Remove netgear discovery hack | homeassistant/components/discovery.py | homeassistant/components/discovery.py | """
homeassistant.components.discovery
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Starts a service to scan in intervals for new devices.
Will emit EVENT_PLATFORM_DISCOVERED whenever a new service has been discovered.
Knows which components handle certain types, will make sure they are
loaded before the EVENT_PLATFORM_DISCOV... | Python | 0 | @@ -2206,281 +2206,8 @@
rn%0A%0A
- # Hack - fix when device_tracker supports discovery%0A if service == SERVICE_NETGEAR:%0A bootstrap.setup_component(hass, component, %7B%0A 'device_tracker': %7B'platform': 'netgear'%7D%0A %7D)%0A re... |
78a03f0b0cbc948a6c9fb215e9051d099c528a82 | Change page title and heading | src/app.py | src/app.py | from flask import Flask
from flask import render_template, url_for
import parse_data
app = Flask(__name__)
@app.route("/dashboard")
def dashboard():
data = parse_data.load_and_format_data()
title = 'Grand Bargain Monitoring'
return render_template('dashboard.html', data=data, heading=title, page_title... | Python | 0.000001 | @@ -223,18 +223,30 @@
ain
-Monitoring
+Transparency Dashboard
'%0A%0A
|
fa3626c0dab4befc217ef4c5558ff0b37390a8bc | Update contrib/linux/actions/service.py to work for CentOS Stream | contrib/linux/actions/service.py | contrib/linux/actions/service.py | #!/usr/bin/env python
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, 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/... | Python | 0 | @@ -2337,22 +2337,16 @@
%22CentOS
- Linux
%22)%0A o
|
a3feca50082d190eb39969b6494f651d9c0e58a8 | remove link to private documentation | asynq/__init__.py | asynq/__init__.py | # Copyright 2016 Quora, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | Python | 0 | @@ -707,75 +707,8 @@
s.%0A%0A
-For usage documentation, see:%0Ahttps://quora.quip.com/5tbJAZlr5fGH%0A%0A
%22%22%22%0A
|
1f080fb940a74587addfcbd29b9b5d8534bd8719 | Fix autoflush IntegrityError in layout cloning | indico/modules/events/layout/clone.py | indico/modules/events/layout/clone.py | # This file is part of Indico.
# Copyright (C) 2002 - 2021 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from indico.core.db import db
from indico.core.db.sqlalchemy.util.models import get_simple_column_attrs
fr... | Python | 0.000001 | @@ -1893,32 +1893,74 @@
_exists=False):%0A
+ with db.session.no_autoflush:%0A
for col
@@ -2022,24 +2022,28 @@
ylesheet'):%0A
+
|
e97dc71511edc9f835a183ad3d674ca7e15d55b6 | Add initial argparser entry point | atlas/__init__.py | atlas/__init__.py | from version import __version__
| Python | 0 | @@ -1,32 +1 @@
-from version import __version__
%0A
|
e115abbc38061739b628c06ace449603470744f4 | Remove logger exception | indra/preassembler/ontology_mapper.py | indra/preassembler/ontology_mapper.py | import os
import rdflib
import logging
logger = logging.getLogger(__name__)
class OntologyMapper(object):
"""A class to map between ontologies in grounded arguments of Statements.
Parameters
----------
statements : list[indra.statement.Statement]
A list of INDRA Statements to map
mappin... | Python | 0.000003 | @@ -6183,28 +6183,4 @@
%5B%5D%0A
- logger.exception(e)%0A
|
03f6bcd6e3188d8dc92f2aa9c4d79206b0c4905f | add checking for input files creation | autoqm/creator.py | autoqm/creator.py | import re
import os
from rdkit import Chem
from rdkit.Chem import AllChem
from rmgpy.molecule import Molecule
import autoqm.utils
import autoqm.connector
# connect to central database registration table
auth_info = autoqm.utils.get_TCD_authentication_info()
tcdi = autoqm.connector.ThermoCentralDatabaseInterface(*aut... | Python | 0.000001 | @@ -3662,28 +3662,483 @@
cript(spec_name, spec_path)%0A
+%0A%09%09# check input and submission files %0A%09%09# are created indeed and%0A%09%09# change the status to job_created%0A%09%09inp_file = os.path.join(spec_path, 'input.inp')%0A%09%09submission_script_path = os.path.join(spec_path, 'submit.sl')%0A%09%09if os.p... |
a146383914fa687c5859f2247376afa549c61c16 | Fix arguments to admissions and census | src/cli.py | src/cli.py | """Command line interface."""
from argparse import (
Action,
ArgumentParser,
)
from datetime import datetime
from pandas import DataFrame
from penn_chime.parameters import Parameters
from penn_chime.utils import RateLos
from penn_chime.models import build_admissions_df, build_census_df
class FromFile(Action... | Python | 0.999087 | @@ -3549,16 +3549,17 @@
%7D%0A )%0A
+%0A
admi
@@ -3591,32 +3591,8 @@
df(p
-.n_days, *p.dispositions
)%0A
@@ -3636,26 +3636,9 @@
df,
-*p.lengths_of_stay
+p
)%0A%0A
|
4c0d73e76e124456b1b105630364315c695d1489 | Return ModelDict istead of dict when expanding | bananas/models.py | bananas/models.py | import math
import base64
import os
import uuid
import binascii
from itertools import chain
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
MISSING = object()
class ModelDict(dict):
_nested = None
def __getattr__(self... | Python | 0.000001 | @@ -2268,17 +2268,22 @@
return
-d
+ModelD
ict(self
|
a5b5831d2876b2093c5bfd6b09a7ac9c7d32101a | Switch "beet info --album" approach to use a named argument instead | beetsplug/info.py | beetsplug/info.py | # This file is part of beets.
# Copyright 2016, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, ... | Python | 0 | @@ -858,30 +858,24 @@
ef tag_data(
-opts,
lib, args):%0A
@@ -867,24 +867,37 @@
ta(lib, args
+, album=False
):%0A query
@@ -2013,22 +2013,16 @@
ry_data(
-opts,
lib, arg
@@ -2018,24 +2018,37 @@
ta(lib, args
+, album=False
):%0A for i
@@ -2074,21 +2074,16 @@
rgs) if
-opts.
album el
@@ -6276,21 +6276,32 ... |
0f20651f8b0aea2c4104d3f844366b5cf1b16b8b | Support commands with options in play plugin | beetsplug/play.py | beetsplug/play.py | # This file is part of beets.
# Copyright 2014, David Hamp-Gonsalves
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, c... | Python | 0.000046 | @@ -896,16 +896,29 @@
logging%0A
+import shlex%0A
from tem
@@ -1138,47 +1138,109 @@
c
-ommand = config%5B'play'%5D%5B'command'%5D.get(
+md = %5B%5D%0A%0A for part in shlex.split(config%5B'play'%5D%5B'command'%5D.get(unicode)):%0A cmd.append(part
)%0A%0A
@@ -1328,21 +1328,17 @@
if not c
-omman
+m
d:%... |
e2a8b1d466152791040b0bd390c2504fc1de81f7 | make comments optional | autobahn/wamp/cryptosign.py | autobahn/wamp/cryptosign.py | ###############################################################################
#
# The MIT License (MIT)
#
# Copyright (c) Tavendo GmbH
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software with... | Python | 0 | @@ -2916,32 +2916,37 @@
ilename, comment
+=None
):%0A %22%22%22%0A
@@ -3511,16 +3511,21 @@
comment
+=None
):%0A
|
b100474ff7cf229f43e1bec314dc6ad548553841 | decrease verbosity | C4GD_web/flask_memcache_session.py | C4GD_web/flask_memcache_session.py | # credits to https://github.com/unk2k/
import os
import flask
class SessionData(dict, flask.sessions.SessionMixin):
pass
class Session(flask.sessions.SessionInterface):
session_class = SessionData
def open_session(self, app, request):
self.cookie_session_id = request.cookies.get(
a... | Python | 0.000106 | @@ -684,78 +684,8 @@
)%0A
- app.logger.debug('Open session %25s', self.memcache_session_id)%0A
@@ -1431,111 +1431,4 @@
in)%0A
- app.logger.debug(%0A 'Set session %25s with %25s', self.memcache_session_id, session)%0A
|
c9ebc3556572e1fa905949c48ac74e58d3a71521 | fix quickstart | gengine/scripts/quickstart.py | gengine/scripts/quickstart.py | # -*- coding: utf-8 -*-
import os
import sys
import gengine
import shutil
def usage(argv):
cmd = os.path.basename(argv[0])
print('usage: %s <directory>\n' % (cmd,))
sys.exit(1)
def copyDirectory(src, dest):
try:
shutil.copytree(src, dest)
except shutil.Error as e:
print('Error: %s... | Python | 0.000013 | @@ -632,16 +632,24 @@
_%5B0%5D), %22
+gengine_
quicksta
@@ -797,8 +797,9 @@
exists%22
+%0A
|
ad002ceb76e978b45cc481558b319c1e8722aa4c | return to previous allowed hosts | geoconnect/settings/heroku.py | geoconnect/settings/heroku.py | """Production settings and globals."""
from __future__ import absolute_import
import os
from os.path import join
from .base import *
########## SECRET CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = os.environ['SECRET_KEY']
########## END SECRET CONFIGURATION
DEBUG ... | Python | 0 | @@ -3245,16 +3245,17 @@
headers%0A
+#
ALLOWED_
@@ -3301,17 +3301,16 @@
#'*',%0A%0A
-#
ALLOWED_
|
15f51604f82b88ba5a25f04e9c610971f55d0b5a | Fix use of deprecated pandas.core.common | ggplotx/stats/stat_boxplot.py | ggplotx/stats/stat_boxplot.py | from __future__ import (absolute_import, division, print_function,
unicode_literals)
import numpy as np
import pandas as pd
import pandas.core.common as com
from matplotlib.cbook import boxplot_stats
from ..utils import resolution
from ..utils.doctools import document
from .stat import stat
... | Python | 0.000078 | @@ -160,26 +160,28 @@
das.
-core.common as com
+api.types as pdtypes
%0Afro
@@ -1244,19 +1244,23 @@
if
-com
+pdtypes
.is_cate
|
609d1e2820268831b2dcddb28f8f44e514e1ae0a | Add an endpoint to poll for notifications | girder/api/v1/notification.py | girder/api/v1/notification.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright 2013 Kitware 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 cop... | Python | 0 | @@ -2131,16 +2131,57 @@
.stream)
+%0A self.route('GET', (), self.list)
%0A%0A @a
@@ -4553,8 +4553,742 @@
reamGen%0A
+%0A @access.cookie%0A @access.token%0A @autoDescribeRoute(%0A Description('List notification events')%0A .notes('This endpoint can be used for manual long-polling when... |
a7f79a984f632bd39dd7bc820f6e51943da42f3f | remove pdb | golive/management/__init__.py | golive/management/__init__.py | from django.core.management import BaseCommand
from fabric.state import output
import sys
from golive.stacks.stack import StackFactory
import yaml
class CoreCommand(BaseCommand):
env_id = '<env_id>'
help = 'Manage the given environment'
output['stdout'] = False
def get_config_value(self, key):
... | Python | 0.000024 | @@ -698,44 +698,8 @@
CK'%5D
-%0A import pdb; pdb.set_trace()
%0A%0A
|
5e532752bf9d16016fec1b7485ced92974f2fbcb | Fix typo in debug line | src/orca/sound.py | src/orca/sound.py | # Orca
#
# Copyright 2016 Orca Team.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is dist... | Python | 0.000685 | @@ -1532,10 +1532,10 @@
O, m
-SG
+sg
, Tr
|
a4a457c301fadec2e59aa973aa775a9863373ce2 | fix pep8 error | src/parser/box.py | src/parser/box.py | """(c) All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2017"""
from utils import Utils
import xml.dom
class Box:
"""A Jahia Box. Can be of type text, infoscience, etc."""
# WP box types
TYPE_TEXT = "text"
TYPE_COLORED_TEXT = "coloredText"
TYPE_INFOSCIENCE = "info... | Python | 0.000001 | @@ -118,23 +118,8 @@
ils%0A
-import xml.dom%0A
%0A%0Acl
|
ab273079a494827e085fed2f6fdf548992df3183 | Update population.py | src/population.py | src/population.py | # -*- coding: utf-8 -*-
import src.constants as c
from src.allele import Allele
from src.locus import Locus
from src.individual import Individual
class Population(object):
def __init__(self, size=10):
self.size = size
def create_population(self):
individuals = []
for i in range(0, se... | Python | 0.000001 | @@ -915,71 +915,8 @@
n()%0A
- print ('individuals is none, setting that up...')%0A%0A
|
ed426657b252fcfd141ae84c4df851b902eba035 | print nicer message on network error conditions | httpproxy.py | httpproxy.py | #!/usr/bin/env python
# Copyright 2010 Google Inc. 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... | Python | 0.004922 | @@ -1021,24 +1021,35 @@
quest.host)%0A
+ try:%0A
connecti
@@ -1085,25 +1085,16 @@
ost_ip)%0A
- try:%0A
co
@@ -2027,16 +2027,27 @@
ponse):%0A
+ try:%0A
self
@@ -2099,16 +2099,18 @@
on)%0A
+
for head
@@ -2138,32 +2138,34 @@
.headers:%0A
+
+
self.send_header
@@ -2180,24 +... |
953e885fdc88f1a4aaa3bf9c228ff3e4c6a871c8 | Change socket type in nova.utils.get_my_ip() to SOCK_DGRAM. This way, we don't actually have to set up a connection. Also, change the destination host to an IP (chose one of Google's DNS's at random) rather than a hostname, so we avoid doing a DNS lookup. | nova/utils.py | nova/utils.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compli... | Python | 0 | @@ -4800,12 +4800,11 @@
OCK_
-STRE
+DGR
AM)%0A
@@ -4831,22 +4831,15 @@
t(('
-www.google.com
+8.8.8.8
', 8
|
e8253992eb284a9de2ce765b6cba421be25556a6 | Update jukebar.py | Jukebar/jukebar.py | Jukebar/jukebar.py | """
The Jukebar library.
"""
import os
import threading
from random import randint
from time import sleep
import psutil
import platform
from kivy.core.audio import SoundLoader
musics = []
MUSIC_DIRECTORY = "interrupt_songs"
class JukebarMixerAbstract(object):
"""
Base mixer class with simple mixer actions... | Python | 0 | @@ -115,16 +115,32 @@
psutil%0A
+from kivy.utils
import p
@@ -3029,29 +3029,16 @@
form
-.system()
== %22
-W
+w
in
-dows
%22:%0A
@@ -3088,34 +3088,54 @@
ows()%0A el
-se
+if platform == %22linux%22
:%0A ju
@@ -3168,16 +3168,103 @@
Linux()%0A
+ elif platform == %22android%22:%0A ... |
6c50b37c0b60219837f940d044542f4032a4436b | undo change to get_my_ip | nova/utils.py | nova/utils.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compli... | Python | 0.000002 | @@ -4132,13 +4132,12 @@
-''' r
+%22%22%22R
etur
@@ -4178,39 +4178,11 @@
ine.
-%0A '''%0A return '127.0.0.1'
+%22%22%22
%0A
|
8b9f1fb8163807cd597d7b84e9816ced1436bc29 | remove field telemetry from application_container_prototype | cc_server/scheduling.py | cc_server/scheduling.py | from cc_server.scheduling_strategies.container_allocation import binpack, spread
from cc_server.scheduling_strategies.task_selection import FIFO
from cc_server.scheduling_strategies.caching import OneCachePerTaskNoDuplicates
from cc_server.helper import generate_secret
def application_container_prototype(container_ra... | Python | 0.000001 | @@ -563,35 +563,8 @@
(),%0A
- 'telemetry': None,%0A
|
82eacf3c8ebfbe4185768e54fc443f088336747b | Use commit time, not author time. | asv/repo.py | asv/repo.py | # -*- coding: utf-8 -*-
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import datetime
import os
from .console import console
from . import util
class Repo(object):
def __init__(self, ... | Python | 0 | @@ -1361,17 +1361,17 @@
format:%25
-a
+c
t'%5D).str
|
9172bea5e6698e7c1848111b703656e12ee475f0 | fix coding style : add newlines | buildtimetrend/settings.py | buildtimetrend/settings.py | # vim: set expandtab sw=4 ts=4:
'''
Manages settings of buildtime trend
Copyright (C) 2014 Dieter Adriaenssens <ruleant@users.sourceforge.net>
This file is part of buildtime-trend
<https://github.com/ruleant/buildtime-trend/>
This program is free software: you can redistribute it and/or modify
it under the terms of ... | Python | 0.000111 | @@ -868,16 +868,17 @@
TY = 1%0A%0A
+%0A
def get_
@@ -1325,16 +1325,17 @@
%0A %7D%0A%0A
+%0A
def prin
|
5583cbbe8e57c7fad59068a91c7f3fb7b487e928 | check path exists before removal | cct/lib/jboss_module.py | cct/lib/jboss_module.py | """
Copyright (c) 2015 Red Hat, Inc
All rights reserved.
This software may be modified and distributed under the terms
of the MIT license. See the LICENSE file for details.
"""
import logging
from cct.errors import CCTError
from cct.module import Module
from subprocess import PIPE, Popen
import os
import tempfile
impo... | Python | 0 | @@ -3016,80 +3016,131 @@
-shutil.rmtree(self.jboss_home + %22/standalone/log%22)%0A shutil.rmtree
+for part in %5B%22log%22, %22data%22, %22tmp/vfs%22, %22tmp/work%22, %22configuration/standalone_xml_history%22%5D:%0A path = os.path.join
(sel
@@ -3143,37 +3143,35 @@
(self.jboss_home
- +
+,
%... |
8a8ba49da411b6bd75de30f15e67b65312a8e408 | Fix donate emails | cendr/views/about_us.py | cendr/views/about_us.py | from cendr import app, json_serial, cache, get_ds, add_to_order_ws, send_mail
from flask import render_template, url_for, Markup, request, redirect
import markdown
import yaml
import json
from cendr.models import strain, report, mapping, trait
from cendr.emails import donate_submission
from collections import OrderedDi... | Python | 0.000001 | @@ -3548,56 +3548,37 @@
m%22:%22
-CeNDR %3Candersen-lab@appspot.gserviceaccount.com%3E
+no-reply@elegansvariation.org
%22,%0A
|
74355ef6262b5e464ea123915244af6499cb9013 | Tweak install source handling to deal with deb source lines correct | hooks/lib/openstack_common.py | hooks/lib/openstack_common.py | #!/usr/bin/python
# Common python helper functions used for OpenStack charms.
import subprocess
CLOUD_ARCHIVE_URL = "http://ubuntu-cloud.archive.canonical.com/ubuntu"
CLOUD_ARCHIVE_KEY_ID = '5EDB1B62EC4926EA'
ubuntu_openstack_release = {
'oneiric': 'diablo',
'precise': 'essex',
'quantal': 'folsom'
}
o... | Python | 0 | @@ -3399,25 +3399,25 @@
elif rel%5B:
-4
+3
%5D == %22deb:%22:
@@ -3413,17 +3413,16 @@
== %22deb
-:
%22:%0A
|
51e8ed640234855a2569ce7542868dbdc247e531 | remove unnecessary print stmt | proj_mgmt/py_build_tools/copy_system_library_to_xalt.py | proj_mgmt/py_build_tools/copy_system_library_to_xalt.py | #!/bin/sh
# -*- python -*-
################################################################################
# This file is python bilingual: The next line starts a comment in Python,
# and is a no-op in shell
""":"
# Find a suitable python interpreter (adapt for your specific needs)
for cmd in python3 python python2;... | Python | 0.000057 | @@ -2998,33 +2998,8 @@
eA:%0A
- print(%22Finding %22+fn)%0A
@@ -3055,16 +3055,17 @@
toring %22
++
fn+%22:%22)%0A
|
1c86a1e4b4f01fc131cc7e12f968fb220fe2ff7a | Add a few more examples in the generated new-project template | chalice/cli/__init__.py | chalice/cli/__init__.py | """Command line interface for chalice.
Contains commands for deploying chalice.
"""
import os
import json
import datetime
import click
import botocore.exceptions
from chalice import deployer
TEMPLATE_APP = """\
from chalice import Chalice
app = Chalice(app_name='%s')
@app.route('/')
def index():
return {'he... | Python | 0 | @@ -329,16 +329,671 @@
orld'%7D%0A%0A
+%0A# The view function above will return %7B%22hello%22: %22world%22%7D%0A# whenver you make an HTTP GET request to '/'.%0A#%0A# Here are a few more examples:%0A#%0A# @app.route('/hello/%7Bname%7D')%0A# def hello_name(name):%0A# # '/hello/james' -%3E %7B%22hello%22: %22james%2... |
242b0cdcdfa3ebb5a5691b964cbb256de09534ee | Add CLI function for illumination correction | husc/main.py | husc/main.py | import argparse
parser = argparse.ArgumentParser(description="Run the HUSC functions.")
subpar = parser.add_subparsers()
stitch = subpar.add_parser('stitch',
help="Stitch four quadrants into one image.")
stitch.add_argument('quadrant_image', nargs=4, metavar='IM',
hel... | Python | 0 | @@ -1,19 +1,194 @@
-import argparse
+#!/bin/env python%0A%0A# standard library%0Aimport os%0Aimport sys%0Aimport argparse%0A%0A# dependencies%0Afrom skimage import io as skimio%0A%0A# local imports%0Afrom . import preprocess as pre%0Afrom . import io%0A
%0A%0Apa
@@ -438,16 +438,17 @@
nt_image
+s
', nargs
@@ -1054,19... |
490965283e284cc244d223c6cfbd0064e0cc4f82 | Create "tmp" in $ACSDATA if it does not exist. | LGPL/CommonSoftware/acsutilpy/src/AcsutilPy/AcsInstanceLockHelper.py | LGPL/CommonSoftware/acsutilpy/src/AcsutilPy/AcsInstanceLockHelper.py | #! /usr/bin/env python
#*******************************************************************************
# ALMA - Atacama Large Millimiter Array
# Copyright (c) European Southern Observatory, 2014
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Pu... | Python | 0.000059 | @@ -1124,16 +1124,28 @@
exists %0A
+import stat%0A
from sub
@@ -2602,16 +2602,194 @@
Folder)%0A
+ mask=stat.S_IRUSR%7Cstat.S_IXUSR%7Cstat.S_IWUSR%0A mask=mask%7Cstat.S_IRGRP%7Cstat.S_IWGRP%7Cstat.S_IXGRP%0A mask=mask%7Cstat.S_IROTH%7Cstat.S_IWOTH%7Cstat.S_IXOTH%0A
@@ -2829,... |
56a653806f72d701132a930d7583397aba152120 | Add hosts to the admin. | avalonstar/apps/broadcasts/admin.py | avalonstar/apps/broadcasts/admin.py | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Broadcast, Highlight, Raid, Series
class HighlightInline(admin.StackedInline):
extra = 1
model = Highlight
class RaidInline(admin.TabularInline):
extra = 1
model = Raid
class BroadcastAdmin(admin.ModelAdmin):
inlines... | Python | 0 | @@ -92,16 +92,22 @@
ghlight,
+ Host,
Raid, S
@@ -196,16 +196,88 @@
light%0A%0A%0A
+class HostInline(admin.TabularInline):%0A extra = 1%0A model = Host%0A%0A%0A
class Ra
@@ -1301,24 +1301,154 @@
ghtAdmin)%0A%0A%0A
+class HostAdmin(admin.ModelAdmin):%0A list_display = %5B'timestamp', 'hoster', 'broadcast'%... |
745f60346492d75791d3e005517e07aea7f42273 | Update README introduction. | generate-readme.py | generate-readme.py | #!/usr/bin/env python3
__author__ = ['[Brandon Amos](http://github.com/bamos)']
__date__ = '2015.03.27'
"""
Generates the README for
[bamos/python-scripts](https://github.com/bamos/python-scripts).
Script descriptions are obtained by parsing the docstrings.
"""
import ast
import glob
import os
from jinja2 import Tem... | Python | 0 | @@ -666,155 +666,19 @@
ux.%0A
-I have these added to my %60PATH%60%0A%5Bvariable%5D(https://wiki.archlinux.org/index.php/Environment_variables)%0Ato run from anywhere.%0AThe script contents in
+Portions of
thi
@@ -690,19 +690,12 @@
DME
-have been%0A%5B
+are
auto
@@ -713,16 +713,41 @@
enerated
+ with%0A%5Bgenera... |
f3d22cd9944eba42357e8d6a7686372b8b1ac2d5 | Improve error messages | Lib/collections.py | Lib/collections.py | __all__ = ['deque', 'defaultdict', 'named_tuple']
from _collections import deque, defaultdict
from operator import itemgetter as _itemgetter
import sys as _sys
def named_tuple(typename, field_names, verbose=False):
"""Returns a new subclass of tuple with named fields.
>>> Point = named_tuple('Point', 'x y')
... | Python | 0.000014 | @@ -1297,23 +1297,20 @@
-if not ''.join(
+for name in
(typ
@@ -1322,33 +1322,53 @@
,) + field_names
-)
+:%0A if not name
.replace('_', ''
@@ -1380,32 +1380,36 @@
lnum():%0A
+
raise ValueError
@@ -1493,17 +1493,155 @@
erscores
-'
+: %25r' %25 name)%0A if name%5B0%5D.isdigit():%0A ... |
3714046a39b9345fd498c46d9e6507433cce7e97 | Update reference to example metadata file that was moved | augur/io.py | augur/io.py | #!/usr/bin/env python3
"""Interfaces for reading and writing data also known as input/output (I/O)
"""
import Bio.SeqIO
import Bio.SeqRecord
import sys
from contextlib import contextmanager
import pandas as pd
from pathlib import Path
from xopen import xopen
@contextmanager
def open_file(path_or_buffer, mode="r", **k... | Python | 0 | @@ -1665,32 +1665,37 @@
nctional/filter/
+data/
metadata.tsv%22).i
@@ -1850,32 +1850,37 @@
nctional/filter/
+data/
metadata.tsv%22, i
@@ -2336,16 +2336,21 @@
/filter/
+data/
metadata
|
6b7e32c98fa8a11dcd7bbbadaa2a057e4ff0ce90 | Add function to create name strings with random characters | f5_os_test/__init__.py | f5_os_test/__init__.py | # Copyright 2016 F5 Networks 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 writi... | Python | 0.000076 | @@ -578,26 +578,670 @@
.%0A#%0A
-__version__ = '0.2.0'
+%0Aimport random%0Aimport string%0A%0A__version__ = '0.2.0'%0A%0A%0Adef random_name(prefix, N):%0A %22%22%22Creates a name with random characters.%0A%0A Returns a new string created from an input prefix appended with a set of%0A random characters. The nu... |
9f36a64c1af3f41aadd79f412217285ad2d1a533 | Create missing baseline/output directories | needle/cases.py | needle/cases.py | # encoding: utf-8
from __future__ import absolute_import
from contextlib import contextmanager
import os
import subprocess
import sys
if sys.version_info > (2, 7):
from unittest import TestCase
else:
from unittest2 import TestCase
from PIL import Image
from needle.diff import ImageDiff
from needle.driver im... | Python | 0.000015 | @@ -2177,24 +2177,215 @@
seline')))%0A%0A
+ for i in (self.baseline_directory, self.output_directory):%0A if not os.path.exists(i):%0A print %3E%3Esys.stderr, %22Creating %25s%22 %25 i%0A os.makedirs(i)%0A%0A
def asse
|
8d8a1bed6e24470e4a8fee49f0ee2790237408b2 | Add heroku domain host | backend/durhack/durhack/settings.py | backend/durhack/durhack/settings.py | """
Django settings for durhack project.
Generated by 'django-admin startproject' using Django 1.10.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os... | Python | 0 | @@ -909,16 +909,49 @@
OSTS = %5B
+%22.herokuapp.com%22,%22.ohmgeek.co.uk%22
%5D%0A%0A%0A# Ap
|
da844669765e0d15e565e4b1e02b772c064f2655 | add a quick_exit widget to __init__.py to pass the static checker(mypy). | libqtile/widget/__init__.py | libqtile/widget/__init__.py | # Copyright (c) 2014 Rock Neurotiko
# Copyright (c) 2014 roger
# Copyright (c) 2015 David R. Andersen
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without ... | Python | 0 | @@ -1599,24 +1599,72 @@
noqa: F401%0A
+from .quick_exit import QuickExit # noqa: F401%0A
from .systra
|
5136de58efd0a8cef7802926d2076e00d9372b99 | change python interpreter to linux | Modules/mailman.py | Modules/mailman.py | #!C:\Python27\python.exe
# coding:utf-8
__author__ = 'Jailman'
import smtplib
from email.mime.text import MIMEText
class MailToWarn():
def __init__(self, mailto_list, mail_host, mail_user, mail_pass):
self.mailto_list = mailto_list
self.mail_host = mail_host
self.mail_user = mail_user
... | Python | 0.999638 | @@ -1,28 +1,21 @@
#!
-C:%5CPython27%5C
+/usr/bin/
python
-.exe
%0A# c
|
28df33d6383c680673351ea8fc8136bfef75c3f5 | Add a test for `identity_wrapper`. | tests/test_generic_decorators.py | tests/test_generic_decorators.py | __author__ = "John Kirkham <kirkhamj@janelia.hhmi.org>"
__date__ = "$Mar 25, 2015 13:30:52 EDT$"
import functools
import nanshe.nanshe.generic_decorators
class TestGenericDecorators(object):
def test_update_wrapper(self):
def wrapper(a_callable):
def wrapped(*args, **kwargs):
... | Python | 0 | @@ -1323,32 +1323,410 @@
unc_wrapped_2%0A%0A%0A
+ def test_identity_wrapper(self):%0A def func(a, b=2):%0A return(a + b)%0A%0A func_wrapped = nanshe.nanshe.generic_decorators.identity_wrapper(%0A func%0A )%0A%0A assert func_wrapped != func%0A assert not hasat... |
664159deda99c33db2471cd9fcbfa25297d6f793 | replace tab with spaces (came from my windows machine, bah) | testing/test_termination.py | testing/test_termination.py |
import sys, os
import execnet
import time
import subprocess
import py
from execnet.threadpool import WorkerPool
queue = py.builtin._tryimport('queue', 'Queue')
from testing.test_gateway import TESTTIMEOUT
execnetdir = py.path.local(execnet.__file__).dirpath().dirpath()
def test_exit_blocked_slave_execution_gateway(an... | Python | 0 | @@ -2124,17 +2124,24 @@
popen%22)%0A
-%09
+
print (%22
@@ -2198,17 +2198,24 @@
(num=2)%0A
-%09
+
print (%22
@@ -2271,33 +2271,40 @@
nel.receive()%22)%0A
-%09
+
print (%22remote_e
@@ -2364,9 +2364,16 @@
)%22)%0A
-%09
+
prin
|
a596b8724bf422b945fdf3bb2ba76acfcd32c1b3 | Improve error message when less is not installed | doc/build.py | doc/build.py | #!/usr/bin/env python2
# Build the documentation.
from __future__ import print_function
import os, shutil, tempfile
from subprocess import check_call, check_output, CalledProcessError, Popen, PIPE
from distutils.version import LooseVersion
def pip_install(package, commit=None, **kwargs):
"Install package using pip.... | Python | 0.000001 | @@ -88,16 +88,23 @@
n%0Aimport
+ errno,
os, shu
@@ -107,16 +107,21 @@
shutil,
+ sys,
tempfil
@@ -3237,16 +3237,25 @@
html'%5D)%0A
+ try:%0A
check_
@@ -3284,16 +3284,18 @@
n-css',%0A
+
@@ -3370,16 +3370,18 @@
+
+
os.path.
@@ -3427,16 +3427,18 @@
+
'html/_s
@@ -3460,16... |
4910c085e7adda84ec05d5d3d002f01b2bc838ec | Update refs to _loop after making it module scoped. | bluesky/callbacks/zmqsub.py | bluesky/callbacks/zmqsub.py | import multiprocessing
import ast
import zmq
import zmq.asyncio
import asyncio
import time
from ..utils import expiring_function
from ..run_engine import Dispatcher, DocumentNames
_loop = zmq.asyncio.ZMQEventLoop()
asyncio.set_event_loop(_loop)
class RemoteDispatcher(Dispatcher):
def __init__(self, host, port, ... | Python | 0 | @@ -2744,37 +2744,32 @@
al(doc)%0A
-self.
_loop.create_tas
@@ -3051,37 +3051,32 @@
-self.
_loop.call_soon(
@@ -3421,21 +3421,16 @@
rocess,
-self.
_loop,%0A
@@ -3508,29 +3508,24 @@
-self.
_loop.call_s
@@ -3593,29 +3593,24 @@
f):%0A
-self.
_loop.create
@@ -3637,21... |
37a3ddcb4366e94e0ca78675e2545f889138c11f | Update fastai/_pytorch_doc.py | fastai/_pytorch_doc.py | fastai/_pytorch_doc.py | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/99_pytorch_doc.ipynb (unless otherwise specified).
__all__ = ['PYTORCH_URL', 'pytorch_doc_link']
# Cell
from types import ModuleType
# Cell
PYTORCH_URL = 'https://pytorch.org/docs/stable/'
# Cell
def _mod2page(
mod:ModuleType, # A PyTorch module
) -> str:
"Get... | Python | 0 | @@ -321,17 +321,16 @@
the web
-
page nam
@@ -337,19 +337,19 @@
e for a
-pyt
+PyT
orch mod
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.