code stringlengths 10 805k | def_use_chains listlengths 0 667 |
|---|---|
"""
MD Analysis
===========
#. :class:`.MDAnalysis`
Class for converting a molecule to and back from an MDAnalysis object.
"""
import logging
from ...utilities import WrapperNotInstalledException
try:
import MDAnalysis as mda
except ModuleNotFoundError:
mda = None
logger = logging.getLogger(__name__)
c... | [
[
[
138,
145
],
[
289,
296
]
],
[
[
172,
200
],
[
1052,
1080
]
],
[
[
218,
235
],
[
1021,
1024
],
[
1570,
1573
]
],
[
[
268,
271
],
[
... |
def fact (n):
if n == 1:
return 1
else:
return n*fact(n-1)
print(fact(5)) | [
[
[
4,
8
],
[
90,
94
],
[
73,
77
]
]
] |
import torch
from torch.optim import Optimizer
class OptimWrapper(Optimizer):
# Mixin class that defines convenient functions for writing Optimizer Wrappers
def __init__(self, optim):
self.optim = optim
def __getstate__(self):
return self.optim.__getstate__()
def __sets... | [
[
[
7,
12
],
[
1148,
1153
]
],
[
[
38,
47
],
[
70,
79
]
],
[
[
57,
69
]
]
] |
import os
from pytest import fixture
@fixture(scope='function')
def environ(request):
origin = dict(os.environ)
@request.addfinalizer
def restore_environ():
os.environ.clear()
os.environ.update(origin)
return os.environ
| [
[
[
7,
9
],
[
107,
109
],
[
246,
248
],
[
181,
183
],
[
208,
210
]
],
[
[
30,
37
],
[
41,
48
]
],
[
[
71,
78
]
]
] |
#!/usr/bin/python3
'''
(C) Copyright 2018-2021 Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
'''
from apricot import TestWithServers
from test_utils_pool import TestPool
class DestroyRebuild(TestWithServers):
"""Test class for pool destroy tests.
Test Class Description:
This tes... | [
[
[
140,
155
],
[
215,
230
]
],
[
[
184,
192
],
[
1042,
1050
]
],
[
[
200,
214
]
]
] |
import os
import re
import socket
import ttfw_idf
@ttfw_idf.idf_example_test(env_tag='Example_WIFI_Protocols')
def test_examples_protocol_asio_udp_server(env, extra_data):
"""
steps: |
1. join AP
2. Start server
3. Test connects to server and sends a test message
4. Test evaluates rec... | [
[
[
7,
9
],
[
636,
638
],
[
714,
716
]
],
[
[
17,
19
],
[
937,
939
]
],
[
[
27,
33
],
[
1072,
1078
],
[
1086,
1092
],
[
1102,
1108
... |
# Copyright 2020 - 2021 MONAI Consortium
# 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 wri... | [
[
[
589,
593
],
[
31980,
31984
]
],
[
[
601,
605
],
[
40055,
40059
],
[
58458,
58462
],
[
61384,
61388
],
[
61466,
61470
],
[
63114,
63118
]
],
[
... |
'''
Problem 017
If the numbers 1 to 5 are written out in words: one, two, three, four, five,
then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.
If all the numbers from 1 to 1000 (one thousand) inclusive were written out in
words, how many letters would be used?
NOTE: Do not count spaces or hyphens. ... | [
[
[
590,
600
],
[
1083,
1093
],
[
1376,
1386
],
[
1415,
1425
]
],
[
[
852,
862
],
[
1268,
1278
]
],
[
[
979,
990
],
[
1221,
1232
],
[
1536... |
import _plotly_utils.basevalidators
class TypesrcValidator(_plotly_utils.basevalidators.SrcValidator):
def __init__(
self, plotly_name="typesrc", parent_name="scattergeo.marker.gradient", **kwargs
):
super(TypesrcValidator, self).__init__(
plotly_name=plotly_name,
paren... | [
[
[
7,
35
],
[
61,
74
]
],
[
[
44,
60
],
[
232,
248
]
],
[
[
480,
508
],
[
531,
544
]
],
[
[
517,
530
],
[
706,
719
]
],
[
[
1090,... |
from dataclasses import dataclass, field
from datetime import datetime
from typing import Optional
from .cloud_provider import CloudProvider
from .instance import Instance
from .instance_status import InstanceStatus
@dataclass
class AwsInstance(Instance):
"""Extends Instance to add fields specific to the AWS com... | [
[
[
24,
33
],
[
220,
229
]
],
[
[
35,
40
],
[
353,
358
],
[
446,
451
]
],
[
[
62,
70
],
[
649,
657
]
],
[
[
90,
98
],
[
430,
438... |
"""Basic PDFs are provided here.
Gauss, exponential... that can be used together with Functors to build larger models.
"""
# Copyright (c) 2021 zfit
import contextlib
import numpy as np
import tensorflow as tf
import zfit.z.numpy as znp
from zfit import z
from ..core.basepdf import BasePDF
from ..core.space impor... | [
[
[
159,
169
],
[
3293,
3303
]
],
[
[
178,
189
]
],
[
[
197,
213
],
[
2415,
2417
]
],
[
[
222,
241
],
[
2369,
2372
],
[
7784,
7787
],
[
... |
import os
import math
'''
Metric goal is reached
'''
#Sytem settings
dev_mode = False
grid_data_folder = os.path.join(os.getcwd(), 'raw_data_generation', 'input')
raw_data_folder = os.path.join(os.getcwd(), 'raw_data')
datasets_folder = os.path.join(os.getcwd(), 'datasets')
test_data_folder = os.path.join(os.getcwd()... | [
[
[
7,
9
],
[
107,
109
],
[
120,
122
],
[
183,
185
],
[
196,
198
],
[
239,
241
],
[
252,
254
],
[
296,
298
],
[
309,
311
],
[
... |
#!/usr/bin/env python3
"""
Check lesson files and their contents.
"""
import os
import glob
import re
from argparse import ArgumentParser
from util import (Reporter, read_markdown, load_yaml, check_unwanted_files,
require)
__version__ = '0.3'
# Where to look for source Markdown files.
SOURCE_DIR... | [
[
[
80,
82
],
[
4285,
4287
],
[
5233,
5235
],
[
6282,
6284
],
[
6361,
6363
],
[
8237,
8239
],
[
8307,
8309
],
[
17767,
17769
]
],
[
[
90,
... |
# Imports
import torch
from labml_nn.transformers.switch import SwitchTransformer, SwitchTransformerLayer, SwitchFeedForward
from labml_nn.transformers import MultiHeadAttention
from labml_nn.transformers.feed_forward import FeedForward
import numpy as np
from transformers import AutoConfig, AutoModel
import torch.nn a... | [
[
[
17,
22
],
[
702,
707
],
[
1571,
1576
],
[
1672,
1677
],
[
1760,
1765
],
[
1809,
1814
],
[
1921,
1926
],
[
1873,
1878
],
[
1957,
1962
... |
import cv2
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-p2', "--path", help="path to input video")
parser.add_argument('-p1', "--spath", help="path where the images should be stored")
parser.add_argument('-n', "--num", help="number from which image label naming starts", type=int)
args = pars... | [
[
[
7,
10
],
[
357,
360
],
[
547,
550
]
],
[
[
18,
26
],
[
36,
44
]
],
[
[
27,
33
],
[
62,
68
],
[
127,
133
],
[
212,
218
],
... |
# Copyright 2019 Quantapix 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 applicable l... | [
[
[
691,
700
]
]
] |
"""A proto buffer based logging system for minitaur experiments.
The logging system records the time since reset, base position, orientation,
angular velocity and motor information (joint angle, speed, and torque) into a
proto buffer. See minitaur_logging.proto for more details. The episode_proto is
updated per time s... | [
[
[
409,
424
]
],
[
[
448,
456
]
],
[
[
480,
494
]
],
[
[
503,
511
],
[
4512,
4520
]
],
[
[
519,
521
],
[
4602,
4604
]
],
[
[
529,
533
]... |
# -*- coding: utf-8 -*-
from unittest import TestCase
import six
from popolo_data.importer import Popolo
EXAMPLE_AREA = {
"id": "area/tartu_linn",
"identifiers": [
{
"identifier": "Q3032626",
"scheme": "wikidata"
}
],
"name": "Tartu linn",
"other_names": ... | [
[
[
46,
54
],
[
788,
796
]
],
[
[
63,
66
],
[
2624,
2627
]
],
[
[
101,
107
],
[
863,
869
],
[
972,
978
],
[
1162,
1168
],
[
1319,
13... |
__author__ = 'alvertisjo'
from django.core.serializers import json
import requests
from requests.packages.urllib3 import Timeout
from requests.packages.urllib3.exceptions import ConnectionError
class OpenProductData(object):
def getData(self):
# rowStep=100
# currentPage=0
# #####document... | [
[
[
0,
10
]
],
[
[
63,
67
]
],
[
[
75,
83
]
],
[
[
122,
129
]
],
[
[
179,
194
]
],
[
[
202,
217
]
]
] |
from django.views.generic import TemplateView
class HomePageView(TemplateView):
template_name = "home.html"
| [
[
[
33,
45
],
[
66,
78
]
],
[
[
53,
65
]
]
] |
from . import Simulations
from . import Spacecraft
| [
[
[
14,
25
]
],
[
[
41,
51
]
]
] |
"""
@package: jsonutils
@script: test_JsonUtils.py
@purpose: Test Suite for JsonUtils.
@created: Aug 26, 2017
@author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
@mailto: [email protected]
@site: https://github.com/yorevs/homesetup
@license: Please refer to <https://opensource.org/licenses/MIT>
"... | [
[
[
330,
332
],
[
1009,
1011
],
[
1047,
1049
],
[
1078,
1080
],
[
1120,
1122
]
],
[
[
340,
348
],
[
688,
696
],
[
2644,
2652
],
[
2704,
... |
import threading
import requests
# encryption
import Encrypt
import unicodedata
from ttk import Style, Button, Label, Entry, Progressbar, Checkbutton
from Tkinter import Tk, Frame, RIGHT, BOTH, RAISED
from Tkinter import TOP, X, N, LEFT
from Tkinter import END, Listbox, MULTIPLE
from Tkinter import Toplevel, DISABLE... | [
[
[
8,
17
],
[
17745,
17754
],
[
18012,
18021
]
],
[
[
25,
33
],
[
1619,
1627
]
],
[
[
55,
62
],
[
12524,
12531
],
[
16581,
16588
]
],
[
[
... |
from pipdeptree import get_installed_distributions, build_dist_index, construct_tree
from bs4 import BeautifulSoup
from json import dump, load
from urllib.request import urlretrieve
from pathlib import Path
from unittest import mock
from pkginfo import SDist
from johnnydep.cli import JohnnyDist
import requests
import ... | [
[
[
23,
50
]
],
[
[
52,
68
]
],
[
[
70,
84
]
],
[
[
101,
114
],
[
967,
980
]
],
[
[
132,
136
]
],
[
[
138,
142
],
[
446,
450
]
],
[
... |
#!/usr/local/bin/python3.6
# Substitute average testing value from optimization
import sys
if len(sys.argv) != 2:
sys.stderr.write('Usage: python3.X %s sy_fraction\n' % sys.argv[0])
raise SystemExit(1)
sy_fraction = sys.argv[1]
parameters = []
with open('input_data/infection_parameters.txt','r') as fin:
paramete... | [
[
[
88,
91
],
[
100,
103
],
[
117,
120
],
[
172,
175
],
[
221,
224
]
],
[
[
207,
218
],
[
455,
466
]
],
[
[
234,
244
]
],
[
[
306,
... |
""" Simple functions to manipulate strings """
# Replace the functions below with your implementation as described in the assignment
def is_rhyme(word1, word2, k):
"""
Returns True if the last k letters of the two words are the same (case sensitive).
Automatically returns False if either word contains le... | [
[
[
140,
148
]
]
] |
import sys
if len(sys.argv) != 2:
print("Usage: python3 orgmybmarks.py bookmarks.html")
quit()
file = open(sys.argv[1])
# file = open("in.html")
fileout = open("out.html", "w")
hreflist = []
# 读到第一个链接
numm = 1
while True:
line = file.readline()
if not line:
break
if line.find("HREF") == -1:... | [
[
[
7,
10
],
[
19,
22
],
[
116,
119
]
],
[
[
104,
108
],
[
242,
246
],
[
1182,
1186
]
],
[
[
154,
161
],
[
989,
996
],
[
1110,
1117
... |
import main
def test_execute():
count = main.results
assert count == 400410 | [
[
[
7,
11
],
[
45,
49
]
],
[
[
17,
29
]
]
] |
import numpy as np
import os
import sys
import matplotlib.pyplot as plt
import chainconsumer
from math import ceil
# pyburst
from . import mcmc_versions
from . import mcmc_tools
from . import burstfit
from . import mcmc_params
from pyburst.observations import obs_tools
from pyburst.plotting import plot_tools
from pybu... | [
[
[
7,
18
],
[
4714,
4716
],
[
7139,
7141
],
[
9169,
9171
],
[
10333,
10335
],
[
11350,
11352
],
[
12546,
12548
],
[
11892,
11894
],
[
14519,
... |
import socket
import time
from xmlrpclib_to import ServerProxy
import httpretty
import pytest
XML_RESPONSE = """<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><string>Test</string></value>
</param>
</params>
</methodResponse>"""
def timeout(request, url, headers)... | [
[
[
7,
13
],
[
658,
664
],
[
976,
982
]
],
[
[
21,
25
],
[
330,
334
]
],
[
[
52,
63
],
[
588,
599
],
[
905,
916
]
],
[
[
71,
80
... |
from django.db.models.signals import m2m_changed
from django.dispatch import receiver
from .models import Image
@receiver(m2m_changed, sender=Image.users_like.through)
def users_like_changed(sender, instance, **kwargs):
instance.total_likes = instance.users_like.count()
instance.save()
| [
[
[
37,
48
],
[
129,
140
]
],
[
[
78,
86
],
[
120,
128
]
],
[
[
108,
113
],
[
149,
154
]
],
[
[
180,
198
]
]
] |
{
"targets": [
{
"target_name": "binding",
"win_delay_load_hook": "true",
"conditions": [
["target_arch == 'x64' or target_arch == 'ia32'", {
"sources": [
"src/binding.cpp",
"src/BLAKE2/sse/blake2b.c",
"src/BLAKE2/sse/blake2bp.c",
"src/BLAKE2/sse/blake2s.c",
"src/BLAKE... | [] |
import numpy as np
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
@pytest.fixture
def process_test_df():
"Base DataFrame"
return pd.DataFrame(
{"text": ["a_b_c", "c_d_e", np.nan, "f_g_h"], "numbers": range(1, 5)}
)
@pytest.fixture
def test_returns_dataframe():
... | [
[
[
7,
18
],
[
222,
224
]
],
[
[
26,
38
],
[
172,
174
],
[
350,
352
],
[
3870,
3872
],
[
5288,
5290
],
[
5652,
5654
],
[
6724,
6726
... |
from __future__ import division
from sympy import (Abs, Catalan, cos, Derivative, E, EulerGamma, exp,
factorial, factorial2, Function, GoldenRatio, I, Integer, Integral,
Interval, Lambda, Limit, log, Matrix, nan, O, oo, pi, Rational, Float, Rel,
S, sin, SparseMatrix, sqrt, summation, Sum, Symbol, symbols, ... | [
[
[
23,
31
]
],
[
[
52,
55
],
[
839,
842
],
[
989,
992
],
[
1121,
1124
],
[
1156,
1159
],
[
1200,
1203
]
],
[
[
57,
64
],
[
1954,
19... |
# model settings
_base_ = [
'../_base_/datasets/coco_instance.py',
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
]
model = dict(
type='DSC',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(... | [
[
[
17,
23
]
],
[
[
146,
151
]
],
[
[
6393,
6402
]
],
[
[
9206,
9214
]
],
[
[
9523,
9532
],
[
10723,
10732
]
],
[
[
9548,
9560
],
[
9931,
99... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Item',
fields=[
('id', models.AutoField(primary... | [
[
[
47,
63
]
],
[
[
87,
93
],
[
296,
302
]
],
[
[
95,
105
],
[
124,
134
],
[
203,
213
]
],
[
[
114,
123
]
]
] |
"""This file is needed for editable installs (`pip install -e .`).
Can be removed once the following is resolved
https://github.com/pypa/packaging-problems/issues/256
"""
from setuptools import setup
setup()
| [
[
[
195,
200
],
[
202,
207
]
]
] |
############### Injector Parameters ##################
#
# config - config file used by the compiler pass
# funcList - list of functions that are faulty
# prob - probability that instuction is faulty
# byte - which byte is faulty (0-7) -1 random
# singleInj - one injection per active rank (0 or 1)
# p... | [
[
[
641,
647
]
],
[
[
666,
674
]
],
[
[
684,
688
]
],
[
[
696,
700
]
],
[
[
706,
715
]
],
[
[
720,
723
]
],
[
[
728,
733
]
],
[
[
738,
... |
def num(a):
num = int(a)
if (num < 10):
return (num + num)
elif (num <100):
return (num + num //10 + num % 10)
elif (num <1000):
return (num + num //100 + ( (num //10) % 10) + num % 10)
else:
return (num + num //1000 + ((num //100) % 10) + ((num //10) % 10) + num %10)
count = list(range(10000... | [
[
[
4,
7
],
[
357,
360
]
],
[
[
296,
301
],
[
411,
416
],
[
459,
464
]
],
[
[
328,
329
],
[
361,
362
]
],
[
[
350,
354
],
[
370,
... |
# -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from ccxt.base.exchange import Exchange
from ccxt.base.errors import ExchangeError
class virwox (Exchange):
def describe(self):
... | [
[
[
212,
220
],
[
280,
288
]
],
[
[
250,
263
],
[
9430,
9443
],
[
9530,
9543
],
[
9690,
9703
]
],
[
[
272,
278
],
[
354,
360
]
]
] |
from marshmallow import fields
from .field_set import FieldSet, FieldSetSchema
class Destination(FieldSet):
def __init__(self,
address: str = None,
bytes: int = None,
domain: str = None,
ip: str = None,
mac: str = None,
... | [
[
[
24,
30
],
[
707,
713
],
[
735,
741
],
[
765,
771
],
[
790,
796
],
[
816,
822
],
[
846,
852
],
[
874,
880
]
],
[
[
55,
63
],
... |
# Generated by Django 2.2.24 on 2021-08-24 10:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vespawatch', '0052_auto_20210824_1131'),
]
operations = [
migrations.AddField(
model_name='managementaction',
name=... | [
[
[
72,
82
],
[
109,
119
],
[
239,
249
]
],
[
[
84,
90
],
[
348,
354
]
],
[
[
99,
108
]
]
] |
# coding: utf-8
"""
InsightVM API
# Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ... | [
[
[
48229,
48235
],
[
52087,
52093
]
],
[
[
48243,
48245
]
],
[
[
48268,
48271
],
[
51132,
51135
]
],
[
[
48314,
48318
]
],
[
[
48408,
48439
]
],
[
[
... |
# logcall.py
from functools import wraps
def logged(func):
# Idea: Give me a function, I'll put logging
# around it
print('Adding logging to', func.__name__)
@wraps(func)
def wrapper(*args, **kwargs):
print('You called', func.__name__)
return func(*args, **kwargs)
return wra... | [
[
[
36,
41
],
[
179,
184
]
],
[
[
47,
53
]
]
] |
from sympy.utilities.pytest import XFAIL, raises
from sympy import (S, Symbol, symbols, nan, oo, I, pi, Float, And, Or, Not,
Implies, Xor, zoo, sqrt, Rational, simplify, Function)
from sympy.core.compatibility import range
from sympy.core.relational import (Relational, Equality, Unequality,
... | [
[
[
35,
40
],
[
9957,
9962
],
[
20506,
20511
]
],
[
[
42,
48
],
[
3563,
3569
],
[
3603,
3609
],
[
3643,
3649
],
[
3683,
3689
],
[
8421,
... |
from flask import Flask, Response
from camera import Camera
import cv2
app = Flask(__name__)
camera = Camera().start()
def gen(camera):
while True:
frame = camera.read()
_, jpeg = cv2.imencode('.jpg', frame)
yield (b'--frame\r\n'
b'Content-Type: image/jpeg\r\n\r\n' + jpeg.... | [
[
[
18,
23
],
[
79,
84
]
],
[
[
25,
33
],
[
397,
405
]
],
[
[
53,
59
],
[
104,
110
]
],
[
[
67,
70
],
[
204,
207
]
],
[
[
73,
... |
from glob import glob
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension
ext_modules = [
Pybind11Extension(
"PFlib",
# sorted(glob("*.cpp")), # Sort source files for reproducibility
["particle_filter.cpp",],
swig_opts=['-ggdb',],
include_dirs=... | [
[
[
17,
21
]
],
[
[
45,
50
],
[
343,
348
]
],
[
[
86,
103
],
[
125,
142
]
],
[
[
105,
116
],
[
471,
482
]
]
] |
from sklearn import svm, cluster
from PIL import Image, ImageDraw
import os
import sys
import random
def load_images(dirname):
images = []
for image_name in os.listdir(dirname):
if image_name.startswith('.'):
continue
image = Image.open(dirname + '/' + image_name).convert('1')
x, y = image.size
image = ... | [
[
[
20,
23
],
[
1156,
1159
],
[
2539,
2542
]
],
[
[
25,
32
],
[
2057,
2064
],
[
2204,
2211
]
],
[
[
49,
54
],
[
238,
243
],
[
343,
3... |
import logging
import os
import re
import xml.etree.ElementTree as ET
from pathlib import Path
from typing import Any, Tuple, Optional
import pandas as pd
from python import TOPIC_ID, SUBTOPIC, DOCUMENT_NUMBER, DOCUMENT_ID, SENTENCE_IDX, TOKEN_IDX, TOKEN_IDX_TO, \
TOKEN_IDX_FROM, TOKEN, MENTION_ID, EVENT, MENTION... | [
[
[
7,
14
],
[
371,
378
]
],
[
[
22,
24
],
[
6371,
6373
],
[
6448,
6450
],
[
6464,
6466
]
],
[
[
32,
34
],
[
656,
658
]
],
[
[
42,
... |
"""
Django settings for simplesocial project.
Generated by 'django-admin startproject' using Django 2.0.5.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import ... | [
[
[
320,
322
],
[
407,
409
],
[
423,
425
],
[
439,
441
],
[
481,
483
],
[
2355,
2357
],
[
3248,
3250
]
],
[
[
396,
404
],
[
494,
502
... |
#!/usr/bin/env python
#coding: utf-8
import sys
from common import reverse_items
if len(sys.argv) != 3:
print("Reverse key and value of all pairs")
print(("Usage: ", sys.argv[0], "[input] [output]"))
exit(1)
reverse_items(sys.argv[1], sys.argv[2])
| [
[
[
44,
47
],
[
89,
92
],
[
171,
174
],
[
230,
233
],
[
243,
246
]
],
[
[
67,
80
],
[
216,
229
]
]
] |
# Copyright (C) 2015-2016 Regents of the University of California
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | [
[
[
636,
650
]
],
[
[
658,
660
],
[
694,
696
],
[
740,
742
]
],
[
[
668,
676
],
[
1965,
1973
]
],
[
[
678,
691
]
],
[
[
728,
737
]
],
[
... |
# mypy: allow-untyped-defs
from unittest import mock
import pytest
from tools.ci.tc import decision
@pytest.mark.parametrize("run_jobs,tasks,expected", [
([], {"task-no-schedule-if": {}}, ["task-no-schedule-if"]),
([], {"task-schedule-if-no-run-job": {"schedule-if": {}}}, []),
(["job"],
{"job-pres... | [
[
[
49,
53
],
[
783,
787
]
],
[
[
62,
68
],
[
106,
112
],
[
1052,
1058
],
[
1361,
1367
]
],
[
[
94,
102
],
[
907,
915
],
[
1978,
198... |
"""
Main inputs:
(Change for all fields)
"""
eazypath = '/data2/ken/photoz/eazy-photoz/src/eazy '
working_folder = '/data2/ken/EN1_pani'
photometry_catalog = 'en1_phot_with_zspec.fits'
photometry_format = 'fits'
filter_file = 'EN1_filters.res'
translate_file = 'EN1.translate'
zspec_col = 'z_spec'
flux_col = 'flux'
... | [
[
[
46,
54
]
],
[
[
99,
113
]
],
[
[
138,
156
]
],
[
[
186,
203
]
],
[
[
214,
225
]
],
[
[
246,
260
]
],
[
[
280,
289
]
],
[
[
302,
... |
from bfstpw.models import ForumThread, ForumPost
from datetime import datetime
from django.conf import settings
from django.core.paginator import Paginator
from django.core.urlresolvers import reverse
from django.db.models import Count
from django.http import HttpResponseRedirect
from django.shortcuts import render, ge... | [
[
[
26,
37
],
[
822,
833
],
[
1042,
1053
],
[
1386,
1397
],
[
1745,
1756
],
[
2711,
2722
]
],
[
[
39,
48
]
],
[
[
70,
78
]
],
[
[
103,... |
from lib.utils.util import *
from timm.models.efficientnet_blocks import *
# ChildNet Builder definition.
class ChildNetBuilder:
def __init__(
self,
channel_multiplier=1.0,
channel_divisor=8,
channel_min=None,
output_stride=32,
pad_type='',
... | [
[
[
27,
28
]
],
[
[
74,
75
],
[
398,
400
],
[
1161,
1172
],
[
1256,
1270
],
[
2394,
2410
],
[
2744,
2766
],
[
2981,
2990
],
[
7585,
7587... |
# coding: utf-8
# Copyright 2015 Eezee-It
import json
import logging
from hashlib import sha256
import urlparse
from odoo import models, fields, api
from odoo.tools.float_utils import float_compare
from odoo.tools.translate import _
from odoo.addons.payment.models.payment_acquirer import ValidationError
from odoo.ad... | [
[
[
51,
55
],
[
3791,
3795
],
[
5169,
5173
]
],
[
[
63,
70
],
[
388,
395
]
],
[
[
91,
97
],
[
1930,
1936
]
],
[
[
105,
113
],
[
3088,
... |
# Copyright 2018 The TensorFlow Probability 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 law o... | [
[
[
751,
766
]
],
[
[
790,
798
]
],
[
[
822,
836
]
],
[
[
845,
848
],
[
5246,
5249
]
],
[
[
878,
894
],
[
2142,
2144
],
[
2540,
2542
],
... |
#
# vect3dotfun.py
# Dot product of two 3-d vectors using function in Python 3.7
#
# Sparisoma Viridi | https://github.com/dudung
#
# 20210110
# 2001 Start creating this example.
# 2002 Test it and ok.
#
# Define dot function with two arguments
def dot(a, b):
p = a[0] * b[0] + a[1] * b[1] + a[2] * b[2]
return p
... | [
[
[
253,
256
],
[
426,
429
]
],
[
[
352,
354
],
[
430,
432
],
[
471,
473
]
],
[
[
367,
369
],
[
434,
436
],
[
499,
501
]
],
[
[
422,
... |
from typing import Any, Dict, Union, Optional
from dataclasses import asdict, dataclass
Headers = Optional[Dict[str, Union[str, bool, int]]]
@dataclass
class APIGatewayProxyResult:
"""
Key names are expected and given by AWS APIGateway specifications and must not be changed
"""
statusCode: int
bo... | [
[
[
19,
22
],
[
345,
348
]
],
[
[
24,
28
],
[
108,
112
],
[
335,
339
]
],
[
[
30,
35
],
[
118,
123
],
[
324,
329
]
],
[
[
37,
45... |
class Status:
OK = "OK"
ERROR = "ERROR"
class Response(dict):
def __init__(self, status, data):
super().__init__()
self["status"] = status
self["data"] = data
| [
[
[
6,
12
]
],
[
[
56,
64
]
]
] |
# Copyright (c) 2022 Andreas Törnkvist | MIT License
import math
class worldfile:
def __init__(self, filename):
wFile = open(filename)
w = wFile.readlines()
w = [line.rstrip() for line in w]
self.A = float(w[0])
self.D = float(w[1])
self.B = float(w[2])
sel... | [
[
[
61,
65
],
[
410,
414
],
[
448,
452
],
[
493,
497
],
[
540,
544
],
[
555,
559
],
[
597,
601
],
[
644,
648
],
[
659,
663
]
],
[
... |
# 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 u... | [
[
[
897,
912
]
],
[
[
921,
924
],
[
1125,
1128
],
[
1748,
1751
]
],
[
[
941,
953
],
[
9408,
9420
]
],
[
[
979,
984
],
[
6052,
6057
],
[
... |
# Copyright (C) 2015 Stefan C. Mueller
import functools
from twisted.internet import defer
def on_error_close(logger):
"""
Decorator for callback methods that implement `IProtocol`.
Any uncaught exception is logged and the connection is closed
forcefully.
Usage::
import logger
... | [
[
[
46,
55
],
[
1646,
1655
]
],
[
[
85,
90
],
[
1741,
1746
]
],
[
[
98,
112
]
]
] |
# Copyright (c) 2006,2007,2008 Mitch Garnaat http://garnaat.org/
#
# 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,... | [
[
[
1115,
1118
]
]
] |
# Copyright 2013 Lars Butler & individual contributors
#
# 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 applicab... | [
[
[
618,
626
],
[
1903,
1911
],
[
7201,
7209
],
[
8073,
8081
],
[
9572,
9580
],
[
10566,
10574
]
],
[
[
644,
652
],
[
1775,
1783
]
],
[
[
... |
import binascii
import re
import socket
from abc import ABCMeta
from hashlib import md5
from ipaddress import ip_network, _BaseNetwork
from typing import Iterable, Optional, Tuple, Generator, Dict, Iterator
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from djing.lib.decorato... | [
[
[
7,
15
],
[
1041,
1049
],
[
1298,
1306
]
],
[
[
23,
25
],
[
7013,
7015
]
],
[
[
33,
39
],
[
744,
750
],
[
758,
764
],
[
774,
780
... |
# coding: utf-8
"""
Fabric task for deploying project on servers(production, staging, development)
"""
import os
import sys
from contextlib import contextmanager
from fabric.contrib import django
from fabric.api import local, run, lcd, cd
from fabric.tasks import Task
from fab_settings import env
sys.path.append(... | [
[
[
113,
115
],
[
320,
322
],
[
448,
450
],
[
930,
932
],
[
1034,
1036
],
[
1136,
1138
],
[
4218,
4220
],
[
4294,
4296
],
[
4437,
4439
]... |
# coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 5
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import isi_sdk_8_1_0
from i... | [
[
[
259,
274
]
],
[
[
283,
291
],
[
554,
562
],
[
1118,
1126
]
],
[
[
300,
313
]
],
[
[
396,
439
]
],
[
[
485,
497
]
],
[
[
506,
553
]
... |
# -*- coding: utf-8 -*-
"""
:copyright: Copyright 2020-2022 Sphinx Confluence Builder Contributors (AUTHORS)
:license: BSD-2-Clause (LICENSE)
"""
from tests.lib.testcase import ConfluenceTestCase
from tests.lib.testcase import setup_builder
import os
class TestConfluenceMetadata(ConfluenceTestCase):
@classmethod... | [
[
[
178,
196
],
[
283,
301
]
],
[
[
228,
241
],
[
1084,
1097
]
],
[
[
249,
251
],
[
425,
427
]
],
[
[
260,
282
],
[
360,
382
]
]
] |
import asyncio
import websockets
import time
import threading
players = 0
class Player:
def __init__(self, id, x = 0, y = 0, speed = 5):
self.id = id
self.x = x
self.y = y
self.dirX = 0
self.dirY = 0
self.speed = speed
print("Player criado com sucesso!")... | [
[
[
7,
14
],
[
2140,
2147
],
[
2231,
2238
],
[
1312,
1319
],
[
1530,
1537
]
],
[
[
22,
32
],
[
2070,
2080
]
],
[
[
40,
44
],
[
910,
... |
__author__ = 'pulphix'
from app import TestApplication | [
[
[
0,
10
]
],
[
[
40,
55
]
]
] |
# coding: utf-8
from __future__ import unicode_literals
from django.contrib import admin
from .models import ThumbnailOption
from django.contrib.admin.widgets import AdminFileWidget
@admin.register(ThumbnailOption)
class ThumbnailOptionAdmin(admin.ModelAdmin):
fields = ['source', 'alias', 'options']
class Thu... | [
[
[
39,
55
]
],
[
[
84,
89
],
[
246,
251
],
[
187,
192
],
[
338,
343
]
],
[
[
111,
126
],
[
202,
217
]
],
[
[
168,
183
]
],
[
[
22... |
from database.adatabase import ADatabase
import pandas as pd
class SEC(ADatabase):
def __init__(self):
super().__init__("sec")
def retrieve_num_data(self,adsh):
try:
db = self.client[self.name]
table = db["nums"]
data = table.find({"adsh":adsh},{"_id":0}... | [
[
[
31,
40
],
[
71,
80
]
],
[
[
48,
60
],
[
362,
364
],
[
665,
667
],
[
962,
964
]
],
[
[
67,
70
]
]
] |
import game_framework
from pico2d import *
import title_state
name = "StartState"
image = None
logo_time = 0.0
def enter():
global image
image = load_image('kpu_credit.png')
def exit():
global image
del(image)
def update():
global logo_time
if (logo_time > 1.0):
logo_time = 0.8
... | [
[
[
7,
21
],
[
327,
341
]
],
[
[
41,
42
],
[
156,
166
],
[
373,
378
],
[
442,
454
],
[
485,
498
],
[
538,
548
]
],
[
[
50,
61
],... |
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 13 20:30:46 2020
@author: Aaronga
"""
# Datos faltantes
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
dataset = pd.read_csv("Data.csv")
X = dataset.iloc[:, :-1].values
y = dataset.iloc[:, 3].values
# Tratamiento de los NaN
from sklearn.preproc... | [
[
[
112,
123
]
],
[
[
131,
155
]
],
[
[
163,
175
],
[
187,
189
]
],
[
[
177,
184
],
[
215,
222
],
[
247,
254
]
],
[
[
211,
212
],
[
... |
from sqlalchemy.testing import assert_raises, eq_
from sqlalchemy.testing import fixtures, AssertsCompiledSQL
from sqlalchemy import (
testing, exc, case, select, literal_column, text, and_, Integer, cast,
String, Column, Table, MetaData)
from sqlalchemy.sql import table, column
info_table = None
class CaseT... | [
[
[
31,
44
],
[
3265,
3278
]
],
[
[
46,
49
],
[
4444,
4447
],
[
4633,
4636
]
],
[
[
81,
89
],
[
324,
332
]
],
[
[
91,
109
],
[
343,
... |
#
# 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 us... | [
[
[
792,
800
],
[
947,
955
],
[
6071,
6079
]
],
[
[
809,
828
],
[
1058,
1062
],
[
1223,
1227
],
[
1372,
1376
],
[
1402,
1406
],
[
1431,
... |
# VARIAVEIS
# ATRIBUINDO VALOR A UMA VARIAVEL
var_teste = 1
print(var_teste)
print(type(var_teste))
#DECLARAÇÂO MULTIPLA
pessoa1, pessoa2, pessoa3 = 'Jose', 'Joao','Maria'
print(pessoa1)
print(pessoa2)
print(pessoa3)
# VARIAVEL COM ATRIBUIÇÃO
pessoa1=pessoa2=pessoa3 = 'Jose'
print(pessoa1)
print(pessoa2)
print(pesso... | [
[
[
46,
55
],
[
66,
75
],
[
88,
97
]
],
[
[
123,
130
],
[
180,
187
]
],
[
[
132,
139
],
[
195,
202
]
],
[
[
141,
148
],
[
210,
2... |
#-*- coding:utf-8 -*-
import json
import copy
import requests
import json
from flask import render_template, abort, request, url_for, redirect, g
import time
import datetime
from rrd import app
from rrd.model.screen import DashboardScreen
from rrd.model.graph import DashboardGraph
from rrd import consts
from rrd.utils... | [
[
[
29,
33
]
],
[
[
41,
45
]
],
[
[
53,
61
]
],
[
[
69,
73
],
[
7750,
7754
],
[
7858,
7862
],
[
8156,
8160
],
[
8418,
8422
],
[
8653,
... |
import torch
import torch.nn.functional as F
from torch.nn import Linear
from torch_geometric.nn import (ASAPooling,
GraphConv, global_mean_pool,
JumpingKnowledge)
class ASAP(torch.nn.Module):
def __init__(self, num_vocab, max_seq_len, node_encoder, ... | [
[
[
7,
12
],
[
241,
246
],
[
621,
626
],
[
664,
669
],
[
1209,
1214
],
[
1305,
1310
],
[
1419,
1424
]
],
[
[
20,
44
],
[
1959,
1960
... |
#!/usr/bin/env python
import rospy
from duckietown_msgs.msg import WheelsCmdStamped, FSMState
class WheelsCmdSwitchNode(object):
def __init__(self):
self.node_name = rospy.get_name()
rospy.loginfo("[%s] Initializing " %(self.node_name))
# Read parameters
self.mappings = rospy.get_para... | [
[
[
29,
34
],
[
1480,
1485
],
[
1646,
1651
],
[
1732,
1737
],
[
178,
183
],
[
203,
208
],
[
306,
311
],
[
363,
368
],
[
488,
493
],
... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.SettleEntity import SettleEntity
class AlipayTradeSettleReceivablesQueryModel(object):
def __init__(self):
self._biz_product = None
self._extend_params = None... | [
[
[
53,
57
]
],
[
[
110,
111
]
],
[
[
159,
171
],
[
907,
919
],
[
1010,
1022
]
],
[
[
180,
218
],
[
2403,
2441
]
]
] |
import os
from deta import Deta
from datetime import date, datetime
from fastapi import HTTPException
import urllib
import base64
deta = Deta()
base = deta.Base("drawings")
drive = deta.Drive("drawings")
def get_all(db, query):
blob_gen = db.fetch(query)
blobs = []
for stored_blob in blob_gen:
... | [
[
[
7,
9
]
],
[
[
27,
31
],
[
138,
142
]
],
[
[
53,
57
]
],
[
[
59,
67
],
[
787,
795
],
[
945,
953
],
[
1282,
1290
]
],
[
[
88,
... |
# This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2021.
#
# 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 modifications or derivat... | [
[
[
596,
610
],
[
6721,
6735
],
[
6770,
6784
]
],
[
[
652,
666
],
[
6608,
6622
]
],
[
[
690,
704
],
[
761,
775
]
],
[
[
706,
721
],
[
... |
#!/usr/bin/env python
import sys
import re
import optparse
from ctypes import *
"""
This script will use the prototypes from "checkdocs.py -s" to concoct
a 1:1 Python wrapper for Allegro.
"""
class _AL_UTF8String:
pass
class Allegro:
def __init__(self):
self.types = {}
self.functions = {}
... | [
[
[
29,
32
],
[
11543,
11546
]
],
[
[
40,
42
],
[
1614,
1616
],
[
1669,
1671
],
[
1717,
1719
],
[
1766,
1768
],
[
1819,
1821
],
[
3829,
... |
"""File for Google Cloud Storage."""
import logging
import os
import urllib.parse
from pathlib import Path
import aiohttp
from aiofile import AIOFile
from gcloud.aio.storage import Storage
from google.cloud import storage
from one_barangay.local_settings import logger
async def async_upload_to_bucket(
filepath:... | [
[
[
44,
51
],
[
2701,
2708
]
],
[
[
59,
61
],
[
2255,
2257
],
[
2426,
2428
],
[
2579,
2581
]
],
[
[
69,
81
],
[
979,
985
]
],
[
[
102,... |
#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2021.04 #
#####################################################
# python exps/LFNA/basic-same.py --srange 1-999 --env_version v1 --hidden_dim 16
# python exps/LFNA/basic-same.py --srange 1-999 --env_version v2 --hidden_dim... | [
[
[
382,
385
],
[
586,
589
],
[
600,
603
]
],
[
[
387,
391
],
[
1827,
1831
],
[
4857,
4861
],
[
4904,
4908
]
],
[
[
393,
397
],
[
3415,
... |
'''
Given a collection of intervals, merge all overlapping intervals.
Example 1:
Input: intervals = [[1,3],[2,6],[8,10],[15,18]]
Output: [[1,6],[8,10],[15,18]]
Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].
Example 2:
Input: intervals = [[1,4],[4,5]]
Output: [[1,5]]
Explanation: Interv... | [
[
[
555,
563
]
]
] |
from rest_framework import viewsets
from periodic_tasks_api.models import CustomExtendedPeriodicTask
from periodic_tasks_api.serializers import PeriodicTaskSerializer
from periodic_tasks_api.filters import PeriodicTaskFilterSet
class PeriodicTaskView(viewsets.ModelViewSet):
queryset = CustomExtendedPeriodicTask.... | [
[
[
27,
35
],
[
254,
262
]
],
[
[
75,
101
],
[
293,
319
]
],
[
[
145,
167
],
[
357,
379
]
],
[
[
207,
228
],
[
403,
424
]
],
[
[
2... |
#!/usr/bin/python3
# coding: utf-8
from network.group import Group
import paho.mqtt.client as mqtt
from threading import Thread
import time
from log import logger
import paho.mqtt.subscribe as subscribe
import json
import random
import string
class Switch(Thread):
def __init__(self, broker_ip):
Thread._... | [
[
[
62,
67
],
[
2041,
2046
]
],
[
[
76,
100
],
[
915,
919
]
],
[
[
123,
129
],
[
259,
265
],
[
312,
318
]
],
[
[
137,
141
],
[
1243,
... |
# coding=utf-8
########################################################################################################################
### Do not forget to adjust the following variables to your own plugin.
# The plugin's identifier, has to be unique
plugin_identifier = "bedlevelvisualizer"
# The plugin's python pa... | [
[
[
254,
271
],
[
3508,
3525
]
],
[
[
387,
401
],
[
3536,
3550
]
],
[
[
567,
578
],
[
3558,
3569
]
],
[
[
719,
733
],
[
3580,
3594
]
],
[
... |
#!/usr/bin/env python3
# Automatically generated file by swagger_to. DO NOT EDIT OR APPEND ANYTHING!
"""Implements the client for test."""
# pylint: skip-file
# pydocstyle: add-ignore=D105,D107,D401
import contextlib
import json
from typing import Any, BinaryIO, Dict, List, MutableMapping, Optional
import requests
i... | [
[
[
208,
218
],
[
1224,
1234
]
],
[
[
226,
230
]
],
[
[
250,
253
]
],
[
[
255,
263
]
],
[
[
265,
269
]
],
[
[
271,
275
]
],
[
[
277,
291... |
# Copyright 2021 Research Institute of Systems Planning, 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 applica... | [
[
[
631,
646
],
[
50583,
50598
],
[
50842,
50857
],
[
51106,
51121
],
[
51370,
51385
],
[
51628,
51643
],
[
51883,
51898
],
[
52148,
52163
]
],
[
[
... |
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import yaml
class HexahueMap():
def __init__(self, space_color):
pink = (255, 0, 255)
red = (255, 0, 0)
green = (0, 255, 0)
yellow = (255, 255, 0)
blue = (0, 0, 255)
sky = (0, 255, 255)
white = (255, 255, 255)
gray = (128, 128, 128)
blac... | [
[
[
54,
58
]
],
[
[
66,
76
]
]
] |
# 7 завдання
for n in range(1, 101):
print(n, "Я не буду їсти палички Бобо на уроці")
| [
[
[
17,
18
],
[
47,
48
]
]
] |
"""
SoftLayer.ordering
~~~~~~~~~~~~~~~~~~
Ordering Manager
:license: MIT, see LICENSE for more details.
"""
class OrderingManager(object):
"""Manages hardware devices.
:param SoftLayer.API.Client client: an API client instance
"""
def __init__(self, client):
self.client = cl... | [
[
[
133,
148
]
]
] |
# BOJ 14501
import sys
si = sys.stdin.readline
t = [0] * 17
dp = [0] * 17
n = int(si())
for i in range(1, n + 1):
m, o = map(int, si().split())
t[i] = m
dp[i] = o
def solve(n):
ans = 0
for i in range(n, 0, -1):
if i + t[i] > n + 1:
dp[i] = dp[i + 1]
else:
... | [
[
[
19,
22
],
[
29,
32
]
],
[
[
24,
26
],
[
86,
88
],
[
138,
140
]
],
[
[
50,
51
],
[
156,
157
],
[
252,
253
],
[
360,
361
]
]... |
import torch.utils.data as data
from PIL import Image
import torchvision.transforms as transforms
from torchvision.transforms import InterpolationMode
class BaseDataset(data.Dataset):
def __init__(self):
super(BaseDataset, self).__init__()
def name(self):
return 'BaseDataset'
def initiali... | [
[
[
7,
31
],
[
170,
174
]
],
[
[
48,
53
],
[
1648,
1653
]
],
[
[
61,
97
],
[
520,
530
],
[
603,
613
],
[
709,
719
],
[
822,
832
... |
"""
Created Oct 19, 2017
@author: Spencer Vatrt-Watts (github.com/Spenca)
"""
from __future__ import unicode_literals
from django.apps import AppConfig
class TenxConfig(AppConfig):
name = 'tenx' | [
[
[
103,
119
]
],
[
[
145,
154
],
[
174,
183
]
],
[
[
163,
173
]
]
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.