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
8a0b24f1b87ed54499e4404ca461f2e09c83933a
7f48a58c0de39394193b869797dac3f588de57fc
/worker.py
a875cf416c0c73f6857dd2a3e9dd1b3a205217d7
[]
no_license
imkindaprogrammermyself/replay-data
350be854bd5b4b3dd6880779f1392396449e78af
588f117fe0e53122771f41a33d8fb66708c61898
refs/heads/main
2023-05-23T23:14:02.849593
2021-06-23T16:33:41
2021-06-23T16:33:41
379,663,590
0
0
null
null
null
null
UTF-8
Python
false
false
2,462
py
import logging import requests import json from celery import Celery, Task from celery.app import trace from replay_unpack.clients import wows from replay_unpack.replay_reader import ReplayReader, ReplayInfo trace.LOG_SUCCESS = """Task %(name)s[%(id)s] succeeded in %(runtime)s""" celery = Celery(__name__, backend="red...
[ "applicatnccnt@gmail.com" ]
applicatnccnt@gmail.com
e42b386d67393c6af683599183132b972f57f57a
928c53ea78be51eaf05e63f149fb291ec48be73e
/Min_Steps_to_Make_Piles_Equal_Height.py
527f25bb619af81199021e028c3d6393516d14b4
[]
no_license
saurabhchris1/Algorithm-Pratice-Questions-LeetCode
35021d8fc082ecac65d7970d9f83f9be904fb333
ea4a7d6a78d86c8619f91a75594de8eea264bcca
refs/heads/master
2022-12-10T16:50:50.678365
2022-12-04T10:12:18
2022-12-04T10:12:18
219,918,074
5
2
null
null
null
null
UTF-8
Python
false
false
2,697
py
# Alexa is given n piles of equal or unequal heights. In one step, Alexa can remove any number # of boxes from the pile which has the maximum height and try to make it equal to the one which # is just lower than the maximum height of the stack. Determine the minimum number of steps # required to make all of the piles e...
[ "saurabhchris1@gmail.com" ]
saurabhchris1@gmail.com
27450ead5d4d9e97d5fc4bf4b86c6dec72d1fd60
100792cbd321caa1abcca2b0eba6481e7288b76a
/CH10/main.py
ffdacbdb5424f41dc992e2ee837c078415b8318b
[]
no_license
magicbe/Python_Tutorial-Basic_Grammar
00d3560905e56c9731f168252808bf6b64662d9f
620a80b49d44686b3d4a7e4a4911ad04c5f84802
refs/heads/master
2020-04-26T22:27:53.195527
2019-03-08T01:01:14
2019-03-08T01:01:14
173,873,256
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from PasswordMachine import Machine min = int(input("請使用者輸入你想要的下限:")) max = int(input("請使用者輸入你想要的上限:")) mach = Machine(min, max) while True: interval = mach.returnInterval() msg = "請輸入[" + str(interval[0]) + "-" + str(interval[1]) + "]的數字:" n = int(input(msg)) if mach.guess(n) == True: break ...
[ "magicbe.tw@gmail.com" ]
magicbe.tw@gmail.com
c50339aff0e1e2b90330465c9946643f803ff166
29178627212a6adb52e089d0fdf8018e964ce547
/dictionary.py
9655d9ec1629b714ec83d687022785295d46fc09
[]
no_license
TimurAykutYildirim/apa-scrapper-service
55d193a61e8230063b201ef7f6a0a73f59e34ff7
4740ce50767f5018ca222380851594b97233b8da
refs/heads/master
2016-09-05T22:47:55.536106
2014-11-25T10:41:45
2014-11-25T10:41:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
#!/usr/bin/env python # -*- coding: ISO-8859-1 -*- import urllib, json, datetime, math, time, sqlite3, io, os key = "5359f98af2e4d8f738170b82b8eeaece" myDict=[] query = "" page = "1" totalNewsAmount = 0 von = "1199142000" bis = "1388530800" serviceURL="http://78.46.106.130:83/get_init_db_table_data2" requestCounte...
[ "timur.aykut@gmail.com" ]
timur.aykut@gmail.com
67b598296245e8060822a540e340176e4aca8850
46c937eb2eb3158ce0fbb09ccbafdd57ff73bc27
/BanditsInferenceJosephJacob/louie_experiments/run_effect_size_simulations_beta_nstep.py
67c5f1e9d422b5e89acf9718bcd7cb5448e1e6bf
[]
no_license
IAIresearchlab/SCBandits
461cecc36437b020b5cb354785ab5f9bd7da55a6
b46b65662f50275ecf5e4a99ffdb25be74b67262
refs/heads/master
2023-03-06T01:13:57.455622
2021-02-23T20:07:41
2021-02-23T20:07:41
276,198,767
1
2
null
null
null
null
UTF-8
Python
false
false
28,461
py
''' Created on Jul 21, 2017 @author: arafferty ''' import argparse import math import random import sys import scipy.stats import beta_bernoulli import effect_size_sim_output_viz from forced_actions import forced_actions import generate_single_bandit import get_assistments_rewards import numpy as np import pandas a...
[ "jacobnogas@gmail.com" ]
jacobnogas@gmail.com
ef50016652cd8bfd2b69bc19ee34de0eb6ff7d2d
343715f0df51b71364c781a55406be11e03640f1
/main.py
b829c4e6e428403043d9403a81738024a5faf283
[ "MIT" ]
permissive
danilhendrasr/bisection-method
ca306769cbf5dfc7bd67e5f7607f83df787ba2b1
40e6cafedb69996868a286ce10db5d221d9021a9
refs/heads/main
2023-01-05T16:08:06.333987
2020-11-03T03:23:32
2020-11-03T03:23:32
308,780,737
1
0
null
null
null
null
UTF-8
Python
false
false
1,932
py
import os from tabulate import tabulate def evaluateEquation(number): return eval(equation.replace("x", str(number))) def clearTerminal(): os.system('cls' if os.name == 'nt' else 'clear') def exitProgram(message): print("\n-- {} --".format(message)) exit() equationTemplate = "y = x^q - r*x + s" ...
[ "danilhendrasuryawan@gmail.com" ]
danilhendrasuryawan@gmail.com
11b02e051010453eb013a89954d8791c7033b396
4daeb9ebf92d9826028a50bf4e4715c1ab145db1
/Problem-Set/Numerical_Computing/INSOMA3/run.py
119445d7f7fd419363c3de405740eab234b29f25
[]
no_license
Rahul2025/Thesis
4148653fcc96d623d602ba58e33cc6465d1cd9f5
df31863194e2e0b69646e3a48fcaf90541a55c2a
refs/heads/master
2020-05-02T00:48:09.593873
2013-04-21T20:23:02
2013-04-21T20:23:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
# filename : run.py import time f = open('/home/Rahul/Desktop/Thesis/Scripts/cyth_time', 'a') start = time.time() import qq18_tim f.write(str(time.time() - start)) f.close
[ "rahulgupta2025@gmail.com" ]
rahulgupta2025@gmail.com
97865fff1a90500776ec72b8a08f24861b9bb8b8
a980a244e992ee8df1cb7d28c4db23e96e1152c8
/classproject/settings.py
39c26e3de4bb57dd839a6dc52993275b51b1884d
[]
no_license
Aashritha1/Class-Project
eaf9aafc077a3392652040787ac5f92347ff48b1
d37eca77f32e843bd76f4510eaafec0a21c25389
refs/heads/master
2021-01-22T18:37:51.076522
2020-05-13T09:46:37
2020-05-13T09:46:37
102,410,021
0
0
null
null
null
null
UTF-8
Python
false
false
5,754
py
""" Django settings for classproject project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import...
[ "noreply@github.com" ]
Aashritha1.noreply@github.com
f707b837977bb8b7525e293273b463c55f2ebd56
d35c225431dec31bb767a2bb5e3241f180931759
/Mochila/mochila.py
9da3cf8df9984583b418b9e68cc505257da92d92
[]
no_license
nicocda/Geneticos
ec769835dc2837a8ae897da6d7afbfd4f95037d4
1d360324f4b5c944f741048522f34583fdb628c5
refs/heads/master
2020-04-15T13:36:51.475538
2016-12-12T02:23:07
2016-12-12T02:23:07
56,190,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
#bloque def constantes combin = pow(2,10) vol = 4200 #bloque funciones #programa principal elementos = [] #arreglo elementos elementos.append([150,20]) elementos.append([325,40]) elementos.append([600,50]) elementos.append([805,36]) elementos.append([430,25]) elementos.append([1200,64]) elementos.append([770,54]...
[ "nicocda09@gmail.com" ]
nicocda09@gmail.com
13e5ba9b8d998a38efa9d776b849c1ff0be5f326
9cfb0575b962e5132d63a48b0b48813dcfb1a478
/project/urls.py
6ff7e639ed5de6b7bf755f12d8f2a81a2ab6efa8
[]
no_license
CesarAugusto88/Django_CRUD_confirm_delete
c87ad03b3a1c40d99c2d92eb5aef2f3cf5e74c46
9cd391c48cbd6d79b45830f9ead25542edc9858e
refs/heads/master
2021-04-24T05:38:00.929525
2020-03-25T20:45:26
2020-03-25T20:45:26
250,085,958
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-based...
[ "cesarcosta.augustos@gmail.com" ]
cesarcosta.augustos@gmail.com
4c2eb9b33282c9d82b39003190a73f99d017c113
9405aa570ede31a9b11ce07c0da69a2c73ab0570
/aliyun-python-sdk-jaq/aliyunsdkjaq/request/v20160412/ScanMalwareRequest.py
22d33711640845bbae4e9f3f05704d6c77572d61
[ "Apache-2.0" ]
permissive
liumihust/aliyun-openapi-python-sdk
7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b
c7b5dd4befae4b9c59181654289f9272531207ef
refs/heads/master
2020-09-25T12:10:14.245354
2019-12-04T14:43:27
2019-12-04T14:43:27
226,002,339
1
0
NOASSERTION
2019-12-05T02:50:35
2019-12-05T02:50:34
null
UTF-8
Python
false
false
1,280
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...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
c0beafcfbfc378330072afa93b4b58185ae85f58
1cbce4c2882d05a011defaeb529b1e10c08be123
/src/earlyWarningControlRadar.py
af85f44ad97f30a6028377dc2b44d6810db49e12
[]
no_license
Ahiganbana/Datacrt
226dbcf489921b75fcc8ddb68eaeb6dff2a066ce
e63d1bb2f80395cf925dfbc309a24d9519e85e9e
refs/heads/master
2023-04-03T21:52:04.872473
2021-04-07T07:07:22
2021-04-07T07:07:22
355,443,992
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from cradar import Radar import random class EarlyWarningControlRadar(Radar): def __init__(self): super().__init__() #发射功率 平均功率 峰值功率Kw self.power = [1.2,1000000] #脉冲宽度 最小值 最大值us self.pulse_width = [0.18,0.22] #重复频率 hz self.repeat_frequency = [280,320] ...
[ "1334702974@qq.com" ]
1334702974@qq.com
3bdf599f2436dfd6a931046d3e7b1f446bb9dac2
c8265a1c81654ebe04bfd367862f824d84ced0e0
/EzziliProject/EzziliApp/admin.py
75c2b8ef8665bd8bae40cf2be417655167ba68c9
[]
no_license
temidjoy/ezziliproject
d170291008b137e21e6a4903aa2852df3f517759
351f7542ca5c2365cea87b594fa9b2d20935c722
refs/heads/master
2021-01-11T02:22:11.689076
2016-10-15T08:51:22
2016-10-15T08:51:22
70,974,258
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from django.contrib import admin from rest_framework.authtoken.models import Token from EzziliApp.models import UserCredentials, Adverts, Photo admin.site.register(UserCredentials) admin.site.register(Adverts) admin.site.register(Photo)
[ "temidjoy@gmail.com" ]
temidjoy@gmail.com
4784063552b8891dfa15292ac4f90be4091f073b
f05cfc6d845f4f6c40f4a5045391431e5f50d853
/csvDataTosqliteDB.py
722866c701c6403d1328516dcd44d1447e18b228
[]
no_license
jsdeveloper63/Python-Sqlite
6f30b11a07fed3c171666467b4fc73784d4a55bc
7131ff8746de65f9d10c2d9598f2906833e283e7
refs/heads/master
2022-10-22T06:04:03.652531
2020-06-07T11:48:36
2020-06-07T11:48:36
270,246,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import sqlite3 import csv #Create the database conn = sqlite3.connect("Electricity.db") #Cursor method is used to go through the database c = conn.cursor() #Create the table c.execute('CREATE TABLE electricity(date Real,'+ 'day INT, period Real, nswprice Real, nswdemand Real, vicpr...
[ "noreply@github.com" ]
jsdeveloper63.noreply@github.com
f9d1b3379d9d0b461788522681e120132cdd17a6
a18918bd442d02b5eff94bb768db07fd725fba68
/Lista5 AED/Questao6.py
b1734570dab94bc51009a491c6b4c59c0d56fe7a
[]
no_license
Ytr00m/Listas
15a28bd466d127227925356140004e5c4119cf6a
cb1f92e6e922169151adfc4aca6724dc7ec3dca1
refs/heads/master
2020-06-13T04:53:07.268128
2019-10-19T19:34:08
2019-10-19T19:34:08
194,542,357
0
2
null
2019-09-20T16:15:25
2019-06-30T17:20:58
Python
UTF-8
Python
false
false
705
py
print("Calculo de IMC e condição") peso = float(input("Digite seu peso: ")) altura = float(input("Digite sua altura: ")) imc = peso / (altura ** 2) if imc < 16: print("Magreza grave") elif imc > 16 and imc < 17: print("Magreza moderada") elif imc > 17 and imc < 18.5: print("Magreza leve") elif imc...
[ "noreply@github.com" ]
Ytr00m.noreply@github.com
9f4416124cf22e1bd928fc11c7e256b682fd7520
7fffc39739869f259fe2d103efa05b87739778d1
/Python/1149.py
2396c4e58a35fca7ff1885f711b8fb4acd26d436
[]
no_license
yunbinni/CodeUp
be39b3bd9fbeaa64be2a77a92918ebcc79b1799b
5cb95442edb2b766de74154e0b91e8e1c236dd13
refs/heads/main
2023-08-15T19:02:29.819912
2021-10-12T00:50:16
2021-10-12T00:50:16
366,761,440
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
a, b = map(int, input().split()) print(a if a > b else b)
[ "yunbin9049@gmail.com" ]
yunbin9049@gmail.com
f5d92be42e117209154512727fce6e1c8bd349db
5e50cb43f2dfaf9b62f7df0f313dab2d1b76fa67
/myapp/supplier/migrations/0022_auto_20210202_1353.py
2ea7507ed178a6a1b362affd8befb4f64af62237
[]
no_license
quoctruong247/django-vuejs-ecommerce
be1d884a5a8960c58da9a25d69d16ccdc7109775
3d0f115dd6bcddcc6646fe4171b5a3fc7db66c0a
refs/heads/master
2023-06-08T04:13:00.481942
2021-06-28T10:13:52
2021-06-28T10:13:52
380,987,241
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
# Generated by Django 3.1.6 on 2021-02-02 06:53 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('supplier', '0021_auto_20210202_1048'), ] operations = [ migrations.AlterField( model_name='supplier', ...
[ "quoctruong247@gmail.com" ]
quoctruong247@gmail.com
fce0c0cbd8334360a36182f7f12a1d6bf9d2bbbb
66d79b863ef112d3e93770c695751d2f70c94aa5
/pygeopressure_gui/views/well_log_view.py
49097e2b311fa64d202ac8cf8d506a05529973d4
[]
no_license
whimian/pyGeoPressure_gui
95d11edbd0589d1ef4368298dbac2abdbd76d203
a36777cf06a48eea681acc481880ee2e9309ac24
refs/heads/master
2020-03-11T22:26:56.967910
2018-05-09T08:20:48
2018-05-09T08:20:48
130,292,422
2
2
null
null
null
null
UTF-8
Python
false
false
1,505
py
# -*- coding: utf-8 -*- """ a Well log display widget based on matplotlib Created on Tue May 2nd 2018 """ from __future__ import (division, absolute_import, print_function, with_statement, unicode_literals) from future.builtins import super __author__ ="Yu Hao" from pathlib2 import Path from ...
[ "yuhao89@live.cn" ]
yuhao89@live.cn
bd5cb6723d07b84cbcc223beb808ee07e3ee73f5
a9e1220dbe8e2fda58144dbc3c1a8772c6066c20
/pipeline_2.py
5936b3253555e5d04bf9d0efe3266fcb411abb32
[]
no_license
andypayne/mldc
dc569650da23dcdaeb5c3ee36e54fce2796ca076
9961bc73d9e8fc48a3cb893dd0d9b54eec99aed1
refs/heads/master
2020-03-22T02:38:53.396487
2018-09-19T19:50:19
2018-09-19T19:50:19
139,384,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
from sklearn.pipeline import Pipeline from sklearn.linear_model import LogisticRegression from sklearn.multiclass import OneVsRestClassifier from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(sample_df[['numeric']], pd.get_dummies(sample_df['label']), random_state=...
[ "andpayne@cisco.com" ]
andpayne@cisco.com
3132b0efd69ef9cc5b03c63391cae36d41fdd27c
f7b6203364f54ce5a21e2f47816b51bfc8d7c691
/datasets/ucf101.py
aa8297ff10e98bef58035d616872f71b01b194c2
[]
no_license
ai-gzhu/IIC
b4c3feec940661cea5488e06cd545d8493f28d8f
4c2968f393b2eb642dbe75b176f13d9ee61eee67
refs/heads/master
2023-03-20T08:34:03.563910
2021-03-22T01:50:27
2021-03-22T01:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,874
py
import os import random import numpy as np import pandas as pd import torch from torch.utils.data import DataLoader, Dataset from torchvision import transforms from PIL import Image import accimage def image_to_np(image): image_np = np.empty([image.channels, image.height, image.width], dtype=np.uint...
[ "chntaoli@163.com" ]
chntaoli@163.com
cf05722248e33fbf586bbb7ba4b878a007ce9a7c
636faaed4beb4895167af387735dab71330aa14e
/members/migrations/0004_auto__add_tournament.py
0512c331bf2da9b6fb36304a2db873d618059b57
[]
no_license
ymcagodme/Judo-Tournament-Hoster
88e44b04747b858b835f49423ffac5d049862790
584b180689f42bc327e88d56e8c25dc669530d16
refs/heads/master
2020-12-24T08:41:41.219387
2016-08-19T18:25:47
2016-08-19T18:25:47
4,021,481
0
0
null
null
null
null
UTF-8
Python
false
false
7,056
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Tournament' db.create_table('members_tournament', ( ('id', self.gf('django.db.mo...
[ "ymcagodme@gmail.com" ]
ymcagodme@gmail.com
bab0eabdd6e404d5559f72242608bb5325bf40a3
bab8cf025d2efe3aac8f10a52ef1d9802940701e
/WorldForge/users/models.py
a81bda6f133e5d5966516243e07d9f2d4148b60b
[]
no_license
James-Cristini/DjangoApp
d94ee9c299e4149f6a718f9a6180ed757e32513b
434b3121c6431d3f82d91a41ebc4ef5a9506b9bc
refs/heads/master
2020-04-12T21:01:32.098955
2019-05-15T18:18:45
2019-05-15T18:18:45
162,753,230
0
0
null
null
null
null
UTF-8
Python
false
false
3,761
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.core.files.uploadedfile import SimpleUploadedFile from cStringIO import StringIO from PIL import Image import os t1_caps = { 'max_worlds': 1, 'max_tiles_per_worl...
[ "jacristi0428@gmail.com" ]
jacristi0428@gmail.com
4725750128f922528f5d4962c5aa7b27ccb0c075
8c05e897bfc9416020cf83cd42b99ce779372d6a
/devops-1/api/app/modules/raidtype.py
43f7967515f3851fb5b4eca465f8c2cd544fdcb7
[]
no_license
Frank-liang/51dev
747c82526e7ee3d7508c98a3d83aa36321dd0a53
82c81c06630b4c07706767b1b9cb407ebd8b30e2
refs/heads/master
2021-01-10T17:16:15.153997
2016-02-29T08:35:55
2016-02-29T08:35:55
52,777,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
#!/usr/bin/env python #coding:utf-8 from app.models import db, Raidtype from app.utils import check_field_exists, process_result, check_order_by, check_limit, check_output_field, check_update_params def create(**kwargs): check_field_exists(Raidtype, kwargs) record = Raidtype(**kwargs) db.session.add(record...
[ "root@ldap1.zcool.com.cn" ]
root@ldap1.zcool.com.cn
6c25b70312cc813ebe121b0b58b346855fb06c2a
4eb0455fe767163abf4a0f8b7b1acb1f772522cd
/basic-python/OOP/bedroom.py
646e66b89d0962f85559173efc01ee54c6d3b6c7
[]
no_license
mchez808/treehouse
2c88f30e1fec9aacac510b1b298ba639ef75413d
0c5f3ecea54051eefdf422a300f5e63eeaa1a966
refs/heads/master
2021-06-06T16:30:01.119123
2021-04-28T04:08:41
2021-04-28T04:08:41
157,463,845
0
1
null
2021-01-09T18:37:58
2018-11-14T00:02:53
Jupyter Notebook
UTF-8
Python
false
false
881
py
# rileywestonmiller@outlook.com class Bed: softness = ["soft", "med", "hard"] # the huge takeaway is written at bottom def __init__(self): self.is_made = True def make(self): self.is_made = True def sleep(self): self.is_made = False mybed = Bed() yourbed = Bed() print(mybe...
[ "mark.chesney@gmail.com" ]
mark.chesney@gmail.com
2292b674d56303f1c405fe6e8fd757ff063bcd65
4e3c976773526fd610d64ffb83589bccfaee5e68
/sponge-app/sponge-app-demo-service/sponge/sponge_demo_forms_library_args.py
bb2475d0c06d7040720b9ffa792fd6294790e641
[ "Apache-2.0" ]
permissive
softelnet/sponge
2313d2328953fcff49a002e727bb803757870627
7190f23ae888bbef49d0fbb85157444d6ea48bcd
refs/heads/master
2022-10-28T16:19:55.619882
2021-09-16T19:50:08
2021-09-16T19:50:08
95,256,030
10
2
Apache-2.0
2022-10-04T23:55:09
2017-06-23T20:58:49
Java
UTF-8
Python
false
false
4,364
py
""" Sponge Knowledge Base Demo Forms - Library as action arguments """ class ArgLibraryForm(Action): def onConfigure(self): self.withLabel("Library (books as arguments)") self.withArgs([ StringType("search").withNullable().withLabel("Search").withFeature("responsive", True), ...
[ "marcin.pas@softelnet.com" ]
marcin.pas@softelnet.com
c582667f996e027868058e93e1a465327d80843e
1adf5e387cb4f503e3499acbe1ef590c1813e908
/lickometeranalysis/graphAll.py
5aac05cd6510f97cd195b3e0f9460ee7f1374cae
[ "MIT" ]
permissive
sixfleury/OperantBehaviorAnalysis-Python
3be6387e15fb60006fe20819926f65c539348c5e
5502219093f73fe7d73f4f1fbd3cddd583a1d952
refs/heads/master
2023-08-14T18:09:55.961101
2021-10-13T18:17:29
2021-10-13T18:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,292
py
#!/usr/bin/env python3 import LickometerAnalysisKit import glob from sys import argv from os import path from tkinter import filedialog from tkinter import * # noqa def getFolderPath(): folder_selected = filedialog.askdirectory() folderPath.set(folder_selected) ''' This script will perform basic processing ...
[ "mitchell.spring@dartmouth.edu" ]
mitchell.spring@dartmouth.edu
65657a516327ba66697ed267dffdd49d5923454f
2372d876f11a85e604221dfa870fa36933ffaa98
/split_dimensions.py
12c4b384ceed61dd26264a6780ad39ff3ad5781f
[ "MIT" ]
permissive
jose-marquez89/power-bi-python-tools
f443564441935bba7947cc927e38d97d48e2f625
e7dae2e3d310c2ca2b04087852129996ff213d89
refs/heads/main
2023-02-26T12:00:09.323940
2021-02-02T16:56:28
2021-02-02T16:56:28
335,348,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
import pandas as pd def split_dimension(fact: pd.DataFrame, id_name: str, columns: list) -> pd.DataFrame: """ Breaks off a dimension from the fact table """ dimension = fact[columns].copy() dimension = dimension.drop_duplicates() dimension = dimension.reset_index(drop=True)...
[ "jlmarquez89@gmail.com" ]
jlmarquez89@gmail.com
72058aadb6c2b41731c339979dc8e2ceb0c22e13
e2f011c734576449f2bfbb9b2c2cfbf682fd0c13
/p0/tutorial/buyLotsOfFruit.py
64267a20f3a2292047b3fe8a264cf2123637649c
[]
no_license
xu3steve/edx_Artificial_Intelligence
5cef309d73ab5a51ea53db3f15f58364f408efee
07a007362b0b7518a267ba17fcf2fc12bb7fde1e
refs/heads/master
2021-06-09T22:10:59.831215
2016-08-12T03:20:53
2016-08-12T03:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# buyLotsOfFruit.py # ----------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berk...
[ "sabotuer99@gmail.com" ]
sabotuer99@gmail.com
c986cc28c83d58fa15ab887bc56c3e7e4dfa2122
9bf6311798f1e415c97c7de35240d891c6bb1a93
/HARM.py
9c5b1912861737f82998db53e935a338f4c4e98d
[]
no_license
UnknownUnit/HARM
7af46e7d63dc924e1e15f5bebc49bcac09ff75d8
2df1a312ee2019afc8d1ad83ae257662abc9afea
refs/heads/master
2022-11-10T00:21:58.428671
2020-06-23T01:26:33
2020-06-23T01:26:33
274,278,485
0
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
from aix360.algorithms.rbm import BooleanRuleCG from aix360.algorithms.rbm import FeatureBinarizer from ruleset import BayesianRuleSet import pandas as pd import numpy as np class HARM_BRCG(): def __init__(self, train_data, train_labels, black_box, feature_names = None): """ Uses BRCG as the interpretable classi...
[ "jason.lowjs@gmail.com" ]
jason.lowjs@gmail.com
23e5eed45b610812d58d2220e03dc3a851b8719c
3d861f5878012f9bb0a652b88ca8e8cb322b24ec
/DBpediaOTD.py
3135761dcf3fd86860eb6b99660552aca9c1dc91
[]
no_license
maxifischer/DBpediaOTD
be4739f1468289aa120af9a75ff7a96549bca597
9f6937bbcbaa12c4802a7889cec4c53250e0b6f3
refs/heads/master
2021-01-10T07:26:08.139168
2015-12-15T22:41:22
2015-12-15T22:41:22
45,856,764
0
1
null
null
null
null
UTF-8
Python
false
false
1,264
py
import webbrowser import sys import DBPedia_On_This_Day import whole_year import datetime # format should be open <name of html file> # or reload <year, month, day> def main(): new = 2 try: if "-open" in sys.argv: openind = sys.argv.index("-open") file = sys.argv[openind + 1] ...
[ "maxi.fischer@student.hpi.de" ]
maxi.fischer@student.hpi.de
420ac2e8d752bf0e1a418486fe732c605ad46a01
786d7ea33e385c3d4c1459b8e5c50fb6ce82fa18
/leetCode/minSubStringWithAllChar.py
9a9cd87a058b1d4484e7dff3f90e6de7add33873
[]
no_license
songtoan0201/algorithm
2e695006c7c56945d248fc33a46e63c9493a51af
9b108777cde4924ebacca1499fd02ddf4a3a0673
refs/heads/master
2020-12-01T15:49:42.671640
2020-03-21T23:29:53
2020-03-21T23:29:53
230,688,487
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
def minSubstringWithAllChars(s, t): result = [] for i in range(len(s)): if s[i] in t: coll = set() for j in range(i, len(s)): if s[j] in t: coll.add(s[j]) if len(coll) == len(t): result.append(s[i:j+1...
[ "38516119+songtoan0201@users.noreply.github.com" ]
38516119+songtoan0201@users.noreply.github.com
2323775c17ea778091b3887278f3181c41685b83
7a81fc8259b86984c8cff9a77479108f4d13ae50
/piloting_core/script/bag_visual.py
20dd8cdae9f5bfed0356c577322fae550ae0009f
[]
no_license
alfalcmar/piloting
2dfd0ca5d07ce489b230bfe4dec87201b16c66e8
3791b23de569181803145cb3d89eb6335c77d543
refs/heads/master
2023-01-28T14:08:03.782757
2020-12-09T16:47:59
2020-12-09T16:47:59
293,564,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
#!/usr/bin/env python import rospy # from uav_abstraction_layer.srv import TakeOff, Land from geometry_msgs.msg import Twist, TwistStamped, PoseStamped from nav_msgs.msg import Odometry rospy.init_node('bag_visualizer', anonymous=True) def cam1_pose_callback(data): data.header.frame_id = 'cam1_odom_frame' ca...
[ "a.alcantara.marin@gmail.com" ]
a.alcantara.marin@gmail.com
7af57a4dd70f7a9cde6ca5ae074f3d75c585b917
176481563e0978340c737f61a4f85203ebb65c0b
/ptsites/sites/hdhome.py
f44a99bb7c69afa0dd0174e5d8ff0e93ad0ddf06
[ "MIT" ]
permissive
ronioncloud/flexget_qbittorrent_mod
328bd6448e6908bfb8d953e83e826ee8e966eee6
a163a87328eeadf5ae961db4aec89f3f3ce48ad8
refs/heads/master
2023-01-20T03:43:07.664080
2020-11-21T10:28:13
2020-11-21T10:28:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from ..schema.site_base import SiteBase from ..schema.nexusphp import NexusPHP # auto_sign_in URL = 'https://hdhome.org/attendance.php' SUCCEED_REGEX = '这是您的第 .* 次签到,已连续签到 .* 天,本次签到获得 .* 个魔力值。|您今天已经签到过了,请勿重复刷新。' # html_rss ROOT_ELEMENT_SELECTOR = '#torrenttable > tbody > tr:not(:first-child)' FIELDS = { 'title': ...
[ "12468675@qq.com" ]
12468675@qq.com
f0d75caf508473620fbb5ffb927433b8538c3649
f223caf56eafb20c7a9c4575b9da7eff69f720b1
/main.py
e9a04c88242cae148c9f70b38e0fc89ad68de60e
[]
no_license
hsulin0806/object_detection
a3276614ce1ca7b1d827c00c23f27241ce4f828a
55c13d6ad368fcb82c8c3f251c0d00f0a4adc55b
refs/heads/master
2020-08-05T09:50:11.148158
2019-04-16T04:57:55
2019-04-16T04:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,407
py
from __future__ import print_function import sys import os from argparse import ArgumentParser import cv2 import time import logging as log import numpy as np import io import detect as dt from openvino.inference_engine import IENetwork, IEPlugin from pathlib import Path sys.path.insert(0, str(Path().resolve().parent.p...
[ "ami.avirup17@gmail.com" ]
ami.avirup17@gmail.com
0bf3352aafe2acaa51d09f6ad7541379307b3a17
c57fafec01722ec320286fe883cc7c649c9efcf6
/script/data_iterator.py
dfcdb155d8729b65503fe16a9a9fbac63a31b1d7
[]
no_license
alibaba/deep-multi-representational-item-network
3d56fb6dcc28068f397e1803b89e648a80143958
fd59546b0aa128d465ea1937b746c0655730af84
refs/heads/master
2023-08-01T20:48:32.255883
2021-09-15T11:09:08
2021-09-15T11:09:08
403,825,779
8
6
null
null
null
null
UTF-8
Python
false
false
8,527
py
import numpy import json import cPickle as pkl import random import numpy as np import gzip import shuffle def unicode_to_utf8(d): return dict((key.encode("UTF-8"), value) for (key,value) in d.items()) def load_dict(filename): try: with open(filename, 'rb') as f: return unicode_to_utf8...
[ "jihai.zjh@alibaba-inc.com" ]
jihai.zjh@alibaba-inc.com
1c0f1e0e7306d6a858c5c0b2bd6f31cb6f54dd96
f9a057d2ecf3c65e357a253d9eef3bdfdb67bce1
/data_modeling_with_postgres/etl.py
7d04412f2de2d0cd136852bb6fdea7e4ec68b941
[]
no_license
deely3/udacity-data-engineering
aa42102208876d016266c29078e26413b75c8258
f73983694f2bc02f4959d0db94f493422578e49f
refs/heads/main
2023-09-02T11:14:02.964620
2021-11-21T14:47:45
2021-11-21T14:47:45
429,580,443
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
import os import glob import psycopg2 import pandas as pd from sql_queries import * def process_song_file(cur, filepath): """ - Reads in song file data. - Inserts song and artist records into the database. """ # open song file df = pd.read_json(filepath, lines=True) # insert song rec...
[ "noreply@github.com" ]
deely3.noreply@github.com
e67d827d78bf3ec395e89c8ead846c2e053301fc
a49cc6ae5acfe1d9c16a0fa488fec9f2eeca173e
/portfolio/jobs/admin.py
86973ca118f3e51088de1fff8fd85c0e941d94be
[]
no_license
Aaliyan00/aaliyan-portfolio-web
8010d03bc3eb151cede9df7d996d8ed95b12a591
4826ec3759f3e8dd5b349ecf9ed4075534e6f1d5
refs/heads/master
2023-06-13T02:21:13.751743
2021-06-26T18:31:52
2021-06-26T18:31:52
380,803,427
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from django.contrib import admin from.models import Job # Register your models here. admin.site.register(Job)
[ "aaliyankhancoolbuddy@gmail.com" ]
aaliyankhancoolbuddy@gmail.com
48cf24d2660484608ab2a4153721faff3b921745
61673ab9a42f7151de7337608c442fa6247f13bb
/tkinter/minimize - iconify/main.py
5f35a5d61c37b30d04da61f12bdcb2aa2ff74595
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
648
py
#!/usr/bin/env python3 # date: 2020.06.27 import tkinter as tk root = tk.Tk() # button [X] minimize (iconify) the main window root.protocol("WM_DELETE_WINDOW", root.iconify) # key ESC minimize (iconify) the main window #root.bind('<Escape>', lambda event: root.destroy()) root.bind('<Escape>', lambda event: root.i...
[ "furas@tlen.pl" ]
furas@tlen.pl
a5b850970bcacd256bfd13be328ef449c548dc69
60972b7f8c1ff23fbc8f2710653c4a2e3ef2c627
/posts.py
de22942f572ef1d97b34939db3af5d2c58e772c6
[]
no_license
Gbillington1/flask-blog-practice
2bb6c485c30d76f7dd91d2aa2604c63516aabf92
f4af0cade26fd92139b8c3067f03badb5c6af419
refs/heads/master
2023-06-17T05:40:52.631609
2021-07-10T18:23:43
2021-07-10T18:23:43
384,752,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
posts = [ { 'author': 'Graham Billington', 'title': 'My First Post!', 'content': [ 'This is my first paragraph on my first post! Isn\'t this so cool! I don\'t really know what I\'m going to be talking about but I\'m still posting! On to the next paragraph.', ...
[ "graahamhbillington@gmail.com" ]
graahamhbillington@gmail.com
945d269ec640ac2c351e1a48ad4fecfd7de20f99
52c4effed855276d35b90dc357bd581d14bfd75a
/src/stories/tests/instagram.py
96bcffcb491736598e73bc27ffdb579f62298cbc
[ "MIT" ]
permissive
unb-cic-esw/instagram-data-monitor
de293a623fa5dd0965f31e76c801dd969b5cc794
cbf452a825d616a4ef8d9e8abfca5220fb14962f
refs/heads/master
2021-04-12T09:41:59.358978
2018-06-26T21:49:53
2018-06-26T21:49:53
126,332,514
4
3
MIT
2018-06-26T03:18:54
2018-03-22T12:33:36
Python
UTF-8
Python
false
false
13,013
py
#!/usr/bin/python # -*- coding: utf-8 -*- import argparse import codecs import configparser import errno import glob from operator import itemgetter import json import logging.config import hashlib import os import re import sys import textwrap import time try: from urllib.parse import urlparse except ImportError...
[ "dougbraga00@hotmail.com" ]
dougbraga00@hotmail.com
eee84b835b4bb691bc922942e4d6e792138a170e
18fa0ad57cd9c26bc2622ead61b88c81e017e2e8
/kits/task_master.py
3452c834c4cdd786cd94314026e08537c0677050
[]
no_license
weihhh/ECG_pro
45da18fad4709009cd4766a870fac7c5d5514a92
1e013cbb7352ad896661412f036fd9c6242a6001
refs/heads/master
2021-05-04T13:52:17.259815
2018-07-20T02:39:16
2018-07-20T02:39:16
120,323,445
2
4
null
null
null
null
UTF-8
Python
false
false
1,361
py
# task_master.py import random, time, queue from multiprocessing.managers import BaseManager # 发送任务的队列: task_queue = queue.Queue() # 接收结果的队列: result_queue = queue.Queue() # 从BaseManager继承的QueueManager: class QueueManager(BaseManager): pass def return_task_queue(): global task_queue return task_queue d...
[ "wz591757596@163.com" ]
wz591757596@163.com
449214f85d823cff7628ceccb4fdfc53719413a7
a4d617365f582788d1bf7e880f9069849d9b1d07
/manage.py
1db2a8811d80aec53636adb563514ece511fe2c0
[]
no_license
mesmerx/plotgrafgmauff
f041bea442f2ced0cc90b29621e54064ce58a39b
5c8080a90ab75262e4ab75c6db1e8c7190a9ed5d
refs/heads/master
2020-12-11T02:03:51.510347
2017-11-01T00:21:53
2017-11-01T00:21:53
58,832,985
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "plotgrafgmauff.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "mesmer@fisica.if.uff.br" ]
mesmer@fisica.if.uff.br
a923205ba1d7c77169199e2c05f877f3807c6a9f
9f95763c1eb350bac79dbb8eed2cac5b41928e93
/1132.py
2ed33b190d78b54aa7be4e176ca5189e7b178498
[]
no_license
kakidiakoafonso/urionlinejudge
536addd87a1c2b5e8a4e16bead2d47bacd3d58ef
ac29bf9c8c05b71b2f52abd1fe35d83a0cf11104
refs/heads/main
2023-03-12T08:19:44.223584
2021-02-27T17:51:28
2021-02-27T17:51:28
324,781,044
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
x,y = int(input()),int(input()) soma = 0 if(x>y): x,y = y,x for i in range(x,(y+1)): if not(((i%13)==0)): soma += i print(soma)
[ "kakidiakoafonso@gmail.com" ]
kakidiakoafonso@gmail.com
b7c2d7e09b1b7e8e2542b52471398cd4f2f05dc5
67935be7517d3c0215025dad6680fb9436c53330
/test_executor/settings.py
1b695ec3f612f3d5e017956efc620fbc2356af10
[]
no_license
23rdPro/Test-Executor
189ec3e8ace103a8cf90b5ea524ccbebe98317e4
6aedc7776461a0d1bce250763aee05bed4877f7f
refs/heads/master
2023-04-30T05:22:34.798708
2021-05-19T16:22:40
2021-05-19T16:22:40
368,929,821
1
0
null
null
null
null
UTF-8
Python
false
false
6,945
py
import os import sys from datetime import timedelta from pathlib import Path import celery import environ from django.contrib.messages import constants as messages MESSAGE_LEVEL = messages.DEBUG MESSAGE_TAGS = { messages.DEBUG: 'alert-info', messages.INFO: 'alert-info', messages.SUCCESS: 'alert-success',...
[ "mailolumide@gmail.com" ]
mailolumide@gmail.com
a2bd0e9dc99c1faf53437fb4076d01fd4561fe8c
62bbfb6c50bba16304202aea96d1de4990f95e04
/dependencies/pulumi_aws/ssm/maintenance_window_target.py
27e01ee014ac88dc17d6881ab9cdc5a010ea8e33
[]
no_license
adriell/lambda-autoservico-storagegateway
b40b8717c8de076e61bbd422461c7d624a0d2273
f6e3dea61b004b73943a5438c658d3f019f106f7
refs/heads/main
2023-03-16T14:41:16.821675
2021-03-11T03:30:33
2021-03-11T03:30:33
345,865,704
0
1
null
null
null
null
UTF-8
Python
false
false
10,674
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
[ "adriel@infoway-pi.com.br" ]
adriel@infoway-pi.com.br
01ef591e939e1957ca428570b792b4f0d1913223
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/bgp/peeropenhist1d.py
a70f146b1976cbe24363ebda9c25b83c7b20cf50
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
33,768
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
60f7b577e2273cc8a391beff5747fcc9419b25f4
33c1e2381cb00f8a34bc14b71dd8adcd3b779875
/status/forms.py
030c3cd5077258a1cf8602d9c678e2adc90d401f
[]
no_license
BDGabe/Ampath-Summer-2020
429ef00ac74b30751d5c34fd3f003463411461aa
a70c9224d901556eb87de51bcc07db3a44e304b8
refs/heads/master
2022-11-10T00:48:57.405201
2020-06-22T15:15:53
2020-06-22T15:15:53
271,854,905
0
0
null
2020-06-12T17:30:59
2020-06-12T17:30:58
null
UTF-8
Python
false
false
19,677
py
import secrets from django import forms from django.core.exceptions import ValidationError from validate_email import validate_email from status.mail_sender import MailSender from .models import EmailDomain from .models import Region from .models import Service from .models import SubService from .models import Subsc...
[ "fpaul787@gmail.com" ]
fpaul787@gmail.com
7b02be135bb7cd1c50578c242919e30865e8ccb5
191a7f83d964f74a2b3c7faeb4fc47d9c63d521f
/.history/main_20210523152024.py
f07a1738d818cc8037a69010ee1541519e6e81c2
[]
no_license
AndreLiu1225/Kinder-Values-Survey
2a317feee8d5b17c27da2b2116742656e35d8ab9
090c27da0c822abb7dfc0ec6e13ae1b3dcb7bbf3
refs/heads/master
2023-05-03T00:26:00.481423
2021-06-04T03:24:19
2021-06-04T03:24:19
371,989,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
from flask import Flask, render_template, redirect, url_for from flask_wtf import FlaskForm from wtforms import StringField, TextField, SubmitField, IntegerField, SelectField, RadioField from wtforms.validators import DataRequired, Email, EqualTo, Length, ValidationError app = Flask(__name__) app.config['SECRET_KEY'] ...
[ "andreliu2004@gmail.com" ]
andreliu2004@gmail.com
ae20062f09bc984c74fb6e1f44e7d679071a5802
5bae5c344068077c6b1a0fb5b21da3a68040710f
/1027_피보나치수.py
690283be7b9f772054d4c373a54b899fc1be01ed
[]
no_license
AlgorithmOnline/suzy
9328750679b8ec46450d4f1ddfa001927d6b072c
78f936cafb3d91028bb38deb99d19da465e9b83f
refs/heads/master
2023-01-10T09:20:18.004466
2020-11-11T10:56:32
2020-11-11T10:56:32
290,411,686
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
def solution(n): memoi=[0 for i in range(n+1)] memoi[1]=1 for i in range(2,n+1): memoi[i]=(memoi[i-1]+memoi[i-2])%1234567 return memoi[n]
[ "noreply@github.com" ]
AlgorithmOnline.noreply@github.com
e3683719167355f156e4c8ca25cbd8be6390188c
c93612ab7a9af2f843b3ae44207cd23100849e51
/libraries/partition_quality-master/test/quality_test.py
f705d68c1529aa0583c392dcdbedb9f3b48cccdc
[ "BSD-2-Clause" ]
permissive
andrematt/ars-musicians-project
569f023ef7f10d99f7f07356d87064b234e85b43
c403cb25bff039e55313c23aa87ad050740102c0
refs/heads/master
2020-03-18T09:14:45.611786
2018-06-15T18:35:56
2018-06-15T18:35:56
134,552,898
2
0
null
null
null
null
UTF-8
Python
false
false
440
py
import unittest import demon as d from pquality.PartitionQuality import pquality_summary import networkx as nx class QualityTestCase(unittest.TestCase): def test_quality_functions(self): g = nx.karate_club_graph() D = d.Demon(graph=g, epsilon=0.3) coms = D.execute() res = pquality...
[ "andrea.num56@gmail.com" ]
andrea.num56@gmail.com
8f90fe5ace2a54ce8f5732c48fb0bfa6f1957cb3
a2b79cdd215118a743fdc336b29363da8e2abde9
/database.py
3c69121e6864a50e20c623ac922d714d04de0a02
[]
no_license
mkhan45/1984
c885442863156334f4535778ec326afcd05b3d5c
7195690602ebf17c3cea99197f03894418a1ed2c
refs/heads/master
2020-06-22T05:21:13.527403
2019-07-21T23:40:59
2019-07-21T23:40:59
197,643,665
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
from collections import defaultdict import pickle from pathlib import Path def create_or_reset(databasepath): ''' Resets or creates given descriptor database Parameters: --------------- databasepath: Path object Returns: --------------- None ''' dict1 = dict() ...
[ "cjj9000@gmail.com" ]
cjj9000@gmail.com
4b0934f25e5944462899f1f81ed693f2cde30a61
b19e523dd358c240085ca98fca1048d3ee878501
/e_commerce/Login_API/views.py
96a42eae017f945ed51b5e3aa62fe0cc1daca911
[]
no_license
pawel-zielinski/e-commerce
760e5ef896a9b6ba841fd84b745e2c73bc337827
6e056d8bcca447666eb92361a8b92831c2a9d83d
refs/heads/master
2023-04-30T10:51:22.372619
2021-05-19T17:38:54
2021-05-19T17:38:54
366,401,097
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
from django.shortcuts import render, HttpResponseRedirect from django.urls import reverse from django.http import HttpResponse from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.decorators import login_required from django.contrib.auth import login, logout, authenticate from Login_API.m...
[ "pawelzet00.pz@gmail.com" ]
pawelzet00.pz@gmail.com
c4e9d374b2b64fe6151bcf76dc53a69506ff6603
08419ac699b24a37e69392120f60a04826551128
/limpia.py
4d428f4ad1308dc7b9e1e62e5ca962cd5c942127
[]
no_license
EskerOn/RIParcial1
f8cfc958fe6aebcf952c89c522a4de5dd33737a0
61e7ae07f038e7ba16b932e4a680770a49a100bb
refs/heads/main
2023-03-22T14:47:54.128110
2021-03-18T15:45:34
2021-03-18T15:45:34
348,984,491
0
0
null
null
null
null
UTF-8
Python
false
false
9,252
py
#import fun import os import nltk from nltk.stem import WordNetLemmatizer from nltk.corpus import wordnet def sinStop(array): arr=[] for i in range(len(array)): if array[i] in stpwordsen: continue else: arr.append(array[i]) return arr def Convert(string): li = l...
[ "noreply@github.com" ]
EskerOn.noreply@github.com
920efb140479f761779c298aeeec6ec404e14aef
bc63d13ef695ed8ffc487481fd22ec2b9ccdd0ba
/codes/flood_detection/ndfi.py
98e1303d0f0e1f4341b61aeff7db33a90736f282
[]
no_license
caglayantuna/phd_codes
66fbb0c82a9a34524711b8628744c12c9f4619b3
5f64190931219897ed2a0eda901f6a4c4dd3fc55
refs/heads/main
2023-03-03T21:45:03.269346
2021-02-18T10:26:00
2021-02-18T10:26:00
340,012,450
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 12 22:28:36 2019 @author: caglayantuna """ import numpy as np import matplotlib.pyplot as plt from scipy.misc import imsave from functions.project_functions import * def data_prepare(Image): imarray=geoImToArray(Image) imarray=np.where(im...
[ "noreply@github.com" ]
caglayantuna.noreply@github.com
89c75a5b08973ce06293adf81ca6a7bad88bb117
26907a78e55f4436cfcf2b0a18935d79dcc50c2f
/2020/test_09.py
61445ed200f90245770d9259e719e22a8ec6f216
[]
no_license
singingknight/adventOfCode
7f55d9b06c48fa75c7558d4ed2256e841858bf6f
13d3ffb95d4a2e2c2269a95b1cb8a27b2ac3e3b3
refs/heads/master
2022-11-30T19:21:32.212258
2020-12-25T11:15:54
2020-12-25T11:15:54
225,067,214
0
1
null
2022-11-10T08:12:32
2019-11-30T20:39:36
TypeScript
UTF-8
Python
false
false
290
py
from day09 import checkXMAS, findRange lines = [ '35', '20', '15', '25', '47', '40', '62', '55', '65', '95', '102', '117', '150', '182', '127', '219', '299', '277', '309', '576' ] def test_part1(): assert(checkXMAS(lines, 5) == 127) def test_part2(): assert(findRange(lines, 5) == 62)
[ "pja@siteimprove.com" ]
pja@siteimprove.com
fe87efcb60bb503982fd20c1b87a168fdc54aab2
5cab42018756ef46ddba425d648d1362b589dbff
/group_feed/api/serializers.py
c9f1d29bbb513cf9db4b32bbbbe0b2a1079bff45
[]
no_license
adamgrossman/peer_feed
9173d651355a435caa0395d37ab7ba0ab82a15f7
e7c38e9d9ecdb5a0aead3e3aca8348277b256a38
refs/heads/master
2016-09-05T10:47:32.748179
2015-01-15T23:59:25
2015-01-15T23:59:25
26,848,120
0
0
null
null
null
null
UTF-8
Python
false
false
3,888
py
from rest_framework import serializers from group_feed.models import Member, Group, Link, Comment, Tag, Vote class MemberSerializer(serializers.ModelSerializer): starred_links = serializers.SerializerMethodField('get_starred') groups = serializers.SerializerMethodField('get_groups') posted_links = seriali...
[ "Adam@Adams-MacBook-Pro.local" ]
Adam@Adams-MacBook-Pro.local
0fb99bdf78ea1d0d34ecf8eca5d4380201fcefe7
6d0a35ddf9b8fb0e663dceafb95ce0d957214f41
/Main.py
5fc454cd29c646a22112ca01a849de2a104f2686
[]
no_license
BigZ93/SPAM
fd2d4235e87f35d0f460f9a28483c8e7ee90a3d8
93c1ea1311179e120b4a57162f3e539bf6316707
refs/heads/master
2020-05-30T16:03:54.955134
2019-06-05T13:15:35
2019-06-05T13:15:35
189,837,589
0
0
null
null
null
null
UTF-8
Python
false
false
7,390
py
import numpy as np import matplotlib as mpl import pandas as pd import random import itertools def spam(data, minSup, frequentItems): F = frequentItems for i in range(0, len(F)):#len(F) s = F[i] pat = [] pat.append(s) e = [] for j in range(i+1, len(F)): e.ap...
[ "michal.t3@op.pl" ]
michal.t3@op.pl
19ea3d5a6b64029625bb3e90f7313205946a7c8b
409be6f42209f355cf4412b42381f262d35bd65a
/introNeural/firstNeural.py
6c53a307144a01397bc629b3f98e10dbf7819bd9
[]
no_license
tbashiyy/zeroDeepLearning
e59a92b5895ab7077bb8fad2a300f363995ee9c9
4149d31c6058023a310f8953f84a8d7b4db859d6
refs/heads/master
2020-09-16T07:20:23.730498
2019-12-17T14:45:32
2019-12-17T14:45:32
223,695,661
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import sys sys.path.append('/Users/yanagibashitomoya/Documents/private/dev/ZeroDeepLearning/modules') import numpy as np import matplotlib.pyplot as plt import activationFunc X = np.array([1.0,0.5]) W1 = np.array([[0.1,0.3,0.5],[0.2,0.4,0.6]]) B1 = np.array([0.1,0.2,0.3]) A1 = np.dot(X, W1) + B1 print(A1) Z1 = activ...
[ "t.bashiyy@gmail.com" ]
t.bashiyy@gmail.com
6dc4cbb3b8c0dcba1c569752bf62f97e60a30220
7d133a22d97c6ea119f4e67baf425606fb76cd19
/test_10_11/test2.py
1ba1fd95ae01d894243c24efbbe282b90c942786
[]
no_license
ChengCuotuo/learnpython
502c3d24387bd24402187bb2c519c4ed7dbbcbf3
c7f6194d70b2e85bbb8df3fb57b235d526192eb4
refs/heads/master
2020-05-19T12:33:04.748923
2019-06-20T14:45:26
2019-06-20T14:45:29
185,017,235
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!user/bin/python #-*-coding:utf-8-*- ''' 编写人:王春雷 时间:2019.9.13 功能:面积 ''' import math def circleArea(r): if isinstance(r, (int, float)): return r * r * math.pi else : print('数据类型错误') area_circle = circleArea(1.5) print('半径为1.5的圆的面积是: ', end='') print(area_circle) def triangleArea(a, b): i...
[ "lei021191@outlook.com" ]
lei021191@outlook.com
fe90e7dd8c2bca31851387ad0fb012a04037c2c7
b2f5a16788680038a0a7b812690e3797135cc9dc
/bin/epylint
6ab9e1a63207557d3037c6033062a148d26243f9
[]
no_license
younganakin/python-interview
068b3f7eccff676aaf33f74f0fc2349f24faae23
9660db29ff2663e53a03ca039a2de48ec090e495
refs/heads/master
2020-03-27T10:26:49.640643
2018-08-28T11:27:15
2018-08-28T11:27:15
146,420,775
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/home/joe/python-interview/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "joenjuguna53@gmail.com" ]
joenjuguna53@gmail.com
4980d71d839d70281956181f3c5046563454bb3b
0c5823cd70b700f250d2cc54678f4259594bb42a
/djlevel5/settings.py
a48c136ab4e24282fc2ee70144b1507379e42d08
[]
no_license
Vikram2212/djangolevel5
ca9b34137fc62046e30f68403cf46b905f01f9eb
202cffaaefc1fa134567b4b6051bc77a2e160288
refs/heads/master
2022-11-21T05:38:24.414944
2020-07-28T14:44:52
2020-07-28T14:44:52
283,241,151
0
0
null
null
null
null
UTF-8
Python
false
false
3,700
py
""" Django settings for djlevel5 project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "vikram.c.2212@gmail.com" ]
vikram.c.2212@gmail.com
2b16bf1e1c27218d74a0d3bec0ddccb922edb9da
6ccdc8553f12f153cb1b28d195cb57c6552a42ea
/src/correlations_example.py
06a5f243774a155cddecb80dc537a599a5d0ee3d
[]
no_license
cavallo5/MLlib_Apache_Spark
c0c2b3e015b73966e9176ff1e7a3e6454b2713f5
9c4f9c264dc42f0e2d25be8a4959b2b2c1ea4961
refs/heads/master
2023-04-08T03:10:01.175464
2021-04-15T09:14:50
2021-04-15T09:14:50
245,622,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
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 us...
[ "vincenzocavallo.ing@gmail.com" ]
vincenzocavallo.ing@gmail.com
a5eaaa663c5c45d712b20c8e4ece25b254f4a3c5
cb351f45fd126d1ba19d03188a7dde2be2cf660d
/hackathon/dashboard/urls.py
da1ecc1df6571607f2a2f5a7afe8f8b2284b9033
[]
no_license
blueapple128/fun
e1e4b47e6ad91ee1e51f91e75f4313b3109c00a0
ba762d9ef75fb7a12c4e0880e84f209b3b2c2d43
refs/heads/master
2022-05-21T06:57:00.133664
2022-05-01T10:00:00
2022-05-01T10:01:13
89,115,810
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.dashboard, name='dashboard'), url(r'^(?P<id>[0-9]+)/$', views.info, name='info'), url(r'^placeholder/$', views.placeholder, name='placeholder'), ]
[ "ddr42@cornell.edu" ]
ddr42@cornell.edu
db8852e97a84ec3b82a475d373f8534393934a78
2f18bb2c2012c3b8cb091a4b7f02932e2fb7a5c6
/examples/gnn_models/han.py
df79bc8a89c574549e8245ff750238014d6f5e7c
[ "MIT" ]
permissive
AlvinWen428/cogdl
1760d34511537228b60505b1334f91c4b343652d
aec4ec19961e9fe0ddbd4fd9e1367c8808057296
refs/heads/master
2023-02-02T17:59:02.072061
2020-12-20T14:01:21
2020-12-20T14:01:21
317,084,781
0
0
MIT
2020-12-03T08:48:49
2020-11-30T01:58:13
null
UTF-8
Python
false
false
1,789
py
import torch from cogdl.datasets import build_dataset from cogdl.tasks import build_task from cogdl.utils import build_args_from_dict, print_result, set_random_seed DATASET_REGISTRY = {} def build_default_args_for_heterogeneous_node_classification(dataset): cpu = not torch.cuda.is_available() args = { ...
[ "noreply@github.com" ]
AlvinWen428.noreply@github.com
e4bb7424780c2769bf6f9f3efcf9acf8a6e51758
a032b35ca7be43204f769556000446392202a98b
/Assignment 14/hw14_evaluate.py
b0fe7f9b83c36ebdd87e2f831149d06b3af73951
[]
no_license
aarondwilliams/Textual-Analysis
7a763e2b5a7c3de15bad6f5f14cbad34d4bdb7f8
b9043f23154f16b5acdd190e7bb9f75d6aa7f9cc
refs/heads/master
2020-04-02T11:09:41.877622
2019-02-22T15:04:14
2019-02-22T15:04:14
154,373,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,792
py
import numpy as np from hw13_solution import RNN from hw14_solution import spec ENCODINGS = { 'he': np.array([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 'she': np.array([0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 'is': np.array([0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 'and': np.array([0, 0, 0, 1, 0, 0, 0,...
[ "noreply@github.com" ]
aarondwilliams.noreply@github.com
c5db5e9a46da2677cec51806f99dd2bb3a96b688
e3a246d6d0b86dff749b23ab6f647d77007b578f
/basic_approach.py
1ee91b045c289cf84f2540ea6d0156d9f5a87177
[]
no_license
Harshiitrpr/GRS
5a325c785005cd1cf6c2129b02614a91939bf9cf
d018dbe16f2b194947083e9be61aa4e2509f7874
refs/heads/master
2023-06-14T04:04:57.044109
2021-07-13T18:26:18
2021-07-13T18:26:18
303,085,955
2
1
null
null
null
null
UTF-8
Python
false
false
1,834
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.chrome.options import Options from selenium.common.exceptions import NoSuchElementException from sel...
[ "2019csb1089@iitrpr.ac.in" ]
2019csb1089@iitrpr.ac.in
15483a800a815d17df17ab3227c43bfb93b5d732
ba60d5f56a7b4060fde6abd051df05bbb47de0c5
/Excel/findwav.py
efc4f412437687b3dcbc1e2c7412d550390a909b
[]
no_license
zhb45665/pythonwin32
90d30e376e6d1e97d7a921fe00ebfc0f26771548
9ae6d89b14c5f614331d13de1c09eec6823a3506
refs/heads/master
2020-06-17T06:31:39.592054
2016-11-29T02:08:59
2016-11-29T02:08:59
75,033,309
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
#!/bin/python # -*- coding:utf-8 -*- ''' Created on 2016年11月10日 @author: zhb ''' import os import os.path import shutil rootdir = "E:/平安录音/2013/record_pingan_13/" path = "E:/平安录音/2013/2013/" for parent,dirnames,filenames in os.walk(rootdir): for dirname in dirnames: print("parent is:%s" % pa...
[ "zhb@DESKTOP-6SS3PMQ" ]
zhb@DESKTOP-6SS3PMQ
5f9fff156d4daf696b96e514c1bbd240d1355ce0
03f2bff4a83ea80d3a6a7515ec4c742f7e7aabeb
/grokapi/__init__.py
845b47f04aa25dfe98f53f4857049be3bcc1bac1
[ "MIT" ]
permissive
Commonists/Grokapi
f1927af034b3388da9264fc1627283ba63cb88e4
f9ff0a762b8d52719a6a5d1bb4dba7fc1c5ac88f
refs/heads/master
2016-08-13T01:45:34.497771
2015-06-01T11:04:10
2015-06-01T11:04:10
36,179,571
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
"""Client wrapper around stats.grok.se.""" __version__ = 0.1
[ "JeanFred@github" ]
JeanFred@github
2b66dda31b7a65068cf254a6362e7a1a4a99bad5
8c3c4ae075c2afe5f0dcb7125f383ce4fcbaa640
/apirest/folders/views.py
0635a47350cf958566778bf8237ff09bcf648a34
[]
no_license
luisgilsan/awsApirest
302d29ea756a05285cc51d2eea9a6c2a52c2a27d
5e6356f8e23b07ed2fe1c80645c30cbd490bc9ff
refs/heads/master
2023-06-19T07:52:12.863540
2021-07-17T22:11:49
2021-07-17T22:11:49
386,933,956
0
0
null
null
null
null
UTF-8
Python
false
false
4,245
py
from rest_framework.response import Response from rest_framework.views import APIView from django.shortcuts import render from rest_framework import viewsets from rest_framework import status from django.db.models import Sum,Count from django.db.models import Q from rest_framework_api_key.models import APIKey from rest...
[ "luisgilsan_007@hotmail.com" ]
luisgilsan_007@hotmail.com
ea444094ecee42f03ba87da918a1f7d6052c9143
2baeda13901fe6a435639b9a69e2b9906694d481
/tools/tcp_socket_server.py
23a3a156cb22778f29f45a907d2add21dc646953
[]
no_license
Newbwen/demo
689aec909e941adc755ec9eb92c6b12843314917
c00023ae1ed04f915c5bdb532431cdf43974a6d2
refs/heads/master
2023-06-14T07:52:47.959731
2021-07-12T06:57:31
2021-07-12T06:57:31
385,095,768
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
#!/usr/bin/env python # encoding: utf-8 """ @author: liubowen @contact: 15178940382@163.com @site: http://www.liubowen.icu/ @file: tcp_socket_server.py @time: 2021/7/12 10:53 """ import socket import threading def handle_sock(sock, addr): while True: try: data = sock.recv(1024) m...
[ "yuanguotao@jinqigroup.com" ]
yuanguotao@jinqigroup.com
f7c7784499d50c998e032726f7ecdfd6e99ec1e6
4b396415a812a0114ef39038fda61dbf671a9253
/mental-math.py
66760e4edc7f7398a5c5b77d2d9aa9d6d480640c
[]
no_license
jianli/mental-math
e73d153b44d8fa0cc5eb548b21af702001f35f14
ef03fd41dd35c946fc6b230f760d38ee17d44258
refs/heads/master
2021-01-19T11:37:27.167367
2013-01-12T22:38:32
2013-01-12T22:40:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,059
py
""" Deliberately inefficient arithmetic using naive mental heuristics. So far, only multiplication is implemented """ from __future__ import division import itertools multiplication_table = {} for i, j in itertools.product(range(1, 13), range(1, 13)): multiplication_table[i, j] = i * j def is_power_of_ten(x):...
[ "jian@jianli.us" ]
jian@jianli.us
6327cc15593e29d7b0f45312359af9350a81a2cc
15d477b2bc7da4e1bddd6fa33f0768fcbd4c82c3
/simple_3d_engine.py
62feb8ad80ef2a33f85e02f37a7f238e444e751b
[]
no_license
gunny26/pygame
364d4a221e2d11bd491190f97670b09123146ad7
1fd421195a2888c0588a49f5a043a1110eedcdbf
refs/heads/master
2022-10-20T00:56:34.415095
2022-10-03T19:27:52
2022-10-03T19:27:52
7,414,604
5
11
null
null
null
null
UTF-8
Python
false
false
6,778
py
#!/usr/bin/python3 import sys import math import time # non std import pygame class Vec2d: def __init__(self, x, y): self.x = x self.y = y class Vec3d: def __init__(self, x, y, z): self.x = x self.y = y self.z = z class Vec4d: def __init__(self, x, y, z, w): ...
[ "arthur.messner@gmail.com" ]
arthur.messner@gmail.com
9a329c96fd6abe852b6f9363751b24ad1d7cb704
9af11dc7eef82e077f3dedc9086f68c5bd8d787f
/doubanallmovie/settings.py
3baf02e43abd7873ad133d878d424b7d71ef8da4
[]
no_license
myWillison/doubanallmovie
edb70ef897782e26affb45b7a066af400f50582b
dcf148d1d0aae71ebd5249da7bb1ed880d457245
refs/heads/master
2021-10-09T15:20:45.622296
2018-12-30T12:28:08
2018-12-30T12:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,626
py
# -*- coding: utf-8 -*- # Scrapy settings for doubanallmovie 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/lates...
[ "1027664894@qq.com" ]
1027664894@qq.com
c27d32cdd1b7b026779339fc68a7830871f34535
4dd811c2595a990cb21327afe7a2dfd54ba9b52f
/Open-CV_Basics/threshold_example.py
3b3018af5e505a219059d82806e1a161262e2bc4
[]
no_license
mitesh55/Deep-Learning
40842af8b8f1ea3c041fa4de2e76d068f554c1a4
0a7c0305edb027acfaad38e7abe52808260cede9
refs/heads/master
2023-07-25T14:31:14.285489
2021-09-09T13:46:31
2021-09-09T13:46:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,288
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Sep 24 09:09:57 2020 @author: pavankunchala """ import cv2 from matplotlib import pyplot as plt def show_img_with_matplotlib(color_img, title, pos): """Shows an image using matplotlib capabilities""" # Convert BGR image to RGB img_RGB = ...
[ "pavankuchalapk@gmail.com" ]
pavankuchalapk@gmail.com
a2f379ec2d52a70e592b712cabcbaec1a152e1c9
42c61cd2fed2dea035da543a54a6ff0e937686da
/Clinic/urls.py
e958714ad285f1d34735633f11d51de08c598342
[]
no_license
kaibrakhman/clinic
6539eb26728d4671ece4600835e36409fe15700b
11266e8cd74b4dc92166593a01eaeb1f8ed7be1c
refs/heads/master
2022-09-26T21:34:48.706681
2020-05-31T13:06:35
2020-05-31T13:06:35
268,282,500
1
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
"""Clinic URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-based ...
[ "kaibrakhman000@gmail.com" ]
kaibrakhman000@gmail.com
ad762e5dc4a29a85f308b56d2ae0fa23a5bbeef4
c182fe38217da6547b716756cfa03f76702c78eb
/JSON practice/JSON_Practice.py
5de7f8da8fd8d1d48d7da3da981a9154b26ad345
[]
no_license
IvannikovG/Python-cheatsheet
1869f7053445db3424de906c18a42ac326de0f73
03a6aff65814143d06543c12f8354d6f51944ede
refs/heads/master
2020-07-29T21:20:25.824092
2019-09-25T17:00:53
2019-09-25T17:00:53
209,965,645
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# Javascript Object notation # Nowadays has no real relation to JS import json people_string = ''' { "people": [ { "name": "John Smith", "phone": "615-555-7164", "emails": ["johnsmith@mail.ru", "john.smith@work-place.com"], "has_license": false }, { "name": "Jane Doe", "phone...
[ "ivannikovgeorge1337@gmail.com" ]
ivannikovgeorge1337@gmail.com
eca5eced63fe9c3245cced6a01c9a872dfd8a73d
030829bfc1a652491164ca3ba3824a874a8ee109
/mvg/tools/scatter.py
b6f90b9e61973c7db9b35bb1f4dc6d6d5c3fa66b
[]
no_license
natsutan/computervision
0fed2397918e7f66550ef09b9ee5860732522124
ed5b181190e4f80f20a537d70501dae58ca63636
refs/heads/master
2021-01-01T05:41:13.018706
2015-05-19T06:41:45
2015-05-19T06:41:45
5,079,219
2
1
null
null
null
null
UTF-8
Python
false
false
2,394
py
# -*- coding: utf-8 -*- __author__ = 'Natsutani' import sys import os from matplotlib.pyplot import * class plot_data(): def __init__(self): self.x = [] self.y = [] self.text = [] self.title = '' self.output = '' def read_file(self, fname): fp =...
[ "YRW03704@nifty.com" ]
YRW03704@nifty.com
7802a5f03b7cb6a00e7ba3213412cfbf16acc38a
17bfee1b0880276b730971cc25419be22d202f95
/all_in_one/allinone.py
a96d5eac5042ffe98690be5ba32b3724b56a7b79
[]
no_license
ilkayDevran/Traffic_Sign_Recognition
1ad13f8e069d84fccc7f7526ec3f6f08dfa12495
f16641611394e9e7aa6fad63871692529514fbd6
refs/heads/master
2020-03-20T00:57:19.692146
2018-08-01T19:16:12
2018-08-01T19:16:12
137,062,127
0
0
null
null
null
null
UTF-8
Python
false
false
17,192
py
# -*- coding: utf-8 -*- ''' ########################################################## # Python 2.7 # # __author__ = "İlkay Tevfik Devran" # # __date__ = "29.07.2018" # # __email__ = "devrani@mef.edu.tr" ...
[ "devrani@mef.edu.tr" ]
devrani@mef.edu.tr
28def183758ec542d07c1355f6cc7aefdf8cf71e
9fb9b55c80b9022b42740401b114c4700ce42f04
/homeassistant/components/roomba/binary_sensor.py
d1aac7931de1915066b57635c7eed167cd8040ca
[ "Apache-2.0" ]
permissive
chrisme/home-assistant
516e3ab457f556e1770bfade154c187ba0df64d7
d0856d07275eb4a8faefd42e08572c11f82b2261
refs/heads/dev
2021-08-06T04:46:15.333975
2020-05-09T19:39:30
2020-05-09T19:39:30
169,498,031
0
0
Apache-2.0
2020-05-09T19:39:31
2019-02-07T00:26:19
Python
UTF-8
Python
false
false
1,484
py
"""Roomba binary sensor entities.""" import logging from homeassistant.components.binary_sensor import BinarySensorEntity from . import roomba_reported_state from .const import BLID, DOMAIN, ROOMBA_SESSION from .irobot_base import IRobotEntity _LOGGER = logging.getLogger(__name__) async def async_setup_entry(hass,...
[ "noreply@github.com" ]
chrisme.noreply@github.com
500729c399198a7f347c002ba8524217d5ad7c11
4324d19af69080f45ff60b733c940f7dc1aa6dae
/google-ads-python/google/ads/google_ads/v0/proto/services/ad_group_bid_modifier_service_pb2_grpc.py
323a703193e94e53842992d5f9f98450e7ec0307
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
ljborton/Forked_Work
cc8a3813c146ea4547aca9caeb03e649bbdb9076
7aaf67af8d9f86f9dc0530a1ad23951bcb535c92
refs/heads/master
2023-07-19T22:26:48.085129
2019-11-27T02:53:51
2019-11-27T02:53:51
224,321,748
0
0
null
null
null
null
UTF-8
Python
false
false
3,600
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v0.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v0_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 from google.ads.google_ads.v0.proto.services import ad_group_bid...
[ "noreply@github.com" ]
ljborton.noreply@github.com
c199a8c9d14036ef6e195fc868e7c99f7939151e
29ac2c1477b2972820dd024ee443b8626e3224cf
/gallery/migrations/0002_auto_20210608_0440.py
87afdaaf43bc510f256b14412bc81c86310e8178
[]
no_license
devArist/school_project3
5cdf1955e60ff727a64cf7cb50987da70149b0b8
c153339cf55a87cb81b331ce7fbd43615a0435aa
refs/heads/main
2023-05-09T19:48:32.092513
2021-06-08T10:07:25
2021-06-08T10:07:25
374,965,640
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# Generated by Django 3.2.3 on 2021-06-08 04:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0001_initial'), ] operations = [ migrations.AddField( model_name='photo', name='formats', fie...
[ "aridev97@gmail.com" ]
aridev97@gmail.com
ece48aab3a307b0ed7ce5ca11fa32cded04d0644
49f07d136b4cc88e2fe2fe3dd6e19951e9c274f7
/jsonSchemaToRsT/__init__.py
059a1bfe9030b6bca5a4e8d39fc9f4fa923e1624
[]
no_license
ChristianMeisenbichler/jsonSchema2RsT
575a442c4b1b04d6cc7a5326bf27a076e647d5c3
65523d596e97f3d4a8bffc4f3741ff27640395fd
refs/heads/master
2020-04-01T18:32:49.175218
2015-09-14T12:47:05
2015-09-14T12:47:05
21,426,611
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
from jsonSchemaToRsT.main import jsonschematorst
[ "christian.meisenbichler@xal.com" ]
christian.meisenbichler@xal.com
546d8ed0e17b68ef964c7a21439a8eeaaba4263e
2a429b3a60616c0b3af4c406f632ec5071fb6d3d
/计算机视觉/old_people_system/源代码/inserting.py
668861c2d3fa0c98bcbc364e8aef9e6bb15f6480
[]
no_license
yinheyinhe/small-term-weixiang
def9e39761eb2a270a2a2e34873fc9070e273b2b
0fa0c97da1e19a6919e9cd533f9b6a4d3dfb6e72
refs/heads/master
2023-06-28T06:04:05.887514
2021-07-18T14:34:16
2021-07-18T14:34:16
383,062,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,274
py
# -*- coding: utf-8 -*- ''' 将事件插入数据库主程序 用法: ''' import pymysql import datetime import argparse f = open('allowinsertdatabase.txt','r') content = f.read() f.close() allow = content[11:12] if allow == '1': # 如果允许插入 f = open('allowinsertdatabase.txt','w') f.write('is_allowed=0') f.close() pri...
[ "18301067@bjtu.edu.cn" ]
18301067@bjtu.edu.cn
414dde3d27d3678cf999d8753cce512ba15376c6
b5b2db958ca35385ba246b759e20e79e7b9b839c
/215-Kth-Largest-Element-in-an-Array/solution_divide_and_comquer.py
a1024d6966ae89254d4309543c6d4fef6dd7ffd5
[]
no_license
quake0day/BugFree
f5d3713a4992ec102e7196c4dd8d24e7c7e0434f
d5b763a89086315078ab69df951898ad1fddde64
refs/heads/master
2021-01-21T04:26:08.828776
2016-08-04T20:19:03
2016-08-04T20:19:03
54,294,035
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
class Solution(object): def findKthLargest(self, nums, k): """ :type nums: List[int] :type k: int :rtype: int """ n = len(nums) pos = self.partition(nums, 0, n-1) if pos > n - k: return self.findKthLargest(nums[:pos], k - (n - pos)) ...
[ "quake0day@users.noreply.github.com" ]
quake0day@users.noreply.github.com
7a08c8c0f10a0f895db76c5b49933e2ec90cfd3c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/8WvpPQto44PqNLSqJ_16.py
1beb2118e0b5593eebf9a90ec62cd377057db150
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
def pad(message): if len(message)<140: if not len(message)%2: message += ' l' else: message += 'l' while len(message)<140: message += 'ol' return message
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ea2dd8bf45e6bb9c2b6ff09afb422072ab1fe92b
8566f9905a831b05dd79c0cb0d1cf99bd258a917
/models/sml/sml_celeba_cactus.py
0360822647d3a2a0a40c06b37deafe44bdd0e926
[ "Apache-2.0" ]
permissive
emerld2011/MetaLearning-TF2.0
8e81db2a5489ffc2ccb4f21eb8202d1c50106844
de852bd3b2ff46f8d390cebf561add3a166ee855
refs/heads/main
2023-08-14T18:21:23.539460
2021-09-17T14:42:22
2021-09-17T14:42:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
import tensorflow as tf from models.sml.sml import SML from networks.maml_umtra_networks import MiniImagenetModel from databases import CelebADatabase, LFWDatabase def run_celeba(): celeba_database = CelebADatabase() base_model = tf.keras.applications.VGG19(weights='imagenet') feature_model = tf.keras.mo...
[ "siavash.khodadadeh@gmail.com" ]
siavash.khodadadeh@gmail.com
94f546c812c2e5bd92a38ed699cd637f6766f32c
d2c1ff2dc35840ad31dd6410112e5c2ebb2c3659
/banker/__openerp__.py
03e3e4c1b6e2d69cc6a782a7f94ec123e6966d17
[]
no_license
sud-jash/OdooTest
28b065f0902ca99f06fb0be5cc3839ef30d621bb
4ba57573026c9ae44705ef02efbd7bff9f01080c
refs/heads/master
2021-01-22T23:20:38.550740
2015-07-03T02:44:58
2015-07-03T02:44:58
38,256,993
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
# -*- coding: utf-8 -*- { 'name': "banker", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "Your Company", 'website...
[ "jash@ubuntu.ubuntu-domain" ]
jash@ubuntu.ubuntu-domain
091eaa8d8b8e0031b351affb291d1cdc4d49ae3b
767628ddbb99159c4cda58bc69853e6b9166c050
/parking/genie/migrations/0008_event.py
59a474b5268d879aa1ffd85f4afca007922ca242
[]
no_license
kev-thomas/aggie-blue-parking
34c76cae52a64b83f4a2ae9c9c700ebe1195b6da
8cf6d5cc5215f6ebff5e664a6aa1b563bb7e14cc
refs/heads/master
2023-04-16T14:26:28.425268
2021-04-22T03:52:50
2021-04-22T03:52:50
361,053,725
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
# Generated by Django 3.1.7 on 2021-03-24 19:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('genie', '0007_auto_20210316_0131'), ] operations = [ migrations.CreateModel( name='Event', fields=[ ...
[ "andrewjouffray@hotmail.fr" ]
andrewjouffray@hotmail.fr
a68d760a069c84b3e5c6d1a92d06ab3f2bd4fd43
950ce2ac7aa569c7e82bd135492c0ff94ef97c74
/test/myapp/myapp/spiders/item_xpath.py
4f8a0120bf12e339747335c62122f88055842a82
[]
no_license
ShichaoMa/webWalker
74ea7f38b74272d951e8bccea730a40f7f0c72b4
8c085d6f385f85f193b0992b1148f165652e3a98
refs/heads/master
2021-01-12T16:50:36.331337
2017-12-08T11:26:46
2017-12-08T11:26:46
71,446,722
62
18
null
2017-12-08T11:26:47
2016-10-20T09:27:08
Python
UTF-8
Python
false
false
236
py
# -*- coding:utf-8 -*- ITEM_XPATH = { "bluefly": [ '//ul[@class="mz-productlist-list mz-l-tiles"]/li//a[@class="mz-productlisting-title"]/@href', ], "douban": [ "//a[@class='product-photo']/@href", ] }
[ "308299269@qq.com" ]
308299269@qq.com
d1297225e16ebf5161aebae8590fb1060bd9310e
e6f16fbba8fba750099252c3490f00079cb19101
/算法/053_最大子序求和.py
e493a34fa89f268394e4fe3b768062a9898cacd9
[]
no_license
hookeyplayer/exercise.io
0a36fbec9df6c24b60ff6f97de27d3d5ae7769d4
605c81cb44443efd974db9fa0a088ddcd5a96f0f
refs/heads/master
2023-06-20T17:03:20.310816
2021-07-31T12:50:21
2021-07-31T12:50:21
277,175,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from typing import List class Solution: # DP1 # 贪心 def maxSubArray(self, nums: List[int]) -> int: thisSum = 0 maxSum = -2**31 for i in range(len(nums)): if thisSum < 0: thisSum = 0 thisSum += nums[i] maxSum = max(maxSum, thisSum) return maxSum # DP2 def maxSubArray(...
[ "noreply@github.com" ]
hookeyplayer.noreply@github.com
41382e5f11554c4881d9c9d346f4f49b7da73cb9
8dbc1feb6136d5f045d4784f9a045c13383edc95
/Backjun/1.py
7b23a3d42350e7152e327deeba6eeb9e925ca709
[]
no_license
wonjunchoi-arc/Django
a23d364a96a517c3d7a2eaa0a0e5ef1383c43cd4
baa666451b924f3797104e32f891e9423eb66a9f
refs/heads/master
2023-05-14T11:19:05.685943
2021-06-08T10:18:06
2021-06-08T10:18:06
370,548,955
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
numbers = map(int, input().split()) print(sum(numbers))
[ "qlszkd13@naver.com" ]
qlszkd13@naver.com
1e8f0ed0b696f784570589cfed29e2857650a243
a1b29dc347b22c772c30dce1244b7e3d1eb866e8
/block.py
d576fc30ba6060c26eb42fb173707d34fd5dfd54
[]
no_license
mariusz89016/tetris
b29598f1fa409a268a579518d74ed3be90e57ab8
da8e13fe05e8f0b064d1bea2c2947bbed531ae28
refs/heads/master
2020-03-17T21:41:37.146747
2018-05-18T15:07:30
2018-05-18T15:07:30
133,969,962
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/local/bin/python # -*- coding: utf-8 -*- class Block: def __init__(self, elem): self.elem = elem def __str__(self): result = '' for y in range(len(self.elem)): for x in range(len(self.elem[0])): result += '█' if self.elem[y][x] else ' ' re...
[ "mariusz.wojakowski@allegro.pl" ]
mariusz.wojakowski@allegro.pl
a61936e0b3152ba6a39cdb301e33356c628ccc6c
a14ec6e367e6a471bfc74c066fb958ef585bc269
/2022/22/b.py
1b47f0a8bee5acc2c3a1acc74fd052c972b656f5
[]
no_license
jimhendy/AoC
90641814ed431f46a8500ff0f022c6c957567563
a1727f88bc2e6f739d65902dce188377966b3fb4
refs/heads/master
2023-09-02T14:48:39.860352
2023-08-28T08:09:19
2023-08-28T08:09:19
225,152,422
0
0
null
null
null
null
UTF-8
Python
false
false
8,593
py
import re from collections import defaultdict, deque from collections.abc import Callable from tools.point import Point2D DIRECTIONS = deque(["right", "down", "left", "up"]) FACING_VALUE = {"right": 0, "left": 2, "up": 3, "down": 1} OPPOSITES = {"down": "up", "up": "down", "left": "right", "right": "left"} def run(...
[ "jimhendy88@gmail.com" ]
jimhendy88@gmail.com
d0a580aaa5edce4979a869971401b95f3b920d70
1b862f34c125ce200244dd79e4fda4b5b605ce2e
/.history/ML_EO_20210607233236.py
524991d44904097561ba54152a436c881885c12f
[]
no_license
edwino26/CoreImages
26085a49cf1cb79442ae563a88354b2fdceace87
6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e
refs/heads/master
2023-06-22T12:53:37.344895
2021-07-21T04:31:44
2021-07-21T04:31:44
309,553,247
0
4
null
2021-04-29T23:23:15
2020-11-03T02:45:07
Lasso
UTF-8
Python
false
false
25,622
py
# # lectura de los xlsx del procesamiento de imagenes # y la informacion obtenida de los registros por pozo # %% import numpy as np import pandas as pd import os import os.path import matplotlib.pyplot as plt # GRAPHS from mlxtend.plotting import scatterplotmatrix import glob import seaborn as sns import missingno a...
[ "ortega.edwin.y@gmail.com" ]
ortega.edwin.y@gmail.com
5cb6cf516e8a31c00c8cdcb3d2db8617a3e0b897
ae5c3219076b2419fb02ead30587182f583d59cd
/api/migrations/0001_initial.py
455f9b33f708bb99c879ac09fef43e85e6f79ea0
[]
no_license
xolanisiqhelo/ProfilesApplication
5f68ac5cac54bff13b588b7263e2fe7f1f90e2eb
2e8368dae7e2dd5f80694d4c7969349fe59a4555
refs/heads/master
2020-09-10T06:47:07.341216
2019-12-04T15:18:44
2019-12-04T15:18:44
221,676,527
0
0
null
null
null
null
UTF-8
Python
false
false
3,851
py
# Generated by Django 2.2.5 on 2019-12-04 14:46 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "siqhelo25@gmail.com" ]
siqhelo25@gmail.com
c2f7427f8a9376c82c9b11020e901859309f5314
50653bf407965fdf40b3fcf2ebab42ae02e4cfd0
/coffee_app/migrations/0001_initial.py
8259875c565424de4e3f98b101a96e54647699a9
[]
no_license
carlosrivera22/CoffeeShopsPR
09ec4e99effe9480449afd2de6fd952971bba8d6
54b73b7ca84e0ec0fdad4b31019a5f56b0854ba7
refs/heads/main
2023-02-14T04:52:02.692853
2021-01-09T23:00:13
2021-01-09T23:00:13
314,882,004
0
0
null
2020-11-25T03:42:25
2020-11-21T18:53:40
Python
UTF-8
Python
false
false
175
py
# Generated by Django 2.2 on 2020-12-16 02:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ ]
[ "carlos.rivera@econsgroup.com" ]
carlos.rivera@econsgroup.com
64bcdc42713f2b0854949f1e02ddaa9bcd8e5e07
32d45340cd88fe0c2450444e26906615368f4726
/hartley_imec3.py
ab9c1e29d9fc8d4d6352367fa216682972d9e7cf
[]
no_license
anupamgarg/color_vision
d8a7a46642c110807d3b21a01303eac31cf87e2f
7ecae0f0545677739783fcff7e6d273f32013b5f
refs/heads/master
2020-04-09T22:57:12.331064
2018-03-09T03:27:36
2018-03-09T03:27:36
68,040,755
0
1
null
null
null
null
UTF-8
Python
false
false
1,823
py
import glob import os import pandas as pd import numpy as np import matplotlib.pyplot as plt import phase3_sync data_folder = 'H:/AE4/U004/004_005_hartley_achromatic/' print('Loading sync channels and calculating timing info.') nidq_path = glob.glob(data_folder + '*.nidq.bin')[0] imlf_path = glob.glob(data_folder + '...
[ "anupamkgarg@gmail.com" ]
anupamkgarg@gmail.com
733ef059bae29cf7d25be22bc2afabfac6bc1540
af82ca2fd932350cb5fc478161fb54233d7121a6
/src/scorect_api.py
178a597295d90da82d02d956507760dd2f6dff87
[ "MIT" ]
permissive
rob-p/scoreCT
062931c1fb69532336a74aaaa38ee768bf8fc493
463289f9a2ab4a07a8d2d8eda43042e13392846b
refs/heads/master
2022-04-09T19:55:00.755323
2020-03-11T05:02:22
2020-03-11T05:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,163
py
#!/usr/bin/env python3 # Lucas Seninge (lseninge) # Group members: Lucas Seninge # Last updated: 07-24-2019 # File: scorect_api.py # Purpose: Automated scoring of cell types in scRNA-seq. # Author: Lucas Seninge (lseninge@ucsc.edu) # Credits for help to: Duncan McColl """ API automated cell type annotation in scRNA-s...
[ "lucas.seninge@gmail.com" ]
lucas.seninge@gmail.com
3095e0bf06445574a18da530b631a4c84c9e3af7
191fb757517911acf1ee40e259e23d1864c13d2b
/py/updateTempShapes.py
9063ef0e9d4db67b76635b4e25d02c860fa5d0f8
[]
no_license
shade3d/physics_assistant
437c9f78677b9d8c7ca88b7e8ae432cdaba057db
3b6ca78d1480f11834a588873a54928adf4bbfc9
refs/heads/master
2020-06-16T01:16:52.673279
2016-12-01T05:18:13
2016-12-01T05:18:13
75,254,709
1
0
null
null
null
null
UTF-8
Python
false
false
2,619
py
# -----------------------------------------------. # 物理シーンの形状を一時保持/まとめて更新する関数. # 要 : getCurrentPhysics.py # -----------------------------------------------. # --------------------------------------------------. # 物理シーン内の形状情報を一時バッファに保持. # --------------------------------------------------. def getPhysicsShapesParam()...
[ "noreply@github.com" ]
shade3d.noreply@github.com
985fa1c907017b8a3ed95d6a50e2fdcf3693ad54
2f3b38764952b470622c44d08ac07b956a6c9f7b
/Imp_Py/3_ex_contains.py
620c91a70560f66f0fb0081d3c54f3d9c7b16425
[]
no_license
Aetos19/PDJ2
16fd00204d9e022d107df14d8e6539a988d204f5
dbcebda362bc6da916442d1ca8c4bf11a1fa221a
refs/heads/master
2020-08-24T01:30:31.136068
2018-04-27T03:43:51
2018-04-27T03:43:51
216,740,755
0
0
null
2019-10-22T06:37:26
2019-10-22T06:37:26
null
UTF-8
Python
false
false
464
py
class CaseInsensitive: def __init__(self, **kwargs): for key, value in kwargs.items(): self[key.lower()] = value def __contains__(self, key): return super(CaseInsensitive, self).__contains__(key.lower()) def __getitem__(self, key): return super(CaseInsensitive, self).__getitem__(key.lower()) def __setit...
[ "sreekanthreddy.v@live.com" ]
sreekanthreddy.v@live.com