blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
f02ac273758d4f2552d34614c634edef88e64261
2a92c55d9231ecdae90c9eb6b3ae7ccc8860b67e
/ding/utils/tests/test_default_helper.py
a98d50090ed901e1f72f112678fd5adfc41196a0
[ "Apache-2.0" ]
permissive
likeucode/DI-engine
b12bbaaf8c551dbe7869604b270c6b95c1fa6390
b9d52cbff9d0510473715d90b3a426e0fb1c39f4
refs/heads/main
2023-06-20T16:43:34.621930
2021-07-12T10:59:24
2021-07-12T10:59:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,224
py
import pytest import numpy as np import torch from collections import namedtuple from ding.utils.default_helper import lists_to_dicts, dicts_to_lists, squeeze, default_get, override, error_wrapper,\ list_split, LimitedSpaceContainer, set_pkg_seed, deep_merge_dicts, deep_update, flatten_dict @pytest.mark.unittest...
[ "niuyazhe@sensetime.com" ]
niuyazhe@sensetime.com
ed7ab5a8cb6df66a778b614bb5158c176d873820
783ad25f38785023edcc8a6580645e26e68f1fe7
/app/blog/models.py
8714344dcd1cc23012e17d01c2836c6c54f2ee93
[]
no_license
Chrisaor/udemy_blog_practice
be2b255674469833a6f3151ace83acbf21c6cb97
80894413b994f7ef23b1046c56550f178d7b4f65
refs/heads/master
2020-03-27T06:57:17.441237
2018-08-28T08:14:52
2018-08-28T08:14:52
146,150,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,974
py
from django.contrib.auth.models import User from django.db import models from django.urls import reverse from django.utils import timezone from taggit.managers import TaggableManager class PublishedManager(models.Manager): def get_queryset(self): return super(PublishedManager, self).get_queryset().filter(...
[ "pchpch0070@gmail.com" ]
pchpch0070@gmail.com
aa58c82b4327706f456feef6424d55b16b5e017c
2ee6c9320c617b77db62cb1199e4096d1066c2a8
/code/compute_correlation_distance.py
0883792785e512174c2719013b152214f248cab5
[ "MIT" ]
permissive
smaharry/make_context_map
546f34a104156b5976e33a8f492139e1d70afdad
7576ff4de8d469a78ea4f0a373eb917f41671ec3
refs/heads/master
2020-03-23T06:45:46.290382
2018-07-15T05:06:53
2018-07-15T05:06:53
141,227,940
0
0
null
2018-07-17T03:46:28
2018-07-17T03:46:28
null
UTF-8
Python
false
false
215
py
from numpy import absolute, where from scipy.spatial.distance import correlation def compute_correlation_distance(x, y): distance = correlation(x, y) return where(absolute(distance) < 1e-8, 0, distance)
[ "kwatme8@gmail.com" ]
kwatme8@gmail.com
90643e96ad726c79d5568b85a812ad2e56038e83
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/list_animated_graphics_task_request.py
8af6dce2114433edef47809660a1e5069cb0002c
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,488
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListAnimatedGraphicsTaskRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (d...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
fc47032d814f6da3b38ecb3c4c5bb906406252d5
b0f41ef2af5309fc172b05232dbde501a01d1234
/fyt/transport/migrations/0014_internalbus_dirty.py
a3ee52824f918bac16f74cb05ce4a9b350f850ce
[]
no_license
rlmv/doc-trips
c4dfec9b80cf531b69b17ac2caaef509fa048cd3
59c1ffc0bff1adb4f86f1dcfaa66d8970ff55b72
refs/heads/master
2023-05-27T01:48:49.251830
2021-08-07T04:02:26
2021-08-07T04:02:26
21,745,373
10
3
null
2023-05-23T00:51:26
2014-07-11T17:36:35
Python
UTF-8
Python
false
false
533
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-09 14:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('transport', '0013_auto_20170808_1114'), ] operations = [ migrations.AddFiel...
[ "bo.marchman@gmail.com" ]
bo.marchman@gmail.com
795233071e9dd7e7b8a2fcdde2e93c79fff0d7ef
b1ea2d35e6ef999c6c15a6af7892573de40cbf54
/thrift/compiler/codemod/cppref_to_structured_test.py
db313297dce1b33e99f48e1cda6ca5c927d1e053
[ "Apache-2.0" ]
permissive
billybob3659/fbthrift
76db526d4d1f7457697184dada0de1b3d38572aa
3a47e3b8259867a1ca68dd155b473387aa9aa3d7
refs/heads/master
2023-07-27T07:53:08.917232
2021-09-11T02:22:31
2021-09-11T02:24:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,934
py
# Copyright (c) Facebook, Inc. and its affiliates. # # 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 ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
20fb562e6d3d641947e0b2e932a176398c67ac1c
cf32120ab89eadcb3427d035a7d826f88ece6a8b
/most_common_word.py
a6bc2c0ab8c7362c5e0165724945f51ec15048ff
[]
no_license
jaehyunan11/leetcode_Practice
2037bcce72c84ba3002f20230f59722d69433b8a
e80f56f2334b260935e4ebc4b8dbba404601099c
refs/heads/main
2023-04-23T16:53:31.502597
2021-05-14T16:47:08
2021-05-14T16:47:08
335,520,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
import re class Solution: def mostCommonWord(self, paragraph, banned): # 1) Create tracking empty dict tracking_dict = {} print(f"Initial Paragraph: {paragraph}") # 2) Replace punctuation by Whitespace (re.sub(pattern, what to replace, string to be applied)) no_punc_paragr...
[ "jaehyuna11@gmail.com" ]
jaehyuna11@gmail.com
41e318ff00f74700378e23339ff1f5d861ad3f22
4f3786c072c3fb7992924c7a714b626c04849d4a
/auto_tag/cli.py
b6f510830722e05731888e3eca32730c7dd68896
[ "MIT" ]
permissive
mateimicu/auto-tag
b8deebc61020f3e4cb75646bb3cc7cadb2801242
3ecbb005e5e585983a65fa15f7d6bf011b25752e
refs/heads/master
2023-04-14T08:49:01.778689
2023-04-01T19:50:06
2023-04-01T19:50:06
205,390,141
13
1
NOASSERTION
2023-04-10T03:32:24
2019-08-30T13:41:35
Python
UTF-8
Python
false
false
2,255
py
#!/usr/bin/env python3 """ CLI parser for auto-tag. """ import logging import argparse from auto_tag import constants from auto_tag import tag_search_strategy def get_parser() -> argparse.ArgumentParser: """Return the argument parser setup.""" parser = argparse.ArgumentParser( description='Tag branch...
[ "micumatei@gmail.com" ]
micumatei@gmail.com
e2d777d064e7ed3dda93b0e8f1bacdc17ea9f653
cfb4e8721137a096a23d151f2ff27240b218c34c
/mypower/matpower_ported/most/lib/t/t_most_3b_3_1_2.py
949872d688a7f318f2ec770df9b004ed818ae28f
[ "Apache-2.0" ]
permissive
suryo12/mypower
eaebe1d13f94c0b947a3c022a98bab936a23f5d3
ee79dfffc057118d25f30ef85a45370dfdbab7d5
refs/heads/master
2022-11-25T16:30:02.643830
2020-08-02T13:16:20
2020-08-02T13:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def t_most_3b_3_1_2(*args,nout=1,oc=None): if oc == None: from .....oc_matpower import oc_matpower oc = oc_matpower() return oc.t_most_3b_3_1_2(*args,nout=nout)
[ "muhammadyasirroni@gmail.com" ]
muhammadyasirroni@gmail.com
1c7055da917139875b36abf1e6028e0da6f69166
00fe1823bbadc9300e4fec42ca1d12dfbd4bcde9
/Dictionary/18.py
3d15dfffa705ec0eb596e9b41867ef33e79124c5
[]
no_license
monteua/Python
6b36eb01959f34ccaa2bb9044e2e660383ed7695
64b6154d9f59e1e2dbe033e5b9f246734b7d4064
refs/heads/master
2020-07-05T07:29:51.250343
2018-02-09T11:09:51
2018-02-09T11:09:51
74,122,698
3
0
null
null
null
null
UTF-8
Python
false
false
472
py
'''Write a Python program to check a dictionary is empty or not.''' not_empty = {'name': {'name': 'Vadym', }, 'one': 1, 'two': 2, 'three': 3, 'one': 1, 'zero': 0 } empty = {} if len(not_empty) >= 1: print ("Dictionary #1 is not empty...
[ "arximed.monte@gmail.com" ]
arximed.monte@gmail.com
7fcda7ef21b1de16b37b74278c6f01f279ca2bdd
a08e50e295c75fb6b2dd58100ec6e220e05fa27f
/Elimination/chal2.py
dc7836c2799f060ce68dcda960dccf42029a88b3
[]
no_license
CianLR/Bayan-Programming-Contest-2014
5908c4f543426c1acf21c444fe838b71476b22be
4151eea2dc6914e33241773c5cd64dc930dc35df
refs/heads/master
2021-01-16T17:47:05.915489
2015-03-07T19:56:22
2015-03-07T19:56:22
31,823,382
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
T = input() blank = raw_input() for x in range(T): line = raw_input().split() W = int(line[0]) R = int(line[1]) M = int(line[2]) S = int(line[3]) print 'Case #' + str(x + 1) + ':' if (R < 40 or W < 35) and M < 10: print 'EMERGENCY' elif M < 10 and R > 60 and M < 10: ...
[ "cian.ruane1@gmail.com" ]
cian.ruane1@gmail.com
c468dc836279d3187e3345b11302f68f18653030
2801896c7fcd06e3cf4ae644fb9630857aac1626
/app/auth/forms.py
3da2406bb40f941696429974726d147bd1e62ff2
[ "MIT" ]
permissive
Koech-code/bookings
9a9f9bd2c19705b5f66a5d2889b31b0d549f3ba0
e164ba118de32e82dac9d9c69961df1eeb4d384c
refs/heads/master
2023-07-15T04:20:07.359983
2021-08-28T15:31:30
2021-08-28T15:31:30
400,294,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from flask_wtf import FlaskForm from sqlalchemy.orm import query from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import Required, Email, EqualTo from wtforms.validators import ValidationError from ..models import User class RegistrationForm(FlaskForm): username = ...
[ "nixon.koech@moringaschool.com" ]
nixon.koech@moringaschool.com
6063a00c0ea1724653c2af13cbf127b17e013930
8e74bebc2fc811ad2d09950a20f3ba926d239489
/telegrambot/src/corona_assistent_bot/web/api.py
379d1ac0363734661c9e74ec972f171aea591495
[ "MIT" ]
permissive
LittleKita/CoronaAssistent
299b924128a51e4dfa90140db84e095ed01dda7d
1e0862d94bdc509aa468921ee7b056ec59e6f472
refs/heads/master
2023-01-19T12:02:25.379681
2021-05-11T15:36:17
2021-05-11T15:36:17
248,859,044
1
0
MIT
2023-01-07T16:11:29
2020-03-20T21:53:22
TypeScript
UTF-8
Python
false
false
342
py
from http import HTTPStatus from flask import Blueprint, request from ..model import ReceivedMessage from . import db bp = Blueprint('api', __name__) @bp.route('/message', methods=['POST']) def receive_message(): db.session.add(ReceivedMessage(text=request.json['text'])) db.session.commit() return '', ...
[ "frazer@frazermclean.co.uk" ]
frazer@frazermclean.co.uk
71d97373fa6b0a0b7b9eb4ec74c6d19f7c80e472
2af4823ae83fbcc780ef538bd02fa5bf3a51208c
/ABC123/C.py
25c0cf46d5401eff742784e4ae0834c17f291ec0
[]
no_license
jre233kei/procon-atcoder
102420cc246a5123ac9774f8b28440f1d8b70b0f
c463c9c92d45f19fba32d0c8a25f97d73db67bc5
refs/heads/master
2022-12-04T09:30:39.271433
2020-08-14T11:38:46
2020-08-14T11:38:46
276,779,835
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
import math n = int(input()) ma = 10**16 ind = 0 for i in range(5): ai = int(input()) if ma >= ai: ind = i ma = ai print(math.ceil(n/ma)+4)
[ "jre233kei+github@gmail.com" ]
jre233kei+github@gmail.com
4fd3da9df984194f30fd3bacc9885343b4862eb1
b1e7481f8b5bf40c2547c95b1863e25b11b8ef78
/Kai/crab/NANOv7_NoveCampaign/2018/crab_cfg_2018_ttHH.py
c21eda93ff3fe91e9f5f6fb14e8456869e682231
[ "Apache-2.0" ]
permissive
NJManganelli/FourTopNAOD
3df39fd62c0546cdbb1886b23e35ebdc1d3598ad
c86181ae02b1933be59d563c94e76d39b83e0c52
refs/heads/master
2022-12-22T22:33:58.697162
2022-12-17T01:19:36
2022-12-17T01:19:36
143,607,743
1
1
Apache-2.0
2022-06-04T23:11:42
2018-08-05T11:40:42
Python
UTF-8
Python
false
false
1,602
py
import os from WMCore.Configuration import Configuration from CRABClient.UserUtilities import config, getUsernameFromCRIC config = Configuration() config.section_("General") config.General.requestName = '2018_ttHH' config.General.transferOutputs = True config.General.transferLogs = True config.section_("JobType") con...
[ "nicholas.james.manganelli@cern.ch" ]
nicholas.james.manganelli@cern.ch
8932b763a784ad16c5ec41d9b77716274582af7a
6364bb727b623f06f6998941299c49e7fcb1d437
/msgraph-cli-extensions/src/groupsplanner/azext_groupsplanner/generated/_client_factory.py
a0e315166b33c89b8b8da37ea13dcd6e16f00ae4
[ "MIT" ]
permissive
kanakanaidu/msgraph-cli
1d6cd640f4e10f4bdf476d44d12a7c48987b1a97
b3b87f40148fb691a4c331f523ca91f8a5cc9224
refs/heads/main
2022-12-25T08:08:26.716914
2020-09-23T14:29:13
2020-09-23T14:29:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
e0911fbb139de2701c750a7f76b2ecce9b055994
cacb92c6dba32dfb7f2a4a2a02269f40ab0413dd
/configs/regnet/faster_rcnn_regnetx-3GF_fpn_1x_coco.py
943b4ea9beecbf64e7195fef0b1cd085a3f411b2
[ "Apache-2.0" ]
permissive
dereyly/mmdet_sota
697eab302faf28d5bce4092ecf6c4fd9ffd48b91
fc14933ca0ec2eebb8e7b3ec0ed67cae0da3f236
refs/heads/master
2022-11-26T14:52:13.665272
2020-08-04T00:26:46
2020-08-04T00:26:46
272,046,903
15
5
Apache-2.0
2020-07-16T06:22:39
2020-06-13T16:37:26
Python
UTF-8
Python
false
false
1,885
py
_base_ = [ '../_base_/models/faster_rcnn_r50_fpn.py', '../_base_/datasets/coco_detection.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( pretrained='open-mmlab://regnetx_3.2gf', backbone=dict( _delete_=True, type='RegNet', arch='regne...
[ "nikolay@xix.ai" ]
nikolay@xix.ai
b53be84e945c19531b02835a636f38c0be5f8bdb
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/Project Euler/0045.py
f2681db8b5f0c3ca9dd2d0ed566328fec06e91f0
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
Python
false
false
1,118
py
#coding=utf-8 def judge(func, x): now = 0 step = x while step: half = step / 2 mid = now + half if func(mid) >= x: step = half else: now = mid + 1 step = step - half - 1 return func(now) == x tri = lambda x: x * (x + 1) / 2 pen = lamb...
[ "mail.kuuy@gmail.com" ]
mail.kuuy@gmail.com
86e8c953a972751c4a8555d90850370a1d07b9b7
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/tests/sentry/api/endpoints/test_sentry_app_installation_external_issues.py
be7be0126e70806b69e2f738c1d12a1bd4294da0
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
3,627
py
from django.urls import reverse from sentry.models import PlatformExternalIssue from sentry.testutils import APITestCase class SentryAppInstallationExternalIssuesEndpointTest(APITestCase): def setUp(self): self.superuser = self.create_user(email="a@example.com", is_superuser=True) self.user = sel...
[ "noreply@github.com" ]
nagyist.noreply@github.com
314b4c400de8e62e8549da1b64fdbd5dac346279
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Introduction_to_numerical_programming_using_Python_and_CPP_Beu/Ch12/Python/P12-PendulumRKT.py
d8b46110571d6040edd787cf36e7601500a26af3
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
4,651
py
# Angular motion of a nonlinear pendulum by the Runge-Kutta method # u" = -g/l * sin(u) - k * u', u(0) = u0, u'(0) = u0' from math import * from ode import * from integral import * from graphlib import * g = 9.81e0 # gravitational acceleration def Func(t, u, f): ...
[ "me@yomama.com" ]
me@yomama.com
44aad0beb071f8148927b511129c5a438e28793a
2bc18a13c4a65b4005741b979f2cb0193c1e1a01
/test/suite/E22.py
2ff470b12e1ef1e68f1d4cb262ca4ca989a50d63
[ "MIT" ]
permissive
hhatto/autopep8
b0b9daf78050d981c4355f096418b9283fc20a0f
4e869ad63a11575267450bfefdf022bb6128ab93
refs/heads/main
2023-09-01T05:14:18.553939
2023-08-27T14:12:45
2023-08-27T14:12:45
1,206,729
3,966
329
MIT
2023-08-27T14:12:46
2010-12-29T20:08:51
Python
UTF-8
Python
false
false
1,904
py
#: E221 a = 12 + 3 b = 4 + 5 #: E221 E221 x = 1 y = 2 long_variable = 3 #: E221 E221 x[0] = 1 x[1] = 2 long_variable = 3 #: E221 E221 x = f(x) + 1 y = long_variable + 2 z = x[0] + 3 #: E221:3:14 text = """ bar foo %s""" % rofl #: Okay x = 1 y = 2 lon...
[ "git@stevenmyint.com" ]
git@stevenmyint.com
5a8108aa85b60f456469472cc895b31a4dd578d6
989bb5d2d3e89db21fcbeac91a1e64967ea6377b
/reinforcement_learning/rl_stock_trading_coach_customEnv/src/preset-stock-trading-ddqn.py
b3b9e819d441d08edcb2904a0a7596abfdc77dfa
[ "Apache-2.0" ]
permissive
araitats/amazon-sagemaker-examples
7cec9ea5822f0469d5dfabbcf3cab62ce9c0f0d1
512cb3b6310ae812c6124a451751237d98a109b1
refs/heads/master
2023-04-19T05:54:47.334359
2021-04-27T21:04:33
2021-04-27T21:04:33
338,094,683
2
1
Apache-2.0
2021-04-27T15:35:14
2021-02-11T17:07:39
Jupyter Notebook
UTF-8
Python
false
false
2,550
py
# Preset file in Amazon SageMaker RL from rl_coach.agents.ddqn_agent import DDQNAgentParameters from rl_coach.architectures.head_parameters import DuelingQHeadParameters from rl_coach.architectures.layers import Dense from rl_coach.base_parameters import VisualizationParameters, PresetValidationParameters from rl_coach...
[ "noreply@github.com" ]
araitats.noreply@github.com
5e39d154bb237d501d3319296ce682ccc8ad804b
7858ef9fab9cccf7874d34d2db8a781dc83e9afc
/musicLrc.py
bcbef8c15ce4fa1656c062f45eb901b87f935220
[ "MIT" ]
permissive
xiangxing98/Rhythm-Enlightment
b3a3beabf065f9974b740770a22a6711f0a4e5b9
d6302321e858d07480b18e94c59de87f91c39202
refs/heads/main
2023-08-31T07:51:47.772193
2021-10-10T11:16:42
2021-10-10T11:16:42
311,373,916
1
0
null
null
null
null
UTF-8
Python
false
false
2,180
py
import time musicLrc = """ [00:03.50]传奇 [00:19.10]作词:刘兵 作曲:李健 [00:20.60]演唱:王菲 [00:26.60] [04:40.75][02:39.90][00:36.25]只是因为在人群中多看了你一眼 [04:49.00] [02:47.44][00:43.69]再也没能忘掉你容颜 [02:54.83][00:51.24]梦想着偶然能有一天再相见 [03:02.32][00:58.75]从此我开始孤单思念 [03:08.15][01:04.30] [03:09.35][01:05.50]想你时你在天边 [03:16.90][01:13.13]想你时你在眼前 [03:...
[ "xiangxing985529@163.com" ]
xiangxing985529@163.com
14e42df22590759448d1d68052ea24b138f033fa
0cd2fe66676b8c5fc005ce6010a5040acc725961
/IIS/WordEngineering/Python/PythonBasics.org/ArgumentStatistics.py
349f1317f79fdd26511223a1bf95352dab8bd746
[]
no_license
KenAdeniji/WordEngineering
c360095dcbc0cbf2908e16c8b05774b40abd6a08
d924cb4579c54c4e65547050c9a6defecf927407
refs/heads/main
2023-08-18T04:14:38.439110
2023-08-17T01:15:48
2023-08-17T01:15:48
9,719,085
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
""" 2022-08-08T21:09:00 Created. https://pythonbasics.org/list/ 2022-08-08T21:35:00 https://www.w3schools.com/python/python_lists_add.asp """ if __name__ == '__main__': import sys elements = [] for argumentIndex in range(1, len(sys.argv)): elements.append ( float( sys.argv[argumentIndex] ) ) print( "All elem...
[ "kenadeniji@hotmail.com" ]
kenadeniji@hotmail.com
fdcf336736d2f0b1c3a6b2993fd50d57443c4b8a
1415fa90c4d86e76d76ead544206d73dd2617f8b
/venv/Lib/site-packages/direct/extensions_native/extension_native_helpers.py
e9648e7440e0e3babaca997d3dfe9df1d56af16e
[ "MIT" ]
permissive
Darpra27/Juego-senales
84ea55aea7c61308ec1821dac9f5a29d2e0d75de
e94bc819e05eff1e0126c094d21ae1ec2a1ef46d
refs/heads/main
2023-04-04T07:27:53.878785
2021-04-09T00:00:44
2021-04-09T00:00:44
353,472,016
0
1
MIT
2021-04-09T00:04:31
2021-03-31T19:46:14
Python
UTF-8
Python
false
false
661
py
__all__ = ["Dtool_ObjectToDict", "Dtool_funcToMethod"] import sys def Dtool_ObjectToDict(cls, name, obj): cls.DtoolClassDict[name] = obj def Dtool_funcToMethod(func, cls, method_name=None): """Adds func to class so it is an accessible method; use method_name to specify the name to be used for calling the met...
[ "daviricado08@gmail.com" ]
daviricado08@gmail.com
9232f1097d96bfc636547100f25e94ec34ba4be7
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_allowed.py
80da70e90e4edd675339760df3e58fdc167a8dfc
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
#calss header class _ALLOWED(): def __init__(self,): self.name = "ALLOWED" self.definitions = allow self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['allow']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d5f6e3d56b94f7eb62b8cfe5f9d5731e71cb7227
167c6226bc77c5daaedab007dfdad4377f588ef4
/python/ql/test/library-tests/frameworks/django-orm/testproj/wsgi.py
2d192b707be6157f205928bdaafc8f2650cdf272
[ "MIT", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0" ]
permissive
github/codeql
1eebb449a34f774db9e881b52cb8f7a1b1a53612
d109637e2d7ab3b819812eb960c05cb31d9d2168
refs/heads/main
2023-08-20T11:32:39.162059
2023-08-18T14:33:32
2023-08-18T14:33:32
143,040,428
5,987
1,363
MIT
2023-09-14T19:36:50
2018-07-31T16:35:51
CodeQL
UTF-8
Python
false
false
393
py
""" WSGI config for testproj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "rasmuswl@github.com" ]
rasmuswl@github.com
7516a788d75c67837c538c0c4b008d1c8fd483bd
c751562ea538476464a13a281f321cbfebf89b76
/python_stack/django_assignments/dj_multi_app/assignments/apps/random_word/urls.py
7f9d10a9a41c3fae3fc681cc5e1f4103f7612076
[]
no_license
brizjose/JBCodingDojo
7e598419c0e090be4a92f7c3e80323daa9b4bb26
fc161de86995d285bb5b2c39e28e9adbe04faebc
refs/heads/master
2020-03-21T09:31:02.402139
2019-02-18T03:45:22
2019-02-18T03:45:22
138,403,753
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^generate$', views.index), url(r'^reset$', views.reset) ]
[ "brizjosem@gmail.com" ]
brizjosem@gmail.com
865aa17c6f002cf1561940b008ce39786fc4b0bd
c31c8095ce4d4e9686e3e7ad6b004342e49671fa
/forum/migrations/0107_auto_20190222_1529.py
b05f63a3572f698529b9f48e75e977ba3fb76d1c
[]
no_license
Lionalisk/arrakambre
7bcc96dea2ca2a471572bfb1646256f1382ce25b
2caece9be5eebf21ddfa87a6c821c32b5d5019a2
refs/heads/master
2020-12-07T19:31:24.471090
2020-01-09T10:14:29
2020-01-09T10:14:29
232,782,172
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
# Generated by Django 2.1.3 on 2019-02-22 14:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('forum', '0106_auto_20190214_1523'), ] operations = [ migrations.AddField( model_name='action', name='post_OK', ...
[ "lionel.varaire@free.fr" ]
lionel.varaire@free.fr
f35589622bfdf0aad52c6ca55268e12de8f1e7af
aec3cb058bc5b50a09b39808fff10a3858104777
/broadcasts/admin.py
7abe984e30f6989bea4814bbfb3d73d819bfb622
[]
no_license
igoo-Y/Busker
37076cb3d97d253525374238c45ed0bc34d95b1e
33433392b77d392d562c833ab0263e0b6dc87d8f
refs/heads/main
2023-06-05T10:21:33.594770
2021-06-29T16:31:30
2021-06-29T16:31:30
380,946,007
1
0
null
null
null
null
UTF-8
Python
false
false
766
py
from django.contrib import admin from django.utils.safestring import mark_safe from . import models @admin.register(models.Broadcast) class BroadcastAdmin(admin.ModelAdmin): """Broadcast Admin Definition""" list_display = [ "name", "broadcast_host", "resolution", "on_air", ...
[ "79055280+igoo-Y@users.noreply.github.com" ]
79055280+igoo-Y@users.noreply.github.com
a6cc76c7d4b8796021153072dd7b245838ade37e
8450c3a56cae4df1ca26a1a251be9fb073ccf261
/contents/serializers.py
047960027451a250bc0b644bb920857cafbae403
[]
no_license
veggieavocado/Gobble-VA
a7548eb5699f5acda85b0437ed6532451ecd601c
3e507c5eb99c313e43fac3f2fdb6e4e2cba612c4
refs/heads/master
2022-12-10T03:03:16.737651
2018-08-20T12:41:41
2018-08-20T12:41:41
144,936,741
0
0
null
2022-12-08T02:46:26
2018-08-16T04:30:25
Python
UTF-8
Python
false
false
809
py
from rest_framework import serializers from contents.models import ( WantedContent, WantedUrl, WantedData, NaverData, NaverContent, ) class WantedContentSerializer(serializers.ModelSerializer): class Meta: model = WantedContent fields = "__all__" class WantedUrlSerializer...
[ "ppark9553@gmail.com" ]
ppark9553@gmail.com
8436577aa5df2a79e57a02aa80d729fd3c5c56f4
e57d7785276053332c633b57f6925c90ad660580
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_link_resources_operations.py
b8283cdfee176cb6df2a08abc3ac1532219f7d0e
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
4,967
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
f68b49227da78a4b3e1b284b8590d1b5d74fcd27
00d1856dbceb6cef7f92d5ad7d3b2363a62446ca
/djexample/account/models.py
c1a4c0545167c8551ea5a84b00bc5c1ea6428f30
[]
no_license
lafabo/django_by_example
0b05d2b62117f70681c5fc5108b4072c097bc119
3cf569f3e6ead9c6b0199d150adf528bd0b2a7c5
refs/heads/master
2020-12-29T17:54:12.894125
2016-06-04T10:35:22
2016-06-04T10:35:22
58,313,176
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
from django.db import models from django.conf import settings from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL) date_of_birth = models.DateField(blank=True, null=True) photo = models.ImageField(upload_to='users/...
[ "lazyfatboy@ya.ru" ]
lazyfatboy@ya.ru
669ad5258dc8974e3d669a1026cd95e4586a0300
0668f9b72fc027269e8203ad0da1fb54ef1b168f
/web/regression/feature_utils/locators.py
297b84086db2e783335d560cd40edbcc0e7b43ae
[ "PostgreSQL" ]
permissive
musicfox/pgadmin4
6d6beed5df04e081afd51fdc8d8f2d4a1df2f41d
be55ff33b28da8a15a365413c94e67b24453f7d8
refs/heads/master
2021-07-10T04:49:28.167599
2021-03-10T18:53:06
2021-03-10T18:53:06
235,440,538
0
0
NOASSERTION
2021-03-10T18:52:47
2020-01-21T21:00:22
Python
UTF-8
Python
false
false
7,613
py
# # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2021, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## class BrowserToolBarLocators(): """This will contains element locators for browser tool...
[ "akshay.joshi@enterprisedb.com" ]
akshay.joshi@enterprisedb.com
5945e1f0ec97a5d3527a309df210b2eb12f22504
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/battle_royale/scripts/client/battle_royale/gui/Scaleform/daapi/view/lobby/level_up_view.py
b909a5e9680b6ccb633deb9d2543aee31a5a1855
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
4,521
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: battle_royale/scripts/client/battle_royale/gui/Scaleform/daapi/view/lobby/level_up_view.py import SoundGroups from gui.Scaleform.daapi.view.lobby.missions.awards_formatters import EpicCurtailingAwardsComposer from gui.Scaleform.daapi.view.meta.Bat...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
95863d8299a65c4c28cab33f3d17e32cb40a5250
388c156092f690f6f7fdff0e1cb0c8997dc5fca3
/provider/sftp.py
eae1aaacfe758f00f76f6b5c1ddb7ce415511dc2
[ "MIT" ]
permissive
jhroot/elife-bot
24cfa3a683d15083d7f029e14f0c5bf17c44238f
c98e72ce20a62caaec473b63c124eec157985616
refs/heads/master
2021-01-09T06:46:10.864054
2017-07-14T23:15:11
2017-07-14T23:15:11
34,174,287
0
1
null
null
null
null
UTF-8
Python
false
false
1,705
py
import paramiko import os """ """ class SFTP(object): def __init__(self, logger=None): paramiko.util.log_to_file('paramiko.log') self.logger = logger def sftp_connect(self, uri, username, password, port=22): """ Connect to SFTP server without a host key """ #...
[ "gnott@starglobal.ca" ]
gnott@starglobal.ca
3cc08fa7fce8d91cf29f51960128eb726465542e
5835910bb7d7df92f6efe55b63c38137aeda76ef
/scripts/setoresRede_teorico.py
4154234ae64cfb87503fb4f03360d0a3dcde2b31
[ "Unlicense" ]
permissive
ttm/articleStabilityInteractionNetworks
b54a859a9abf6c82d88f2233242910e4cd1b1482
051dbbdee4d4b3ec033af18621be3c6fb5a8ca83
refs/heads/master
2020-05-21T22:15:24.656653
2019-07-16T10:47:33
2019-07-16T10:47:33
28,440,596
1
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#-*- coding: utf8 -*- from __future__ import division import numpy as n, pylab as p, networkx as x, random as r, collections as c, string from scipy import special # special.binom(x,y) ~ binom(x,y) __doc__="""Script to plot both scale-free network and random network distributions.""" N=1200 # for the free scale netw...
[ "renato.fabbri@gmail.com" ]
renato.fabbri@gmail.com
8517a06c467886fe2a0c025fc1028fed0437aa42
2f3be02ae7aabbec751392df769f88f17220f7d5
/cheeseboys/character/playingcharacter.py
5a296109452cccb01c7bdbeb4ed63799c2c9fe20
[]
no_license
keul/Cheese-Boys
730a3dc45f23390e31e802f7524eb1fbde73967f
6a017bb3124415b67b55979c36edd24c865bda4d
refs/heads/master
2021-06-01T16:47:37.728144
2016-10-22T15:45:38
2016-10-22T15:45:38
16,045,166
1
0
null
null
null
null
UTF-8
Python
false
false
4,328
py
# -*- coding: utf-8 - import pygame from pygame.locals import * from cheeseboys import utils from cheeseboys import cblocals from cheeseboys.pygame_extensions.sprite import GameSprite from cheeseboys.vector2 import Vector2 from character import Character class PlayingCharacter(Character): """Human player charact...
[ "luca@keul.it" ]
luca@keul.it
ed9fb9a181fa71652862f4934287abda287d0965
d36de316f920342823dd60dc10fa8ee5ce146c5e
/search/views.py
4017903bae50c4964b8bf2834c3bd450c6be275e
[]
no_license
DemocracyClub/EURegulation
a621afa3ffae555ebd5fbdc205eceb7746a468d1
7cf0bf31b200ab1cb59922f0b3ca120be3757637
refs/heads/master
2022-07-22T04:48:59.555642
2018-06-26T14:42:19
2018-06-26T14:42:19
80,203,236
2
0
null
2022-07-08T16:02:53
2017-01-27T11:47:20
Python
UTF-8
Python
false
false
828
py
from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.views.generic import TemplateView from .forms import SearchByDocumentForm from .more_like_text_helper import more_like_text @method_decorator(csrf_exempt, name='dispatch') class SearchView(TemplateVi...
[ "sym.roe@talusdesign.co.uk" ]
sym.roe@talusdesign.co.uk
568505794d3eae12b06c664e95e8820c538eab20
1b962b1796a8fecf0b0c1bb6f3ddf012334f61de
/examples/stop_all_application.py
06625a23ea2380970bea783550cf3e1ee3969da8
[ "Apache-2.0" ]
permissive
chaostoolkit-incubator/chaostoolkit-cloud-foundry
a6ec41c71a5308a54e7c4e773a6230b088633696
d0b10d14d0ca817913765d3d0ffa7490274789ac
refs/heads/master
2023-03-05T02:16:17.715126
2023-02-27T08:03:18
2023-02-27T08:03:18
116,668,969
6
9
Apache-2.0
2022-12-15T09:00:01
2018-01-08T11:34:45
Python
UTF-8
Python
false
false
555
py
# -*- coding: utf-8 -*- import argparse from connection import create_connection_config from chaoscf.actions import stop_all_apps def cli(): parser = argparse.ArgumentParser() parser.add_argument('--org', dest='org_name', help='org name') return parser.parse_args() def run(org_name: str): """ ...
[ "sh@defuze.org" ]
sh@defuze.org
06b5d7cf3046c29a53322bdc212dfcf7d5f35261
ad14bfaa88467d8d1278e87651b2c393ba5c8780
/skytrip/ticket_reservation/reservation_handler.py
577ca09b7acdc117a589aebf379edde8762b461d
[]
no_license
NumanIbnMazid/reservation
e2ecb9ff3eb7dc9241ed8b71e4d00c2a39cc38ad
bbe7c7e74313ed63d7765a16cf11fdf7f3ad706a
refs/heads/master
2023-03-30T17:30:50.889955
2021-04-06T14:52:07
2021-04-06T14:52:07
355,220,371
1
0
null
null
null
null
UTF-8
Python
false
false
3,702
py
# import necessary modules and libraries from skytrip.ticket_reservation.sabre_reservation_prefs import SabreReservationPrefs from skytrip.gds_handler import SabreHandler from skytrip.ticket_reservation.reservation_validator import validate_reservation_request from skytrip.utils.helper import generate_json, get_root_ex...
[ "numanibnmazid@gmail.com" ]
numanibnmazid@gmail.com
cf94d592fbd9cdd45ddc2aad878445f6d5b84b29
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/jacobi-2d/tmp_files/1308.py
21eab06cb1fb7e619be56156caf58358cdbc4abd
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/jacobi-2d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/jacobi-2d/tmp_files/1308.c') procedure('kernel_jacobi_2d') loop(0) tile(0,2,8,2) tile(0,4,8,4) til...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
3f7c2a36050fed808a933b5dca1883dcfeff22ca
2ab2afc76f6e5d0ac7bfbbbc8c4b0aa51c48ca05
/test/functional/wallet_txn_doublespend.py
d75ff002f1fe476aacc3337a12e3458357947ea9
[ "MIT" ]
permissive
stance-project/stance-core
3587f016edb2a6d785ea36a26183f7ce1c98414b
7a3930614506c3d949b6a425e23421c9d191f4fc
refs/heads/master
2020-05-01T16:54:59.247874
2019-03-28T22:01:13
2019-03-28T22:01:13
177,481,588
0
0
null
null
null
null
UTF-8
Python
false
false
5,665
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Stancecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet accounts properly when there is a double-spend conflict.""" from decimal import Deci...
[ "moabproject@protonmail.com" ]
moabproject@protonmail.com
ecce1997786191156dd7898a762cddfcf114a257
c3cd2d040ceb3eabd387281835cacd0967fdbb6a
/web2py/gluon/packages/dal/pydal/dialects/mysql.py
a386100236fc3c259e2fc8605df4844776df1ff7
[ "MIT", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-2.0-only", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
operepo/smc
cc55338b8b9fbeac78e67397079759965d859b68
d10e7b7567266e31de73e5b29663577cab119a90
refs/heads/master
2022-09-22T07:17:59.970650
2022-07-11T00:20:45
2022-07-11T00:20:45
116,905,452
1
3
MIT
2021-03-09T03:01:37
2018-01-10T03:53:08
Python
UTF-8
Python
false
false
3,393
py
from ..adapters.mysql import MySQL from ..helpers.methods import varquote_aux from .base import SQLDialect from . import dialects, sqltype_for @dialects.register_for(MySQL) class MySQLDialect(SQLDialect): quote_template = "`%s`" @sqltype_for("datetime") def type_datetime(self): return "DATETIME" ...
[ "ray@cmagic.biz" ]
ray@cmagic.biz
78c7e89df03336f03441e3ea87e8fa5579caa157
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02838/s446074232.py
8eb0f4b4ed1ea2eebf2880c48347086873f21dcd
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
def cin(): in_ = list(map(int,input().split())) if len(in_) == 1: return in_[0] else: return in_ N = cin() A = cin() INF = 10 ** 9 + 7 res = [0 for _ in range(65)] for i in range(65): c0, c1 = 0, 0 for j in range(N): if bool(A[j] & (1 << i)): c1 += 1 else: c0 += 1 res[i] = ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
403b8b16bedf5b7845ef8cfff8d119976c5b01fe
62420ebada64ae351d18b1979e4151d012229b23
/Labs/lab1_integral_7.py
875be34ecf585b3fd48ecd5ba3871edf78af473e
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
permissive
snowdj/NumericalMethods
d9b0e3b56ebfa27249b7e8b4a3eaae17a81f7f71
aaf52142aca4e972a6918979ad7d40ade17ca4c9
refs/heads/master
2021-01-17T22:32:06.564271
2018-05-30T23:36:06
2018-05-30T23:36:06
23,029,480
0
0
MIT
2018-05-30T23:36:07
2014-08-16T23:49:40
null
UTF-8
Python
false
false
583
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 30 14:37:24 2016 @author: ih3 """ import numpy def integral(f, Nstrips): """ The general integral: integrate f between 0 and 1. """ locations = numpy.linspace(0.0, 1.0, Nstrips, endpoint=False) integral = numpy.sum(f(locations)/Nstrips) ...
[ "I.Hawke@soton.ac.uk" ]
I.Hawke@soton.ac.uk
ca746e0b98fb85f941e76472d77409bcaf92f7c5
26faed0c9c8e6eaa6109f886f7c0029f8c117c81
/MKLpy/metrics/__init__.py
a27e48df699fca2a070c966d22741f1c9197991b
[]
no_license
minghao2016/MKLpy
9b16efc476360cd216a56382d9a505ba9d31df2f
efd11dc1e46b7a0593eaa8dfc4b2e5e678316954
refs/heads/master
2020-06-10T21:52:46.293245
2016-07-22T09:44:30
2016-07-22T09:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from evaluate import radius, margin, ratio, trace, frobenius, spectral_ratio from alignment import alignment, alignment_ID, alignment_yy#, centered_alignment __all__ = ['radius', 'margin', 'ratio', 'alignment', 'alignment_ID', 'alignment_yy', 'centered...
[ "noreply@github.com" ]
minghao2016.noreply@github.com
7109e39a3d033df97fbc792d96eec7df76ae48f7
498deea585b1b4a1086cd8cfa9e68163d4b85055
/lecture_3/direct_pins_noreject.py
93c75cb1f1d6b3cb5dc74806209ed1466804544b
[]
no_license
bmalgithub/smac
e1f92bdff4e2ca6775602208ade38f14d5bb6a63
06692ba9790784728285e495dff6bdccd3ec0400
refs/heads/master
2022-09-18T14:29:45.887784
2020-06-04T21:15:18
2020-06-04T21:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
import random N = 10 L = 20.0 sigma = 0.75 n_runs = 800 for run in range(n_runs): y = [random.uniform(0.0, L - 2 * N * sigma) for k in range(N)] y.sort() print ([y[i] + (2 * i + 1) * sigma for i in range(N)])
[ "simon@greenweaves.nz" ]
simon@greenweaves.nz
8bde5e700d8be5b7bce5aca0f0150320927bff87
ef54d37f8a3303013ca7469871a320d303957ed7
/robo4.2/i3s/tests/i3s/api/golden_image/data_variables_loop.py
77d37c731f27949e88e761d3ad272470acb9f4b2
[]
no_license
richa92/Jenkin_Regression_Testing
d18badfcf16bda682dfe7bcbbd66f54a9a27a58d
24a74926170cbdfafa47e972644e2fe5b627d8ff
refs/heads/master
2020-07-12T10:01:59.099137
2019-08-27T12:14:53
2019-08-27T12:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
''' Input variables for the test ''' goldenimage_add = {'name': 'goldenimage_', 'description': 'valid_goldenimage', 'file': "valid_file"}
[ "akul@SAC0MKUVCQ.asiapacific.hpqcorp.net" ]
akul@SAC0MKUVCQ.asiapacific.hpqcorp.net
372aeb18b47a34d1436fcf9647054a06ac3e7b8e
53b529e8edf046971db0ef4a740520e0b3e60699
/.history/recipebox/views_20200203112701.py
71882561ea397723be77463be098a8711330a435
[]
no_license
EnriqueGalindo/recipebox
6b6662e517ac045a23cd43aaf296c83cf61608b2
ace7b2699db8be20568ced7062dc85ae92aa2eee
refs/heads/master
2020-12-28T00:46:09.079202
2020-02-04T04:44:35
2020-02-04T04:44:35
238,124,659
0
1
null
2020-04-04T21:40:24
2020-02-04T04:42:05
Python
UTF-8
Python
false
false
141
py
from django.shortcuts import render from .models import Recipe def index_view(request): recipes = Recipe.objects.all() return render
[ "egalindo@protonmail.com" ]
egalindo@protonmail.com
57ed25eff211b530be1059971e9ed3c35dbd4a45
5e343fd4e782ce346e0e2d7b0b3cbdf2e845e1b3
/tests_latinos.py
9c959a8fdc4b3c241c4e615e1971aed8e9c1135f
[]
no_license
pigmonchu/bz6__romanos
e32edffe4c886d8aab6fbf51cb5e977f37551346
c2d478fcd3342ac96d18ff7a1ca8b1f8e567a031
refs/heads/master
2023-01-14T10:19:48.416256
2020-11-19T22:51:08
2020-11-19T22:51:08
312,406,370
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
import unittest from romanos import * import unittest class RomanosTest(unittest.TestCase): def test_descomponer(self): self.assertEqual(descomponer(1987), [1,9,8,7]) def test_descomponer_solo_enteros(self): self.assertRaises(SyntaxError, entero_a_romano, 1987.0) def test_convertir_987(...
[ "monterdi@gmail.com" ]
monterdi@gmail.com
c168b456575a1def19a40a305ed706955514f324
a821e5a6e45665f7e219e3e3ed07c150219e4add
/exercicio94.py
5dc14b6228136877a4c4b8b46e3c56ef616c1aba
[]
no_license
andreplacet/exercicios_python
18a28af942eb2bb211438f0aca10d651b7324fe5
0affe524e99f7739b08fdf58e2b54c5b577c8624
refs/heads/master
2020-08-29T02:05:52.850805
2020-06-01T19:09:50
2020-06-01T19:09:50
217,887,722
1
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
pessoas = dict() grupo = list() maiore_media = list() total_mulheres = list() soma = 0 print(f'\033[7;31m{"PROGRAMA CADASTRO: DICIONARIO E LISTAS": ^30}\033[m') print('\033[33m-=\033[m' * 19) while True: pessoas['nome'] = str(input('Nome: ').capitalize().strip()) pessoas['idade'] = int(input('Idade:')) pess...
[ "andreplacet@gmail.com" ]
andreplacet@gmail.com
93169c15cf84deb549b75eda7a668b2bda3a32bf
640b0b60010c2cc777a7942aebea3278648e1380
/rsopt/pkcli/optimize.py
c198ac20fb0f9fbc4acb4fe0789ad60133adf190
[ "Apache-2.0" ]
permissive
ahebnl/rsopt
c70aa117bc8daeaf82ada1f5bc4e737b1ab60155
61e17e43f89966d6f9c1d410efee578d91815d88
refs/heads/master
2023-06-08T09:31:34.725585
2021-06-03T19:11:25
2021-06-03T19:11:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
import rsopt.parse as parse import numpy as np import os from rsopt import run from libensemble.tools import save_libE_output def configuration(config): _config = run.startup_sequence(config) software = _config.options.NAME try: nworkers = _config.options.nworkers except AttributeError: ...
[ "chall@radiasoft.net" ]
chall@radiasoft.net
d1aeed351a2e8688855fde5ccb2e5ccb4e76a3d0
ab5a59822d646e13be5f988e9c7e12fe1b8be507
/Curso de Python USP Part1/Exercicios/Distancia_entre_dois_pontos.py
238f2ede9cf48e322fde00f7a39457de1faaaba8
[ "MIT" ]
permissive
JorgeTranin/Cursos_Coursera
db05e0644cccfee7714958693280dfa998c88633
37d26b5f92d9324225f6701d0eb0fd466cff9d86
refs/heads/master
2021-06-13T23:30:04.562052
2020-04-21T18:32:39
2020-04-21T18:32:39
254,464,475
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
''' Receba 4 números na entrada, um de cada vez. Os dois primeiros devem corresponder, respectivamente, às coordenadas x e y de um ponto em um plano cartesiano. Os dois últimos devem corresponder, respectivamente, às coordenadas x e y de um outro ponto no mesmo plano. Calcule a distância entre os dois pontos. Se a dis...
[ "antoniotraninjorge@gmail.com" ]
antoniotraninjorge@gmail.com
3ae53afb63325218dbdeb6903cfae061519c465f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_carnations.py
3ec93932e26acdf49024a8a7a0c1e24d788aaa81
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from xai.brain.wordbase.nouns._carnation import _CARNATION #calss header class _CARNATIONS(_CARNATION, ): def __init__(self,): _CARNATION.__init__(self) self.name = "CARNATIONS" self.specie = 'nouns' self.basic = "carnation" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
595f4f85bc4a24da6055fba6085fa3611391eb33
df9c6d5d8c25a02d62081215792394ebfc9d1c5f
/LangExplore/python/crawler/my-python-Crawler/main.py
bb769289954ca545ec83341e322bc3e97a72549f
[]
no_license
jk983294/Store
1af2f33b80dc559cf61e284695a0485441e4956f
01cf006b4f6751d1f80083339ae26598d851b1a5
refs/heads/master
2021-05-16T03:07:56.025060
2017-03-05T09:59:06
2017-03-05T09:59:06
21,042,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
#!/usr/bin/python -tt import sys import urllib, urllib2 from urllib2 import urlopen from storehouse import Store from engin import Engine from validator import Valid from change_dir import Change_Dir def main(first_url,max): ''' Engine is the class that fetches a url from global Store of URLs and calls downloader to ...
[ "jk983294@gmail.com" ]
jk983294@gmail.com
e7cd3e800dcdd33643f0e3f90abe212b6c2f32d5
23a1faa037ddaf34a7b5db8ae10ff8fa1bb79b94
/HackerRank/Two_Characters.py
ba4416ca7c7126b8d01a2b3ea4255fa0509a8e65
[]
no_license
Pyk017/Competetive-Programming
e57d2fe1e26eeeca49777d79ad0cbac3ab22fe63
aaa689f9e208bc80e05a24b31aa652048858de22
refs/heads/master
2023-04-27T09:37:16.432258
2023-04-22T08:01:18
2023-04-22T08:01:18
231,229,696
2
0
null
null
null
null
UTF-8
Python
false
false
498
py
def check(s): for i in range(1, len(s)): if s[i - 1] == s[i]: return False return True def alternate(s): maxi = -1 unique = list(set(s)) for i in range(len(unique)): for j in range(i + 1, len(unique)): temp = [k for k in s if k == unique[i] or k == u...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
7a663f51988f8596fe0311bd9b7421fbc7eea0e4
c902edb48603caa58ef40fcd50f78944a98b5ca4
/addresses/templatetags/btc_formats.py
469248730cbc9ef793061823eeea87e9827f6226
[ "Apache-2.0" ]
permissive
enrichened/explorer
1fa57750d62d4e96492fb39bdd96a64754f0008b
3b6a99223a174a4b01408e2e2babdfef0948ae2c
refs/heads/master
2020-12-28T19:56:46.205248
2015-10-26T06:45:30
2015-10-26T06:45:30
44,997,335
1
0
null
2015-10-26T21:07:39
2015-10-26T21:07:39
null
UTF-8
Python
false
false
2,086
py
from django import template from blockcypher.utils import format_crypto_units, estimate_satoshis_transacted from blockcypher.api import _get_websocket_url from blockcypher.constants import COIN_SYMBOL_MAPPINGS register = template.Library() @register.simple_tag(name='satoshis_to_user_units_trimmed') def satoshis_to...
[ "mflaxman@gmail.com" ]
mflaxman@gmail.com
fd1af9b7efdb92633fdbc72eeaa900fd693799db
dab68b742da7945b75ac957deed6e9a72283934f
/Stock-Insight/stock/migrations/0001_initial.py
95a3accf7f6ea722abe9ff880d81c2e10cc1b4cd
[]
no_license
hyunmin0317/Stock-Insight
90dd03665c8c5edbc041284ccefa78e877f9c3c3
558f4da73e62aa064994e680d923ba68d5b8ca4f
refs/heads/master
2023-06-29T23:56:42.979878
2021-08-02T02:15:08
2021-08-02T02:15:08
389,097,513
1
0
null
null
null
null
UTF-8
Python
false
false
633
py
# Generated by Django 3.2.5 on 2021-07-24 11:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Stock', fields=[ ('id', models.BigAutoField...
[ "choihm9903@naver.com" ]
choihm9903@naver.com
23185ba5e53e4d11464abd775cd3fc0650aa0fbd
b18793c1f2f08b72461f1c5c47258e072109cdce
/test/functional/wallet_dump.py
18be2fae052262d7aacfe05fd651710705cf11be
[ "MIT" ]
permissive
Penny-Admixture/BarrelCrudeCoin
58af9873197df4eb39f235adeab90ca4252e509f
6cba56f636f72c0aeba79a0ea1cb9ac71da83691
refs/heads/main
2023-03-17T14:27:03.947863
2021-03-13T04:31:08
2021-03-13T04:31:08
348,196,653
3
1
MIT
2021-03-16T03:05:47
2021-03-16T03:05:47
null
UTF-8
Python
false
false
7,562
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the dumpwallet RPC.""" import os from test_framework.test_framework import BitcoinTestFramework f...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
aedf0fada42716e74807b5c2a7be59f7a447cc96
5c2e0fe391f7c720d0a6c117a64f4c8e89fece93
/research/slim/preprocessing/lenet_preprocessing.py
594b190db55ca67c66ae579e6808319141cae484
[ "Apache-2.0" ]
permissive
lyltencent/tf_models_v15
e3bed9dfee42685118b0f3d21bb9de37d58cf500
0081dbe36831342051c09a2f94ef9ffa95da0e79
refs/heads/master
2022-10-20T20:00:26.594259
2020-09-19T05:37:22
2020-09-19T05:37:22
161,750,047
0
1
Apache-2.0
2021-03-31T21:04:01
2018-12-14T07:47:33
Python
UTF-8
Python
false
false
1,576
py
# Copyright 2016 The TensorFlow 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 ...
[ "yxl7245@eng-4150-nix03.main.ad.rit.edu" ]
yxl7245@eng-4150-nix03.main.ad.rit.edu
70415dd9deef6ab1e8966d5e55f421078161addb
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/RPG/2D-Rpg/dist/RPg/install.spec
33596684219ed2ff5f789ac1a3aae2dfb34a9d1b
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
1,008
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['install', 'RPG.py'], pathex=['C:\\Users\\Administrator\\PycharmProjects\\RPg'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], ...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
49355e3f506ad306b872c1b246e349797f64e282
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW02_20210630160907.py
52129c81b3ccfcab609e7ac8d0a9332aa5e66235
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
""" Georgia Institute of Technology - CS1301 HW02 - Conditionals and Loops Collaboration Statement: """ ######################################### """ Function Name: snackBar()  Parameters: snack (str), ingredient (str), yourMoney (float) Returns: whether you can get the snack (bool) """ ###########...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
77ad50410d1bdc0313e1f865a0a2aeeabb70fce6
8afb5afd38548c631f6f9536846039ef6cb297b9
/GIT-USERS/TOM-Lambda/adv1/adventure/room.py
e89828681c2054266f81eb60f66d339a57a64bfa
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,558
py
# Implement a class to hold room information. This should have name and # description attributes. class Room: def __init__(self, name, description, id=0, x=None, y=None): self.id = id self.name = name self.description = description self.n_to = None self.s_to = None se...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
9cbe96ea46986a7818d9aeb7cc6d24c6d34b4ba3
a205f76141a6f21f7c200f2159bedcfab582dc00
/train_Verifier/experiments/_init_paths.py
5e975df3740ee482577d721cacde23d0f8977363
[]
no_license
iiau-tracker/SPLT
c054a356e5a9181238b116df6da9e6fedb5d4808
a196e603798e9be969d9d985c087c11cad1cda43
refs/heads/py36
2022-12-04T21:11:59.610453
2020-04-27T13:52:34
2020-04-27T13:52:34
198,601,914
138
31
null
2022-11-22T03:56:30
2019-07-24T09:23:34
Python
UTF-8
Python
false
false
238
py
import os.path as osp import sys def add_path(path): if path not in sys.path: sys.path.insert(0, path) this_dir = osp.dirname(__file__) # Add lib to PYTHONPATH lib_path = osp.join(this_dir, '..', 'lib') add_path(lib_path)
[ "yan_bin@mail.dlut.edu.cn" ]
yan_bin@mail.dlut.edu.cn
f38686067b777f18a9d5e47fbfc924eb2b6ee11a
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/botservice/azure-mgmt-botservice/azure/mgmt/botservice/models/facebook_channel_properties.py
934885b5b4f9dc8dd0ebe4f80c2373209c4876ad
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,484
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
b49017febf9455f92910b62b9beb9f13cae67489
442662a56b91729921cfc00aa786ec9b7a806ade
/DZ/accounts/migrations/0003_auto_20210113_2029.py
b63d5e5018744e6eec71133a34b61ccaa9899531
[]
no_license
Evn1/Python-Development
25f814ec2c8be41acb797484f770f16ca23976fd
34850ce56b60cee787da51afdb277b25ed42ad21
refs/heads/master
2023-02-15T16:04:30.324116
2021-01-14T15:50:59
2021-01-14T15:50:59
296,029,415
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# Generated by Django 3.1.4 on 2021-01-13 17:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_courses_registration'), ] operations = [ migrations.AddField( model_name='regi...
[ "you@example.com" ]
you@example.com
12a0db49cb8ee47e5ccc6a3c3abcf5124932ba31
dab3caaab87e0069ade1eccfd0884c2a734206e6
/array/add_digits.py
6b55e4b00df02bf15f77eb0bde49f252b0027a21
[]
no_license
sinoyuco/leetcode_solutions
026b7be370d7fe43413e8a5d9aa8d6431759477f
b73decacb340841f49e2a37cf0ca5c0ca427cab0
refs/heads/master
2023-02-20T21:15:26.524946
2021-01-26T19:07:43
2021-01-26T19:07:43
290,261,639
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
class Solution: def addDigits(self, num: int) -> int: l = sum([int(i) for i in str(num)]) while l >= 10: t = sum([int(i) for i in str(l)]) l = t return l
[ "sinan.yucesan@gmail.com" ]
sinan.yucesan@gmail.com
3e4adff4b8b009642ea983d752598a9538e93384
1ba1144b09e97cbf1a79e9ba16b148d7284beddd
/lib/node_modules/@stdlib/math/base/special/exp10/benchmark/python/scipy/benchmark.py
4f93477f2c8219cda84d6f35e7ce442c218639cd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "SunPro", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
doc22940/stdlib
faecf4fbd61c3c5b5d782c3e1ffe78ecd6d5ab27
3bfc8bcf42ee5ee3db4db534aa2b2cbdbf131db7
refs/heads/develop
2021-03-02T15:52:14.912013
2020-02-15T19:20:34
2020-02-15T19:20:34
245,879,921
1
0
Apache-2.0
2021-01-28T02:43:52
2020-03-08T20:06:08
null
UTF-8
Python
false
false
2,202
py
#!/usr/bin/env python # # @license Apache-2.0 # # Copyright (c) 2018 The Stdlib 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 # # ...
[ "kgryte@gmail.com" ]
kgryte@gmail.com
4a6a68b2df0ba1800fadb7492235bd467b3f384b
3d95cc7df2530c22595b91a7f4b381bf1360bc8f
/src/aioquic/about.py
6dc02495c74b6ba265bb249de5f255a44caec09e
[ "BSD-3-Clause" ]
permissive
the-rene/aioquic
0fd26c6d39cd3d00eb83778279778ccbcabb398d
a9805eabf9d18825d61531256f9b9e4a791a5369
refs/heads/master
2020-11-27T07:29:29.349154
2020-02-08T19:29:35
2020-02-08T19:29:35
229,354,974
0
0
BSD-3-Clause
2019-12-21T00:18:14
2019-12-21T00:18:13
null
UTF-8
Python
false
false
227
py
__author__ = "Jeremy Lainé" __email__ = "jeremy.laine@m4x.org" __license__ = "BSD" __summary__ = "An implementation of QUIC and HTTP/3" __title__ = "aioquic" __uri__ = "https://github.com/aiortc/aioquic" __version__ = "0.8.4"
[ "jeremy.laine@m4x.org" ]
jeremy.laine@m4x.org
e19842a025778ff5151e96fbfb360144586a7d98
62b90c18b882df48dc47210d6023b448910d2e07
/example/show_time.py
6d196deb328a181a3f587d5ab853be8bca0ecff1
[ "BSD-3-Clause" ]
permissive
Kirill888/websockets
62edc19ca1e3845f5e37610b0160816994bb83c1
af9abc4dd7524d63df7045e8f91b2c12d2a31aa9
refs/heads/master
2020-04-14T07:15:28.319873
2019-01-02T00:34:10
2019-01-02T00:34:10
163,707,650
0
1
BSD-3-Clause
2019-01-01T01:54:51
2019-01-01T01:54:51
null
UTF-8
Python
false
false
487
py
#!/usr/bin/env python # WS server that sends messages at random intervals import asyncio import datetime import random import websockets async def time(websocket, path): while True: now = datetime.datetime.utcnow().isoformat() + 'Z' await websocket.send(now) await asyncio.sleep(random.ran...
[ "aymeric.augustin@m4x.org" ]
aymeric.augustin@m4x.org
bdbf08ae1a0b0813a254ef5c270acf0029ab625d
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/heat-3d/tmp_files/4280.py
f1554b291258f0a17f513c276ae9cf789188fd0f
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/heat-3d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/heat-3d/tmp_files/4280.c') procedure('kernel_heat_3d') loop(0) known('n>3') tile(0,2,8,2) tile(0,4,64...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
9419a1998c3a470874025ae739ab733a553cabe1
683d81b0d0ac10e3782b42f1ea6007124d72a663
/1. Problems/b. Strings & Hash/0. Template/c. Best Substring - Find Longest Subarray with Distinct Entries.py
5d6c4016e51b59fc2df63c9a2376ef08cb1f02b7
[]
no_license
valleyceo/code_journal
4b5e6fcbd792fedc639f773ca2bbf6725a9b9146
0191a6623e7a467c2c0070c4545358301a5e42ba
refs/heads/master
2022-09-16T17:47:55.343712
2022-09-03T23:46:38
2022-09-03T23:46:38
129,997,935
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
# Find The Longest Subarray With Distinct Entries ''' - Given an array - Return the length of longest subarray where all its elements are distinct - Ex: < f,s,f,e,t,w,e,n,w,e > -> < s,f,e,t,w, > ''' # O(n) time def longest_subarray_with_distinct_entries(A: List[int]) -> int: # Records the most recent occurrence...
[ "ericjkim9@gmail.com" ]
ericjkim9@gmail.com
08054036f4c3a2e75d377b6e19f38b9de3adf161
d2189145e7be2c836017bea0d09a473bf1bc5a63
/Reposiciones/Carina Chavez Granados/12 septiembre 2018/Aprobado.py
9611771d8ded8d6eef3de83eb7c77bd1a87db5b4
[]
no_license
emilianoNM/Tecnicas3
12d10ce8d78803c8d2cd6a721786a68f7ee2809d
6ad7f0427ab9e23643a28ac16889bca8791421d0
refs/heads/master
2020-03-25T18:06:34.126165
2018-11-24T04:42:14
2018-11-24T04:42:14
144,013,045
3
5
null
2018-09-14T10:47:26
2018-08-08T12:49:57
Python
UTF-8
Python
false
false
693
py
#Programa que determina si el alumno a aprobado o no #Chavez Granados Carina nota1 = float(input("Ingrese la calificacion obtenida en el primer parcial ")) nota2 = float(input("Ingrese la calificacion obtenida en el segundo parcial ")) nota3 = float(input("Ingrese la calificacion obtenida en el tercer parcial ")) punt...
[ "noreply@github.com" ]
emilianoNM.noreply@github.com
6fcbae292226ca0df91a1262396edff293e55426
72ea8dbdbd68813156b76c077edb5a3806bf42ab
/synapse/models/syn.py
52034d79f42a87c3c24fcd12ef773c1a0a06b8c8
[ "Apache-2.0" ]
permissive
williballenthin/synapse
5c6f197f5a3cb3566c48dc444770592e89d4152a
799854da814b79d6631e5cc2796c347bf4a80ce7
refs/heads/master
2020-12-24T14:19:12.530026
2017-03-16T20:30:38
2017-03-16T20:30:38
41,521,212
2
0
null
2015-08-28T02:01:50
2015-08-28T02:01:50
null
UTF-8
Python
false
false
164
py
import synapse.compat as s_compat import synapse.common as s_common def getDataModel(): return { 'prefix':'syn', 'version':201611251045, }
[ "invisigoth.kenshoto@gmail.com" ]
invisigoth.kenshoto@gmail.com
aa32923fbd572cd498fb62627530c7d9b900fc71
372185cd159c37d436a2f2518d47b641c5ea6fa4
/413. 等差数列划分.py
39b4f0dfbb8db4e984bb2abfd914bb7c5ae6873d
[]
no_license
lidongze6/leetcode-
12022d1a5ecdb669d57274f1db152882f3053839
6135067193dbafc89e46c8588702d367489733bf
refs/heads/master
2021-07-16T09:07:14.256430
2021-04-09T11:54:52
2021-04-09T11:54:52
245,404,304
1
0
null
null
null
null
UTF-8
Python
false
false
546
py
class Solution: def numberOfArithmeticSlices(self, A): l = len(A) if l <= 2: return 0 diff = [0] for i in range(1, l): diff.append(A[i] - A[i - 1]) f = [0] * l # f[i]表示以i结尾的数字组成的等差数列的个数 # 若连续三个数的差相等,则f[i]=f[i-1]+1 for i in range(2, l...
[ "lidongze6@163.com" ]
lidongze6@163.com
ae26fe64e6810360680b6da6c841166e9db818da
a7da58ad91b007b3650003708eb91928f1e3684a
/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyLine_asCellRange.py
eda0a0f89d2ee885ca282f1b886772300ff84937
[]
no_license
jgpjuniorj/j
042d1bd7710fa2830355d4312a6b76103e29639d
dc02bfa887ffab9841abebc3f5c16d874388cef5
refs/heads/master
2021-01-01T09:26:36.121339
2020-01-31T10:34:17
2020-02-07T04:39:18
239,214,398
1
0
null
null
null
null
UTF-8
Python
false
false
4,345
py
portal = context.getPortalObject() Base_translateString = portal.Base_translateString cell_range = [] add_predicate = 1 # Get base category list if option_variation: # Get option base category list add_predicate = 0 no_option_base_category_list = context.getVariationRangeBaseCategoryList( ...
[ "georgios.dagkakis@nexedi.com" ]
georgios.dagkakis@nexedi.com
64f6891461be0b9fd842280474e65369c45f9559
853640f0000951c54075d7fc06eb8dd142baf488
/Staff/mclavan/old/mecScripts/myDev/mecModImport.py
4f579360dc9a953b73c5dad3d457d321d3465878
[]
no_license
creuter23/fs-tech-artist
fe666a61d7356bea45a23a27f9345733f696a2bc
ce3da679e3726baec7840156d6c6f6867b427383
refs/heads/master
2021-01-10T13:15:50.382194
2012-06-24T01:33:52
2012-06-24T01:33:52
45,221,516
2
1
null
null
null
null
UTF-8
Python
false
false
3,203
py
# Load the information from a director into a gui as import glob import os, os.path import maya.cmds as cmds winWidth = 300 # path, list files or directories, type # type = 0 (tabs), 1 (frames), 2(iconTextButton) win = "mecModIWin" def gui(): global mainCol if( cmds.window(win, q=True, ex=True)): cmds.del...
[ "mclavan@gmail.com" ]
mclavan@gmail.com
1d5182070ff7eb0f5888e23c461b86b3f1c8c66a
c0bfb092d73644dbb237e6f0aae5f3ba244f0984
/donations/migrations/0001_initial.py
3a505dd07dd5cbbef2a0657872ec98261a9f6849
[]
no_license
callump5/share_respite
a58a2fc6c2585347a3ff5dec8e69d4191d87a77d
5de8c46acc276b41ce0a7f7fd7e15bcbfb027135
refs/heads/master
2022-12-17T00:45:23.507128
2019-12-19T02:27:08
2019-12-19T02:27:08
217,771,733
0
0
null
2022-12-10T11:45:15
2019-10-26T21:32:49
JavaScript
UTF-8
Python
false
false
663
py
# Generated by Django 2.2.6 on 2019-11-08 14:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Donation', fields=[ ('id', models.AutoField...
[ "clpullinger@gmail.com" ]
clpullinger@gmail.com
baa6d62af9a153fb56d1d6f9a552b6ad48a67820
efdd433fb2e358bb9ec4cb293db2211f5516a9e4
/.local/share/virtualenvs/4-minidjango-P3G7Ftdt/bin/django-admin
0ba0613f5f214415a6c8a4390c1e04e6c6c922f6
[]
no_license
errinmarie/FeedBack
3e5c2e581ee207f486567bd838ac864f2c959f18
c7cf1aefea226b10b4387ded4a0693d786558d14
refs/heads/master
2021-10-01T20:08:53.846515
2018-11-28T02:49:41
2018-11-28T02:49:41
159,429,473
0
0
null
null
null
null
UTF-8
Python
false
false
329
#!/home/errinmixon/.local/share/virtualenvs/4-minidjango-P3G7Ftdt/bin/python3.6m # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command...
[ "errinmixon@gmail.com" ]
errinmixon@gmail.com
0ac7805820be5bf5791783a39c2326bf86bcda7b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_apprentice.py
813d28f17ddfac6dcb2f6607bab63449394256c0
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
#calss header class _APPRENTICE(): def __init__(self,): self.name = "APPRENTICE" self.definitions = [u"someone who has agreed to work for a skilled person for a particular period of time and often for low payment, in order to learn that person's skills: "] self.parents = [] self.childen = [] self.propert...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f40dee84cc0a709e9af8c971d1d9af6a2fbb6de2
54e187ce123daff920027560a83f5bb4f6bea602
/20190511/tp_shop/page_test.py
621918c52b5172c6fe5c5296a8423def43cf4d8f
[]
no_license
GuoQin8284/PythonCode
272b01d16ff508685b68c51b523a25e9753162ea
c4016a693c9ab4c798567aabf00135be10beae0c
refs/heads/master
2023-05-06T03:45:55.667271
2021-05-27T15:29:28
2021-05-27T15:29:28
267,345,633
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
import time from selenium.webdriver.common.by import By from tp_shop.base_test import Base_page, Base_handle from tp_shop.unit_test import UnitDriver class Page_driver(Base_page): def __init__(self): super().__init__() self.username=(By.ID,"username") self.password=(By.ID,"password") ...
[ "1143908462@qq.com" ]
1143908462@qq.com
a799042308b5cbe9c4b002b596897942a11b2c3b
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/src/sentry_plugins/gitlab/plugin.py
3a046335398326b2e590b0835ad4fba58cc227b9
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
7,711
py
from rest_framework.request import Request from sentry.integrations import FeatureDescription, IntegrationFeatures from sentry.plugins.bases.issue2 import IssuePlugin2 from sentry.shared_integrations.exceptions import ApiError from sentry.utils.http import absolute_uri from sentry_plugins.base import CorePluginMixin f...
[ "noreply@github.com" ]
nagyist.noreply@github.com
d3997a778c6a237ebc84a8713138315f575446ba
5e120b710f4fb13ca6b445dfd26a1e56c82ba464
/backend/driver/migrations/0001_initial.py
6eaacdb0dabe3947bc212180e78da34361cbcb1c
[]
no_license
crowdbotics-apps/rasoda-house-20728
3e0757cb3590f19d0c706fa9d6b0ee44d77b6023
8af09ec250085074eba14b94635ab4f5f3e5b1a7
refs/heads/master
2022-12-20T05:17:41.979347
2020-09-26T14:31:39
2020-09-26T14:31:39
298,829,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,540
py
# Generated by Django 2.2.16 on 2020-09-26 14:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("del...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b8ef9255d660c674f5716a408b3c9d926bcac2e3
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/service_types.py
18aacc71f4fc4c80fd0cae02267b7092b25a7363
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
5,128
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ServiceTypes: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
de422c04e42be82d6206d20f6ecfd3b98933ee87
fc6eefb980b53baae393980c46ac40d256687014
/Udacity-Intro-to-Algorithms/Lesson 4/Lesson 4 - Quizzes/Make a Combination Lock.py
b15858bc1673074fdfe97e539c7c189236002c6d
[]
no_license
Brian-Mascitello/UCB-Third-Party-Classes
7bc151d348f753f93850f5e286c263639f782b05
e2d26e3d207d364462024759ad2342a8e172f657
refs/heads/master
2021-01-02T09:10:01.146169
2018-10-08T00:19:58
2018-10-08T00:19:58
99,150,324
0
0
null
2018-02-01T06:33:25
2017-08-02T18:47:29
Python
UTF-8
Python
false
false
2,361
py
# Generate a combination lock graph given a list of nodes def make_link(G, node1, node2): if node1 not in G: G[node1] = {} (G[node1])[node2] = 1 if node2 not in G: G[node2] = {} (G[node2])[node1] = 1 return G def create_combo_lock(nodes): G = {} make_link(G, nodes[0], no...
[ "bmascitello@gmail.com" ]
bmascitello@gmail.com
132553e8da80d41a19ba7787d7c58c832b5dbbd3
a923d62758af3d9700dcca5e9258783e1355e1e2
/reviews/utils.py
cf614c4b2cdbdeb425b8d2479ad87d0088525967
[ "MIT" ]
permissive
moshthepitt/answers
c248b539ef16018ad42f6d6ea4af7864b5d4115c
9febf465a18c41e7a48130e987a8fd64ceae3358
refs/heads/master
2022-11-29T12:00:00.964280
2020-07-14T07:31:35
2020-07-14T07:31:35
35,694,085
6
3
MIT
2022-11-22T00:52:43
2015-05-15T20:05:03
Python
UTF-8
Python
false
false
1,764
py
from .models import Review def check_equal(lst): return lst[1:] == lst[:-1] def review_groups(name, sitting, quiz, group=None): """ Bulk create reviews Usage: from questions.models import Quiz, Sitting from users.models import UserGroup from reviews.utils import review_group...
[ "kelvin@jayanoris.com" ]
kelvin@jayanoris.com
4df2cd9a563bc20db64a95f177049d66636412fd
d0be6253944017ce3375b9e761127cb32f95b5fe
/wxpythonInAction/part1_wxPython入门/_2_给你的wxPython程序一个稳固的基础/redirectionStd.py
05ce57d24f48ac8fffe61c13d8210589f5ca2c85
[]
no_license
xuguangmin/Programming-for-study
b99a42a64e54d02ffdd9fc49aa0d90a46b9a15e1
5298f48b9b358c6f3968432bfdebbdf6bd478acc
refs/heads/master
2020-03-29T16:06:33.238082
2015-07-29T07:54:07
2015-07-29T07:54:07
39,826,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
#!/usr/bin/env python #coding:utf-8 """演示程序的生命周期和重定向标准输出""" import wx import sys, time class Frame(wx.Frame): def __init__(self, parent, id, title): print "Frame __init__"#框架被打开之前输出 wx.Frame.__init__(self, parent, id, title, style=wx.DEFAULT_FRAME_STYLE|wx.FRAME_TOOL_WINDOW) class App(wx.App): def __init__(...
[ "1312909726@qq.com" ]
1312909726@qq.com
0e5669008f6172abbb1c70c5a606a9b19ea6d415
90cebb6ec2862ece52ac14fd28c590d5d48d7afa
/fip_project/staff_profile_app/views.py
9208f9a7b4a960e83b8c9596c91163554592b04f
[]
no_license
muddy700/FIP-Backend
a770a60f0431c8c72c8986035f9310d2a9fdd847
f07da0622ebd275036dee10b58c24b8449944c59
refs/heads/main
2023-07-09T10:11:19.159630
2021-08-15T20:44:44
2021-08-15T20:44:44
360,058,550
1
0
null
null
null
null
UTF-8
Python
false
false
353
py
from rest_framework import generics, permissions, viewsets from .models import StaffProfile from .serializers import StaffProfileSerializer class StaffProfileViewSet(viewsets.ModelViewSet): queryset = StaffProfile.objects.all() permission_classes = [ permissions.IsAuthenticated, ] serializer_cl...
[ "mohamedmfaume700@gmail.com" ]
mohamedmfaume700@gmail.com
e460154eca770c71dd67b7333102ebb4d6b73476
450c27ee64ab60f9cf842eaddda52279012d7885
/0x0F-python-object_relational_mapping/4-cities_by_state.py
121941f8080fc1298e13b4dcdcace5fa6b54a48f
[]
no_license
dacorredor11/holbertonschool-higher_level_programming
5a2805d62736021d26c0731085ad251bf58d45f6
85e54b116fbf359909cad39698ca09945cb639e1
refs/heads/master
2022-12-16T19:43:21.508586
2020-09-25T03:48:23
2020-09-25T03:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
#!/usr/bin/python3 """This module defines a simple query """ import MySQLdb from sys import argv if __name__ == "__main__": user = argv[1] passw = argv[2] database = argv[3] db = MySQLdb.connect(host="localhost", port=3306, user=user, passwd=passw, db=database) cur = db...
[ "vidmore8@gmail.com" ]
vidmore8@gmail.com
f110b89b2b7324c338fc38f8bb9b062a85ac558d
c6cdf43bb35b55b02cffe30c9e267d9ccdcbf050
/fluent_comments/__init__.py
f7f4d32dafa323b79ca3fd3d8519333d318a8c67
[ "Apache-2.0" ]
permissive
matmoxam/django-fluent-comments
b608a888c44a5f99ffd4449dfff93426f11ecedb
441e90047f1fa6143788996b42567d76d1f06806
refs/heads/master
2021-01-12T06:34:36.285149
2016-12-26T13:54:29
2016-12-26T13:54:29
77,386,864
0
0
null
2016-12-26T13:49:25
2016-12-26T13:49:25
null
UTF-8
Python
false
false
678
py
""" API for :ref:`custom-comment-app-api` """ from fluent_comments import appsettings # following PEP 440 __version__ = "1.2.2" def get_model(): """ Return the model to use for commenting. """ if appsettings.USE_THREADEDCOMMENTS: from threadedcomments.models import ThreadedComment ret...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
8c637e726931c4e8cf3f2a28dc8f742e97b3b0ae
ce4cb5a1b577a680f951c7aaa22f71299ed01138
/redis_metrics/management/commands/delete_metric.py
309412a18365d1a3460c956df6c6e9dfe00672f7
[ "MIT" ]
permissive
remohammadi/django-redis-metrics
614cc854e432ce02efa88db878031b0b284d06b7
bd6a4fa8ecf40416652071d480f159d9044640cf
refs/heads/master
2021-01-18T11:10:57.232095
2014-06-22T14:45:12
2014-06-22T14:45:12
21,093,396
1
0
null
null
null
null
UTF-8
Python
false
false
417
py
from django.core.management.base import BaseCommand, CommandError from redis_metrics.models import R class Command(BaseCommand): args = '<metric-key>' help = "Removes a metric and its data" def handle(self, *args, **options): if len(args) == 0: raise CommandError("You must provide a m...
[ "brad@bradmontgomery.net" ]
brad@bradmontgomery.net
50898aa48f292d40ff6fa60f4b28d99842d8ee37
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/graphene_django/tests/urls_pretty.py
dfe4e5b92729441499a0313579db217ef25049ac
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
188
py
from django.conf.urls import url from ..views import GraphQLView from .schema_view import schema urlpatterns = [ url(r'^graphql', GraphQLView.as_view(schema=schema, pretty=True)), ]
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
50c4ef422705200baaed6ae9acc6e9abab88e2b9
95255a27a22d16cdb4a365b2794f8c95377e7e71
/mobike-api-test/lib/util/md5_util.py
12d75ec02f3a0da8b8c4855afcc86ee137edb8aa
[]
no_license
lijule168/python_test_web
9cc23c42e9f1a0392466131234598c8805c0cf62
3e51e9e80e9778540c8cc1c799fed402f2469ae8
refs/heads/master
2023-06-04T14:49:45.533518
2021-06-12T08:05:51
2021-06-12T08:05:51
376,212,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
#!/usr/bin/python import hashlib import base64,datetime class MD5Util(object): str_digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"] def __init__(self): pass @staticmethod def abc(str): md5_str = hashlib.md5(str).digest() #print md5_str ...
[ "lijule168@163.com" ]
lijule168@163.com
d738c1d2381b3860731993767393372dd29cd809
7cb626363bbce2f66c09e509e562ff3d371c10c6
/multimodel_inference/py3_v1/sc11nm.py
6bdfea328462088d3b6fb97dfdb0e94e601771e3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
z0on/AFS-analysis-with-moments
76bfd6b0361ab7e9173144dbd21b6fa2c7bf1795
eea4735b3b6fbe31c4e396da3d798387884a1500
refs/heads/master
2023-07-31T20:49:20.865161
2023-07-19T06:57:32
2023-07-19T06:57:32
96,915,117
4
5
null
2020-09-02T17:39:08
2017-07-11T16:38:03
Python
UTF-8
Python
false
false
3,030
py
#!/usr/bin/env python3 # size change before split, one epoch after split, NO migration # n(para): 6 import matplotlib matplotlib.use('PDF') import moments import pylab import random import matplotlib.pyplot as plt import numpy as np from numpy import array from moments import Misc,Spectrum,Numerics,Manips,Integratio...
[ "matz@utexas.edu" ]
matz@utexas.edu
425772324787c708fdd781c392f229fce2044053
1f5f8f95530003c6c66419519d78cb52d21f65c0
/projects/golem_gui/tests/test_builder_code/access_test_code_does_not_exist.py
40a8bac40ff5d2b61f1fa4c0afee9bdd16ccaba1
[]
no_license
golemhq/golem-tests
c5d3ab04b1ea3755d8b812229feb60f513d039ac
dff8fd3a606c3d1ef8667aece6fddef8ac441230
refs/heads/master
2023-08-17T23:05:26.286718
2021-10-04T20:34:17
2021-10-04T20:34:17
105,579,436
4
1
null
2018-11-19T00:14:24
2017-10-02T20:05:55
Python
UTF-8
Python
false
false
505
py
from golem import actions from projects.golem_gui.pages import common from projects.golem_gui.pages import api description = 'Verify a correct message is displayed when the test does not exist' def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('test_builder_code')...
[ "luciano@lucianorenzi.com" ]
luciano@lucianorenzi.com
86b58e9108130f2dff5013525c7f7f0fa3906107
b5dd8d1b798c94731a84c02d98aafb9147200a85
/sentence_matching/BSCESIMSYNTree/model/BiLSTMModel.py
869c7942ce50796786795acd58145e48e04100c7
[]
no_license
zhangmeishan/DepSAWR
1ae348dd04ec5e46bc5a75c8972b4bc4008528fe
104f44fd962a42fdee9b1a9332997d35e8461ff4
refs/heads/master
2021-07-09T20:56:56.897774
2020-10-27T05:41:08
2020-10-27T05:41:08
206,974,879
15
3
null
null
null
null
UTF-8
Python
false
false
7,800
py
from module.ESIM import * from module.Utils import * from module.CPUEmbedding import * from module.Common import * from module.TreeGRU import * class BiLSTMModel(nn.Module): def __init__(self, vocab, config, init_embedding): super(BiLSTMModel, self).__init__() self.config = config initvocab...
[ "mason.zms@gmail.com" ]
mason.zms@gmail.com
5803d2bdac854626e3b88d695df22e6ff659d9ca
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/nipype/interfaces/slicer/quantification/tests/test_auto_PETStandardUptakeValueComputation.py
61141f65dbfe30615256a06ed5e4e1e5f6fc591c
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
1,497
py
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..petstandarduptakevaluecomputation import PETStandardUptakeValueComputation def test_PETStandardUptakeValueComputation_inputs(): input_map = dict( OutputLabel=dict(argstr='--OutputLabel %s', ), Outp...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
e1a4eb8a1f6dadb3cb47834fa30664dbcd713464
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/bokeh-0.11.1-py27_0/Examples/bokeh/plotting/file/scatter10k.py
9364f0981280640d2cfe1b1051dcafb5b83feed8
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
380
py
import numpy as np from bokeh.plotting import figure, show, output_file N = 10000 x = np.random.normal(0, np.pi, N) y = np.sin(x) + np.random.normal(0, 0.2, N) TOOLS = "pan,wheel_zoom,box_zoom,reset,save,box_select" p = figure(tools=TOOLS, webgl=True) p.circle(x, y, alpha=0.1, nonselection_alpha=0.001) output_f...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
983e9c1f09c014bc65c9dada48f2289de7ebf4c5
a62dba78104e3ed76cd680ae9764419e7adb3690
/Clash/problem3/project/migrations/0025_auto_20190901_2148.py
686ba97f5ef0f44bfc8e06d07559a59e09f6058c
[]
no_license
DK770/Clash-RC_Credenz2019
3c75d020bb182ab832953d801c2eb8493e75bebe
5be974ac752a72370fc75528f2a6987324c06bf1
refs/heads/master
2020-08-01T03:36:32.208556
2019-09-24T16:42:25
2019-09-24T16:42:25
210,848,042
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# Generated by Django 2.2.3 on 2019-09-01 16:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project', '0024_profile_list_cntr'), ] operations = [ migrations.AlterField( model_name='profile', name='visited', ...
[ "tanmaypardeshi@gmail.com" ]
tanmaypardeshi@gmail.com