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
6e81f22928eb62fb954a13ed29451138c638f076
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/advice/model/accept_info.py
6fa2a5d7d643ed855b9ba08bbee4f8d808006337
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,124
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
b1aad7830ea72cb2ccbd44a7c1720286e2550358
50b77b527b95659c6ac8484a1091a70b4ad25d73
/2018/7/aoc7.py
7247ef3954f0b0a3421127427c1cd1cf9919d082
[]
no_license
cjuub/advent-of-code
d3a4569dd0b7bf7e10dc6a76a1ffe569df4e93a2
bb92d8ae96cde8c3e57abed26019e692fa6e168f
refs/heads/master
2023-01-10T00:32:56.847184
2023-01-02T20:46:57
2023-01-02T20:46:57
160,243,333
0
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
#!/usr/bin/env python3 reqs = {} with open('input.txt') as fp: for line in fp: before = line.split(' ')[1] after = line.split(' ')[7] reqs.setdefault(before, []) reqs[before].append(after) reqs_orig = dict(reqs) order = '' while not len(reqs) == 0: avails = [] de...
[ "cjuuub@gmail.com" ]
cjuuub@gmail.com
6c26ede3a76d79fc1ae4fe905c34216511b5c6b6
4555f7818bffa529bbe1e1c23cd469fd77b00fed
/docs/conf.py
86f2e10438a1d97608868d61c0e8de2923b9fd5d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Incognito/import-linter
6d1308041057b473a66ad8dd500e82de58a8592b
afab73c8f60c284cd5dbe013c4c7de03c294cc6a
refs/heads/master
2023-03-04T12:47:10.088128
2021-02-02T08:44:10
2021-02-02T08:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,958
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
[ "david.seddon@octoenergy.com" ]
david.seddon@octoenergy.com
1d330f459d4667ac9a9af0da4297a34f9711c403
12f2cc161e8f87666c3396bf58f025786c565c19
/scripts/render_metg.py
eb285d8cf4d4d389122341e92aa1491f9ebce360
[ "Apache-2.0" ]
permissive
StanfordLegion/task-bench
f4eb5cd751dea201735816a01a6689838d4d2a98
bf4ad1982d4b748bf3fd54e8239e798114e6ade8
refs/heads/master
2023-08-10T12:45:32.707394
2023-07-26T20:38:44
2023-07-26T20:38:44
134,778,404
36
31
Apache-2.0
2023-07-26T20:38:46
2018-05-24T23:21:01
C++
UTF-8
Python
false
false
9,212
py
#!/usr/bin/env python3 # Copyright 2020 Stanford University # Copyright 2020 Los Alamos National Laboratory # # 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/lice...
[ "slaughter@cs.stanford.edu" ]
slaughter@cs.stanford.edu
4de567ba1d267109d3843d2ce579b486bf11fae5
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/base/lib/encodings/unicode_internal.py
55081f209be2ab385cfe68cee89a9d41caff49ed
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
854
py
import codecs class Codec(codecs.Codec): encode = codecs.unicode_internal_encode decode = codecs.unicode_internal_decode class IncrementalEncoder(codecs.IncrementalEncoder): def encode(self, input, final=False): return codecs.unicode_internal_encode(input, self.errors)[0] class Incre...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
e83211185cc46cd4d89fef599558c34348644b00
6c57b1694817d1710335429c12c2d9774ff446e3
/2017-08-03/AS_DA_DB/case14/generated_files/LEMS_c302_C2_AS_DA_DB_nrn.py
b9730ecf14a549bc5a05f43dec3b487c0aa77b79
[]
no_license
lungd/openworm-experiments
cd3875e8071c35eacb919c318344bac56d0fe379
065f481fbb445ef12b8ab2110f501686d26c213c
refs/heads/master
2021-01-01T04:41:38.397726
2017-09-12T13:55:40
2017-09-12T13:55:40
97,220,679
1
1
null
2017-09-01T17:10:28
2017-07-14T10:07:56
Python
UTF-8
Python
false
false
718,693
py
''' Neuron simulator export for: Components: Leak (Type: ionChannelPassive: conductance=1.0E-11 (SI conductance)) k_fast (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) k_slow (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) ca_boyle (Type: ionChannelHH: conductance=1.0E-11 (SI...
[ "lungdm@gmail.com" ]
lungdm@gmail.com
0949faa7541e1b22bb8c0bc5322ea72176d6827f
897ecfe506a00d4fbb5631ef1380f8c98114c27d
/prompt_toolkit/buffer.py
5b821fe494abd42b95afdbc026d92dbc07dda89c
[ "BSD-3-Clause" ]
permissive
CPT-Jack-A-Castle/python-prompt-toolkit
544eb4f7f2ecb57560b5ec5ccdd3970be337e907
7421c0a355a55a07805e50220b1977b6ddde0788
refs/heads/master
2021-08-02T18:21:58.057730
2016-10-12T20:00:18
2016-10-12T20:00:23
369,819,836
0
0
BSD-3-Clause
2021-07-18T07:21:43
2021-05-22T13:50:21
null
UTF-8
Python
false
false
45,774
py
""" Data structures for the Buffer. It holds the text, cursor position, history, etc... """ from __future__ import unicode_literals from .auto_suggest import AutoSuggest from .clipboard import ClipboardData from .completion import Completer, Completion, CompleteEvent from .document import Document from .enums import I...
[ "jonathan@slenders.be" ]
jonathan@slenders.be
5e72c1cc7dff55e5881bb8c1629cf0fe1b128594
bcb56cc126ea1885eb5ecc920884e2e331def045
/Part A/Interesting drink.py
707fabf2d0047d035017bdeda5d7ccf7cab92af1
[]
no_license
priyanshkedia04/Codeforces-Solutions
2d11cb7b8329fe658f983b7212c17fc89fd784f0
a5197c633bf4c3238f48bfb5b308144c2ffba473
refs/heads/main
2023-06-06T13:10:13.787843
2021-07-01T14:06:52
2021-07-01T14:06:52
382,000,707
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
import bisect input() x=sorted(map(int,input().split())) for i in range(int(input())): m=int(input()) print(bisect.bisect_right(x,m))
[ "noreply@github.com" ]
priyanshkedia04.noreply@github.com
7200d90d23a2e7fdaeb7dfbf4cfbc11f22c0a9aa
6a9907ff1b35d8970b671ed79b4fb70bd320af29
/Day01/demo01.py
1a69af972087467d7eaf95f74bd0a1dff4d6a0f7
[]
no_license
typeme/python_spider_study
dc4f91cc4bea5a34aa327263e1ccc4f9b765687d
5ecfce7bb673c2a4942d45e44d806d933fc02146
refs/heads/master
2021-02-19T23:52:22.608769
2020-03-06T03:44:42
2020-03-06T03:44:42
245,323,828
1
0
null
null
null
null
UTF-8
Python
false
false
691
py
import random ''' 模拟剪刀石头布 0 剪刀 1 石头 2布 ''' computer = random.randint(0,2) player = input() player = int(player) if player == computer: print('平局') if player == 0: if computer == 1: print('computer win') else: print('player win') elif player == 1: if computer == 2: print('com...
[ "typeme3@163.com" ]
typeme3@163.com
e66855f8845952bd0eaf49c3dc3a04b68321bae4
46b1fb8cd30718befb8a7cf50c61e36b9ca81448
/03-Functions.py
b0189283ac316c69f7b9c9c9fc0751dc9c35222d
[]
no_license
brainmentorspvtltd/MSIT_CorePython
bb19fb9701bf24f0e48370f7404ea5aca3e49881
7ff75ecacae059cb533fa18b330085d68fa3ad71
refs/heads/master
2022-10-02T19:33:51.025937
2020-06-04T11:03:46
2020-06-04T11:03:46
266,517,862
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
def inputNumbers(): a = input("Enter first number: ") # local variable b = input("Enter second number: ") return a, b def calc(operator): x, y = inputNumbers() # eval("10 / 10") print(eval(x + operator + y)) # eval uses postfix expression evaluation print(''' 1. Add 2. Sub 3...
[ "noreply@github.com" ]
brainmentorspvtltd.noreply@github.com
3334a3f9fd548c17ac8ecd53c79d48874dc04a8d
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/SpamBayes/rev2415-2881/left-trunk-2881/Outlook2000/manager.py
d253f66b2ad83ad82f4864df8de9e2cd9263c192
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
31,936
py
from __future__ import generators import cPickle import os import sys import errno import shutil import traceback import operator import win32api, win32con, win32gui import timer, thread import win32com.client import win32com.client.gencache import pythoncom import msgstore try: True, False except NameError: Tr...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
63e6419f1b7369fc8598f856fc6b7d50da87fce6
3a8057d469a533b13a5a0961a48bfde1b31411cd
/code_test-2021/meituan4.py
deac561dcc4259e921eeb3fffb419b28e5878478
[]
no_license
XMK233/Leetcode-Journey
41b5aa6a47db56b008e94d75029f3dffd24a4695
4012c16ccedeebc7852fda707a2399ecb0b5b60a
refs/heads/master
2022-04-26T13:08:32.470174
2022-03-07T14:09:29
2022-03-07T14:09:29
126,415,900
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
''' 小美的跳方格 时间限制: 3000MS 内存限制: 589824KB 题目描述: 小美在路上看到一些小学生在玩跳方格,她也想跟着一起玩。 这个方格被划分为n×n的小方格,即有n行n列。每一个小方格上面都是一个1~k的正整数。小美想依次从1,2,…,k这个顺序来跳。一开始小美可以站在任意一个小方格。从一个方格跳到另一个方格的花费为两个方格的曼哈顿距离。小美想知道是否可以依照该顺序一直跳到k,如果可以,最小的总花费是多少。 两个格子(x1,y1),(x2,y2)的曼哈顿距离为:|x1-x2|+|y1-y2|。例如(3,4),(1,6)的曼哈顿距离为|3-1|+|4-6|=4。 输入描述 第一行两个正整数n,k; 接...
[ "clxfxmk@qq.com" ]
clxfxmk@qq.com
83c61ec3a8afc1f6d0bcc8b283ab50ecb33d4628
3e9d29bcf54dc54e83a33d45b9de8f9364ffc101
/activities/forms.py
33ec459d0a9b3e462416620794fd5048e958b21b
[]
no_license
Pythonian/footystory
54045cd9d44bc6ded93679d45ff73b1d132b40ed
3613af05d3f1e11a72ee84cde12950afa1067edf
refs/heads/master
2023-09-03T23:05:44.569859
2023-08-17T14:41:57
2023-08-17T14:41:57
108,721,512
0
1
null
null
null
null
UTF-8
Python
false
false
1,799
py
from django import forms from .models import Post from pagedown.widgets import PagedownWidget class PostForm(forms.ModelForm): content = forms.CharField(widget=PagedownWidget(show_preview=False)) publish = forms.DateField(widget=forms.SelectDateWidget) class Meta: model = Post fields = ['title', 'image', 'conte...
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
e0b742847e295daf92a7730df715b55cd6364414
0ebc2791301c67355df42f33882ac7f88ceece41
/pipeline.py
24b4af5fcc391801c493e0803479f77775f8138e
[ "Unlicense" ]
permissive
ArchiveTeam/wallbase-grab
984205b0f81318de3b214fe600d15f85d93a0e1d
9324a05b8f37d61e2b8b67459244d4bedfc56863
refs/heads/master
2016-09-01T21:28:54.756865
2014-08-28T19:42:45
2014-08-28T19:42:45
22,986,572
0
0
null
null
null
null
UTF-8
Python
false
false
20,411
py
# encoding=utf8 import datetime from distutils.version import StrictVersion import hashlib import os.path import random from seesaw.config import realize, NumberConfigValue from seesaw.item import ItemInterpolation, ItemValue from seesaw.task import SimpleTask, LimitConcurrent from seesaw.tracker import GetItemFromTrac...
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
4acf79d2d08d473428cd35d1c622e34830042390
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2731/49823/296531.py
ab7ebc5b24df521a6a72406c0d83867e1fd63dfa
[]
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
71
py
if int(input())==1 and int(input())==7: print(6) else: print(4)
[ "1069583789@qq.com" ]
1069583789@qq.com
131e1fc7d7f51df48ecacaba79b457041c11276c
a635c083db6122e958dd56720d8b1065e5f24484
/While_Testing.py
eba71f774ed5a0fc8489dfab4ce44e50b8f56f02
[]
no_license
Khun-Cho-Lwin/Python-Files-IPND
f14dec938defecae6c85c1065ed9ac1f7fc84380
25269bff92c05d658469bb923cc9502e62227f8a
refs/heads/master
2022-07-29T21:04:43.119356
2020-05-25T18:28:19
2020-05-25T18:28:19
266,686,429
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
i = 0 while i < 10: print i i = i + 1 i = 0 while i != 10: i = i + 1 print i #While loop (2) i = 2 #(*****) while i != 10: i = i + 2 print i #While loop playground i = 0 while i < 10: print i i = i + 1 #my Test i = 0 while i < 10: i = i + 1 print i def remove_spaces(text): ...
[ "khuncholwin.2019@gmail.com" ]
khuncholwin.2019@gmail.com
ffe902c8c5ccb018e8d700ca7f57856e6b95a791
e7174bac742602a03dc646c1b33dd16a0bb1837d
/githubcap/manipulators/checkbox.py
5610b5be96a8c357846c55e64a41368638da422f
[ "Apache-2.0" ]
permissive
jayvdb/githubcap
f789a3deb8f453ddf9701608529f370f747b4922
949d4f4ec0193bc74a8849dfa7b54da19472395d
refs/heads/master
2020-12-05T21:03:48.152601
2018-01-17T08:12:42
2018-01-17T08:16:32
232,247,158
0
0
Apache-2.0
2020-01-07T05:11:06
2020-01-07T05:11:05
null
UTF-8
Python
false
false
3,225
py
"""Manipulation with checkboxes.""" import typing from githubcap.exceptions import UserInputError class Checkbox: """A checkbox manipulator.""" _CHECKED_CHECKBOX = ('* [x] ', '* [X] ', '- [x] ', '- [X] ') _UNCHECKED_CHECKBOX = ('* [ ] ', '- [ ] ') _CHECKBOX = _CHECKED_CHECKBOX + _UNCHECKED_CHECKBOX...
[ "fridolin@redhat.com" ]
fridolin@redhat.com
3b4c1a5041186ebf92ebafbd58c60528043679ad
85a5c20f55a6b361148ed324649c66114c323d00
/.history/ecommerce_webapp/StoreApp/urls_20210611130915.py
f64db57d8f0e7423833faa549267efec3b260a5c
[]
no_license
ritikalohia/tepid_store
8711934182ca1f128bc815ebd06ea7e431f53327
f66e6bc3bb0b52d40e6cc82f5f164b6afa1c8b1d
refs/heads/main
2023-05-31T12:16:36.838506
2021-06-17T16:33:31
2021-06-17T16:33:31
375,096,115
1
0
null
null
null
null
UTF-8
Python
false
false
541
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path("account/", views.account, name="Account"), path("aboutus/", views.about, name="AboutUs"), path("contactus/", views.contact, name="Contact"), #path("tracker/",...
[ "rtklohia@gmail.com" ]
rtklohia@gmail.com
4fb39dc0eefb4d9c3a4382a84cf29c480027d863
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_Pandas_Numpy/source3.6/keras_applications/vgg16.py
f0f35d044beae4cd4cf2d5bfdbff8fa7f58ced4d
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
8,504
py
"""VGG16 model for Keras. # Reference - [Very Deep Convolutional Networks for Large-Scale Image Recognition]( https://arxiv.org/abs/1409.1556) """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import os from . import get_submodules_from_kwargs from...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
6582705a6170b9e0bfeb84c0473e001883243912
846506a6c9023a21ff831c637f71cffd3b0aab62
/Python/X_Archive/AddReplaceDataLabels.py
610e4341edcb212c5c64e8a4c7324282bb0971d8
[]
no_license
emonson/Weinfurt_DocFreq
b90378e57af7c17d32c72e5924a1b9af9f0f6584
1c9082d8ce4c0d002b6a65d446421840e24435fd
refs/heads/master
2020-05-29T21:05:01.397101
2015-01-22T13:53:53
2015-01-22T13:53:53
29,681,004
0
1
null
null
null
null
UTF-8
Python
false
false
1,009
py
# First pass at changing to new data label scheme # After this will have to hand split new lines and change strange # labels # -- EMonson 24 Nov 2008 f = open('LongVersion_noCTabs_rev4.html','r') whole4 = f.read() # e.g. All ${s_0} add one and put in data -> ${s_data001} for ii in range(146): for ss in ['s', 'c']:...
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
79d16f199d50c562b50d4ee72ae2117d2f3b40a9
03034837c5f10d19fcc4dc51388f056ec43fd1d2
/pro81.py
4a3afdc1da1db5738edafe514a66a2e6b02aba0d
[]
no_license
shaukhk01/project01
e95c19844757c631f7ffbdd910b20316f49a945b
79cfe784612fdbb4816c9fc3fc7222c845a3268f
refs/heads/master
2020-06-26T07:20:49.844532
2019-08-20T06:06:40
2019-08-20T06:06:40
199,569,813
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
class a: def m1(self): print('class a method') class b: def m2(self): print('class b method)') class c(b,a):pass o = c() o.m1()
[ "shaukhk01@gmail.com" ]
shaukhk01@gmail.com
2d4e76e2f2282871214040c143a23c9f9f3b7b3d
0308ca5b152a082c1a206a1a136fd45e79b48143
/usvao/prototype/vaopy/trunk/tests/registry/testNeedsNet.py
80722ce8d071618f5a91f08fe21f3c1774c23662
[]
no_license
Schwarzam/usvirtualobservatory
b609bf21a09c187b70e311a4c857516284049c31
53fe6c14cc9312d048326acfa25377e3eac59858
refs/heads/master
2022-03-28T23:38:58.847018
2019-11-27T16:05:47
2019-11-27T16:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
#!/usr/bin/env python """ Test all available tests that do not require access to the network. """ import sys, os, unittest, imp if len(sys.argv) > 1: testdir = sys.argv[1] else: testdir = os.path.dirname(sys.argv[0]) testserverport = 8081 tests = [] for t in [ "testVaoRegNeedsNet", ]: try: ...
[ "usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5" ]
usvirtualobservatory@5a1e9bf7-f4d4-f7d4-5b89-e7d39643c4b5
a6d35e81e810fd1afc605c460a8dde11bf02f7c7
82521839296ec73768c4aafb8f290c52115eef9b
/project_admin/urls.py
ef1f6a54058d11b6333749e6b9af506dc9384468
[]
no_license
musfiqraihan/project-management
95e3120559675784a0927d916a3f1ab48613ad67
9ffa5dbe1f34e85535397d314296260b9c4eddbe
refs/heads/master
2023-04-02T04:03:03.788641
2021-04-03T07:53:45
2021-04-03T07:53:45
337,051,705
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
from django.urls import path from . import views urlpatterns = [ path('developers/add', views.add_developers, name='add-developers'), path('developers/delete/<int:pid>', views.delete_developers, name='delete-developers'), path('developemnt/tools/add', views.add_development_tools, name='add-development-to...
[ "musfiqak@gmail.com" ]
musfiqak@gmail.com
5fc9e9a23b535852544309a1ec30f4cd81240108
ffc1cc3bb7b68335b115122fdc7924fc4e31d528
/play_90.py
4a267acbb48c729c0316eb574bc544be481a0060
[]
no_license
Rihanashariff/swathi24
dba1dd3c3d2ff583ae431b432e0ef262bfeb3ac3
2b0d21f2febdd2a563e8f0affeebd5ca7a5821b8
refs/heads/master
2020-07-02T05:28:32.199982
2019-06-29T08:22:10
2019-06-29T08:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
#swa def fact1(n): fact=1 for i in range(1,n+1): fact=fact*i return fact n,k=map(int,input().split(" ")) print(fact1(n)//(fact1(k)*fact1(n-k)))
[ "noreply@github.com" ]
Rihanashariff.noreply@github.com
6d962ea543a97226b5060be04499975c7ef3fd2f
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/data/experimental/ops/writers.py
8dd74ae7ecd8259afad8c6108fa7b445bd458915
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
3,438
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
ce2e7fb4a0d899f5903674a8337bddf3e615758e
259f521085f78d5f6188afa2b166d6eb9ee2e867
/api/main/views.py
6f60907efa80618e8216414cb0763b45a331ae7d
[ "Apache-2.0" ]
permissive
till-tomorrow/AH2018
f3441d08cf3deec11c3e09477753e3c089ce0e1f
5fde4604d6d83eaa52c7add0c3a7ca87bf48fbc8
refs/heads/master
2020-03-19T13:40:36.079006
2018-05-08T18:39:19
2018-05-08T18:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
from django.shortcuts import render from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.renderers import JSONRenderer from rest_framework.parsers import JSONParser import paralleldots # from .models import * # from .serializers import * # from ....
[ "jatin.katyal13@gmail.com" ]
jatin.katyal13@gmail.com
165495e820ee37ea7b8952fb68a3741e4eca5afc
57775b4c245723078fd43abc35320cb16f0d4cb6
/Leetcode/string/first-unique-character-in-a-string.py
9f95fed1364e4c9606cc5df5bf39487d5c725e31
[]
no_license
farhapartex/code-ninja
1757a7292ac4cdcf1386fe31235d315a4895f072
168fdc915a4e3d3e4d6f051c798dee6ee64ea290
refs/heads/master
2020-07-31T16:10:43.329468
2020-06-18T07:00:34
2020-06-18T07:00:34
210,668,245
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
class Solution: def firstUniqChar(self, s: str) -> int: track = {} for i in range(len(s)): if i == len(s)-1 and s[i] not in track: return i elif s[i] not in track and s[i] not in s[i+1:]: return i else: if s[i] not i...
[ "farhapartex@gmail.com" ]
farhapartex@gmail.com
8da4f523b92432cecbacf7d5a7c7f828ac41f63c
056adbbdfb968486ecc330f913f0de6f51deee33
/575-distribute-candies/distribute-candies.py
158e8adb189fbcd31723d2cc6788250a0131bc0c
[]
no_license
privateHmmmm/leetcode
b84453a1a951cdece2dd629c127da59a4715e078
cb303e610949e953b689fbed499f5bb0b79c4aea
refs/heads/master
2021-05-12T06:21:07.727332
2018-01-12T08:54:52
2018-01-12T08:54:52
117,215,642
0
1
null
null
null
null
UTF-8
Python
false
false
1,396
py
# -*- coding:utf-8 -*- # Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy of the corresponding kind. You need to distribute these candies equally in number to brother and sister. Return the maximum number of kinds of candi...
[ "hyan90@ucsc.edu" ]
hyan90@ucsc.edu
8230abee49776d054b5ded630c7bdff797696664
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/qcl/b.py
934b2a605452e875037770225d079174404ba2b8
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
568
py
# -*- coding: utf-8 -*- import sys def main(): f = open(sys.argv[1]) ncase = int(f.readline()) for i in range(ncase): caseN = i + 1 p = f.readline()[:-1] r = '' for gg in p: if len(r) == 0: r = r + gg elif not r[-1] == gg: ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
57cc54b6dd9275687bc9f3ca13cafd0b2137b408
a359a58aa63cb4e646022d099dd81d96c38c05fc
/数据库/python操作mysql/min_flask.py
14adf13ee05e7033b18b351e9488f2cabdb57209
[]
no_license
YuanXianguo/Python-IT-Heima
5c5a25c69e97e0de352a4dc6bb3bad6800c1cd3f
96ed9be42ba487c065b5ea1783555b053f051586
refs/heads/master
2020-05-02T17:24:35.978117
2019-12-20T02:28:40
2019-12-20T02:28:40
178,097,451
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return "Hello World!" if __name__ == '__main__': app.run(debug=True)
[ "736913978@qq.com" ]
736913978@qq.com
74f9b0d00fbd2c5bfa3bba30ebc4e61f3d0da6dc
3fafec48a27679a82761ad37cf78974b34325604
/lib/seattleflu/id3c/cli/command/longitudinal.py
bff1a6dbe214f44b6e7b292d58432d091bbaa30d
[ "MIT" ]
permissive
seattleflu/id3c-customizations
c05f261c8ece7f7233a24dc6f1a503ab2e6598b1
8ae5c557629e92b3c7e37f3ed22ef477c8d99ac6
refs/heads/master
2023-08-30T20:52:34.009922
2023-08-23T19:08:39
2023-08-23T19:08:39
193,556,316
4
1
MIT
2023-09-08T19:36:57
2019-06-24T18:14:26
PLpgSQL
UTF-8
Python
false
false
13,753
py
""" Parse and upload longitudinal data. Longitudinal childcare data will contain PII (personally identifiable information) and unnecessary information that does not need to be stored. This process will only pull out specific columns of interest that will then be stored in the receiving schema of ID3C. """ import re im...
[ "tsibley@fredhutch.org" ]
tsibley@fredhutch.org
88c674e5687ae8510486a6802af34942b6ded1a7
9d5b0bcc105f7a99e545dd194d776a8f37b08501
/tf_quant_finance/experimental/instruments/rate_curve_test.py
82c5daaa1afdf5805abf0e4f9c842c23b3dc8d1b
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
priyalorha/tf-quant-finance
ab082a9bd6d22fd3ea9a3adcf67a35dc23460588
72ce8231340b27b047279012ffe97aeb79117cdf
refs/heads/master
2023-02-23T11:08:30.161283
2021-02-01T13:57:43
2021-02-01T13:58:14
334,980,881
1
0
Apache-2.0
2021-02-01T14:45:14
2021-02-01T14:45:14
null
UTF-8
Python
false
false
3,567
py
# Lint as: python3 # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "tf-quant-finance-robot@google.com" ]
tf-quant-finance-robot@google.com
de479c19b8bc3c8eca909ea7a070f9eb61070fa0
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py
a3a14fac8cac4ccf19ff9f82f0211ea542d6b61b
[ "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
19,836
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
25c1aeb60563f232d9a51ed362187716fdbd3d2c
2ea977ea1faf49f17631a35aa6511de83ceea694
/Practice/longest_common_prefix.py
9fd9e970a72e12bd4c3aa381f6da7ad91f492df5
[]
no_license
14E47/LeetCode
068134e04cac0273e32f72d76dc54db89619f740
6112c2ba133e4486a6e304ffe39810a6c135d828
refs/heads/master
2020-06-15T09:59:27.327871
2020-05-03T14:55:32
2020-05-03T14:55:32
195,267,195
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
class Solution: def longestCommonPrefix(self, strs: list) -> str: strs.sort(key=len) prefix = "" word = strs[0] if len(strs)==0: return prefix elif len(strs)==1: return strs[0] for i,j in enumerate(word): for k in strs[1:]: ...
[ "wasique3@gmail.com" ]
wasique3@gmail.com
64bcb35b4a3aa8c35e8dff847c5b75130eff3846
04803c70bb97012b7d500a177ac0240fb2ddbe38
/1heptane/pdep/network854_1.py
e350a9b62e90d8a472a033ecb53fa6a4e56e6d03
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
75,805
py
species( label = 'CC[CH]CC[CH]O(1269)', structure = SMILES('CC[CH]CC[CH]O'), E0 = (23.0642,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2750,2770,2790,2810,2830,2850,1425,1437.5,1450,1225,1250,1275,1270,1305,1340,700,750,800,300,350,400,3000,3050,390,425,1340,1360,335,370,3615,1277.5,10...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
39d96e21d3020ad407c66ffe38d6349568128b1d
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/airflow/providers/snowflake/example_dags/example_snowflake.py
12144884059ec98bf87cf47d7caf57113d064deb
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
4,163
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...
[ "noreply@github.com" ]
coutureai.noreply@github.com
0352c619a7fb65b77463c517c6355659d11bf038
4546398a18590e4e182629fb55d185547dd6df0a
/2020/problems/nullogtveir/submissions/partially_accepted/bjarki_25.py
8bd151716e248cdee4eb5be98c7a991bbbcbbb11
[]
no_license
ForritunarkeppniFramhaldsskolanna/Keppnir
352341fa97c6349af65b513c03171f3e706f7db2
65c8eb5358d8a49f956edf76c2d47b9372accc3c
refs/heads/master
2023-04-28T15:33:36.396225
2023-04-23T15:00:15
2023-04-23T15:00:15
78,303,702
1
2
null
null
null
null
UTF-8
Python
false
false
134
py
import sys n = int(sys.stdin.readline()) cnt = 0 for i in range(n+1): if set(str(i)) <= set('02'): cnt += 1 print(cnt)
[ "bjarki.agust@gmail.com" ]
bjarki.agust@gmail.com
3b04100c6f115df58ae36210b06279c7e51a6a65
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/evolutionary_algorithms/course/chapter 02/3d plot/dryfeet_V1007.py
8c0fd690fe5ac304ad5cd52d73492b19ebeeda18
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
1,601
py
from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt from matplotlib import cm import numpy as np from time import sleep def function_z(x_in, y_in): return (((x_in+50) ** 2 + (y_in + 15) ** 2) / 4000) - (np.cos(x_in / 4) * np.cos(y_in / 4)) + 1 plt.ion() fig = plt.figure() ax = f...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
4f50f23efb03e6ad1b47f02ff06da4102b4a4420
7bdf57a9a7b9985ee08b13f10b2d8e89b777f416
/config.py
67565ce21d7e9d6318a1e20c195adc415fbf9d72
[ "MIT" ]
permissive
patricksferraz/flask-session-tutorial
9a1fdb80b094d00a4d82a27240d91235216536d7
e47d089fd3f2e08fd0f20d7b5cbd72bd59323912
refs/heads/master
2022-04-17T14:57:49.226858
2020-04-20T03:46:26
2020-04-20T03:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
"""App configuration.""" from os import environ, path from dotenv import load_dotenv import redis basedir = path.abspath(path.dirname(__file__)) load_dotenv(path.join(basedir, '.env')) class Config: """Set Flask configuration variables from .env file.""" # General Config SECRET_KEY = environ.get('SECRET...
[ "toddbirchard@gmail.com" ]
toddbirchard@gmail.com
537c449935a42dd83b7bbf22642b3753261b680c
12abe02e205d3e8dabe78fb5a93ccca89e2c42c4
/toontown/catalog/CatalogItemPanel.py
01d4e60e22bbda0d98b87332403c96e83ce2cb0f
[]
no_license
nate97/toontown-src-py3.0
55092b2973b76e6b6d566887f44c52822684394c
f76c515801ae08c40b264b48365211fd44b137eb
refs/heads/master
2022-07-07T05:23:22.071185
2022-06-22T16:36:10
2022-06-22T16:36:10
187,682,471
15
8
null
null
null
null
UTF-8
Python
false
false
26,951
py
from direct.gui.DirectGui import * from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer from . import CatalogItemTypes from . import CatalogItem from .CatalogWallpaperItem import getAllWallpapers from .CatalogFloorin...
[ "nathanielfuhr@gmail.com" ]
nathanielfuhr@gmail.com
0b25391d098da4e7f01175c1f5404fb779c2bb88
1d9a6406c859fda186f520bb4472c551fc572c7b
/src/tests/testutils/user_test_utils.py
c6fc86c33440accbe0a1e54f36fe5074ddf1ffdf
[ "Apache-2.0" ]
permissive
rickie/hopla
af21b794ce6719d402721550e1ee4091790410b6
24a422194e42c03d5877dc167b2b07147326a595
refs/heads/main
2023-08-13T17:33:03.612293
2021-10-12T12:13:25
2021-10-12T12:13:25
408,538,704
0
0
Apache-2.0
2021-09-20T17:30:15
2021-09-20T17:30:15
null
UTF-8
Python
false
false
856
py
#!/usr/bin/env python3 """TestUtils to get HabiticaUser objects for users.""" from typing import Dict, Optional from hopla.cli.groupcmds.get_user import HabiticaUser class UserTestUtil: """test utility to create an user""" @classmethod def user_with_zoo(cls, *, pets: Optional[Dict[...
[ "31448155+melvio@users.noreply.github.com" ]
31448155+melvio@users.noreply.github.com
fa075e81142132885bd14628d6eeb899b2ed41b0
b43af72e789c720e177c935c059937b1cfa79d9e
/packages/api-server/api_server/routes/lifts.py
e8b56f1b85a793a4a5d0a03256f1af790c1d361c
[ "Apache-2.0" ]
permissive
matiasbavera/romi-dashboard
d4a65ad293e438fdb56f1d0dd3fa5d519bbe77a1
ac3a15014ad3c3bdac523a6550934a06653cfba1
refs/heads/master
2023-07-24T13:09:23.417613
2021-09-01T02:20:49
2021-09-01T02:20:49
260,000,923
0
0
Apache-2.0
2021-10-30T13:17:53
2020-04-29T17:53:36
TypeScript
UTF-8
Python
false
false
2,597
py
from typing import List from fastapi import Depends from rx import operators as rxops from api_server.base_app import BaseApp from api_server.fast_io import FastIORouter, WatchRequest from api_server.models import Lift, LiftHealth, LiftRequest, LiftState from api_server.repositories import RmfRepository from .utils ...
[ "noreply@github.com" ]
matiasbavera.noreply@github.com
d368038a098ff78314e6f288bcd5902dc897c562
8e7a2b9efbc0d25111f01f4cddb781961032685a
/python-1025/python/a_socket/1_udpChat/cli.py
1b7f8e6e6b4685f07e478ada7075d7728e7c0f3c
[]
no_license
Dituohgasirre/python
e044aa2e1fb2233b6ccd59701b834ab01e4e24c2
05f036d2723f75cd89e4412aaed7ee0ba5d3a502
refs/heads/master
2023-06-03T13:50:18.641433
2021-06-17T10:23:40
2021-06-17T10:23:40
366,942,423
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
#!/usr/bin/env python3 import socket import sys import os from pargs import parse from kyo.vtmenu import Menu def choice(choiceList, title="请选择: "): def handle(i, args): args['return']['data'] = args['data'] return True m = Menu(title=title) ret = {} for o in choiceList: m.a...
[ "linfeiji4729289@126.com" ]
linfeiji4729289@126.com
39c88377853ac463c30a1a973151e5a9cb98f195
1742733a6da3b08a8e387491e8b00ffa750a822b
/mysite/urls.py
4ce0669e1ea94439697ec564aadd96ae5f331424
[]
no_license
Eimis/mysite
cfacf96926d17b9b9f59c720bf8fc8f76b3a39b5
130117cdb6ba8a699a01e759acad49a0d7e0dffb
refs/heads/master
2021-01-10T21:04:48.133366
2013-08-23T05:16:03
2013-08-23T05:16:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
from django.conf.urls import patterns, include, url from django.contrib import admin from mysite.views import hello, current_datetime, hours_ahead, display_meta from mysite.books import views from mysite.contact.views import contact, thanks # jei butu tik views, clashintu su books.views. Apskritai darant dideli appsa z...
[ "eimantas.stonys@gmail.com" ]
eimantas.stonys@gmail.com
5ba8d9e31dd7617613658d2ce5e0c88efce0dc13
f829d2c4347ce85ae6dd769f0aab2491d8ee4751
/old/.history/a_20201125192237.py
ed47952b84d486a136316d24dd30d4cdab98a54c
[ "LicenseRef-scancode-mulanpsl-2.0-en", "MulanPSL-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pscly/bisai1
0ef18d4aa12541322947a5be250ef7f260c93276
257c02c8f23e373834a6275683470f3f081b7373
refs/heads/18ti
2023-01-21T22:02:15.582281
2020-11-29T09:30:33
2020-11-29T09:30:33
316,918,262
0
0
NOASSERTION
2020-11-29T12:33:33
2020-11-29T09:39:21
Python
UTF-8
Python
false
false
566
py
# for n in range(400,500): # i = n // 100 # j = n // 10 % 10 # k = n % 10 # if n == i ** 3 + j ** 3 + k ** 3: # print(n) # 第一道题(16) # input("请输入(第一次):") # s1 = input("请输入(第二次):") # l1 = s1.split(' ') # l2 = [] # for i in l1: # if i.isdigit(): # l2.append(int(i)) # for i in l2: # ...
[ "pscly@outlook.com" ]
pscly@outlook.com
e55774bad0e7e43237b4ae4e490623bd7769f047
169bbeb76f245a493504fd10f1e7cd06407868ed
/scripts/scripty.py
6d447277cb70fb3e7925e4bd4a5b28e491db6cae
[]
no_license
dantegates/music-rec
f242cd66f9687a63daae1d65552f74753276ce26
0cb51280d1e147c21866d26059c295af9190263b
refs/heads/master
2022-12-20T11:03:50.152406
2020-08-14T20:46:13
2020-08-14T20:46:13
106,285,456
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
import os import numpy as np from train import load, SIZE, TIME_SAMPLES import config as cf TRAIN_FILES = [os.path.join(cf.TRAIN_DIR, f) for f in os.listdir(cf.TRAIN_DIR)] TEST_FILES = [os.path.join(cf.TEST_DIR, f) for f in os.listdir(cf.TEST_DIR)] TRAIN_PROC_DIR = 'data/train_proc' TEST_PROC_DIR = 'data/test_proc' ...
[ "=" ]
=
3302618edc7d4ed372ce4aa9a2ef5b3d7a73fca3
4cfbc12903651dedbc799f53a8078433196e7919
/Pre Processing/Topic 3 - MatPlotLib/2. bar charts.py
0efbe623e1c5d78616ebf411cc9cbf9adf73fbad
[]
no_license
gautam4941/Machine_Learning_Codes
78bf86ab3caf6ee329c88ff18d25927125627a2c
0009d12ca207a9b0431ea56decc293588eb447b1
refs/heads/main
2023-02-06T18:05:44.154641
2023-01-30T17:04:25
2023-01-30T17:04:25
353,594,523
0
5
null
null
null
null
UTF-8
Python
false
false
2,932
py
""" 1) Single Bar Graph 2) MUlti Bar Graph. 3) Setting Width of Graph. 4) Setting the position of Bars( Left or right. ) 5) Horizontal Bar Graph. bar, barh, width, xaxis +/- value -> to shift the bar in the graph right/left respectively., xticks, yticks """ company = ['Google', 'Yahoo', 'Accenture', 'Philip...
[ "noreply@github.com" ]
gautam4941.noreply@github.com
fe338335f87316821c2b8f719d9df8eb8f9e0d90
e11250f9b307dced670711c83cbc87b98107e14e
/setup.py
7998e66691be459be3c6d73aa72bf4957216deeb
[]
no_license
chuan137/pypipe
afcb397fcfd1fca19279b93f8882de24906dc0cf
820006e126c52ccd88b01c006a7cf52d6bf0591c
refs/heads/master
2021-01-10T13:38:34.231237
2016-01-29T10:54:38
2016-01-29T11:04:20
50,594,137
1
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!/usr/bin/env python import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = 'pypipe', version = read('VERSION'), author = 'Chuan Miao', author_mail = 'chuan137@gmail.com', description = 'write lightweight corout...
[ "chuan137@gmail.com" ]
chuan137@gmail.com
e751b44bc07695a4347ae9aa2b25f7e2ef450bb7
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/ops/linalg/solve_registrations.py
20ff93c3fbd936ee868006eb2c1086a50a0deb65
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
6,804
py
# 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 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
043c3e7b9ca45ec89700a70747595d148848bfcd
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/kusto/v20191109/event_hub_data_connection.py
14563780b57c3874cf1a8c6726b8e72c7d406081
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,698
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" ]
bpkgoud.noreply@github.com
8fe6a1fd423f49df7015f866c644e320876f9250
b76ae361ab277923d0fed969b795074a1ecb400b
/project/爬虫/单例.py
0fe7b45d991782b928f803d5d8536b4a99fe642a
[]
no_license
RobotNo42/old_coed
995df921e31d5a9b65f1609380235330edb546ad
59f82e5d58965dd5c6340f4daf4ef43d1d311252
refs/heads/master
2021-07-18T00:07:33.450173
2020-06-16T13:51:11
2020-06-16T13:51:11
180,384,457
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
def happy(cls): instances = {} def f(*args, **kwargs): if cls not in instances: instances[cls] = cls(*args, **kwargs) return instances[cls] return f @happy class Add(object): pass
[ "chengge1124@gmail.com" ]
chengge1124@gmail.com
1a85dc0e46533b715caae0e0207af15e108b2b11
a94757526253f3a3ae4b65b662316e3b03b271e9
/week6/Combination_Sum.py
bc8dcd0cd8ce0f657bfe1b0f0587578d1d41c3e4
[]
no_license
RRoundTable/CPPS
3e30f4d9c48aa9c85d74db6696c6d458fa38523a
fb679053ee89c15e2844fda1d705d46778ea1c0d
refs/heads/master
2021-07-06T07:19:43.806752
2020-12-15T10:59:08
2020-12-15T10:59:08
214,435,381
1
2
null
2020-02-06T14:53:13
2019-10-11T12:50:22
Python
UTF-8
Python
false
false
3,045
py
""" link:https://leetcode.com/problems/combination-sum/ Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target. The same repeated number may be chosen from candidates unlimited number of time...
[ "ryu071511@gmail.com" ]
ryu071511@gmail.com
3a10cba33d78afc2517b45a5ef6d0645073aaa7f
b31fad417ed6cafb7f76940fefaaa22354aed297
/scripts/JetCorrectionsOnTheFlyExample.py
51b95fdf221491dfd20857be98238fd18b8f90c5
[]
no_license
cms-jet/JMEDAS
a6ed5b5e445b811aedf21c2d136cd1262eb7f546
ba622e11693408ded58ddb22e86ea598cc490021
refs/heads/master
2023-01-03T20:27:26.409019
2022-12-21T13:44:49
2022-12-21T13:44:49
27,493,919
3
41
null
2022-12-21T13:44:50
2014-12-03T15:36:02
Python
UTF-8
Python
false
false
3,925
py
# PYTHON configuration file for class: JetPlotsExample # Description: Example of simple EDAnalyzer for jets. # Author: K. Kousouris # Date: 25 - August - 2008 # Modified: Kalanand Mishra # Date: 11 - January - 2011 (for CMS Data Analysis School jet exercise) import FWCore.ParameterSet.Config as cms ## ____ ...
[ "justin.pilot@cern.ch" ]
justin.pilot@cern.ch
fdcbeebe634591699f567a59ad8d06944ac6dd12
0b868fe1c0d20fcafed594ffcfac237b985eb332
/Algorithms/064. Minimum Path Sum/Solution.py
8e2727592e9df28f95025be9dfb8ab3c6cebc11f
[]
no_license
AlisonZXQ/leetcode
f43f12009b3bbf35c1dfaf06cfc6689089a3d51b
bd6b18f134336513bbc3112be6e33c79374a7cb1
refs/heads/master
2021-01-19T17:14:28.398493
2016-10-14T01:34:56
2016-10-14T01:34:56
82,442,695
1
0
null
2017-02-19T07:27:35
2017-02-19T07:27:35
null
UTF-8
Python
false
false
649
py
#coding=utf-8 __author__ = 'xuxuan' class Solution(object): def minPathSum(self, grid): """ :type grid: List[List[int]] :rtype: int """ m=len(grid) n=len(grid[0]) ans=[[0 for col in range(n)] for row in range(m)] for i in range(m): for j in...
[ "524058708@qq.com" ]
524058708@qq.com
f466d4e58bddaf9eb3ee70b397a90bb8a9eb7abb
9210dad5d84af438b9450bb8a91ae13b30392060
/mingle/models/tests/man_test_models.py
4953c0137f417e4dffce45816008833320cdce8a
[ "MIT" ]
permissive
jason-neal/companion_simulations
0ccb4e043ab5bff7e779678f3984aed6bd304c77
036610a902cb11b4c408deb2c0d3be1bb377dee8
refs/heads/master
2023-07-22T17:39:41.340156
2022-04-24T09:24:50
2022-04-24T09:24:50
83,430,578
3
1
MIT
2023-07-06T21:23:12
2017-02-28T12:36:59
Jupyter Notebook
UTF-8
Python
false
false
2,131
py
"""Try out the models and how they look. """ import matplotlib.pyplot as plt from mingle.utilities.phoenix_utils import load_starfish_spectrum from obsolete.models.alpha_model import alpha_model2 from obsolete.models.alpha_model import no_alpha # Parameters of models # host_params = [6000, 4.5, 0] # companion_params...
[ "jason.neal@astro.up.pt" ]
jason.neal@astro.up.pt
e465d455ec840a2b7fd3e0de111258524dbec7d5
a893537a71aa285071a68035c968ba6f5c0ca57d
/ch01/02/02.py
2b68eed908b17e97b81f9dd8ec9e6e3de8b2de17
[]
no_license
sinchir0/2020_NLP100
0a1810b0c299c29fa1a811f68fa87be74f9b3cf9
772123da5b5ac4094c26fdce2e192637dc55190a
refs/heads/main
2023-07-18T04:03:04.123302
2021-09-08T22:54:44
2021-09-08T22:54:44
257,416,868
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# 02. 「パトカー」+「タクシー」=「パタトクカシーー」 # 「パトカー」+「タクシー」の文字を先頭から交互に連結して文字列「パタトクカシーー」を得よ. word1 = "パトカー" word2 = "タクシー" word = "".join([a + b for a, b in zip(word1, word2)]) print(word)
[ "s-saito@chic.ocn.ne.jp" ]
s-saito@chic.ocn.ne.jp
750f12907797bab6b954fd14d6d7eb6f483020a5
dde4fefc427b36e72952babfabeb3db69e8f6e7b
/swapwtot.py
5e546345a74b97ea64deda77982bda4aad90e768
[]
no_license
ANKITPODDER2000/Python-Lab-2nd-Year
6fb6e6eca91cde0eff98e724dc6499b26097d109
567b73e66a6c493aac8aede01b1837c83f4609a8
refs/heads/master
2020-09-17T06:46:22.186618
2019-11-25T19:25:30
2019-11-25T19:25:30
224,024,485
1
0
null
null
null
null
UTF-8
Python
false
false
108
py
a,b = input("Enter two number : ").split(" ") a,b = int(a),int(b) a,b = b,a print("a = %d and b = %d"%(a,b))
[ "ankitpodder0211@gmail.com" ]
ankitpodder0211@gmail.com
e59135d1f91aa1d00a37a6ff418d5fac9bccaec7
9e371869045a2f091f633e9335ab091b368f254c
/src/exec.py
9f5cc4a246191df57dc0024f6ca0ab122469f688
[ "MIT" ]
permissive
liaopeiyuan/information-obfuscation-demo
e10e0bedf49a4e92d387b1c72855455a6a6fb34b
018cb6a2cce5033bf836d78aa8824204ec5553f7
refs/heads/main
2023-07-14T12:06:59.544186
2021-08-13T11:06:14
2021-08-13T11:06:14
395,622,445
2
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
# -*- coding: utf-8 -*- import argparse import json import random from pathlib import Path from typing import List from helper import * def main(): """Entry point for the information obfuscation project :raises NotImplementedError: model not recognized """ parser = argparse.ArgumentParser() pars...
[ "alexander_liao@outlook.com" ]
alexander_liao@outlook.com
9b8db13473a34a96c64bdc3062da6f03c0734d58
b5e6eb139a0e7136a3f768f1d284177cc4915e3b
/boggle/hello_world.py
030e7949fd22892752bf47c3a17b44e55285819c
[]
no_license
hureferdous/stream2
1554388b77d7b8bec4c9b235cdf3f3e4c808869e
5ae62b99520400e3fc3b7e729b7fe3433959696c
refs/heads/master
2021-01-20T03:14:59.211217
2017-08-05T23:05:18
2017-08-05T23:05:18
89,517,845
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
personname = raw_input("type your name and press enter ") print "hello" + personname
[ "hure_fer@yahoo.com" ]
hure_fer@yahoo.com
2f5041af9fa99d9477e3734c6747a6b8655849a4
9848a719ddfdd21b5fe1fa2f55da290c0f6952dc
/concatenation-of-consecutive-binary-numbers.py
8cb8d5cf7ac2643e61f34a418979d89f0952256c
[]
no_license
maomao905/algo
725f7fe27bb13e08049693765e4814b98fb0065a
84b35ec9a4e4319b29eb5f0f226543c9f3f47630
refs/heads/master
2023-03-13T12:38:55.401373
2021-03-25T01:55:48
2021-03-25T01:55:48
351,278,248
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
class Solution: def concatenatedBinary(self, n: int) -> int: MOD = 10**9+7 ans = 0 for i in range(1,n+1): ans <<= len(bin(i))-2 ans = (ans + i) % MOD return ans
[ "maoya.sato@gmail.com" ]
maoya.sato@gmail.com
01229ab2aa2e91ae4725e2c99cadeb35d84645f7
65c001b5f572a6b0ca09dd9821016d628b745009
/frappe-bench/env/lib/python2.7/site-packages/dropbox/dropbox.py
20a12b9ed389d7f03c8468f433dc0607c65ee8e3
[ "MIT" ]
permissive
ibrahmm22/library-management
666dffebdef1333db122c2a4a99286e7c174c518
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
refs/heads/master
2022-10-30T17:53:01.238240
2020-06-11T18:36:41
2020-06-11T18:36:41
271,620,992
0
1
MIT
2022-10-23T05:04:57
2020-06-11T18:36:21
CSS
UTF-8
Python
false
false
25,197
py
__all__ = [ 'Dropbox', 'DropboxTeam', 'create_session', ] # This should always be 0.0.0 in master. Only update this after tagging # before release. __version__ = '9.1.0' import contextlib import json import logging import random import time import requests import six from . import files, stone_serialize...
[ "iabouelftouh@trudoc24x7.com" ]
iabouelftouh@trudoc24x7.com
ccace3a2f944f7454f6d72fadd3c33b76da4d910
b2fef77e77f77b6cfd83da4ec2f89cbe73330844
/tests/test_denseblock.py
c14ca2ae7a1bb3ed423b4aa19b1f7e32e040ed6e
[ "Apache-2.0" ]
permissive
Project-MONAI/MONAI
8ef2593cc5fd1cd16e13464f927fe563fe3f5bac
e48c3e2c741fa3fc705c4425d17ac4a5afac6c47
refs/heads/dev
2023-09-02T00:21:04.532596
2023-09-01T06:46:45
2023-09-01T06:46:45
214,485,001
4,805
996
Apache-2.0
2023-09-14T15:19:30
2019-10-11T16:41:38
Python
UTF-8
Python
false
false
4,368
py
# Copyright (c) MONAI Consortium # 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 to in writing, so...
[ "noreply@github.com" ]
Project-MONAI.noreply@github.com
4f3608ad9fa01e4635fb7d75dd4eb4b8871975ca
0923d056fe4aade84b5cf6c7d0112d3dd67a488f
/faxat/models.py
0d50ee6bd22fbd111d21f083fac16447656e8312
[]
no_license
khaled-hamada/faxes-exchange-application
28c49d7e63a9d55239f0b49c3791a8023b0115ce
775ba280ab2be0d0ecc6d1e9b0a9697f0c9a6916
refs/heads/main
2023-05-09T13:23:40.819499
2021-06-04T08:36:33
2021-06-04T08:36:33
373,549,908
0
0
null
null
null
null
UTF-8
Python
false
false
4,563
py
from django.db import models from datetime import datetime # Create your models here. from django.utils.timezone import now #import datetime class fax(models.Model): objects = models.Manager() id = models.AutoField(primary_key = True) sader = models.IntegerField(default=0) sader_edara = models.IntegerF...
[ "khaledosman737@gmail.com" ]
khaledosman737@gmail.com
0a42323b1508446c6f26d59ac25c952f1d513405
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-Cocoa/PyObjCTest/test_nsdatepicker.py
086336544bf8d6055420cf3408d90449675b215e
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from PyObjCTools.TestSupport import * from AppKit import * class TestNSDatePicker(TestCase): def testMethods(self): self.assertResultIsBOOL(NSDatePicker.isBezeled) self.assertArgIsBOOL(NSDatePicker.setBezeled_, 0) self.assertResultIsBOOL(NSDatePicker.isBordered) self.assertArgIsBO...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
eee76733b15a4cd763b74036e2faeb5478ab1515
72b77f97876983025eb05a5aa1d6f248a1be3074
/binarysearch/reverse_words.py
2c48ae3e87b9c61459783817b2b76edfd3ded350
[ "Apache-2.0" ]
permissive
erjan/coding_exercises
4c6bccb2cdac65ccbc3107a482914275ecd157f7
68dac358a6d4dabd41d47dbd4addb2ec50e0ca11
refs/heads/master
2023-09-02T07:25:30.886175
2023-08-27T06:13:06
2023-08-27T06:13:06
236,281,070
5
0
Apache-2.0
2020-05-05T15:08:49
2020-01-26T07:32:09
Python
UTF-8
Python
false
false
237
py
''' Given a string s of words delimited by spaces, reverse the order of words. ''' class Solution: def solve(self, sentence): s = sentence.split() s = s[::-1] s = " ".join(s) return s
[ "noreply@github.com" ]
erjan.noreply@github.com
78b91b7761a36a4285844dadb1ae932cc72f6973
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/int/Schema+Instance/NISTXML-SV-IV-atomic-int-maxExclusive-1-1.py
6c49f127d442c2dc809b4d1198ee550f356375ec
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
266
py
from output.models.nist_data.atomic.int_pkg.schema_instance.nistschema_sv_iv_atomic_int_max_exclusive_1_xsd.nistschema_sv_iv_atomic_int_max_exclusive_1 import NistschemaSvIvAtomicIntMaxExclusive1 obj = NistschemaSvIvAtomicIntMaxExclusive1( value=-2147483648 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
50623cd0a84a967a491105b12a5ca2afec890913
629606ef6e0ce252f74729ac60f57ca8805c3c78
/hw_003_Spider/hw_001_mongodb/hw_001_非关系型的数据库.py
b57838019f11cb94ef1a1fbd9bbb5c5fe8e1f511
[]
no_license
LeeXyan/lxgzhw006
cc31024874725f60b766c9d5d24c2dafc66b8de3
621a73544262df7e104806579242deeaa8dbe2c2
refs/heads/master
2021-10-10T17:41:52.381843
2019-01-15T00:25:08
2019-01-15T00:25:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
""" 数据是一个一个的个体,不再是有各种复杂的对应关系 关系型数据库在处理关系的问题上非常复杂 非关系型的数据库就是处理这个问题的 MongoDB更符合python的哲学风格 """ """ MongoDB 在爬虫里面用得最多的数据库 易扩展 大数据量高性能 如果是关系型数据库,一条数据需要查询多次 非关系型数据库只需要查询一次: 原因在于每条数据都是相互独立的,是完整的数据: 缺点更耗内存,需要较高的配置 灵活的数据模型 无需事先建立数据字段,存储的时候如果没有,会直接增加 高可用 ...
[ "1156956636@qq.com" ]
1156956636@qq.com
ca95c3598ac54d078936915a78cea2815a367fbe
ebe7d0655c431b916611a216858ea84d53481e8a
/order_manager/migrations/0007_auto_20180530_1021.py
672a4b06841dfde21fbc0acc56441fb8d66b39d7
[]
no_license
LambertlLan/massage_manager
59fd31e0b13edea55ff4e16f0589d2998efb71e7
c855c28501075b9cc9827d7de4d96a9276f4e4be
refs/heads/master
2022-12-22T18:34:49.536924
2018-06-08T09:15:00
2018-06-08T09:15:00
133,788,441
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Generated by Django 2.0.5 on 2018-05-30 10:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order_manager', '0006_auto_20180529_1545'), ] operations = [ migrations.AlterField( model_name='order', name='pay_ty...
[ "landingyu@163.com" ]
landingyu@163.com
17f9625818cceb839c9d7d264d43e89701061fdd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_statements.py
968dea676618cdf916ccf5ef020e3eabeabca5cd
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#calss header class _STATEMENTS(): def __init__(self,): self.name = "STATEMENTS" self.definitions = statement self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['statement']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cc807c1d4c5614309a44802afdb0e1d339f32728
f4b135093281b5fb0b70a84c8227301ef505e0a9
/authenticatorpy/authenticator.py
c9a9dad6572977d92ca9f753c7dec10f584749d4
[ "MIT" ]
permissive
a849567264/authenticatorpy
cbe498c5b36cbf6dff8e83557110dac6ea706508
5f18c06db37d1f35590d099379dd01b91d26fe29
refs/heads/master
2020-09-23T06:00:03.174494
2019-11-30T22:39:22
2019-11-30T22:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
#!/usr/bin/env python import sys import base64 import time import hashlib import binascii import re class Authenticator(object): """Authenticator class which generates unique one time use password. """ def __init__(self, secret): """Returns a Authenticator instance. Args: se...
[ "abdullahselek@gmail.com" ]
abdullahselek@gmail.com
8cad2b5988ed6c8402ab3bb5ce5c30c90f822cf2
8dc7fdcbd418d05babe9a2b325e4b09de3cc2fa8
/Python Lab/Codes/Exp 9/canvas3.py
0605134fa52a771a05bf451d229b6e6506812066
[]
no_license
sreekeshiyer/IT-Sem4
de22ad0e3dbd806cacc02a11359052a900cc63d8
d3d867a6e2d9b3476130979f7471a485a7c56448
refs/heads/master
2023-08-04T20:51:25.241102
2021-10-06T05:56:16
2021-10-06T05:56:16
411,423,035
7
1
null
null
null
null
UTF-8
Python
false
false
841
py
from tkinter import * def checkered(canvas, line_distance): for x in range(line_distance,canvas_width,line_distance): canvas.create_line(x, 0, x, canvas_height, fill="#476042") for y in range(line_distance,canvas_height,line_distance): canvas.create_line(0, y, canvas_width, y, fill="#476042") canvas...
[ "vkrishna2090@gmail.com" ]
vkrishna2090@gmail.com
1d7947bef6d600eb3364be68f59622ebb18e57e6
4a8e30646ae44623107a952b8b12304aebe23389
/ui-tests/test.py
ddb2c71293e527e4827419fd43e4591e1ad27d49
[ "Apache-2.0" ]
permissive
fabric8-analytics/fabric8-analytics-common
7752b4027330bda09fb8c336303b93c1e21d1ce4
a763c5534d601f2f40a0f02c02914c49ea23669d
refs/heads/master
2022-12-17T13:52:42.635569
2022-01-24T17:41:32
2022-01-24T17:41:32
89,703,812
6
62
Apache-2.0
2022-12-08T07:50:30
2017-04-28T12:25:05
Python
UTF-8
Python
false
false
10,299
py
"""Basic UI test that checks if the stack analysis is visible for the newly created project.""" from splinter import Browser import time import os from urllib.parse import urljoin SLEEP_BETWEEN_PAGES = 15 SLEEP_BEFORE_CLICK = 15 class Context: """Class that holds context for the UI tests.""" def __init__(s...
[ "ptisnovs@redhat.com" ]
ptisnovs@redhat.com
86e3c98aa1fbf7bc9b69a5deefdf90185d09e0fb
b8911bd330c08c32a205751cf2f7538494729c16
/examples/plotting/plot_3_lpi.py
4f47ef9d914cdfd9d873c318a6663cc84a8e5831
[ "BSD-3-Clause" ]
permissive
mirkobronzi/orion
3c0bb6258392729b91617997eebcf1e8897795aa
ad8f69afabf3faab557a82ef9409fabd63495ea8
refs/heads/master
2022-05-02T05:45:54.425146
2022-03-08T00:37:08
2022-03-08T00:37:08
195,877,506
0
0
NOASSERTION
2022-03-08T00:38:23
2019-07-08T19:55:26
Python
UTF-8
Python
false
false
6,960
py
""" ========================== Local Parameter Importance ========================== .. hint:: Conveys a very compact measure of the importance of the different hyperparameters to achieve the best objective found so far. The local parameter importance measures the variance of the results when varying one hype...
[ "xavier.bouthillier@umontreal.ca" ]
xavier.bouthillier@umontreal.ca
8ec6d9a3bf0c6ff03c65ad2ab66eb57651d9ad43
b3b5902f0cd292defdc1acccd8fa5c7890e8ba5d
/SPORTS/sports_spiders/scripts/nir_scripts/types_update.py
b97816168ce82ca4d246286ce54ba77ffb79525c
[]
no_license
headrun/SWIFT
83d3d926244e472813ef79b304ac1639750904a3
68bdd09d83ee2967a2378375d9b2cb6232a3a0cf
refs/heads/master
2023-01-25T00:29:57.810604
2020-12-01T01:22:16
2020-12-01T01:22:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
import MySQLdb class Types: def __init__(self): self.conn = MySQLdb.connect(db='SPORTSDB_BKP', host='10.4.2.197', user='root') self.cursor = self.conn.cursor() self.types_dict = {} def main(self): query = 'select id, title from sports_types' self.cursor.execute(query...
[ "charan@headrun.com" ]
charan@headrun.com
25686bf4eea2c911b618ea16cc3058b867a71012
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/classification/Resnet50_Cifar_for_PyTorch/configs/hrnet/hrnet-w18_4xb32_in1k.py
1d8a3c23a58b1e8ddcbdb228472ce17594b1dee5
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
780
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
edfe21719db9b6df803aec5467aa78e66de79494
eff5cd25fa442b70491262bada0584eaaf8add46
/setup.py
87991de30af9b922c18c654ab84137e7f56a7bb1
[ "Apache-2.0" ]
permissive
fsx950223/tfx
c58e58a85e6de6e9abcb8790acbf36424b5b2029
527fe2bab6e4f62febfe1a2029358fabe55f418c
refs/heads/master
2021-01-04T12:12:51.010090
2020-01-26T04:43:14
2020-01-26T04:43:14
240,543,231
1
0
Apache-2.0
2020-02-14T15:48:12
2020-02-14T15:48:11
null
UTF-8
Python
false
false
5,711
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
e17ca261e76939c823629cf178d11da736ef5e29
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part009320.py
0517fa0d14ba2cd2e7d8891d149054f7476c6c47
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,653
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
73b340ad922d84b4fa00cf96d07d77bb3bf9ef02
b7ee82768de54a83a99ad4ddd9e090c61935b86a
/paper/gtex-methods/to-bed.py
b676a92c60f28ee7684b2129a7b8b0b08838cebc
[ "MIT" ]
permissive
brentp/somalier
5042ea9e7773a311c12825ac4ad8ee4140db2412
de50b1cfe1b859407b64ba3928cc4419f85c7403
refs/heads/master
2023-09-01T16:21:31.459237
2023-08-28T10:50:30
2023-08-28T10:50:30
143,888,326
228
32
MIT
2023-08-28T10:50:31
2018-08-07T14:52:04
Nim
UTF-8
Python
false
false
1,032
py
import sys import collections def to_exons(path): D = collections.defaultdict(list) for line in open(path): if line[0] == '#': continue toks = line.strip().split("\t") if toks[2] != "exon": continue info = dict(tuple([y.strip('"') for y in x.split(" ")]) for x in toks[8].split(...
[ "bpederse@gmail.com" ]
bpederse@gmail.com
9aa20f5d7e6d8f07cdbc97dbd6abca8180bce866
9d7d69178c6f1f1db6ed6767e0af32bfe836549c
/new_workspace/Gumtree_Workspace/Magnet/TempFieldScanAug2015.py
3a2afbec16e3ef97024e3c9ac4abc4e102408305
[]
no_license
Gumtree/Quokka_scripts
217958288b59adbdaf00a9a13ece42f169003889
c9687d963552023d7408a8530005a99aabea1697
refs/heads/master
2023-08-30T20:47:32.142903
2023-08-18T03:38:09
2023-08-18T03:38:09
8,191,387
0
0
null
null
null
null
UTF-8
Python
false
false
3,770
py
from gumpy.commons import sics #from gumpy.quokka.quokka import * from time import sleep # Reldrive bsx def reldriveBsx(offset): driveBsx(getBsxValue(), offset) def scan_temp_field(fieldList, mode, preset, tempSettleTime = 1, fieldSettleTime = 1): # for wavelength in wavelengthList: for i in xran...
[ "quokka@DAV1-QUOKKA.nbi.ansto.gov.au" ]
quokka@DAV1-QUOKKA.nbi.ansto.gov.au
8b958285e8d308460e807f5e02ca1132240cd081
1065a2782e4947b5bf14ec4536e4ad7addc7aec3
/strategy/cryptoalpha/casub.py
81d43242a7cdb41ce4b1cf6537e691cafc7c0217
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Johannesduvenage/siis
0bf6875d4a5f3638cadb01ed5541aab29ba1d77a
57e537cf9b6a71c8ad0b3bb0759772d126496a17
refs/heads/master
2020-09-10T21:51:56.814014
2019-11-13T23:57:34
2019-11-13T23:57:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
# @date 2018-08-24 # @author Frederic SCHERMA # @license Copyright (c) 2018 Dream Overflow # Crypto Alpha strategy sub-strategy base class. from instrument.candlegenerator import CandleGenerator from strategy.timeframebasedsub import TimeframeBasedSub class CryptoAlphaStrategySub(TimeframeBasedSub): """ Cryp...
[ "frederic.scherma@gmail.com" ]
frederic.scherma@gmail.com
a4b6894000d2cf5dfbb1588ff6a3cad439d6cf1e
aa85d49372445b77b5bec871ceaec204a6efd2d8
/scripts/fix_columns.py
04b431ae3bf6381bf608e82e3c1f2fe616d59747
[ "Apache-2.0" ]
permissive
broadinstitute/pyro-cov
aab41072df395a3c66a79898a9edfba432d52544
a2b5c05cdcb5c35f2882ca578607b3d86bb60484
refs/heads/master
2023-07-11T18:35:31.884395
2023-02-02T19:03:19
2023-02-02T19:03:19
292,037,402
67
21
Apache-2.0
2023-09-13T19:57:28
2020-09-01T15:34:42
Jupyter Notebook
UTF-8
Python
false
false
942
py
# Copyright Contributors to the Pyro-Cov project. # SPDX-License-Identifier: Apache-2.0 import glob import logging import os import pickle import tqdm from pyrocov.geo import gisaid_normalize logger = logging.getLogger(__name__) logging.basicConfig(format="%(relativeCreated) 9d %(message)s", level=logging.INFO) d...
[ "fritz.obermeyer@gmail.com" ]
fritz.obermeyer@gmail.com
9eb0448e3cd7164f4ce4f2d80645ee53e6415521
e0c378f27462cb00b656473cbe0b172886741818
/tests/core/data/test_batch.py
32f12f4568b080df8b5cb12d4d384231e5b04a14
[ "Apache-2.0" ]
permissive
Lightning-Universe/lightning-flash
d0c955d7fdf962175750d154b3a369a483b8d188
fc6c97a43d65b49561c896bf05bc1c75536d0dc0
refs/heads/master
2023-08-17T12:03:52.563905
2023-08-14T12:35:10
2023-08-14T12:35:10
333,857,397
58
12
Apache-2.0
2023-09-11T14:43:06
2021-01-28T18:47:16
Python
UTF-8
Python
false
false
2,774
py
# Copyright The PyTorch Lightning team. # # 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 to i...
[ "noreply@github.com" ]
Lightning-Universe.noreply@github.com
254da2f0eb3f82ffb8260bf961184a2be5e57faf
a3e52fbdfc81da3d17fee3d11b4451b330bfd592
/IO/src/learn/testIO.py
02c24e4038149533ecbb85616ce79407385076dc
[]
no_license
chrislucas/python
79633915dd0aa8724ae3dfc5a3a32053f7a4f1e0
d3cca374f87e134a7ddfc327a6daea983875ecac
refs/heads/master
2021-01-17T04:08:25.056580
2016-12-26T11:41:31
2016-12-26T11:41:31
42,319,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
def testIO(): while True: from sys import stdout, stdin n = stdin.readline() try: n = int(n) n = int(log(n, 2) + 1) for i in range(n, -1, -1): stdout.write(str( "1" if n & (1 << i) > 0 else "0" )) stdout.write("\n") exc...
[ "christoffer.luccas@gmail.com" ]
christoffer.luccas@gmail.com
6a00ea0d414f34c7aec9fc246c11512f10f5ed63
b50404a323b753d0afa3697839b8b1db623e1533
/utils/__init__.py
946cc524f1c50c13992bf611119d0ef330e62f7e
[]
no_license
pigliangliang/shopping_drf
5e355c321aa1ce535ff0a78c54060dc2e6835167
7a169187acb3d64cb072e9aaf9b018f8b8559c23
refs/heads/master
2020-04-09T04:50:48.220319
2018-12-02T11:17:47
2018-12-02T11:17:47
160,039,495
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
#author_by zhuxiaoliang #2018-11-30 下午12:32
[ "836904717@qq.com" ]
836904717@qq.com
982a5634807e55bdf4a1dd40ec8f58e5be79a4ca
863a56f99b4668211b96d66e3d2698196e46f3b1
/prng/cellular_automata/rule201/run.py
2d499ff01420f2dd53bd738a29a14512be7bda2d
[ "LicenseRef-scancode-public-domain" ]
permissive
atoponce/scripts
15b958463d6e788ad6f7785d2614ddb372fc69a7
b2c8fd2a0b68e83562570c315f4c9596ee546011
refs/heads/master
2023-04-28T05:47:07.918556
2023-04-15T15:02:05
2023-04-15T15:02:05
8,612,257
22
4
null
2016-12-22T19:21:28
2013-03-06T20:18:33
Shell
UTF-8
Python
false
false
650
py
#!/usr/bin/python3 #seed = '00000000000000000100000000000000000' # textbook initial state seed = '01011111110010010011010001100100010' # random initial state bits = len(seed) for n in range(5000): print(int(seed, 2)/2**bits) state = '' p, q, r = -1, 0, 1 for n in range(bits): # there must be a more ef...
[ "aaron.toponce@gmail.com" ]
aaron.toponce@gmail.com
4a9358c4e180804283bad55a6f958bdc63d7c42e
da2583af7a14f04aed029a79a79224547de4c1f2
/rl/standalone/reps_boris/chain.py
050438952cd65ba47bdeafc9787df1029c8544cb
[]
no_license
yun-long/rl_prototype
4b0af8b817ad1c8bc30a46d7fa2e8f5cd37f7ea1
0a86a097d58ce299da90ea346e074f20fe167a5d
refs/heads/master
2020-04-23T15:37:49.498870
2019-02-18T11:28:21
2019-02-18T11:28:21
171,271,851
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
"""Chain environment with stochastic transitions.""" import numpy as np import sys from six import StringIO from gym import utils from gym.envs.toy_text.discrete import DiscreteEnv class ChainEnv(DiscreteEnv): metadata = {'render.modes': ['human', 'ansi']} def __init__(self, nS=5, ps=0.9, small=2, large=10): ...
[ "yun-long.song@outlook.com" ]
yun-long.song@outlook.com
ddd9676b660fb4ce2adf12fe10ea92fa6fc6c95b
c883bf3cc158aec617c3c879c5fbb7f75baccb64
/Community/bulk_register_group/bulk_register_group_page.py
01ae6e7ed03fa32f061bc7c68f143643145a9735
[ "LicenseRef-scancode-commercial-license", "Apache-2.0" ]
permissive
bluecatlabs/gateway-workflows
46b3ddd5f743beeabd91a6d943530969d62daf73
60b36434e689c3ef852ab388ca2aae370e70c62d
refs/heads/master
2023-09-05T20:57:11.804452
2023-08-23T21:51:59
2023-08-23T21:51:59
107,717,495
45
87
Apache-2.0
2023-09-07T07:43:47
2017-10-20T19:20:29
Python
UTF-8
Python
false
false
3,221
py
# Copyright 2021 BlueCat Networks (USA) Inc. and its affiliates # -*- coding: utf-8 -*- # # 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 # # Unle...
[ "rtamura@bluecatnetworks.com" ]
rtamura@bluecatnetworks.com
5332dad630aa5a5097f62687bb3d0c11a28cec21
880ee39b1e71823101491e7f8bbbd21e7271b5f4
/zoom24022021/while_demo.py
19c4703338a66d296ffb1b51ff001a10db6edd68
[]
no_license
dohcgle/pdp_tutorial
e03f7ac9ba4efd7925626f3ed5d7431f52285efb
e54ab4e82d2ea40626563d0e1dacff976d8c899c
refs/heads/master
2023-03-26T03:13:54.606967
2021-03-03T13:59:39
2021-03-03T13:59:39
344,143,837
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# 1. chiziqli # 2. tarmoqlanuvchi # 3. takrorlanuvchi numbers = [1,2,3,4,5,6,7,8,9,10] # for number in numbers: # print(number) # range(start=0,stop=5,step=1) # for i in range(5): # print(i) # for i in range(100): # if i % 5 == 0: # print(i, end=" ") # for i in range(5, 100, 5): # [5, 10, .... ...
[ "utn1002@gmail.com" ]
utn1002@gmail.com
b7561dde56036101f004d3093829b88c278a4af7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/14/usersdata/136/5090/submittedfiles/tomadas.py
64bd61f8a83d830131925d13698ba3ec7b2c0816
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CODIGO AQUI T1 = input("Digite o número de tomadas da primeira régua:") T2 = input("Digite o número de tomadas da segunda régua:") T3 = input("Digite o número de tomadas da terceira régua:") T4 = input("Digite o número de tomadas da quarta...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2f97645daeac14350e16a29c58659c69dcd8eeaa
1929443c8e4ec6ccd79777f18d161546867e17ef
/methods/transformers/tests/test_modeling_gpt2.py
8698868731289cfef74b034c995650bae6166e1b
[ "Apache-2.0", "MIT" ]
permissive
INK-USC/RiddleSense
6f4b00546d7f4d5ada12db50929c1f0d7713d541
a3d57eaf084da9cf6b77692c608e2cd2870fbd97
refs/heads/main
2023-08-14T19:01:01.478946
2021-07-05T04:06:01
2021-07-05T04:06:01
376,487,870
8
2
null
null
null
null
UTF-8
Python
false
false
22,105
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 req...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
61c764af1860c344ea0308db461600f00ff673fe
9e9a5ad25aa155a66500c7ec504a5ed99291549a
/console/v27/console.py
73f24fff5bc4c7b2b5fc9fbb3b01fe07f82ec71a
[]
no_license
willcai1984/AerohiveAutoLib
60de0782a65df6229ed5e19ca37d31287905d8d7
7d1c8193155b464f4864fdcf0d70228b08af3380
refs/heads/master
2021-01-21T22:29:26.760077
2014-11-18T14:37:16
2014-11-18T14:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,485
py
#!/usr/bin/python # Filename: console.py # Function: login target execute cli via console server # coding:utf-8 # Author: Well # Example command: console.py -i 782 -e tb1-ap350-3 -v "show run" -d localhost -u admin -p aerohive -m "AH.*#" # Transmit command: console -M localhost tb1-ap350-3 -f -l root import pexpect, sy...
[ "willcai1984@gmail.com" ]
willcai1984@gmail.com
0c5d73945910e55c48d51989aa1e362a6d8ad550
91facac4a8e84ba5f8e256503ad37cbff9486fb0
/FruitAndNut/core/migrations/0031_auto_20181207_0407.py
dd3a335d2ca11c73030b41258a3b4f139b6e6b06
[]
no_license
harshs14/FruitAndNut
806073aeb3a7f0d44dc2bd9d3c5b9e42d5fc89d6
b505e5cb48efd07b97a29a83a4ba3ff0ab95461d
refs/heads/master
2020-12-18T23:51:19.823871
2019-11-05T16:24:29
2019-11-05T16:24:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 2.1.1 on 2018-12-07 04:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0030_merge_20181207_0405'), ] operations = [ migrations.AlterField( model_name='principal', name='image', ...
[ "deepanshuj1999@gmail.com" ]
deepanshuj1999@gmail.com
7ebe8bc30820618aa9d25a40a3b5684653d1230c
cdb73594c0468f39f2e471814d167c16362020ea
/tenancy/tests/views.py
d6527d3684a1d12480095e392f50522469f9a0b0
[]
no_license
cgranetgithub/django-tenancy
83b93009b86151f46df1644cb83bec0dd46803f8
93d9ce2990b1629286d6fd0766b871e85fdd04d2
refs/heads/master
2020-12-25T01:43:36.844357
2013-06-29T10:18:25
2013-06-29T10:18:25
10,929,267
1
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
from __future__ import unicode_literals from django import forms from django.contrib.formtools.wizard.views import NamedUrlWizardView from django.db import models from django.forms.models import modelform_factory from ..models import Tenant from ..views import TenantObjectMixin, TenantModelFormMixin, TenantWizardMixi...
[ "charette.s@gmail.com" ]
charette.s@gmail.com
e84ac5e50035d25b0ef836e87425ebd2b3a88703
51888119e10cdff12dafb060a54824632edccf3f
/Folders/Python/SearchReplacePanel.py
b48bc5d435b0abcb94dcee7940c3f53db5dd0875
[ "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
2,611
py
import nuke import nukescripts import re class SearchReplacePanel( nukescripts.PythonPanel ): def __init__( self ): nukescripts.PythonPanel.__init__( self, 'Search and Replace', 'com.ohufx.SearchReplace') # CREATE KNOBS self.nodesChoice = nuke.Enumeration_Knob( 'nodes', 'Source Nodes', ['selected','all'...
[ "lamakaha@gmail.com" ]
lamakaha@gmail.com
c0bf9e8aececd9a2a3e9b9018f517612215cd4ec
9f6f31bb7fc79067d22bf61feeec03afce663bf2
/Challenge_Beautiful_Arrangement_II.py
9cfbea50f8579c4efa65acd6d3e7f9f7fe070fbb
[]
no_license
elena0624/leetcode_practice
8910fef20d5bf7ff0d749602f6aaf5cd4cfc856f
393ca92a76f00335dd6f4830938d126b9c5af8bc
refs/heads/main
2023-06-24T00:37:00.890871
2021-07-22T10:54:41
2021-07-22T10:54:41
349,133,281
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
class Solution: $ My solution def constructArray(self, n: int, k: int) -> List[int]: ans=list(range(1,n+1)) idx=1 for i in range(k,0,-1): if idx%2==1: ans[idx] =ans[idx-1]+i else: ans[idx] =ans[idx-1]-i idx+=1 return...
[ "daipeinew.dif02@g2.nctu.edu.tw" ]
daipeinew.dif02@g2.nctu.edu.tw
210a07a7fc6ce1077be7a74b653813bdc8648fdb
457776337d8dcaa75df1c48869e9be1ab58be253
/PatentCrawler/service/Query.py
ee1cdb49d71852b543b3061eaf83b9825e171478
[]
no_license
tiankangbo/dashboard
c63d0df6e2eb60a6e17e4d7fde19e8e12a7958a9
8f6c6f806f3f8a8fe4ab8937d5c5a00986522c40
refs/heads/master
2021-07-14T20:18:18.843903
2017-10-22T06:16:15
2017-10-22T06:16:15
103,809,007
0
0
null
null
null
null
UTF-8
Python
false
false
7,438
py
# -*- coding: utf-8 -*- """ Created on 2017/3/24 @author: will4906 """ from enums.Config import Config from util.WaitEngine import WaitEngine class Query: search_button_xpath = "/html/body/div[3]/div[3]/div/div[2]/div[3]/a[3]" inventor_input_id = "tableSearchItemIdIVDB021" proposer_input_id ...
[ "tiankangbo@gmail.com" ]
tiankangbo@gmail.com
900bb64ad015b898240f09efc800ba0d8d48b42e
13d5d75c1fd93c374626ca17f31f77bb8be89f00
/2015/4/original_mine_adventcoins.py
7c369bb71f2fbbbc60798908353fda594a1ff852
[]
no_license
hoylemd/advent
605d85dca24a41d656522602c7abbae5c2df6fca
cfbac1587045a5e9fdd9e8fb459c0ed5704ca3ab
refs/heads/main
2023-01-13T09:03:08.059333
2023-01-03T15:24:09
2023-01-03T15:24:09
48,189,527
1
0
null
null
null
null
UTF-8
Python
false
false
334
py
import hashlib def swing_pick(key, number): dig_spot = str(key) + str(number) ore_chunk = hashlib.md5(dig_spot) return ore_chunk.hexdigest() def check_for_gold(chunk): return chunk.startswith('000000') key = 'bgvyzdsv' number = 0 while not check_for_gold(swing_pick(key, number)): number += 1 ...
[ "hoylemd@gmail.com" ]
hoylemd@gmail.com
fa347c498267a4e8a3825bc1f8935b439aefb460
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/ast.py
319eb5b79b58b68d1b9e784fe2124000bb2696be
[ "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
Python
false
false
13,203
py
""" ast ~~~ The `ast` module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like and allows modifications of...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
530bf450b59062903697e992b71c4b31efff6fe1
65514691fee3b70109d2d66d00734d85ffb6f680
/handlers/nodes.py
f72299c5c4b4a4dde9f10b745c90341d210930d4
[ "MIT" ]
permissive
zheplusplus/redis-ctl
b7d4e4dab0b72e2a90e51f72a608b8fcbbb22728
66c0fb7abd2b65ab6fd6eb4afed1ff5cdde07ae0
refs/heads/master
2022-10-09T20:07:49.837599
2015-09-21T04:07:17
2015-09-21T04:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,914
py
import config import json import logging from socket import error as SocketError from hiredis import ReplyError from redistrib.clusternode import Talker import file_ipc import utils import base import models.node import models.proxy import models.task import stats from models.base import db MAX_MEM_LIMIT = (64 * 1000...
[ "Lene13@gmail.com" ]
Lene13@gmail.com
4405e7dcc1026c977ca47ea635e84fc69075b727
c18e1fa174e1b0e6d56e9f1a8a3708099c3cd248
/learning_from_mcvine/res_sims/Ei_250/E-180.519685373_hkl-14.8768719767,-1.49103519905,-0.845213942272/run.py
39eaa733f118c3783d59346a5325eb4987d31989
[]
no_license
pnave95/ORNL_public_research
e0662657b41969f3f3dc263ea4c62a042d85547a
58cad7508f9d29c17af5419f05522c2f724e717e
refs/heads/master
2021-01-20T00:39:58.308250
2017-06-22T20:03:57
2017-06-22T20:03:57
89,160,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
#!/usr/bin/env python import mcvine.cli from numpy import array from mcvine_workflow.singlextal.resolution import use_res_comps as urc beam_neutrons_path = '/SNS/users/p63/ORNL_public_research/MCViNE_Covmat_comparison/mcvine_resolution/beams/beam_250_1e9/out/neutrons' instrument = urc.instrument('ARCS', '3.*meter', '13...
[ "p63@analysis-node03.sns.gov" ]
p63@analysis-node03.sns.gov