blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f3057fbc1b612e77ddaea8db1695d3c1244a8059
1d925c3989e80d4cc9d635bf928318646621f722
/PythonClassData/P4-P5/School_Assignment/school_ease/manage.py
3de13f640b7a5add6311137596620bafd4c7ce6d
[]
no_license
mukeshbhoria/PythonClassData
0af81db1c9635d4a08db92bd36d1bbf1db251212
e2378b7ddb0acc5123e0c7227ce617fb63c701ff
refs/heads/master
2022-04-22T05:14:15.285934
2020-04-15T07:07:57
2020-04-15T07:07:57
255,844,437
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'school_ease.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "mukesh.bhoria555@gmail.com" ]
mukesh.bhoria555@gmail.com
d22b6020a2b3d2bfacf12fcb9cb93b0bc3d641d9
a30362e51cb3291daf26d0c62e56c42caeec837f
/python/codeup/solved/_1068.py
87813e822e0529ad4c300ab4f9c21997748b240f
[]
no_license
TERADA-DANTE/algorithm
03bf52764c6fcdb93d7c8a0ed7a672834f488412
20bdfa1a5a6b9c378e588b17073e77a0126f7339
refs/heads/master
2023-04-14T21:40:11.250022
2023-04-12T13:00:37
2023-04-12T13:00:37
288,335,057
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
n = int(input()) if 90 <= n: print('A') elif 70 <= n: print('B') elif 40 <= n: print('C') elif 0 <= n: print('D')
[ "55175301+TERADA-DANTE@users.noreply.github.com" ]
55175301+TERADA-DANTE@users.noreply.github.com
3e39303e74df429285427f7db29619d28902ae04
9165eeb69b43fbc200f6dfb895bd50137424de5a
/爬虫脚本/分布式招聘/demos/settings.py
2ae85ebfb9d92dab649563298a569d7b7dd95cbe
[]
no_license
a605226760/jybian.github.com
65ff9831d2bad01d98a72cfff4f9f39b3c5086d1
7e72ecb3bdbd9ce7dde64b6db74ec9b108d52312
refs/heads/master
2020-04-26T11:33:24.563686
2019-03-05T11:32:11
2019-03-05T11:32:11
173,520,838
1
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
# -*- coding: utf-8 -*- # Scrapy settings for demos project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/...
[ "noreply@github.com" ]
a605226760.noreply@github.com
e75ee1e9861da0acd45b3bc85f7e44d490151f8b
a7d248260c2209b2acae5f182a850badef01882a
/helloworld/tddtests/migrations/0003_sentiments_goodbad.py
e5699e977c7e375a90b95365618fe5ce1fead555
[]
no_license
pepea23/GIT-TEST-101
95c9bdc8c61d426a9afbdc0554f3b76b678bfb2c
43949032248d6dfabc24944451c56b7cb6ba230d
refs/heads/master
2020-06-05T04:10:03.005334
2019-06-17T09:08:35
2019-06-17T09:08:35
192,308,762
0
1
null
2019-10-18T08:59:09
2019-06-17T08:43:43
Python
UTF-8
Python
false
false
398
py
# Generated by Django 2.2.1 on 2019-06-14 01:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tddtests', '0002_sentiments_word'), ] operations = [ migrations.AddField( model_name='sentiments', name='goodbad', ...
[ "pepea.23@live.com" ]
pepea.23@live.com
f966fbe0f466c6922f12b7a2b81e15aaa0d47821
75257a35a3359c10e3633c469215fd1666293098
/nexmoverify/nexmo_verify.py
5d3cd8c4427e4290def9a0f60015755c8267f3b7
[]
no_license
kpnn/mezzanine-nexmoverify
83e77f19094dbb7b419529efac9135b6c0cb2ac5
c89fec04a03de4b80b86046687b8578d76ffb244
refs/heads/master
2021-01-23T13:29:14.780456
2015-04-27T12:26:57
2015-04-27T12:26:57
34,574,771
1
0
null
null
null
null
UTF-8
Python
false
false
2,814
py
import requests NEXMO_ERRORS = { '1': 'Throttled', '2': 'A parameter is missing', '3': 'Invalid value for parameter', '4': 'Invalid credentials were provided', '5': 'Internal Error', '6': 'Un-routable request', '7': 'The number is blacklisted for verification', '8': 'The api_key you sup...
[ "ppp1@w-station.site" ]
ppp1@w-station.site
40decd2f4d8e3de4229e22f1e7dbb250b25cccf8
a281e3b74e0b29a317dcac75b65f25c74faeba98
/code/models/hedwig/models/kim_cnn/args.py
d14e45b6e13bb2a7f9e8302ae6f0a37d35d2470f
[ "Apache-2.0" ]
permissive
elisaF/subjective_discourse
44b507a8e7fd3e66a0edbb00869d14a67d5191ea
a0fd62e089b9adf843a8e1a094c48fd9d1beb400
refs/heads/master
2023-06-22T18:30:29.803378
2021-04-12T15:25:30
2021-04-12T15:25:30
279,589,934
3
1
null
2023-06-12T21:29:07
2020-07-14T13:16:57
Jupyter Notebook
UTF-8
Python
false
false
1,267
py
import os import models.args def get_args(): parser = models.args.get_args() parser.add_argument('--dataset', type=str, default='CongressionalHearing', choices=['CongressionalHearing']) parser.add_argument('--mode', type=str, default='multichannel', choices=['rand', 'static', 'non-static', 'multichannel...
[ "elisa@ferracane.com" ]
elisa@ferracane.com
75fa745ec0847cfc72aa911151a27c4d373a3c39
0e76739a359df29cd8e89096e07054430edb36d7
/fileScanner.py
ff890a3e5f409b628d5ba1ac4adc53cbfd668f80
[]
no_license
Fjolnirr/FileScanner
c52ed19201c92f20fdc5d270bcb85f43683ccbfb
28379baf0578c8962ae7b203ced1418d6de42646
refs/heads/master
2023-06-18T16:04:27.834923
2021-07-17T10:35:50
2021-07-17T10:35:50
386,906,624
1
0
null
null
null
null
UTF-8
Python
false
false
2,574
py
import cv2 import numpy as np #Constants imHeight = 640 imWidth = 480 kernel = np.ones((5,5)) def preProcessing(src): imGray = cv2.cvtColor(src, cv2.COLOR_BGR2GRAY) imBlur = cv2.GaussianBlur(imGray, (5,5),1) imCanny = cv2.Canny(imBlur, 120, 200) imDilation = cv2.dilate(imCanny, kerne...
[ "yusufcan2617@gmail.com" ]
yusufcan2617@gmail.com
89b9f9f0e3926f6078121dbcf6dd64da9e22f77a
4543983bdc58ab1edfaddb7092433cc50f993399
/abstract_factory.py
2e234debdb9d5e8576dd7f38e51d5b21de50b797
[]
no_license
lchojnacki/python_design_patterns
68c78d430163021cab148c45d60105f33216cab2
06b2e155f22f1fd27d380885c8c7d44202cca548
refs/heads/master
2020-08-01T16:47:46.659319
2019-09-26T09:32:19
2019-09-26T09:32:19
211,051,769
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
from abc import ABC, abstractmethod # moduł Abstract Base Class class Konfiguracja: def __init__(self): self.niska_rozdzielczosc = FabrykaNisRozdz() self.wysoka_rozdzielczosc = FabrykaWysRozdz() def poierz_sterownik_niskiej_rozdzielczosci(self): return self.niska_rozdzielczosc ...
[ "lukaszchojnacki2@gmail.com" ]
lukaszchojnacki2@gmail.com
3be06eb873cdd1760ff6e5f63aa67790705e4936
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/interfaces/interface/routed_vlan/ipv4/state/counters/__init__.py
fc80550902dca33ef1415b13bb6c12c3d63fa5ce
[]
no_license
zsblevins/nanog81-hackathon
5001e034339d6b0c6452ae2474f06916bcd715cf
1b64fd207dd69837f947094fbd6d6c1cea3a1070
refs/heads/main
2023-03-03T09:39:28.460000
2021-02-15T13:41:38
2021-02-15T13:41:38
336,698,856
2
0
null
null
null
null
UTF-8
Python
false
false
42,316
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "zblevins@netflix.com" ]
zblevins@netflix.com
0e9eb1dc9ccde3353f68563e2b328daf405bed95
8ee9ce243beb31c876c79edbfd04155ae1466f97
/products/views.py
8abb60cfdcdf2657fe51afcb5d03959c67d821c8
[]
no_license
Code-Institute-Submissions/ms-4-kuk-marketing
1d23a519300c5b5b1883d2b830df80f5775bc896
a159587e1877cd5adc00cff5d42ce27beece0488
refs/heads/master
2022-12-20T09:23:41.165437
2020-10-01T18:38:25
2020-10-01T18:38:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,629
py
from django.shortcuts import render, redirect, reverse, get_object_or_404 from django.contrib import messages from django.contrib.auth.decorators import login_required from django.db.models import Q from django.db.models.functions import Lower from .models import Product, Category from .forms import ProductForm # Cre...
[ "s.oliver1@icloud.com" ]
s.oliver1@icloud.com
bc204ab56e855fa8c56fd746ff56d047dc26ef49
4d115936b966158d28ebcbc0c8a6eaf1134b7b09
/problems/0020-valid-parentheses.py
f44c7b857c772989c61f4af6fb8a3f64c55801d5
[ "MIT" ]
permissive
tzxyz/leetcode
14f96db680e0b5f45dcbbc8e7f29e93edecc02b6
d599e223bed1b957a1283face7606cb651b28ec4
refs/heads/master
2020-05-27T06:22:48.406946
2019-11-14T14:04:21
2019-11-14T14:04:21
188,520,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
class Solution: """ 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: "()[]{}" 输出: true 示例 3: 输入: "(]" 输出: false 示例 4: ...
[ "tz.zhuo@protonmail.com" ]
tz.zhuo@protonmail.com
fc8f7fd662fe988e7f5f65c94869efdafc5af3eb
7f0548b7191b7589712af19baebafddae1d0505f
/dojoassignments/python/django/full_stack_django/login_and_registration/apps/login_registration_app/migrations/0001_initial.py
2e5994f927a8fa2ce9b4a5d96fd6c594f3453aa5
[]
no_license
mtjhartley/codingdojo
dd8eab1bd61fb847e44766e89fe3db2340468102
65dc558d19adbe62f85ad61c32cb1c392b56567c
refs/heads/master
2022-12-14T23:06:11.927445
2017-08-16T21:08:35
2017-08-16T21:08:35
92,218,728
1
5
null
2022-12-07T23:59:48
2017-05-23T20:46:03
Python
UTF-8
Python
false
false
884
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-06-20 19:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
[ "mtjhartley@gmail.com" ]
mtjhartley@gmail.com
63d551ef4891915d2717ca602c39ab55c4d0e968
56b817cae5fdace44692046a3e2615dba611bb56
/WebcamSekilAlgilama.py
ae74a95b14e9cc6c333878733a123b0afa0af746
[]
no_license
ozgurnrttn/OpenCV
b2b29239502780df882626fc37e5c8ddc3d90f7f
c161bf7cbbcfc2ab996a85a1660a8e3c727c0e73
refs/heads/master
2023-05-04T08:12:21.474066
2021-05-20T13:10:07
2021-05-20T13:10:07
369,151,138
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
import cv2 import numpy as np def nothing(x): pass cap = cv2.VideoCapture(0) cv2.namedWindow("Settings") cv2.createTrackbar("Lower-Hue","Settings",0,180,nothing) cv2.createTrackbar("Lower-Saturation","Settings",0,255,nothing) cv2.createTrackbar("Lower-Value","Settings",0,255,nothing) cv2.createTrackbar("Upper-Hu...
[ "ozturk96.zrzr@gmail.com" ]
ozturk96.zrzr@gmail.com
31f2b8745f0c05efbfdc00f2a5baeca03f082f32
5115944414e0baa824008d33b715f66ccf7c3926
/mysite/settings.py
59b21c70ed35e19d2236040ee185bf03d518d1a1
[]
no_license
Dezhikov/my-first-blog
17de57d5fcd51f106ff6b4da399b7a7756013797
1835c9798443ef5b0fc79e525714f7119379693b
refs/heads/master
2020-04-18T02:22:29.421580
2019-01-23T15:20:44
2019-01-23T15:20:44
167,054,962
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.18. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "vladislav.dezhikov@mail.ru" ]
vladislav.dezhikov@mail.ru
f3d0ad0a8d1c4d551aee77afba5afdf9bf6873a3
222760b72cf00f618655a57cf3fec411dd3e4e66
/project/migrations/0001_initial.py
bc2777a171bcb73f857314db4afd6f28e052f305
[]
no_license
Nieaunder7/cms
cd8affbc8cb2172335090d71555f554fa6018fe3
86572985ab30f3750c7603ecc8bbe752a14dfa60
refs/heads/master
2021-07-22T06:58:53.203359
2017-10-31T01:03:31
2017-10-31T01:03:31
107,638,245
0
0
null
2017-10-30T07:33:45
2017-10-20T06:05:10
JavaScript
UTF-8
Python
false
false
1,681
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-23 07:23 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('member', '0001_initial'), ('dev...
[ "sieging@gmail.com" ]
sieging@gmail.com
b3faa68ddf38c6d15ad43fc82a48744cdae5c15b
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_225/run_cfg.py
c1d2c055a93f6f5950d43132a49f5e864889fafd
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
da748d34cb6a27059cecf0ee84bd84376e2809bf
d5ad13232e3f1ced55f6956bc4cbda87925c8085
/cc_mcc_seq/SNVINDEL/tmp/3.1_tumor_minus_normal_exome_somatic_number/1_tumor_minus_normal_somatic.py
fb9fd44707bd9d72ef21d0edd8631473db5d86f3
[]
no_license
arvin580/SIBS
c0ba9a8a41f59cb333517c286f7d80300b9501a2
0cc2378bf62359ec068336ea4de16d081d0f58a4
refs/heads/master
2021-01-23T21:57:35.658443
2015-04-09T23:11:34
2015-04-09T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
def tumor_minus_normal_to_somatic(tumorFile,normalFile,oFile) : dict_Normal=dict() ouFile=open(oFile,'w') inFile=open(normalFile) for line in inFile : line=line.strip() fields=line.split('\t') k='\t'.join(fields[1:-1]) dict_Normal[k]=1 inFile.close() inFile=open(...
[ "sunhanice@gmail.com" ]
sunhanice@gmail.com
8d1a3522d4cfd4b873a8f1089516307ab89e8605
d0281cecabd070c399d18612bbb3ba11913c0ab1
/venv/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py
2f6941ef65e3378a7104657698538b9f1db55d8d
[ "MIT" ]
permissive
yuxuan1995liu/darkflowyolo_detection
f0b7aa0a667591da9736fb2860d6080b2fc41577
a7807e9b85833e3f877d46bb60e8fa7d0596a10b
refs/heads/master
2022-11-03T04:00:42.996414
2019-05-10T01:58:59
2019-05-10T01:58:59
185,880,108
0
1
MIT
2022-10-30T16:38:49
2019-05-09T22:28:01
Python
UTF-8
Python
false
false
514,131
py
"""Python wrappers around TensorFlow ops. This file is MACHINE GENERATED! Do not edit. Original C++ source file: array_ops.cc """ import collections as _collections import six as _six from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow from tensorflow.python.eager import context as _context from te...
[ "yuxuan@mit.edu" ]
yuxuan@mit.edu
6cab586c5fe18fc1b1339548aefc8d5ae4987248
77191e8a70c99048e319c35446f8538cb2242618
/train_val.py
d7bac05ead774ccb5c5d03bf3e8e93d806ab3c8d
[]
no_license
alexander-rakhlin/embl_project
d5a19ff25dc53ce82b48bb107c379b5ad9a49cd5
de3b1accf888ce4ecbb3f060182d39b095e42f65
refs/heads/master
2020-07-23T19:27:15.422250
2019-12-04T16:18:08
2019-12-04T16:18:08
137,078,576
0
0
null
null
null
null
UTF-8
Python
false
false
5,396
py
from datagen import Iterator from models import m46c, r34, xcpt import numpy as np import pandas as pd import pickle from pathlib import Path from keras.callbacks import ModelCheckpoint, CSVLogger from utils import double_division_tracks, curated_tracks ROOT = Path('data/Timelapse_2019') INTENSITY_COLS = ['GFP_20', '...
[ "rakhlin@gmx.net" ]
rakhlin@gmx.net
1bc2bad1c8d403cdc99de557444a6e0a0f503eb2
fe3759747f709a41e5ff3acf78872dd6b74f772a
/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py
81432c292c6459b54e18f5be8a654084c4f140d5
[ "Apache-2.0" ]
permissive
Januson/openapi-generator
c50e3b52765e41adba9712d745918cea39dfa490
5b6b4c9d4829b57716741dc35b3f1033e5483784
refs/heads/master
2022-10-19T04:16:38.042495
2022-04-23T08:42:21
2022-04-23T08:42:21
238,659,737
0
0
Apache-2.0
2023-09-05T01:01:23
2020-02-06T10:12:38
Java
UTF-8
Python
false
false
2,359
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
Januson.noreply@github.com
9115d8c3b4724daa74540af198ec9ad1e57212b8
c1ae4278dfee5f2a2a9d899d308488095c70df1d
/projects/ex46-AProjectSkeleton/tests/nose_tests.py
a00e2661244e4a2be3e1751d42a64cd84b74e23c
[]
no_license
BeatsBassBoom/LP3THW
be2b0a48a21b5ee0476b59e8f2b55401888e4a7d
37b170817d874de37b22f59c33ddadfd780377cd
refs/heads/master
2020-04-02T08:19:40.383456
2019-11-11T01:51:28
2019-11-11T01:51:28
145,632,501
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
# First test skeleton from nose.tools import * import nose_runner def setup(): print("SETUP!") def teardown(): print("TEAR DOWN!") def test_basic(): print("I RAN!", end='') def test_nose_runner_first_try(): name = nose_runner.nose_runner.first_try() assert name.first_try() == 1
[ "28370491+BeatsBassBoom@users.noreply.github.com" ]
28370491+BeatsBassBoom@users.noreply.github.com
6aaf178780774e4f6235b5b93d0111edfc538729
e4807e683e5fcb913f86715f216159e1d9d35ece
/erc_plot_sqlite_Updated_OnlinemapSupport.py
ef974fe3db29d00ba66149995f3735759583a23a
[]
no_license
PeterTFS/ERC
cc2c128a9ce644c951de834428213a0557630a24
99b5dcb1f2254f9afe840544d2ae07c8fb9cecad
refs/heads/master
2023-03-29T06:28:32.914084
2021-03-29T20:55:01
2021-03-29T20:55:01
109,144,472
0
0
null
null
null
null
UTF-8
Python
false
false
12,159
py
#------------------------------------------------------------------------------- # Name: erc_plot_sqlite_Updated_OnlinemapSupport.py # Purpose: Retrive archived erc from database for climtology plotting # Author: pyang # Created: 21/01/2016 # Updated: 06/14/2016 for creating png as well as pdf f...
[ "pyang@TFS-24834.tfs.tamu.edu" ]
pyang@TFS-24834.tfs.tamu.edu
ee0624df8353edb64e16e66fcc0fffd8ecd0aa7a
d235eaf56abb8dc8e253d6f705efae407e11f01f
/wheel_maker.py
f2ccd2461b1a92c92cc66072f414a6cf230bd751
[]
no_license
griffgudge/Griffin-Casino
8b708fe3c6d0757b5192f12c16e5da70e4235ace
50c748885bcbb7bb41d33d469b7f1186484d6184
refs/heads/master
2022-11-07T21:42:59.897871
2020-06-22T13:18:27
2020-06-22T13:18:27
273,698,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
def wheel_maker(): wheel_nums = [] wheel_colors = [] num_type = [] for i in range(37): wheel_nums.append(i) for i in range(37): if i == 0: num_type.append("0") elif i % 2 != 0: num_type.append("Odd") else: num_type.append("Even") ...
[ "67191383+griffgudge@users.noreply.github.com" ]
67191383+griffgudge@users.noreply.github.com
ab36bce5acedddf55bb70f404d5acbce4d262f7c
ad5e88b23c8599400184a364c4c7efedadd5b7dc
/manage.py
8cf1c1a4208251828bb326d711c94deb5be8d6d3
[]
no_license
jy-yuan/edu-satellite-platform
3cb8f77df79ef79bc88e7b42aea4ec969c113d33
89e7d19cd5814602a4faa2423a2df91ce5511e2d
refs/heads/master
2021-07-03T10:33:58.692047
2021-05-10T08:04:43
2021-05-10T08:04:43
229,178,255
2
1
null
2021-05-10T07:59:42
2019-12-20T02:52:35
JavaScript
UTF-8
Python
false
false
617
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dbtest.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportE...
[ "1462936118@qq.com" ]
1462936118@qq.com
52c042f3f625dd35b3d5f51b79ba0db084da328e
b556ce9f81c91f8e31d44712a37d460b321453a9
/src/truecaller_lookup.py
abe98a96c39acd8652b351c0c3234dd0bd9ce648
[ "MIT" ]
permissive
hvgh88/num-info
2f08adf6198124b39e5f646110f859b03edf9c46
db7cacf1e3271d8cccee710989d10fcc939703e8
refs/heads/main
2023-07-15T17:30:41.627121
2021-09-03T20:40:14
2021-09-03T20:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,971
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException from time import sleep from getpass import getpass from termcolor import colored import auxillary class TrueCaller: # initializes the instance attributes def __init__( ...
[ "manishgowd09@gmail.com" ]
manishgowd09@gmail.com
0ee61681b51f1c92da7226b74c1bb7a15fcd4fdb
8cec98d8ac9a55bc4176cd83286ef95c149fa98f
/Cases to Events [Python]/comprehend.py
0f2b2deb91ae81f4c194252abab19d5f4b938083
[]
no_license
MinMat/Hudoc-to-Eventlogs
0c917a7c4cc9919d3f3fb1b45d29aaf8d36a7f47
1f9af65a6cbe51763207fcf872276b43acab43b8
refs/heads/master
2021-05-05T12:21:31.740399
2018-01-09T21:07:54
2018-01-09T21:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,636
py
import json import sys import os import boto3 # reads in a case file, breaks it up into pieces of under 5000 bytes # runs it through aws comprehend # produces a json including the casetext and all detected entities class ComprehendCaseEntities(): def __init__(self, fileName, caseName, awsregion, langCode)...
[ "georg.prohaska@gmail.com" ]
georg.prohaska@gmail.com
b45caf654c9014fad4ce37ba5d3fe51256a56e14
0713d5e8014dfa7bdc28ac79b3e9e35caba81334
/chapter6/SketchWindow_beauty_ui.py
65166a3313131d2f25212a68bde143713c098864
[ "Apache-2.0" ]
permissive
sdphome/wxPython_training
420bc7a30a197fd54e9d93f2881774de970bb9a1
eea3a1863d0ab4e3fa5b3920772a37b525cadc49
refs/heads/master
2021-01-10T04:08:15.242263
2016-01-22T06:22:31
2016-01-22T06:22:31
49,471,638
0
0
null
null
null
null
UTF-8
Python
false
false
12,642
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import wx import os import cPickle class SketchWindow(wx.Window): def __init__(self, parent, ID): wx.Window.__init__(self, parent, ID) self.SetBackgroundColour("White") self.color = "Black" self.thickness = 1 self.pen = wx.Pen(s...
[ "sdphome@qq.com" ]
sdphome@qq.com
833980c8158fa0f25d3ae7485542f3655bc24ef9
18e48f22f88fe80ce54d12fdbf9d05a7ca5bd65a
/0x04-python-more_data_structures/3-common_elements.py
bdcdc3ae779109657e7ebde98aeb7e93558c88ae
[]
no_license
SantiagoHerreG/holbertonschool-higher_level_programming
426c4bc9bc080a81b72d2f740c8ed2eb365023eb
ca2612ef3be92a60764d584cf39de3a2ba310f84
refs/heads/master
2020-07-22T19:33:48.507287
2020-02-14T04:34:00
2020-02-14T04:34:00
207,305,022
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
#!/usr/bin/python3 def common_elements(set_1, set_2): new_set = set_1 & set_2 return (new_set)
[ "888@holbertonschool.com" ]
888@holbertonschool.com
f4a90c423a193dd05d8521b940780699acd28b4d
36bffa15a4205bfb4601de31f52278ef1f787792
/requests/views.py
8c81bc6f31ce6b182fb3fcea1d4c123921660f3b
[]
no_license
christaggart/requestly
63e0abb2a1e5130fe194a560b84cdb3c5e86042b
f1271d2dc4c2551cd761fe8a7bacad8b4ab16650
refs/heads/master
2021-01-10T22:03:04.110611
2012-01-06T17:04:29
2012-01-06T17:04:29
1,856,664
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
# Create your views here. from django.http import HttpResponse from django.template.response import TemplateResponse import datetime def home(request): return HttpResponse("hello world")
[ "chris@thinkit.ca" ]
chris@thinkit.ca
8fe7534f7a917b9a24339237b65158d3c38d891e
76c4f199adcc450d1bff5bc1d85d138e99948274
/riotwatcher/Handlers/__init__.py
83c58199ed93d7ff523603bb5d20aa3aa359d096
[ "MIT" ]
permissive
finleylau/Riot-Watcher
8083cf6d09292264d3f6576bf23b723b59df2102
3a4a5d8f708d5bc7d83e5fffaa0388504b111faf
refs/heads/master
2021-01-22T19:26:00.160641
2017-09-05T19:00:45
2017-09-05T19:00:45
102,420,367
0
0
null
2017-09-05T01:48:24
2017-09-05T01:48:24
null
UTF-8
Python
false
false
527
py
from .LimitCount import LimitCount from .RateLimitHeaders import RateLimitHeaders from .RequestHandler import RequestHandler from .BaseRateLimitHandler import BaseRateLimitHandler from .JsonifyHandler import JsonifyHandler from .ThrowOnErrorHandler import ThrowOnErrorHandler from .WaitingRateLimitHandler import Waiti...
[ "godtheresnonamesleft@gmail.com" ]
godtheresnonamesleft@gmail.com
ddbc0c95647448fd2b5ee0f7983a9b7eda1fc03c
7b054cd92eece331d2494b1ecbd6ebae76deed55
/ecommerce/urls.py
748d4606d02d80bf738204eb134afca866a6623b
[]
no_license
Tanmoy-Sarkar/Django-Ecommerce-Website
f23ec5a60b64f6b3f614bb9dd7aced2c694d1d75
24810153dcb51ae1d57c1b182b59cb40fbb8a3d2
refs/heads/master
2023-07-03T17:23:58.746887
2021-07-31T08:21:35
2021-07-31T08:21:35
389,021,036
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
"""ecommerce URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "tanmoy9920@gmail.com" ]
tanmoy9920@gmail.com
d440b3127f444d1ed80a2ad574d3cb9c84b5bb5b
3018a23cfa3b272b9825925407746890b4c53f1e
/TryOutGame/main.py
5b78a38d833261ce8bd2646e66444932cbadaffd
[ "Apache-2.0" ]
permissive
Ardatufekci/GridPointGameAITry
75455f2ea44a76fe2486b21896214aa91f41d991
cc9a879b8d9f67e1202f94080d913c3bbe3101eb
refs/heads/main
2023-01-07T21:18:06.177074
2020-11-08T13:45:52
2020-11-08T13:45:52
310,737,904
2
0
null
null
null
null
UTF-8
Python
false
false
4,815
py
import tkinter as tk import numpy as np from player import Player from filler import Filler from random import sample ### DEĞİŞKEN grid = [64*i for i in range(10)] puans = np.zeros((10,10),dtype=np.int) data = [] sdata = [] playerslastscore = [0,0] ### OBJELER oyuncu = Player(0,0,"red") oyuncu.makeDecisi...
[ "noreply@github.com" ]
Ardatufekci.noreply@github.com
ee68f3378e82fc55e7c7efd7a2f2cfd008a4b3bf
83c42b05d59abcfaa7ccc079543a2ddadd2b1393
/dictionary.py
58aef8b743ef2589019cd70214393b44d6b692b4
[]
no_license
MrLibro/e_health_application_prj
6d3f9306402f082e2631e807f0bea5033606ee1c
7478f1db05b4721a414b0354b45faaee930491c9
refs/heads/master
2023-02-04T09:17:01.017607
2020-12-19T16:50:37
2020-12-19T16:50:37
322,739,143
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
import text_processing as txt def creat_dictionary(pubmed): abstract = txt.txt_prepration(pubmed.abstract) abstract = list(str(abstract).split(" ")) print(abstract) return abstract
[ "akaalirezaketabdari@gmail.com" ]
akaalirezaketabdari@gmail.com
8ccc55335ccb38651211ca0b39eaa69cc7912ec9
d2f94613b342c143554e0d1649244f71f634cfe2
/TOPSIDE/MATE_2019/auto-ROV.py
2bed4354a8a84a479f8e9a820a2de5f20a9c80aa
[]
no_license
jacksonsugar/ROV_2019
f79f8757289d35c94b71466922505889a68ed851
186e70864da354195ebc4aeb2d9336c1072b8a74
refs/heads/master
2022-03-11T10:48:02.454006
2019-10-24T15:59:13
2019-10-24T15:59:13
216,714,409
1
0
null
null
null
null
UTF-8
Python
false
false
5,070
py
#!/usr/bin/env python import numpy as np import cv2 import math import gi import os import rospy from std_msgs.msg import String import imutils from skimage import exposure from geometry_msgs.msg import Twist import math font = cv2.FONT_HERSHEY_COMPLEX i = 0 depth = 0 boundaries = [([17, 15, 100], [50, 56, 200])] ...
[ "noreply@github.com" ]
jacksonsugar.noreply@github.com
7c90c47186ac7a9a198dd4e1dcb44cefa65e5230
d00cebec4173f9e57b3f23342fe3260ecbc90fc9
/code wars/challenges.py
3948e4e455925bf8627d23d275d1b508e75bf627
[]
no_license
crispad/algorthims_pratice
22cb45bdf149f100ad69f6fbafe3f694b7ccf95a
f968617e53700e1965f5b0f8ae99b8481a4b410c
refs/heads/master
2022-11-13T14:23:51.303678
2020-06-16T21:29:51
2020-06-16T21:29:51
255,792,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
# Create fibonacci sequence with n elements and output it in a list. If n == 0 return empty list. # 0 1 1 2 3 5 8 11 19 ...etc # [0, 1, 1, 2, 3, 5, 8, 11, 19] def fib_sequence(n): base = [0, 1] if n == 0: return None if n == 1: return base[0] if n == 2: return base if n >...
[ "crispad06@gmail.com" ]
crispad06@gmail.com
52e3abab22df23c0d41785c571071dfae963b422
532775cf6728c43fb0346c758a02ae9f55651f14
/main.py
cac66817a8910d71fce6577967555b37f8c9b044
[]
no_license
adarsh1783/SearchEngine
9402c517e59eaaed8d9e9082076e5eb6ba5798d1
f3e527c5f30ee550c8c1527ab97f10f53c3211a3
refs/heads/master
2022-09-26T17:14:07.500379
2020-06-07T11:13:27
2020-06-07T11:13:27
270,262,267
0
0
null
null
null
null
UTF-8
Python
false
false
8,513
py
from sentenceSegmentation import SentenceSegmentation from tokenization import Tokenization from inflectionReduction import InflectionReduction from stopwordRemoval import StopwordRemoval from informationRetrieval import InformationRetrieval from evaluation import Evaluation from sys import version_info import argpars...
[ "noreply@github.com" ]
adarsh1783.noreply@github.com
660d8fe0314977e4a5fd5748ddcb6c4aef0ca904
438d479eac3bff296407ca46b567c9745186222c
/app/admin.py
2f776f6b63daad8171856e2abaa4a2ba52482f0d
[]
no_license
mclt0568/pyserverman
c6a82c4801a4cc62eb0e33f838d9484f24906614
176820488e1fff39b5dee8c6bcf6a7c595fe83f2
refs/heads/master
2023-05-08T12:12:51.008630
2021-05-31T11:07:32
2021-05-31T11:07:32
355,734,937
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from constants import database def get_admins(): return database["admins"].fetch_column("user_id") def is_admin(user_id): admins = get_admins() return user_id in admins #Return True for successful, False for admin not found. def remove_admin(user_id): if is_admin(user_id): database["admins"].delete(f"user_id =...
[ "tis7bfrankie@gmail.com" ]
tis7bfrankie@gmail.com
f7b8dceb9b4cf4acba51c4da0d7fe1a97fb0e10c
089cdec42966ca40ba3cbf4a5ffe166c80f19389
/module2.py
619ef8431015b77f50857ae5f8c4cf1b60f093b5
[]
no_license
feelosophy13/bioinformatics_algorithm_1
0d01035f7e590bfe982edef9ce0424a4f5fde5c1
6514f9035d35f14e3d85d50c9c63e38e57b45238
refs/heads/master
2020-06-03T22:44:48.995592
2015-05-14T23:58:44
2015-05-14T23:58:44
35,568,928
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
from module1 import * import itertools ## this function outputs a list of skew, where each skew is the difference between the number of guanines and that of cytosines (#G - #C) at (i+1)-th index in the DNA string def create_GC_skews_list(DNA_str): skew = 0 result = [0] for nucleotide in DNA_str: i...
[ "feelosophy13@gmail.com" ]
feelosophy13@gmail.com
49e50d64110e6cda62a541ad93cd6e989f8a06bd
530b9779035c9f2482f20097c11c2295fbc6248c
/restframework/serializers.py
e8544e9e73aa3cf5909738abb4abff75cbc0cb71
[]
no_license
sanooptp/MakeDeal
69ff0e4f07d82d1e1fbf6e8f31bcdf65461818bd
03d22527a4dcfa1631cd3173235a8fdd85f91ad4
refs/heads/master
2023-08-31T12:04:46.927813
2021-10-11T15:19:34
2021-10-11T15:19:34
389,553,544
0
0
null
2021-10-11T15:16:17
2021-07-26T07:54:23
JavaScript
UTF-8
Python
false
false
2,271
py
from product.models import Product from django.contrib.auth import models from rest_framework import serializers from restframework.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES, TestModel from django.contrib.auth.models import User from rest_framework_simplejwt.serializers import TokenObtainPairSerializer fro...
[ "isanooptp@gmail.com" ]
isanooptp@gmail.com
c78a128037d56a51af8dd35b30b236235e8555eb
2173387d499bc75cf3f21be6f5d7e01009dae148
/Ingestion/Kafka/kafkaC.py
1e0362e94e05e8e5dd13bde90959fe7d709935ef
[]
no_license
prarthanabhattarai/AdReportProject
13c8059f82b25913b61575a6629d79da14a345d3
f1d41135e39c6b1688ea43a690353ba47f1ad404
refs/heads/master
2021-01-23T20:14:28.235866
2015-07-14T17:51:01
2015-07-14T17:51:01
38,027,815
2
2
null
null
null
null
UTF-8
Python
false
false
3,721
py
import time from kafka.client import KafkaClient from kafka.consumer import SimpleConsumer import os class Consumer(object): def __init__(self, addr, group, topic): self.client = KafkaClient(addr) self.consumer = SimpleConsumer(self.client, group, topic, max_buffer_size=1310720000) self.temp_fil...
[ "ubuntu@ip-172-31-9-43.us-west-1.compute.internal" ]
ubuntu@ip-172-31-9-43.us-west-1.compute.internal
b92a0e4c7afa8244a54b3964bea78bc355235382
544c85db4196b279f242a6d1a3838f69b85a8ff6
/drostelib/drostehelper.py
db44391e85c5e66c536be20607e0a4db2fd419cc
[]
no_license
azer89/Droste_Generator
e0d5c4785608d6db253b9658627f4273cb047035
f8a81540746eacfed8edbdf39b901edbee99b020
refs/heads/master
2023-02-22T12:05:53.246208
2021-01-18T11:10:34
2021-01-18T11:10:34
46,583,332
1
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 24 12:59:31 2015 @author: azer """ import numpy as np """ Magenta color as the mask color """ transp_color = np.array([255, 0, 255]) """ Determine whether a color is the mask color """ def IsMasked(col): if(col[0] == transp_color[0] and col[1] == transp_color...
[ "radhitya@uwaterloo.ca" ]
radhitya@uwaterloo.ca
fd96964145fbc06b436ee1ecbbf561c15f201c00
caf192dbc1ca90fee18bb4ce170d37eb14870ec5
/Chapter-5/7. Caesar cipher.py
f827a177676fc978c4d7d8bfee8324bfba34dc4a
[]
no_license
Dfredude/PythonZelle
858b00f5eacce841173c64b3cecd978dedbeb145
1923fe84df604968eebc5269f23b7c0f167d55f0
refs/heads/main
2023-08-30T21:45:57.070344
2021-10-17T01:32:57
2021-10-17T01:32:57
359,041,963
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
def main(): #Get plaintext(p_text) and key(x) from the user p_text = input("Enter the message you'd like encrypted.\n") key = eval(input("What's the key? : ")) p_text = p_text.lower() #Create string of letters table = "abcdefghijklmnopqrstuvwxyz" #Convert plaintext to ciphertext(c_text) using ci...
[ "dominguezlucio@outlook.com" ]
dominguezlucio@outlook.com
91dbf8f944594010b21f4e33cdd5c303b603daa0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/outbound_nat_rule.py
509f9e9922798df037d6dab645f99d2111cc92f6
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,886
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
034ed03c88bab1e13251ff4cd083aed6ff1c7b3a
1eb04e960be4b5b2c3b752596311d8652e217dba
/python/datatype-set,boolean.py
e67652d55a7860785104808e702c899f0b0142ec
[]
no_license
vyshakhRemesh/rev
69de99899a1757a458f4ff8ee2f91052ed83fcf7
f12aff5b20555a7c47430f0f500a65b3012b6c97
refs/heads/main
2023-07-09T10:24:43.052720
2021-08-08T17:25:41
2021-08-08T17:25:41
388,158,046
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
#set thisset = {"apple", "banana", "cherry"} print(thisset) #access thisset = {"apple", "banana", "cherry"} for x in thisset: print(x) #remove thisset = {"apple", "banana", "cherry"} thisset.discard("banana") print(thisset) #boolean a = 200 b = 33 if b > a: print("b is greater tha...
[ "noreply@github.com" ]
vyshakhRemesh.noreply@github.com
784f3b3c4ad379098fcd5976886c425f69bc8941
f979434a8bf71df06f1d36eeab8397806a530978
/create_pool_with_different_settings.py
8284562a15666c47955556371814d821ea9b9f98
[]
no_license
symlib/gui
4dc505c3b31d9347ad22d5ad45d43ce6e388c47a
7d0a259ad3cd9a7b154f1a92b1d5a48fea7cb6e4
refs/heads/master
2021-01-20T07:27:49.664039
2017-08-03T06:24:38
2017-08-03T06:24:38
89,999,584
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
# -*- coding: utf-8 -*- # !/usr/bin/env python from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions ...
[ "noreply@github.com" ]
symlib.noreply@github.com
5fff7525d5f2305f06f03162747b3f3fad7c7ead
61a6f6e5756066546b4be09e45c8214fcc6e15ba
/mutvariant_extraction.py
a04dbc75afa19b6fdcd943b282a9a0f50434e32c
[]
no_license
outbreak-info/topic_classifier
9f07164105a70dcfaeb2edf1aa322688392ecde1
d5838f9aa4ee55b5a67fcbd77fbfcb0b0937db74
refs/heads/main
2023-04-15T11:49:36.392049
2022-12-15T02:48:37
2022-12-15T02:48:37
359,611,695
0
4
null
2021-07-02T22:43:59
2021-04-19T22:10:44
Jupyter Notebook
UTF-8
Python
false
false
630
py
import os import re import requests import json import pathlib import pandas as pd from pandas import read_csv from datetime import datetime from src.common import * from src.extract_variants import * script_path = pathlib.Path(__file__).parent.absolute() DATAPATH = os.path.join(script_path,'data/') RESULTSPATH = os.p...
[ "gtsueng@gmail.com" ]
gtsueng@gmail.com
bedf0931ccef770750040887a803cdba60d8d515
de1f9d660cfb738afdb66e4a2d63a4577c07d9c6
/test/webapi/controllers/test_wmts.py
ad52d78c1aaca58531a54c0ef0ecba42c5079c04
[ "MIT" ]
permissive
rabaneda/xcube
db47eb416db85df891a924063482a7943cae9d4f
0d38ca513987184dbc4a37da1616e4076964d0f1
refs/heads/master
2020-11-24T00:11:17.107630
2020-02-11T10:11:34
2020-02-11T10:11:34
227,877,138
0
0
MIT
2019-12-13T16:14:51
2019-12-13T16:14:50
null
UTF-8
Python
false
false
703
py
import os import unittest from test.webapi.helpers import get_res_test_dir, new_test_service_context from xcube.webapi.controllers.wmts import get_wmts_capabilities_xml class WmtsControllerTest(unittest.TestCase): def test_get_wmts_capabilities_xml(self): self.maxDiff = None with open(os.path.jo...
[ "norman.fomferra@gmail.com" ]
norman.fomferra@gmail.com
25272b331eb766592f1b2361e63de77a581afc78
14fac282147a83e5607aceb7f5f589921fbf9329
/choicer/test/__init__.py
6fd5466da9544eef5d1869a0fa787b1ab0ca7353
[ "MIT" ]
permissive
tonimichel/django-choicer
4079cce7b45bb6781c309c4aa6e2a2e37b0ce291
69bce93585c6b3711f90c893d449e3eb3ce44eb5
refs/heads/master
2021-01-21T13:04:54.348088
2016-05-09T11:20:35
2016-05-09T11:20:35
54,739,325
3
2
null
null
null
null
UTF-8
Python
false
false
335
py
from __future__ import absolute_import, print_function, unicode_literals import unittest from choicer.test import core_tests def suite(): return unittest.TestSuite([ unittest.TestLoader().loadTestsFromTestCase(core_tests.ChoicerTests), ]) def run_all(): return unittest.TextTestRunner(verbosity=2...
[ "toni.michel@schnapptack.de" ]
toni.michel@schnapptack.de
e6d1d32bdcd74e78895ec9458610ec4a8c07cbef
3cf617e510b4da4c90744f60c40d057d887656db
/datatypes/Static.py
dd0d19691d4b3d1f8e65bfb40b15f2da4cddb10e
[]
no_license
Peaches491/typecast
b971a7330494f5a078090065b6180fdd7668b344
363d960dd784ca8d20dbc50dcace271cb2015125
refs/heads/master
2020-12-24T15:06:06.613738
2014-05-10T04:29:30
2014-05-10T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from utilitites import markdown2 from google.appengine.ext import db from blog_handler import Blog class StaticPage(db.Model): title = db.StringProperty(required = True) brief = db.StringProperty(required = True) url = db.StringProperty(required = True) content = db.TextProperty(required = True) ...
[ "peaches@TADesktop.(none)" ]
peaches@TADesktop.(none)
5845ad25df07deb2f338228c0feb1eb3bd4936b0
6a8f267ae3443e9b1bd1ee14b428d4378b90d87d
/deps/shapely/geometry/multipolygon.py
3e645de1feac587199ac4b259e5a28045f6c131c
[ "MIT" ]
permissive
meshulam/sly
713878fd3957a7fcdeee4f5dfcc6325ce08918fc
9cb0287b9d2bce7e872898365f1dc9bcd37ef5a9
refs/heads/master
2021-01-18T22:41:42.548393
2015-04-26T18:11:18
2015-04-26T18:11:18
32,053,249
11
2
null
2015-04-21T01:47:07
2015-03-12T02:40:08
Python
UTF-8
Python
false
false
5,745
py
"""Collections of polygons and related utilities """ import sys if sys.version_info[0] < 3: range = xrange from ctypes import c_void_p, cast from shapely.geos import lgeos from shapely.geometry.base import BaseMultipartGeometry, geos_geom_from_py from shapely.geometry import polygon from shapely.geometry.proxy ...
[ "matt@meshul.am" ]
matt@meshul.am
b4ee36238f1638496b350f08c5a2bdceb96da3ee
764fc4145a4136b48d4b6d95050adbedd3758ce3
/CircularBuffers.py
a2245ade003ea52bb3cd7c4a7e7958ad9ea9ceec
[]
no_license
cmaher92/algorithms
acf373a4da32c066cd3458a4431ec51676072fc1
9ed1531ffc2c874a861f792b7e70b1b39d9ee0d4
refs/heads/master
2021-01-10T13:11:01.937289
2016-02-03T21:27:59
2016-02-03T21:27:59
50,763,826
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# Vectors # Linked Lists # Circular # Resizable Arrays # Circular Buffers # The useful property of a circular buffer is that it does not need to # have its elements shuffled around when one is consumed. # circular is FIFO # Alan's definition # Array with many cells, wraps around # An example is an array of 30 frames,...
[ "connormmaher@gmail.com" ]
connormmaher@gmail.com
4542ce8b7fa747af2ca0b266c787f0c496bb198e
54dc4eb7d4809f902ed8e4aa5a230578c5ab91e7
/mysocialmedia/mysocialmedia/asgi.py
8b2b8327642bb2b0a567c329b8b91c3fa18d986a
[]
no_license
lufepama/sinparo-django-react
5c901d717fe4460753b49aff55a5b0dcf0961907
ff7042a69194c54421370ad1a4b89933e7256b4c
refs/heads/main
2023-03-20T23:26:28.895045
2021-03-08T23:34:44
2021-03-08T23:34:44
345,486,134
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for mysocialmedia project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "lufepama31@gmail.com" ]
lufepama31@gmail.com
848b00dce8c68b93c85b751b4d5c57683f6980f1
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/airzone/coordinator.py
ba0296557a1be58bacea112719a507f82be0fb6b
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
1,309
py
"""The Airzone integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from aioairzone.exceptions import AirzoneError from aioairzone.localapi import AirzoneLocalApi import async_timeout from homeassistant.core import HomeAssistant from homeassistant.he...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
a21dfa9182883f7045cd35880f722f3d9a36a0ab
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/terraform/checks/resource/azure/test_SynapseWorkspaceEnablesDataExfilProtection.py
2f0a8e8e46b503edb13ed42ed956bc6d6a70830a
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
1,453
py
import unittest from pathlib import Path from checkov.runner_filter import RunnerFilter from checkov.terraform.checks.resource.azure.SynapseWorkspaceEnablesDataExfilProtection import check from checkov.terraform.runner import Runner class TestSynapseWorkspaceEnablesDataExfilProtection(unittest.TestCase): def tes...
[ "noreply@github.com" ]
bridgecrewio.noreply@github.com
4f08c4b5e1285ffe0a86c36c93632b2c2a6cb41a
aa869786dc2108b549acf689a4f6a8369d9eb0b8
/gaussian.py
a9d286b70a6b6a1cafe44161ff091ee5999fd043
[]
no_license
ard1498/Pattern_Recognition_Techniques
8617c065655ffbdee61a51961db3d397e8e88462
a3542f50eb9333fb278232c526604373b3cdc4d4
refs/heads/master
2020-06-02T20:57:34.586648
2019-07-10T07:27:57
2019-07-10T07:27:57
191,307,828
0
0
null
2019-06-11T06:36:38
2019-06-11T06:27:27
Jupyter Notebook
UTF-8
Python
false
false
3,359
py
import numpy as np from pprint import pprint import math class Gaussian: def __init__(self,sigma = 1, m = 1): self.result = {} self.sigma = sigma self.K = 1/((2*3.14)**(m/2) * self.sigma**m) self.classes = set() def train(self, X, Y): self.classes = set(...
[ "noreply@github.com" ]
ard1498.noreply@github.com
1ebd7b2c006bec2429d3ea7c144429ca6a16ab58
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/235864d6-5cc5-11e4-af55-00155d01fe08.py
203705756d386be4768e626b13c813ce06acf1fd
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
#!/usr/bin/python ################################################################################ # 235864d6-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
80338f57e4494dc5fd84346bfab8cd6f883a4347
b5dabe2e6da0e53498650b3c3f3f944c20f3e050
/dolo/compiler/function_compiler_numexpr.py
e20ec37370ffaf43ad7e04c17d62a3028aaf64d8
[ "BSD-2-Clause" ]
permissive
christophe-gouel/dolo
12d582ecf3289aa9168f5d825da83a6284d5a669
d9aef6d78d19899e2669e49ee6b7ad9aacf0e35d
refs/heads/master
2020-12-24T09:31:19.389548
2018-01-04T20:42:19
2018-01-04T20:42:19
6,064,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
from __future__ import division from dolo.symbolic.derivatives import DerivativesTree from dolo.symbolic.symbolic import TSymbol from dolo.compiler.function_compiler import compile_multiargument_function as compile_multiargument_function_regular DerivativesTree.symbol_type = TSymbol def compile_multiargument_functi...
[ "pablo.winant@gmail.com" ]
pablo.winant@gmail.com
1d8f54ca4a88c470d03a417bd277657ac061b42a
6622c5a9eaac04540d7704372edc6050a735f522
/df_virginica_setosa.py
4cf53b99c8ab2b7d3420812fdde3cc9eb3ac92ba
[]
no_license
mihirdshirur/NNLS-Assignment-3
a603d50a6e23fd735e1fba99b15bb4b13e8ea15d
f13df10aef21d4ac2b76381547c6a55d350017b0
refs/heads/main
2023-08-29T17:40:25.841161
2021-11-12T17:29:06
2021-11-12T17:29:06
427,441,730
0
0
null
null
null
null
UTF-8
Python
false
false
2,233
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv("/Users/apple/Desktop/Coding/Sem5/Assignment3_Code/iris.data") error1 = [] x = [] data_setosa = df.iloc[0:50,0:4].values data_versicolor = df.iloc[50:100,0:4].values data_virginica = df.iloc[100:150,0:4].values # Setosa is of c...
[ "noreply@github.com" ]
mihirdshirur.noreply@github.com
eb0ddf382bb720cb968e3c942df4b16d726a4bfa
42075953df65bdd6b02e02da7dcb3d7fab74fbbd
/superset/charts/schemas.py
bf1b57b321922ea7c9dac7dba8d130b5c4fb3eff
[ "Apache-2.0", "OFL-1.1" ]
permissive
milimetric/incubator-superset
f61c00aeca7d7aa782816120037e63872df117a1
7b11b44abe08c131fb9df6ec479ea29c24c784ec
refs/heads/master
2022-04-23T19:29:46.935978
2020-04-16T09:54:45
2020-04-16T09:54:45
256,266,649
0
0
Apache-2.0
2020-04-16T16:14:18
2020-04-16T16:14:17
null
UTF-8
Python
false
false
2,465
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
milimetric.noreply@github.com
6312c87325c4ac19ffd4a502d580ce4c926c0ab6
6f269812a96d47c5670b4a7d5512f01bc7156217
/manage.py
18c1b3390a3f1f98873d26d42fc900e32bb82d06
[]
no_license
kalkins/buk-django
00a1724c19127840ac19182f003e28ed4f4f4480
708071d144b06ab289abdea6046437c40a81d230
refs/heads/dev
2022-12-13T05:51:30.664433
2019-02-12T03:10:04
2019-02-12T03:10:04
77,866,135
4
0
null
2022-12-08T01:28:31
2017-01-02T22:34:59
Python
UTF-8
Python
false
false
801
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "buk.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "sindre@sindrestephansen.com" ]
sindre@sindrestephansen.com
70568dbd8fea74a804629bbf8c0ba8699ea10aaf
b0d7d91ccb7e388829abddb31b4aa04a2f9365cd
/archive-20200922/uncategorized/quick_palindrome_check.py
4e1d9675666f0b9bddffa3ece524d351e0e26a37
[]
no_license
clarkngo/python-projects
fe0e0aa02896debe82d1e9de84b1ae7d00932607
139a20063476f9847652b334a8495b7df1e80e27
refs/heads/master
2021-07-02T10:45:31.242041
2020-10-25T08:59:23
2020-10-25T08:59:23
188,570,684
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# function which return reverse of a string def reverse(s): return s[::-1] def isPalindrome(s): # Calling reverse function rev = reverse(s) # Checking if both string are equal or not if (s == rev): return True return False # Driver code s = "malayalam" ans = isPalindrome(s) if ans ...
[ "clarkngo@gmail.com" ]
clarkngo@gmail.com
d28590752bf1d79eb7d65ed1f3d70627c6484cb6
3056277f38904026704d023a1708c10049eb598e
/Smtp.py
61e5871f2ccaaa4cc1fbe0cb35b97d27069018ba
[]
no_license
Vampyy/EmailSpammer
fcc0f67ff8531bbdd97dc8aa3bc3299ccc105950
117ed4755bc95595b3ac33d83c27beb86581041d
refs/heads/master
2021-01-11T11:58:25.919699
2017-01-22T08:09:42
2017-01-22T08:09:42
79,703,553
1
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import smtplib import getpass # In the lines below please insert the domain name and port address of the SMTP server of your Email provider domain_name = 'smtp.gmail.com' port_address = 587 # In the lines below please insert your email login credentials username = input ("Enter your mail address : ") password = getpas...
[ "noreply@github.com" ]
Vampyy.noreply@github.com
73474c8bf71b439bda5aed84f134b363b55c7e2f
41d23de79d8fd85d31955d9fac0b5228ffca2a29
/day/3/map_route.py
7fafa72bbdd8c6792251559b1523fd3536631a42
[ "MIT" ]
permissive
philparkbot/advent2020
652d90e9d192bcd1c444e83516358d9836a1777b
e5ee7e0703ae82d4c773024e4289d7d37879af35
refs/heads/main
2023-02-21T16:42:39.065252
2021-01-04T00:42:51
2021-01-04T00:42:51
324,212,552
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
#!/usr/bin/env python3 ''' Input file represents a map. '#' represents trees, '.' represents free space. Traverse the map down and to the right in steps of the x/y increments. If you go past the last character in the X direction, you wrap back around. You are done when you reach the last row. The goal is to count the ...
[ "phil.park@gmail.com" ]
phil.park@gmail.com
ab18d390675297b3dc7088e097b39afb5af818fd
45619f832fbb3939098f2d0e890f7f81e6dd19a3
/hornet/settings/production.py
0ef5a7307d42591a2e16a866bfbadecbaea57894
[]
no_license
coding-buzz/hornet
bba6b4db59434e1ee4e29284752cf7fcc244873d
5054eddac1edfc427ac07ea7dc419853cf33f0a4
refs/heads/master
2021-01-17T10:19:10.202806
2017-12-07T10:38:13
2017-12-07T10:38:13
59,466,128
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
import os from base import * SECRET_KEY = os.environ['SECRET_KEY'] DEBUG = False ALLOWED_HOSTS = ['coding.buzz'] COMPRESS_CSS_FILTERS = ( 'django_compressor_autoprefixer.AutoprefixerFilter', ) COMPRESS_AUTOPREFIXER_BINARY = os.path.join(BASE_DIR, '..', 'node_modules/postcss-cli/bin/postcss') COMPRESS_AUTOPREFIX...
[ "marcinskiba91@gmail.com" ]
marcinskiba91@gmail.com
d09e8f1f8f6ce69f17db42f0cc74904c1ba4e74e
e48375c39c0d1fc71742b1964dffdd3af0ff86c0
/nlu/components/sentence_detectors/deep_sentence_detector/deep_sentence_detector.py
ab4ea95db84960ec483781f792af9daed7b121c3
[ "Apache-2.0" ]
permissive
ahmedlone127/nlu
b8da5a84f0e47640cb09616559bf8b84c259f278
614bc2ff94c80a7ebc34a78720ef29a1bf7080e0
refs/heads/master
2023-02-09T05:10:29.631583
2022-05-20T15:16:33
2022-05-20T15:16:33
325,437,640
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from sparknlp.annotator import * class SentenceDetectorDeep: @staticmethod def get_default_model(): return SentenceDetectorDLModel\ .pretrained()\ .setInputCols(["document"]) \ .setOutputCol("sentence") @staticmethod def get_pretrained_model(name,lang, buck...
[ "christian.kasim.loan@gmail.com" ]
christian.kasim.loan@gmail.com
c833d1c9767af5dcdba2857ebd60cf7735f680aa
2447637c04a881d6ea9b569232da3460883fb237
/settings.py
f9c840fac2aa638a95f1ead6b85d70f5d90cfe7b
[]
no_license
Hardysong/web-crawler-spider-
315078ef7502cf12208106548f0468a7b111ec7d
8cac837bc7889c2be3fec3962af970adbd5badfe
refs/heads/master
2021-01-23T00:06:47.115545
2017-03-21T12:35:39
2017-03-21T12:35:39
85,699,871
16
8
null
null
null
null
UTF-8
Python
false
false
3,330
py
# -*- coding: utf-8 -*- # Scrapy settings for tutorial project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/lates...
[ "sunyibo110@sina.com" ]
sunyibo110@sina.com
eb95e12f1a17e86ad399d5b8dc910a900f87944b
83dd196a98fe80fc8521513070c9189ba4fcec62
/Analysis_Code/Had_Data_43.py
a79628e7d11889ad079b2e4e5673f3efc4089441
[]
no_license
DarrenBurton/RA1_2012
e7162e81251c090277d43d0cb7fa2227161b36fd
ab46ff5434b3c2bea2b5d5c0050d19372c74317c
refs/heads/master
2021-01-16T18:39:59.269229
2012-07-27T18:57:06
2012-07-27T18:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#!/usr/bin/env python import setupSUSY from libFrameworkSUSY import * #from libbryn import * from libHadronic import * from libOneLepton import * from icf.core import PSet,Analysis from time import strftime from batchGolden_singlemu import * from ra1objectid.vbtfElectronId_cff import * from ra1objectid.vbtfMuonId_cff ...
[ "d.burton10@imerial.ac.uk" ]
d.burton10@imerial.ac.uk
83d009922a8912f1f5ddf4fecf3fddade6bf61cc
d05bb67ed5fefcb979c7ffa343ec970a3b0f18d8
/build/numpy_tutorial/catkin_generated/stamps/numpy_tutorial/numpy_talkers52s8.py.stamp
88707d7b0d6f7f70ffa2089aa7310b027d94564b
[]
no_license
GillMarMad/catkin_ws
eafeedbc49f76ccbec0cf283ef2e113e5354b2de
550b8a8d815704cf57e423be9580f047770cb8fe
refs/heads/master
2023-02-10T17:58:27.450209
2021-01-09T23:22:12
2021-01-09T23:22:12
328,265,453
0
0
null
null
null
null
UTF-8
Python
false
false
538
stamp
#!/usr/bin/env python import rospy from rospy.numpy_msg import numpy_msg from rospy_tutorials.msg import Floats import random import numpy def talker(): pub = rospy.Publisher('s52s8', numpy_msg(Floats),queue_size=10) rospy.init_node('talker', anonymous=True) r = rospy.Rate(10) # 10hz while not rospy.i...
[ "gillmarmad@gmail.com" ]
gillmarmad@gmail.com
5a62de54810f05b493445f3c2654a56a4247d18c
11d051965e2121d60ccedc66dcfc893e4ae505b8
/lintcode/365 countOnes.py
ba67bdea5bc8fe0f6c09785ef2e64302b9f88df1
[]
no_license
shuaili8/CodingPractice
f2d519f2a479b11ae82edf4b44f2046226bb77e9
a04b194703a42d0c5d833d54cc8582e37c3fa151
refs/heads/master
2021-06-12T08:23:28.883687
2017-03-05T07:21:10
2017-03-05T07:21:10
43,593,606
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
import sys class Solution: # @param num: an integer # @return: an integer, the number of ones in num def countOnes(self, num): # write your code here r = 0 if num < 0: r = 1 num = num & sys.maxsize while num != 0: r = r + (num & 1) num = num...
[ "lishuai.sherry@gmail.com" ]
lishuai.sherry@gmail.com
a29bead203db36e725015751cd87e1ad705a7280
af78246fc438f09f6e17d9a32bc698117edd8954
/blog/migrations/0001_initial.py
b69dfb87cc66e24be3d9e18cbe0e558301ca11a6
[]
no_license
deek28/my-first-blog
968b627147444a2dc0ee2733689a2da65fc3ffce
6a7cc99eaa7c18918182a5c338e08aff6f00f9e9
refs/heads/master
2021-05-24T16:37:52.362891
2020-04-13T15:29:07
2020-04-13T15:29:07
253,658,256
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.2.4 on 2020-04-07 01:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "dkshtbn@gmail.com" ]
dkshtbn@gmail.com
e20932bf17f71d78ac469d9c003fc8b2ae163ad0
283b2a1f39fa1da3daa6bc58990682968b0fdd46
/src/scene/brick.py
b84a9b44f4056d5f2d41a7137a9741b7cb28ba6c
[ "Apache-2.0" ]
permissive
vlad94568/bricks
c2de4a4c0a2657f14182c4a13371cc03c59898d5
ffe6b761930fcb592c802cd7fde4b0657b05f951
refs/heads/master
2021-04-28T13:35:45.402367
2020-12-18T05:14:54
2020-12-18T05:14:54
122,108,325
2
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
# # _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ # _/ _/ _/ _/ _/ _/ _/ _/ _/ # _/_/_/ _/_/_/ _/ _/ _/_/ _/_/ # _/ _/ _/ _/ _/ _/ _/ _/ _/ # _/_/_/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/_/_/ # # By Vlad Ivano...
[ "nivanov@gridgain.com" ]
nivanov@gridgain.com
3016c687ec5ae81b1cd9d16c05eb06f58500219f
968968aa5e81043cad5af6883f23ef077c36b65f
/load_model.py
87518857933f46b083d4611584a50ca9100d20e9
[]
no_license
Guya-LTD/profanity-detector
59dbcb2e3e2fe4eba29cd49f5f028c48413f035f
ba957c42c4d14dd3c68ef2c48fce317e9db17f8f
refs/heads/main
2023-02-11T18:26:59.205036
2021-01-10T06:41:25
2021-01-10T06:41:25
307,553,959
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import numpy as np import joblib def _get_profane_prob(prob): return prob[1] def predict(lang, texts): vectorizer = joblib.load(lang + '/vectorizer.joblib') model = joblib.load(lang + '/model.joblib') return model.predict(vectorizer.transform(texts)) def predict_prob(lang, texts): vectorizer = joblib.load(...
[ "simonbelete@gmail.com" ]
simonbelete@gmail.com
e8fb8b6c7a2c7ba04314e431ec618dd22761941e
612325535126eaddebc230d8c27af095c8e5cc2f
/src/build/android/pylib/utils/device_dependencies.py
c448396fbc0ab0c74370a723afeb7c9fb47be053
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,315
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import re from pylib import constants _BLACKLIST = [ re.compile(r'.*OWNERS'), # Should never be included. re.compile(r'.*\.crx'...
[ "2100639007@qq.com" ]
2100639007@qq.com
87e458170ac80e1d168ac33dc51962ad66b4f833
9134990653ca039918ad14a2c345f0ee4c421fe1
/setup.py
7ecc05f9d920cdb9bc37e3340e20015b75fed2b6
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
soderluk/bottle-oauthlib
31e2bfba817f04931de5f0db4cd0fbdd2bce2e99
92bd9ed6a7b6c23b073625d45c284e293b70b28c
refs/heads/master
2020-04-08T20:01:31.077961
2018-11-06T08:31:14
2018-11-06T08:31:14
159,681,033
0
0
BSD-3-Clause
2018-11-29T14:43:56
2018-11-29T14:43:56
null
UTF-8
Python
false
false
1,028
py
from setuptools import setup import inspect from os import path import os with open(path.join(path.dirname(path.abspath(inspect.getfile(inspect.currentframe()))), "requirements.in")) as fd: dependencies = fd.read().split('\n') try: version_tag = os.environ["TRAVIS_TAG"] except KeyError: version_tag = "1....
[ "jonathan.huot@thomsonreuters.com" ]
jonathan.huot@thomsonreuters.com
eb0103e62ae9f3d18f040c6db9cc6d787793b6df
219be32fc6958365deb47e9f1037abfe23be46a2
/HackerRank/candies.py
6f5b0439788998668fcdd1dfdd581bd2a4b59c7c
[]
no_license
JustinHoyt/interview-practice
65179ec56df71b2e807d4b6c548889058e8a3000
c1608c166290cac892576043f8d3b84f7a756fc8
refs/heads/master
2022-06-30T00:25:55.694391
2022-05-30T02:37:20
2022-05-30T02:37:20
73,835,577
7
1
null
null
null
null
UTF-8
Python
false
false
878
py
def give_candies(students, memo, current, prev): key = str(current) if key in memo: return memo[key] if len(students) <= current or current < 0: return 0 left = 0 right = 0 if current - 1 != prev and current-1 >= 0: left = give_candies(students, memo, current-1, current...
[ "justinhoyt24@gmailcom" ]
justinhoyt24@gmailcom
4075efc0ed3a769582d7d67cd20953c61bab212c
950297160fae36138ada537f87c71e4ba17bb6af
/my_agent.py
50fe583096b91294edafd1637688333f588eae0f
[]
no_license
Vishal0703/DeepRL_Navigation
c6d217771c7bcdc704bb1daf6c48e0c3e7a30fe2
7b2c56cd1cc0bb640a9a6593a35aa9ca534e4179
refs/heads/master
2020-04-12T15:50:52.127872
2019-01-16T09:32:58
2019-01-16T09:32:58
162,594,148
0
0
null
null
null
null
UTF-8
Python
false
false
6,899
py
import numpy as np import random from collections import namedtuple, deque from model import QNetwork import torch import torch.nn.functional as F import torch.optim as optim BUFFER_SIZE = int(1e4) # replay buffer size BATCH_SIZE = 64 # minibatch size GAMMA = 0.99 # discount factor TAU = 1e-3 ...
[ "noreply@github.com" ]
Vishal0703.noreply@github.com
e6ea4e632b0b731721851c7db5ec5498ae307b76
3cb06711ab1a6e379e5778456fce5770ac994ba9
/python/wait_functions_test_py3.py
02cab39f268b7e1880b29bbcbcffa372099fe449
[ "MIT" ]
permissive
glenn-edgar/chain_flow
7e8238c1f5e5c00f4c5906e2eb356d33c2b4696c
750a9b126de04e46b71a58c5bd3e7500c4d26459
refs/heads/master
2021-01-02T22:41:30.066536
2017-09-05T19:34:57
2017-09-05T19:34:57
99,368,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
from py_cf_py3.chain_flow_py3 import CF_Base_Interpreter def test_function_1( cf_handle, chainObj, parameters, event ): print("test function 1 ",event) def wait_test_function( cf_handle, chainObj, parameters, event ): print("event",event) return_value = False if event["name"] == "INIT": parameter...
[ "glenn-edgar@onyxengr.com" ]
glenn-edgar@onyxengr.com
5c5fdc9dd71759badee24f5bc5a70e72ab1d9938
78beced1a6a96380077059e3b1520fa6a7faed95
/compare_classifiers_DATA401/base_model.py
610411d0ac0e3cc221e3de5669042a57289e4772
[]
no_license
markellekelly/portfolio
da59e0e39eea4396819d8acb385fac04bfdbf890
787bfaf10976af038879aebe21556c7240027c31
refs/heads/master
2020-08-31T04:56:43.193459
2020-02-10T00:34:02
2020-02-10T00:34:02
218,595,183
3
1
null
null
null
null
UTF-8
Python
false
false
5,326
py
import abc import numpy as np import pandas as pd import matplotlib.pyplot as plt from abc import abstractmethod def _convert_dataframe(x): """ Converts x from a Pandas DataFrame to a Numpy ndarray if x is a DataFrame. If x is already a ndarray, then x is returned :param x: Input DataFrame :retur...
[ "mkelly23@calpoly.edu" ]
mkelly23@calpoly.edu
5d93ce633829dede636e08e12802f99ad3b751d6
b806c351b5b09c68fb82edd26b7f48ac60124293
/examples/tutorials/04_cubes_and_objects/13_pop_a_wheelie.py
f96809dd4c591c60124b58427a2a22972974c1e5
[ "Apache-2.0" ]
permissive
cashcat/cozmo-python-sdk
ddd9ac042fe5b254ba2d721d89b552a4931d913b
c4dcfb2c323bbfdce0c3affed2b64a59edfd0f68
refs/heads/master
2022-07-08T13:28:19.862721
2022-07-03T14:10:02
2022-07-03T14:10:02
172,061,034
1
0
NOASSERTION
2019-02-22T12:15:38
2019-02-22T12:15:38
null
UTF-8
Python
false
false
1,214
py
#!/usr/bin/env python3 # Copyright (c) 2017 Anki, 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 in the file LICENSE.txt or at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "noreply@github.com" ]
cashcat.noreply@github.com
cb20e9e52b32e9c6326a763015d867ba85acb885
7b5f7dc5b6a0fc063aeabc9f2408dc867586c129
/env/lib/python2.7/site-packages/sure/old.py
59cef893c4075eff83a691a530ebb8822e678328
[]
no_license
kingbifoe/django-calendar-reminder
687dfa419895cfc67f5fad542179d9d4a716e75d
3325717f53fd9825e036f21f391510f6a754aa93
refs/heads/master
2023-01-02T05:10:47.418059
2016-04-10T19:04:44
2016-04-10T19:04:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,705
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # <sure - utility belt for automated testing in python> # Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the...
[ "cndeti@gmail.com" ]
cndeti@gmail.com
d82a7c81e00fa27c5ad59a4fc4811c1928d2518e
63daf225819636397fda6ef7e52783331c27f295
/taobao-sdk/top/api/rest/TmallProductSpecsGetRequest.py
b7150211c3b1b6c63e9ce9e9c0ee66bd56c5f336
[]
no_license
cash2one/language-Python
e332ecfb4e9321a11407b29987ee64d44e552b15
8adb4f2fd2f023f9cc89b4edce1da5f71a3332ab
refs/heads/master
2021-06-16T15:15:08.346420
2017-04-20T02:44:16
2017-04-20T02:44:16
112,173,361
1
0
null
2017-11-27T09:08:57
2017-11-27T09:08:57
null
UTF-8
Python
false
false
356
py
''' Created by auto_sdk on 2014.02.28 ''' from top.api.base import RestApi class TmallProductSpecsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.cat_id = None self.product_id = None self.properties = None def getapiname(self): ...
[ "a@ie9.org" ]
a@ie9.org
fe8c1b110597c61d4d0d0cf4df44e625ada09bf3
d7c0193f7f81138466ea182aa624bb4305aa65e2
/Calculator.py
8f3f0f255d10648bb662341465089242a1899537
[]
no_license
Avilash2001/Calculator-Python
9103c4631b8f27f7f989b55a78d6ce61f1603915
3dd4fa61f4faa90a500bcfa7a45b93f90cd4a0c8
refs/heads/master
2022-11-21T20:14:40.870119
2020-07-25T15:52:00
2020-07-25T15:52:00
282,469,297
0
0
null
null
null
null
UTF-8
Python
false
false
33,219
py
from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5 import QtCore, QtGui, QtWidgets from math import sqrt def is_integer(n): try: float(n) except ValueError: return False else: return float(n).is_integer() class Ui_Calculato...
[ "noreply@github.com" ]
Avilash2001.noreply@github.com
8294ffcfd711b3cf43a17380fbbd667b66521dc5
412e0178562be3a33916d02679bd84ab83fc4f8a
/FPROPlay/Py05/LongestWord.py
2c4cd9bb02957146bd074848312d4d9cea8697de
[]
no_license
filiperecharte/FEUP-FPRO
401a9a9ec5349f1ada928b67bc7e160e40ee6d7a
7295524f42f6af9cb455957d5b75ce587bb7d4ca
refs/heads/master
2022-03-24T19:07:24.895356
2019-12-19T17:36:34
2019-12-19T17:36:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Nov 4 12:27:04 2019 @author: filipe """ def longestInlist(alist): longest=alist[0] for i in alist: if(len(i)>=len(longest)): longest=i return longest def longest(s): lista=[] s=s+" " for i in s: ...
[ "filipeteixeira00@hotmail.com" ]
filipeteixeira00@hotmail.com
68c248e166090f6f4c128958819a7b23e91b52f8
f7d686ff80f262cb3812980dc7e3e9b1d142b368
/venv/nums.py
1f5d1c782c5949aba3cd9287a2a6e0a12979d760
[]
no_license
orDasha/Python_Algorithm_Home_Work
b569525cea267b77b6c1952797e3f26b62be2fe1
b1c4fcb07410f5374036580dcc0ad58f6c895b1e
refs/heads/master
2021-02-26T05:58:34.785475
2020-03-06T19:30:09
2020-03-06T19:30:09
245,500,641
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
#Функция приведения вводимого значения к числовому (FLOAT), на входе число, на выходе float def digitalize_prompt(num): if num.isdigit(): return float(num) else: try: float(num) return float(num) except ValueError: print('Неверно введено число') ...
[ "21261637+orDasha@users.noreply.github.com" ]
21261637+orDasha@users.noreply.github.com
88510c98e614cffb3f41acaeb92caf8f37774ff5
fe4af6b73828193684575644010a2cb741db91be
/pandas_practice
0fdd1eca7386b41bd623460f2bd4c5806e8a649c
[]
no_license
ZheRenoO/Python4DS
416765b15808438b73294da54127f14fae38c9e9
5df4adbe537c47ac683e1841b731b152d9da2adb
refs/heads/master
2022-08-02T09:32:12.459498
2020-06-06T00:44:10
2020-06-06T00:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,351
#!/usr/bin/env python # coding: utf-8 # ___ # # <a href='http://www.pieriandata.com'> <img src='../../Pierian_Data_Logo.png' /></a> # ___ # # SF Salaries Exercise # # Welcome to a quick exercise for you to practice your pandas skills! We will be using the [SF Salaries Dataset](https://www.kaggle.com/kaggle/sf-sala...
[ "noreply@github.com" ]
ZheRenoO.noreply@github.com
ce502221c2081beadd2ed01aa5ddd02cf7cf7901
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/data_structures_and_algorithms_in_python/ch04/power_fast.py
c7f98d650facb9e5b5bb39c4db5cd09f1ee64c4c
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def power(x, n): if n == 0: return 1 else: partial = power(x, n // 2) # rely on truncated division result = partial * partial if n % 2 == 1: # if n odd, include extra factor of x result *= x return result
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
b69f8beff48dd50cb0d5282793730a6584dc94dc
3c2b7c4f632697b382cbd55bf0e4652c11cbf685
/python-Exp3/Q3.py
87a97054c957025233ea449d5e9a093f46240468
[]
no_license
ajitjha393/PYTHON-EXP
0b7c56157ff1054d84cfbd5b9820cae46567adc1
1ae42a9bc4f163fc512b887f5ff8c2734f6d62ab
refs/heads/master
2020-04-22T22:04:36.314429
2019-04-07T17:30:03
2019-04-07T17:30:03
170,695,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
# ---------Simple Calculator def add(*args): sum = 0 for i in args: sum += i return sum def sub(*args): subtraction = args[0] for i in args: if i == args[0]: continue else: subtraction -= i return subtraction def Multiply(*args): mul = 1 ...
[ "noreply@github.com" ]
ajitjha393.noreply@github.com
8f625038c620cfe6780ab65acbcdcdc12082f039
8df9a0b12b8451d6c198164b85f8776fd4fccc31
/casesrc/test5updateBook.py
abc1873aa5785eebc6cc87417ade51e1e8a2a26c
[]
no_license
alexxu56/httpbook
aa4cd295e9269fda9d3598f674e65871bf6453e0
c5f3708d8e8584926273ba2ae154e5565b339884
refs/heads/master
2020-03-08T05:12:52.905480
2018-04-03T17:19:06
2018-04-03T17:19:06
127,942,667
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# -*- coding: utf-8 -*- from updateBook import UpdateBook from getBookList import GetBookList import unittest class testUpdateBook(unittest.TestCase): def testupdatebook(self): # addbook filename = 'caseUpdate.xlsx' begincase = '00301' casenum = 2 updatebooklist = UpdateBoo...
[ "156461040@youremail.com" ]
156461040@youremail.com
d09ba860d2dd4bfc110801c221ab765641fde85a
b1ca83526e516b173adac193fb988f66f14ed65d
/halotools_ia/correlation_functions/tests/test_ed_3d.py
30d36c4fe39c51678989b1ac0a60bfb956ea8513
[ "BSD-3-Clause" ]
permissive
nehapjoshi/halotools_ia
a520149ce208e9b5b2bba10d1628115de9190b70
36b228bf788354fac692cb4d55d32bfd4e39a998
refs/heads/master
2023-06-13T00:17:31.123130
2020-06-08T19:09:03
2020-06-08T19:09:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
""" Module providing unit-testing for the `~halotools.mock_observables.alignments.w_gplus` function. """ from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np import warnings import pytest from astropy.utils.misc import NumpyRNGContext from ..ed_3d import ed_3d from h...
[ "duncan@donut-hole.local" ]
duncan@donut-hole.local
53837fb5e2aad28f95b52a92f23678b03b832595
a9bbd4dbcc74eaeddf6ba29c04454c89c7e4a98c
/main.py
56f50c21480d4d47b46d00809049677014862eb4
[]
no_license
texcaltech/windmilltownhomes
c5b531c07b95fc751afe3a68a11509dedefdc077
8747c75a23304e28f64cc207be9d06b81679c355
refs/heads/master
2021-01-19T21:28:47.899739
2013-03-20T02:52:51
2013-03-20T02:52:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
import webapp2 import jinja2 import os jinja = jinja2.Environment( loader=jinja2.FileSystemLoader(os.path.dirname(__file__))) def getBackground(page): bg = {} if (page == 'contact'): bg['large'] = 'http://farm9.staticflickr.com/8382/8552707810_b5110806a8_h.jpg' bg['small']...
[ "texcal.tech@gmail.com" ]
texcal.tech@gmail.com
89f4e42b94db78a216da5d14a10ae08a72d8c834
13e0ae2c2bb5442a099a5e5acd90a81082de6cea
/entities/entity.py
2473ea0df75aa19494afccd9c27474102b3cb6f9
[]
no_license
eseraygun/python-entities
03345364075c47c7370b898f178420766ab2bbb7
9763ef61dacda70cb7d9731f74bfff2e35efe08b
refs/heads/master
2016-09-08T00:42:13.032623
2014-03-24T13:33:20
2014-03-24T13:33:20
9,154,428
4
1
null
null
null
null
UTF-8
Python
false
false
3,415
py
from basic import PRIMARY, MultipleErrors, ValidationError from field import Field from schema import Schema class Entity(object): __metaclass__ = Schema # noinspection PyArgumentList def __new__(cls, *args, **kwargs): self = super(Entity, cls).__new__(cls, *args, **kwargs) self._values =...
[ "eser.aygun@gmail.com" ]
eser.aygun@gmail.com
a136fc23e69ebae89afe6c5d639ca6272310d0dc
3c3fccf2087fb1a7057485fb5c0205ed4c7a5bb2
/luffy_strak/wsgi.py
2dfce00ac61a81ab1f45566387632c10632a5968
[]
no_license
heehoo-ai/stark
6ae22b4072f92d5ab753242611432837e43ac944
d0824590dbfa2c7ae7cb8e7fca7ff96a88b4e294
refs/heads/master
2022-12-08T06:06:37.203234
2020-09-03T08:00:03
2020-09-03T08:00:03
290,717,157
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for luffy_strak 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "heehoo@qq.com" ]
heehoo@qq.com
4371051b460fbdb7f7e35435ddd12876a32f7a6e
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0198_ambiguous_numbers.py
ca312ac6f6f03c67908c6bd6ae8705a25e557c7b
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
# Solution of; # Project Euler Problem 198: Ambiguous Numbers # https://projecteuler.net/problem=198 # # A best approximation to a real number $x$ for the denominator bound $d$ is a # rational number $\frac r s$ (in reduced form) with $s \le d$, so that any # rational number $\frac p q$ which is closer to $x$ than $...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
d1c4dcce1c4d93f639798a0b8d7b8ac902d9ad74
4d90a1f16b90589c893c250d59b3edf2913ebdf2
/Coding Topics/NestedInteger/Nest weight sum.py
71875c33f380c741c74581d9f30745ba0a099844
[]
no_license
cliu0507/CodeForFun
76cfd63f7eca9e6791be6fdda569d6d1d52c9405
5751a5176f86ac03b351d47efb5cfd9c2f6c886d
refs/heads/master
2021-08-18T09:33:10.046130
2021-08-13T17:00:50
2021-08-13T17:00:50
62,689,547
1
1
null
null
null
null
UTF-8
Python
false
false
15
py
Nest weight sum
[ "cliu0507@yahoo.com" ]
cliu0507@yahoo.com
60e1fae3e610401595ac4c325afa9c1d4c049bfa
7c0369b719201ac461a053bf385c191faf82adb9
/cnngeometric_yong/DataSet_old/venv/bin/easy_install
d1bd7d69b4efe14d31ced0cca45c7659b168c1d5
[]
no_license
yoyongbo/Thesis-Image-Alignment-Using-Machine-Learning-
ab9f692450ea2d408fccc8b56da7baae9617ac92
3a6abf9b5e0082a2b4a9786d6f7f0960955e6c91
refs/heads/master
2023-08-29T21:14:55.282716
2021-10-04T22:41:24
2021-10-04T22:41:24
413,600,586
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/yongboyu/Desktop/yong_honors/DataSet/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yoyu@upei.ca" ]
yoyu@upei.ca
3767e3ce1ee0d228ed60b849ea6b096818fdab1b
764b0e8f4175661c1e26d4d2a1f8a70ecf2899b9
/Find the Runner-up score HackerRank/Find the Runner-up Score.py
1d6272c6e96875205071f932ee514626050ad3fb
[]
no_license
Abishek-Git/HackerRank
5a427a2ce6d287c738f1935954ec952b7771dcb9
436d58b277f8ecb5cb65ec1f950717e4d45a2570
refs/heads/main
2023-07-23T09:57:03.269478
2021-08-30T13:48:06
2021-08-30T13:48:06
397,639,616
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" Given the participants' score sheet for your University Sports Day, you are required to find the runner-up score. You are given scores. Store them in a list and find the score of the runner-up. """ total = int(input()) marks = list(map(int, input().split())) marks.sort() runner = 0 for i in marks[::...
[ "noreply@github.com" ]
Abishek-Git.noreply@github.com
08a3fe7445f742ea3b4da8caf57c52bbc9acc66b
13da6acd43e63b8be0e6e6971d06bd4706b2be71
/tests/test_octodns_record_geo.py
6b9cd4eaa90c74a52ff2cd2b1e5d329ac137ef04
[ "MIT" ]
permissive
grahamhayes/octodns
4db23d47c6397dec2dee5f75285bfde5b30c7791
ea81b7a535d722f81cb862767a295f277960e257
refs/heads/master
2023-01-11T00:03:03.461018
2019-01-28T17:51:40
2019-01-28T17:51:40
168,031,154
0
0
MIT
2022-12-27T15:33:45
2019-01-28T20:24:02
Python
UTF-8
Python
false
false
2,110
py
# # # from __future__ import absolute_import, division, print_function, \ unicode_literals from unittest import TestCase from octodns.record.geo import GeoCodes class TestRecordGeoCodes(TestCase): def test_validate(self): prefix = 'xyz ' # All valid self.assertEquals([], GeoCodes....
[ "ross@github.com" ]
ross@github.com
14e91cfd8dbbec97c9ab3e312f3b5779cd6e22fb
ed7907d39df5ecfa2ed40f5dba77646dd680c0ba
/exceptionTest3.py
28645142fe713c83a936ec0f81af7b12a677c398
[]
no_license
neighborpil/Py_EasyPython
2cc0a7b7914c6a720f9c2da426f5bceba2bf8f2d
042e82e6c67549da307800c87492145b731319ec
refs/heads/master
2021-07-06T05:28:43.364552
2017-10-01T04:41:10
2017-10-01T04:41:10
103,515,499
0
0
null
2017-10-01T04:41:11
2017-09-14T09:46:24
null
UTF-8
Python
false
false
438
py
#finally 처리 #파일 닫기와 같이 예외발생 여부와 상관없이 반드시 발생해야 하는 경우 사용한다 try: #테스트를 위하여 파일 생성 open('__test.txt', 'w').close() #파일 읽기로 연다 f = open('__test.txt', 'r') #파일에 먼가 쓰면 예외 f.write('xxx') except OSError as e: print('Exception : {}'.format(e)) finally: f.close() print('release file')
[ "neighborpil@naver.com" ]
neighborpil@naver.com
683ce542c7bd81520833cab65d8c4764426527d6
a90d3018fc1ca827c79c169259b9b071c4548864
/Python_edition/frame2d_eg/frame2d_ele_info.py
c0dc94ada2d471fe98f5d8414ad78c1dbde6a45a
[]
no_license
yiphon/FEM_code
706958c1784a25392134b06d9fbabfb373a8ae99
2c9cabc1dd3a37efc418d5ecdcb71a04374ce6f1
refs/heads/master
2020-03-16T15:58:31.591619
2018-05-25T02:56:00
2018-05-25T02:56:00
132,766,451
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
import numpy as np from math import * def frame2d_ele_info(node_coordinate): #利用各单元对应节点坐标,完成ele_info矩阵。 eles = node_coordinate.shape[1] a = np.zeros((3, eles)) for i in range(eles): x1 = node_coordinate[0, i] y1 = node_coordinate[1, i] x2 = node_coordinate[2, i] ...
[ "noreply@github.com" ]
yiphon.noreply@github.com
745598179a1f4f9fc81a7259c54c7e70776b17c7
7083f3e6121a63b0c21e15d8b23c32067d7e4e5e
/scripts/debugging/test_data_utils.py
471d21749014c77fe08ae8e78ca5ffb1b5c2ab15
[]
no_license
nathanin/milk
e46317cf0d1b2162fd301a144f5aa3b889cf5d27
9afb3b01715a4f65a03b7cd45dcd121745b117f8
refs/heads/master
2023-02-22T05:23:06.850961
2019-10-26T19:08:20
2019-10-26T19:08:20
154,750,122
2
0
null
2023-02-15T21:36:19
2018-10-25T23:29:33
Jupyter Notebook
UTF-8
Python
false
false
79
py
import sys sys.path.insert(0, '../..') from milk.utilities import data_utils
[ "ing.nathany@gmail.com" ]
ing.nathany@gmail.com