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
1351029e6ba334bc653cf8177eeff24a3bbf87b9
45dc7ea9f9fc029b67b3ed8d44fc85baa72dfd1d
/pandaspractice3.py
bf5df0c8267d6a9ab69b5664021551aec86ddeda
[]
no_license
OrhanCinar/python-practice
18d9555b6f577b0c5697d96d6957fe4582dc61ad
1cb9baf98c67e8bad82a0e9f16c981ca6a3a4440
refs/heads/master
2020-07-07T04:19:55.312006
2020-02-16T17:44:18
2020-02-16T17:44:18
203,246,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.read_csv("data/Minimum Wage Data.csv", encoding="latin") gb = df.groupby("State") gb.get_group("Alabama").set_index("Year") act_min_wage = pd.DataFrame() for name, group in df.groupby("State"): if act_min_wage.empty: ...
[ "orhancinar35@gmail.com" ]
orhancinar35@gmail.com
ff05e690230c86513703c1fb8fcbceec25c7e357
fd7598754b87536d3072edee8e969da2f838fa03
/chapter11_mean.py
10a5f0fbfac6078e3f9635e6a86beb98d008f13b
[]
no_license
dorabelme/Python-Programming-An-Introduction-to-Computer-Science
7de035aef216b2437bfa43b7d49b35018e7a2153
3c60c9ecfdd69cc9f47b43f4a8e6a13767960301
refs/heads/master
2020-05-02T23:19:44.573072
2019-03-28T21:27:20
2019-03-28T21:27:20
178,261,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
from math import sqrt def getNumbers(): nums = [] # start with an empty list # sentinel loop to get numbers xStr = input("Enter a number (<Enter> to quit) >> ") while xStr != "": x = float(xStr) nums.append(x) # add this value to the list xStr = input("Enter a number (<Enter> to quit) >> ") return nums ...
[ "contact.dorabelme@gmail.com" ]
contact.dorabelme@gmail.com
d663d76c5c931c569136ec2efdbea7063b3dc92a
ea522b496372174216fba2aad29bf231a28cc819
/QuikLab/.svn/pristine/ad/add994053ea639268b892ba9c0755f5217721117.svn-base
450b2a5b18b9a6c2df89cfee6754b721cf997f50
[]
no_license
gatdotZF/svn192.168.1.5
15fdf074042b0a1e5e8c795d3c340080c04ba496
196bd4c83b12e3476c269057a4ef3b730a967d9e
refs/heads/master
2020-07-26T17:45:16.259037
2019-09-16T06:36:35
2019-09-16T06:36:35
null
0
0
null
null
null
null
GB18030
Python
false
false
3,459
#! /usr/bin/env python #coding=GB18030 from pywinauto import application from pywinauto import mouse as ms import auto_lib as pywin import SendKeys import time import os app=pywin.Pywin() #添加客户端接口 def add_TCP_Client_Interface(window_name): app.connect(window_name) app._wait_child(window_name, u'添加接口', 'ready'...
[ "994430058@qq.com" ]
994430058@qq.com
e0b089fd82815c1cf94829106bbaa11934353e5b
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/zha/climate.py
cf868ef8b7b8884efbcf381c6dc5ecc33d31a531
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
29,216
py
"""Climate on Zigbee Home Automation networks. For more details on this platform, please refer to the documentation at https://home-assistant.io/components/zha.climate/ """ from __future__ import annotations from datetime import datetime, timedelta import functools from random import randint from typing import Any f...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
299670c49156b47f2ac4ac04f6003b88e17af891
69206c93927f9a60e8f02a1f8c743efdd1cf3039
/rl/algorithms/ecritic_quantile.py
32a2240b73aa711f19c2a1fbc9796299deb4acfb
[ "MIT" ]
permissive
Luck1ess/catalyst
b7a9f2ffb84669b7b0539ae46028dae5f9ce4296
2a4d18857e693ca1fb46ee28952b9db2f822ff50
refs/heads/master
2020-04-15T03:55:13.322065
2019-01-06T19:13:09
2019-01-06T19:13:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,039
py
import torch from catalyst.rl.algorithms.utils import quantile_loss from catalyst.rl.algorithms.ecritic import EnsembleCritic, \ prepare_for_trainer as base_prepare_for_trainer, \ prepare_for_sampler as base_prepare_for_sampler class QuantileEnsembleCritic(EnsembleCritic): def _init(self, **kwargs): ...
[ "scitator@gmail.com" ]
scitator@gmail.com
6a0e07725743e839675dc6bf12c78da00a3e23b8
a0445714a6532a3b67d9b46af81b81462cd0dca8
/sgf/dep_features.py
b809d7eb4a05e6c01d004e9c4e503bd23d51e817
[]
no_license
shixing/SGF
82d27d08458818b0c95106dfa43d34f28285156c
da8cae790fded4d0f03706c32e28299b28042ce3
refs/heads/master
2020-12-24T15:50:22.303722
2017-04-10T01:09:52
2017-04-10T01:09:52
31,988,461
1
1
null
null
null
null
UTF-8
Python
false
false
1,464
py
# the additional features that can be derived from DEP # python penn_features.py s1 ../data/v5/penn/penn.txt # abspos # relpos # # # import re import sys import os invalid_number = 12345 def abspos(fn,fnwords, to_print=True, relative=False): f = open(fn) fwords = open(fnwords) p = re.compile(r'.+\(....
[ "shixing19910105@gmail.com" ]
shixing19910105@gmail.com
f76b8794972c2d777cfaaa82506aa9f477583d18
27448b3ca14ec3e33ea730a504f91b0031476d1b
/dpr/settings.py
8e69531a9504e0719fc557a7f221207b80642f4c
[]
no_license
vineel2014/djg2018
10bcf8c39a21705dedd84d9fdd95589ffdbccf91
43797ce87d2afad3ab42407cc35ca28587a9ac49
refs/heads/master
2020-03-28T12:10:31.068387
2018-09-11T11:26:55
2018-09-11T11:26:55
148,275,486
0
0
null
null
null
null
UTF-8
Python
false
false
3,259
py
""" Django settings for dpr project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
[ "vineel2006@gmail.com" ]
vineel2006@gmail.com
c4ad82b0c06b34904a24bf81bd90c4f24178e29e
0ca21d1d60bb9dbe70fb55b7ebace0510695d489
/examples/blender/floating.py
4fb57ec2b854325b1b0123341d07f097822d6858
[ "Apache-2.0" ]
permissive
colinmford/coldtype
fa5cc65ac318ee22138857ea60d964ca4ecb8267
8462dbd5f65f3ef8f3cbc8662a866b7e20ec5985
refs/heads/main
2023-07-02T12:34:18.700566
2021-08-06T03:40:21
2021-08-06T03:40:21
393,237,997
0
0
Apache-2.0
2021-08-06T03:35:41
2021-08-06T03:35:40
null
UTF-8
Python
false
false
1,128
py
from coldtype import * from coldtype.blender import * from noise import pnoise1 tilda = Font.Cacheable("~/Type/fonts/fonts/Tilda Grande.otf") @b3d_animation(timeline=240) def floating(f): def square(x): return (DP() .record(StSt("Floating", tilda, 500, wght=f.ad...
[ "rob.stenson@gmail.com" ]
rob.stenson@gmail.com
f428b07dd80d74f9ddbc899e8339d90b05e1ef5a
52585c8d95cef15199c18ba1a76899d2c31329f0
/04Python workbook/ch4function/randomPlate95.py
d314903851074fbfebf99ee1140b46f2ba34afd0
[]
no_license
greatabel/PythonRepository
c7a952257303a21083ed7d535274c339362bd126
836fcdd3f5c1b150122302685104fe51b5ebe1a3
refs/heads/master
2023-08-30T15:56:05.376391
2023-08-26T03:34:14
2023-08-26T03:34:14
29,392,599
33
6
null
2023-02-14T13:33:21
2015-01-17T13:54:58
Python
UTF-8
Python
false
false
677
py
from random import randint import string, random def randomPlate(): result = "" # for i in range(3): # print(ord('A'),ord('z')) # randomChar = chr(randint(ord('A'),ord('z'))) # print('randomChar=',randomChar) # result = result + randomChar result = ''.join(random.choice(string.ascii_lowercase) for x in r...
[ "greatabel1@126.com" ]
greatabel1@126.com
0bc67a88a9c7aee1384386c5689247590868335c
987697512ce9b8d7c29bfd2f18d5aec0261a6863
/数组中的Kdiff数对.py
0c7e5c644352563c8474638d72ea49ee19709314
[]
no_license
Luckyaxah/leetcode-python
65e7ff59d6f19312defdc4d4b4103c39193b198a
2b9c78ba88e7bf74a46a287fb1914b4d6ba9af38
refs/heads/master
2023-06-05T12:15:31.618879
2021-06-22T13:05:30
2021-06-22T13:05:30
262,287,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
class Solution: def findPairs1(self, nums, k: int) -> int: if k == 0: nums1 = [] nums2 = [] for num in nums: if num in nums1: if num not in nums2: nums2.append(num) continue el...
[ "math_leqi@163.com" ]
math_leqi@163.com
707c28537f37df0ebfedaef7abed0d1aba010e5c
c88e476567f651de989840dd5f74354ee0a95826
/Day-15/FirstProject/FirstProject/settings.py
0ee46f367ec6d557ea9374084dee448b55a21c83
[]
no_license
InduPriya-pokuri/Django-Internship-24-05-2021
5e5c2f4c004482938fbd196a6c07f381748eede5
d4daf040aaef484a1f9c3025441d66baa9c16e44
refs/heads/main
2023-06-13T06:07:51.968401
2021-07-12T12:45:52
2021-07-12T12:45:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
py
""" Django settings for FirstProject project. Generated by 'django-admin startproject' using Django 3.0.5. 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 ...
[ "rravikumar34@gmail.com" ]
rravikumar34@gmail.com
b78bae86f5ffd69fd4781f956f00fb9f32fd7da0
33787153c4f85cb626cf16e0e4d40d5970df2871
/reservation_system/order/models.py
397334ae26349d123a3fbbfd126b8418bb81b361
[]
no_license
nazaninsbr/E-Commerce-Website
93e14576d69618f749d7fd6f19b6b1b989fa47a8
46bed8c58f4adac37dc4ddd881f57e694961b9b2
refs/heads/master
2021-09-22T14:20:56.940950
2018-09-11T05:01:23
2018-09-11T05:01:23
125,370,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
from django.db import models from shop.models import Product class Order(models.Model): first_name = models.CharField(max_length=60) last_name = models.CharField(max_length=60) email = models.EmailField() address = models.CharField(max_length=150) postal_code = models.CharField(max_length=30) ...
[ "nazanin.sabrii@gmail.com" ]
nazanin.sabrii@gmail.com
aab8ab8e029a23546b30d08b7e1b292a72ead458
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp95_7000.py
ef83b06e743f8b34148b92df6f0d36bcbb93ddf5
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,902
py
ITEM: TIMESTEP 7000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 2.1361732530602140e-01 4.6986382674685530e+01 2.1361732530602140e-01 4.6986382674685530e+01 2.1361732530602140e-01 4.6986382674685530e+01 ITEM: ATOMS id type xs ys zs 8 1 0.119241 0.0568324 0.0607731 35 1 0.0587353 0.126536 0.0594604 130 1 0.06005...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
9083a3f0201e37afba1d43d4a688e847d5da5ef6
b9d7194bb50a01e7e56d19ba2f3c048084af54b5
/_OLD_/predict.py
80e1120aa367788daba2bbb51deb04fa6b11d7de
[]
no_license
BernardoGO/TCC---2017
099e72d788974446b58fe5f409a2df25e3613cc5
75025e095956624470c22d8f3118441d5c28bdd7
refs/heads/master
2018-12-04T10:53:07.809161
2018-09-06T04:59:30
2018-09-06T04:59:30
64,803,675
0
0
null
null
null
null
UTF-8
Python
false
false
2,704
py
from keras.models import load_model import numpy as np import cv2 from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense from keras import backend as K img_width, img_height =...
[ "bernardo.godinho.oliveira@gmail.com" ]
bernardo.godinho.oliveira@gmail.com
0032170ba942817d644801da099ffcf09fd8ddfd
f693c9c487d31a677f009afcdf922b4e7f7d1af0
/biomixer-venv/lib/python3.9/site-packages/pylint/pyreverse/writer.py
0d80bb9ca6bba7ac991738b89ae91c0827685875
[ "MIT" ]
permissive
Shellowb/BioMixer
9048b6c07fa30b83c87402284f0cebd11a58e772
1939261589fe8d6584a942a99f0308e898a28c1c
refs/heads/master
2022-10-05T08:16:11.236866
2021-06-29T17:20:45
2021-06-29T17:20:45
164,722,008
1
3
MIT
2022-09-30T20:23:34
2019-01-08T19:52:12
Python
UTF-8
Python
false
false
8,263
py
# Copyright (c) 2008-2010, 2013-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2014 Arun Persaud <arun@nubati.net> # Copyright (c) 2015-2018, 2020 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Florian Bruhin <me@the-compiler.org...
[ "marcelo.becerra@ug.uchile.cl" ]
marcelo.becerra@ug.uchile.cl
95b4a34b2ed96d23858c6b86cf1c77b909bb6b6a
a928a2b688d9f244f24654be3854910182dc6e48
/odps/df/expr/core.py
e10cf47802d4ff636cbc68c87275c1c130ab607a
[ "Apache-2.0" ]
permissive
tradaniel/aliyun-odps-python-sdk
42d0953f3709d98d54417fc8b8d0bd5d0461782e
55af9fadd356cdd7e696802b67104aa59af92c9d
refs/heads/master
2021-01-17T18:34:26.413993
2016-04-21T08:47:05
2016-04-21T08:47:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,977
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 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...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
32b34f5fa95977e22d1702002f352ef9dd687d37
eba1aad480590794cb2b9ae1c5fa0dbcf951e540
/ihome/libs/test2/CCPRestSDK.py
c1a9ad00964c9a7a089ae94ea607bd90f210d4e6
[]
no_license
KingsleyDeng/Flask_iHome
f7f7c2e9f96a58525839d670536d9fbcad9c1998
406d544e29e00fa4f500cd6b838e08f3a9db5a94
refs/heads/master
2022-07-08T01:40:47.007647
2020-05-17T14:10:31
2020-05-17T14:10:31
257,260,436
0
0
null
null
null
null
UTF-8
Python
false
false
30,522
py
# -*- coding: UTF-8 -*- # Copyright (c) 2014 The CCP project authors. All Rights Reserved. # # Use of this source code is governed by a Beijing Speedtong Information Technology Co.,Ltd license # that can be found in the LICENSE file in the root of the web site. # # http://www.yuntongxun.com # # An additional inte...
[ "460556933@qq.com" ]
460556933@qq.com
feef9c5ba615b4b9dcecd7fff3e4cc41f64f93dd
fffb5df278f4818b920355348d9f1f33f61de963
/class-03/demo/unpacking.py
dd96c762878d6dd2ee7731090735ab82e27569af
[]
no_license
AbrarAlzubaidi/amman-python-401d7
c78f192a374e0fa67ec560fb5fcf562b293e8347
cd9260f64831644b70ef2488a460335205576206
refs/heads/main
2023-09-05T18:35:12.798491
2021-11-16T10:56:24
2021-11-16T10:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
def my_sum(*args): result = 0 for x in args: result += x return result if __name__=="__main__": nums = {3,7,5,6} print(my_sum(2,7,3,9,0,5)) print(my_sum(4,5)) print(my_sum(*nums)) def fun(*args): # for arg in args: # print(arg) print(type(args)) fun(3,5,6,7,1,2,...
[ "ahmad.alawad.sf@gmail.com" ]
ahmad.alawad.sf@gmail.com
c34bc82f488fd74b79bf6b81149aed1faecb3773
f76862c7dfcc08a495927eae3f4a995e416b948c
/amulet_map_editor/programs/edit/api/ui/goto.py
fcf1b3f13fc706540abb09b08cf4be37332a3406
[]
permissive
Ex-Ark/Amulet-Map-Editor
0bc1e6ac07349736114ea80e6c3ee2233863366e
24704b91749727e8bce25aecf41d39f4b0eba433
refs/heads/master
2023-03-02T23:06:46.201874
2021-02-14T12:31:59
2021-02-14T12:31:59
221,939,739
0
0
MIT
2019-11-15T14:26:14
2019-11-15T14:26:14
null
UTF-8
Python
false
false
1,041
py
from typing import Optional, Tuple import wx from amulet_map_editor.api.wx.ui.simple import SimpleDialog def show_goto( parent, x: float, y: float, z: float ) -> Optional[Tuple[float, float, float]]: dialog = SimpleDialog(parent, "Teleport", wx.HORIZONTAL) x_text = wx.StaticText(dialog, label="x:") x ...
[ "james_clare1@yahoo.co.uk" ]
james_clare1@yahoo.co.uk
d0c5381216142e97dba4bfafc05666b7a2e118ad
5e261778d66e934147061699e96a68e8e14f55a2
/fuleon_egl/apps.py
ccf8d0206c989d1dbc6fedb4e690b5535e953406
[]
no_license
maany/fuleon_egl_cern
336be2ea64cbf4b5d8b01fd3b2d8abdcf82a3bce
c46926be839e149ad7fa3a6be1fcca6b5746dd85
refs/heads/master
2022-12-10T07:04:26.558095
2019-10-01T14:29:14
2019-10-01T14:29:14
199,680,187
0
0
null
2022-12-08T05:57:12
2019-07-30T15:35:41
Python
UTF-8
Python
false
false
88
py
from django.apps import AppConfig class FULEON_EGL(AppConfig): name = 'fuleon_egl'
[ "imptodefeat@gmail.com" ]
imptodefeat@gmail.com
6a56dcce6dac645ba2c5cfaa8bf796ae3e76e97c
2ec9cb451cb00e2fa4e96d22c1ce1db4de10773c
/tensorflow/lite/python/lite_v2_test_util.py
8b6d7ccb4c9c131d5335fd6a137d4ace33ecef96
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
Rachelmorrell/tensorflow
039ff0bdadaaba88e4e76899a0362e3029714019
035ce302db5ba917765d3fec658c195a2052c6a5
refs/heads/master
2023-08-31T00:39:54.988884
2021-10-26T18:28:49
2021-10-26T18:45:48
130,050,312
2
0
Apache-2.0
2023-07-19T21:35:45
2018-04-18T11:12:45
C++
UTF-8
Python
false
false
7,114
py
# Lint as: python2, python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b68cc03d892d73dd5b00b77e6ef2fe6a35d494e3
5844c4c651d76860096acf1e4d8713802cc0454e
/db.py
00c82523ed2d4064391e3b5ce0b594d79c439bec
[]
no_license
bballamudi/TreeGrabForReddit
f1403a127cfe09cbdbfb3558575c49b1f07a97ed
78646cf354428b61024b487ad6bb77b3cf4ceab5
refs/heads/master
2022-04-10T01:44:21.694513
2020-03-25T23:54:19
2020-03-25T23:54:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,956
py
from __future__ import print_function import psycopg2 from psycopg2.extensions import AsIs from dbinfo import * import sys import itertools import datetime import pytz default_schema="default" class Database(object): """this class uses info stored in dbinfo.py (database, user, host, port, password, and table...
[ "mscandocia@gmail.com" ]
mscandocia@gmail.com
b3bcade2fca769788b045bfb1e740ad5268b5fc5
62ad045b6c28d3cf0784cb03ade9525a645a56fa
/mathutils/__init__.py
e99897d8ae9a0e916fec5fa68573728b91840ec2
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
tomasderner97/customutils2
7f6141a507135e0f1085af16f2ea768b9ae4d727
2ec561e39b2518f78ad71bfb37d72dfa20766a44
refs/heads/master
2020-07-14T21:21:09.372281
2019-08-30T15:17:52
2019-08-30T15:17:52
205,405,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
from scipy.misc import derivative as _derivative def partial_derivative(f, with_respect_to, arguments, n=1, dx=1e-6): """ Calculates partial derivative of function f(a1, a2, a3,...) with respect to argument in position given by with_respect_to. Parameters ---------- f : callable, N arguments...
[ "tomasderner97@gmail.com" ]
tomasderner97@gmail.com
0f8b008b0ee111049eca990ff850be7d920c6639
07504838d12c6328da093dce3726e8ed096cecdb
/pylon/resources/enumerations/motor_state_t.py
40f0280ee0a5a4b1fa53ba72796b407d4af8225c
[]
no_license
lcoppa/fiat-lux
9caaa7f3105e692a149fdd384ec590676f06bf00
7c166bcc08768da67c241078b397570de159e240
refs/heads/master
2020-04-04T02:47:19.917668
2013-10-10T10:22:51
2013-10-10T10:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,816
py
"""motor_state_t standard enumeration type, originally defined in resource file set standard 00:00:00:00:00:00:00:00-0.""" # Copyright (C) 2013 Echelon Corporation. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation fil...
[ "lcoppa@rocketmail.com" ]
lcoppa@rocketmail.com
c7e584c8551c368bf818639b8406382e6846ab30
7419b605fb556490c45c431823420069fa52a9c5
/tinned-django/fc/profile/__init__.py
d28d0212b6ac10e0eb7f8db45d0c7ba03dbeb8de
[]
no_license
wd5/tinned-django
44665e000a83296f7df151c25c14e300fea8a4c9
b6a6cd5561fab1de27f4896e307762dade14bfb2
refs/heads/master
2021-01-24T00:52:32.998516
2012-10-04T11:18:10
2012-10-04T11:18:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,592
py
# -*- coding: utf-8 -*- from django.conf import settings from django.db.models.query import QuerySet import copy import logging logger = logging.getLogger('debug') if settings.DEBUG and settings.FIRELOGGER: def fp(*args, **kwargs): """Выводит указанные аргументы в консоли FirePython. Принимает произволь...
[ "baryshev@gmail.com" ]
baryshev@gmail.com
feb8905f936950d1a0a235405b93b8b1e5821e04
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2131/60661/256112.py
2be8a23cca73b3a20adb07f366d8039e22a2d6fc
[]
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
358
py
def isArith(nums): space=nums[1]-nums[0] for i in range(2,len(nums)): if nums[i]-nums[i-1]!=space: return False return True nums=list(eval(input())) res=0 nums.sort() for i in range(len(nums)-2): for j in range(i+2,len(nums)): if isArith(nums[i:j+1]): res+=1 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
b85a6723eb4b1d43bfbc8be5eb606eb9e0c946f2
a406ebf25e26ea12c446b2b136b65f064a5bc571
/tests/test_memoization.py
53c8af510a97b25bf24b3be0e00ff149bba83eba
[ "MIT" ]
permissive
mintusah25/cacheout
8d8091b927b7c822e211140748567bbfe5d7a27c
0d836808c1b7f154fd0e819c2064744b360895ea
refs/heads/master
2023-01-02T17:12:26.857199
2020-10-30T21:13:15
2020-10-30T21:13:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
from unittest import mock import pytest from cacheout import ( Cache, FIFOCache, LFUCache, LIFOCache, LRUCache, MRUCache, RRCache, fifo_memoize, lfu_memoize, lifo_memoize, lru_memoize, memoize, mru_memoize, rr_memoize, ) parametrize = pytest.mark.parametrize ...
[ "dgilland@gmail.com" ]
dgilland@gmail.com
d2adc81a9656dfa57ce9d1c50ceb750a4366191b
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/notification/notificationlistview.py
aa5858ad1a8e8725cc2a547e25ca60d48b34aaed
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
2,750
py
# Embedded file name: scripts/client/notification/NotificationListView.py from debug_utils import LOG_ERROR from gui.Scaleform.daapi.view.meta.NotificationsListMeta import NotificationsListMeta from messenger.formatters import TimeFormatter from notification.NotificationLayoutView import NotificationLayoutView from not...
[ "info@webium.sk" ]
info@webium.sk
3c3c06993743fc462bf1443c507a8d4c949727d2
f10db3b11131ddf2bf5026e42cdd72c275e49693
/ToolsX/leetcode/0090/0090.py
9d5291ccce0aebabe994524026e808b6c79cde28
[]
no_license
JunLei-MI/PythonX
36def40e33c9ebb64ce28af2b5da010393b08356
efea806d49f07d78e3db0390696778d4a7fc6c28
refs/heads/master
2023-04-07T10:58:45.647430
2021-01-25T16:54:37
2021-04-15T13:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
from typing import List from twisted.trial import unittest class Solution: """20190918""" def subsetsWithDup(self, nums: List[int]) -> List[List[int]]: """前一个是 0078,只需要加个排序就好了""" ans = [] self.subsets(ans, sorted(nums), [], 0) return ans def subsets(self, ans: List[List[...
[ "pingfangx@pingfangx.com" ]
pingfangx@pingfangx.com
416121f5dc417c25ace81b297a3bc1af6f1a899c
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/class_def_methods-170.py
e11bc4919cd972531ad69f4b5cc65a98a438b2a6
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
class A(object): x:int = 1 def get_A(self: "A") -> int: return self.x class B(A): def __init__(self: "B"): pass class C(B): z:bool = True def set_A(self: "C", val: int) -> object: self.x = val a:A = None b:B = None c:C = None a = A() b = B() c = C() b.x = $Exp() a.x = ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
cda6609cbb312113e83732a22523b984ba40eb55
2d0f940ebbf3d6f9eb5962715e2880bdc70f40b9
/week-05/day-1/cab.py
6d0ad20aedbf83f12d7bfcd69fc353b097735e2e
[]
no_license
greenfox-velox/agyenes
9482cdfc33d0f68f24209ce2af3629e2ccd1a120
d341d14d7cd0bc627d02e02acabf79bc45c8ccfa
refs/heads/master
2021-01-21T14:12:08.707870
2016-07-14T15:09:28
2016-07-14T15:09:28
58,042,941
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
import random a = random.randint(1000, 9999) class CowsAndBulls(): def __init__(self, number): self.number = number def playing_the_game(number): if len(number) != 4: print("4 digit number needed") counter = 0 state = "finished" else: co...
[ "aron.gyenes@gmail.com" ]
aron.gyenes@gmail.com
5dd187c06586bc14ddd5a339dc3d5ae3db519fe9
ed7757eb7c030e1c0cd7a2aacde9d7785b8ef825
/arcade/examples/move_mouse.py
032f3be492a398a3f8108e749e43b1f9385d8fd5
[ "MIT" ]
permissive
callmebg/arcade
3f45796e0e8b02151d7283f1b4d619ad320c64e5
50d05415001423a4f15013b95db05bea6ca1fd09
refs/heads/master
2021-05-17T10:20:25.070726
2020-03-27T19:19:58
2020-03-27T19:19:58
250,736,736
1
0
NOASSERTION
2020-03-28T07:20:06
2020-03-28T07:20:05
null
UTF-8
Python
false
false
2,266
py
""" This simple animation example shows how to move an item with the mouse, and handle mouse clicks. If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.move_mouse """ import arcade SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 SCREEN_TITLE = "Move Mouse Example...
[ "paul@cravenfamily.com" ]
paul@cravenfamily.com
233a6d7a7b0c0034b45bde70cce097a0deee2d1d
ae53410a837876abae440d14c243619dedba51f1
/Solutions/20.py
d577bd605dd241dcb83e4087fa4c5c0ed7a1d83f
[]
no_license
AvivYaniv/Project-Euler
68e839ae6d4d1a683aa8723f7c9ab3e55ee1dd28
ec271404a7280129cdc0af9cf3a07f8faa3ab2f4
refs/heads/master
2021-06-25T11:20:12.010985
2021-04-25T18:39:12
2021-04-25T18:39:12
225,074,588
1
0
null
null
null
null
UTF-8
Python
false
false
347
py
N = 100 def Factorial(n): f = 1 for i in xrange(2, n, 1): f *= i return f def SumDigits(n): sum = 0 n_as_string = str(n) for c in xrange(len(n_as_string)): sum += int(n_as_string[c]) return sum # Main def main(): # 648 print SumDigits(Factorial(N)) if __name__...
[ "avivyaniv@gmx.com" ]
avivyaniv@gmx.com
b085a3311714bf4b324f109cf9adfed87c56a593
a2c6a55119fe21ff43aaf2341a75805e1193649d
/aliyun-python-sdk-smartag/aliyunsdksmartag/request/v20180313/GrantInstanceToCbnRequest.py
9d4fa236eff25eaf9a2014334bba1549f1e05a70
[ "Apache-2.0" ]
permissive
small-lei/aliyun-openapi-python-sdk
a41ab64803b2b5684c9cfd6ea285d028c7efed4c
536038c353de57b1853984266d604033571c4368
refs/heads/master
2020-04-10T21:37:28.886184
2018-12-11T06:37:51
2018-12-11T06:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
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...
[ "yixiong.jxy@alibaba-inc.com" ]
yixiong.jxy@alibaba-inc.com
4ce5f04d22c6ccff5e87c2df8e246e83bc74d970
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuits_operations.py
d1ae8cde1a8fae2a0860c3b570c77751bf868462
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
54,129
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
466b85e6fd78704f10a3797763511c2f3360f6ea
d22c1db84101df4b7d88b61e8b074718b6aa116f
/weixin/pipelines.py
0778d092162035e41e4dc6bad53d5644abf6b73b
[]
no_license
Activity00/myproject
ca519be8e688bdcf5a9884fa5f1c06d6750519d1
8f4896df2db85bb14a3470c588ff14af3a44bde6
refs/heads/master
2020-12-30T17:51:15.515304
2017-05-11T03:53:51
2017-05-11T03:53:51
90,933,840
0
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
# -*- coding: utf-8 -*- import pymongo from bson import ObjectId from scrapy.exceptions import DropItem class DropPipeline(object): """ 去掉无效的数据 掉丢不可用数据 优先级最高 """ def process_item(self, item, spider): if not item['account'] and not item['name']: raise DropItem('丢掉不可信数据%...
[ "1032662429@qq.com" ]
1032662429@qq.com
856df0fd105ff041cd3f2c48f2928712235b25e1
dcce9bc03eb4428cf1fa023115ffce599f1106eb
/mlt/map/views.py
2bdf364c14140d69b3650f36a86f902f933327d5
[]
no_license
DataSparkRI/mlt
3efc8cdfe285f2a492e7f4437254b8ec2275e199
dbfcb1b39b26c4042c5b041fcc8aa8b39995653b
refs/heads/master
2021-05-26T14:56:24.850686
2011-06-13T23:08:48
2011-06-13T23:08:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from django.http import HttpResponse from vectorformats.Formats import Django, GeoJSON from .models import Parcel def geojson(request, westlat, eastlat, southlon, northlon): ewkt = ( "SRID=4326;POLYGON((" "%(w)s %(s)s, " "%(w)s %(n)s, " "%(e)s %(n)s, " "%(e)s %(s)s, " ...
[ "carl@oddbird.net" ]
carl@oddbird.net
0a090d8625c177cbb65c83660daca63108ed3889
b16dee45fa8028c76585e73722413f405901f30d
/apps/blogs_app/urls.py
62432290f912597ecc1b9da37b58241a30843e0c
[]
no_license
alialwahish/django_app
648f89440c83e44638b4e2fd48d90841b5221493
3ff40599ca1533d50bc6e5a121d6165898bfdb59
refs/heads/master
2020-03-16T20:39:38.958897
2018-05-11T00:10:34
2018-05-11T00:10:34
132,967,444
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from django.shortcuts import render from django.conf.urls import url from . import views from django.urls import path urlpatterns=[ url(r'^$',views.index), url(r'^new/$',views.new), url(r'^create$',views.create), url(r'^(?P<num>\d+)/$',views.number), url(r'^(?P<num>\d+)/edit/$',views.edit), url...
[ "bayati.ali@icloud.com" ]
bayati.ali@icloud.com
38e234cd8c6b8e7ddee0bfe4c3470d9ffd91cbbf
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/aio/operations/_profiles_operations.py
931fab5c8dec4ab887d29e6311d48e57178269b5
[ "LicenseRef-scancode-generic-cla", "MIT", "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
20,556
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
d5a20307678d1c03b0134b420534a16d1043338d
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/network/v20200501/private_endpoint.py
ad671be3846ec414278de07873253cd17b6d5ec5
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,309
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** 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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
b5a4fd1f506b9012a774ac2b89e2d8f0207136af
8a03b8459902d1bf0806f8d3387fb962bb57cf58
/Data/test.py
9f84dd335912c7cae35b4a0a9d87c5c9a73efa53
[]
no_license
chetandg123/cQube
f95a0e86b1e98cb418de209ad26ae2ba463cfcbc
a862a1cdf46faaaff5cad49d78c4e5f0454a6407
refs/heads/master
2022-07-18T12:43:06.839896
2020-05-22T13:23:52
2020-05-22T13:23:52
258,089,042
0
0
null
2020-05-08T16:28:26
2020-04-23T03:55:52
HTML
UTF-8
Python
false
false
775
py
# import csv # # with open('/home/chetan/Documents/Data_files/District_wise_report.csv', 'r') as file: # reader = csv.reader(file) # lines = len(list(reader)) # print( import base64 import csv import re str = "no of schools : 4500" res = re.sub("\D", "", str) print(res) # with open('/home/chetan/Documents...
[ "chetan.goudar@tibilsolutions.com" ]
chetan.goudar@tibilsolutions.com
d76b5ffc45462de8d4b658a7cc1790c2277804cd
f36fb0c48f624695cbdb9d705763735dcbdd2bff
/frame_labels_hdf5_to_lmdb.py
4dd7763ef5619b8c6aea773d170ad342c80c5678
[]
no_license
achalddave/video-tools
055aca794b4fc6447a3f332cf5687d71251e1752
8276cf73826214d1d3e14a38bc1cdfea5d020556
refs/heads/master
2020-04-05T23:04:34.994084
2019-08-12T18:31:15
2019-08-12T18:31:15
52,479,853
9
4
null
2018-09-21T19:41:07
2016-02-24T22:42:57
Python
UTF-8
Python
false
false
1,458
py
"""Create an LMDB mapping '<video_name>-<frame_number>' keys to label vectors. Takes as input an HDF5 mapping '<video_name>' to a binary matrix of (num_frames, num_labels) shape, and constructs an LMDB that has a unique key for each frame. The labels are numpy arrays stored as byte strings, and can be loaded calling n...
[ "achalddave@live.com" ]
achalddave@live.com
6b43ca1d78bb5fbe487a63b81a185ee120c9cb55
fd74a044c0037796455ba4bd4fd44f11c3323599
/Contest/ABC/Contest_159/d.py
941df0f8fcccf4ddb5d1149568479d4e534d4f31
[]
no_license
tegetege/tegetege_AtCoder
5ac87e0a7a9acdd50d06227283aa7d95eebe2e2f
ba6c6472082e8255202f4f22a60953d0afe21591
refs/heads/master
2022-03-25T00:29:22.952078
2022-02-10T14:39:58
2022-02-10T14:39:58
193,516,879
0
0
null
2019-06-25T13:53:13
2019-06-24T14:02:05
Python
UTF-8
Python
false
false
671
py
import math import copy N = int(input()) A = list(map(int,input().split())) A_dict = dict() for i in range(N): if A_dict.get(A[i]) is not None: A_dict[A[i]] += 1 else: A_dict[A[i]] = 1 # 各キーが選ばれたときの答えを求めてdict型で持っておく ans = dict() for K,V in A_dict.items(): count = 0 A_dict_2 = copy.deepc...
[ "m_take7_ex_d@yahoo.co.jp" ]
m_take7_ex_d@yahoo.co.jp
9f4f776a49f6cecba47b26f047750be00054ba27
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nAODv5v6_Mela/cuts.py
01b43aaa5b329b9b5edddf1b28fe74d91713f518
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
1,258
py
#import my.Wlep_sel #import my.final_fatjetsel #supercut = 'nCleanFatJet==1' #-----Variable Deinition-----# eleWP='mvaFall17V1Iso_WP90' muWP='cut_Tight_HWWW' Year='2017' LepWPCut='(Lepton_isTightElectron_'+eleWP+'[0]>0.5 || Lepton_isTightMuon_'+muWP+'[0]>0.5)' LepCut="( Lepton_pt[0]>30 \ && ( fabs(Lepton_e...
[ "d4space@gmail.com" ]
d4space@gmail.com
e830ffd19d418330e649c0af7e0a4bf9d0c7b6b4
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/mimecast/komand_mimecast/actions/get_audit_events/schema.py
da4e4d383f51030dd308c1570249b76f61fd0a5c
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
5,168
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import insightconnect_plugin_runtime import json class Component: DESCRIPTION = "Get audit of events in Mimecast service" class Input: AUDIT_EVENTS_DATA = "audit_events_data" AUDIT_EVENTS_PAGINATION = "audit_events_pagination" class Output: PAGINATION = ...
[ "noreply@github.com" ]
rapid7.noreply@github.com
92f769e2c3c6ac4aef6f13fd10f88ac2d359365a
13edd8f1bc3b86fd881f85fbeafe94811392d7fc
/seventh_module/CRM/41.CRM开发之用户登陆_公户申请到私户/luffy_crm/web/models.py
fca1611797666e57fcdaeaecdf10ff6284e43752
[]
no_license
ryan-yang-2049/oldboy_python_study
f4c90c9d8aac499e1d810a797ab368217f664bb1
6e1ab7f217d9bf9aa7801266dee7ab4d7a602b9f
refs/heads/master
2022-07-22T23:49:28.520668
2019-06-11T13:26:25
2019-06-11T13:26:25
129,877,980
0
1
null
2022-07-18T17:12:54
2018-04-17T09:12:48
HTML
UTF-8
Python
false
false
5,577
py
from django.db import models from rbac.models import UserInfo as RbacUserInfo class School(models.Model): """ 校区表: 如: 北京昌平校区 上海浦东校区 深圳南山校区 """ title = models.CharField(verbose_name='校区名称', max_length=32) def __str__(self): return self.title class Department(models.Model): """ 部门表 """ title = mod...
[ "11066986@qq.com" ]
11066986@qq.com
569a23583095b3c1d8b943a84b3313dbc2697392
469456a0bf4c7c040a8136b111195a82de17cc6b
/rev9.py
9a76ded53f81ecdb2bca1160827cd0d59417e39f
[]
no_license
6reg/function_fun
d2e73387e78396618d074c97a2b0088647693b4e
64bf2d6211f9bdcc030922a7f5292c37a31eddd9
refs/heads/main
2023-07-07T23:42:46.426225
2021-08-07T22:10:47
2021-08-07T22:10:47
370,854,414
0
1
null
2021-07-07T02:20:18
2021-05-25T23:39:07
Python
UTF-8
Python
false
false
362
py
import json def rev(): with open("fruits.json") as f: fruits = json.load(f) rev_fruits = {} for o_key in fruits: o_val = fruits[o_key] if o_val not in rev_fruits: rev_fruits[o_val] = [o_key] else: rev_fruits[o_val].append(o...
[ "mathiasgreg@gmail.com" ]
mathiasgreg@gmail.com
7273aab7252791133c85d4fd80cdf0e405f4aa3d
dcc4437e844b56a9d564f60b8253fe744e653fdd
/lot/pages.py
2bccfc8b260faff8dc9ef63dff6081a86051642a
[]
no_license
chapkovski/lottery-real-time-update
532621dfaf901239722ed0fd4af54d427551e87b
b4f26b42454f68c1b1a17d1d8adfe2aa1b84c173
refs/heads/master
2020-04-24T11:44:42.311614
2019-02-21T20:31:14
2019-02-21T20:31:14
171,935,987
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants from utils import cp class MyPage(Page): pass class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): pass class Results(Page): pass page_sequence = [ MyPag...
[ "chapkovski@gmail.com" ]
chapkovski@gmail.com
f89d16f2660bbc9655f0b967253eb8339b916889
ec11b34831462992865251acd62c35cedb0ee325
/tests_old/test_find_num.py
531c434373b72b9745d61ee38b8e499ba6fe89a7
[]
no_license
igrekus/fiddle
3767fb518ed0c4aa1d5c5e9fc708a9c6c18ccea7
3a9ab408af6304d7b1901c3aa893ae39d3132226
refs/heads/master
2023-04-28T00:21:10.020419
2023-04-19T09:52:34
2023-04-19T09:52:34
222,413,997
1
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import random from pyexpect import expect # from fiddle import find_missing, find_duplicate from find_missing import find_missing, find_duplicate def test_find_missing_random(): n = 100 seq = list(range(1, n + 1)) random.shuffle(seq) expected = seq.pop(random.randint(0, n)) expect(find_missing(...
[ "upload234@mail.ru" ]
upload234@mail.ru
805e83753d7000b56334334d6c6ebc7efd47bedc
67cbf8eba7d1303294d62d00bae69a2cd8c8d875
/day3/unittestDemo.py
b35c17465ef6d71fbc718671b75bc248a4246915
[]
no_license
changchengxc/selenium1208
c2bb5efe699c44db6b3a7abeac21d6456c5d4089
e52460ebc93bd7466725d3f96bd0e3d036f9a2fb
refs/heads/master
2020-04-13T01:20:43.429519
2018-12-23T07:46:35
2018-12-23T07:46:35
162,871,738
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
import unittest # unittest是python内置的代码库,不需要下载 # 最常用代码库,会在python sdk中准备好,不需要通过第三方下载 # 说明unittest比selenium更常用,更重要 # 类名最好和文件名之间,只差一个首字母的大小写问题,类名首字母大写,文件名首字母小写 # python中用小括号表示继承 # 让我们自己的类,继承unittest代码库中的TestCase类,表示当前类也是一个测试用例类 # 1.继承unittest代码库中的TestCase类 class UnittestDemo(unittest.TestCase): # 2.重写父类的方法:setUp和tearD...
[ "51Testing" ]
51Testing
e99f9811ab29813d4590275295bab1adfba97815
2c68f9156087d6d338373f9737fee1a014e4546b
/src/cosmosdb-preview/azext_cosmosdb_preview/vendored_sdks/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.py
ac78888c23545fd7d16d88c6781edda87e05c50d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
anpaz/azure-cli-extensions
8b0d4071c49840da9883f13cb0fd1f4515246ee0
847fd487fe61e83f2a4163a9393edc9555267bc2
refs/heads/master
2023-04-23T17:22:53.427404
2021-01-29T17:48:28
2021-01-29T18:01:33
257,394,204
2
0
MIT
2021-01-28T10:31:07
2020-04-20T20:19:43
Python
UTF-8
Python
false
false
3,550
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
anpaz.noreply@github.com
7bb7b70565b990d444814af35e8f071e3bfe40bc
507570f66a4e29d9d96d220fc2ea8b1bf3f3cc73
/cambiaahora/historias/admin.py
f489a70983291c092fcdec5fef7f090935adc199
[ "MIT" ]
permissive
CARocha/plataforma_fadcanic
cd7543dc0b6c87b406d3bce9a3268383c0649eaf
da557b0b26d144095988a8809a97b83791077f20
refs/heads/master
2021-01-22T00:19:55.882039
2017-02-07T15:46:41
2017-02-07T15:46:41
35,907,829
1
0
null
2015-05-19T20:51:04
2015-05-19T20:51:04
null
UTF-8
Python
false
false
1,367
py
from django.contrib import admin from django import forms from .models import Historias from django.contrib.flatpages.models import FlatPage # Note: we are renaming the original Admin and Form as we import them! from django.contrib.flatpages.admin import FlatPageAdmin as FlatPageAdminOld from django.contrib.flatpages.f...
[ "crocha09.09@gmail.com" ]
crocha09.09@gmail.com
c5691ea9dfb896d9517efbfb5c2bee129c46c4fe
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2171/60615/257499.py
ab6427fa5d945c7e4db42eef0a701908389a0d75
[]
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
424
py
time=int(input()) result=[] while time>0: length=int(input()) num=list(map(int,input().split())) even=[] i=0 while i<length: if num[i]%2==0: even.append(num[i]) num[i]='none' i=i+1 for item in num: if item!='none': even.append(item) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
994d3c2fa7a8959b6842b0dd32fc5a1ae434eb65
b43cee0973a455a58b74233d4e02d522587f93ae
/algorithm/lesson01/task-02.py
64af4808c10ee87233c3b83635f5c50c6db7f332
[]
no_license
ivadimn/py-input
5861cc92758378f44433bd6b1af7ba78da04d1c0
bbfdd74c4dffe66440490d79082de2c0318e5027
refs/heads/master
2023-08-15T03:34:01.916026
2023-07-24T14:48:08
2023-07-24T14:48:08
202,401,715
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
# 2. По введенным пользователем координатам двух точек вывести уравнение прямой вида y = kx + b, # проходящей через эти точки. x1 = int(input('Введите координату X1 : ')) y1 = int(input('Введите координатн Y1 : ')) x2 = int(input('Введите координаты X2 : ')) y2 = int(input('Введите координаты Y2 : ')) k = (y2 - y1)...
[ "ivadimn@mail.ru" ]
ivadimn@mail.ru
4334bb87289d789103e565cf45d6839c1c71f8a4
69298e7ea5d2bfb34015b5793fae6e9adc4afe05
/blogmain/models.py
801b0f5d3b79f6d9180c057aa86ddd3ca7214f45
[]
no_license
q2806060/myblog
be6a3e40451ed63c352db10958b784f63779f0e9
26f2810cead04a78ee50de49863c1eac3ef11a01
refs/heads/master
2022-12-22T20:07:46.558568
2020-03-12T10:59:15
2020-03-12T10:59:15
215,686,277
0
0
null
2022-12-11T09:43:38
2019-10-17T02:28:44
JavaScript
UTF-8
Python
false
false
323
py
from django.db import models # Create your models here. class TimeAxis(models.Model): title = models.CharField(max_length=100) content = models.TextField() pubtime = models.DateField() class Mate: db_table = "timeaxis" verbose_name = "时间轴" verbose_name_plural = verbose_name
[ "C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn" ]
C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn
916a66d7dd202125bc0fa66823c9daceddc6c87b
f94790a262f6d31f91ec0a0b63d5212a36a9ee6d
/examples/psets/solvers.py
0b591e24b44633e3523a9c64d00511ecd16f71c4
[ "BSD-3-Clause" ]
permissive
rc/dist_mixtures
02d893898b986b3123511d7fdb8bb37bb282261a
6cb1219339b6c0ce66a240fe6626402ea23fe19f
refs/heads/master
2021-01-13T01:36:52.982612
2014-07-23T13:50:09
2014-07-23T13:50:09
6,022,654
0
1
null
2013-06-24T13:13:33
2012-09-30T21:43:35
Python
UTF-8
Python
false
false
1,286
py
""" Parameter sets with changing the optimization solver. By default, unspecified options are taken from a previous set. In case of the first set, defaults are provided in the code. Command-line options can be used to override the settings below. Local minimizer methods: - 'Nelder-Mead' - 'Powell' - 'CG' - '...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
dab45220c0bbb625bd0860aa6fa4c06f4b83f56a
739b764438a4b82edc5ae63dd5b1d715779dc7a1
/python-coding-bat/list-1/middle_way/middle_way.py
2b1c5c57fb1c222798e189e74914cfc35850edfc
[]
no_license
mgermaine93/python-playground
2cbf3994ebc0faf51515aac233a69f926ba9cccd
6fc7c6ee0e2d17b585469c60a748c4ae41030f87
refs/heads/master
2021-05-17T04:03:58.460331
2021-04-09T20:32:05
2021-04-09T20:32:05
250,613,576
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# Given 2 int arrays, a and b, each length 3, return a new array length 2 containing their middle elements. def middle_way(a, b): return [a[1], b[1]]
[ "mgermaine93@gmail.com" ]
mgermaine93@gmail.com
42c0467054287a9015444049d3719f3b096e0c6a
6853d854a49c877b4be7aa2a99a4e81e392fc75f
/tests/src/Cataloger/test_Initializer.py
387130e1bf1bd64e2ae828824e36e107b8b4ee11
[]
no_license
foorenxiang/Storage-Drives-Searcher
666f878fa03c4432b38aaa8a14ac7b67c6599e67
5664d9e2bd9ce98c6b4a78d0f35295111741bf1a
refs/heads/main
2023-07-16T23:50:44.266211
2021-09-04T00:36:45
2021-09-04T00:36:45
380,691,771
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
# LINK src/Cataloger/Initializer.py:1 def test_Initializer(): raise NotImplementedError object_to_test = Initializer()
[ "foorenxiang@gmail.com" ]
foorenxiang@gmail.com
79ebec9475f2c24971ebb8d454d469eadb4813a1
862ded8815fc5ef2fde5f2be0fb4d2409fdbd7ba
/temperSoftmaxExperment.py
fe83a3f8166b36db541d7ea089465dd5f598d860
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
DIYer22/human-pose-estimation.pytorch
db45d03fd0e380e765d307276ae0e95d55b7cb51
56c799e31d1423aa10861d021730692d76259bc8
refs/heads/master
2020-04-27T18:46:27.047269
2019-03-11T06:07:29
2019-03-11T06:07:29
174,586,577
0
0
null
2019-03-08T18:14:28
2019-03-08T18:14:28
null
UTF-8
Python
false
false
1,055
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: DIYer22@github @mail: ylxx@live.com Created on Sun Mar 10 16:00:49 2019 """ from boxx import * from boxx.ylth import * from boxx.ylth import tht, map2, npa, th, np from pylab import plt nn.Softmax th.Tensor.softmax plott = lambda *l, **kv:plt.plot(*map2(lamb...
[ "ylxx@live.com" ]
ylxx@live.com
f72123e14e845c3ae826be770d4cac6fd21bc3d8
413967b8602a2e31980efc9deebd35d99914802e
/udemy_python_django/class_02.py
cf07ede0aeddeb77b5bd264ef8bf982c2e1d9cef
[]
no_license
uni51/understand_python
009dbeabbdf6a336e87f68f97fab729cee09b59d
ecd2408725ad29df11db7304dff6604a790ea763
refs/heads/master
2020-05-25T02:09:27.111155
2019-05-24T02:50:05
2019-05-24T02:50:05
187,572,004
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
members = {} # クラスの場合は、先頭の1文字を大文字にするのが慣例 class Student: def __init__(self,name): self.name = name self.score = {} # 成績を管理するための辞書 def add_score(self, subject_name, point): self.score[subject_name] = point def get_score(self, subject_name): return self.score.get(subject_...
[ "uni51@users.noreply.github.com" ]
uni51@users.noreply.github.com
231bc4504d5923d0be7cbd4e0eadf5469e7c50c6
e663909cec3c4eda12bb705fce9a6dc901bb7d88
/爬虫/day09_scrapy 存储csv xml/workhome/Novel/__init__.py
d5114b81ec2d55795ac70cf5b8fe2a87d7cb60c3
[]
no_license
1284753334/learning2
a03f293965a652883503cae420d8b1ad11ae6661
f2fcb3c856656cc8427768b41add3ee083487592
refs/heads/master
2023-01-30T23:18:26.951210
2020-12-20T15:57:18
2020-12-20T15:57:18
315,065,804
2
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
import os # while True: # fname=input('./abc.txt') # if os.path.exists(fname): # print ("Error:'%s' already exists" %fname) # else: # break # # #下面两句才是最重点。。。。也即open函数在打开目录中进行检查,如果有则打开,否则新建 # fobj=open(fname,'w') # fobj.close() # 创建一个txt文件,文件名为mytxtfile,并向文件写入msg def text_create(name, msg)...
[ "huapenghui@git.com" ]
huapenghui@git.com
373e0169a4bf347014aa1f68b23453aad9d489d1
691a248157342775eee7864af31d54bc87bf06e6
/02 neural-network/06. neural-network-training/ex04-1.py
c8266c06b08618a63a8a9f065041b87a1bc968b0
[]
no_license
chu83/DeepLearning
7429135ff095778c91bb877371e22fb933dbddf4
f0b838504c02f4d6f1bd923c550ff6ab825d4f46
refs/heads/master
2023-01-28T00:05:35.305559
2020-12-04T05:49:16
2020-12-04T05:49:16
315,176,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
# 신경망학습 : 신경망에서의 기울기 import numpy as np import os import sys from matplotlib import pyplot as plt from pathlib import Path from PIL import Image try: sys.path.append(os.path.join(Path(os.getcwd()).parent, 'lib')) from mnist import load_mnist from common import softmax, cross_entropy_error, numerical_grad...
[ "59534807+chu83@users.noreply.github.com" ]
59534807+chu83@users.noreply.github.com
5dec7e690a504b7db81bedd7d9374d93db794558
bcbc5fbdaf73146c1473f925d8d3303ef9d1256f
/chatterbot/utils/word_net.py
818ae2178a9e6741a76c54fa56ea65abfc0a67d4
[ "BSD-3-Clause" ]
permissive
korymath/ChatterBot
b1a3b2700d4eefbbc5a3460e174dd9d539131902
b517e696e016b6c2fae4b5326029b16d45ee6471
refs/heads/master
2021-01-15T09:27:41.970135
2016-04-08T05:21:35
2016-04-08T05:21:35
55,752,170
1
0
null
2016-04-08T05:18:31
2016-04-08T05:18:31
null
UTF-8
Python
false
false
405
py
from nltk.corpus import wordnet class Wordnet(): def __init__(self): from nltk.data import find from nltk import download try: find('wordnet.zip') except LookupError: download('wordnet') def synsets(self, token): """ Takes a token and r...
[ "valetolpegin@gmail.com" ]
valetolpegin@gmail.com
6eb11f1feb0f7d839db4fa1a2fabcc4d3c68adde
3dcc44bf8acd3c6484b57578d8c5595d8119648d
/fix_chains.py
72714a9a5c9a8c90be4059d0c74cbd727ddc1b90
[]
no_license
rhiju/rhiju_python
f0cab4dfd4dd75b72570db057a48e3d65e1d92c6
eeab0750fb50a3078a698d190615ad6684dc2411
refs/heads/master
2022-10-29T01:59:51.848906
2022-10-04T21:28:41
2022-10-04T21:28:41
8,864,938
0
3
null
null
null
null
UTF-8
Python
false
false
2,477
py
#!/usr/bin/python #Currently only setup for RNA from sys import argv from os import system import string files = argv[1:] convert = 0 if files.count( '-convert'): convert = 1 del( files[ files.index('-convert') ] ) tinker_name_convert = { ' A':' A', ' C':' C', ...
[ "rhiju@stanford.edu" ]
rhiju@stanford.edu
82a0da06bcde156af6eb997f83979be0a263dbd3
f5efd53d4f0f4ed1ad4cfb1feeac9680d5365d63
/simple_settings/core.py
146224fc95e9cd708447c8a3b6eae75b8f307534
[ "MIT" ]
permissive
pombredanne/simple-settings
365d4015b86a2784bff7fe382e4f166fccc342fa
d94a8e0da617bb868fb45755a96677780cfd341e
refs/heads/master
2021-01-23T02:48:32.359681
2016-04-08T03:50:37
2016-04-08T03:50:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
# -*- coding: utf-8 -*- from copy import deepcopy import os import sys from .special_settings import process_special_settings from .strategies import strategies class LazySettings(object): """ LazySettings is the main class of simple-settings To use just create a instance and access the attributes o...
[ "drgarcia1986@gmail.com" ]
drgarcia1986@gmail.com
4758ed1b94063384c0e35b14b2dae011e8eb4d08
24d070c6410fdf7212c4c37c2fadc932cd4e8aec
/trac/notification/tests/__init__.py
795a9c93aee2c7573c24d437de7b58ace7a20c39
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
clubturbo/Trac-1.4.2
4f111e8df9e8007a0e02080bec560361b25fc11c
254ce54a3c2fb86b4f31810ddeabbd4ff8b54a78
refs/heads/master
2023-01-20T16:20:44.724154
2020-12-03T08:57:08
2020-12-03T08:57:08
317,922,011
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
# -*- coding: utf-8 -*- # # Copyright (C) 2015-2020 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://trac.edgewall.org/wiki/TracLicense. # # This soft...
[ "jonn@mindhunterx" ]
jonn@mindhunterx
f5fb58af23441d6576349ff2765180ebf1366cdd
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/100_Interactive_Python_Exercises_to_Boost_Your_Python_Skill/Section 10 Text Processing/Coding Exercise 63 John Smith NUKE.py
0fea68052386d8d00a6bcea535444f480881692f
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
102
py
firstname = "John" lastname = "Smith" print("Welcome {} {} to our shop!".format(firstname, lastname))
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f2d744a2870fdaf4d9b6a98b410bc2ca06c5500f
c0950683d84a3c5999a28ac32668e8dbd159e036
/bvpl/bvpl_octree/PCA/pca_global/combine_stats_pairwise.py
6846355dd6e48739c7f4227ee6a89a5bce225def
[ "BSD-3-Clause" ]
permissive
mirestrepo/voxels-at-lems
0a88751680daa3c48f44f49bb4ef0f855a90fa18
df47d031653d2ad877a97b3c1ea574b924b7d4c2
refs/heads/master
2021-01-17T07:26:12.665247
2016-07-20T17:49:26
2016-07-20T17:49:26
3,919,012
2
0
null
null
null
null
UTF-8
Python
false
false
5,200
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Created on Mon Feb 14, 2011 @author:Isabel Restrepo Computes sample data mean and scatter. Each block is processed in a separate thread. """ import os; import bvpl_octree_batch import multiprocessing import Queue import time import random import optparse import sys from ...
[ "isabelrestre@gmail.com" ]
isabelrestre@gmail.com
4f4628c5fff11c4bd06844a5ebcb2f3cf8c85626
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/uwx.py
2578bff7fe590be1db4f08cad09d131e4afb0388
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
56a62ced4732996353668428e8ed66c48239a515
720126354851961926277c61f41318184c79fad2
/venv/lib/python3.8/site-packages/pm4py/objects/conversion/log/variants/to_event_stream.py
62d2d142e85d930e8305e56480418b6531b33fca
[]
no_license
yclei/co-co-eaa
c4057025e9b91e6af01d2765196df743bfe5985d
aeb6d42ab3ce4bc83b08a1ec9a4a3d6d3da380b4
refs/heads/main
2023-03-12T14:49:03.972865
2021-03-03T22:38:48
2021-03-03T22:38:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,446
py
''' This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de). PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) an...
[ "javetter@mail.uni-mannheim.de" ]
javetter@mail.uni-mannheim.de
2dd985744c93f9ca0464752e4a9fc2ee99becb38
c9d3b03512dc3b2d268d0e99560889226322487c
/whsc/whscShapeMM/shape.py
aa71014490e77244f8bcedbd427defd514cd1aab
[]
no_license
latinos/DatacardsConfigurations
57f9d8707b3987de0491c66aa9533f9447cfb043
25827f8f8284d50d680ce1527e3b8c17c27d7c4a
refs/heads/master
2021-01-22T03:05:27.692914
2015-04-13T08:22:02
2015-04-13T08:22:02
14,419,053
0
1
null
null
null
null
UTF-8
Python
false
false
3,039
py
# # whsc: shape 2012 - mm - # tag='cut_whsc' lumi=19.365 chans=['ll_whsc'] variable='mindphimlijj' #'(jetpt2>20)*min(sqrt((2*pt1*cosh(eta1)+jetpt1*cosh(jeteta1)+jetpt2*cosh(jeteta2))*(2*pt1*cosh(eta1)+jetpt1*cosh(jeteta1)+jetpt2*cosh(jeteta2))-((2*pt1*sin(phi1)+jetpt1*sin(jetphi1)+jetpt2*sin(jetphi2))*(2*pt1*sin(ph...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
dc36945d27ebcc8f09ba2f2809b18f3478bb7404
01b88caceec1302ce8fbdb90063091dff5a1ccb2
/zadanie/users/forms.py
d7e7972fa937e7d313e577a4871125fd69b5bb4d
[ "MIT" ]
permissive
szymanskirafal/zadanie
9f2ce174eca8e783427656e45f3c0488457bcf17
8668976955eeea45e4abec673ba5a6c4f3848e16
refs/heads/master
2020-04-15T05:30:59.296423
2019-10-06T19:46:31
2019-10-06T19:46:31
164,426,545
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm, UserChangeForm from django_registration.forms import RegistrationForm from .models import CustomUser class CustomUserForm(RegistrationForm): class Meta(RegistrationForm.Meta): model = CustomUser clas...
[ "r.szymansky@gmail.com" ]
r.szymansky@gmail.com
e89316ca381859f3108995eb649e6e7e4af6123a
f0d1bfb45ff5fad468270b586f4cebc3aa73da10
/6-bookstore-BooksApp/books/admin.py
815ca851bba96f198b12e3c5b55ef7e4afe21470
[]
no_license
D-GopalKrishna/Django-with-Docker
28a87a94fe224af9a1d9e3d1ef5df8c48ace6622
f3241ce01e3c6dc30be4f565037723f710619aa8
refs/heads/master
2023-03-01T21:29:58.106486
2021-01-29T09:27:34
2021-01-29T09:27:34
331,938,419
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from django.contrib import admin from .models import Book # Register your models here. ## Which field to be displayed in admin class BookAdmin(admin.ModelAdmin): list_display = ("title", "author", "price") admin.site.register(Book, BookAdmin)
[ "nikhil0223@gmail.com" ]
nikhil0223@gmail.com
23617bb917805864bee62b5840b573dc60f99ab6
6f9a2561a94fb12e73ae81127c713d3fcae4e5ce
/backend/task_category/admin.py
08f0b9269691f93e2f3432556217e5c3db36b921
[]
no_license
crowdbotics-apps/altinminer-31819
89d4ab3d55de8df4c5b9464ca06d88792d024ad3
b16e7e3c98cdde00c14d106b6973f4ce27107a80
refs/heads/master
2023-08-23T15:06:32.202864
2021-11-03T15:50:59
2021-11-03T15:50:59
424,285,691
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django.contrib import admin from .models import Category, Subcategory admin.site.register(Subcategory) admin.site.register(Category) # Register your models here.
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a7d57ffea45d35a80bfd260a8b335de34b5756b9
0425e2873e060a1fe32a31dfdcbd9772485ffa1c
/Neurons/IntrinsicProperties/mossyCell.py
01ebfd67aee9bc813a4d8e53d94e6cd9fdb23ea3
[]
no_license
ModelDBRepository/206372
2741cac8043f5e8d2336e5e30211c4d81205ba66
317adc4986fb15c8a221883688d65fe439e84547
refs/heads/master
2020-03-12T17:43:29.727715
2017-07-19T20:06:38
2017-07-19T20:06:38
130,743,135
0
1
null
null
null
null
UTF-8
Python
false
false
8,841
py
#============================================================================== # Point neuron (exponential I&F model) mossy cell. #============================================================================== from brian import * from brian.library.ionic_currents import * from brian.library.IF import * import numpy a...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
e0ee978eca2ae564ca1aa0d744ec8e8f79a7adea
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/5976023/snippet.py
f0ac42a49ac34d9f2a1e143e94f1c8b965c6cd2f
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,157
py
#!/usr/bin/env python import shlex import subprocess import datetime as dt from sys import argv, exit from os import fork import time def usage(): print('Usage: %s HH:MM [custom message]' % argv[0]) def sleep(seconds): '''Wait!!!''' print('Sending alert in %s seconds' % seconds) time.sleep(seconds) ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
6f9a8fa452503565ad298687d037963c1ed7915a
9d8acc20d2ee1d1957849dfb71c22e0dae2d8c5c
/baomoicrawl/venv/Lib/site-packages/twisted/trial/_dist/distreporter.py
cfc10a2151d696a2456d2e1c75229b1be2ab6562
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thuy4tbn99/TranTruongThuy_17021178_Nhom4_Crawler
b0fdedee2942a12d9f64dfed93f43802dc5ab340
87c8c07433466bbc43a24ea089f75baeb467c356
refs/heads/master
2022-11-27T21:36:33.917491
2020-08-10T23:24:42
2020-08-10T23:24:42
286,583,216
0
0
null
null
null
null
UTF-8
Python
false
false
2,588
py
# -*- test-case-name: twisted.trial._dist.test.test_distreporter -*- # # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ The reporter is not made to support concurrent test running, so we will hold test results in here and only send them to the reporter once the test is over. @sinc...
[ "thuy4tbn99@gmail.com" ]
thuy4tbn99@gmail.com
842755350cfe0da6cde4b27727b69e192af3fc9d
7685d56c9e0f0e0bd118f657e039c508a02f1f9a
/test/test_sos_kernel.py
c1196a553eee87752fef02c7c01644de59923831
[]
no_license
neuroradiology/sos-notebook
a08fb1979ab2adcb85b33fc5dd4cff53d9cd4fc2
1ccc522ab6bf2a52f3f2a77c35b324f37a3a744a
refs/heads/master
2021-08-22T23:55:51.236751
2017-12-01T19:39:58
2017-12-01T19:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,038
py
#!/usr/bin/env python3 # # This file is part of Script of Scripts (SoS), a workflow system # for the execution of commands and scripts in different languages. # Please visit https://github.com/vatlab/SOS for more information. # # Copyright (C) 2016 Bo Peng (bpeng@mdanderson.org) # # This program is free software: you c...
[ "ben.bog@gmail.com" ]
ben.bog@gmail.com
a60e90ca97af9450e1d64d7855363400076f8369
28a124b6a2f22a53af3b6bb754e77af88b4138e1
/DJANGO/WEB_CV_GENERATOR/cvgenerator/cvgenerator/urls.py
1b2f1134de08b9711a3dba38a3f80e058b960baf
[]
no_license
mebaysan/LearningKitforBeginners-Python
f7c6668a9978b52cad6cc2b969990d7bbfedc376
9e1a47fb14b3d81c5b009b74432902090e213085
refs/heads/master
2022-12-21T03:12:19.892857
2021-06-22T11:58:27
2021-06-22T11:58:27
173,840,726
18
4
null
2022-12-10T03:00:22
2019-03-04T23:56:27
Python
UTF-8
Python
false
false
1,152
py
"""cvgenerator 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-b...
[ "menesbaysan@gmail.com" ]
menesbaysan@gmail.com
915b0fe46cee249e5d4ee0dd017d9281b602abfb
f6f15809ac70089ef4cfb1ade40e2dc58d239f81
/test/functional/rpc_psbt.py
dfa13a2ae235c4e26a0ceb278723ca55c7d8ea00
[ "MIT" ]
permissive
lamyaim/bitgesell
fcc96f6765d3907ce923f411a1b2c6c4de9d55d6
64c24348f1ba8788fbffaf663b3df38d9b49a5d1
refs/heads/master
2023-04-30T08:16:40.735496
2020-12-10T05:23:08
2020-12-10T05:23:08
369,859,996
1
0
MIT
2021-05-22T16:50:56
2021-05-22T16:48:32
null
UTF-8
Python
false
false
23,438
py
#!/usr/bin/env python3 # Copyright (c) 2018-2019 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the Partially Signed Transaction RPCs. """ from decimal import Decimal from test_framework.test_f...
[ "wuemma@protonmail.com" ]
wuemma@protonmail.com
9feed63451bef102014e1db4b7b1534f914f8391
1bad7d2b7fc920ecf2789755ed7f44b039d4134d
/ABC/135/B.py
3e3f063bc57addbf1c942e881e1f979b084a9a58
[]
no_license
kanekyo1234/AtCoder_solve
ce95caafd31f7c953c0fc699f0f4897dddd7a159
e5ea7b080b72a2a2fd3fcb826cd10c4ab2e2720e
refs/heads/master
2023-04-01T04:01:15.885945
2021-04-06T04:03:31
2021-04-06T04:03:31
266,151,065
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
a=int(input()) count=0 b=list(map(int,input().split()) ) for i in range(0,len(b),1): if i+1!=b[i]: count+=1 if count<=2: print("YES") else: print("NO")
[ "kanekyohunter.0314@softbank.ne.jp" ]
kanekyohunter.0314@softbank.ne.jp
30cb4ecdef0236525abc70a580ffb689dce821cd
c51eef37bb983a9c35635c7ccc96a0cf689a7438
/lecture/lecture_gn/week5/jolse_stage.py
7b420f0824f38ff1ef1f0e04dd3016bdfb4f72b5
[]
no_license
Kyeongrok/python_crawler
0a717b43be36584af1b0f7c1ad0c79108a5d11e0
5a5da8af7bb080f752a9a066741ac8adab136a3a
refs/heads/master
2022-09-13T03:15:08.053639
2022-08-02T15:45:03
2022-08-02T15:45:03
124,719,435
40
34
null
2019-02-27T08:29:52
2018-03-11T03:20:32
HTML
UTF-8
Python
false
false
444
py
import libs.jolse.jolse_parser as parser def getProdList(fileName): file = open(fileName, encoding="utf-8") str = file.read() prodList = parser.parse(str) return prodList prodList1 = getProdList("./troublecare_1.html") prodList2 = getProdList("./troublecare_2.html") mergedList = prodList1 + prodList2...
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
3c1f0f8a2f53aec32ae5e88a968590a921524277
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/fitting/exportFittingUtil.py
aed075f76951553f3448a3a7117b1030d7f2385a
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
#Embedded file name: fitting\exportFittingUtil.py """ This file contains some utility functions for exporting fitting in EFT format It assume the following order, with the slot location separated by one linebreak low slots mid slots high slots rig slots subsystem slots drones items i...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
e8940c78beb84523da7d02ce3942fc7fa37bedd6
3060b94f8770ae5047fd9797097d88dfa67c5077
/py4seo/Код с занятий/lesson2/google_with_similar.py
44e1fe68a22919de8720aa0f49730d70e1ce5ef3
[]
no_license
vvscode/py--notes
8758d532266e8f39857eb8474ab05e9b8cab3841
75ddb6608084eb0983ec061f1fc9d3ba75781d46
refs/heads/master
2023-05-05T21:25:11.932183
2020-01-05T20:06:09
2020-01-05T20:06:09
117,715,579
1
0
null
2023-04-21T20:44:33
2018-01-16T17:18:13
HTML
UTF-8
Python
false
false
593
py
from pprint import pprint from requests_html import HTMLSession keyword = input('Введите ключевое слово: ') session = HTMLSession() resp = session.get( f'https://www.google.com/search?q={keyword}&num=100&hl=en') links = resp.html.xpath('//div[@class="r"]/a[1]/@href') domains = [x.split('/')[2] for x in links if ...
[ "v.vanchuk@tut.by" ]
v.vanchuk@tut.by
882273dd8aabbbca5590d4a7b521ff9e8bea09ca
6c8f3ab5f952d986a17edda582c5a039bf65c632
/django/auth_user_project/auth_user_project/settings.py
b8b7c819e5615a99f8bd1302ffa966a537b87832
[]
no_license
phillipn/coding_bootcamp_projects
3d3bd697728dd4502267e0cd2be7a090952029a8
278f96df9d256364583654a00fe585d474ea86a1
refs/heads/master
2021-01-17T17:30:14.607944
2017-03-19T18:12:32
2017-03-19T18:12:32
82,971,619
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
""" Django settings for auth_user_project project. Generated by 'django-admin startproject' using Django 1.10.5. 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/ """ ...
[ "phillipn101@gmail.com" ]
phillipn101@gmail.com
92778cc747a3cd6dee053f7284def1ac1f5e5fe6
17f1811abda6c828460b77f460671f9c2f464204
/leetcode/largest_number.py
3c17465e72318327c01ca8b5e0fae1fea78975e4
[]
no_license
rishabhranawat/challenge
f10f69fc30881a0571c4321b466a89aeeb06e568
e836343be5185f8843bb77197fccff250e9a77e3
refs/heads/master
2021-01-21T15:13:47.590675
2020-04-25T15:26:42
2020-04-25T15:26:42
91,833,947
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
class Solution: def compare(self, n1, n2): if(n1 + n2 > n2 + n1): return False elif(n1 + n2 < n2 + n1): return True def largestNumber(self, nums): nums = [str(x) for x in nums] for i in range(0, len(nums), 1): for j in range(i, len(nums), 1): if(self.compare(nums[i], nums[j])): temp = nums[...
[ "rishabhranawat12345@gmail.com" ]
rishabhranawat12345@gmail.com
874566cff529b9913c52b638ce6cad8206c4b1da
de79dd7ff6512318087dade18f90436f2b395ae7
/pubbot/education/tests/test_models.py
b25635cbbf8357a1ce6363e5d76ac9f3099dc9d3
[]
no_license
pubbothq/pubbot
ff893b3fc73fc050e974373d547762ec4683a480
71e5e554ae9331075a114e88949c7118e60dff0e
refs/heads/master
2021-08-10T00:20:25.981547
2015-02-06T16:00:53
2015-02-06T16:00:53
13,468,162
0
0
null
2021-06-10T18:55:55
2013-10-10T10:14:34
Python
UTF-8
Python
false
false
595
py
from django.test import TestCase from django.core.exceptions import ValidationError from pubbot.education.models import Education class TestEducationModel(TestCase): def test_as_str(self): e = Education.objects.create( trigger='foo', response='bar', probability=0.5, ...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
4f4880b747bfd351f9375f17b9dd07641ab62c4a
dc329486daa460d67b22679318a2f81fe2be11b3
/07/test_decorator.py
451c5e7aabb5603b5098fb34ed861c08428f16ec
[]
no_license
mcfee-618/FluentPy
0a3cb553d4ab46283216f1b9f31d9ae266fa6a05
e323ff58928860bfc31116096d98e6a12c00ac72
refs/heads/master
2023-02-04T16:18:36.012958
2020-12-25T06:41:54
2020-12-25T06:41:54
273,633,052
5
0
null
null
null
null
UTF-8
Python
false
false
346
py
#coding:utf-8 """ @author: mcfee @description: @file: test_decorator.py @time: 2020/7/6 下午12:02 """ def d1(func): def inner(*args): print("d1") func(args) return inner def d2(func): def inner(*args): print("d2") func() return inner @d1 @d2 def test(): print("22")...
[ "feipeixuan@163.com" ]
feipeixuan@163.com
3ac1d44e9f8295e1e8e69f64342028b586e6e91c
237a97303d7b3f4df7b5a43c46a8f6313acd0814
/conanfile.py
49865d5c74e2d8a9cf1cecb84940230e32979fa7
[ "BSD-3-Clause" ]
permissive
qcscine/xtb_wrapper
a0428e1d016e254499988b9c72bf28238ce3b5b1
9d56c29df0fc58ffc8af8aeef3651c454c24b954
refs/heads/master
2023-05-28T14:52:20.535187
2023-05-12T06:57:33
2023-05-12T06:57:33
436,606,433
1
2
BSD-3-Clause
2022-04-13T10:49:36
2021-12-09T12:20:43
C++
UTF-8
Python
false
false
945
py
from dev.conan.base import ScineConan class ScineXtbConan(ScineConan): name = "scine_xtb_wrapper" version = "2.0.0" url = "https://github.com/qcscine/xtb_wrapper" description = """A wrapper around xtb (https://github.com/grimme-lab/xtb), it exports GFN0-xTB, GFN1-xTB (formerly GFN-xTB), GFN2-xTB, and ...
[ "scine@phys.chem.ethz.ch" ]
scine@phys.chem.ethz.ch
614d670cd961697cd28fdec42daf509b3d083518
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/SBSteat_20190605143050.py
20df4d75e2b1044094be351db2fb84971174eae7
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
def SBS(A,B): if A==0 or B ==0: return 0 elif set(A)<=set(B) or set(B)<=set(A): return 1 else: return len(set(A)&set(B)) /len(set(A)|set(B)) def StrToList(A): C=[] for i in A: C.append(i) return C import re f = open('D:\DeepLearning ER\Z1006014.txt','r',errors=...
[ "1044801968@qq.com" ]
1044801968@qq.com
d6af177ea5cf4a6c31c9bf621ceaf800e0af28ee
94edd77768815a784062485ae2a474465ca5fb63
/imbi/endpoints/fact_type_enums.py
c23e8a3975986a29a51491dbf0d8eeda21f5b316
[ "BSD-3-Clause" ]
permissive
joshbenner/imbi
c4e11a47fc445e96de67c37bc459b39296c032a0
6c22a0f5ecc7e1f8bef2062c65bf5e8a89289c64
refs/heads/main
2023-05-04T19:00:48.020036
2021-05-28T14:48:50
2021-05-28T14:48:50
372,283,545
0
0
BSD-3-Clause
2021-05-30T18:05:59
2021-05-30T18:05:58
null
UTF-8
Python
false
false
1,716
py
import re from imbi.endpoints import base class _RequestHandlerMixin: ID_KEY = ['id'] FIELDS = ['id', 'fact_type_id', 'value', 'icon_class', 'score'] GET_SQL = re.sub(r'\s+', ' ', """\ SELECT id, fact_type_id, created_at, created_by, last_modified_at, last_modified_by, value, ic...
[ "gavinr@aweber.com" ]
gavinr@aweber.com
746dd5639295c471fd891a96444729209ba4b883
b3c3a810d48b02e40685f57d346fd9c0f2237a9e
/Python Essentials/4.0 For Loops/09. Left and Right Sum.py
965597214ba5f9d36fdacda5232afab49ad6de75
[]
no_license
byAbaddon/Essentials-Course-with----JavaScript___and___Python
7ef8112edafd6a2e2cef82c7709f974a67c64cc0
5194d9e74c2aa186e5571745f8931f31595d4b99
refs/heads/main
2023-03-27T23:23:18.426633
2021-04-05T21:09:06
2021-04-05T21:09:06
349,848,597
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
loop = int(input()) num_list = [int(input()) for _ in range(loop * 2)] left_sum = sum(num_list[0:loop]) right_sum = sum(num_list[loop:]) print(f'Yes, sum = {left_sum}' if left_sum == right_sum else f'No, diff = {abs(left_sum - right_sum)}') ''' 2 10 90 60 40 #Yes, sum = 100 '''
[ "noreply@github.com" ]
byAbaddon.noreply@github.com
78a9baf6e85c97b8edbe26e27fafcfc39652abf7
accc9921ffb9761cd235e40aefdaa577047ec01a
/AutomationScripts/Manage Files Accordingly/manage _files_accordingly.py
1a27c88d01c5d9dc4724052ad789bec0046f8d3c
[ "MIT" ]
permissive
whyadiwhy/Awesome_Python_Scripts
0c43dbdef66ec33407c7abe7ab5bae9ea8b4c67e
fe6300d53b465e1f902c183491808771cf1b2db0
refs/heads/main
2023-07-12T20:56:13.995877
2021-08-29T12:20:58
2021-08-29T12:20:58
400,765,524
6
0
MIT
2021-08-28T10:33:33
2021-08-28T10:33:33
null
UTF-8
Python
false
false
1,759
py
# Import the following modules import os import time import shutil import datetime import glob # Change the directory and jump to the location where you want to arrange the files os.chdir(r"C:\Users\Dell\Downloads\FireShot") all_files = list(os.listdir()) # List the directories and make a list outputs = o...
[ "noreply@github.com" ]
whyadiwhy.noreply@github.com
30f392b755419090b78af85c0dfd77f4dd5602b6
9b8e2992a38f591032997b5ced290fe1acc3ad94
/brutelcs3.py
db5e8ca7ded7da7f3dafe068b685545399f4ac1f
[]
no_license
girishdhegde/aps-2020
c694443c10d0d572c8022dad5a6ce735462aaa51
fb43d8817ba16ff78f93a8257409d77dbc82ced8
refs/heads/master
2021-08-08T04:49:18.876187
2021-01-02T04:46:20
2021-01-02T04:46:20
236,218,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
t = int(input()) mv = {'A': 0, 'B': 1, 'C': 2, 'D': 3} price = [25, 50, 75, 100] total = 0 comb = [] idx1 = [0, 1, 2, 3] for i1 in idx1: idx2 = [0, 1, 2, 3] idx2.remove(i1) for i2 in idx2: idx3 = [0, 1, 2, 3] idx3.remove(i1) idx3.remove(i2) for i3 in idx3: idx4 ...
[ "girsihdhegde12499@gmail.com" ]
girsihdhegde12499@gmail.com
a7960b59054ed0efdc2d4e088185ea302703e934
995740049f45bb61e5558be368c21b3468417ea7
/field/hor_yaps/combined_for_yaps.py
e4d520a4706375b6aa8f131e1a5dea8b33f96760
[]
no_license
rustychris/hor_flow_and_salmon
d506537b1aed65d543ff14295e63e86f62d18919
30f008596543bb80ec959151598beaefa1125baf
refs/heads/master
2021-12-10T08:55:12.867098
2021-12-08T22:02:16
2021-12-08T22:02:16
137,799,647
0
0
null
null
null
null
UTF-8
Python
false
false
8,342
py
""" Read receiver data, split into manageable chunks (~6h), and check for clock resets (which are convered to two independent stations) Pass to R/yaps for fitting clock drift model. This is adapted from split_for_yaps.py, but to write the whole period out to a csv. """ import datetime import os from stompy import uti...
[ "rustychris@gmail.com" ]
rustychris@gmail.com
6f7d6264de6ac4562ca25ef1b3dc9c9000ee15d4
8c28ba34703060c6c7a4fae702ab6700bf0fbd27
/SeleniumBuiltins/DragNDrop.py
80627af2c40c0c7f39d12068f354667674016a82
[]
no_license
aravindanath/Target2020PyAuto
6256c297435999579bdcb1b571522922f6d4e7ef
413ef74acc1010d58730e1ef9c9030c904bf9e6b
refs/heads/master
2020-12-09T16:49:22.797228
2020-03-31T03:44:25
2020-03-31T03:44:25
233,361,383
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from browserLaunch import launchChrome as lp import time from selenium.webdriver.common.action_chains import ActionChains lp.driver.get("http://the-internet.herokuapp.com/drag_and_drop") src =lp.driver.find_element_by_css_selector("#column-a") dec = lp.driver.find_element_by_css_selector("#column-b") time.sleep(2)...
[ "aravindanath86@gmail.com" ]
aravindanath86@gmail.com
109b79d52991a4f60aa48045850ded8219a511a8
0a380d4e1a9f21504b0defe50ff7f0a0e5df60ae
/code/algorithm/bfs/02_密码锁.py
834df5ac79314c29145bfd1f46b3985a3cbc2dff
[]
no_license
fadeawaylove/interview_mkdocs
a23331f0917cf23eb6ec6912d5b8d4872217b54c
116e84e41750b8e62e630deceda2e61589c66a3c
refs/heads/master
2023-04-28T15:14:17.976754
2021-05-08T09:10:26
2021-05-08T09:10:26
297,905,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
class Solution: def openLock(self, deadends: List[str], target: str) -> int: q = ["0000"] visited = [] cnt = 0 while q: sq = len(q) for i in range(sq): num = q.pop(0) if num in deadends: continue ...
[ "dengrt@akulaku.com" ]
dengrt@akulaku.com
a237a8bb9492a035288d7749f2d137f710f93724
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/cloud/documentai/v1/documentai-v1-py/tests/unit/gapic/documentai_v1/test_document_processor_service.py
61662c1be19eb3fe6fea78a839ed19c244394c78
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
71,426
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
938ab435c7e1507de44d96964040b5e0ddc54585
b5bde703700ccf5b575f2382d357c0d2f5bd306c
/code/.metadata/.plugins/org.eclipse.core.resources/.history/49/60f2b75269f30014128189d707139bfe
d47938563ff240229824c2759953b2c6ad7f50fe
[]
no_license
lordwarlock/IRFinalProj
6a4a4a8d880f27fcd38054125c5e695c179863d6
cc2b3003fb41a63cb85c84bbdf13c20d8a7e1cba
refs/heads/master
2016-08-07T08:52:46.564262
2015-05-06T21:48:42
2015-05-06T21:48:42
33,019,191
1
0
null
null
null
null
UTF-8
Python
false
false
3,558
#!/usr/bin/python ''' Created on Apr 25, 2015 Defines the general behavior that can be used by all cgi search modules. ''' import unicodedata import cgi import cgitb cgitb.enable() def receive_data(): '''Receive and return the cgi data from web-page.''' print 'Content-Type: text/html\n\n' dat...
[ "apple@Junchao.local" ]
apple@Junchao.local
0d5b199e3403fbb09cf0d47e3a0592be9d880988
ea91ea3ef298b01fac1fd457348625033cd41005
/contingent/migrations/0006_auto_20160218_0815.py
be42f52452fb87a52400e3cc27c1c2dbe9f97819
[]
no_license
khokhlov/msap
d85700a2685ff7357e0fccc42ce0b0f211b25369
788a709f5fb59fcbdc5b001cdbe02c184040e2f7
refs/heads/master
2021-01-10T08:25:29.211491
2018-02-06T13:33:54
2018-02-06T13:33:54
49,502,021
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-18 08:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('contingent', '0005_studentsgroup_monitor'), ] operations = [ migrations.AlterModelOp...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com