blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
c7739c2740d091be07c29d210fff434d1abad440
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/gensim/test/svd_error.py
e6ab11bb7819270c6602102958142ddd908866c5
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
7,398
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2011 Radim Rehurek <radimrehurek@seznam.cz> """USAGE: %(program)s MATRIX.mm [CLIP_DOCS] [CLIP_TERMS] Check truncated SVD error for the algo in gensim, using a given corpus. This script runs the decomposition with several internal parameters (number of r...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
0de16987f7998e81ada5ea81b3e933ace352f1f2
08c1243ba915720db936266a2ce61cf65330e1c3
/bin/list-ipc
132abd22279cfb1122e183420bd48ce4029c29a8
[]
no_license
tecentwenping/home-files
5ba8e47173de98ec4dfe70e87d18942ec134cd58
c3fecedaee041f45fb3a6e459b34dc2e0935db5e
refs/heads/master
2023-08-24T16:00:15.700316
2021-10-31T10:16:40
2021-10-31T10:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,867
#!/usr/bin/env python # -*- coding: utf-8 -*- # SPDX-License-Identifier: MIT # Copyright (c) 2015-2021 Nicolas Iooss # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, inc...
[ "nicolas.iooss_git@polytechnique.org" ]
nicolas.iooss_git@polytechnique.org
8a10dec7ba643a9b5bddf97bc17dec595d445a74
547db7801930874bf8298304b7ae453695ab3751
/zeabus_controller/script/thruster_mapper/pure_thrust_mapper.py
fafa76b02410caeefdedf459f289e6aa104adb01
[]
no_license
skconan/zeabus2018
5fc764b5039799fa7d80f7e86345822b50282d2e
16e2fc1a21daea813833f9afb89f64142b5b8682
refs/heads/master
2020-03-25T12:39:38.759263
2018-07-27T23:53:50
2018-07-27T23:53:50
143,786,404
0
1
null
2018-08-06T21:41:52
2018-08-06T21:41:52
null
UTF-8
Python
false
false
5,920
py
#!/usr/bin/env python import rospy #from modbus_ascii_ros.msg import Pwm from hg_ros_pololu.msg import Pwm from geometry_msgs.msg import Twist from geometry_msgs.msg import TwistWithCovarianceStamped from sensor_msgs.msg import Joy from numpy import * import LookUpPWM_2018 as lup """ t = [t0, t1, t2, t3, t4, t5, t6, ...
[ "supakit.kr@gmail.com" ]
supakit.kr@gmail.com
7bf66a0ef4a42885cc5d4f5e6f58619a1bb9b8c3
5397c6bd14e272f4a274412018084615f5da7b9b
/django/django_into/ninja_gold/my_app/views.py
957bc2718c49c2f11763f6db110c550c42253443
[]
no_license
nassersayeh/Python_stack
f7be8b4e7406078e4864118350989f2f9c1a905c
c91d220b27f4faf5a90f492bf3b3fa0d8d2957a2
refs/heads/main
2023-05-04T03:49:51.624679
2021-05-29T15:30:16
2021-05-29T15:30:16
367,853,112
0
1
null
null
null
null
UTF-8
Python
false
false
1,441
py
from django.shortcuts import redirect, render import random from time import gmtime, strftime # Create your views here. def root(request): return render(request,"index.html") def index(request): if 'gold' not in request.session: request.session['gold']=0 request.session['log']=[] if request....
[ "nasser.sayeh89@gmail.com" ]
nasser.sayeh89@gmail.com
54e81e79a651701f9e5292bfb39807ffac73fc01
6353e350857494b53de146de1b6689bf38b0404e
/robot/config_headless.py
6c0892266b787c7df91fbd327b210b670e4db558
[]
no_license
Yellllllow/openerp_travel
80d2940284ff645f702f7ea44da0f8260a995f5c
2a46ac8ba1d5a3e894a0df65d127d13244065c0a
refs/heads/master
2021-01-21T19:05:38.320694
2016-05-05T16:25:55
2016-05-05T16:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
# Please rename this file to config_80.py and adapt it to your needs # Selenium # Time till the next command is executed SELENIUM_DELAY = 0 # How long a "Wait Until ..." command should wait SELENIUM_TIMEOUT = 20 # Odoo SERVER = "localhost" PORT = "8069" # no port if you test with workers ODOO_URL = "http://" + SER...
[ "rolycg89@gmail.com" ]
rolycg89@gmail.com
2dce818571c78c07180f26576a99b27ff1a2af6c
784ed078d1960a40a281b12fec729e0aa387d4a6
/docs/conf.py
5bb15ff533d51205b3c24cef63c697bb7703e95f
[ "MIT" ]
permissive
dustinlacewell/t3
3a3fefc282a860e33e0e43893cc2a1b162ec41de
9f5279b406328a8f5bcb3d01fcd7ff31202060eb
refs/heads/master
2020-04-11T08:25:06.069220
2018-12-13T15:24:48
2018-12-13T15:24:48
161,642,646
0
0
null
null
null
null
UTF-8
Python
false
false
4,753
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # t3 documentation build configuration file, created by # sphinx-quickstart on Fri Jun 9 13:47:02 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogene...
[ "dlacewell@gmail.com" ]
dlacewell@gmail.com
7436d878e3d176c0a773352431e7e11a60af9d39
7cb3e5e16fd93e6f8a1c07c211cee16dc248ef5d
/venv/lib/python3.6/site-packages/django/contrib/gis/db/backends/oracle/schema.py
cb94e03f4817c1c862cc5f2fd6485a5d8c3d552a
[]
no_license
JustynaJBroniszewska/Blog
d74a8cb19fa037b834f5218522ff1397eb60d370
cfd8efbcce3e23c7ebeea82b2e732de63c663ac8
refs/heads/master
2022-11-03T22:01:07.165652
2020-06-05T14:25:01
2020-06-05T14:25:01
266,791,768
0
0
null
2020-06-05T14:25:02
2020-05-25T13:52:19
Python
UTF-8
Python
false
false
4,232
py
from django.contrib.gis.db.models.fields import GeometryField from django.db.backends.oracle.schema import DatabaseSchemaEditor from django.db.backends.utils import strip_quotes, truncate_name class OracleGISSchemaEditor(DatabaseSchemaEditor): sql_add_geometry_metadata = """ INSERT INTO USER_SDO_GEOM_META...
[ "jj.broniszewska@gmail.com" ]
jj.broniszewska@gmail.com
2f125fbeaf4a292cc8c6334f1b8245bfb1b5cbc7
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/DrSleep_tensorflow-deeplab-resnet/tensorflow-deeplab-resnet-master/inference.py
2efbd33ee0319c2035e8922aa02ad6ce3ba25405
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
2,977
py
"""Run DeepLab-ResNet on a given image. This script computes a segmentation mask for a given image. """ from __future__ import print_function import argparse from datetime import datetime import os import sys import time from PIL import Image import tensorflow as tf import numpy as np from deeplab_resnet import D...
[ "659338505@qq.com" ]
659338505@qq.com
7b2c4cf41b733b0b2154c024e2352988087f6fbf
dd97a08267b2197a73c7b19f630ab2742ada837c
/python/ThirteenTeV/DisplacedSUSY_stopToBottom_M_1200_1000mm_TuneCUETP8M1_13TeV_pythia8_cff.py
ccff4774462d18a1b03b270e4f90078ef85432c3
[]
no_license
Mohammed2/genproductions
48dc93d15c070a02c9ce7c70060909587115e8f8
9e18bbd3be45e57b0ecaf3cbea94c8f50df939fa
refs/heads/master
2020-06-16T16:59:50.959353
2017-06-06T16:43:27
2017-06-06T16:43:27
92,869,604
1
0
null
2017-05-30T19:40:46
2017-05-30T19:40:46
null
UTF-8
Python
false
false
50,126
py
FLAVOR = 'stop' COM_ENERGY = 13000. # GeV MASS_POINT = 1200 # GeV CROSS_SECTION = 0.00159844 # pb CTAU_POINT = 1000. # mm SLHA_TABLE = """## Important note! ## This file has been modified by hand to give the gluino and the ## stop_1 a very narrow width, such that it can be used to try out ## the R-hadron machinery. I...
[ "dnash@cern.ch" ]
dnash@cern.ch
7821080f02aeacac4a6c4742aec242a057cbd12e
54a0b86d4c3f731487ad4470fb365907970472e6
/P1/studentparameters/Project1_Parameters_xn.py
666f29a1122ab9711c7757f1a0af1b8a97f34d34
[]
no_license
samiurrahman98/ece458-computer-security
26aa46e174b0bf77f748e6451dd2e0e4183feebd
cf79430b98e3679ffcd687a0c96b5e979187e1e3
refs/heads/master
2022-11-25T01:26:36.874094
2020-07-31T21:24:53
2020-07-31T21:24:53
280,979,038
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
# Select the file name that matches your first two letters of your last name on Learn # Read those parameters as your ECE458 project 1 parameters # p,q,g are DSA domain parameters, sk_i (secret keys) are used in each signature and verification p=16158504202402426253991131950366800551482053399193655122805051657629706040...
[ "S72RAHMA@uwaterloo.ca" ]
S72RAHMA@uwaterloo.ca
b25fdc6764e8bbb64b7a5cd8483d23006bfe2fd4
93de1c20caef5de0a868db15ac5993751b99809c
/filecounter.py
542ba99f13c798081175be13fb6d427553241d96
[]
no_license
aocampor/GUIPATold
f5404c8d3efd8403f4fadd14fd7b83a79670f045
db9902541f654ae6a2645a1f90bd48e74622aa2d
refs/heads/master
2021-01-01T06:17:29.608061
2015-04-13T12:56:16
2015-04-13T12:56:16
33,868,081
0
0
null
null
null
null
UTF-8
Python
false
false
7,291
py
#! /usr/bin/env python import commands import sys, os, string, fileinput # #main # if __name__=="__main__": release = str(sys.argv[1]) ds = str(sys.argv[2]).replace('/','') dataset = str(sys.argv[2]) runnum = str(sys.argv[3]) search = [] place = [] if int(sys.argv[4]) == 1 or int(sy...
[ "alocampor@gmail.com" ]
alocampor@gmail.com
d444c2d5b6f1685f0bc8e5084d065ad5a7074ec3
5c056604ecbfdd6e3d20c6d3b891855767c431b8
/ImageNet-100/DRE-F-SP+RS/models/__init__.py
f3b76cc9bb3bffa99ae25f88c4331aef03811f4d
[]
no_license
pkulwj1994/cDR-RS
135d1fc9504304ba0303fe5acc3594ea27531557
661d694d6a8dfb44885271bdfd92d6dc150a40f8
refs/heads/main
2023-08-30T05:37:07.449304
2021-11-16T03:17:42
2021-11-16T03:17:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
from .sync_batchnorm import * from .layers import * from .BigGAN import BigGAN_Generator from .BigGANdeep import BigGANdeep_Generator from .ACGAN import ACGAN_Generator from .SAGAN import SAGAN_Generator from .cDR_MLP import cDR_MLP from .DR_MLP import DR_MLP from .densenet_extract import DenseNet121_extract, DenseNet1...
[ "dingx92@gmail.com" ]
dingx92@gmail.com
e9d6bd7ad1d490f724ee8679fde5d7aca57373b1
a60bee1f292859d3f972985a45867ff89068ea63
/elstruct/program_modules.py
f898e12156196d0d23c575328b5ad0eacb42f873
[ "Apache-2.0" ]
permissive
avcopan/elstruct-redraft
095c43fd57c943a009e91b863bec9c08973b5419
c0bf697a8e086ff7def9ac1188946835ba838cb3
refs/heads/master
2020-04-22T19:37:39.042651
2019-02-16T03:08:27
2019-02-16T03:08:27
170,613,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,908
py
""" helpers for importing and managing program modules """ import importlib import inspect from functools import reduce as _reduce from . import params as par PROGRAM_MODULE_NAME_DCT = { par.PROGRAM.PSI4: '_psi4', } def call_module_function(prog, module_type, function_template, *args, *...
[ "avcopan@gmail.com" ]
avcopan@gmail.com
e2d7e8abbd0bfba36315ca8e93b95bd073b0d5cb
769c8cac5aea3c9cb1e7eeafb1e37dbe9ea4d649
/Common/MiojiSimilarCityDict.py
98c122d679e43562bb1d1a9231a075770e735f25
[]
no_license
20113261/p_m
f0b93b516e4c377aaf8b1741671759822ee0ec1a
ca7713de005c4c10e5cae547851a38a13211b71d
refs/heads/master
2020-03-20T01:03:29.785618
2018-03-17T11:06:49
2018-03-17T11:06:49
137,065,177
0
0
null
null
null
null
UTF-8
Python
false
false
9,407
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2017/6/13 下午2:38 # @Author : Hou Rong # @Site : # @File : MiojiSimilarCityDict.py # @Software: PyCharm import pandas import dataset import unittest import datetime from collections import defaultdict from Common.Utils import is_legal # 相似多字段分割符 MULTI_S...
[ "nmghr9@gmail.com" ]
nmghr9@gmail.com
63c09c9c4aded7553d2ce302dc3588baa8440c3c
e9a5047a9cc19c842ed2fbd463bb4921c6b7e432
/app/core/migrations/0001_initial.py
ec47ac822dc33633d1f89d04eee1f83f0d827e0f
[ "MIT" ]
permissive
tonyguesswho/foodie-app-api
c586144cea513825220cdd4a93c7c4a00b505c3d
4352a20157e8873bcffa22830630aa466580475c
refs/heads/master
2020-04-28T02:24:39.564714
2019-03-13T23:24:33
2019-03-13T23:24:33
174,897,165
1
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
# Generated by Django 2.1.7 on 2019-03-12 01:22 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "anthonyugwu234@gmail.com" ]
anthonyugwu234@gmail.com
4e955f8ad3824a267144b596dcc7e1c046ef617e
64391f58a793bd42648d1dafc5cbb98d7d04227c
/tools/Jh_tool/tools/tools/DER/OneMLF2ManySpeakeRTTM.OnlySpeechSegInMLF.py
1754db58520d0ecdbd08f8935ae2e6353e23a49e
[]
no_license
zXpp/Templates
990f51c9ec422105346e3a89839000da1f4d4a6e
8678f369402271e1f8d9889d477d0b33f2baeab9
refs/heads/master
2021-08-29T22:57:29.372795
2017-12-15T06:59:36
2017-12-15T06:59:36
114,318,961
1
1
null
null
null
null
UTF-8
Python
false
false
1,953
py
#!/usr/bin/python #!/share/spandh.ami1/sw/std/python/v2.7.5/Python-2.7.5/python # rosanna # ------------------------------------------------ import sys # ------------------------------------------------ def readmlf(fname, files):#, spkrs): f = open(fname,'r') curr_file = "" episode = "" file = [] ...
[ "784723438@qq.com" ]
784723438@qq.com
0f2ad9226e5733768a7e40cb32425480645bba3d
9587c6e58ef0ef4959898454c1a7c3d8fc963530
/consulting/apps.py
6a1adb907c4a799925ded67599e15d7e512026cf
[]
no_license
okielife/okie.life
cfa5450be85c4076985156793a48ee4e68c1610d
6be9ed7178cddd300b00adb263b1962a7987ac11
refs/heads/master
2020-05-26T11:45:40.831311
2018-01-31T15:52:45
2018-01-31T15:52:45
84,996,176
0
0
null
2018-01-31T15:52:46
2017-03-14T20:54:11
Python
UTF-8
Python
false
false
136
py
from __future__ import unicode_literals from django.apps import AppConfig class ConsultingConfig(AppConfig): name = 'consulting'
[ "leeed2001@gmail.com" ]
leeed2001@gmail.com
6421f34c9dbbedb18d36f427730bbf7194a8489c
6a990a3d549ca3d1c607b60b13b10f14c0e15787
/game/longhu/server/server.py
72b1d0e79d2455c56359993963bfcc28abab57ac
[]
no_license
qianyc1020/server
217a766f7df5a0acfb983d3fc48317a932fe092e
3c897e5d6ee453d0a2f3b371b5eda5af954b8d1a
refs/heads/master
2020-06-10T08:55:31.996449
2019-06-24T06:26:43
2019-06-24T06:26:43
193,626,075
1
0
null
2019-06-25T03:12:39
2019-06-25T03:12:37
null
UTF-8
Python
false
false
4,305
py
# coding=utf-8 import json import threading import core.globalvar as gl from core import config from game.base.game_details_handle import GameDetailsHandle from game.base.update_currency_handle import UpdateCurrencyHandle from game.longhu.command.client import match_cmd, reconnection_cmd, exit_cmd, shangzhuang_cmd, xi...
[ "pengyi9627@gmail.com" ]
pengyi9627@gmail.com
43f4da96b2d002d494a6b98ea5d2a9d8da8acf2e
8507ebe2ff3c6c449c27489c575b3061575e6180
/ppjoin/ppjoin_.py
25a9461a2b9cbf4097886a9479202a998b262e2e
[ "MIT" ]
permissive
usc-isi-i2/ppjoin
0d2f8142a2bcbdc03efc1d5ccdd5927bbb6aa798
3362da97afb60aedaddf36bacaeb8d214ffcf7b9
refs/heads/master
2022-11-30T20:13:22.194489
2020-08-18T00:15:11
2020-08-18T00:15:11
257,420,478
5
0
null
null
null
null
UTF-8
Python
false
false
5,605
py
""" PPJoin algorithm Paper: Xiao, Chuan, et al. "Efficient similarity joins for near-duplicate detection." ACM Transactions on Database Systems (TODS) 36.3 (2011): 1-41. Updated by GreatYYX https://github.com/greatyyx Fixed several severe bugs and enhanced usability. Original copyright info: Copyright 2012 Thomas Hu...
[ "bigyyx@gmail.com" ]
bigyyx@gmail.com
88c38efd94173d070881bbd3428dc2d467c898a0
557d62ae214f41e158d3732fdc9744ae00514feb
/Proyectos/Fase_dos/Diccionarios_for.py
12f95be4da93e4f2f71ee17aa227d44a3e28f9e4
[]
no_license
rvndrupal/PYTHON_UNO
f6b1f1a768540526efc436b0b07ab254623c76b9
1cc332a397cd5f01e4db57b259766682520a92d1
refs/heads/master
2022-12-13T11:40:52.111229
2020-01-16T21:20:11
2020-01-16T21:20:11
220,515,207
0
1
null
2022-11-28T07:06:29
2019-11-08T17:21:31
Python
UTF-8
Python
false
false
311
py
#recorrer los valores de un diccionario cali={"rodrigo":8,"juan":10,"pedro":9} for cal in cali: print(cal) #imprime los nombre for calk in cali.keys(): print(calk) #imprime los nombres for calv in cali.values(): print(calv) #imprime los valores for calItem in cali.items(): print(calItem)
[ "rodrigodrupal1@gmail.com" ]
rodrigodrupal1@gmail.com
b4e147220c353215255fb341a6d6d5f633414362
dd1ff9175109b075b0c0701e28479e22a83e2b9e
/app/migrations/0043_device.py
f4297a6291cca689b06583eac8933c3382aee75d
[]
no_license
sotengboy/ojopisowifi_main
7bda515b3eb122153e716177e139cea7b80c0e24
cdbecd8d50408c10bdecf1439ee7c78fbbdf01d2
refs/heads/master
2023-04-08T16:53:27.633895
2020-12-17T14:30:11
2020-12-17T14:30:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
# Generated by Django 2.1.7 on 2019-05-03 19:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0042_remove_settings_device_id'), ] operations = [ migrations.CreateModel( name='Device', fields=[ ...
[ "alinoclyde.juan24@gmail.com" ]
alinoclyde.juan24@gmail.com
a31d7bb2dc30f9b400409d2df7f8e3b58b2a85ee
e79daef48e2ff7102a3fc8243f9ad87448ab26e5
/rangesat/rangesat/urls.py
849befbd1b6adf6769f88a0f9633a26cc2206088
[]
no_license
rogerlew/rangesat-django
80a0c94fa82e7f881f22ddc1536e6de72aeb96b4
b210ac129f3d9c292f21aeae4506c0e7190c34e4
refs/heads/master
2022-12-09T21:38:08.377884
2019-06-12T00:42:12
2019-06-12T00:42:12
191,453,446
0
0
null
2022-12-08T01:46:48
2019-06-11T21:33:49
JavaScript
UTF-8
Python
false
false
1,088
py
"""rangesat URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-base...
[ "rogerlew@gmail.com" ]
rogerlew@gmail.com
18f77634acc4d81d83233fbf1e6e97a4de8e8b40
05083d24088bbb3bfb7cdd162c101c72e18bc3a6
/iotcookbook/device/pi/neopixel/client.py
e7d8940996319ead6675dfa43ae01735684fa34d
[ "Apache-2.0", "MIT" ]
permissive
crossbario/crossbar-examples
f5e14b62db0f14e20ab54346cd4e8c3276aa6449
aa31d9fe3abcb4b797931356b5a2ceeac64229c3
refs/heads/master
2023-01-11T02:36:00.883034
2023-01-03T11:12:06
2023-01-03T11:12:06
28,035,551
100
122
Apache-2.0
2023-01-03T11:12:07
2014-12-15T12:23:02
HTML
UTF-8
Python
false
false
1,192
py
import time import random import Adafruit_ADS1x15 from neopixel import * LED_COUNT = 8 # Number of LED pixels. LED_PIN = 12 # GPIO pin connected to the pixels (must support PWM!). LED_FREQ_HZ = 800000 # LED signal frequency in hertz (usually 800khz) LED_DMA = 5 # DMA channel to ...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
3b4674fc0ee950b3b6186c5ad08a27e658e7a563
ee7e42417d9d1e76b0e84e44dc6eb037adc3ebad
/.history/manage_20190703132942.py
8000d9d208641be5fac459c1a3fb40e7dc78cf17
[]
no_license
web3-qa/pets-api
4632127ee84a299f207d95754f409fc1e4c0013d
ee4a04e7291740ac8eb6147c305b41d27d5be29c
refs/heads/master
2023-05-12T09:09:47.509063
2019-07-18T15:07:13
2019-07-18T15:07:13
197,611,701
0
0
null
2023-05-01T19:42:17
2019-07-18T15:19:59
Python
UTF-8
Python
false
false
90
py
import os import sys from os import path sys.path.append(os.path.abspath()os.path.join())
[ "dcolmer@statestreet.com" ]
dcolmer@statestreet.com
a69ab7c83f29fb5fb5dfa1af41704e4cbe498109
9a9fb43d866dc8fd829211d2b47328ef1f5ed428
/PI_ROS_WORKSPACES/test/build_isolated/topic_tools/cmake/topic_tools-genmsg-context.py
fd6d5d4b924dbda292ff9c7a8e478c2d2b5f5816
[]
no_license
droter/auto_mow
326df42a54676079cac61fe63c40d5d04beb049b
3742cb2ef78bc06d2771ac4c679e5110909774f8
refs/heads/master
2022-05-19T20:18:33.409777
2020-04-29T00:42:24
2020-04-29T00:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/pi/test/src/ros_comm/topic_tools/srv/MuxAdd.srv;/home/pi/test/src/ros_comm/topic_tools/srv/MuxDelete.srv;/home/pi/test/src/ros_comm/topic_tools/srv/MuxList.srv;/home/pi/test/src/ros_comm/topic_tools/srv/MuxSelect.srv;/home/pi/t...
[ "joshuatygert@gmail.com" ]
joshuatygert@gmail.com
0043bee10a857297deb0c5c8403c3a666a71384c
5d36864f5f9f1b737c4718703ee53c3aa715e398
/CourseGrading/2.1.12五位数数位.py
76a5042a0cdca9b02df18cd73f91d7667de7fa7f
[]
no_license
xzl995/Python
d909274c9aba8ae9f18029a5f2069b1bb3418b9a
48d4add7a1d46b2e3773bdf096e834852115014d
refs/heads/master
2020-04-14T11:51:35.407548
2019-01-02T10:54:55
2019-01-02T10:54:55
163,824,702
4
1
null
null
null
null
UTF-8
Python
false
false
754
py
""" 【问题描述】 输入一个五位数,左对齐依次输出其数位,中间用3个空格间隔。如输入12345,则输出: 1 2 3 4 5 输出以上内容的python语句是 print (1," ",2," ",3," ","4," ",5) 说明:1之后的逗号,会产生一个空格,加上指定输出的空格和2之前的逗号产生的空格,一共隔了3个空格。 【输入形式】 输入一个5位的整数 【输出形式】 输出各数位,数位之间间隔3个空格。 【样例输入】 12345 【样例输出】 1 2 3 4 5 """ x = int(input()) x_1 = x//10000 x = x-x...
[ "595696893@qq.com" ]
595696893@qq.com
e8b63934648a1ac19e2173ae73ad3df2452d9a01
d9f68a2bdd44ce277a1439237b3360b24853d2a9
/code/sln.py
4a41eaccfbece76ea8f028757792b384659a38fd
[ "Apache-2.0" ]
permissive
gajanlee/SLN-Summarization
76ea668c280b977ae956058329611bc3af762e95
4cc23deba855e70089636db76ab0add2e2a2ffc0
refs/heads/master
2023-08-07T17:01:25.231483
2021-01-04T03:18:58
2021-01-04T03:18:58
234,238,158
1
0
Apache-2.0
2023-07-23T02:56:27
2020-01-16T04:53:27
Jupyter Notebook
UTF-8
Python
false
false
2,264
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : sln.py @Time : 2020/01/16 12:42:37 @Author : gajanlee @Version : 1.0 @Contact : lee_jiazh@163.com @Desc : None ''' from collections import namedtuple ( SELF_LINK = Link("SELF"), TEMPORAL_LINK = Link("Temporal"), CAUSE_EFFEC...
[ "lee_jiazh@163.com" ]
lee_jiazh@163.com
30eff4f5ca2c92045a8fef978eb44fac7887018c
1103c1c0cfec2ca6c592f407307d42498ac88d39
/3.拓展模块/2.WS2812B灯带/main.py
52baa3cc11bd60b2986e0a9b35c640acd0d6b57b
[ "MIT" ]
permissive
01studio-lab/RaspberryPi_Examples
1a2a0c806a9c07dad3ed8ffbb119695b6197d61e
e0cd206477d57d3e583a49ba6e61e53ffc787929
refs/heads/master
2022-12-24T15:57:39.898460
2020-09-27T01:20:27
2020-09-27T01:20:27
259,666,351
10
5
null
null
null
null
UTF-8
Python
false
false
4,225
py
#!/usr/bin/env python3 # NeoPixel 库标准测试例程 # 作者: Tony DiCola # 说明:在灯带中展示各种花式控制 # #翻译和注释:01studio (www.01studio.org) import time from rpi_ws281x import PixelStrip, Color import argparse # LED灯带配置: LED_COUNT = 30 # LED灯珠数量. LED_PIN = 18 # 树莓派GPIO引脚 (18 使用 PWM). #LED_PIN = 10 # 树莓派GPIO引脚 (10 使用 SPI...
[ "237827161@qq.com" ]
237827161@qq.com
2bd8b4a540bdc66ad9c6dab8629bf7ebcd2e8992
6c863c0bc4b00856aae28326f15cb448c7697d67
/plataforma/events/migrations/0004_auto_20190327_2139.py
57ecafdb4065374fa208ce9cad9571062a7d83e8
[]
no_license
hernandavidc/eventD
1c60e7502ec3a295f7e76bc1fe0a78fda329228d
b1772583ddfc7da0ee32d48ca7164770bcfa4c9f
refs/heads/master
2020-04-23T09:04:38.413225
2019-04-29T02:28:11
2019-04-29T02:28:11
171,057,295
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# Generated by Django 2.1.7 on 2019-03-28 02:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0003_event_private'), ] operations = [ migrations.AddField( model_name='event', name='drctn', ...
[ "hernandavidc@hotmail.com" ]
hernandavidc@hotmail.com
6804c1fc265f2f5044ca1da3adfdb4e3969713a7
1dfcffdd67df144daf7572a9b0ae4da3a43d685e
/projects/scheme_stubbed/tests/05.py
9ce7500cf1894066683e7c29343445d1028acf66
[]
no_license
AllenHongjun/cs61a
95b577875630bbf4dc131cf803812ec2fe7866d8
4a46d5f3ddefaf8b5e364fc5b9b7ca1168b658bd
refs/heads/master
2022-12-17T16:18:31.824555
2020-09-16T19:02:39
2020-09-16T19:02:39
289,314,275
4
0
null
null
null
null
UTF-8
Python
false
false
737
py
test = { 'name': 'Problem 5', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" scm> (enumerate '(3 4 5 6)) ((0 3) (1 4) (2 5) (3 6)) scm> (enumerate '(9 8 7 6 5 4)) ((0 9) (1 8) (2 7) (3 6) (4 5) (5 4)) """, 'hidden': Fals...
[ "652971723@163.com" ]
652971723@163.com
1a446ab0ee598e0779271f970a1d255926be423e
2181d99f84f4f7556efb13ac203a533fc87f9acd
/tools/CodeGenerators/codegen/app/src/generated/Gui/ItemModels/FieldBookItemModel.py
0fcc225099697e87689f962a0b4eff8b969343e7
[]
no_license
BackupTheBerlios/profilelogger-svn
0f80fd8f63c3b413dc06ecc6d2be623f8ae2cc8c
5ba067205316b0955f0c8876dd8b0f10672abc0a
refs/heads/master
2020-05-18T16:33:31.154612
2010-04-24T16:51:28
2010-04-24T16:51:28
40,822,739
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
from ManagementItemModel import ManagementItemModel from PyQt4.QtGui import * from Logic.Model.FieldBook import FieldBook from Gui.Dialogs.FieldBookEditorDialog import FieldBookEditorDialog from ManagmentItemModel import * class FieldBookItem(StandardItem): def __init__(self, entity): StandardItem.__init...
[ "jolo@28dda339-3e7f-0410-9691-cab309f6cb01" ]
jolo@28dda339-3e7f-0410-9691-cab309f6cb01
55e2f6cfe13e74cd7c694af5bb0c943d1e335316
01c33443db4c4ac74087d220a2a3a6967ee3930f
/ccxt/coinex.py
e97bfb29414fa7d78977e6e8f142b3e529d37f4c
[]
no_license
arques-changhwan/ccxt
74de1790ab2e2cc07fa55f418817c988b3af6a28
ac26599695af742aaffc16a8fd4dda4f8cb63588
refs/heads/master
2022-09-05T11:31:35.903127
2020-05-26T06:36:33
2020-05-26T06:36:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,370
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import math from ccxt.base.errors import ExchangeError from ccxt.base.errors import AuthenticationE...
[ "insukim@arques.com" ]
insukim@arques.com
6d571b81505aea970d35ee61cd99835270e306ab
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Logit/trend_PolyTrend/cycle_12/ar_/test_artificial_32_Logit_PolyTrend_12__20.py
f10b87fc9d3420b42a46aa7c2d3cb34423947907
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
265
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 12, transform = "Logit", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4965493e6e4ff0b9682d0832a6fdcff19c90857c
4535a6240283de4e75c2018652175532bcc8965b
/broccoli/material/base.py
1bd9ff2a54ba8a3b48fe1f8ed1f9ccdddb0d945c
[ "MIT" ]
permissive
naritotakizawa/broccoli
c15894b3c2ade23011a858d041b6f154c60b2654
7feddc9353313cc2ba0d39228a4109acfdd71d4f
refs/heads/master
2020-03-25T17:22:04.787488
2018-09-17T08:11:23
2018-09-17T08:11:23
143,974,900
5
0
MIT
2018-09-17T08:11:24
2018-08-08T07:11:15
Python
UTF-8
Python
false
false
9,112
py
"""マップ上に表示される背景、オブジェクトに関するモジュール。 大きく分けて、3つのデータがあります。 1つは背景(tile)で、Canvasクラスのtile_layerに格納されるものです。 地面や空など、そういったものが該当します。 もう1つはオブジェクト(object)で、キャラクターや物体が当てはまります。 objects_layerに格納されるもので、壁や木、岩、 あとは普通のキャラクター等が該当します。 最後は、アイテム(item)です。 """ import inspect import random import types from broccoli import const class BaseMa...
[ "toritoritorina@gmail.com" ]
toritoritorina@gmail.com
22150a3cc32cf4ddb0710a0d298ddbc1da42b0f5
bd792e96cde5d3a8fe1260edfd48d3e6f2a7bc6c
/src/pretix/plugins/stripe/models.py
0e3e6e90dd953c8b50aafec8b17f6985c99ef383
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
mabelticketing/pretix
f83ab74b9a2a3ccb286f3d6fc86445ec2a4634fa
9b5b66488dd6e03e105f552da6031b429871f2eb
refs/heads/master
2022-01-11T12:54:29.808984
2018-01-10T17:27:26
2018-01-10T17:27:26
115,783,960
0
1
NOASSERTION
2019-07-08T06:09:56
2017-12-30T08:24:30
Python
UTF-8
Python
false
false
202
py
from django.db import models class ReferencedStripeObject(models.Model): reference = models.CharField(max_length=190, db_index=True, unique=True) order = models.ForeignKey('pretixbase.Order')
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
13614d1884087ab0e24f79656aac462fe5c6abaf
6268a19db5d7806b3a91d6350ec2777b3e13cee6
/old_stuff/code/mlcv_exp_03/setup/list_fpha_bbox_noinvalid.py
33219410281a784746fc4d5a165551957ce0d96f
[]
no_license
aaronlws95/phd_2019
3ae48b4936f039f369be3a40404292182768cf3f
22ab0f5029b7d67d32421d06caaf3e8097a57772
refs/heads/master
2023-03-22T14:38:18.275184
2021-03-21T11:39:29
2021-03-21T11:39:29
186,387,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,841
py
import sys import numpy as np from pathlib import Path from tqdm import tqdm sys.path.append(str(Path(Path(__file__).resolve()).parents[1])) from src import ROOT from src.utils import * def list_fpha_bbox_noinvalid(): """ Prepare list for FPHA dataset """ parent_dir = Path(__file__).absolute().parents[1] ...
[ "aaronlws95@gmail.com" ]
aaronlws95@gmail.com
b28ae42b6e3e4b19050d81c177a02bce6f81375d
380dfac9b68ef8663db5a9d1b30fc75636dec3d3
/test/test_add_taxation_strategy_request.py
48aa7c410184e65d84330054297178a847640925
[ "Apache-2.0" ]
permissive
billforward/bf-python
d2f549e0c465d0dc78152b54413cac4216025a64
d2b812329ca3ed1fd94364d7f46f69ad74665596
refs/heads/master
2021-12-13T22:10:16.658546
2018-06-19T14:44:45
2018-06-19T14:44:45
63,268,011
2
1
Apache-2.0
2021-12-06T12:59:41
2016-07-13T17:57:37
Python
UTF-8
Python
false
false
1,388
py
# coding: utf-8 """ BillForward REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git 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...
[ "alexander.birch@billforward.net" ]
alexander.birch@billforward.net
ada2fb67be4c0f4a753d62b48db7b3a21c5b3f85
ec153cf6c65b02d8d714e042bbdcf476001c6332
/openstack_dashboard/dashboards/security/vm_firewall/panel.py
6bea84e6e64405924a7cf6a16fed3f0d22460d96
[]
no_license
bopopescu/dashboard
c4322f7602a9ba589400212aaef865ed4ffa8bdb
a74b4a549cd7d516dd9a0f5f2e17d06679c13bf6
refs/heads/master
2022-11-21T15:56:42.755310
2017-07-05T12:04:14
2017-07-05T12:04:17
281,596,428
0
0
null
2020-07-22T06:38:37
2020-07-22T06:38:36
null
UTF-8
Python
false
false
819
py
# Copyright 2013 B1 Systems GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "laurencechan@qq.com" ]
laurencechan@qq.com
d34e98d12172a4d5de4fd4c21b60810fc11bd4a0
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/2-math-functions_20200411231214.py
16efe7603ff747093c6690585d2ae693c6214e17
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
# Math Functions # output - 3 print(round(3.1)) # output - 4 print(round(3.9)) # output - 4 print(round(3.5)) #abs - no negative numbers #output - 20 print(abs(-20))
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
dc31459e929b354356dd6962ca6099480a166b27
92be92d687ab4183d43f6c3bad5f6ddfffb0ca9a
/ddsmdb/common/models/__init__.py
0d434531b56fb1251d4c0aa836dec97f44e74e34
[ "MIT" ]
permissive
wd15/ddsm-db
32c72a00173a7bc3986827789da9e3348f577215
8a5fc96c8e8c03ffd07bf6a182175d62b07a9ba1
refs/heads/master
2021-01-15T14:41:51.757468
2015-04-06T21:50:33
2015-04-06T21:50:33
33,272,177
0
0
null
2015-04-01T20:48:22
2015-04-01T20:48:21
null
UTF-8
Python
false
false
125
py
# Models module from user_model import UserModel from project_model import ProjectModel from record_model import RecordModel
[ "faical.congo@nist.gov" ]
faical.congo@nist.gov
1489299e54025898585e54c32c56b291909b46d8
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/FX/Events/AOEVictimNodeList.py
4d28b3d38518e1652c2a006574c21a52b180357d
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,079
py
# 2017.05.04 15:20:53 Střední Evropa (letní čas) # Embedded file name: scripts/client/FX/Events/AOEVictimNodeList.py import BigWorld import random from FX import s_sectionProcessors import math from ParticleSubSystem import ParticleSubSystem from FX.Event import TRANSFORM_DEPENDENT_EVENT from ParticleSubSystem import M...
[ "info@webium.sk" ]
info@webium.sk
979c0a6d7a8339e34cadd793fe34f13df348f7ac
2c5073c0140b3366b94866d50f8b975c926a529b
/venv/lib/python3.9/site-packages/mediapipe/calculators/util/visibility_copy_calculator_pb2.py
9e937e8771abf6c0a7da3ca25152873791d24a99
[]
no_license
geekboi777/Volumegesture
435c2752d107ac6915919e79bcb63fb0b85f6e9e
3cc35f74533e26588a606154897f9ded4801f0ce
refs/heads/master
2023-06-24T19:09:07.138900
2021-07-30T23:22:18
2021-07-30T23:22:18
390,512,309
1
0
null
null
null
null
UTF-8
Python
false
true
4,017
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/calculators/util/visibility_copy_calculator.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
[ "geekboi777@github.com" ]
geekboi777@github.com
6e1142461b4d323a6b0d82dba103f4d903ebd06f
74da166dc375be56a83b175cdc17d559a262dba1
/airflow_client/test/test_user_collection.py
77aa1087e02f8073076e069ae53dc6bbba1d76ad
[ "Apache-2.0" ]
permissive
zjiaksmc/airflow-client-python
eec72956abaede23b8865f5d09f03e242dc86467
f8d7f958578fd1c63cef41d6b3f5447dc45bdfe6
refs/heads/master
2023-08-25T16:50:27.535880
2021-10-25T07:03:06
2021-10-25T07:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,052
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" ]
zjiaksmc.noreply@github.com
66ccf9738822d6856d46491829a85abe1b48f3a3
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Kivy/kivy/kivy/tools/packaging/cython_cfg.py
3f15891c6e5771cb3d26e00b88b125404ee2d02c
[ "MIT" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:89ab31a214ca30cdf72c5d4a104d863a6aae5bbb8be845364ec44356732ac304 size 3191
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
3d12dbfd5a8956a39873f500872e75659a01f18c
1788f938e77d216507d9e0675085ffb8e644ff17
/weather/urls.py
134affbf20b37ed36af49a134359c6af6fff2a50
[]
no_license
ahmedelfateh/weather_app_DRF
29df8f5b124c68a6d7086bcbdf776638079d23df
475a9ebedc2925c1ba1885092c600b9cccfe9b0b
refs/heads/master
2022-12-10T10:45:27.416037
2019-03-13T11:58:32
2019-03-13T11:58:32
175,045,206
0
0
null
2022-12-08T04:51:46
2019-03-11T16:55:41
Python
UTF-8
Python
false
false
135
py
from django.conf.urls import url from . import views urlpatterns = [ url('', views.WeatherList), # the path for our index view ]
[ "elfateh.dev@gmail.com" ]
elfateh.dev@gmail.com
764d00b510cdba2c0eff4ce59d857c4d67bd420c
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/seed/types/DictWithNewProtocol.py
e233aa0653510254cdef4adf0bc3ae2cd770bdb1
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
37,267
py
#__all__:goto r'''[[[ e ../../python3_src/seed/types/DictWithNewProtocol.py see: view ../../python3_src/seed/mapping_tools/determine_num_slots4hash_map.py view ../../python3_src/seed/types/DictWithNewProtocol__ver2.py see: view ../../python3_src/seed/types/DictWithNewProtocol.py view ../../python3_src/s...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
39f4463488ed5d9bdd376fe3db1fbed62af1d8c6
a7dc50814b8065f35c575717219bb23495233afa
/src/image_generator.py
101cd03aa9793ada1ffa7ccf07aee950d059eaac
[ "MIT" ]
permissive
gholamlooAli/single_shot_multibox_detector
f2089ba0000fcf38e39accd948daaccd163880d6
bdd7b2c0731126c29cc61abddb4814498fd17333
refs/heads/master
2021-01-23T05:30:04.059494
2017-05-28T11:09:42
2017-05-28T11:09:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,024
py
import numpy as np from random import shuffle from utils.utils import load_image from utils.utils import preprocess_images class ImageGenerator(object): """ Image generator with saturation, brightness, lighting, contrast, horizontal flip and vertical flip transformations. It supports bounding boxes coordi...
[ "arriaga.camargo@gmail.com" ]
arriaga.camargo@gmail.com
f5aa71b879ddefc0372a7bd66e7b4e5a2cf85793
09a4dd378a60e2a1c793d9f97257803af8c1040e
/Lib/site-packages/pip/_internal/locations/__init__.py
17fac8535c8c8b5bff0e66952cf827ce2b112346
[]
no_license
nayyyyy/Learning-Python
6ef88ab58dd0a3aeb2ef34a94c43beee4db4808f
4fb12f6e47a3d7098ef7440a09e0cdad9838412e
refs/heads/master
2023-05-05T19:08:56.021729
2021-05-11T03:39:31
2021-05-11T03:39:31
361,653,471
1
0
null
null
null
null
UTF-8
Python
false
false
4,827
py
import logging import pathlib import sys import sysconfig from typing import List, Optional from pip._internal.models.scheme import SCHEME_KEYS, Scheme from . import _distutils, _sysconfig from .base import ( USER_CACHE_DIR, get_major_minor_version, get_src_prefix, site_packages, user_site, ) __a...
[ "traitorget@gmail.com" ]
traitorget@gmail.com
530828443fb5229412f67415104f89fcafcbdaf2
c386fd8f8377990f13c8059154eb9ef473534355
/scripts/dataset_yifan.py
ff2f80b5b1ed808797d90942769810479444e320
[]
no_license
KOPFYF/SatiricalNews
9ef9601821b872cc69b8319910cba1e99f778270
374ae8cc4a1df936f8f950c33cb694bb42c5f2e9
refs/heads/master
2021-07-12T04:05:56.733080
2020-06-27T03:48:08
2020-06-27T03:48:08
148,247,657
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import os from tqdm import tqdm from copy import deepcopy import torch import torch.utils.data as data from . import Constants from .tree import Tree # Dataset class for SICK dataset class FEELDataset(data.Dataset): def __init__(self, path, vocab, num_classes): super(FEELDataset, self).__init__()
[ "fei8@purdue.edu" ]
fei8@purdue.edu
caa5386ea441d21392c96d9a9c249d30cbb6f665
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03293/s781855685.py
bda0d8fd830aa531666314c0c3ed172ca55c6b2d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
S = input().rstrip() T = input().rstrip() flg = False for i in range(len(S)): cnt = 0 for j, s in enumerate(S): if s==T[j-i]: cnt += 1 if cnt==len(S): flg = True if flg: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e12603cae058d031d74a21efacdf78dc49ff37b5
3345eb032afa159a5b4b32fe0b62e4435dac523f
/dingtalk/api/rest/OapiEduGroupMsgSendRequest.py
2de258336d5239ebe96b709b44d8ed52af8b8ffa
[]
no_license
xududu/dingDingApi
ada6c17e5c6e25fd00bdc4b444171b99bc9ebad7
b1e7c384eb8fb7f79f6f5a6879faadfa95d3eda3
refs/heads/master
2023-08-31T03:04:48.438185
2021-10-13T08:52:13
2021-10-13T08:52:13
416,558,271
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
''' Created by auto_sdk on 2020.12.22 ''' from dingtalk.api.base import RestApi class OapiEduGroupMsgSendRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.agent_id = None self.biz_id = None self.class_id = None self.image_url = None self.receive_userid_list = None self.replac...
[ "739893589@qq.com" ]
739893589@qq.com
1d0bcb6f6c8b1b0257c6dafbae64ad12f67d9d15
1d6c698d595d303161aa74792c37b0b67f7626a1
/pollbot/helper/display/settings.py
5a2ab46f43273bbb882f49d5ec57778ee8619d9f
[ "MIT" ]
permissive
tszalbot/ultimate-poll-bot
ff884bedab2192c91f62af3d6eebe91cb94c8914
a38bb55eebcc0d2d899f7c8321e54e3885c08b51
refs/heads/master
2020-06-24T02:37:16.475977
2019-07-25T12:17:43
2019-07-25T12:17:43
198,824,898
0
0
null
2019-07-25T12:12:43
2019-07-25T12:12:43
null
UTF-8
Python
false
false
2,405
py
"""The settings management text.""" from pollbot.i18n import i18n from pollbot.helper import translate_poll_type from pollbot.helper.enums import PollType def get_settings_text(poll): """Compile the options text for this poll.""" text = [] locale = poll.user.locale text.append(i18n.t('settings.poll_ty...
[ "arne@twobeer.de" ]
arne@twobeer.de
18fd726da10892cf7dc23083e0d7397a58627153
37931e80bebf17f175ab2bcf720b2b66a9f02e1f
/micropython/tests/basics/dict_clear.py
13106c0f619a4b4704e8379aaf46ace15d1e7eb4
[ "MIT" ]
permissive
jiapei100/Stereo
f9ef718533074155eb0ca26afe6d30da44187982
3c569d05545c8ad8fd3d86f9eabacc536ac0105e
refs/heads/master
2020-12-31T00:18:46.272842
2016-10-12T03:10:23
2016-10-12T03:10:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
d = {1: 2, 3: 4} print(len(d)) d.clear() print(d) d[2] = 42 print(d)
[ "llb0536@aliyun.com" ]
llb0536@aliyun.com
cd5667256dc68ead7e40f619ac5d481c6e00ee2b
915ac708aeac53125f29bef90c2c047eaed4940e
/Anaconda/Scripts/sphinx-quickstart-script.py
af732d56ce8bdd87a05dd8d6e071c57fa72de2e4
[]
no_license
bopopescu/newGitTest
c8c480ddd585ef416a5ccb63cbc43e3019f92534
5a19f7d01d417a34170a8f760a76e6a8bb7c9274
refs/heads/master
2021-05-31T17:00:26.656450
2016-06-08T06:43:52
2016-06-08T06:43:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
if __name__ == '__main__': import sys from sphinx.quickstart import main sys.exit(main())
[ "arvindchari88@gmail.com" ]
arvindchari88@gmail.com
183307cb16e87ca305c40a4807e9ed16cfe678f0
9a2b9059600765d48af259bb1f26d30e64cf4302
/.history/game_20211023084328.py
f6e7003ec14856a4ecef6fe6c2a363ca46b132cb
[]
no_license
Igor-Boson/Space-Invaders-Python
478079551f7d1ba7046ae052041f9db0c434bcd1
1a12329ced82e80edf4446e5d6895f1656c639db
refs/heads/main
2023-08-16T01:21:29.407569
2021-10-23T21:45:56
2021-10-23T21:45:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
from entity import Player, Shot, Alien class Game: def __init__(self, handler, speed=10, score=0, max_shots=10, alien_matrix_height=3, alien_matrix_width=4): self.handler = handler self.speed = speed self.score = score self.max_shots = max_shots self.am_height = alien_matrix...
[ "79543678+Igor-Boson@users.noreply.github.com" ]
79543678+Igor-Boson@users.noreply.github.com
54f54a7ea72ebcbcc53f1d2fa0281e32c61c26be
1f5bf7b22bdb1d0c1856c323fcd3a5ed70938ba2
/第十五届浙江大学宁波理工学院程序设计大赛/E.py
d258904ba27bd894b64795fb315261b2da5c860a
[]
no_license
yu-hanyang/my-newcoder-ans-by-python
ec7c6d7765fc65969b4798a93437712980429ec2
fb5ee012c4615dc5198278d4349705403c2d4bae
refs/heads/main
2023-05-03T07:00:01.398542
2021-05-29T11:43:48
2021-05-29T11:43:48
369,950,165
3
0
null
null
null
null
UTF-8
Python
false
false
284
py
for _ in range(int(input())): n,k=map(int,input().split()) pos=list(map(int,input().split())) pos.sort() if len(pos)==1: print(k) else: t=0 for i in range(1,len(pos)): xs=pos[i]-pos[i-1] t=t+xs*xs print(t+k)
[ "2522821183@qq.com" ]
2522821183@qq.com
b34c9f5b50dd6c96a99c7bcdf95f7f1aea028bf2
298c90b6881c889af3ec691706e975c8645aa4e4
/smbl/prog/plugins/pbsim.py
09d1b0ec49c115411b6929c9c0181e93cd6a0478
[ "MIT" ]
permissive
gitter-badger/smbl
0cc2ef346234722d7111ce6f8450c480bd1331b3
99058f3228d5604914e3cdbc6eb69670b4d1c14e
refs/heads/master
2021-01-20T11:18:15.889163
2015-05-18T14:50:16
2015-05-18T14:50:16
36,827,574
0
0
null
2015-06-03T20:06:49
2015-06-03T20:06:48
Python
UTF-8
Python
false
false
654
py
import smbl import snakemake import os import _program PBSIM = _program.get_bin_file_path("pbsim") ########################################## ########################################## class PbSim(_program.Program): @classmethod def get_installation_files(cls): return [ PBSIM, ] @...
[ "karel.brinda@gmail.com" ]
karel.brinda@gmail.com
3bf29cf2f06fa94b65b9cd65dc88f554ade0a45d
64ee2a144acbaf7565560aa51ba6dd7eb4f6b8b8
/初学操作/zhuzi.py
a8f9309baca7eeeb1ac811a205e2857360f9dc66
[]
no_license
HimriZngz/Code
c61c5ecd9b18157089b49089f22bb7d335a6f4f5
a7eb93ddcde88075bb2217fc285c19ca349af8d7
refs/heads/master
2020-09-14T01:32:19.819942
2020-03-24T06:16:49
2020-03-24T06:16:49
222,969,316
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
def move(n, a, b, c): if n == 1: print(a, '-->', c) else: move(n-1,a,c,b) move(1,a,b,c) move(n-1,b,a,c) # 期待输出: # A --> C # A --> B # C --> B # A --> C # B --> A # B --> C # A --> C move(3, 'A', 'B', 'C')
[ "yingqi1561@qq.com" ]
yingqi1561@qq.com
70c7c4bf7fa6052d8e76c4f7169ade5521cc9984
27215616bbf99ca9ef7c7b92d9a53a1f9e659a3e
/Devices/VDR/Class_VDR_Danalec.py
d20d6c4e558cc4d6b4af771fbef7606b1db28b25
[]
no_license
gbf-labs/rh-backend
9fac49546fbdf7d6b857b22660fc6c5ed1b25acf
1774efb28ac4369cdbf275c174915022340b7560
refs/heads/master
2022-04-29T00:24:30.747162
2020-03-30T13:47:16
2020-03-30T13:47:16
251,338,727
0
0
null
2022-03-29T21:59:41
2020-03-30T14:58:12
Python
UTF-8
Python
false
false
7,389
py
import Class_VDR import time import warnings import sys import os from parse import * import lib_Log import lib_Parsing import lib_WebScraping import lib_GPS from pexpect import pxssh class Danalec_VRI1(Class_VDR.VDR): def __init__(self, INI, deviceDescr, devNumber): self.Er...
[ "krisfen.ducao@globalbrainforce.com" ]
krisfen.ducao@globalbrainforce.com
188473b24c0c748425472a54cd197abd7408b5ba
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/validPerfectSquare/validPerfectSquare.py
500250802b5d85f13b0fd88470e6f7a923c1ef1b
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
496
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/valid-perfect-square/ # Author: Miao Zhang # Date: 2021-02-04 class Solution: def isPerfectSquare(self, num: int) -> bool: l = 0 r = num while l <= r: mid = l + (r - l) // 2 if...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
72714c0a81dcee58d324367b862d7845989dc6d7
b2ca672652495014142abf5492d6039bf2d86468
/seed_process.py
bef752cbe9156ad83ea6e4933f82da82fa9efeba
[]
no_license
gkapfham/seed
bce0c7bcd1b3b54453ea8749edb2d3d1e84b74d9
0369a51364ecb0b30ef23531f858ccd79f5f04e9
refs/heads/master
2022-12-24T18:10:04.032300
2017-09-04T14:23:36
2017-09-04T14:23:36
98,067,199
1
1
null
2022-12-08T00:40:43
2017-07-23T01:21:21
Python
UTF-8
Python
false
false
2,473
py
""" seed_process.py processes a JSON file from SimpleForm """ from itertools import filterfalse from operator import itemgetter DATA_PAYLOAD = "data" UPDATES = "Updates from" SUBJECT = "_subject" EMAIL = "reply_to" import seed_lookup def contains_update_subject(internal_dictionary): """ Return True if the subj...
[ "gkapfham@allegheny.edu" ]
gkapfham@allegheny.edu
43b2a84c0fe73c93ceb7f254b4170c28643ecb10
230b7714d61bbbc9a75dd9adc487706dffbf301e
/chromecast/browser/DEPS
3e66c3177be5a05fb256c3303081192f4947b4a6
[ "BSD-3-Clause" ]
permissive
byte4byte/cloudretro
efe4f8275f267e553ba82068c91ed801d02637a7
4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a
refs/heads/master
2023-02-22T02:59:29.357795
2021-01-25T02:32:24
2021-01-25T02:32:24
197,294,750
1
2
BSD-3-Clause
2019-09-11T19:35:45
2019-07-17T01:48:48
null
UTF-8
Python
false
false
2,779
include_rules = [ "+cc/base/switches.h", "+chromecast/activity", "+chromecast/common", "+chromecast/common/mojom", "+chromecast/graphics", "+chromecast/app/grit/chromecast_settings.h", "+chromecast/app/resources/grit/shell_resources.h", "+chromecast/external_mojo", "+chromecast/internal/shell/browser"...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
036d3ae65b17a405127ca6c4d11486cf11afa910
a7a54bd1ac92e6054a67f8db0bde14e7eb77c7d1
/2-8-while.py
57c639e3012ba3af3c15110a6082fbb25eb84521
[]
no_license
xjr7670/corePython
88bc2f1f05e293b8ce0b7aa8acb8abcf37a8252a
1692cfc327ea9a065ee83b6b63005a8bf53001ba
refs/heads/master
2021-01-21T12:58:56.683048
2016-05-18T08:36:46
2016-05-18T08:36:46
49,134,716
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python #l = [3, 4, 323, 75, 77] #s, i = 0, 0 #le = len(l) #while i < le: # s += l[i] # i += 1 #else: # print "The sum of the list is: %d" % s l1 = [] s, i = 0, 0 while i < 5: l1.append(int(raw_input("Please input num %d " % i))) s += l1[i] i += 1 else: print s
[ "xjr30226@126.com" ]
xjr30226@126.com
a3a7625bae792ab8a8fb2d1adbd674ea07b8ee54
28098d4c5dd8fae6884c8aeab5b48bcb525c070c
/kubeflow/notebooks/privacy/optimizers/gaussian_query.py
6d1ce55e1baaf57bc57e77ab61e99121f0c7be0f
[ "Apache-2.0" ]
permissive
AccidentalGuru/pipeline
acb9fcdb29a2f699ae739e5bfa725e5cadd63bcb
b6caffdc4af7a5337d7da5d6ff634e350552f379
refs/heads/master
2020-09-01T12:45:04.087894
2019-10-31T19:08:10
2019-10-31T19:08:10
218,960,252
1
0
Apache-2.0
2019-11-01T10:00:51
2019-11-01T10:00:51
null
UTF-8
Python
false
false
6,710
py
# Copyright 2018, The TensorFlow Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
[ "chris@fregly.com" ]
chris@fregly.com
0c2f9d9ff7a76d99ca7ce7574570c57e9b450d31
3b905a70eac14a02e97d3020848d53feaa04fc21
/trails/feeds/malwaredomainlistdns.py
f14788b652eec54567d4b4a9384a91c376ca822f
[ "MIT" ]
permissive
vaamonde/maltrail
fea589fd62a4817309ec91a0aab63331289ddd37
7b0bb737df28e96609766d553392b92304353584
refs/heads/master
2020-12-03T00:01:58.673773
2017-06-29T14:31:47
2017-06-29T14:31:47
95,976,924
4
0
null
2017-07-01T16:57:08
2017-07-01T16:57:08
null
UTF-8
Python
false
false
778
py
#!/usr/bin/env python """ Copyright (c) 2014-2017 Miroslav Stampar (@stamparm) See the file 'LICENSE' for copying permission """ import re from core.common import retrieve_content __url__ = "https://www.malwaredomainlist.com/hostslist/hosts.txt" __check__ = "malwaredomainlist" __info__ = "malware" __reference__ = "...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
0a13c9fea3bfde9218f10b1cffa6ae470eb407e2
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/nailgun/nailgun/test/integration/test_task_logging.py
a453bda326f9f5ca55f00b1f5a258355bc50c0f8
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
9,718
py
# -*- coding: utf-8 -*- # Copyright 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
7bfeffe8ee3eb9ff593d45d2bc210c033c0b71b7
ede51ad2fb248e6dcd1a64f7ee07f26a6164f3c9
/1011. World Cup Betting (20).py
764773d4415e725767cdf609bafece77558c00df
[]
no_license
czczup/PAT-Advanced-Level-Practise
feecbefe6ca6b7dc06fa9f343b46b5df4ee5f8ed
ab50447f712683eb82597bbf24e05f27c4244616
refs/heads/master
2021-01-21T17:09:58.245043
2020-05-04T14:34:07
2020-05-04T14:34:07
91,933,856
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
mul = 1.0 res = [] for i in range(3): W,T,L = [eval(item) for item in input("").split(" ")] max_num = max(W,T,L) mul *= max_num; #判断赔率最大场次 if max_num == W: res.append('W') elif max_num == T: res.append('T') else: res.append('L') #格式化输出 print(" ".join(res),end=' ') #案例...
[ "wztxy89@163.com" ]
wztxy89@163.com
6992067513bbc204818ca7b876029244238d50fa
e5e06ca46836d9bed0411794a65d98229a38b0bf
/apps/useradmin/src/useradmin/middleware.py
e749d6b0d12a39516e626b15676e2be075495ef6
[ "Apache-2.0" ]
permissive
petro-rudenko/hue
a3cae8abd59ad79a19c555e2709cb406145696e8
aae6109076571744ba23b7a9a3fc9fa7c0343a12
refs/heads/master
2021-01-17T13:47:37.875395
2014-11-25T16:48:41
2014-11-25T16:48:41
27,131,984
1
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "abraham@elmahrek.com" ]
abraham@elmahrek.com
3ff75c3b22c374e7ffa0fc4775543e2ff09f0e5b
1498148e5d0af365cd7fd16197174174a7fa9800
/t001102.py
cd1da195e1c12ade270361d27ea834d09433a69c
[]
no_license
feiyanshiren/myAcm
59a2b80fe7e02787defcb152eee3eae26135322a
00c7082d5143ddf87aeeafbdb6ce29da46dc8a12
refs/heads/master
2023-09-01T12:12:19.866447
2023-09-01T09:09:56
2023-09-01T09:09:56
148,560,672
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
try: while 1: n = int(input()) if (n - 2) % 4 == 0: print("Yes") else: print("No") except EOFError: pass
[ "feiyanshiren@163.com" ]
feiyanshiren@163.com
13f8af52840a901d9bacb99e16864858e894bcf7
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/src/sentry/web/frontend/create_organization.py
fd66856cf211e68c65a7a1d1901c6c0457cebedb
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
1,275
py
from __future__ import absolute_import from django import forms from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.utils.translation import ugettext_lazy as _ from sentry import features from sentry.api import client from sentry.web.frontend.base import BaseView cl...
[ "jeyce@github.com" ]
jeyce@github.com
901784dc40e27f3b02ff6edc7b7526bc300faecc
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/helpers/EffectMaterialCalculation.py
e5f47a451f6731ff97c1579cc84da15d8e4e76ca
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,217
py
# 2017.05.04 15:26:38 Střední Evropa (letní čas) # Embedded file name: scripts/client/helpers/EffectMaterialCalculation.py from collections import namedtuple import AreaDestructibles import BigWorld from DestructiblesCache import DESTR_TYPE_STRUCTURE from constants import DESTRUCTIBLE_MATKIND import material_kinds Surf...
[ "info@webium.sk" ]
info@webium.sk
670dec1ae23ff8026173a632e213382d8c033c77
82a63effc9886c749b349bb0672238dc4a68e66d
/2019/000_template/new_file_template.py
027ca3f60529ad1668802a494d39b87414f5846d
[ "BSD-3-Clause" ]
permissive
toru-ver4/sample_code
6250f4bf7b437b7ee394cbc198d48fd2de209c3f
58e9925af645e110e4a4a306001ba73599d0b192
refs/heads/develop
2023-07-22T00:52:48.568631
2023-07-15T07:03:00
2023-07-15T07:03:00
201,731,599
32
4
BSD-3-Clause
2023-09-10T14:46:41
2019-08-11T07:19:29
Python
UTF-8
Python
false
false
518
py
# -*- coding: utf-8 -*- """ Title ============== Description. """ # import standard libraries import os # import third-party libraries # import my libraries # information __author__ = 'Toru Yoshihara' __copyright__ = 'Copyright (C) 2019 - Toru Yoshihara' __license__ = 'New BSD License - https://opensource.org/lic...
[ "toru.ver.11@gmail.com" ]
toru.ver.11@gmail.com
8453fe3ab21fd7de3268a2fedb8d4e2eeb616478
ed823aaa73e9482576a7207c9c61953440540ee7
/PycharmProjects/Selenium-python/Selenium-python/selenium_webdriver/selenium-web.py
618321cffb9908c0553e8eca2af175131cace79f
[]
no_license
KavithaBitra1980/pycharm-selenuim
64b35ae4797e7ecb4644c06b0b12cdf629fcdf4d
132b90d94461eccad30d7181651ba532674f3da9
refs/heads/master
2020-04-02T14:09:50.261066
2018-12-01T21:29:02
2018-12-01T21:29:02
154,513,097
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from selenium import webdriver driver = webdriver.Chrome("C:\chromedriver_win32\chromedriver.exe") driver.set_page_load_timeout(20) driver.get("http://newtours.demoaut.com") print(driver.title) driver.save_screenshot("C:\Selenium-python\home.png") driver.maximize_window() driver.implicitly_wait(10) driver.close() driv...
[ "kavithabitra1980@gmail.com" ]
kavithabitra1980@gmail.com
72db12e3ec9ca747668129dd1393c2f3f6e8a686
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/swagger_client/models/i_neighbor_routes.py
069709389ed12314598f6fcc80a75afb308c8171
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
7,900
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
c22891947e1bfe1ef339d70152921d2a02cd2d29
a4df0ee67d0d56fc8595877470318aed20dd4511
/vplexapi-6.2.0.3/vplexapi/models/connectivity_status.py
cfee6d885bca2f949c285462f6e6a68db0b01756
[ "Apache-2.0" ]
permissive
QD888/python-vplex
b5a7de6766840a205583165c88480d446778e529
e2c49faee3bfed343881c22e6595096c7f8d923d
refs/heads/main
2022-12-26T17:11:43.625308
2020-10-07T09:40:04
2020-10-07T09:40:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
# coding: utf-8 """ VPlex REST API A defnition for the next-gen VPlex API # noqa: E501 OpenAPI spec version: 0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class ConnectivityStatus(object): """NOTE: This class i...
[ "anil.degwekar@emc.com" ]
anil.degwekar@emc.com
d52562da3a15351ab9abc91c557e187d8234f6f5
46f358b954d2d0067a2093ee9006e222f831a8f8
/great_expectations/expectations/core/expect_column_values_to_not_match_regex_list.py
c94c7f251641a8f65f2c1f272dd07a57f39bec5d
[ "Apache-2.0" ]
permissive
dhruvvyas90/great_expectations
b963aa99c683a0da3a9e2b5a1046d2a32f622c7b
fddf5336065c644558c528301e601b9f02be87e2
refs/heads/main
2023-01-28T15:26:55.331282
2020-12-03T18:52:14
2020-12-03T18:52:14
319,719,900
1
0
Apache-2.0
2020-12-08T18:02:33
2020-12-08T18:02:32
null
UTF-8
Python
false
false
6,671
py
from typing import Dict, List, Optional, Union import numpy as np import pandas as pd from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.execution_engine import ( ExecutionEngine, PandasExecutionEngine, SparkDFExecutionEngine, ) from ...core.bat...
[ "noreply@github.com" ]
dhruvvyas90.noreply@github.com
794cf1c107914c4b635f49909f946be71f8c88d4
849cd35166a93259c8bf84f001a3c40d9fe18b98
/Files/WRITE/1.py
e633302b7ba4331d980b1a15489ac8f7a5a625e4
[]
no_license
Larionov0/Group2-lessons
98c3d20d7532583ee66e766371235cfe888264c5
6426962e9b6766a9470ab1408b95486e63e4c2fa
refs/heads/master
2023-05-07T01:42:57.290428
2021-05-27T17:52:02
2021-05-27T17:52:02
334,012,422
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
file = open('Files/test.txt', 'wt') file.write('I love Python\n') file.write('I am sausage') file.close()
[ "larionov1001@gmail.com" ]
larionov1001@gmail.com
44a6ff908396ec89b613ff2e333d365ed8286df9
bfba01869f1530e64c10e280f5fd6d55be7f601d
/backend/v1/apps/lead/migrations/0013_auto_20190809_0332.py
6507aec0b2a7079c8b7790e24aceb7546c1ee4da
[]
no_license
pranavnkc/CRM
f9614c7f1354fcc19ec0897f049ffac22989b0fe
0ff7f7633151be07f2ad665061b979ada9d995c1
refs/heads/master
2023-01-07T19:17:58.731884
2020-03-10T05:16:34
2020-03-10T05:16:34
199,622,014
0
2
null
2022-12-31T02:21:15
2019-07-30T09:39:35
Python
UTF-8
Python
false
false
769
py
# Generated by Django 2.1.3 on 2019-08-09 03:32 from django.db import migrations, models import v1.apps.lead.models class Migration(migrations.Migration): dependencies = [ ('lead', '0012_auto_20190805_1602'), ] operations = [ migrations.RemoveField( model_name='lead', ...
[ "pranav.kumar@silicus.com" ]
pranav.kumar@silicus.com
f8215d0871ba5d9776162cde7fecf0c8bbd5deba
7a57b110969a51be4ac42ba6162498cef93a4e57
/Pygame Socketing and Networking/network.py
58b115ca5680a9bc3bab45a561ea5a389d78b9ab
[]
no_license
SuguruChhaya/python-tutorials
1e5ff35de61aff09198a484d61ef9e639c012921
5164f364759bf0e2524242e9c1a0e61e53e6f02c
refs/heads/master
2023-03-25T16:16:41.715129
2021-03-24T19:38:09
2021-03-24T19:38:09
280,743,505
1
0
null
null
null
null
UTF-8
Python
false
false
896
py
import socket class Network(): def __init__(self): self.client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.SERVER = socket.gethostbyname(socket.gethostname()) self.PORT = 5555 self.HEADER = 2048 self.FORMAT = 'utf-8' self.ADDR = (self.SERVER, self.PORT) ...
[ "suguruchhaya@gmail.com" ]
suguruchhaya@gmail.com
397c30298d1a515e8f91637cd103d40dc149a3e1
cfe6a30af775f3bfe8269c72823cea977fe199e2
/kunquat/tracker/ui/views/keyboardmapper.py
a8e1571577893e6b49ee1de6be1c0a08f313d2b6
[ "CC0-1.0" ]
permissive
cyberixae/kunquat
e062cb5d6c4d972c44535288f1b110b53b2e6564
06ae72b2c1519686cc510ce887d9d45a5c3fa3a3
refs/heads/master
2020-12-11T01:47:41.246863
2014-07-22T09:24:15
2014-07-22T09:24:15
14,469,142
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
# -*- coding: utf-8 -*- # # Author: Tomi Jylhä-Ollila, Finland 2014 # # This file is part of Kunquat. # # CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ # # To the extent possible under law, Kunquat Affirmers have waived all # copyright and related or neighboring rights to Kunquat. # from PyQt4....
[ "tomi.jylha-ollila@iki.fi" ]
tomi.jylha-ollila@iki.fi
c9a7b4533b7d7e18b0fa8ed8783fc15439ba61c6
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321191632.py
36254b94f62868b0c44170a79fcf9e9db9605dbc
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
import os import subprocess import re from datetime import datetime import time print("Test for 5 0 10") for i in range(0, 10): process = subprocess.Popen(['./algo_tabou.exe', '5', '0', '10', 'distances_entre_villes_10.txt'],stdout=subprocess.PIPE,stderr=subprocess.PIPE) stdout, stderr = process.communicate()...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
9a23e74edaa4f91be348a2547d5d5922fe780b2a
54489f723841157ff6f9d3aa3d9d9590f27d2ed5
/snake_and_ladder/snake_and_ladder.py
09fdff3330875dc66cb2441c11dadcde13537298
[ "MIT" ]
permissive
Ash515/awesomeScripts
8126751d9cd47564e6d76726cbde38a4291cf223
3a2c0888207aca044e03ec9f387035e14879fd15
refs/heads/master
2022-12-23T09:42:33.998020
2020-10-05T11:50:18
2020-10-05T11:50:18
301,373,870
8
0
MIT
2020-10-05T10:40:52
2020-10-05T10:40:52
null
UTF-8
Python
false
false
4,995
py
import time import random import sys # Just for effects. Add a delay of 1 second before performing any action SLEEP_BETWEEN_ACTIONS = 1 MAX_VAL = 100 DICE_FACE = 6 # snake takes you down from 'key' to 'value' snakes = { 8: 4, 18: 1, 26: 10, 39: 5, 51: 6, 54: 36, 56: 1, 60: 23, 75: ...
[ "noreply@github.com" ]
Ash515.noreply@github.com
f998b957eaf7ea923e693f5df57cbf8c431dee32
da80bdbd42a38f44a23d0064a7b394b03f642d46
/tsjob/cloudlogin.py
2eae78b4037bd74014f09e66c79018e6f2962c4f
[]
no_license
y00273676/music_manager
14929920aed7130a7abac8cce1c1fcbe36a3d52d
1403ba692ed8a484ebab915ec1b2932318fec0b2
refs/heads/master
2021-04-03T07:52:28.945476
2018-03-13T11:06:12
2018-03-13T11:06:12
125,038,212
0
0
null
null
null
null
UTF-8
Python
false
false
6,989
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import time import json import logging import traceback import threading #import hashlib from lib.http import request_json from lib.des import DESEncrypt from lib.mc import _defaultredis as redis_cli from control.ktvinfo import KTVInfo from lib.common import gen_sign_for_k...
[ "yg@ygdeMacBook-Pro.local" ]
yg@ygdeMacBook-Pro.local
9f990c55006ea4a522690b34548441ea45eff515
9bcf722780efec7994bebe2bb476b0784b0a353a
/151-Reverse-Words-in-a-String/solution.py
c4fb703211a4b40fab84dc6719ebb47fc71b8d83
[]
no_license
wenjie1070116/Leetcode
a1429810513276b845bfb36284bd747308c015b3
5f5791b1e7eefa0205cbb6cb8ae2d5320ffcd916
refs/heads/master
2020-04-06T06:50:23.762233
2016-08-19T19:36:15
2016-08-19T19:36:15
58,875,500
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ s = s.strip() if not s: return s words = s.split(' ') onlywords = [] for i in xrange(len(words)): if words[i] != '' and words[i] != ' ': ...
[ "wenjie1070116@gmail.com" ]
wenjie1070116@gmail.com
4e8b7cadd4d24172bf42c4d6346d6408063b5d24
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2631/60670/290607.py
447f3b0f35397827598d4a7a3194196dcb5262ac
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,365
py
n,g=map(int,input().split()) change=[] for i in range(0,n): change.append(list(map(int,input().split()))) change=sorted(change,key=lambda x:x[1]) cowNo={} num=0 for i in range(0,n): if not change[i][1] in cowNo: cowNo[change[i][1]]=num num+=1#为牛重新编号,从0开始 change=sorted(change,key=lambda x:x[0]) m...
[ "1069583789@qq.com" ]
1069583789@qq.com
554adf1b9c9187a3bf11eee305a42516b1e7d6f2
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_pipeline_operations.py
b82684d92cf50346e9c1cc25371546973dc39111
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
46,536
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
33d9ab11e5e2d8ef1e64cadbb869025837adb522
4ade586eb178b3cfb80f4fcabef023b1f1001d0c
/tips/ビット演算/maskBit.py
645e7091a5cc390bb99135a73adaf4ccf5770923
[]
no_license
TakeruEndo/atcoder
e3c5ef8ca802aa4995c471deca7b25daf56a06ef
5c812377096ae255b2fa51b3a29c1b2ea686ad57
refs/heads/master
2022-06-02T08:05:55.003353
2020-05-02T08:59:32
2020-05-02T08:59:32
234,338,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
BIT_FLAG_DAMAGE = 1<<0 BIT_FLAG_DOKU = 1<<1 BIT_FLAG_MAHI = 1<<2 BIT_FLAG_SENTOFUNO = 1<<3 # atackしてダメージを受ける MASK_ATTACK = BIT_FLAG_DAMAGE # punchしてダメージをうっけて、麻痺にもなる MASK_PUNCH = BIT_FLAG_DAMAGE | BIT_FLAG_MAHI # defeatして相手のhPを0にする MASK_DEFEAT = BIT_FLAG_DAMAGE | BIT_FLAG_SENTOFUNO #「毒」と「麻痺」を回復させる: ~MASK_DOKU_MAHI をかけ...
[ "sitentaduro1118@gmail.com" ]
sitentaduro1118@gmail.com
55537fdecc9e0e9e7fb9da9d981e1d2948ae346a
3546dd5dbcffc8509440c820faa7cf28080c5df7
/python35/Lib/site-packages/win32/Demos/service/nativePipeTestService.py
b0a7a0ce81b0dfea04e62cbec765eece10358476
[ "Apache-2.0", "MIT", "BSD-3-Clause", "LGPL-2.1-only" ]
permissive
Matchoc/python_env
55ad609c8270cc6148eda22d37f36709d73b3652
859d84d1717a265a4085ad29706b12c19c62d36f
refs/heads/master
2022-02-13T11:05:51.825544
2020-06-05T02:42:08
2020-06-05T02:42:08
75,793,921
0
1
Apache-2.0
2018-12-14T07:30:28
2016-12-07T03:06:13
Python
UTF-8
Python
false
false
2,144
py
# This is an example of a service hosted by python.exe rather than # pythonservice.exe. # Note that it is very rare that using python.exe is a better option # than the default pythonservice.exe - the latter has better error handling # so that if Python itself can't be initialized or there are very early # impor...
[ "matchoc@hotmail.com" ]
matchoc@hotmail.com
6ab6c2922c674149ca57e89552d7c368fdeee3a1
bd917caaa415ec960537e180a016c05e294e898d
/tickets/campaigns/migrations/0007_liqpaydata_timestamp.py
a07d118235146e1eb780ec305154a9ddf5ff81b1
[]
no_license
itkpi/tickets
e58db515bbc2e58df5d3577f4622ae27699beaf4
60d44880a2ae07da132bc3abbe6f0d0fd1d48fff
refs/heads/master
2020-04-06T04:03:07.151342
2016-06-25T17:24:34
2016-06-25T17:24:34
57,378,935
2
1
null
2016-06-07T11:34:41
2016-04-29T11:16:09
Python
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-30 09:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campaigns', '0006_auto_20160430_0901'), ] operations = [ migrations.AddField...
[ "roman.rader@gmail.com" ]
roman.rader@gmail.com
c30d5aa5071f4bcf5f782c8f344fcb8b2fb322ee
d1615f43d18d70807daa9f48ead083d54ebd619d
/MACS2/OutputWriter.py
a2cc81efb4ba4ce2799244327daa591510fe4473
[]
no_license
jsh58/MACS
b2a2a533327d16b7b9e7df76406cd1e2425ea7fa
93ef6f5bcfb021047f77c5def2975de339d354cc
refs/heads/master
2021-09-13T13:35:01.217408
2018-04-02T20:18:31
2018-04-02T20:18:31
125,561,481
8
2
null
2018-03-16T19:34:00
2018-03-16T19:32:59
Python
UTF-8
Python
false
false
10,994
py
# Time-stamp: <2012-10-02 17:14:25 Tao Liu> """Module Description Copyright (c) 2008,2009,2010,2011 Tao Liu <taoliu@jimmy.harvard.edu> This code is free software; you can redistribute it and/or modify it under the terms of the BSD License (see the file COPYING included with the distribution). @status: experimental...
[ "vladimir.liu@gmail.com" ]
vladimir.liu@gmail.com
0ad7c773b18cea3b8305f7416d853158ab07b4b5
b1c423170f2d897ef88ab93e17830b6fff91b4e3
/EasyPython/drSourceBrowserGoTo.py
d5bd26d8962cfd7cda7ba797280edca2c882c1a2
[]
no_license
walker8088/easyworld
55031dd0862b7bc0ffc8c5093875a93e935933e6
e6aaf18430aee1457f5d8228fb300cf4323bcb7f
refs/heads/master
2021-01-02T09:34:59.604820
2011-01-20T03:32:16
2011-01-20T03:32:16
33,644,143
0
0
null
null
null
null
UTF-8
Python
false
false
4,669
py
# Programmer: Daniel Pozmanter # E-mail: drpython@bluebottle.com # Note: You must reply to the verification e-mail to get through. # # Copyright 2003-2007 Daniel Pozmanter # # Distributed under the terms of the GPL (GNU Public License) # # DrPython is free software; you can redistribute it and/or ...
[ "lidonglin8088@gmail.com@c3cacd82-1c91-3bdd-8267-0dbd049bf731" ]
lidonglin8088@gmail.com@c3cacd82-1c91-3bdd-8267-0dbd049bf731
2bd07386a908811ce4aa8de7d0c5806b92240744
c97a28d9615720d31f592e2338c6e00cebeed9eb
/catkin_ws/build/ros_object_recognition/src/binary_detector/catkin_generated/pkg.develspace.context.pc.py
47da92425adf36e798cadd9bca47687bbd405223
[]
no_license
gowtham212/ROS-Realsense
68a6612d4763a29a2d297f69b84cc33145c60932
10eec2685d9f2df217dffe038930657c4b0718fa
refs/heads/main
2023-05-13T20:16:45.125929
2021-06-01T14:00:25
2021-06-01T14:00:25
372,839,952
1
0
null
null
null
null
UTF-8
Python
false
false
736
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/bit/catkin_ws/devel/include;/home/bit/catkin_ws/src/ros_object_recognition/src/binary_detector/include".split(';') if "/home/bit/catkin_ws/devel/include;/home/bit/catkin_ws/src/ros_object_recogni...
[ "gowthamg212@gmail.com" ]
gowthamg212@gmail.com
1b66f1ed1016a69999723c816015ca8dc8898d8a
7b9527f6a66bf544071c07498163883ae33ff9ec
/python/1010.py
73efa60359b7d9386d39d79626b666e7065f8bcd
[]
no_license
rhyun9584/BOJ
ec4133718934e59689cdcc0d3284bad9a412dc7a
f4c651da7c4840595175abf201d07151d4ac9402
refs/heads/master
2023-08-31T21:29:07.550395
2023-08-25T16:53:53
2023-08-25T16:53:53
225,122,352
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
import sys import math input = sys.stdin.readline T = int(input()) for _ in range(T): N, M = map(int, input().split()) print(math.comb(M, N))
[ "rhyun9584@naver.com" ]
rhyun9584@naver.com
66a5a10e5a480cf26fae29ff8371ab195621ddc0
8b86f7809b18de55fddd55800f932a20725132ea
/interviews/BST_nearest_val/test_BST_nearest_val_BS.py
cf0e5ed86ae7003f2c9cd73e8f2f80d03ece437b
[ "MIT" ]
permissive
vinozy/data-structures-and-algorithms
75f0358167a2c6566a3a196aa9cafd33d2a95b16
0485b95f5aabc0ee255cd7e50b48a6ccec851e00
refs/heads/master
2022-02-17T14:21:06.412047
2019-08-17T04:23:09
2019-08-17T04:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from .BST_nearest_val import nearest_val as NV def test_BST_nearest_val_example_one(): data = sorted([1, 3, 6, 4, 7, 8, 10, 14, 13]) assert NV(data, 9) == 10 def test_BST_nearest_val_example_two(): data = sorted([8, 3, 1, 6, 4, 7, 10, 14, 13]) assert NV(data, 13) == 13 def test_BST_nearest_val_exa...
[ "beverly.pham@gmail.com" ]
beverly.pham@gmail.com
1602373624ded788f8bf3dc4ef3d2835d82bd74b
92478ea2d4a60c4f2d62774e5d8c6e68b746a445
/pyHotAD/src/pyHotDraw/Core/pyHAbstractEditor.py
4fbfc1833eff08682114c1d50f146c4b23785ebc
[]
no_license
franciscodominguezmateos/pyHotDraw
83d2b15b4b8c0e3599a8c3fb6d42a3f838259e22
c1d38876783f943f7526665d7bae62f515f8809c
refs/heads/master
2021-06-08T21:37:05.443986
2021-02-26T11:29:50
2021-02-26T11:29:50
55,973,734
0
0
null
null
null
null
UTF-8
Python
false
false
11,332
py
''' Created on 25/03/2013 @author: paco ''' from MiniTensorFlow.figures.Nodes.ConstantNodeFigure import ConstantNodeFigure from MiniTensorFlow.figures.Nodes.maxNodeFigure import maxNodeFigure from MiniTensorFlow.figures.Nodes.mulNodeFigure import mulNodeFigure from MiniTensorFlow.figures.Nodes.reluNodeFigure import re...
[ "francisco.dominguez@urjc.es" ]
francisco.dominguez@urjc.es
71640c156a11e628242c129c0a745eb279af859e
e2b6b77877be856e2059999008b0041e9e70a0dd
/SWIG_24/python/structural.py
e5ee5caf413e59344bbb67aa074091314b28c176
[]
no_license
yosefmaru/libstruct
6a2e7dd70ba3f807025972a7e68791d1872ca18c
a4052ee47ffbd28978af602a690d1ecc04bf4058
refs/heads/master
2021-07-18T03:14:06.587819
2017-10-26T20:43:56
2017-10-26T20:43:56
105,939,495
0
0
null
null
null
null
UTF-8
Python
false
false
37,728
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path impo...
[ "you@example.com" ]
you@example.com
ea43a5f8aeeeff3e20e7a99e3b25f94b8089c0ba
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Quantization/trend_ConstantTrend/cycle_7/ar_12/test_artificial_1024_Quantization_ConstantTrend_7_12_0.py
3e40603c8b565b75e353d4e3c924b92b9ecfab95
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
277
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 7, transform = "Quantization", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
541f9603f58b97f82dcbb2c35f784ad09eb444e2
404728244681a773f55be7f7b0c4933f439f3106
/walis/api/handler/rst/bankcard.py
784790d0a300af2f38cead1a5afdbad84c053790
[]
no_license
limingjin10/walis
c4e22db27d964cefa068883edf979cabfedd74d6
198a4e94992c1790b7a9f2cd34b1686fefc87845
refs/heads/master
2021-05-29T04:50:34.091849
2015-06-15T14:19:23
2015-06-15T14:19:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,208
py
#! /usr/bin/env python2 # -*- coding:utf-8 -*- from __future__ import absolute_import, print_function, division from flask.ext.login import current_user from walis.service.rst import ( bankcard as bankcard_base, restaurant as rst_base, ) from walis.service.user import user as user_base from walis.model.walis...
[ "shaofeirong2006@126.com" ]
shaofeirong2006@126.com
45f93c3170a26d6c847f68c3915c896d2a6ca702
51888119e10cdff12dafb060a54824632edccf3f
/Folders/Python/myTransform.py
23e4e1712852ab74882eadfa1ff936c8a21121dc
[ "BSD-2-Clause" ]
permissive
kuchinal/lamakaha
b64511ad8c6d2b36da5a84a266b9e7a69acd3106
24e3b2ff53bcac2ad1c0e5a3b9afd4593d85f22d
refs/heads/master
2023-09-01T17:55:56.551183
2023-07-31T19:32:04
2023-07-31T19:32:04
182,849,747
0
0
null
2021-09-10T06:34:22
2019-04-22T19:00:02
Python
UTF-8
Python
false
false
6,267
py
import nuke, nukescripts def TrackToTransform(): ###### checking if we are connected to the Tracker node try: sDude = nuke.selectedNode() sDudeLabel = sDude['label'].evaluate() sDudeLabel = sDudeLabel.replace("none ","MM").replace("_","") sDudeName = sDude['name'].value() ...
[ "lamakaha@gmail.com" ]
lamakaha@gmail.com
25eb3e52de4fb57dc2f45c8c83e943caee93f368
d06046e416d68652729c6e0c3e6937af8262cbfb
/model/frcnn_test.py
8b06157de8fdc22fb54398e68532ada2c018af1b
[]
no_license
xixiareone/OCR_TTS-project
bce9b00c30a5b2b5352823514d492bc6e5451256
4327c92395c99a424ffb980994a8e2667fc4b8ea
refs/heads/master
2023-05-25T16:46:15.272837
2021-06-10T14:21:13
2021-06-10T14:21:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,103
py
# 패키지 Import, custom utils Load import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torchvision from utils import * # Sample Data, Feature Extraction image = torch.zeros((1, 3, 800, 800)).float() image_size = (800, 800) # bbox -> y1, x1, y2, x2 bbox = torch.Floa...
[ "noreply@github.com" ]
xixiareone.noreply@github.com