blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
74da5a87b5ec42b3916f337f6510325ceb0175cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_223/ch147_2020_04_12_20_47_12_558411.py
48a99e9557a4ecf4ea235c6fb2d47c61fe37004e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
def mais_frequente(l1): dic={} for e in l1: if e in dic: dic[e]+=1 else: dic[e]=1 ocorrencias = [0] for n in dic.values(): if n>ocorrencias[0]: del ocorrencias[0] ocorrencias.append(n) palavra = [] for i in dic.items...
[ "you@example.com" ]
you@example.com
cfbbccfbb28499d825414a4c03770d71a0783f86
0ad5abffdd15bca072ab8db068aab7e1bc6df167
/NanoGardener/python/modules/LeptonMaker.py
c081cb86e230635a3145a1ee358104a8582dccfd
[]
no_license
pfackeldey/LatinoAnalysis
bf603af9c370b079c3d92e3ed49a5d7d05b87379
484a48ec6bfdb7edb06897be984eecfd1aae62fd
refs/heads/master
2020-03-14T22:42:22.226962
2018-04-27T16:02:56
2018-04-27T16:02:56
131,827,114
0
0
null
2018-05-02T09:16:59
2018-05-02T09:16:59
null
UTF-8
Python
false
false
8,092
py
import ROOT import os import re ROOT.PyConfig.IgnoreCommandLineOptions = True from PhysicsTools.NanoAODTools.postprocessing.framework.eventloop import Module from LatinoAnalysis.NanoGardener.data.LeptonMaker_cfg import List_newVar, Lep_var from LatinoAnalysis.NanoGardener.data.common_cfg import Type_dict #from Latino...
[ "senne.vanputte@student.uantwerpen.be" ]
senne.vanputte@student.uantwerpen.be
2faa1a2aaf34ff00d50c35afead93ace9bc949fb
993ef8924418866f932396a58e3ad0c2a940ddd3
/Production/test/condorSub/dict_Summer20UL16APV_gjets_dr0p4.py
817994fbf5c7ee0aa69b211e2a51ecb254f23838
[]
no_license
TreeMaker/TreeMaker
48d81f6c95a17828dbb599d29c15137cd6ef009a
15dd7fe9e9e6f97d9e52614c900c27d200a6c45f
refs/heads/Run2_UL
2023-07-07T15:04:56.672709
2023-07-03T16:43:17
2023-07-03T16:43:17
29,192,343
16
92
null
2023-07-03T16:43:28
2015-01-13T13:59:30
Python
UTF-8
Python
false
false
446
py
flist = { "scenario": "Summer20UL16APV", "args": "emerging=True", "samples": [ ['Summer20UL16APV.GJets_DR-0p4_HT-100To200_TuneCP5_13TeV-madgraphMLM-pythia8'], ['Summer20UL16APV.GJets_DR-0p4_HT-200To400_TuneCP5_13TeV-madgraphMLM-pythia8'], ['Summer20UL16APV.GJets_DR-0p4_HT-400To600_TuneCP...
[ "kpedro88@gmail.com" ]
kpedro88@gmail.com
190d1b1092d241c85f0feb82ec4fbde905277a25
871e1b0295c0fbbfca8191236d674866cf62ff01
/TrainB5_NAR1_imagenet_64.py
532b33d65353507986ad9cfe7bb6f9818cee5de2
[]
no_license
Peckkie/USAI_ABnormal_Screening
ce31a813e9303a7d43def912ab731cc633268cb7
82cd63ac9ab72fbe68eae254c15c7bf7ef906022
refs/heads/master
2023-02-16T13:32:33.678500
2021-01-07T02:36:35
2021-01-07T02:36:35
277,981,638
0
0
null
null
null
null
UTF-8
Python
false
false
4,080
py
import PIL from keras import models from keras import layers from tensorflow.keras import optimizers import os import glob import shutil import sys import numpy as np from skimage.io import imread import matplotlib.pyplot as plt import os from tensorflow.keras import callbacks import pandas as pd from keras.utils impor...
[ "w_yupaporn@kkumail.com" ]
w_yupaporn@kkumail.com
b9a48a3fa6173aaf6e71b3ae6f50b4791ceb6e34
e49a07ad215172e9c82cb418b10371bf0ce1c0f7
/第1章 python基础/Python基础09/1-创建模块/msgnew.py
c70f8f258a39e5f8bc8e8298c973427f1890cdb5
[]
no_license
taogangshow/python_Code
829c25a7e32ead388c8b3ffa763cb9cf587bfd7b
4b3d6992ec407d6069f3187ca7e402a14d863fff
refs/heads/master
2022-12-16T01:26:17.569230
2018-11-16T10:07:59
2018-11-16T10:07:59
157,832,985
0
1
null
2022-11-25T09:55:32
2018-11-16T08:00:13
Python
UTF-8
Python
false
false
142
py
__all__ = ["test2","Test"] def test1(): print("---test1---") def test2(): print("---test2---") class Test(object): pass num = 100
[ "cdtaogang@163.com" ]
cdtaogang@163.com
fdd59d240a4c0bb10c89d75d4e9a62b0b1c7f939
2e990ff03f23c3f82e1f3fb7acee1ddd8fb72e0e
/whoislive.py
450d38b0d33cacce38abf02fe08ffd66a715315d
[]
no_license
HeNine/ekimbot_plugins
e25bd5326b13603a8671d4089317185bb7a7821c
354978cc8a632aec57ef79d2948ada21dc2502cd
refs/heads/master
2021-01-24T18:26:28.146480
2017-03-06T17:37:11
2017-03-06T17:37:11
84,441,447
0
0
null
2017-03-09T12:47:12
2017-03-09T12:47:12
null
UTF-8
Python
false
false
4,547
py
import functools import itertools import gevent import gtools import requests import twitch from ekimbot.botplugin import ClientPlugin from ekimbot.commands import CommandHandler from ekimbot.utils import reply_target def encode_recursive(o, encoding='utf-8'): if isinstance(o, unicode): return o.encode(encoding...
[ "mikelang3000@gmail.com" ]
mikelang3000@gmail.com
7a2c9eb7044540d777bca9c0f68a4a888895eb00
06904f68018fbd42bba1909e12a79c2106af71f4
/mirror_en.py
733cf287ae4ed857491c9bb00206dfa953eb9428
[]
no_license
rzbfreebird/MCDR-Mirror-Server
2d079ac30c073805045f97302b2379937b8f95e2
fbaebc8eeddaefe3675efff8abe98e7e69d83e30
refs/heads/master
2022-12-07T01:14:01.603244
2020-09-03T14:30:43
2020-09-03T14:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,443
py
# -*- coding: utf-8 -*- import shutil import datetime import os import json as js import platform from os.path import abspath, dirname from utils import rcon current_path = abspath(dirname(__file__)) def read_config(): with open("config/mirror.json") as json_file: config = js.load(json_file) return conf...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
0f6b4c0e8a7fc2507d68d242905734ba1e2e2592
6b033e3dddc280417bb97500f72e68d7378c69d6
/IV. COLAB/Enemy-Spotted/2. Uniform Classification/crawling/crawling_version_2_deprecated.py
fa6711bbd2b14e88c54793181f0ffa2d0b600bb1
[]
no_license
inyong37/Study
e5cb7c23f7b70fbd525066b6e53b92352a5f00bc
e36252a89b68a5b05289196c03e91291dc726bc1
refs/heads/master
2023-08-17T11:35:01.443213
2023-08-11T04:02:49
2023-08-11T04:02:49
128,149,085
11
0
null
2022-10-07T02:03:09
2018-04-05T02:17:17
Jupyter Notebook
UTF-8
Python
false
false
903
py
from urllib.request import urlopen import argparse import requests as req from bs4 import BeautifulSoup # reference: https://enjoysomething.tistory.com/42 parser = argparse.ArgumentParser() parser.add_argument("-data", required=False, default='acu pattern') args = parser.parse_args() data = args.data def main(): ...
[ "inyong1020@gmail.com" ]
inyong1020@gmail.com
5901cd761f795addb37355ab5dfb91b136524937
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/45/usersdata/118/15614/submittedfiles/lista1.py
e7b973d29fb37d041373635daf0586e519cab283
[]
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
430
py
# -*- coding: utf-8 -*- from __future__ import division n = input('Digite o número de termos:') a = [] for i in range(0,n+1,1): a.append(input('Digite o valor:') somap = 0 somai = 0 contp = 0 conti = 0 for j in range(0,len(a),1): if a[i]%2 == 0: contp = contp +1 somap = somap +1 else: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
65862506e7c2a0b1eba9b24168fb76d1f57c32fd
87fb0ae5563512bf4cfe2754ea92e7f4173f753f
/Chap_05/Ex_129.py
67451fbd6333873e212e51249f4b024c92250365
[]
no_license
effedib/the-python-workbook-2
87291f5dd6d369360288761c87dc47df1b201aa7
69532770e6bbb50ea507e15f7d717028acc86a40
refs/heads/main
2023-08-21T13:43:59.922037
2021-10-12T20:36:41
2021-10-12T20:36:41
325,384,405
2
1
null
null
null
null
UTF-8
Python
false
false
764
py
# Tokenizing a String # Tokenizing is the process of converting a string into a list of substrings, known as tokens. def tokenbystring(string: str) -> list: string = string.replace(' ', '') tokens = [] dgt = '' for s in string: if s in ['*', '/', '^', '+', '-', '(', ')']: if dgt !=...
[ "cicciodb@hotmail.it" ]
cicciodb@hotmail.it
c69d55d3f7500378e3a928dff4e8a0e47d70916b
09db0d94ef90ff4df3b17cf8d9c2cca7f79b2c65
/buffer.py
317b3835a2a7a73b712441fc4f3f631cdf1c3eb1
[]
no_license
tgbugs/desc
5e17e7e35445908b14c7cbaed766764bb3cbab6b
b68a07af90f87f55c4b5be6ff433f310a0bc7e2c
refs/heads/master
2020-04-09T12:20:02.650756
2019-05-08T07:34:29
2019-05-08T07:34:29
20,045,270
1
2
null
null
null
null
UTF-8
Python
false
false
913
py
#!/usr/bin/env python3.4 """ Example for how to load vertex data from numpy directly """ import numpy as np from panda3d.core import Geom, GeomVertexFormat, GeomVertexData from .util.ipython import embed size = 1000 data = np.random.randint(0,1000,(size,3)) #color = np.random.randint(0,255,(size,4)) color = np.repea...
[ "tgbugs@gmail.com" ]
tgbugs@gmail.com
b7dd7a197154d308863a5d0f9d1d548a6a166d6e
dd3bbd4e7aaee7a8a5f26b927ce28ac472c855a5
/eggs/plone.app.controlpanel-2.1.1-py2.7.egg/plone/app/controlpanel/skins.py
a649d961b9669e9e19a497770d9f1e3f809ad3e2
[]
no_license
nacho22martin/tesis
ea0a822f8bdbdef6f13f41276ecd4d6e85427ca5
e137eb6225cc5e724bee74a892567796166134ac
refs/heads/master
2020-12-24T13:20:58.334839
2013-11-09T12:42:41
2013-11-09T12:42:41
14,261,570
0
1
null
null
null
null
UTF-8
Python
false
false
6,314
py
from zope.interface import Interface from zope.component import adapts from zope.formlib.form import FormFields from zope.interface import implements from zope.schema import Bool from zope.schema import Choice from Products.CMFCore.utils import getToolByName from Products.CMFDefault.formlib.schema import SchemaAdapter...
[ "ignacio@plone.(none)" ]
ignacio@plone.(none)
9ee36689f1628a59d8a7f28c1af469ca7adedfe2
b5e15fc6fe0132f18c72a1bf035b3edab618e35c
/microfinance/project_data/helpers.py
4e75b923715a09285f8ea6047a5c9c702562fcbf
[]
no_license
Jubair70/BRAC-Customer-Service-Assisstant
ced72b4c81e0f4670c4be9efdb7d0d113f285b28
fe35de8b96e2d8a44bf8ed811faa628ea27861d2
refs/heads/master
2021-06-27T06:38:35.239131
2020-01-13T05:17:48
2020-01-13T05:17:48
233,516,095
0
0
null
2021-06-10T22:28:56
2020-01-13T05:12:26
JavaScript
UTF-8
Python
false
false
608
py
import paho.mqtt.client as mqtt from microfinance.settings import MQTT_SERVER_PATH, MQTT_SERVER_PORT def send_push_msg(topic = "/CSA/1/11111", payload = None, qos = 1, retained = False): # MQTT_SERVER_PATH = "192.168.22.114" # MQTT_SERVER_PORT = 1884 # MQTT_SUBSCRIBE_TOKEN = "/CSA/1/11111" # MQTT_SERVE...
[ "jubair@mpower-social.com" ]
jubair@mpower-social.com
e7bc5b408596623a5bf610c7bba934e4da24efab
197420c1f28ccb98059888dff214c9fd7226e743
/elements, blocks and directions/classes/class5_A_funcs.py
3f2a7d6da1786dea286652d45ddc788ab0d67f48
[]
no_license
Vovanuch/python-basics-1
fc10b6f745defff31364b66c65a704a9cf05d076
a29affec12e8b80a1d3beda3a50cde4867b1dee2
refs/heads/master
2023-07-06T17:10:46.341121
2021-08-06T05:38:19
2021-08-06T05:38:19
267,504,364
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
''' class A ''' class A: val = 1 def foo(self): A.val += 2 def bar(self): self.val += 1 a = A() b = A() a.bar() a.foo() c = A() print(a.val) print(b.val) print(c.val)
[ "vetohin.vladimir@gmail.com" ]
vetohin.vladimir@gmail.com
73a34062044e8bbacbf5e735782bef6c3a6cbc5a
85df75bec1ea604c21db36b8892c90e0d7b7574f
/armstrong/core/arm_layout/utils.py
c7bb882623ba0881a93e8ae89a446d49251f0d1a
[ "Apache-2.0" ]
permissive
niran/armstrong.core.arm_layout
a569a64f84085b55509b26c004a9a41af3952047
229106581439c370ba51b1395e5e5e4db111a0bc
refs/heads/master
2021-01-16T19:29:16.017160
2012-03-16T16:29:58
2012-03-16T16:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
from django.utils.safestring import mark_safe from django.template.loader import render_to_string def get_layout_template_name(model, name): ret = [] for a in model.__class__.mro(): if not hasattr(a, "_meta"): continue ret.append("layout/%s/%s/%s.html" % (a._meta.app_label, ...
[ "development@domain51.com" ]
development@domain51.com
60c721e6c7d21277963b95af8fdc2aa107b72302
21df7cd93e156af8357596143792c22b44e14747
/regression/SimpleLinearRegression.py
963a2797127498672b735dbc7c59e572c6b024fa
[]
no_license
yanyongyong/machineLearn
0cac90c1d0b4f7021e3f9ca658268f3c433b481f
d77a13f83679ba4b06bf24c6c6019dc2af55986f
refs/heads/master
2021-09-03T08:25:33.933996
2018-01-07T14:15:52
2018-01-07T14:15:52
107,839,854
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
import numpy as np #简单的线性回归 def fitSLR(x,y): n = len(x) denominator = 0 #分母 numerator = 0 #分子 for i in range(0,n): numerator += (x[i]- np.mean(x))*(y[i] - np.mean(y)) denominator += (x[i] - np.mean(x))**2 b1 = numerator/float(denominator) b0 = np.mean(y) - b1*np.mean(x) # b0 ...
[ "123456" ]
123456
465b87dd2605a4e591b7693d9ff7ef6ed379c2e6
f39c2c500873180d953ab9a7b22a4f6df95fb1c3
/Amazon/Pyramid Transition Matrix.py
24f0dd8cd85fc636e5f6ed3c3ff56adc101c0a4e
[]
no_license
Jason003/interview
458516f671d7da0d3585f89b098c5370edcd9f04
e153306b85c3687b23a332812a0885d25ecce904
refs/heads/master
2021-07-15T15:28:07.175276
2021-02-05T03:21:59
2021-02-05T03:21:59
224,898,150
2
3
null
null
null
null
UTF-8
Python
false
false
872
py
''' Input: bottom = "BCD", allowed = ["BCG", "CDE", "GEA", "FFF"] Output: true Explanation: We can stack the pyramid like this: A / \ G E / \ / \ B C D We are allowed to place G on top of B and C because BCG is an allowed triple. Similarly, we can place E on top of C and D, then A on top of G and E. '...
[ "jiefanli97@gmail.com" ]
jiefanli97@gmail.com
ae60e9b1424a37519eecbabcfeb13e32fe0e0f59
df1348a67a54fa530f620ba1145c34d914710fde
/examples/sandbox/sandbox_export.py
0279085899b7e8a7bfb5c5464169c3afb8f28481
[ "MIT" ]
permissive
SilverLabUCL/netpyne
bf00991cec1ca44c44476e0a0fff2a15bc28b08c
72ce78d8c79c060d44513bafa7843756ee06cc45
refs/heads/master
2020-07-12T12:45:39.959342
2016-11-16T10:26:23
2016-11-16T10:26:23
73,908,592
0
0
null
2016-11-16T10:21:48
2016-11-16T10:21:48
null
UTF-8
Python
false
false
293
py
import sandbox # import parameters file from netpyne import sim # import netpyne sim module sim.createExportNeuroML2(netParams = sandbox.netParams, simConfig = sandbox.simConfig, reference = 'sandbox') # create and export network to NeuroML 2
[ "salvadordura@gmail.com" ]
salvadordura@gmail.com
e0c05f71ba2c1ec6b84d1cee2e49a9f3fd585618
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_clutched.py
e70757cfd80eae64be874dd7819e132a2b0a95da
[ "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
240
py
from xai.brain.wordbase.nouns._clutch import _CLUTCH #calss header class _CLUTCHED(_CLUTCH, ): def __init__(self,): _CLUTCH.__init__(self) self.name = "CLUTCHED" self.specie = 'nouns' self.basic = "clutch" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
59d94563bfa6f5937003f4b1bdd3072c24cc7d4c
e9f111b913255e2a8963556a638017c6c4729f01
/randomize_four_digits.py
0384492097a4e58757931549c4dab66f38246c1c
[]
no_license
dojinkimm/daddy
d609c38333358a6119ad71b4c89f418ae8c071eb
77e79324da3e7deb11d0a045d888e432a499d388
refs/heads/master
2023-01-31T08:21:26.544482
2020-12-15T12:25:26
2020-12-15T12:25:26
285,579,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
""" 문장 리스트에서 4자리 혹은 3자리 숫자를 찾아서 랜덤 숫자로 변경해주는 GUI 프로그램 GUI Program that finds four digit or three digit number in a list of sentences, and changes to random number """ import random import re import pandas as pd import PySimpleGUI as sg def arg_parse(): layout = [ [sg.Text("문장을 입력하세요", size=(25, 1))], ...
[ "dojinkim119@gmail.com" ]
dojinkim119@gmail.com
125c76db9f1f9f7db1a60cc1fac82e87519e6ac9
c342df24a9e2a94c5b952b57d73e45ee35adea80
/dqn_bullet_cartpole.py
f1a52ad5b053b903b878f9a354642da5683ba6ec
[ "MIT" ]
permissive
vyraun/cartpoleplusplus
4b652d4ba0210e5abdb78931153d6076839cf6df
87c0f1b896e6d6919c4dbfcd0bf4306f807b60ef
refs/heads/master
2020-12-31T02:48:49.650551
2016-08-29T03:29:05
2016-08-29T03:29:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
#!/usr/bin/env python # copy pasta from https://github.com/matthiasplappert/keras-rl/blob/master/examples/dqn_cartpole.py # with some extra arg parsing import numpy as np import gym from keras.models import Sequential from keras.layers import Dense, Activation, Flatten from keras.optimizers import Adam from rl.agen...
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
a2ee918ee914a6a2440aeba1db575f22ba3e78bf
458b1133df5b38a017f3a690a624a54f0f43fda7
/PaperExperiments/XHExp041/parameters.py
62f97ccd29ad9f45eebb6360c8de059e6a0f209d
[ "MIT" ]
permissive
stefan-c-kremer/TE_World2
9c7eca30ee6200d371183c5ba32b3345a4cc04ee
8e1fae218af8a1eabae776deecac62192c22e0ca
refs/heads/master
2020-12-18T14:31:00.639003
2020-02-04T15:55:49
2020-02-04T15:55:49
235,413,951
0
0
null
null
null
null
UTF-8
Python
false
false
3,604
py
# parameters.py """ Exp 41 - {'Initial_genes': '5000', 'Host_mutation_rate': '0.30', 'TE_progeny': '0.15, 0, 0.55, 1, 0.30, 2', 'TE_Insertion_Distribution': 'Flat()', 'Carrying_capacity': '30', 'TE_excision_rate': '0.1', 'Junk_BP': '1.4', 'Gene_Insertion_Distribution': 'Flat()', 'mutation_effect': '0.10', 'TE_death_ra...
[ "stefan@kremer.ca" ]
stefan@kremer.ca
a03230f460994f28b677a293aea19162a7708eb2
8ff12c53e31f134b9f39f59b9a6f7d4f9142cea7
/lvlist/teacherPython/lianxi.py
bf2cc0047479923ed84cd01299189d22e12ed361
[]
no_license
quhuohuo/python
5b0a80dbec7d22a0b274e4a32d269e85d254718c
5732c5974519da8e8919dab42b36ab0ab2c99b37
refs/heads/master
2021-06-13T11:41:12.356329
2017-04-07T08:58:05
2017-04-07T08:58:05
75,054,981
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python def fun(char): l = char.split(" ") char = ''.join(l) return char while True: s = raw_input() if not len(s): break print "before:",s s = fun(s) print "after:",s
[ "813559081@qq.com" ]
813559081@qq.com
19774af108915387eb5f2ee44608d270c5137efc
6d4d69c91eb14150778468f7cf73d8e2a9aa9124
/t/variant/read_expresses_del.py
a0eba72d31d3b41050cde4c2746b8eee0690634a
[]
no_license
phonybone/Nof1
847acf7ce785319590f99271d20b7c126b59b699
22d877a96cd4481fdb7bf860c4d0721fcb34ddbe
refs/heads/master
2021-01-23T13:56:53.606351
2013-09-20T23:50:30
2013-09-20T23:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
import unittest, sys, os from warnings import warn libdir=os.path.abspath(os.path.join(os.path.dirname(__file__),'..','..','lib')) sys.path.append(libdir) from variant import * class TestExpressesSNP(unittest.TestCase): def setUp(self): print def test_expresses_del(self): var=Va...
[ "phonybone@gmail.com" ]
phonybone@gmail.com
c310f33e1c8dbb6251814466ec5e07be15b0a61f
637fe43cb3b858be426e9b9ce10485430ae1f146
/fsleyes/gl/gl14/glmask_funcs.py
3d9bfb590cf1c45bff2b61b253fd436eaac571e6
[ "BSD-3-Clause", "CC-BY-3.0", "Apache-2.0" ]
permissive
laurenpan02/fsleyes
9dda45c1b1b77f0f042488ddf40fed46e5c77360
eed8940d422994b6c1f1787381ebac2361b81408
refs/heads/master
2023-03-11T16:49:16.994945
2021-02-25T18:07:39
2021-02-25T18:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
py
#!/usr/bin/env python # # glmask_funcs.py - OpenGL 1.4 functions used by the GLMask class. # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # """This module provides functions which are used by the :class:`.GLMask` class to render :class:`.Image` overlays in an OpenGL 1.4 compatible manner. """ import fsleyes.gl.s...
[ "pauldmccarthy@gmail.com" ]
pauldmccarthy@gmail.com
7641a1c1f9068abb40afb542114f32591bf63472
f645ebae84e973cb42cffbe7f1d112ff2e3b0597
/no/edgebox_final/edgebox_final/settings.py
8cc80e236c92caef201e903858278cbcd6d1bf38
[]
no_license
bopopescu/file_trans
709ce437e7aa8ce15136aa6be2f5d696261c30bd
fadc3faf6473539ed083ccd380df92f43115f315
refs/heads/master
2022-11-19T18:54:17.868828
2020-03-11T04:30:41
2020-03-11T04:30:41
280,964,974
0
0
null
2020-07-19T22:57:41
2020-07-19T22:57:40
null
UTF-8
Python
false
false
3,754
py
""" Django settings for edgebox_final project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "871488533@qq.com" ]
871488533@qq.com
bed8fdd79205932c1f16505cfd9077aa45156f68
2d9a17e2b896d2f6a90913a4ba02d41f0ede5dd0
/_58job/page_store.py
ab4764e39b62286c71dc816045dbe148722d6785
[]
no_license
wolfwhoami/xxxxx
1cf2ed2c8ed78048d87cccf2953ca86c0871a783
670787ec71127bc05c1645cc3d8ef7c3a91fe84b
refs/heads/master
2020-03-30T00:44:55.864817
2016-12-16T01:45:03
2016-12-16T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
#!/usr/bin/env python # -*- coding:utf8 -*- from spider.ipin.savedb import PageStoreBase from spider.runtime import Log from spider.util import htmlfind from spider.util import TimeHandler import spider import time import re class Jd58PageStore(PageStoreBase): def __init__(self): super(Jd58PageStore, sel...
[ "jianghao@ipin.com" ]
jianghao@ipin.com
217bd2af0238293662a1d0bef1aaf8b835af57ff
a4830a0189c325c35c9021479a5958ec870a2e8b
/lib/pyutil/django/mixins.py
1f6e5aee271e26288ffc4fda4263d7ba951ea772
[]
no_license
solutionprovider9174/steward
044c7d299a625108824c854839ac41f51d2ca3fd
fd681593a9d2d339aab0f6f3688412d71cd2ae32
refs/heads/master
2022-12-11T06:45:04.544838
2020-08-21T02:56:55
2020-08-21T02:56:55
289,162,699
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
# Django from django.http import JsonResponse from django.forms import BaseFormSet, formset_factory from django.forms.models import model_to_dict from django.views.generic.edit import FormMixin from django.core.exceptions import ImproperlyConfigured from django.views.generic.detail import SingleObjectTemplateResponseMi...
[ "guangchengwang9174@yandex.com" ]
guangchengwang9174@yandex.com
4bbfd3063d60db8bdd0ba24404b6cba6e8214f32
d916a3a68980aaed1d468f30eb0c11bfb04d8def
/2021_06_14_Linked_list_cycle.py
2cfffe4d21e1cf1685d43336acfba01f596912c7
[]
no_license
trinhgliedt/Algo_Practice
32aff29ca6dc14f9c74308af1d7eaaf0167e1f72
480de9be082fdcbcafe68e2cd5fd819dc7815e64
refs/heads/master
2023-07-10T23:49:16.519671
2021-08-11T05:11:34
2021-08-11T05:11:34
307,757,861
1
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
# https://leetcode.com/problems/linked-list-cycle/ # Given head, the head of a linked list, determine if the linked list has a cycle in it. # There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the ...
[ "chuot2008@gmail.com" ]
chuot2008@gmail.com
7f976f5b8142c14de1f5a2d2cbea50a1fe36c512
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_sync_token_async.py
9d2441dc438ea9e84f222b0768eefed6c3454998
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,236
py
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""), ...
[ "noreply@github.com" ]
Azure.noreply@github.com
ae59f02eab72110000b74d8503fae65c3fc36ecd
e164fd9dce5fef093f85ca009f78570ec2b1c492
/324. Wiggle Sort II.py
c63081d423ce9f82a653401f08c2dc5fb6ed93ff
[]
no_license
havenshi/leetcode
58fde93a1f1cbdd3c2faa9566c00383e5812f3a7
bcb79f329bcb133e6421db8fc1f4780a4eedec39
refs/heads/master
2021-01-22T04:15:23.748793
2019-11-30T04:25:54
2019-11-30T04:25:54
92,447,327
1
0
null
null
null
null
UTF-8
Python
false
false
2,541
py
# Sorting and reoder solution. (92ms) class Solution(object): def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ nums.sort() med = (len(nums) - 1) / 2 nums[::2], nums[1::2] = nums[med::-...
[ "haiwen.shi01@gmail.com" ]
haiwen.shi01@gmail.com
91577320a6ad2fab7a30f0640acbdbcf621586e1
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/NMTOKEN/Schema+Instance/NISTXML-SV-IV-list-NMTOKEN-enumeration-3-5.py
41c46ea0f9f6ec5c12819d5834a5ba585aeda8a2
[ "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
717
py
from output.models.nist_data.list_pkg.nmtoken.schema_instance.nistschema_sv_iv_list_nmtoken_enumeration_3_xsd.nistschema_sv_iv_list_nmtoken_enumeration_3 import NistschemaSvIvListNmtokenEnumeration3 from output.models.nist_data.list_pkg.nmtoken.schema_instance.nistschema_sv_iv_list_nmtoken_enumeration_3_xsd.nistschema_...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
61ffe08a041bf9ab8125c750c6710d2416c6f292
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/mpls_state/ldp/statistics/ldp_protocol_stats_instance_since_clear/__init__.py
9db90b9b03d86d82c89d8808869b01b69cf370e7
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,549
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
2b60f88f7128b020f21fa8e9351b9fb82c26385d
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/lib/python2.7/site-packages/gensim/corpora/lowcorpus.py
e293c998a14d288506947a9fd241acf64a343952
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
7,100
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2010 Radim Rehurek <radimrehurek@seznam.cz> # Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html """ Corpus in GibbsLda++ format of List-Of-Words. """ from __future__ import with_statement import logging from gensim import utils ...
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
d95b85d157c5e47a6a21e27eabf4525b5afea52e
d0a84d97aaa8dcc2dff4a6b33ce98dee6d474496
/com.CheckProofing/Test_Campaign_2021/scripts/python/Page/extract_images.py
3b80f87b21db865b5932d0164080417339bd2fe7
[]
no_license
ahmed-test001/python
21a27248c4571a13c0ed4dccab256aede1beea3a
eab59b9a54fae1a51fbc18c391599eb3b0e28b3d
refs/heads/master
2023-03-10T21:00:54.634028
2021-02-27T05:31:58
2021-02-27T05:31:58
342,778,794
0
0
null
null
null
null
UTF-8
Python
false
false
3,915
py
# import json # import re # import os # import sys # import requests # import pytesseract # # import cv2 # from urllib.parse import urlparse # # from bs4 import BeautifulSoup # from selenium.webdriver.support.wait import WebDriverWait # # from Test_Campaign_2021.scripts.python.Util_Data import ReadConfig # # # class ex...
[ "ahmedu.ferdous@gmail.com" ]
ahmedu.ferdous@gmail.com
b9063f096b96d5a75a310bc8ea0a8636adf03b5a
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/BHBXNfeMsA43d8Tys_22.py
a4efdfcb90caae2db151d39c9a348261e7d74a67
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
""" As far as we currently know, approximations for the mathematical constant **pi** (π) in the history of mathematics started surfacing with Ancient Babylonians, who found its correct truncation up to 1 decimal place. During the 5th century, the Chinese mathematician Zu Chongzhi raised it to 7 decimal places and fr...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
72fb6a38c5f5d698ef3de0e95fd431195f0c6c1c
4522fc52bc43654aadd30421a75bae00a09044f0
/riley/dev.py
1c924685ce9976e08ff5b678bf63dcb402aa2ce4
[]
no_license
qesoalpe/anelys
1edb8201aa80fedf0316db973da3a58b67070fca
cfccaa1bf5175827794da451a9408a26cd97599d
refs/heads/master
2020-04-07T22:39:35.344954
2018-11-25T05:23:21
2018-11-25T05:23:21
158,779,332
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
from dict import Dict as dict import os import os.path from isodate import datetime_isoformat from datetime import datetime from pathlib import Path path_root = Path(r'/home/picazo/anelys') if os.path.sep != '/': os.path.sep = '/' from katherine import d6 def get_datetime(timestamp): return datetime_isofor...
[ "qesoalpe@gmail.com" ]
qesoalpe@gmail.com
92f6925b2a9cfb31a62f32e59f35f03425e5c4ee
fd25231975acd147e04dc3ed3627c92cb1a4f86c
/FlaskAPI/vir_env/lib/python3.7/site-packages/scipy/io/matlab/tests/test_mio.py
a2fff9f37f188018118bed9ef6dc4f9d6725e5b8
[]
no_license
sumitkutty/Flight-Price-Prediction
832a2802a3367e655b46d3b44f073d917abd2320
d974a8b75fbcbfa42f11703602af3e45a3f08b3c
refs/heads/master
2022-12-25T07:13:06.375888
2020-10-08T18:46:44
2020-10-08T18:46:44
302,366,725
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:8ddd2d36df500761f2d9af0be22308dd2450ebd281c3b0e945bc89b26ebb413d size 42136
[ "sumitkutty37@gmail.com" ]
sumitkutty37@gmail.com
3496db296e088ab5b474d57d635d971b8e919291
923a14dd594191d77e30465027ece8371f28a7a6
/web-serpng/code/serpng/jobs/services/search/user_data_tests.py
a41f50ac118c451b073c3ebd84206912b868bae7
[]
no_license
alyago/django-web
3af7b3389df59104eaf5e50ed9cc2c3e730fed7f
da3073eec6d676dfe0164502b80d2a1c75e89575
refs/heads/master
2021-01-10T19:33:45.425520
2013-11-21T09:43:37
2013-11-21T09:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,400
py
"""User Data Tests.""" from django.test import TestCase import user_data # JSON responses from the bridge to be used in the tests. JSON_RESPONSE_WITH_NO_USER_DATA = { 'abc': 'I am not user data' } JSON_RESPONSE_WITH_GOOD_USER_DATA = { 'user_data': { 'recent_searches': ['rs1', 'rs2'], 'user_e...
[ "oleg@simplyhired.com" ]
oleg@simplyhired.com
ea0247a08d3dbfcc08f7339be1353955119ac626
f5ef25c84e9b4846f98d520bc9a20d20b3d1b65c
/OOP/oop3.py
e7b6dedf4ec707a9c8abd83d79293c2b25573e9b
[]
no_license
amiraHag/python-basic-course2
45757ffdfa677c2accd553330cd2fd825208b0aa
1fbfd08b34f3993299d869bd55c6267a61dc7810
refs/heads/main
2023-03-31T06:48:11.587127
2021-03-30T03:43:10
2021-03-30T03:43:10
327,271,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
# -------------------------------------------------------------------- # -- Object Oriented Programming => Instance Attributes and Methods -- # -------------------------------------------------------------------- # Self: Point To Instance Created From Class # Instance Attributes: Instance Attributes Defined Inside The ...
[ "amira071846@feng.bu.edu.eg" ]
amira071846@feng.bu.edu.eg
8af41c09b124f2ec5b82fef8804ae4eefd794aa5
4759db9f7e74cec91edbb4c18c553b92913d1695
/adafruit_atecc/adafruit_atecc_cert_util.py
415c17ab0cb4833d4b867b6891196d9eb11ca90d
[ "MIT", "LGPL-2.1-or-later", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference" ]
permissive
brentru/Adafruit_CircuitPython_ATECC
9702e8e06123ab258fee39baf3462640401f9f28
cceac6431ff28edcf410c53fc2db0c357533d774
refs/heads/master
2020-07-27T13:53:31.604065
2019-09-17T20:17:00
2019-09-17T20:17:00
209,113,921
1
0
MIT
2019-09-17T17:15:21
2019-09-17T17:15:21
null
UTF-8
Python
false
false
6,488
py
# Copyright (c) 2018 Arduino SA. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # Thi...
[ "robots199@me.com" ]
robots199@me.com
432c01b9bc0749e080f5030723946eea795b05b6
eeade223e39130cac09fb4907da6410101af5935
/setup.py
3e74c7d16553cc22209fc859a2c55f4468a03da1
[]
no_license
TrendingTechnology/jaxfg
67cac95f7e37c2eac75574fa8473b89cc222137e
7f19668b344944be196e6b61fdc36f1441bac819
refs/heads/master
2023-06-20T17:20:43.928788
2021-07-30T23:24:42
2021-07-31T00:33:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
from setuptools import find_packages, setup setup( name="jaxfg", version="0.0", description="Factor graphs in Jax", url="http://github.com/brentyi/jaxfg", author="brentyi", author_email="brentyi@berkeley.edu", license="BSD", packages=find_packages(), package_data={"jaxfg": ["py.type...
[ "yibrenth@gmail.com" ]
yibrenth@gmail.com
88fde4953ea93f45918c4891940b3b494d26ae2f
7623d4ca5cacb259a1b2e7a98b1e8a3011592348
/SICP/examples/ex2_83.py
b372d8db084f7f17d5cb1e2e2f63db57d0db0e8f
[]
no_license
nextdesusu/Learn-Python
3b875ab5093844fe64cc13e717a3637bdfe62a9a
3212059408eec27ee2ed359ac9d691b3d061372f
refs/heads/master
2022-01-29T07:39:11.915177
2019-07-21T14:18:10
2019-07-21T14:18:10
198,063,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
def gcd(a, b): while a != 0 and b != 0: if a > b: a = a % b else: b = b % a return a + b #print(gcd(50, 130)) class Complex: def __init__(self, real, imag = 0): self.real = real self.imag = imag def __str__(self): ...
[ "noreply@github.com" ]
nextdesusu.noreply@github.com
ecadda233d55e5a381cea2a473aabeb40e553cf4
f32e9b464a8c9fb7f5238935cfb5f83e840269e6
/chat.py
9bba623185a4235e003e9897cc735374256095c4
[]
no_license
DavidArmendariz/python-chatbot
c192fc5f310d7c069c2a58b165ff8d90a1ceff2b
c7df66d4e0ae64c79ab75cc5cb58690efa677c23
refs/heads/master
2022-12-18T18:38:38.375681
2020-09-28T19:10:11
2020-09-28T19:10:11
258,566,188
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from app import app, db from app.models import User, Message, Chatroom @app.shell_context_processor def make_shell_context(): return {'db': db, 'User': User, 'Message': Message, 'Chatroom': Chatroom}
[ "darmendariz1998@outlook.com" ]
darmendariz1998@outlook.com
32bc36980bd85af045910d5303f1b1c037b8938f
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/RSGfragments/RSGravitonToGammaGamma_kMpl01_M_5750_TuneCP5_13TeV_pythia8_cfi.py
dbf0343665487d8f89199e7c5e5a6aaec7a57103
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,324
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * from Configuration.Generator.Pythia8aMCatNLOSettings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
8aeb1300f85a1aaafb71ce05a4910eda695d01de
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_461.py
5bdb3315298efd0854676b72294e5e643b54f60a
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
# How to query filter in django without multiple occurrences ParentModel.objects.filter(childmodel__in=ChildModel.objects.all()).distinct()
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
25894a978235e5a7ba954ec8cdc0e0047e8254e1
2fd087fbc5faf43940153693823969df6c8ec665
/pyc_decrypted/latest/dropbox/metadata/vorbis.py
e7e48da8552e55eb862035894baafb7a71cedce1
[]
no_license
mickeystone/DropBoxLibrarySRC
ed132bbffda7f47df172056845e5f8f6c07fb5de
2e4a151caa88b48653f31a22cb207fff851b75f8
refs/heads/master
2021-05-27T05:02:30.255399
2013-08-27T13:16:55
2013-08-27T13:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
#Embedded file name: dropbox/metadata/vorbis.py from collections import defaultdict import struct from .utils import safe_read def readVorbisComment(file_obj): toret = defaultdict(list) try: vendor_length = struct.unpack('<I', safe_read(file_obj, 4))[0] safe_read(file_obj, vendor_length) ...
[ "bizonix@me.com" ]
bizonix@me.com
0c4d74fc244e79ebb2b0c11a0c7f7fcf431d901f
079c07c5d97eb60d36269e27309e84b25ea0aaeb
/guidehero-backend/app/managers/call_manager.py
2df061c86f9dcff1932fc86ea2e7e2a95baf97e2
[]
no_license
itdream-dev/python
3aa44329673f05e2a86e1cba56cb88101c777233
eda81b802b99f45933bdf0d22b508837cfa538f0
refs/heads/master
2023-03-05T12:27:42.776870
2020-05-11T15:54:45
2020-05-11T15:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,138
py
# -*- coding: utf-8 -*- from config import Ivysaur from lib.registry import get_registry from lib.models.call import Call from lib.push_notifications import PushNotifications class CallManager(object): def __init__(self): registry = get_registry() self.call_repo = registry['CALL_REPO'] se...
[ "skyclean906@gmail.com" ]
skyclean906@gmail.com
aaac7828f0ebe58e41fab34c975790676ce05ef9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_116/ch32_2020_04_08_11_44_06_529462.py
cc4a1b9f2ef0e4e497cbb913dca1ed7af116e79d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
def lista_primos(n): a=2 lista=[] contador = 3 while len(lista)!=n: if a == 2: lista.append(a) a+=1 elif a%2 == 0: a+=1 elif contador < a : contador = 3 while contador < a: if a%contador == 0: ...
[ "you@example.com" ]
you@example.com
dcd05b317337bac479b22dcaea4f461603eaa11b
02e23da0431623db86c8138bda350a1d526d4185
/Archivos Python Documentos/Graficas/.history/matriz_20200222132010.py
8534cb3045cb3b356fb2e42fe4a210b62a5a9f3b
[]
no_license
Jaamunozr/Archivos-python
d9996d3d10ff8429cd1b4c2b396016a3a5482889
1f0af9ba08f12ac27e111fcceed49bbcf3b39657
refs/heads/master
2022-08-05T14:49:45.178561
2022-07-13T13:44:39
2022-07-13T13:44:39
244,073,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
import numpy as np import os import pylab as pl import matplotlib.pyplot as plt os.system("clear") g=[ 12, 23; 34, 34, ] print (g) """ raiz=np.sqrt ln=np.log X = np.arange(-2, 12, 0.1) Y = np.arange(-2, 12, 0.1) J=np.count_nonzero(Y) print (J) a = [0] * J for i in range(J): a[i] = Y[i] X[25]=...
[ "jaamunozr@gmail.com" ]
jaamunozr@gmail.com
c711158cdb65871fda79be945d0bae0d04d531a8
50afc0db7ccfc6c80e1d3877fc61fb67a2ba6eb7
/challenge20(T-primes)/solutions/Coder45.py
32ba0e7800485a552e5637112a3fad818e939995
[ "MIT" ]
permissive
banana-galaxy/challenges
792caa05e7b8aa10aad8e04369fc06aaf05ff398
8655c14828607535a677e2bb18689681ee6312fa
refs/heads/master
2022-12-26T23:58:12.660152
2020-10-06T13:38:04
2020-10-06T13:38:04
268,851,516
11
8
MIT
2020-09-22T21:21:30
2020-06-02T16:24:41
Python
UTF-8
Python
false
false
165
py
python def solution(n): for k in range(n): y=len([k for k in range(1,n+1) if not n %k]) if y == 3: return True else: return False
[ "cawasp@gmail.com" ]
cawasp@gmail.com
62f3762c1f4cc277c8f0b20c4777ee5c189eb345
e593f5b34050eba13fbadeee3563346fa0f1c25b
/tests/plugins/test_speedrunslive.py
81731cbdc212b4e31f3887da8a114f76df267300
[ "BSD-2-Clause", "CC-BY-SA-2.0", "MIT", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license" ]
permissive
fuglede/streamlink
f9e56e434b01ae426edd83f13037384af294838a
2661d40164986f979edc2e6867f8daeceba73a44
refs/heads/master
2020-03-25T08:36:43.175618
2018-08-05T15:10:15
2018-08-05T15:10:15
143,622,979
0
0
BSD-2-Clause
2018-08-05T15:07:12
2018-08-05T15:07:12
null
UTF-8
Python
false
false
570
py
import unittest from streamlink.plugins.speedrunslive import SpeedRunsLive class TestPluginSpeedRunsLive(unittest.TestCase): def test_can_handle_url(self): should_match = [ 'http://www.speedrunslive.com/#!/twitch', ] for url in should_match: self.assertTrue(SpeedRu...
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
5ec6d29eb18f4b5a615c47c002f54ce12402b6b1
611847354ec077c5bc65fdb08c9f45ff45b4bfcc
/code/docker/python/flask_2/app.py
234a0768f1eb0f2a9ab328dd7b3a0fc9be9cf1a3
[ "MIT" ]
permissive
afcarl/pythoh_machine_learning_excerise
1a572e4c6db11ee28d5c245f20fc81b334d04995
f2b6e93eb02345f9078642cff3066e3e65557e51
refs/heads/master
2020-03-21T06:00:08.623962
2017-06-08T23:03:35
2017-06-08T23:03:35
138,193,305
1
0
null
2018-06-21T16:05:53
2018-06-21T16:05:52
null
UTF-8
Python
false
false
2,365
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals from flask import Flask, render_template, request from wtforms import Form, TextAreaField, validators import pickle import sqlite3 import os import numpy as np from vectorizer import vect app = Flask(__name__) cur_...
[ "snow.akogi.pgel@gmail.com" ]
snow.akogi.pgel@gmail.com
9bf502aa53de5ff285b04513b8db97f45b9147ae
64d923ab490341af97c4e7f6d91bf0e6ccefdf4b
/tensorforce/core/policies/state_value.py
3f2776d338b73a577f31700a2da5f1127a5c3642
[ "Apache-2.0" ]
permissive
tensorforce/tensorforce
38d458fedeeaa481adf083397829cea434d020cd
1bf4c3abb471062fb66f9fe52852437756fd527b
refs/heads/master
2023-08-17T17:35:34.578444
2023-08-14T20:14:08
2023-08-14T20:14:08
85,491,050
1,312
246
Apache-2.0
2023-08-14T20:14:10
2017-03-19T16:24:22
Python
UTF-8
Python
false
false
2,932
py
# Copyright 2020 Tensorforce Team. 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 applicable la...
[ "alexkuhnle@t-online.de" ]
alexkuhnle@t-online.de
98fb0dcf64f5486c42788855054e4d8f97762dd7
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-nlp/huaweicloudsdknlp/v2/model/post_sentence_embedding_req.py
70377e135a6ed8d93d796857d996707216550b46
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,253
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class PostSentenceEmbeddingReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
3eed1b10050537ad9781069bb46ed2f3703cf569
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/intermediate-bite-14-generate-a-table-of-n-sequences.py
55c17a68b9ae77cc101badbd72287e480fb740fa
[]
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
1,471
py
""" DATE: 05 Nov 2020 TASK DESCRIPTION: Write a function that receives one or more sequences. The sequences are already defined for you. The function should return a table (list of strings) where the columns are the sequences (example below). To keep it simple we work with equally sized sequences so you don't have to...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
43ef6671cbd2943a73a2201439c31fdfc5c0ad9c
54a745510b16111f5e5f610a07be49ea1e79fccf
/py1810/hello_mysql_01.py
086070e7afa84b55e4f9c256485a983058c32dcc
[]
no_license
SonDog0/bigdata
84a5b7c58ad9680cdc0e49ac6088f482e09118a5
e6cd1e3bbb0bfec0c89a31b3fb4ef66d50c272be
refs/heads/master
2020-04-22T02:24:16.469718
2019-03-13T08:59:26
2019-03-13T08:59:26
170,047,330
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
# 파이썬으로 MySQL, MariaDB 다루기 # python에서 MySQL 데이터베이스를 지원하려면 # python DB API 규약에 맞게 작성된 mySQL DB 모듈 필요 # 일반적으로 pyMySQL 모듈을 많이 사용 import pymysql # # mysql connection 생성 # conn = pymysql.connect(host='13.209.88.188', user= 'son', password= '931027',db='SON_MARIADB', charset='utf8') # # curs = conn.cursor() # #...
[ "noreply@github.com" ]
SonDog0.noreply@github.com
eb3d9991bac5d69b10d1a291e2e099785c5e1bdb
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/leetCode/Backtracking/90_SubsetsII.py
f0018bb559069fbfa983759b7fcba413f3f6cb4b
[]
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
1,397
py
#! /usr/bin/env python # -*- coding: utf-8 -*- c.. Solution o.. ___ subsetsWithDup nums """ :type nums: List[int] :rtype: List[List[int]] """ __ n.. nums: r_ [] nums.s.. ) nums_len = l..(nums) # Keep the subsets without duplicate subs...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f24083eb0c7654f23ecf8369b85752a9772562e2
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/enums/types/targeting_dimension.py
76a70911a6f15e25b79765af970fefb4bcd708ba
[ "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
1,273
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
adb2babffe1e8af59930020f6c17f6d45db5f76f
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/KoubeiTradeOrderConsultRequest.py
2defd325c725861c41724ed3832b3e090ad2407b
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
3,936
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiTradeOrderConsultModel import KoubeiTradeOrderConsultModel class KoubeiTradeOrderConsultRequest(object): def __init__(sel...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
6e3f3b1486dc70ef90cb88af554179fd8f6dc4d5
59090da2fe4e848b986c704b1ecf06ebe2d730b1
/conferences/items.py
459b144b8d8631dcf42753824838e783ac88a031
[ "MIT" ]
permissive
manuphatak/conferences
75449d2b16d546d4c66e9363369331239c74c9bd
67e8880fe7049c003650d83e090b95cc09b45da5
refs/heads/master
2021-06-05T04:03:18.071859
2015-12-25T01:13:18
2015-12-25T01:13:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class ConferencesItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "bionikspoon@gmail.com" ]
bionikspoon@gmail.com
b2801badf5bd6284bd289b522b327b3edbb347b5
6131b2738a7c087dfa6907c624453576f6f0e393
/银行转账pmysql版本/Bank_Transfer.py
34c606ac76f8f664750def22983d82d05855ec09
[]
no_license
heheddff/myPythonProcess
60ef240130cd02906dc500eedb397a9662c02e5a
885a25dd2a9cd43801306d9e70b9ce89daec4406
refs/heads/master
2020-04-08T19:09:18.192738
2019-08-06T02:52:54
2019-08-06T02:52:54
159,642,468
4
5
null
null
null
null
GB18030
Python
false
false
2,049
py
# coding=gbk import pymysql class Money(): def __init__(self,sid,tid,mon): self.conn = pymysql.connect( host="127.0.0.1", port=3306, user='root', passwd='****', db='test' ) self.cursor = self.conn.cursor(); self.table = "money" self.sid = sid self.tid = tid self.mon = mon def checkuse...
[ "qq2003qq@126.com" ]
qq2003qq@126.com
2e89a9bd74c09e3531412e11b310be4b94ae18d1
2a39fe8bd203531c9bcdb470d19b80beac665eae
/model_cluster.py
288cf9409b0694d16f6334c5ea877ffeafd2e726
[]
no_license
davidharvey1986/lenstoolTools
7bf11af1a38700503a731c6fe7e83fdc92bf58c1
85bcf729603d34341f5f41c57c4e233b08055baa
refs/heads/master
2021-09-08T14:29:52.695461
2018-03-10T13:54:50
2018-03-10T13:54:50
124,657,727
0
0
null
null
null
null
UTF-8
Python
false
false
3,715
py
''' This script has 2 functions: 1. model_cluster( ra, dec, cluster, \ halos=None, \ best_file=None) This models the input cluster and returns a structure from simulate_project with shear, chi, etc. ''' import numpy as np import ipdb as pdb import astro_tools as at imp...
[ "davidharvey1986@googlemail.com" ]
davidharvey1986@googlemail.com
37dcfb2bd2200cc648ab737e317d319edfd9d269
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/build/EnthoughtBase/enthought/logger/agent/attachments.py
4d8f00f577f6d82f2c2ec0b1a7f4b5a14dd94aef
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,835
py
""" Attach relevant project files. FIXME: there are no public project plugins for Envisage 3, yet. In any case, this stuff should not be hard-coded, but extensible via extension points. The code remains here because we can reuse the zip utility code in that extensible rewrite. """ import logging import os.path from e...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
a4becb7bb74d1bc89c50607b9bb58cfd03ce77ee
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/littlecodersh_EasierLife/EasierLife-master/Programs/PCMusicViaWechat/run.py
711a41774b068b3a371af0624be25cf996578762
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
785
py
#coding=utf8 import os import itchat from NetEaseMusicApi import interact_select_song HELP_MSG = u'''\ 欢迎使用微信网易云音乐 帮助: 显示帮助 关闭: 关闭歌曲 歌名: 按照引导播放音乐\ ''' with open('stop.mp3', 'w') as f: pass def close_music(): os.startfile('stop.mp3') @itchat.msg_register(itchat.content.TEXT) def music_player(msg): if msg['To...
[ "659338505@qq.com" ]
659338505@qq.com
31a22036f099c73ba1c28df51244f2704b311551
891902687207fb335b65dbb8d31d6e20301764f9
/pe007.py
3521b25495844f22a773b26856805b717f686ada
[]
no_license
maecchi/PE
93bd050eaca2733aa37db6ca493b820fe3d7a351
3d9092635807f0036719b65adb16f1c0926c2321
refs/heads/master
2020-05-04T16:38:36.476355
2012-06-10T05:26:10
2012-06-10T05:26:10
1,746,853
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # # pe007.py - Project Euler # prime_array = [] sum_of_array = len(prime_array) number = 1 while (len(prime_array) < 10001) : is_prime = True number += 1 if sum_of_array == 0: if number != 1: prime_array.append(number) else: for i in prime_array : if not numb...
[ "aos81922710@yahoo.co.jp" ]
aos81922710@yahoo.co.jp
2229d4df4a6585402d2b9b02a44445d1e7e39d2e
71f55955d7115763f9267704328f8c738aafaa15
/euca2ools/commands/iam/addrolepolicy.py
bb9e1d6ddeabb20857861ae24bcc791d2dbbad40
[ "BSD-2-Clause" ]
permissive
fr33jc/euca2ools
66da4a866e9a0873ce225f9f931019b0bbd82fff
f4d8052000601e59e4e7d4dec4aa4094df4e39a0
refs/heads/master
2021-01-21T08:20:44.646393
2015-05-07T06:16:30
2015-05-07T06:26:57
35,200,788
0
0
null
2015-05-07T05:34:42
2015-05-07T05:34:42
null
UTF-8
Python
false
false
3,335
py
# Copyright 2014 Eucalyptus Systems, Inc. # # Redistribution and use of this software in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
[ "gholms@devzero.com" ]
gholms@devzero.com
a8fe19a5ebd13e3f499880b38d3a0c9b3e2e1a01
77c641fd0708b279dddbe01f6af32a8531b93185
/marketsim/gen/_out/orderbook/_TwoWayLink.py
32086a419dd50f0c39f7d88416660a33f3316484
[]
no_license
abensrhir/marketsimulator
aea286afd2bb2e0c8a547bfa879601aef21c0cd5
f9f55c72fb34cdbec42b96737ca20839f26c6299
refs/heads/master
2020-12-13T20:55:55.795344
2014-02-24T22:52:24
2014-02-24T22:52:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from marketsim import registry from marketsim.gen._out._itwowaylink import ITwoWayLink from marketsim.gen._intrinsic.orderbook.link import _TwoWayLink_Impl from marketsim.gen._out._ilink import ILink @registry.expose(["Asset", "TwoWayLink"]) class TwoWayLink_ILinkILink(ITwoWayLink,_TwoWayLink_Impl): """ (normally ...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
223d15aa59b73791af3a6b0a32075d3e44e5e0e1
12c41119156dd3783c3801e07f5f973289f26bb0
/aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/ModifyInstanceCrossBackupPolicyRequest.py
73f1bb1dc4142387214d25bfcc8845befb0ee4b4
[ "Apache-2.0" ]
permissive
toywei/aliyun-openapi-python-sdk
bfe0893da38af9b222ce072fd7587d5b6cdce204
ce8f683e3201fca8c473512267f50a34f71e31d3
refs/heads/master
2020-08-07T23:42:00.053692
2019-10-08T08:50:21
2019-10-08T08:50:21
213,626,962
1
0
NOASSERTION
2019-10-08T11:43:15
2019-10-08T11:43:15
null
UTF-8
Python
false
false
3,625
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
2a3f06373320ecc765b4bb93855f011b6abd1874
8773e8c9b9a0a6e407f91b6f7c6321141d7e8356
/P0028.py
b36e66bdef3c5322dae8da2cc24b78e41d00f479
[]
no_license
westgate458/LeetCode
1836bb21e8dd95386ccab390f5fd04567a429a02
36d7f9e967a62db77622e0888f61999d7f37579a
refs/heads/master
2021-12-28T04:16:36.875737
2021-12-17T05:48:09
2021-12-17T05:48:09
152,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 7 21:30:22 2018 @author: Tianqi Guo """ class Solution(object): def strStr(self, haystack, needle): """ :type haystack: str :type needle: str :rtype: int """ # length of two strings lh = len(haystack) ...
[ "tqguo246@gmail.com" ]
tqguo246@gmail.com
531a90f48670b96708ad059976d2ba5bf25937fd
cbadf1c08435abc91bd221d2fd9d096717685cc0
/cses/introductory/t1068/task.py
4d13a4212760b1f74adb4ec357a1211f2f7534e6
[]
no_license
x3mka/code-contests-python
9b54738941187284e1f70aad850ae1016ca6cd39
57f473ca84735f9312913967e20a3ac0da32baa8
refs/heads/master
2022-09-01T20:39:05.329559
2022-08-04T13:05:22
2022-08-04T13:05:22
263,626,057
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
import sys def rs(): return sys.stdin.readline().rstrip() def ri(): return int(sys.stdin.readline()) def ria(): return list(map(int, sys.stdin.readline().split())) def ws(s): sys.stdout.write(s); sys.stdout.write('\n') def wi(n): sys.stdout.write(str(n)); sys.stdout.write('\n') def wia(a, sep=' '): sys.stdout.write(sep...
[ "bdimonik@gmail.com" ]
bdimonik@gmail.com
c38f64648780fe24938819e7a021e775e5b9144a
2aba3c043ce4ef934adce0f65bd589268ec443c5
/codility/lessons/lesson15/abs_distinct.py
20cee5b98361ce77f0c60a5866368cb270aedd84
[]
no_license
kambehmw/algorithm_python
4f66593b77039d90515d1fcbecacdab8c811b92f
17222399dcc92fd8f908e5774a9883e2e89c486e
refs/heads/master
2020-06-02T12:44:11.322356
2020-05-18T13:22:05
2020-05-18T13:22:05
191,157,113
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
def solution(A): result = set() for a in A: if abs(a) not in result: result.add(abs(a)) return len(result) if __name__ == '__main__': A = [-5, -3, -1, 0, 3, 6] print(solution(A))
[ "kanbe.hmw@gmail.com" ]
kanbe.hmw@gmail.com
96195a397e80348016e9ddf846478112f9dadba0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/connectivity_parameters_py3.py
2f6d375168c517e8f45f0201c2a3c695caf2c4b8
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,034
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
fb6e59194cd56c41ffbf2f949fdb863868fbed1e
82f998aec53e7bc49eb5aad4fdb18cbe72976b89
/transformers/configuration_albert.py
144678774cdc1e5b1ea30145fdf9204c810d854a
[]
no_license
MatNLP/SMedBERT
6ab8d2749a8a26005eef36dc347f779c9e6a217b
8dd549f902ca59ad2b84bf3b951213565fde4dc0
refs/heads/main
2023-09-02T03:22:13.298661
2021-11-17T05:44:50
2021-11-17T05:44:50
372,204,217
75
13
null
null
null
null
UTF-8
Python
false
false
5,303
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 ...
[ "czr@daddy.com" ]
czr@daddy.com
d57c34be95b4a4e63226be4b67e05cb99573eb54
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03326/s618374476.py
ab457fda2c9fc24c21e8f4fbf5a51f82f641ff89
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_upper...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5993102db04b63b021c0792c45e33184b33f0e7e
dc3d310934705034ab2f5bc4d3a96f07dab9b48b
/venv/Scripts/pip3.8-script.py
d6438c0257f98b46c7098f54e08d33868c8e9a97
[]
no_license
createnewdemo/istudy_test
82197488d9e9fa05e0c6cc91362645fc4555dc1d
806693f2bee13e3c28571d0d75f6b6ea70acf7a0
refs/heads/master
2022-04-19T05:52:53.780973
2020-04-17T17:04:10
2020-04-17T17:04:10
256,507,355
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
400
py
#!F:\pycharmÁ·Ď°\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "320783214@qq.com" ]
320783214@qq.com
10cabdec7e10d144746752e0c1d59045fc66cc76
9d1c769fb97c9287fc86cf582ac84bbf9cfdeec8
/PythonFunctionalProgramming(Advanced)/7.Lambda Expression.py
8b180d4009858955fcd193726d37957f15f09c82
[]
no_license
rohan9769/Python-Coding-and-Practice
a0bb1b560e995b2f484b6e6a9cc42e4bac9e84cc
27da1d4c3d0a1067fb8ce7f937d469bc4a2d2189
refs/heads/master
2021-02-10T09:15:17.999508
2020-03-22T13:12:44
2020-03-22T13:12:44
244,368,856
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#Lambda Expression - one time anonymous functions # lambda parameter : action to take on the pararmeter from functools import reduce my_list = [1,2,3] # def multi_by2(i): # return i*2 def check_odd(i): return i%2 != 0 def accumulator(acc,i): print(acc,i) return acc + i print(list(map(lambda i: i*...
[ "rohannayak2071@gmail.com" ]
rohannayak2071@gmail.com
24b0d94b1351c0914bc927de94b884458de108d5
b82057c77dd4d00ff9bca9a979a1a3075f0528c4
/Exicom_gateway/checks/ec500_dc_battcumdischarge_ah_status
753f682ed293b267a705e11b7e3da516b6af3913
[]
no_license
subhash-007/photography-blog
7ee0c4f930fee29d76106c45b09e6b76cb19cf56
b1ae66794b48bfe3862cb6e727a3a15a6ef79024
refs/heads/master
2020-03-31T04:33:00.276628
2019-07-12T06:00:39
2019-07-12T06:00:39
151,910,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,982
#!/usr/bin/python """ dc_battcumdischarge_ah_status of poller device. This is part of device application. Poller script determines the dc_battcumdischarge_ah_status of device. poller script takes the snmp value of OID .1.3.6.1.4.1.38016.14.2.10.3 from snmp agent of device at specific interval. Device dc_battcumdischar...
[ "sbmoond@gmail.com" ]
sbmoond@gmail.com
21fe2f6b03ac56dd43ae3a5e3577404f05819754
11cd362cdd78c2fc48042ed203614b201ac94aa6
/desktop/core/ext-py3/boto-2.49.0/tests/devpay/test_s3.py
86665702dcb3bef91d879e2c7171a5c6e2e32913
[ "CC-BY-3.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0", "Unlicense", "LGPL-3.0-only", "CC0-1.0", "LicenseRef-scancode-other-permissive", "CNRI-Python", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "Python-2.0", "GPL-3.0...
permissive
cloudera/hue
b42343d0e03d2936b5a9a32f8ddb3e9c5c80c908
dccb9467675c67b9c3399fc76c5de6d31bfb8255
refs/heads/master
2023-08-31T06:49:25.724501
2023-08-28T20:45:00
2023-08-28T20:45:00
732,593
5,655
2,244
Apache-2.0
2023-09-14T03:05:41
2010-06-21T19:46:51
JavaScript
UTF-8
Python
false
false
7,410
py
#!/usr/bin/env python # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the ri...
[ "noreply@github.com" ]
cloudera.noreply@github.com
7e9bc624c393e992e18b67e221b977c09ff141f9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_245/ch19_2020_03_04_18_17_22_799262.py
8b22222de5aff9dc08c38d569b8da5a45aa29742
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
l1 = int(input("Insira o primeiro lado: ")) l2 = int(input("Insira o segundo lado: ")) l3 = int(input("Insira o terceiro lado: ")) if l1 == l2 and l2 == l3: print("o triângulo é equilátero") elif l1 == l2 or l1 == l2 or l2 == l3: print("o triângulo é isóceles") else: print("o triângulo é escaleno")
[ "you@example.com" ]
you@example.com
7afa2e261bc06fbe2b86157c44db2697afb12753
d3e2f5b8c9505301bfc782cd3f152630565ccfdd
/djangoecommerce/catalog/apps.py
44e8d6051b4ba24e67229587b176dbefc4b24c95
[]
no_license
ingafter60/django3-ecom-portugis
81b5b862b01a8bc7ce9a5a2ccd1a306bf7268c56
ddf0b68836f54629d830e08a9831d7ad42514d45
refs/heads/master
2022-01-25T05:19:51.225435
2020-02-04T15:39:21
2020-02-04T15:39:21
238,185,317
0
0
null
2022-01-21T19:56:23
2020-02-04T10:59:51
Python
UTF-8
Python
false
false
230
py
# from django.apps import AppConfig # class CatalogConfig(AppConfig): # name = 'catalog' from django.apps import AppConfig class CatalogConfig(AppConfig): name = 'djangoecommerce.catalog' verbose_name = 'Catalog'
[ "inyoman_gurnitha@yahoo.com" ]
inyoman_gurnitha@yahoo.com
063f00b5a48ae92362e6306ce6da50adda629431
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_211/128.py
e12ff8364323062a8ce942d6507e417d019c70c9
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
""" http://networkx.readthedocs.io/en/networkx-1.11/tutorial/index.html https://docs.python.org/3/library/re.html https://docs.python.org/3/library/math.html https://docs.python.org/3/library/collections.html https://docs.python.org/3/library/itertools.html https://docs.python.org/3/library/functools.html#functools.lru...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1c6ae8af04aac7f1c2b8ece017e09f30b3cbe5e8
c92398a728817578850ecf508ec4197afe91a88f
/DemopatterninForloop1.py
129e82619895026a6e97d482bf04495e827222b5
[]
no_license
HitanshuSoni/Python_practice
4d0ec0378124da85e364a15a7b94ddbbfe2fc929
7a3d0977b218ef76f91517d88518b1c0b68b9528
refs/heads/main
2023-04-18T21:55:12.709161
2021-05-08T15:39:08
2021-05-08T15:39:08
365,550,407
1
0
null
null
null
null
UTF-8
Python
false
false
139
py
n=int(input("Enter the number of rows ")) for i in range (1,n+1): for j in range (1,i+1): print(j,end="") print()
[ "hitanshusoni10@gmail.com" ]
hitanshusoni10@gmail.com
f218147dd10fb666b03b90331069ea33e88098df
2940f5416082dadd9c646cd9a46d2d0a99883efb
/venv/Lib/site-packages/pandas/tests/series/test_subclass.py
86330b7cc69937ddca6b4a69d3796dfe6f93618c
[ "MIT" ]
permissive
tpike3/SugarScape
4813e4fefbfb0a701f5913d74f045fd0eaed1942
39efe4007fba2b12b75c72f7795827a1f74d640b
refs/heads/main
2021-06-20T03:55:46.288721
2021-01-20T17:06:35
2021-01-20T17:06:35
168,583,530
11
3
MIT
2021-01-20T17:19:53
2019-01-31T19:29:40
Jupyter Notebook
UTF-8
Python
false
false
2,084
py
import numpy as np import pandas as pd import pandas._testing as tm class TestSeriesSubclassing: def test_indexing_sliced(self): s = tm.SubclassedSeries([1, 2, 3, 4], index=list("abcd")) res = s.loc[["a", "b"]] exp = tm.SubclassedSeries([1, 2], index=list("ab")) tm.assert_series_e...
[ "tpike3@gmu.edu" ]
tpike3@gmu.edu
a9c3328717b43707b2bf21b0c04fd68897484d1a
53ab530408135b31dce247ec76d5c70d143cae69
/commands/deviot_languages.py
7bf2dd70fa1de9434f58aff7c744c2adc80d5242
[ "Apache-2.0" ]
permissive
hoat23/Deviot
d3ede1b5884cb421fa17832cc7fe56dcc598ce44
77a9e08059f9226ebf23a216b00c6ebb5b1cd054
refs/heads/master
2021-07-22T20:25:07.840839
2017-10-07T19:53:21
2017-10-07T19:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from sublime_plugin import WindowCommand from ..libraries.quick_menu import QuickMenu class DeviotLanguagesCommand(WindowCommand): def run(self): QuickMenu().quick_language()
[ "guillermoepd@hotmail.com" ]
guillermoepd@hotmail.com
a794cd368971ddd7da52ea42ef11f525d6acfa03
4ebfb207661bafcebb9b75936318c7dc84db3d80
/myvenv/Scripts/rst2s5.py
8f3e1f9599c87a7c8383bf0cf545291231482abe
[]
no_license
YooInKeun/ToDo-App
2c72a91488cb376ff6c380ccbe5106dfdae09ecb
c231e5b13936a33bf60e42268c1ad856495aa432
refs/heads/master
2022-12-11T18:41:06.856657
2019-09-12T07:39:25
2019-09-12T07:39:25
200,203,474
0
0
null
2022-11-22T04:13:58
2019-08-02T09:07:51
Python
UTF-8
Python
false
false
718
py
#!c:\users\keun0\onedrive\바탕 화면\창업 경진대회\todo\todo-app\myvenv\scripts\python.exe # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using ...
[ "keun0390@naver.com" ]
keun0390@naver.com
657fe89cd2b81c2f222c3e4b5ec744eb2230ebac
0f40272f221acd09932e5e4b7f6287300526c902
/Programmers/Python/Code/줄 서는 방법.py
c1ff2fd5f910d0a0f0592e1a715b923f87a01fb8
[]
no_license
wansang93/Algorithm
60cfa0d5a3cda7e41096cb22537a35c4789fc9e8
65425d1bf8e49cc3a732680c0c1030a2dc0333ca
refs/heads/master
2023-08-05T04:35:44.128549
2023-07-29T17:57:00
2023-07-29T17:57:00
225,189,092
7
0
null
null
null
null
UTF-8
Python
false
false
308
py
import math def solution(n, k): answer = [] nums = [i for i in range(1, n+1)] k -= 1 while nums: index = k // math.factorial(n-1) answer.append(nums.pop(index)) k %= math.factorial(n-1) n -= 1 return answer data1 = 3, 5 print(solution(*data1))
[ "wansang93@naver.com" ]
wansang93@naver.com
999b382c9ad57d0ddfec93969cb49d317a2255d2
a1a86ccffff5f1a8fdab92f58fe46cd66f9cc0e2
/docrec/ocr__/recognition.py
63a91f818d84a4929e0fb5014006eafe4fed7c67
[]
no_license
ZhengHui-Z/deeprec-sib18
8ec2c3b5b2fb6bfc6879f28a28c56776a7aa4faa
036171c33bc2f90645d8b9794aa0850c34a3ad05
refs/heads/master
2020-06-19T20:09:57.953934
2019-06-24T14:03:00
2019-06-24T14:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
import numpy as np from pytesseract import image_to_string from PIL import Image from ..text.textprocessing import text2words # http://www.nltk.org/howto/portuguese_en.html # http://stanford.edu/~rjweiss/public_html/IRiSS2013/text2/notebooks/cleaningtext.html # Run OCR def image2text(image, language='en_US'): l...
[ "paixao@gmail.com" ]
paixao@gmail.com
7c07abfe45a78368fccc1684dd15011fba059c07
56ca0c81e6f8f984737f57c43ad8d44a84f0e6cf
/src/bpp/migrations/0293_pbn_api_kasowanie_przed_nie_eksp_zero.py
e14f1181b74a62c95a3a32e731aa17b60a5f7220
[ "MIT", "CC0-1.0" ]
permissive
iplweb/bpp
c40f64c78c0da9f21c1bd5cf35d56274a491f840
a3d36a8d76733a479e6b580ba6ea57034574e14a
refs/heads/dev
2023-08-09T22:10:49.509079
2023-07-25T04:55:54
2023-07-25T04:55:54
87,017,024
2
0
NOASSERTION
2023-03-04T04:02:36
2017-04-02T21:22:20
Python
UTF-8
Python
false
false
784
py
# Generated by Django 3.0.14 on 2021-09-15 19:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("bpp", "0292_przypinanie_dyscyplin"), ] operations = [ migrations.AddField( model_name="uczelnia", name="pbn_api_kas...
[ "michal.dtz@gmail.com" ]
michal.dtz@gmail.com
040780f0a66c35d9feada04c693a6b39fc7f7acc
70f564990215f47b139a777826f211477e9b44f6
/plan2vec_experiments/analysis_icml_2020/local_metric_img_visualization.py
832991f25694a02b928ea7dc8ae3ba5d41a0fb3b
[]
no_license
geyang/plan2vec
de87f2d77732c4aacdefd00067ebebacb7cd763f
aeeb50aed3d7da4c266b4ca163e96d4c0747e3c1
refs/heads/master
2022-11-16T03:40:42.638239
2022-10-28T04:01:29
2022-10-28T04:01:29
261,273,420
65
3
null
null
null
null
UTF-8
Python
false
false
2,107
py
from plan2vec.plotting.maze_world.connect_the_dots_image_maze import Args, main if __name__ == "__main__": import jaynes from plan2vec_experiments import instr, RUN, config_charts, dir_prefix from os.path import join as pJoin, dirname, normpath from ml_logger import logger logger.configure(log_dir...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
29fabdd37b5eee248069bcbcc7c7fc5826ff0d69
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/1ed1c792986545bca6955b9771a56a39.py
d6cd9ce8061599c2e2f464b8921262b171bc563d
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
327
py
class Bob: def __init__(self): pass def hey(self, msg): if msg == None or msg.strip() == '': return 'Fine. Be that way!' if str.isupper(msg): return 'Woah, chill out!' if msg[-1] == '?': return 'Sure.' else: return 'What...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
474c5c6d151d1b4d7a8b912ad1a74352ab53ca44
988205a1bc674399272d2b77f06bb6ae2c0b96ab
/student/urls.py
0b3401187a6dbb34b251f3f7cd4c6d64ac2fea80
[]
no_license
safwanvk/as
7797f63f84d52ba2857e99ae99b4aa5b9fd67983
1de9e1a6855a0b3f16ffdb4d693cd90579a37e40
refs/heads/main
2023-04-01T14:44:18.047169
2021-03-31T07:03:15
2021-03-31T07:03:15
349,309,666
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.urls import path from .views import * urlpatterns = [ path('login', student_login), path('session-check', session_check), path('create', create_student), path('delete/<pk>', delete_student), path('', get_student) ]
[ "safwanvalakundil@gmail.com" ]
safwanvalakundil@gmail.com
444a7786b5c7a8bd07929aceea4b8c0e8d44e648
a7853b95403b527a527f58cc4b94783161eaaa1d
/graph/graph_drawing_objective.py
40aa76c8871f0204c2b489d8310a9b482574fa7a
[]
no_license
jinnaiyuu/covering-options
6c3d2b2818d4074893d2eb1eed72fb77920bb3c3
00539a00842d40ba2b397496ec351a683f43d38f
refs/heads/master
2020-12-19T23:54:41.080277
2020-01-23T21:33:21
2020-01-23T21:33:21
235,890,627
0
2
null
null
null
null
UTF-8
Python
false
false
2,714
py
import numpy as np import itertools from scipy.optimize import minimize from options.util import GetRandomWalk def Attr(rho, P, fs): # rho: numpy array of size N. prob. # P : numpy array of size NxN. each row being a prob. # F : list of numpy arrays of size N (TODO: should this be a numpy array?) ret...
[ "ddyuudd@gmail.com" ]
ddyuudd@gmail.com
b4143060947db0249cb4b379bf6a879771385ca7
cf111b440f33ba9741ff45c60ac33dfade24e2ac
/Projects/Autocal/attic/autocal-20100708/libautocal/autocal.py
2c143bfd55996a5b498ff00611aacad771a6a1c2
[ "Unlicense" ]
permissive
fredmorcos/attic
cd08e951f56c3b256899ef5ca4ccd030d3185bc1
36d5891a959cfc83f9eeef003b4e0b574dd7d7e1
refs/heads/master
2023-07-05T10:03:58.115062
2023-06-21T22:55:38
2023-06-22T07:07:58
154,962,425
4
1
Unlicense
2023-06-22T07:08:00
2018-10-27T12:30:38
JavaScript
UTF-8
Python
false
false
795
py
#!/usr/bin/env python import sys import config, optimize, loader _help = '''AutoCal 0.1 - Fred Morcos <fred.morcos@gmail.com> Usage: ./autocal.py [COMMANDS] < <input-file> Commands: \t--qt\t\t\tShow the Qt user interface. \t--verbose,-v\t\tShow debug output. \t--quiet,-q\t\tDo not output errors. \t--help,-h\t\tShow t...
[ "fred.morcos@gmail.com" ]
fred.morcos@gmail.com
3f563dd24da29a3808436df13732d8d92dc6540f
baaff7bac9cf0e18bddc27ed7866885637db9dac
/Studentportal/principle/migrations/0005_auto_20200427_1626.py
7f2dcf3448db240598d8725aa7c1bbb6ff382970
[]
no_license
pratikgosavii/School-College-management-portal
0d477718a315c73b483b3885fce38d94f8cf7227
79ca0be6891067379b1544f4a8cd8bd82b177b51
refs/heads/master
2022-06-03T23:07:11.080921
2020-04-30T22:40:58
2020-04-30T22:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Generated by Django 3.0.2 on 2020-04-27 10:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('principle', '0004_auto_20200426_0042'), ] operations = [ migrations.RemoveField( model_name='addteacher', name='Teac...
[ "pratikgosavi654@gmail.com" ]
pratikgosavi654@gmail.com
a91efe540d7ef22c8d8655ae84aaf3bad07462a7
58375cb29ebcd2da7adc182fd10c6f76d6deee6e
/FOTS/rroi_align/modules/rroi_align.py
7f3e5b4a21b030ab660d57f0a6ec05d9db7d052b
[ "BSD-3-Clause" ]
permissive
jiangxiluning/FOTS.PyTorch
d0d5a53595308335f20803d7a1d73274a4dad5a7
7484a81417f35b4f5c48edd3eb3e855416797379
refs/heads/master
2023-02-19T23:45:06.317493
2023-02-14T15:30:18
2023-02-14T15:30:18
142,129,096
726
236
BSD-3-Clause
2022-10-06T17:19:51
2018-07-24T08:31:45
Python
UTF-8
Python
false
false
545
py
from torch.nn.modules.module import Module from ..functions.rroi_align import RRoiAlignFunction class _RRoiAlign(Module): def __init__(self, pooled_height, pooled_width, spatial_scale): super(_RRoiAlign, self).__init__() self.pooled_width = int(pooled_width) self.pooled_height = int(poole...
[ "jiangxiluning@gmail.com" ]
jiangxiluning@gmail.com
55a3ea9dd99ff3bd699c788ab07cea3e89d23de7
3f73ce74b6fdfb7966abb71a98f4986edd727c5f
/lib/pandas_option.py
0db90923fd1ec5c8f68491c947fc9cd7b40b1acc
[ "MIT" ]
permissive
yuta-komura/amateras
9c2efd310b18f159b1354864d65f9894ab93737f
cf8cc8fe0b5d8c382090fd1784a3ce96e6953157
refs/heads/master
2023-01-21T19:57:18.763894
2020-11-25T04:02:28
2020-11-25T04:02:28
297,432,974
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
import pandas as pd def display_max_columns(): pd.options.display.max_columns = None def display_max_rows(): pd.options.display.max_rows = None def display_round_down(): pd.options.display.float_format = '{:.2f}'.format
[ "you@example.com" ]
you@example.com
c583e85a4941db164985b6a0183b73927b75c83d
48d86947d5f3b5896c4a05cfcddcff01582a26ef
/amnesia/number/forms.py
fa9f1b18200101af1e9d576c327b0b05b5d1afa4
[]
no_license
pratulyab/amnesia
181874288c97fbf7e73d10c64e214c2a17574773
6b0b3428a27f98e0e2f6bb8aefdc8a4459e7b8cc
refs/heads/master
2021-01-20T12:49:16.592335
2017-05-07T20:38:06
2017-05-07T20:38:06
90,409,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
from django import forms from django.contrib.auth import authenticate from django.contrib.auth import password_validation from django.core.exceptions import ValidationError from django.core import validators from django.db.utils import IntegrityError from django.utils.translation import ugettext_lazy as _ from number....
[ "pratulyabubna@outlook.com" ]
pratulyabubna@outlook.com
6ec05d3bc0cd2747d542611cb02e8455d14a425b
4e0f2938b003f5d68a57f213e652fbffb2f72ba2
/venv/Lib/site-packages/cx_OracleObject/Utils.py
e9107e5e7501b1942bcd28955a5ca2210e161f27
[]
no_license
adcGG/Lianxi
e4b1ce0d3cfc76e625e1e1caca0a58f25ba5d692
3659c3ca11a13b4ad54dbd2e669949701bae10b5
refs/heads/master
2022-12-13T05:45:41.312292
2019-08-14T07:38:19
2019-08-14T07:38:19
201,189,540
0
1
null
2022-04-22T22:08:16
2019-08-08T06:07:53
Python
UTF-8
Python
false
false
6,568
py
"""Defines utility functions.""" import cx_Exceptions import sys __all__ = [ "OrderObjects" ] def ClausesForOutput(clauses, firstString, restString, joinString): """Return a list of clauses suitable for output in a SQL statement.""" if not clauses: return "" joinString = joinString + "\n" + restS...
[ "979818137@11.com" ]
979818137@11.com
9f80f8e98ba81fbc03fffe07a29c8ce878090be2
7971a30e49246a1080490c9641c29cb8fd575c12
/Subset_DataStructures/remove_duplicates.py
6781a36207b4e74472372b44658b8e5dafccec4e
[]
no_license
ymwondimu/HackerRank
3870922a29a1e4271a1d3cfd238fd83fd80749c8
6481d7ddf61868108a071b44e3fdb098e8cbd61e
refs/heads/master
2020-03-21T19:05:00.406134
2018-07-26T01:11:05
2018-07-26T01:11:05
138,929,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
#!/bin/python3 import math import os import random import re import sys class SinglyLinkedListNode: def __init__(self, node_data): self.data = node_data self.next = None class SinglyLinkedList: def __init__(self): self.head = None self.tail = None def insert_node(self, no...
[ "ywondimu6@gatech.edu" ]
ywondimu6@gatech.edu