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
5ff2bca4503ea9f750bdf2e9302a68d044f31976
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/Scaleform/genConsts/ACHIEVEMENTS_ALIASES.py
a1ac9cb63c4d955caad56510b952f353f13adbe0
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
668
py
# 2017.05.04 15:24:50 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/genConsts/ACHIEVEMENTS_ALIASES.py class ACHIEVEMENTS_ALIASES(object): """ DO NOT MODIFY! Generated with yaml. __author__ = 'yaml_processor' """ GREY_COUNTER = 'GreyCounter_UI' YELLOW_COUNTER...
[ "info@webium.sk" ]
info@webium.sk
758a84fd0672f8afe1f8b3219aa65bafbbec84ef
f0e25779a563c2d570cbc22687c614565501130a
/LeetCode/Stack/739_daily_temperatures.py
eb4e5e5065af97f3fce52ffc691277a8b67a24e6
[]
no_license
XyK0907/for_work
8dcae9026f6f25708c14531a83a6593c77b38296
85f71621c54f6b0029f3a2746f022f89dd7419d9
refs/heads/master
2023-04-25T04:18:44.615982
2021-05-15T12:10:26
2021-05-15T12:10:26
293,845,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
class Solution(object): def dailyTemperatures(self, T): """ Time O(n) Space O(W) W is the number of allowed values for T[i] :type T: List[int] :rtype: List[int] """ length = len(T) res = [0] * length stack = [] for i in range(length): ...
[ "cherry.kong0907@gmail.com" ]
cherry.kong0907@gmail.com
680928b2ad532848f8dc1b18f365d874146fd9e7
ff5d91e9eee4dd41e85d418120f11daec71cf93b
/2011/nazionali/scuola/gen/generatore.py
99b8f8ad290fc1d89238d99730ffe88c4278e660
[]
no_license
olimpiadi-informatica/oii
d0023c5fa00100cadc6a13b1e153fca0017177ca
ce6bc7e8b40a32c01611f4b20ee72f8a9318eafd
refs/heads/master
2021-05-16T02:35:15.742339
2020-03-14T21:56:18
2020-03-14T21:56:18
28,759,072
31
6
null
2019-12-15T12:37:53
2015-01-04T00:55:52
C++
UTF-8
Python
false
false
508
py
#!/usr/bin/env python2 from limiti import * usage="""Generatore per "scuola". Parametri: * N (numero di eroi) * P (tipo di prova) Constraint: * 1 <= N < %d * P == 1 || P == 2 * P == 2 => N = 2^n """ % MAXN from sys import argv, exit, stderr import os from numpy.random import seed, random, randint from random impor...
[ "williamdiluigi@gmail.com" ]
williamdiluigi@gmail.com
898bfbc18f1fc8480db3c2f533cd9d6fb01c31cf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02556/s103128743.py
c6fdb69398ed5464103d08827a895a139796cf40
[]
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
673
py
import sys input=sys.stdin.buffer.readline #sys.setrecursionlimit(10**9) #from functools import lru_cache def RD(): return sys.stdin.read() def II(): return int(input()) def MI(): return map(int,input().split()) def MF(): return map(float,input().split()) def LI(): return list(map(int,input().split())) de...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
14ce239b85d1439ce6c80141ceab72ecb1669bb1
dd44e145ac547209f5f209bc9b1f09189bb8b5c7
/Python-Advanced-2021/05.Functions-advanced-E/06.Arguments_length.py
dda228317ababf04a6c14a2f24409130d536f52c
[]
no_license
todorovventsi/Software-Engineering
e3c1be8f0f72c85619518bb914d2a4dbaac270f8
64ffa6c80b190e7c6f340aaf219986f769f175ab
refs/heads/master
2023-07-09T05:35:14.522958
2021-08-15T14:35:55
2021-08-15T14:35:55
336,056,643
2
1
null
null
null
null
UTF-8
Python
false
false
74
py
def args_length(*args): return len(args) print(args_length(1, 32, 5))
[ "todorov.ventsi@gmail.com" ]
todorov.ventsi@gmail.com
7e43fc34dac85bfbb84793a1b18695c6592979f3
27fc04a95b0d268adef4d4497c27ea9ae295d8a4
/ch07/clac_test.py
46e03817b195210e4aec46805a5e743bf88dcd2b
[]
no_license
s-kyum/Python
2b35b333557db0698a3fd305d550baaa5304f206
e5b31036acd2bfb79f98ff02d59096a2429eb41f
refs/heads/master
2023-07-09T18:45:26.179057
2021-08-23T03:07:57
2021-08-23T03:07:57
378,803,615
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
from myclass.calculator2 import Calculator as c s2=c(15,5) print(s2.add())
[ "s-kyum@naver.com" ]
s-kyum@naver.com
2f530cb3eda17fc6b071b7ae0c313d303a5c766e
725ac5a0bf72829be627bf8dc82fdc51ba0f94ae
/Text_Classification/Fasttext/step1_get_data_to_examples.py
55cc1e4866d8e585585ad74b7ba4095138ea7202
[]
no_license
shawroad/NLP_pytorch_project
fa14b6e4a156229765e1d552901d0492d8e1def3
1272fed2dc8fef78a9ded0f1ae1644d613a3b57b
refs/heads/master
2023-06-25T02:37:35.503251
2023-06-12T10:57:11
2023-06-12T10:57:11
229,694,655
530
104
null
2020-12-08T09:21:47
2019-12-23T06:54:29
Python
UTF-8
Python
false
false
2,660
py
# -*- encoding: utf-8 -*- ''' @File : construct_data.py @Time : 2020/11/04 13:49:38 @Author : xiaolu @Contact : luxiaonlp@163.com ''' import gzip import pickle import json import jieba from tqdm import tqdm import random class RankExample(object): def __init__(self, doc_id, ...
[ "luxiaonlp@163.com" ]
luxiaonlp@163.com
3fb5e7917f3a7f42b3b3e6a4fe1551923b895957
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/302/69507/submittedfiles/testes.py
41b941ca1b9f17291580bab0acaa2052cb564863
[]
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
158
py
n = float(input('Digite o número de lados do polígono')) if n<=2: print('Isso não é um polígono') elif n>2: nd = ((n*(n-3))/2) print (nd)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2c5b7a15346084a914009c961ec4e8d19650c0e9
062dbbed1d3c030bba07cfa8ba8c4484c985e03b
/sixtySecond.py
1d8894237434ad60ea311236021d83cb12fa8b8a
[]
no_license
alindsharmasimply/Python_Practice_2
10ed81ba3ee1962d952127d1e1e74b48161d9422
f7ae50f0b209856ba89fd3ea660297534a1b53bb
refs/heads/master
2021-05-04T18:40:11.903533
2017-12-31T16:16:30
2017-12-31T16:16:30
105,950,199
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
from itertools import combinations s = 'ALIND' print list(combinations(s, 2))
[ "alindsharmasimply@gmail.com" ]
alindsharmasimply@gmail.com
aeea0b4cae09144645d7594a809090b801476613
ff0cdf438fbc202fe621ed90472ce9d93acd383b
/make_pdf/make_pptx.py
5251fe6e6c2bf2f5c3f305315d2c331c53d5a3b9
[ "MIT", "Apache-2.0" ]
permissive
nishio/idea-generation
e0284f34ebb163660f6b5d45963a8528f4eb3cb4
7d7fa08456243dc63c9c80d15244f39b73814ad9
refs/heads/master
2021-11-10T08:33:13.597884
2021-10-24T03:51:12
2021-10-24T03:51:12
12,247,640
3
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ テキストをpptxにする 改行位置制御や図を貼りたいなどの細かいニーズに答えるのは ユーザの手元のPowerPointでやってもらおうという発想 """ import argparse from pptx import Presentation from pptx.util import Inches, Pt, Cm from pptx.enum.text import MSO_AUTO_SIZE, PP_ALIGN, MSO_ANCHOR def main(): parser = argparse.ArgumentP...
[ "nishio.hirokazu@gmail.com" ]
nishio.hirokazu@gmail.com
6d57d337bb381af4b0baadbe7ffb9536a14c12ee
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/89f5b02f9e63478881ea0f0106bf295d.py
aefb9d4b1561027d8513e1650a48c28554dd61ce
[]
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
457
py
import string def hey(input_text): if is_all_caps(input_text): return "Woah, chill out!" if is_question(input_text): return "Sure." if is_empty(input_text): return "Fine. Be that way!" return "Whatever." def is_question(input_text): return input_text.endswith("?") ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1c5b53877ed351ea56b9e794d857dd6c10d9c66c
76dcba11031090ac69dee281ef18ae98cdd43ff9
/IssueTrackerProduct/I18N.py
ba3cc3b59a2ebd0d8f45b768dd3c33b82cdab7ce
[]
no_license
sureshvv/IssueTrackerProduct
137b34a3123ea8823af18aa9c0161dad840b93da
817820377288330f9e318428cd743659476e625d
refs/heads/master
2021-01-18T11:22:46.844607
2014-04-21T17:15:58
2014-04-21T17:15:58
1,546,926
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
#try: # from Products.PlacelessTranslationService.MessageID import MessageIDFactory # _ = MessageIDFactory('itp') #except ImportError: # def _(s): # return s def _(s, *a, **k): return s
[ "mail@peterbe.com" ]
mail@peterbe.com
59682c24e6d34e0adc8df231f18c615f80f35d74
6d1016e97e02343b8d85ddbd5f5d1406261eabfd
/test/view_helpers/Test_DataTable_Js_Views.py
a4659e5a5f0be0edb2d6aa97169f679f20c61858
[ "Apache-2.0" ]
permissive
MaeveScarryPBX/serverless-render
1c2c2dbf228e5fb69d67d7acd89bf5a49fc69087
44365e7e0ab6e04fb304a7091ceeab41f67d8d88
refs/heads/master
2020-04-29T05:05:47.078806
2019-03-14T21:29:12
2019-03-14T21:29:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
from unittest import TestCase from browser.Browser_Lamdba_Helper import Browser_Lamdba_Helper from view_helpers.DataTable_Js_Views import DataTable_Js_Views class Test_DataTable_Js_Views(TestCase): def setUp(self): self.graph_name = 'graph_XKW' self.png_data = None def tearDown(self): ...
[ "dinis.cruz@owasp.org" ]
dinis.cruz@owasp.org
eb46a6adff419c50985746380b87bd5fc7a15f99
ea35facf6d823e93706b5f551408250b1e089be9
/共通問題/list_1.py
5274fcd3cbbe64855729d3ea8ab46df9f7dc9356
[]
no_license
YukiNGSM/PythonStudy
7a2d24f4762e384531eadd691858296b00b6a6b3
26310d0e007745ff4920ccd0fc3e51771cb2d5f1
refs/heads/master
2023-07-19T00:06:29.061255
2021-09-22T01:29:49
2021-09-22T01:29:49
409,025,304
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
x=[3,15,123] print(x[1])
[ "ykh2135239@o-hara.ac.jp" ]
ykh2135239@o-hara.ac.jp
e3b5cc549923afa53dac368cc06752b312063f1d
8e189cd5a2cb08dc7e50f4c30941450f4be8b590
/manage.py
35c5ad802e792300f7dcec80015f714e7e4c015f
[]
no_license
puxiaoshuai/AI_blog
5b089e15bfb6b6ca43aed2dd3255f97d49c6fa49
3448277c3217fe41fddbc759274b3f8b8b2236b4
refs/heads/master
2020-04-14T20:04:02.293078
2019-01-04T08:42:12
2019-01-04T08:42:12
164,081,014
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'AI_Blog.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "1372553910@qq.com" ]
1372553910@qq.com
6a9b86aef458d8da67395ff229fdfb3f7fb9988e
c7e753eff114ea692057c406ff9ce2fe8a7c1adb
/tests/test_cmd.py
931cbd54d7684c775e23d66ca5048858c5825b63
[]
permissive
LSSTDESC/ceci
67fa0df56dde8c61947e5d8c2a20796beaeeb422
5c683f8fd6a8bdd2b36c1f6f03f4d24599307a54
refs/heads/master
2023-09-01T08:05:04.830316
2023-08-02T12:47:49
2023-08-02T12:47:49
120,935,349
9
10
BSD-3-Clause
2023-08-23T12:46:07
2018-02-09T17:29:45
Python
UTF-8
Python
false
false
3,158
py
from ceci.pipeline import StageExecutionConfig from ceci.sites.local import LocalSite from ceci.sites.nersc import NerscBatchSite import os import pytest class MockSite: def __init__(self): self.config = {"image": "abc", "volume": "def"} def test_defaults(): sec = StageExecutionConfig({"name": "a", ...
[ "joezuntz@googlemail.com" ]
joezuntz@googlemail.com
02aaf635c1204d0454362589945ad6f6a3f2289f
2fb0af0a30e3133ef4c5e649acd3f9911430062c
/src/toontown/safezone/SafeZoneLoader.py
1f63df6f7233de27cd5547986da059f8c751f6fb
[]
no_license
Teku16/Toontown-Crystal-Master
4c01c0515f34a0e133441d2d1e9f9156ac267696
77a9345d52caa350ee0b1c7ad2b7461a3d6ed830
refs/heads/master
2020-05-20T06:02:58.106504
2015-07-25T07:23:59
2015-07-25T07:23:59
41,053,558
0
1
null
2015-08-19T18:51:11
2015-08-19T18:51:11
null
UTF-8
Python
false
false
10,248
py
from pandac.PandaModules import * from toontown.toonbase.ToonBaseGlobal import * from toontown.distributed.ToontownMsgTypes import * from toontown.hood import ZoneUtil from direct.directnotify import DirectNotifyGlobal from toontown.hood import Place from direct.showbase import DirectObject from direct.fsm import State...
[ "vincentandrea15k@gmail.com" ]
vincentandrea15k@gmail.com
e545de69bc868a2bb6cdfebd2ab53a87e2dbcdc5
8d35b8aa63f3cae4e885e3c081f41235d2a8f61f
/discord/ext/dl/extractor/performgroup.py
553b2b6e861bedeaababf7888ba0a15b779f4d71
[ "MIT" ]
permissive
alexyy802/Texus
1255f4e54c8d3cc067f0d30daff1cf24932ea0c9
c282a836f43dfd588d89d5c13f432896aebb540f
refs/heads/master
2023-09-05T06:14:36.217601
2021-11-21T03:39:55
2021-11-21T03:39:55
429,390,575
0
0
MIT
2021-11-19T09:22:22
2021-11-18T10:43:11
Python
UTF-8
Python
false
false
3,674
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import int_or_none class PerformGroupIE(InfoExtractor): _VALID_URL = r"https?://player\.performgroup\.com/eplayer(?:/eplayer\.html|\.js)#/?(?P<id>[0-9a-f]{26})\.(?P<auth_token>[0-9a-z]{26})" _TES...
[ "noreply@github.com" ]
alexyy802.noreply@github.com
2d1fc9f47ee7353e4bd96d192e7c013fa411569f
022a0cb0d0873da0c25da6b6aa8b258b80a4b7e0
/1955.py
5669c8dd6cf03ae1b9f356ba0f28ac626288e446
[]
no_license
subayadhav/fri07061
31e1e89ac1be60c736450f749486651968cfeba4
380f5d108869ad4cde16140dc21a88f2a7972722
refs/heads/master
2020-06-01T06:43:17.094510
2019-06-07T08:47:49
2019-06-07T08:47:49
190,683,539
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
n1k=map(int,input().split()) if n1k !=0: print(n1k) else: print(k)
[ "noreply@github.com" ]
subayadhav.noreply@github.com
549c3d80595c7be7ec9706b113796272180aa681
b242c102f50ded2fee0cc6ac6aea442a1b6792cb
/strategy/65_8只基金按PE调仓.py
f5e4523c7a6542df7ee6f4aba6ead2c1ffa43860
[]
no_license
VIRGIL-YAN/woquant
2c0811ed743d217b2ec478988ce0808838f1177a
ac5437e0eed552aa9b3015d1ace647c9a492f97d
refs/heads/master
2023-04-16T17:23:05.754846
2021-04-30T08:58:10
2021-04-30T08:58:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,036
py
该策略由聚宽用户分享,仅供学习交流使用。 原文网址:https://www.joinquant.com/post/11700 原文一般包含策略说明,如有疑问建议到原文和作者交流讨论。 原文策略源码如下: # 标题:低回撤,PE分仓 # 作者:桑梓 #自定义数据是股指ETF占的仓位 from __future__ import division import numpy as np import pandas as pd import bisect def initialize(context): g.flag = False run_monthly(monthly, 1...
[ "28278672@qq.com" ]
28278672@qq.com
5a178504701103cd6061e28c6f5cff59ceab7594
1625edfe28b4b0979fd32b4a3c5e55249a993fd5
/baekjoon6378.py
8ce2953ef95739ba3df687df8eebc76b9b14c075
[]
no_license
beOk91/baekjoon2
b8bf504c506c6278899d4107ecfe51974ef13f5e
39569f8effb8e32405a7d74d98bdabcab783ec56
refs/heads/master
2023-05-11T20:11:19.015113
2020-09-14T23:58:49
2020-09-14T23:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
while True: a=input() if a=="0":break while True: result=sum(int(i) for i in a) a=str(result) if int(a)<10:break print(result)
[ "be_ok91@naver.com" ]
be_ok91@naver.com
f2d1cdcbd86af861339970878e3c4bcecd5bf9df
c3132612a7ac311e501e432e1a4c7592bbd7a713
/day09/code/07_迭代器&迭代器对象.py
0f2533805b097e5b79005e0871676ac0381c71a2
[]
no_license
everqiujuan/python
7b8e169107012c3d7829d4ebd9860482fc0d8fec
b0a98de943217e24da60f79dec4fe8ebf4f1c713
refs/heads/master
2020-06-21T16:57:22.260311
2019-07-18T05:58:44
2019-07-18T05:58:44
184,990,635
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
from collections import Iterator # 迭代器 from collections import Iterable # 可迭代对象,迭代器对象 # 迭代器 # 迭代器对象:可以使用for-in循环遍历的 # 迭代器对象:可以使用for-in循环的 # list, tuple, dict, set, str, generator对象 都是迭代器对象 print(isinstance([1, 2], Iterable)) # True print(isinstance((1, 2), Iterable)) # True print(isinstance({}, Iterab...
[ "1748636236@qq.com" ]
1748636236@qq.com
472b14b7674ba6998f913e051207c965ee2f4138
599bca7f41694112b1367854a81e0bd9162a6f7a
/2020SpringClass/学习笔记/201702064-zhousijia/6zhousijia201702064/code/MiniFramework/DataReader_2_0.py
70736905f84cb84aac6cdcd6e66768d5c17f3b53
[ "MIT" ]
permissive
XIAxuanzheFrancis/AIML
f625013a5010799681601cf25b7c4b103226dcc4
7e333fd65378c2cbaeedbeaa3560f30e8a341857
refs/heads/master
2023-01-19T17:29:45.156651
2020-11-29T15:35:52
2020-11-29T15:35:52
299,838,961
2
0
MIT
2020-09-30T07:16:30
2020-09-30T07:16:29
null
UTF-8
Python
false
false
7,754
py
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. """ Version 2.0 """ import numpy as np from pathlib import Path from MiniFramework.EnumDef_3_0 import * """ X: x1: feature1 feature2 feature3... x2: feature1 f...
[ "gjy2poincare@users.noreply.github.com" ]
gjy2poincare@users.noreply.github.com
4d3ca7f2488eba1e42a04c2da0003f2b91877b3d
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop255_pad20_jit15/Sob_k35_s001_Bce_s001/pyr_6s/L5/step12_L2345678.py
ced8db8972c484ac0855846127136af881567d2b
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
99,746
py
''' 目前只有 step12 一定需要切換資料夾到 該komg_model所在的資料夾 才能執行喔! ''' if(__name__ == "__main__"): ############################################################################################################################################################################################################# ### 把 kong_model2 加入 s...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
2320023c2eb59c4ab96169508000ac9e65da1888
fcfe929bc654e86a36ca4def29811ce09a86b0f2
/bin/pilprint.py
de41bae68c007367dda9bc66b59cdbdac14d3d85
[]
no_license
frclasso/trydjango19
b3e12500acf116e2c705a3624bbcd6eaa08ca593
e6f871121c2ec38bc3798752d96400a03287e071
refs/heads/master
2020-12-30T22:56:59.320974
2017-02-01T16:21:53
2017-02-01T16:21:53
80,637,966
0
0
null
null
null
null
UTF-8
Python
false
false
2,660
py
#!/Users/fabio/Estudo/Prog/Django/coding-for-entrepreneurs/trydjango19/bin/python # # The Python Imaging Library. # $Id$ # # print image files to postscript printer # # History: # 0.1 1996-04-20 fl Created # 0.2 1996-10-04 fl Use draft mode when converting. # 0.3 2003-05-06 fl Fixed a typo or two. # from _...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
7889d9e3bb4928344f74b7a14fb81367fd1c9035
48832d27da16256ee62c364add45f21b968ee669
/res/scripts/client/gui/scaleform/daapi/view/battle/shared/damage_panel.py
b12696db36e8908d27439c10bb2416f2b89571ea
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,746
py
# 2016.08.04 19:49:54 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/battle/shared/damage_panel.py import math import BattleReplay import BigWorld import GUI import Math from ReplayEvents import g_replayEvents from debug_utils import LOG_DEBUG from gui.Scaleform.daapi.view.meta...
[ "info@webium.sk" ]
info@webium.sk
4a14534207f27c084ecc4c14200ac529bc1d2ea5
df1254b56f35b24644e00493c50d4b6eb3c15b7b
/colour/characterisation/datasets/cameras/dslr/__init__.py
d89d5c22d6e01606bc0258e0b8f6be74b28a1359
[ "BSD-3-Clause" ]
permissive
colour-science/colour
908400b227cf81668675e41099256ce50b23ae4b
1fdf3b3042922e8d4f86b989b00a06e7e5d81102
refs/heads/develop
2023-09-01T23:17:07.186869
2023-08-26T09:40:45
2023-08-26T09:40:45
17,114,363
1,756
301
BSD-3-Clause
2023-09-14T10:24:37
2014-02-23T18:55:40
Python
UTF-8
Python
false
false
111
py
from .sensitivities import MSDS_CAMERA_SENSITIVITIES_DSLR __all__ = [ "MSDS_CAMERA_SENSITIVITIES_DSLR", ]
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
b98b5fab53f246bfb7259d79aeeba263873e17d1
18d223e5ea590e60bc791987034276eed2651721
/sk1-tt/lesson2-data-processing/c5-put-it-all-together/c50_pipeline_sample.py
539f7210c85f09ecf85bf1e3d45298cb7f22b35d
[]
no_license
sonicfigo/tt-sklearn
83b419b4f8984fc63ef41bf2af5b682477350992
8e473e958b0afc6154ba3c4dee818fd4da8f504b
refs/heads/master
2020-03-26T16:07:59.758723
2018-09-25T06:28:47
2018-09-25T06:28:47
145,084,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
# coding=utf-8 """ 非官网,网络帖子里的书写例子 除了最后一个学习器之外,前面的所有学习器必须提供transform方法, 该方法用于数据转化,如: - 归一化 - 正则化 - 特征提取 若没有,就异常 """ from sklearn.datasets import load_digits from sklearn import cross_validation from sklearn.model_selection import train_test_split from sklearn.svm import LinearSVC from sklearn.linear_model ...
[ "sonic821113@gmail.com" ]
sonic821113@gmail.com
d8286771a33339832c9f7ff9aed4b14328bef07b
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_26651.py
e952632bd98e2215ebc2547d55394bc34232afd9
[]
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
42
py
# best-fit wireframe in python griddata()
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
c616d088f24594e7ea52799570d97027ccf70e4c
f4d4111c7e51bb2c66ea73198b3f99458ba5822f
/Aula 7/ex012.py
940e268c61dac38b6eff058984d2498b18da2f33
[]
no_license
LukeBreezy/Python3_Curso_Em_Video
871b98b4e56db356fc24f2e953ad33e8928ba118
34ad1b5037f916964bde99b500a28aed86f18e39
refs/heads/main
2023-03-03T03:33:44.805522
2021-02-11T19:52:13
2021-02-11T19:52:13
338,129,257
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
prod = float(input('Qual o valor do produto? R$ ')) promo = prod * 0.95 print('O produto com o valor de R$ {:.2f}, na promoção com 5% de desconto fica R$ {:.2f}.'.format(prod, promo).replace('.', ',', 1))
[ "lkslukas23@gmail.com" ]
lkslukas23@gmail.com
1570ad62bbaf6ae4817b1160b2254c7b7ca68faa
43c863fbab46daa09acc4bb178292145a6776929
/pathfinder/terminal/phybeast/utils/prepare_metadata/commands.py
fe7033acb2c3b3cac2743fc5e694f34661d93649
[ "MIT" ]
permissive
pf-core/pf-core
be034a420e084e416791c98b659b757c3d7e88c3
0caf8abde968b959be2284518f7dc951ba680202
refs/heads/master
2020-07-29T04:53:25.306031
2019-09-24T05:44:54
2019-09-24T05:44:54
209,677,074
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
import click from pathlib import Path from pathfinder.utils import phybeast_prepare_metadata_file @click.command() @click.option( "--meta_data", "-m", default="input_alignment.fasta", type=Path, help="Input meta data file, tab-delimited, includes: name, date columns.", ) @click.option( "--prep", "-p", de...
[ "eikejoachim.steinig@my.jcu.edu.au" ]
eikejoachim.steinig@my.jcu.edu.au
0a0d1ba92277fb656ae7de2143df0380583d70dc
ca0c3c1cdfdd714c7780c27fcecd4a2ae39d1474
/src/fmf/apps/news/migrations/0010_auto__add_field_news_category.py
daa06d37ddb7c686a069b09ab5a6ea086d5e4122
[]
no_license
vasyabigi/fmf
fce88a45fb47f3f7652995af40b567ffdf27a4a0
988ba668f3ce6da2670b987a1eeae3c87761eac5
refs/heads/master
2021-01-23T07:29:52.185306
2012-08-27T13:11:51
2012-08-27T13:11:51
2,803,493
1
1
null
null
null
null
UTF-8
Python
false
false
5,032
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'News.category' db.add_column('news_news', 'category', self.gf('django....
[ "vasyl.stanislavchuk@djangostars.com" ]
vasyl.stanislavchuk@djangostars.com
fff6dfaf784645d56848142b12192e76bdd9d750
2696bd485fd09f8b0199f98972163e1140793fd1
/ems/errorplugin.py
91c8226da8423505c58c9beebd227ba9a114261d
[ "MIT" ]
permissive
mtils/ems
24b192faf1d03f78cb9c930193051666a453d18b
a958177d1474828e1d892dda20f4be68869e0483
refs/heads/master
2020-05-30T04:37:52.866679
2016-10-04T07:30:42
2016-10-04T07:30:42
30,531,077
7
1
null
null
null
null
UTF-8
Python
false
false
692
py
''' Created on 28.11.2010 @author: michi ''' from abc import ABCMeta,abstractmethod import ems.errorhandler class ErrorPlugin(object): ''' classdocs ''' __metaclass__ = ABCMeta @abstractmethod def notify(self,caller,eventName,params): pass def getHandler(self): retu...
[ "mtils@web-utils.de" ]
mtils@web-utils.de
0d47747a40d0c7c0273029effd0c1b8334da506e
c2ee9d6d84e2270ba4c9d6062460a2be0ff5f19c
/674. Longest Continuous Increasing Subsequence.py
4e450a4b5cac87731b991e0dd25d8a1e2656db08
[]
no_license
Peiyu-Rang/LeetCode
0dd915638e8c41c560952d86b4047c85b599d630
f79886ed3022664c3291e4e78129bd8d855cf929
refs/heads/master
2021-11-27T23:48:39.946840
2021-11-09T12:47:48
2021-11-09T12:47:48
157,296,661
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# -*- coding: utf-8 -*- """ Created on Thu Sep 23 23:00:52 2021 @author: Caven """ class Solution: def findLengthOfLCIS(self, nums: List[int]) -> int: res = 0 curr_len = 0 left = 0 right = 0 n = len(nums) while right < n: if left == right or nu...
[ "prang3@gatech.edu" ]
prang3@gatech.edu
17d39886af1a592ec0dccba77fce4f04b761ae65
a979aeeb72f46a74a2d59ae8be88ee1553fe1419
/learn_jinja2/p02_loader.py
091acb5be0ba0fc13e952ecdc0269798dc0e3a91
[]
no_license
MacHu-GWU/learn_jinja2-project
6426db19c222fd58f7abf906911bd54afce694d6
ec343516bf98a8b05a717d6030807237e47e8e48
refs/heads/master
2021-01-11T17:55:03.757324
2017-02-13T21:29:29
2017-02-13T21:29:29
79,875,291
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ loader是jinja2中用于从文件中读取模板代码的中间类。 - FileSystemLoader: 指定一个目录, 在目录下根据文件名寻找模板。 - PackageLoader: 指定一个安装好的python包, 在 ``package_name.package_path`` 目录 下寻找模板。 - DictLoader: 使用 ``{key: source}`` 的形式读取模板。 - FunctionLoader: 使用一个函数, 接受key为输入, 返回模板源代码。 ref: http://jinja.pocoo.o...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
4eed77ded43f3a75192036d14cd1d98c2408c5b9
df23ee09fffae3ea6a32925f80996f474aefabb9
/src/myclips/rete/tests/VariableBindingTest.py
50ad939a4d62e44007c29295d99499e69bb6b296
[]
no_license
stefano-bragaglia/myclips
9e5e985d4b67250723012da4b2ed720e2bfeac72
bb7b8dc6c1446235777c0e4ebf23e641d99ebc03
refs/heads/master
2022-08-01T10:09:45.019686
2020-05-27T19:59:47
2020-05-27T19:59:47
267,410,326
0
0
null
2020-05-27T19:38:28
2020-05-27T19:38:28
null
UTF-8
Python
false
false
3,435
py
''' Created on 24/lug/2012 @author: Francesco Capozzo ''' from myclips.rete.tests.BetaTest import BetaTest import myclips from myclips.rete.tests.locations import VariableReference from myclips.rete.tests import getTokenAnchestor class VariableBindingTest(BetaTest): ''' Make sure that variable binding is cons...
[ "ximarx@gmail.com" ]
ximarx@gmail.com
73467450fa0036f7742a72b47a6eb21901b226b2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2634/59018/259642.py
59bb88db2941ce3defa4ee3eae4a3aeb0e918c70
[]
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
215
py
from fractions import Fraction a1=input()[1:-1].split(',') a=[int(y) for y in a1] b=[] k=int(input()) for j in range(len(a)-1): for i in range(j+1,len(a)): b.append(Fraction(a[j],a[i])) b.sort() print(b)
[ "1069583789@qq.com" ]
1069583789@qq.com
d5f98c309f1abe4ac6a2df5d704373d1c64f5461
08e0fdf4c9b516b96e65b94c2cc9dbda61af6f50
/screensaver.py
61830f6042b24fb282196a4463be0bd8895846e4
[ "CC0-1.0" ]
permissive
von/scripts
1d1f8e7310ee5f0f48141a199225ef00513216ff
bef4acf5c5e99a74e1759045c13496708f5430d4
refs/heads/main
2023-04-06T03:34:19.770846
2023-04-01T23:50:25
2023-04-01T23:50:59
1,017,631
2
1
null
null
null
null
UTF-8
Python
false
false
4,987
py
#!/usr/bin/env python3 """Manage the OSX screensaver OSX seems to only accept following values for screensaver idle delay: 60, 120, 300, 600, 1200, 1800, 6000 """ import argparse import subprocess import sys import time # Default time to delay screensaver in seconds. # Note, see --delay, this must be one of set of ...
[ "von@vwelch.com" ]
von@vwelch.com
f49abc3e33c7bf8bfd68d36cf057d21a6a3eb7a1
07b249d8b26fc49f1268798b3bd6bdcfd0b86447
/0x11-python-network_1/10-my_github.py
f3d952b775ddf198c746692937a4ff8fe84c66f8
[]
no_license
leocjj/holbertonschool-higher_level_programming
544d6c40632fbcf721b1f39d2453ba3d033007d6
50cf2308d2c9eeca8b25c01728815d91e0a9b784
refs/heads/master
2020-09-28T23:21:13.378060
2020-08-30T23:45:11
2020-08-30T23:45:11
226,889,413
0
1
null
null
null
null
UTF-8
Python
false
false
317
py
#!/usr/bin/python3 """ script that takes your Github credentials (username and password) and uses the Github API to display your id """ if __name__ == "__main__": import requests from sys import argv r = requests.get('https://api.github.com/user', auth=(argv[1], argv[2])) print(r.json().get('id'))
[ "leocj@hotmail.com" ]
leocj@hotmail.com
270847f71701b79d022b44eb6aa6262c706cf026
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/mmdet/models/losses/ae_loss.py
1cedb5ed11153305ccd17816717d025324bbb5ff
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
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
4,350
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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 agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
818560c8ec120e81b3fed0fc5e3cb1e91747f0ba
f05286a2e25950c32c3773f399983b25c87b76b6
/Setup/SpyderShortcuts.py
fc37c8fb49a51083fab7e60d5ac62258181b1488
[]
no_license
ajpiter/PythonProTips
cdeaf65771a3f7b21ecd946463e4605a061b9b90
5ca6238dfcf248251d6933a313af0ac831ec0117
refs/heads/master
2021-07-16T05:30:32.996954
2021-04-05T07:44:52
2021-04-05T07:44:52
92,957,252
0
1
null
2021-01-20T04:21:20
2017-05-31T14:53:43
Python
UTF-8
Python
false
false
1,925
py
#Shortcuts in Spyder Ctrl-Enter* executes the current cell (menu entry Run ‣ Run cell). A cell is defined as the code between two lines which start with the characters #%%, # %% or # <codecell>. Shift-Enter* executes the current cell and advances the cursor to the next cell (menu entry Run ‣ Run cell and advance). ...
[ "noreply@github.com" ]
ajpiter.noreply@github.com
dd99712e45f55c8a48dd060561422da34ed7e605
3433314089e976a121e0a4ff7320d1214faabc8b
/test_autoarray/plot/mapper_rectangular/image_pixel_indexes.py
0c1ee0a36e3763d8e3a91f0d7aff5ec9206804bc
[ "MIT" ]
permissive
Sketos/PyAutoArray
ab7a63543a35401560ee575c4a8ede7a2561d743
72dc7e8d1c38786915f82a7e7284239e5ce87624
refs/heads/master
2021-02-12T19:06:17.247806
2020-04-10T13:15:00
2020-04-10T13:15:00
244,619,959
0
0
MIT
2020-03-03T17:21:03
2020-03-03T11:35:40
Python
UTF-8
Python
false
false
666
py
import autoarray as aa import autoarray.plot as aplt grid_7x7 = aa.grid.uniform(shape_2d=(7, 7), pixel_scales=0.3) grid_3x3 = aa.grid.uniform(shape_2d=(3, 3), pixel_scales=1.0) rectangular_grid = aa.grid_rectangular.overlay_grid(grid=grid_3x3, shape_2d=(3, 3)) rectangular_mapper = aa.mapper(grid=grid_7x7, pixelization...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
548f5e85c5fe66810e02b1afadde3bb1c33ad383
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/formatter/spaceWithingCallParentheses.py
3e69dacbe4e4cc78a924dcb3996d43b67ad7fe7a
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
20
py
func(1, 2) empty()
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
cbd326fd284186fd098598ff3f968b2aa2c2310d
08120ee05b086d11ac46a21473f3b9f573ae169f
/gcloud/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/document_renderers/renderer.py
82b830eae3f231cbb79c97f339a7a7155eff86c8
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
harrystaley/TAMUSA_CSCI4349_Week9_Honeypot
52f7d5b38af8612b7b0c02b48d0a41d707e0b623
bd3eb7dfdcddfb267976e3abe4c6c8fe71e1772c
refs/heads/master
2022-11-25T09:27:23.079258
2018-11-19T06:04:07
2018-11-19T06:04:07
157,814,799
2
0
null
null
null
null
UTF-8
Python
false
false
6,398
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google Inc. 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 requir...
[ "staleyh@gmail.com" ]
staleyh@gmail.com
8a9acded12be8b653aa5df5f824ffced7e8b7321
9a7a7e43902b6bc5a9e96933da8814acf3f318a3
/Demo_Pytest/test_case/test_case2/test_demo1.py
16ff01ee52ffb99c288240934acec7c8936d1bd5
[]
no_license
liuchangfu/python_script
9684d512f4bb09f37585e3fc56329be2ea8d6eb5
73f0e71364fc2271626e0deff54b4079ad92390c
refs/heads/master
2020-03-15T16:05:47.624545
2018-06-08T10:44:17
2018-06-08T10:44:17
132,226,941
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
import pytest def func(x): return x+1 def test_func1(): assert func(3) == 4 def test_func2(): assert func(3) == 3 def test_func3(): assert func(3) != 2 if __name__ == '__main__': pytest.main()
[ "shift_1220@163.com" ]
shift_1220@163.com
be9534885c37fcd145ac76851d1034085cff3e71
282d0a84b45b12359b96bbf0b1d7ca9ee0cb5d19
/Malware1/venv/Lib/site-packages/numpy/core/tests/test_overrides.py
d7809428f80a8bd0c97c84402be95d52b083fb73
[]
no_license
sameerakhtar/CyberSecurity
9cfe58df98495eac6e4e2708e34e70b7e4c055d3
594973df27b4e1a43f8faba0140ce7d6c6618f93
refs/heads/master
2022-12-11T11:53:40.875462
2020-09-07T23:13:22
2020-09-07T23:13:22
293,598,094
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a916bc00e3819de8d2e997d6eef3f783e8e2a05748c01049de162b3d95f2ee4b size 13196
[ "46763165+sameerakhtar@users.noreply.github.com" ]
46763165+sameerakhtar@users.noreply.github.com
4c4156b93204bb083c1571b0060b3fe1f1a79885
8cce087dfd5c623c2f763f073c1f390a21838f0e
/projects/catboost/test.py
41cd5bcf429609927b891844fb882126cd2aaa59
[ "Unlicense" ]
permissive
quinn-dougherty/python-on-nix
b2ae42761bccf7b3766999b27a4674310e276fd8
910d3f6554acd4a4ef0425ebccd31104dccb283c
refs/heads/main
2023-08-23T11:57:55.988175
2021-09-24T05:55:00
2021-09-24T05:55:00
414,799,752
0
0
null
null
null
null
UTF-8
Python
false
false
16
py
import catboost
[ "kamadorueda@gmail.com" ]
kamadorueda@gmail.com
d9ed2fd3233c96c9b3ace22bf68412e6cc5af7a6
60618d48e09a140926d97b01cb9b6f76fcc65703
/others/Card/cards_main.py
be2e8585610bcbc712cae5e93d806cbde9aa1693
[]
no_license
Incipe-win/Python
ca8f36cc8785eb13512f71a3cf10149d4e1b855e
5bab36b90591c74dedb6ead3484a279b90a1bcbd
refs/heads/master
2021-01-07T08:11:42.293541
2020-12-06T09:17:02
2020-12-06T09:17:02
241,629,236
2
0
null
null
null
null
UTF-8
Python
false
false
925
py
#! /usr/bin/python3 from Card import cards_tools while True: cards_tools.show_menu() choose = input("请输入您的选择:") if choose in ["1", "2", "3"]: # 1. 新增名片 if choose == "1": print("您的选择是: %s" % cards_tools.action[int(choose)]) cards_tools.new_card() # 2. 显示全部...
[ "whc_9_13@163.com" ]
whc_9_13@163.com
353c1f2652ec393eed4ab2a925dfb5c730c2ffa6
88a2f57b7d660228ca1ac922f0f582910bcacb3d
/algorithm/day03/부분집합.py
4009ee3e894b07da049d639b1bab33c87493d2b5
[]
no_license
chelseashin/TIL
adc5ed0bd4ba084e85b74baa9699096a7af5585e
376b56844985b3ff43b94fa18086a449e6deac69
refs/heads/master
2022-12-10T02:13:39.680936
2020-11-19T13:18:30
2020-11-19T13:18:30
162,103,813
2
0
null
2022-12-08T04:53:38
2018-12-17T09:11:23
Jupyter Notebook
UTF-8
Python
false
false
954
py
# 부분집합 bit = [0,0,0,0] for i in range(2): bit[0] = i for j in range(2): bit[1] = j for k in range(2): bit[2] = k for l in range(2): bit[3] = l print(bit) # 부분집합 2 arr = [1, 2, 3] n = len(arr) for i in range(1 << n): # 1<<n : 부분 집합의 개수 ...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
c52109bbe3a17f7efa023a3985d47abef966079d
faefc32258e04fa8ed404f129c6e635345ad2cd7
/permute_data.py
fb109475cc5fbbf6730cacd3d23a3be2cbe057f5
[]
no_license
lodhaz/Poisson-Equation-Solving-with-DL
1c1e309abb186c5b081a4ebae83d3652884dd831
38dbc2e7334d71d7c3120a5d2f7452b82d904cef
refs/heads/master
2020-04-06T15:07:17.232859
2018-10-26T07:23:19
2018-10-26T07:23:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# coding: utf-8 # Author: Zhongyang Zhang # Email : mirakuruyoo@gmail.com import h5py import numpy as np import pickle root = '/Volumes/Takanashi/Datasets_Repo/POISSON/'#'./TempData/' DATA_PATH = [root + 'train_data_2.mat', root + 'test_data_2.mat'] train_data = h5py.File(DATA_PATH[0], 'r') test_data = h5py.File(DATA...
[ "786671043@qq.com" ]
786671043@qq.com
f5ff2eeb847505f1ee2df77fa7520501b178d23c
d55f8836d27dcbe56ce62623f1a69f33c0fd950d
/UpWork_Projects/andy_upwork/familyDollar/familyDollar/settings.py
6582f744414d292a2be638e7fd1276830914c363
[ "MIT" ]
permissive
SurendraTamang/Web-Scrapping
f12f0f8fcb4b6186ecab38c8036181e4d1560bed
2bb60cce9010b4b68f5c11bf295940832bb5df50
refs/heads/master
2022-11-11T10:32:31.405058
2020-06-17T19:34:33
2020-06-17T19:34:33
273,258,179
0
1
null
2020-06-18T14:20:43
2020-06-18T14:20:42
null
UTF-8
Python
false
false
3,387
py
# -*- coding: utf-8 -*- # Scrapy settings for familyDollar project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/lates...
[ "p.byom26@gmail.com" ]
p.byom26@gmail.com
acc5ce91a9ee2aafef0938a2e4fb9c066bef1e06
795df757ef84073c3adaf552d5f4b79fcb111bad
/r8lib/roots_to_r8poly.py
74d2b4ce32f489ed8923d11cdc132ba501f2d69d
[]
no_license
tnakaicode/jburkardt-python
02cb2f9ba817abf158fc93203eb17bf1cb3a5008
1a63f7664e47d6b81c07f2261b44f472adc4274d
refs/heads/master
2022-05-21T04:41:37.611658
2022-04-09T03:31:00
2022-04-09T03:31:00
243,854,197
3
0
null
null
null
null
UTF-8
Python
false
false
2,112
py
#! /usr/bin/env python # def roots_to_r8poly ( n, x ): #*****************************************************************************80 # ## ROOTS_TO_R8POLY converts polynomial roots to polynomial coefficients. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 16 April 2...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
c0d6f7df93ff44f22b0fbc7c4c22a28f199d0a8d
bc2a96e8b529b0c750f6bc1d0424300af9743904
/acapy_client/models/v10_present_proof_module_response.py
9f0dd0cbcdc952d714e52ad3c2b8f6a7160c032a
[ "Apache-2.0" ]
permissive
TimoGlastra/acapy-client
d091fd67c97a57f2b3462353459780281de51281
d92ef607ba2ff1152ec15429f2edb20976991424
refs/heads/main
2023-06-29T22:45:07.541728
2021-08-03T15:54:48
2021-08-03T15:54:48
396,015,854
1
0
Apache-2.0
2021-08-14T13:22:28
2021-08-14T13:22:27
null
UTF-8
Python
false
false
1,247
py
from typing import Any, Dict, List, Type, TypeVar import attr T = TypeVar("T", bound="V10PresentProofModuleResponse") @attr.s(auto_attribs=True) class V10PresentProofModuleResponse: """ """ additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: ...
[ "dbluhm@pm.me" ]
dbluhm@pm.me
194adeed213f29512491a64c1fe37a13dc9a9895
a35ffe5fd1d4fe8cb68fe8807c80aa7fec219271
/6. hafta - open_cv_devam/9_kirmizi_pikselleri_yok_etme.py
ccf49a746ef679a6d0ea1fd3ad436d8d2a9ae1e1
[]
no_license
huseyin1701/goruntu_isleme
2a3580ee970265094cd73d5b238676c57013f192
d4a42cb35be175ac5549611858fc2b42d0eaafc6
refs/heads/master
2023-04-23T23:13:38.378867
2021-05-10T12:48:07
2021-05-10T12:48:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
import cv2 as cv resim = cv.imread("resim/manzara.jpg") print(resim.shape) print(resim[0, 0]) for a in resim: for b in a: #print(b) b[2] = 0 cv.imshow("a", resim) cv.waitKey(0)
[ "huseyingunes@gmail.com" ]
huseyingunes@gmail.com
850295881c10098324f479559b5f35013e9d233c
b1bbfe2fa31d761d6a4658b022d344b5a0cb7dd8
/2-add_two_numbers.py
36e1dca017b8827f1873a0a36de3dad133a8f487
[]
no_license
stevestar888/leetcode-problems
f5917efc3516f8e40d5143b4dc10583c1e22dabd
844f502da4d6fb9cd69cf0a1ef71da3385a4d2b4
refs/heads/master
2022-11-12T05:01:02.794246
2022-10-28T16:45:48
2022-10-28T16:45:48
248,663,356
2
2
null
null
null
null
UTF-8
Python
false
false
1,117
py
""" https://leetcode.com/problems/add-two-numbers/ A few tricky cases: [5] [5] [0] [0] """ class Solution(object): def addTwoNumbers(self, l1, l2): """ :type l1: ListNode :type l2: ListNode :rtype: ListNode """ BASE = 10 carry = 0 head = Li...
[ "noreply@github.com" ]
stevestar888.noreply@github.com
dbc091ff7c675c3e6c98899dae3ee66141845480
a39ed5db6c75c9ae1f5e05118794c64102dc5f7a
/2022/15_2/solution_test.py
c8b8d15b3ece0d0f33d2976457bdc0fe9d8b446a
[ "MIT" ]
permissive
budavariam/advent_of_code
b656d5caf5d05113b82357754eb225e61e89ac0d
635be485ec691f9c0cdeb83f944de190f51c1ba3
refs/heads/master
2022-12-25T18:12:00.981365
2022-12-20T08:20:51
2022-12-20T08:20:51
114,570,426
1
1
MIT
2022-12-09T09:29:06
2017-12-17T21:36:00
Python
UTF-8
Python
false
false
1,143
py
""" Advent of code 2022 day 15 / 2 """ import unittest from solution import solution class MyTest(unittest.TestCase): """Unist tests for actual day""" def test_basic(self): """Test from the task""" self.assertEqual( solution( """Sensor at x=2, y=18: closest beacon...
[ "budavariam@gmail.com" ]
budavariam@gmail.com
843a9896e1ada59e40bd827a2af39e3d13effdba
9c7581c3b862174878a5e71609f94b3e5a2de5c9
/CursoEmVideo/Aula22/ex109/titulo.py
3136d4230f599c8c02894ae254a298636a7cf2f6
[ "MIT" ]
permissive
lucashsouza/Desafios-Python
6d9fdc3500e0d01ce9a75201fc4fe88469928170
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
refs/heads/master
2020-06-21T16:49:32.884025
2019-07-23T01:23:07
2019-07-23T01:23:07
143,765,113
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def titulo(mensagem): print() print('~' * (len(mensagem)+1)) print(mensagem) print('~' * (len(mensagem)+1)) print()
[ "noreply@github.com" ]
lucashsouza.noreply@github.com
7f0113de4aed2785b90b4ba6789bc0a244c1ed09
2daa3894e6d6929fd04145100d8a3be5eedbe21c
/tests/artificial/transf_sqrt/trend_constant/cycle_5/ar_12/test_artificial_1024_sqrt_constant_5_12_0.py
9a4bfcc628edeec08dcd54acf3df24173d35377f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Henri-Lo/pyaf
a1f73a0cc807873bd7b79648fe51de9cfd6c126a
08c968425d85dcace974d90db7f07c845a0fe914
refs/heads/master
2021-07-01T12:27:31.600232
2017-09-21T11:19:04
2017-09-21T11:19:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art dataset = tsds.generate_random_TS(N = 1024 , FREQ = 'D', seed = 0, trendtype = "constant", cycle_length = 5, transform = "sqrt", sigma = 0.0, exog_count = 0, ar_order = 12); art.process_dataset(dataset);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
8d529d30512884f3d3f678345f7f2c07b0ef5615
650076fb94a086e15bdaa5bd2f51ce72df42dce4
/test/functional/rpc_signrawtransaction.py
3395fe5a26b85a2f2336d0ede4d5f0e73aa5c243
[ "MIT" ]
permissive
c0de0x/ErosCore
548075fe85c46e2bb3946f94361689dbad692da8
a71767f7ee7105dc83973aac8ac60903b69459c9
refs/heads/master
2022-11-25T14:35:59.091923
2020-07-30T14:38:39
2020-07-30T14:38:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test transaction signing using the signrawtransaction RPC.""" from test_framework.test_framework impor...
[ "60665036+ErosCore@users.noreply.github.com" ]
60665036+ErosCore@users.noreply.github.com
8a4637739a6eb4ff75ad31da66c99d0566908931
fae35f9b8061bf3995184efaf34277190a331744
/satcomum/__init__.py
e86ece2f2468eb7362f0c22773a30ab4194607bd
[ "Apache-2.0" ]
permissive
tiagocardosos/satcomum
1de27c1b20c59a8059ec7f9f051b695bd9727465
b42bec06cb0fb0ad2f6b1a2644a1e8fc8403f2c3
refs/heads/master
2020-05-05T11:09:21.478347
2019-02-19T21:21:18
2019-02-19T21:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
# -*- coding: utf-8 -*- # # satcomum/__init__.py # # Copyright 2015 Base4 Sistemas Ltda ME # # 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 #...
[ "daniel@base4.com.br" ]
daniel@base4.com.br
529c198083375fb06105d96692ff3f5250777ec3
65b708f0646ea090a4e9bc615cd37fd799bd9bce
/venv/Scripts/pip-script.py
bbde96c7ba7bd14099ef4ca4b4ac8938933fc0e8
[]
no_license
chrisna2/python-web-scrapping
af803079586c7b798365d23f5667a24d0c6633e8
92e74b4985006246f543de87ff26673b94e8c0a8
refs/heads/master
2020-07-08T14:40:32.959560
2019-08-23T03:19:47
2019-08-23T03:19:47
203,703,270
1
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!D:\tyn_dev\workspace_pycham\web-scrapping\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __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.arg...
[ "chrisna2@hanmail.net" ]
chrisna2@hanmail.net
14bcbf43eb9678724906eec240db3f26cfa53cd3
2a68b03c923119cc747c4ffcc244477be35134bb
/Algorithm/DFS/dice.py
b52118987a96576b1be898e542042e09aed51736
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
class Solution: def findTarget(self, dices, sides, target): print("\nnum of dices = %d, num of sides = %d, target = %d" %(dices, sides, target)) results = [] combination = [] found = set() self.dfs(dices, 0, sides, combination, target, results, found) ...
[ "jeremyxuqitao@outlook.com" ]
jeremyxuqitao@outlook.com
8082f748ca87aeda70c2749fc297b87eb5d1f36e
140929bb7a81dd76688d5acc923f28aa0ff539d8
/env/lib/python3.6/site-packages/retro/retro_env.py
0c3310e4dd863f8643cf81157f3d632dfc57cacd
[ "Apache-2.0" ]
permissive
boodahDEV/Soni-IA
bd4436895c6c61c191e8968a964667af174121cd
c452c0b3df3a3ced4b5027c2abb4f3c22fd0f948
refs/heads/master
2020-05-05T01:27:04.810504
2019-05-27T06:48:08
2019-05-27T06:48:08
179,603,282
2
1
Apache-2.0
2019-05-27T06:38:43
2019-04-05T01:39:46
Python
UTF-8
Python
false
false
11,376
py
import gc import gym import gzip import gym.spaces import json import numpy as np import os import retro import retro.data #import pygame #from pygame.locals import * from gym.utils import seeding gym_version = tuple(int(x) for x in gym.__version__.split('.')) __all__ = ['RetroEnv'] class RetroEnv(gym.Env): ""...
[ "boodah21@protonmail.com" ]
boodah21@protonmail.com
b41ea6ae823b3495b06bde530884580ce3d476c5
f4e69d05d4bea5198f5bd15c968562fac654c88e
/test/test_certificates_api.py
593599eedf46635c5eac7c1269f77d51ecbbe987
[]
no_license
krezreb/openapi-client-otoroshi
2877ae9230b1ca29024880994420101a232cb906
0dafc780777857b9a0d0d8264e215bd6e0557224
refs/heads/master
2023-05-06T07:23:45.988523
2021-05-27T13:00:18
2021-05-27T13:00:18
371,374,475
0
0
null
null
null
null
UTF-8
Python
false
false
3,969
py
""" Otoroshi Admin API Admin API of the Otoroshi reverse proxy # noqa: E501 The version of the OpenAPI document: 1.5.0-alpha.14 Contact: oss@maif.fr Generated by: https://openapi-generator.tech """ import unittest import openapi_client from openapi_client.api.certificates_api import Certificat...
[ "josephbeeson@gmail.com" ]
josephbeeson@gmail.com
f2898fb3b0248f525810044f3f4e5a5ce1ec680b
79acd6922037d309857d95fb4a633788525a0535
/infrastructure/ansible/roles/dataset_loader/files/selection.set.py
aacaf48079e3a85eeea16a62f5685d58c4c8b3ab
[ "Apache-2.0", "MPL-2.0", "BSD-3-Clause", "CC0-1.0", "Artistic-2.0", "CC-BY-SA-4.0", "MIT", "ISC", "BSD-2-Clause", "OFL-1.1", "JSON", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "WTFPL", "LGPL-2.0-or-later", "X11" ]
permissive
apache/trafficcontrol
86da3a526e5e0d533547969274cd30d74636d922
e835435e47175f84a04234d15183ab7b61cc2825
refs/heads/master
2023-08-31T08:02:25.363164
2023-08-30T23:00:43
2023-08-30T23:00:43
67,198,520
811
438
Apache-2.0
2023-09-14T18:12:55
2016-09-02T07:00:06
Go
UTF-8
Python
false
false
1,333
py
#!/usr/bin/python # # 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, software #...
[ "noreply@github.com" ]
apache.noreply@github.com
2414522bbf49b310f6773608c43006d53b555cb4
47eaf898a430209658df7973ea6b9b266014aa86
/cont-attn/train.py
36e92112ec1187dc91c2b61f7e629f47c2c0f336
[]
no_license
dhruvramani/language-robotics
89d4ffc376757207f85c73e5d6a06bd8301507e0
54e1db11cb5bbcfa3a3ea60ad42d5a572f1b5fb7
refs/heads/master
2023-05-11T21:33:04.894238
2020-11-17T04:59:44
2020-11-17T04:59:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,749
py
import os import sys import torch import numpy as np import torch.nn.functional as F #from tqdm import tqdm # TODO : Remove TQDM from tensorboardX import SummaryWriter from torch.utils.data import DataLoader from torch.autograd import Variable from models import * from models import get_similar_traj # NOTE : If in fu...
[ "dhruvramani98@gmail.com" ]
dhruvramani98@gmail.com
dfae5c44fb06d9b66de15c95505e1082411d9afd
8a84375dac5e6b33215d20e12e0c197aeaa6e83d
/pymoji/__init__.py
c0ca5b641eab739a4af72ee91afc1f188a417cb5
[ "Apache-2.0" ]
permissive
michaeljoseph/pymoji
5579af089cabf1784c656e7fddf9d20f9e6f5d6a
4bf26babc7b968d9a753907d4db5402cfd5c6d63
refs/heads/master
2021-01-01T18:12:37.805141
2013-12-09T10:42:24
2013-12-09T10:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
"""Emits HTML from emoji""" __author__ = 'Michael Joseph' __email__ = 'michaeljoseph@gmail.com' __url__ = 'https://github.com/michaeljoseph/pymoji' __version__ = '0.0.1' from .emoji import emoji def pymoji(text): single_word = len(text.split(' ')) < 2 first_and_last_dont_match = text[0] != text[-1:] fir...
[ "michaeljoseph+github@gmail.com" ]
michaeljoseph+github@gmail.com
bb1867412159c6486be01f2224049f1100599ae6
2fdea85db7be2d39e52191b5aa444150d5a8e995
/apps/hbase/src/hbase/hbase_site.py
d4abf7edb18cea66212055a2ad05a2290bf0f813
[ "Apache-2.0" ]
permissive
bazaarvoice/hue
a464cd28bb181a9977095b05cff31a6c50859bde
9aa150b0b48e90f236335d49904fef5e49b0d41d
refs/heads/master
2023-03-18T15:11:29.540137
2020-06-16T17:13:37
2020-06-17T03:22:15
108,895,807
3
0
Apache-2.0
2020-06-17T03:23:02
2017-10-30T19:03:18
Python
UTF-8
Python
false
false
2,525
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "romain@cloudera.com" ]
romain@cloudera.com
5033de95c14e1bda42f174d71402c54e3ecbfec5
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/restaurants/restaurant_utils.py
227f85a7e1f4623d9c874840e4e304d6fdefbce7
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
5,195
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\restaurants\restaurant_utils.py # Compiled at: 2018-10-01 20:40:25 # Size of source mod 2**32: 5998 ...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
6b30db7207514a2684ce861ee9668aafabb830eb
77941c4e6d28e45039f880cfd55e0a7c9b25e1be
/jax_dft/jax_dft/losses_test.py
a425dcc3b79d334a6609c0f0d9e729c3be18aafa
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
ritesh861/google-research
e29c7ba836a91454eec9a1d39e1af62dc6e4860e
5d901d6895cc254a911a3cdc97487f04487f44ed
refs/heads/master
2022-12-31T17:54:24.150450
2020-10-23T02:12:53
2020-10-23T02:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,743
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
a6cf2f9283eb95bbbcd982e940d290cc39549bec
475e2fe71fecddfdc9e4610603b2d94005038e94
/Amazon/RepeatedSubstringPattern.py
493dc5e2605eec318b294b395ed8cf35491aa97f
[]
no_license
sidhumeher/PyPractice
770473c699aab9e25ad1f8b7b7cd8ad05991d254
2938c14c2e285af8f02e2cfc7b400ee4f8d4bfe0
refs/heads/master
2021-06-28T20:44:50.328453
2020-12-15T00:51:39
2020-12-15T00:51:39
204,987,730
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
''' Created on Dec 10, 2020 @author: sidteegela ''' def repeatedSubstringPattern(s) -> bool: tracker = {} for item in s: if item not in tracker: tracker[item] = 1 else: tracker[item] += 1 index = 0 ...
[ "sidhumeher@yahoo.co.in" ]
sidhumeher@yahoo.co.in
3a210565d34f339e83f5478437ec4d9c55ccc821
4aa5d0c2960916fc5aecbae393b3a4c82798e65d
/models/config/__init__.py
6a0d4a85735c64e63a66d28463151644aaf450bf
[]
no_license
PanJinquan/torch-Slim-Detection-Landmark
51356bf9582cce84dd2be41e75a2e01c9103b790
40400a6ff7376f933899e7f4fead9f994c39d3fe
refs/heads/master
2023-06-28T15:53:22.624102
2021-07-29T02:54:30
2021-07-29T02:54:30
377,344,971
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
# -*-coding: utf-8 -*- """ @Author : panjq @E-mail : pan_jinquan@163.com @Date : 2021-03-29 17:17:10 """
[ "pan_jinquan@163.com" ]
pan_jinquan@163.com
8b534fd770aad5f4bd416754cc830b08843ce337
1f76f04e44f9e65a96e02ef1314cdd60f4b5e934
/blog/migrations/0001_initial.py
b8513a6184d7a181cedd022179d80c5d2e6d592a
[]
no_license
eclipsical/blog
a37f0d0248a41c6cf0612c28685e24658aa41ccf
7d45242d58ac84393d29e862b5b5d7482003ae92
refs/heads/master
2020-03-30T19:05:45.994484
2018-10-05T02:21:07
2018-10-05T02:21:07
151,527,864
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.1.2 on 2018-10-04 05:04 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "me@me.com" ]
me@me.com
3d2364b9ada6318447f8017a3da3808db99cbf44
93fce31a2308e23bf36926a0d2967369bd20fefa
/1.10_select_column.py
3cb9ce96553dfc49597b9c8fe2f91d4a2072040b
[]
no_license
mucollabo/pandasForML
6e2cc98bc33c346a0f20ba9ec326af503d4d0076
24303f0da1271c98717be52a21ba32e435d3851e
refs/heads/master
2023-08-20T08:27:53.078243
2021-10-27T12:22:15
2021-10-27T12:22:15
291,989,754
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import pandas as pd # DataFrame() 함수로 데이터프레임 변환, 변수 df에 저장 exam_data = {'이름':['서준', '우현', '인아'], '수학':[90, 80, 70], '영어':[98, 89, 95], '음악':[85, 95, 100], '체육':[100, 90, 90]} df = pd.DataFrame(exam_data) print(df) print(type(df)) print('\n') # '수학' 점수 데이터만 선택, 변수 ma...
[ "mucollabo@gmail.com" ]
mucollabo@gmail.com
28e42ccfbb3a1ccbfdf2ba32bab2ab46def4b7a0
c109de66500f74d2527c83feb0343179c1af3568
/mar19/pm3.py
47f1073a4281f31c9f7d8fde22e1f71186636857
[]
no_license
DUanalytics/python20
aadf3ce6bb149ce8fde146972222875911fa8bda
4b4e2e29851c550533033a039ae8175da65728cd
refs/heads/master
2021-04-08T09:56:09.798921
2020-04-21T12:04:59
2020-04-21T12:04:59
248,764,764
1
1
null
null
null
null
UTF-8
Python
false
false
969
py
#Topic: #----------------------------- #libraries from pm4py.algo.discovery.alpha import factory as alpha_miner from pm4py.objects.log.importer.xes import factory as importer from pm4py.visualization.petrinet import factory as visualizer from pm4py.objects.log.importer.csv import factory as csv_importer event_stream =...
[ "dup1966@gmail.com" ]
dup1966@gmail.com
3cc507441b6d0ecb6bc00051f647692ccfb593ae
3b9bf497cd29cea9c24462e0411fa8adbfa6ba60
/leetcode/Problems/915--Partition-Array-into-Disjoint-Intervals-Medium.py
ad0e3e8fc948c8a58b3d68af1c55d3bf29f8cc00
[]
no_license
niteesh2268/coding-prepation
918823cb7f4965bec096ec476c639a06a9dd9692
19be0766f6b9c298fb32754f66416f79567843c1
refs/heads/master
2023-01-02T05:30:59.662890
2020-10-17T13:12:34
2020-10-17T13:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
class Solution: def partitionDisjoint(self, A: List[int]) -> int: maxVals = [A[0]] minVals = [0 for _ in range(len(A))] for i in range(1, len(A)): val = max(maxVals[-1], A[i]) maxVals.append(val) minVals[-1] = A[-1] for i in range(len(A)-2, -1...
[ "akulajayaprakash@gmail.com" ]
akulajayaprakash@gmail.com
25706eb5c23ab48d24561809b3144d55ad0064c2
4094eff8c1777e5bc1c412f18cb1e905ab1de302
/tests/layout_tests/__init__.py
31a9cfa80e04414bca678a8b62f75042178aba99
[ "BSD-3-Clause" ]
permissive
Lunderberg/python-prompt-toolkit
fcbfed4cb0e94c1032916b2766bb635079db54d6
7456156e4bdbd3c5ec9e95c78546e6323b77e74f
refs/heads/master
2020-12-28T22:22:32.082247
2015-10-08T14:32:38
2015-10-08T14:32:38
43,893,510
1
0
null
2015-10-08T14:20:04
2015-10-08T14:20:02
Python
UTF-8
Python
false
false
2,074
py
from __future__ import unicode_literals #from prompt_toolkit.layout.utils import fit_tokens_in_size from pygments.token import Token import unittest #class FitTokensInSizeTest(unittest.TestCase): # def setUp(self): # self.tokens = [(Token, 'Hello world'), (Token, '\n'), (Token, 'line2')] # # def test_1...
[ "jonathan@slenders.be" ]
jonathan@slenders.be
63acc5bb375a66d9cc31a059f9d4eac63a1eb089
b4c6200590a093b805036a822b7889c058494b9f
/Gena/hillshade.py
050ccc8b16fed49e95074784f17deedf51a3cbcc
[ "MIT" ]
permissive
spoddar-JNPR/earthengine-py-notebooks
2109a52a49357c19f803b76ed635e022ee486ac6
ff1b5754785d5e25cb11acdbd52b0f31711d061f
refs/heads/master
2022-12-25T10:34:44.895717
2020-10-01T05:38:16
2020-10-01T05:38:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,284
py
# %% """ <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/Gena/hillshade.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> <td><a target="_blank" href...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
76bf8415808dbc0b27091908445074c49baab840
c6f97d8a8c9f50d494f6e4dbcdd824cd63133a95
/main/forms.py
2d2769f579e28302a75be19c653b1de44d40e8fd
[]
no_license
Pavlenkovv/taxi
baa1d9add4fc167191f3fa68e218d0992263c2f0
9e645fc0a2fa75f4aa1f604b355919f23047baae
refs/heads/main
2023-04-10T20:43:41.373294
2021-04-21T19:52:49
2021-04-21T19:52:49
359,902,422
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from django import forms import re class OrderForm(forms.Form): customer_name = forms.CharField(max_length=70, required=True, label="Ім'я") customer_phone = forms.CharField(max_length=30, required=True, label='Телефон') address_from = forms.CharField(max_length=200, required=True, label='Звідки їхати') ...
[ "pavlenko.vyacheslav@gmail.com" ]
pavlenko.vyacheslav@gmail.com
39494e67be7df7d189cb475268b7807d2c2b24e0
b2f84608cc28c492430e972028fa0e178865c78c
/source_py2/test_combi/__init__.py
93535bef676360daad2ef5825782c0dab25df153
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cool-RR/combi
54efa752403a4acb6933475102702e43de93c81d
9c5c143a792ffd8fb38b6470f926268c8bacbc31
refs/heads/master
2021-09-23T10:02:52.984204
2021-09-18T08:45:57
2021-09-18T08:45:57
25,787,956
24
1
null
null
null
null
UTF-8
Python
false
false
1,095
py
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. import sys try: import pathlib except: from combi._python_toolbox.third_party import pathlib def __bootstrap(): ''' Add needed packages in repo to path if we can't find them. This adds `combi`'s root folder to...
[ "ram@rachum.com" ]
ram@rachum.com
fc2e24a083446166a3a346474bce6f3981dec982
4a72b43463a9dbc661583d5d0ee264430909dc08
/dinesh/urls.py
f71d675a3394f2777cd4886963a853f350ae62be
[]
no_license
parvatiandsons2/dinesh
50da144428572668409a74eac99eac63518d9876
efab648bdd6af896e6e45a28946754486f6c59e5
refs/heads/master
2023-03-30T20:16:42.423599
2021-04-08T05:01:46
2021-04-08T05:01:46
350,943,861
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('', include('website.urls')) ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
[ "parvatiandsons2@gmail.com" ]
parvatiandsons2@gmail.com
e18e0324f3f9b1ce2e77f25ce997f19b39d12550
5a281cb78335e06c631181720546f6876005d4e5
/sahara-10.0.0/sahara/tests/unit/db/migration/test_migrations.py
c9f5b1f1d6e0dd0b7d53840c5a1522de8b487693
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
23,009
py
# Copyright 2014 OpenStack Foundation # Copyright 2014 Mirantis Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
be30c3872f1815d3af578c8204f8e60513a18891
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03697/s653793193.py
248b93ad63ebad3fe0b3447475e7ea5825cc23c6
[]
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
101
py
import math A,B=list(map(int, input().split())) if A+B<10: print(A+B) else: print('error')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c51d78ade22a78303932a2159fdb50ace55e9012
06bb8e09d8b078707aba33d727876c9f3f24b882
/class/object_init.py
167747ecc7c19645d1948140af11607f859d741e
[]
no_license
82seongkyum/python_lecture
8a698fdee42d9e110d61a5623afc8ca6dca52411
f24f684eb440400243b57ea432495493e53f6879
refs/heads/main
2023-08-25T20:15:20.653686
2021-11-12T09:04:50
2021-11-12T09:04:50
426,548,189
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
class Car: name = "" speed = 0 def __init__(self, name, speed): self.name = name self.speed = speed def getName(self): print() return self.name def getSpeed(self): print() return self.speed
[ "you@example.com" ]
you@example.com
cc0af1f9c13efdc971dda7d358872093427b70ae
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/matplotlib/2018/4/blocking_input.py
708ab7b1efa7bff4948a2cd53ffab3fd9b7f997e
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
11,548
py
""" This provides several classes used for blocking interaction with figure windows: :class:`BlockingInput` creates a callable object to retrieve events in a blocking way for interactive sessions :class:`BlockingKeyMouseInput` creates a callable object to retrieve key or mouse clicks in a blocking way...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
363dbc525fdce119551e489406287b849a979d1f
cdc0e3f0725519f526e61fe00e42393c59c0b05c
/src/nsf/transforms/base_test.py
496ccc5760a2da07ba8b90ee34f1532fea69030c
[]
no_license
conormdurkan/lfi
e525dddd2d4c43065e9586f4a61d55c77591399e
c3919c251084763e305f99df3923497a130371a2
refs/heads/master
2021-01-01T21:47:52.650312
2020-02-11T12:13:29
2020-02-11T12:13:29
239,355,208
41
14
null
2020-02-11T13:04:24
2020-02-09T18:44:18
Python
UTF-8
Python
false
false
5,176
py
"""Tests for the basic transform definitions.""" import unittest import numpy as np import torch from nsf.transforms import base from nsf.transforms import standard from nsf.transforms.transform_test import TransformTest class CompositeTransformTest(TransformTest): def test_forward(self): batch_size = 1...
[ "conormdurkan@gmail.com" ]
conormdurkan@gmail.com
0d86ce0ae62e08aae4be88b40a18e089e43ca219
a262edcef5d1def670103b849eef9cf203510a40
/tp_analysis/preprocessing/matrix_operation.py
1c25ff7fcc74e75b2d0c362819425f7c774816e6
[]
no_license
clarkwkw/GEStatProj
19439fc50e673cf77444b1513bb5ac9c71fd0022
45f9ca393ae179827906c21c1cd758621cfbf4ce
refs/heads/master
2020-04-03T22:38:38.823677
2018-05-22T07:50:53
2018-05-22T07:50:53
59,290,283
3
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
import json import numpy as np from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer from sklearn.decomposition import PCA, TruncatedSVD, IncrementalPCA, SparsePCA import textbook import nltk.stem stemmer = nltk.stem.SnowballStemmer('english') class StemmedTfidfVectorizer(TfidfVectorizer): def ...
[ "clarkwkw@yahoo.com.hk" ]
clarkwkw@yahoo.com.hk
5d0899b6f77856ea65209c4696f20e4176cf521f
855ff14a494aa47e2ab4c09a58468d99c1eb92f5
/tests/test_download.py
a663ff12d797820386a8173687d6de5fd601d990
[ "MIT" ]
permissive
nnnyt/EduData
9ece284f5143d84ec9eb483fcac3747e2a1fcfba
1827f12167a68f15776cd303ce550814633f1256
refs/heads/master
2020-07-06T00:56:32.627104
2019-08-17T05:14:12
2019-08-17T05:14:12
202,838,340
0
0
MIT
2019-08-17T05:11:15
2019-08-17T05:11:15
null
UTF-8
Python
false
false
516
py
# coding: utf-8 # create by tongshiwei on 2019/7/2 import time import pytest from EduData import get_data from EduData.download_data import url_dict def test_download(tmp_path): for url in url_dict: get_data(url, tmp_path, override=True) time.sleep(1) for url in url_dict: with pyte...
[ "tongsw@mail.ustc.edu.cn" ]
tongsw@mail.ustc.edu.cn
20f76be639652910aa375130dcb4ae19041a2617
23b0203547fdcba7065afba855abb0a3d6d79bc4
/util/perp.py
80e33b350269aa15a7fc1a9bb6554e39530a279c
[]
no_license
jielaizhang/archangel
4336c13fbb67452e5eef868cd7debcb2e5e86a7c
a28cfb509f9ae5e0b0cbd8b25285772da2658c44
refs/heads/master
2021-01-17T18:10:53.541526
2016-10-28T23:03:22
2016-10-28T23:03:22
71,165,793
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
#!/usr/bin/env python def perp(m,b,x,y): # find perpenticular distance from line to x,y if m != 0.: c=y+x/m r=(c-b)/(m+1./m) else: r=x s=m*r+b d=((r-x)**2+(s-y)**2)**0.5 if r <= x: return d else: return -d
[ "zhang.jielai@gmail.com" ]
zhang.jielai@gmail.com
2133a820156c371ee986d90af631a6a95f55dabd
4cdc9ba739f90f6ac4bcd6f916ba194ada77d68c
/剑指offer/第五遍/17.打印从1到最大的n位数.py
bfaf04ffc577d04086babfe256bb04a2bb399b4e
[]
no_license
leilalu/algorithm
bee68690daf836cc5807c3112c2c9e6f63bc0a76
746d77e9bfbcb3877fefae9a915004b3bfbcc612
refs/heads/master
2020-09-30T15:56:28.224945
2020-05-30T03:28:39
2020-05-30T03:28:39
227,313,730
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
""" 输入数字 n,按顺序打印出从 1 到最大的 n 位十进制数。比如输入 3,则打印出 1、2、3 一直到最大的 3 位数 999。 示例 1: 输入: n = 1 输出: [1,2,3,4,5,6,7,8,9]   说明: 用返回一个整数列表来代替打印 n 为正整数 """ """ 最大的n位数可能会超出存储范围,因此需要用字符串来保存这些数字,并且模拟加法运算 打印数字时要从第一个非0数字开始 当第一位数字发生进位时,模拟加法结束 """ class Solution1: def printNumbers(self, n): # 首先判断输入是否合法 if n < 1...
[ "244492644@qq.com" ]
244492644@qq.com
cc4581dcb239c15cbc2e561069528a340c92b34d
f48f9798819b12669a8428f1dc0639e589fb1113
/programming/misc/googlemock/actions.py
0e8cff036c9e369f402327537b8b77901e62731c
[]
no_license
vdemir/PiSiPackages-pardus-2011-devel
781aac6caea2af4f9255770e5d9301e499299e28
7e1867a7f00ee9033c70cc92dc6700a50025430f
refs/heads/master
2020-12-30T18:58:18.590419
2012-03-12T03:16:34
2012-03-12T03:16:34
51,609,831
1
0
null
2016-02-12T19:05:41
2016-02-12T19:05:40
null
UTF-8
Python
false
false
1,082
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2011 TUBITAK/BILGEM # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools ...
[ "kaptan@pisipackages.org" ]
kaptan@pisipackages.org
3e2ffe9fb08e3de17a22adf567ea3bae5d89cad3
a814debee728e59a7a10d8c12b92c1f3ee97e19d
/Atividade/cadastro_alunos.py
3549954447d09ca6bc18697b41ec82898a0ea902
[]
no_license
PedroVitor1995/Algoritmo-ADS-2016.1
0ee034d2f03b29d3c8177fb3402f7aeae08d07cf
8e3b6dfb0db188b9f5d68dcb8619f6636883ab89
refs/heads/master
2021-01-01T15:51:56.636502
2017-07-19T13:47:36
2017-07-19T13:47:36
81,328,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
def main(): menu = (' 1 - Cadastrar \n 2 - Listar \n 3 - Remover \n 0 - Sair \n Opcao: ') alunos = [] while True: opcao = input(menu) if opcao == 1: cadastrar(alunos) print ('Aluno cadastrado com sucesso!') elif opcao == 2: listar(alunos) elif opcao == 3: remover(alunos) elif opcao ...
[ "noreply@github.com" ]
PedroVitor1995.noreply@github.com
c0fdef125f38ff9c8ea632183c45e314e09b6c90
874cb9539283a5dc2616f3c5ae6ca852a63291ed
/classLaneLineHistory.py
ab77f1ddc45c7d4dfef990769231a7b827d77de0
[]
no_license
redherring2141/ac_lane_detection
494ddd89ab41a6e63032325127d63f6aee6f4478
132da04ac7becd4d8f7750936272bcbaea56d975
refs/heads/master
2022-11-05T00:42:32.124816
2020-06-22T02:50:57
2020-06-22T02:50:57
250,525,327
1
1
null
null
null
null
UTF-8
Python
false
false
1,906
py
import math import numpy as np from classLaneLine import LaneLine, create_queue class LaneLineHistory: def __init__(self, queue_depth=2, test_points=[50, 300, 500, 700], poly_max_deviation_distance=150): self.lane_lines = create_queue(queue_depth) self.smoothed_poly = None self.test_points...
[ "redherring2141@kaist.ac.kr" ]
redherring2141@kaist.ac.kr
8702836fc9279ef168fe2ff273935ae450062b85
c1e8ddcfda2586ddc6be93ff60a77428150d6921
/DiegoRocha/NCtBkjKq.py
c0769eb652b1b3dae72bae2d8f527197b1334206
[]
no_license
weltonvaz/PythonBR
740fde6aa0040d13100005669f1a011f52573580
f2bf033d692aee3f79ff1ec2644799cb7f3f5585
refs/heads/master
2020-05-09T20:53:06.416836
2017-06-15T21:05:38
2017-06-15T21:05:38
27,550,432
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def toByteArray(s, withLen): if (len(s) > 255): raise Exception('String precisa ter menos que 255 caracteres') buffer = bytearray() if withLen: buffer.append(len(s)) buffer.extend(s) return buffer BIN_TO_ASC = [ '...
[ "weltonvaz@gmail.com" ]
weltonvaz@gmail.com
6a8a20770c65bc69e42feab1370ccc2a82883911
5ef6b1140f4fe7467595f6f49eeb3ec211424317
/test/busbooking.py
676654475e7bdc1d4e4d41316a176d8b48cbf0d2
[]
no_license
publiccoding/prog_ln
d0ddc5ea69be6de6d2c3da0535f924985fcd2585
9c3210d177000d0a05cc9a0f1f281cebb8785adb
refs/heads/master
2021-09-25T04:15:31.109539
2018-10-18T01:04:41
2018-10-18T01:04:41
117,082,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
import sys #arg1=sys.argv[1] # Register user for bus booking and stor the data in userdata.txt file reg = input("Enter your options :\nUser Registartion -> 1 \nUser Login -> 2\n" ) if reg == "1": uname = input("Enter your username") pwd = input("Enter your password ") userloginData = f' ...
[ "thimmarayan.krishnappa@gmail.com" ]
thimmarayan.krishnappa@gmail.com
b21593a469f076810e694af3e1ea5f70b772276d
2a8a12ee952dcd33edefdb8966a3b575b70b3b25
/BBS/app01/migrations/0001_initial.py
3a5ea63a18c50e5f259d734045528373ea292993
[]
no_license
okada8/python
288e964aa6fd324fa65569d69e8d58ad51753a63
ebce77d4ce724676e95aba85da293471f8f41cef
refs/heads/master
2022-12-02T07:15:42.795504
2019-06-13T00:28:15
2019-06-13T00:28:15
177,994,227
3
1
null
2022-11-22T03:52:30
2019-03-27T12:53:51
Python
UTF-8
Python
false
false
8,961
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-05-01 02:08 from __future__ import unicode_literals from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezo...
[ "1141912008@qq.com" ]
1141912008@qq.com
70ef33ff15c709e33a7c4f4f2936bf571dc0ec70
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N391_Perfect_Rectangle.py
044dd2bf7f6161f54a015998313d9f3a11947085
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
import collections """ 1. sum of the area of all small rectangles equals to the final large rectangle's area 2. all lbnodes and runodes should not be duplicated 3. the four nodes for the final rectangle should only show one time """ class Solution(object): def isRectangleCover(self, rectangles): """ ...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
dead213f276db1180f44d4940987bca1e0b1b23b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/390/usersdata/317/78498/submittedfiles/ex1.py
3bd112ad4b74a11944a5f2b00b8a9a4df4aca8e1
[]
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
305
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') #COMECE A PARTIR DAQUI! import math a = int(input('Digite a: ')) b = int(input('Digite b: ')) c = int(input('Digite c: ')) d = (-b**2) - (4*a*c) print('o delta é {}'.format(d))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
cf842d0d2b18248cba2a8b5531313703ef3b37b2
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/LightGBM_sklearn_scipy_numpy/source/sklearn/linear_model/tests/test_logistic.py
031520362a5286d53d7e98566a22c26b61f61a71
[ "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
49,337
py
import numpy as np import scipy.sparse as sp from scipy import linalg, optimize, sparse from sklearn.datasets import load_iris, make_classification from sklearn.metrics import log_loss from sklearn.model_selection import StratifiedKFold from sklearn.preprocessing import LabelEncoder from sklearn.utils import compute_cl...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
6c3535ee17c4fa616fa64f8e4dae8094aeda358f
092dd56a1bf9357466c05d0f5aedf240cec1a27b
/tests/pytests/problems/TestProblemDefaults.py
1744a84c983e9cb7877f2d329d7c84617e83f61c
[ "MIT" ]
permissive
rwalkerlewis/pylith
cef02d5543e99a3e778a1c530967e6b5f1d5dcba
c5f872c6afff004a06311d36ac078133a30abd99
refs/heads/main
2023-08-24T18:27:30.877550
2023-06-21T22:03:01
2023-06-21T22:03:01
154,047,591
0
0
MIT
2018-10-21T20:05:59
2018-10-21T20:05:59
null
UTF-8
Python
false
false
1,130
py
#!/usr/bin/env nemesis # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University at Buffalo # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://g...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov