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
0bf79e845fd33b9d429835be29ba10711359f05a
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_43809.py
46c9cb3640039a6bb4cfea1068a6ada8d5ad993f
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,839
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
d2d04ec2e736b106410aec6e3f1cf8a40e3a840b
748526cd3d906140c2975ed1628277152374560f
/B2BSWE/Primitives/isPowerOf2.py
bfd326ab508745b71729749b5d48dd20ece0bf68
[]
no_license
librar127/PythonDS
d27bb3af834bfae5bd5f9fc76f152e13ce5485e1
ec48cbde4356208afac226d41752daffe674be2c
refs/heads/master
2021-06-14T10:37:01.303166
2021-06-11T03:39:08
2021-06-11T03:39:08
199,333,950
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import math class Solution: def powerOfTwo(self, input): ''' :type input: int :rtype: bool ''' if input <= 0: return False x = math.log2(input) num = "{:.1f}".format(x) decimal_num = num.split('.')[1] return decimal_nu...
[ "librar127@gmail.com" ]
librar127@gmail.com
82cfb880fa30a2676547051c4d517960728b2093
b3fa4bb31add76bbff0b6f864f433ff9af7897b6
/15.threeSum.py
5aed0c99cb8b95952a413a89448621b7c0a709dd
[]
no_license
Aissen-Li/LeetCode
7298225ba95d58194a5fc87c7ee3ef4d04ec4d4b
f08628e3ce639d1e3f35a2bd3af14cc2b67d7249
refs/heads/master
2020-12-30T08:03:17.277924
2020-09-25T08:20:53
2020-09-25T08:20:53
238,919,619
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
class Solution: def threeSum(self, nums): n = len(nums) if not nums or n < 3: return [] nums.sort() res = [] for i in range(n): if nums[i] > 0: return res if i > 0 and nums[i] == nums[i - 1]: continue ...
[ "aissen_f@163.com" ]
aissen_f@163.com
43c2a3b7eca6a04a9ff324a7a0d1c18b93ad80a9
fbd66463324db417bf7b13f88b53336142517e54
/tools/waf/wscript
ef37acaf316dec5fee314de20f51b3a89e655427
[ "MIT" ]
permissive
Python3pkg/AoikHotkey
55f9a330741087b0eef2c2f76287b6ef5111743f
226c9371cbd1190313b6a3ff9d2c3963f29937e8
refs/heads/master
2021-01-21T09:20:41.989597
2017-05-18T05:33:06
2017-05-18T05:33:06
91,652,541
0
0
null
2017-05-18T05:32:41
2017-05-18T05:32:40
null
UTF-8
Python
false
false
44,904
# coding: utf-8 """ Waf commands module. See :paramref:`aoikwafutil.create_cmd_task` for how relative paths are handled. """ from __future__ import absolute_import # Standard imports import os.path from shutil import rmtree import struct import sys # External imports from aoikwafutil import add_options as _add_optio...
[ "aoi.kuiyuyou@gmail.com" ]
aoi.kuiyuyou@gmail.com
487bdb307568cb23e3126643028eaa4294e03dab
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/cache_replacement/environment/main.py
2983e9f90eb7725c440e25f18d22c718efc03659
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
2,138
py
# coding=utf-8 # Copyright 2022 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
092ea09c37d5f8ded3c80eafb8f1f4c4988bfae3
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part002097.py
452adaeab91b29a10e3af9dbbda3125353042348
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
3,998
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
af465b9c4bbf6fb6244987a2abd33838a930b1f7
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/sort/11650.좌표 정렬하기.py
3e325291e776b19d22a4a7b48e7d9eef1090dc9f
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
1,724
py
# JAVA # package com.example.java_study; # # import java.io.BufferedReader; # import java.io.IOException; # import java.io.InputStreamReader; # import java.util.*; # # public class Main { # # public static int n; # public static int[][] cs; # # public static void solve() { # Arrays.stream(cs) # ...
[ "galid1@naver.com" ]
galid1@naver.com
bb4f0d486ca028b69cc5a9b45653e9d13b67f82d
153ec5496256058d89587c001aea5ce3a6a8d523
/tranquil-beach/design/hit_counter.py
27cb85ac5de99ea260d2ae9d2991dfb57d71cc02
[]
no_license
yokolet/tranquil-beach-python
50911147b560385e2f93efb148e5adb0fb6dbe8b
e7f486114df17918e49d6452c7047c9d90e8aef2
refs/heads/master
2021-08-22T15:28:02.096061
2020-04-29T03:34:19
2020-04-29T05:01:11
175,543,623
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
class HitCounter: def __init__(self): """ Initialize your data structure here. """ self.timestamps = [] # queue def hit(self, timestamp: int) -> None: """ Record a hit. @param timestamp - The current timestamp (in seconds granularity). """ ...
[ "yokolet@gmail.com" ]
yokolet@gmail.com
1e5c56752fcd2c8d921c64f800968fe300259eec
15e6385746ccf4b8eb6c6e302aca236021bb8781
/pythonPart/le8_stringToInteger.py
bef8c255655d63b43f844a2ed8fde2329bf62b92
[]
no_license
akb46mayu/Data-Structures-and-Algorithms
11c4bbddc9b4d286e1aeaa9481eb6a620cd54746
de98494e14fff3e2a468da681c48d60b4d1445a1
refs/heads/master
2021-01-12T09:51:32.618362
2018-05-16T16:37:18
2018-05-16T16:37:18
76,279,268
3
0
null
null
null
null
UTF-8
Python
false
false
536
py
class Solution(object): def myAtoi(self, str): """ :type str: str :rtype: int """ s = str if len(s) == 0: return 0 ls = list(s.strip()) sign = -1 if ls[0] == '-' else 1 if ls[0] in ['+', '-']: del(ls[0]) res, i = 0, 0 maxval = 2...
[ "noreply@github.com" ]
akb46mayu.noreply@github.com
41a5d17f5ff6f87d15a77667d46606d940268829
01926621374435f7daf622f1ef04a51f94e3e883
/litex/soc/cores/pwm.py
842f24d554f89887340f66ce6b97a104904f54b9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
betrusted-io/litex
d717513e41ff6aba54ac172e886c21479aa41752
8109a8e91ca8321483ccc2f58bd4fed5379bbd18
refs/heads/master
2022-11-23T07:11:35.297128
2022-02-22T11:55:00
2022-02-22T11:55:00
231,203,917
3
0
NOASSERTION
2020-01-01T10:48:06
2020-01-01T10:48:05
null
UTF-8
Python
false
false
2,638
py
# # This file is part of LiteX. # # Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr> # SPDX-License-Identifier: BSD-2-Clause from migen import * from migen.genlib.cdc import MultiReg from litex.soc.interconnect.csr import * # Pulse Width Modulation ------------------------------------------------...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
d55c5647d9849a1fd1d7068e75cf3ca1f4954fe6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-838.py
e806406e24534484ffe09e2e69ee5a5a73bc366a
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
13,348
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b747f994ed9204d8da9078e60f0ced364fd18a86
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2669-2722/right-branch-2722/prototype/editor/coursemanager.py
8e30ec545293639879b92768dc70e4d6e532dc29
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
94,459
py
from os.path import exists from os import mkdir, sep, environ from urllib import quote import sys from cgi import escape from string import strip, join from Cheetah.Template import Template from xmlreader import readConfig from shutil import rmtree, copyfile import marshal import cgitb cgitb.enable( display=1, logdir=...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
922f5b09c5963a6fd34c2599cd446d9543e37383
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/hackernews/testcase/firstcases/testcase8_021.py
98d1969d272766b7e444194aa1fc4f50bbc714c4
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,152
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
afc72a95d33a18debe5ab8215d2980fedbec85a1
b6472217400cfce4d12e50a06cd5cfc9e4deee1f
/sites/top/api/rest/ShoprecommendShopsGetRequest.py
f3f3da331ad55779252f48bdbb7fced2789a176c
[]
no_license
topwinner/topwinner
2d76cab853b481a4963826b6253f3fb0e578a51b
83c996b898cf5cfe6c862c9adb76a3d6a581f164
refs/heads/master
2021-01-22T22:50:09.653079
2012-08-26T19:11:16
2012-08-26T19:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
''' Created by auto_sdk on 2012-08-26 16:43:44 ''' from top.api.base import RestApi class ShoprecommendShopsGetRequest(RestApi): def __init__(self,domain,port): RestApi.__init__(self,domain, port) self.count = None self.ext = None self.recommend_type = None self.seller_id = None def getapiname(self): ret...
[ "timo.jiang@qq.com" ]
timo.jiang@qq.com
e25ec3eb506fc11242a235ac89c9295b7aeed705
86cc17a69213569af670faed7ad531cb599b960d
/play22.py
96fff41800364d84c655379bd4c5eb33385b96a4
[]
no_license
LakshmikanthRavi/guvi-lux
ed1c389e27a9ec62e0fd75c140322563f68d311a
5c29f73903aa9adb6484c76103edf18ac165259e
refs/heads/master
2020-04-15T05:07:19.743874
2019-08-13T08:53:00
2019-08-13T08:53:00
164,409,489
0
1
null
null
null
null
UTF-8
Python
false
false
151
py
v,m=map(int,input().split()) li=[] for i in range(1,m+1): if v%i==0 and m%i==0: li.append(i) if len(li)==1: print(*li) else: print(*li[-1:])
[ "noreply@github.com" ]
LakshmikanthRavi.noreply@github.com
ffdaa560ee5d9baf3b364e2960e1937347afdaa3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02381/s394317702.py
6be196429fcf9dbcdbf915b34a91ab62c14a1b5e
[]
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
234
py
import math while True: n=int(input()) if n==0: break s=list(map(int,input().split())) m=sum(s)/n S=0 for i in range(n): S+=(s[i]-m)**2 a2=math.sqrt(S/n) print('{:.8f}'.format(a2))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0436bf1993de7c49358a1def27e9475d4a47878b
2d4240a03bfa47386677a78250df220c55a7bf6c
/PythonStandardLibrary/itertools11.py
95d1ca9ae99eb8c809a9a0c1b092c83f707685c5
[]
no_license
Falonie/Notes
c7976e9e7514e5d7cddf918c3c54442a89532aab
38e980cb5170a696626085b72795a096679e972b
refs/heads/master
2022-02-13T11:20:39.613115
2019-09-02T01:07:27
2019-09-02T01:07:27
99,218,947
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from itertools import accumulate from operator import mul a = [3, 4, 6, 2, 1, 9, 1, 7, 5, 8] print(list(accumulate(a, max))) print(list(accumulate(a,min))) print(list(accumulate(a))) print(list(accumulate(a,mul)))
[ "541002901@qq.com" ]
541002901@qq.com
6643e993132ac4719ee45f52a4fefe2f8cb75fcf
b834dda071bbe33db47c06e4281d6203ad5e4d4d
/tests/conftest.py
87ed9b0cbdb98c40e1ddf00cbb3d485633c1f6d6
[ "BSD-2-Clause" ]
permissive
revolter/invocations
80caf5e7024379260f710187a166509c1aaaed03
07be47051407db4fc5ba4ae03945e75ece593e46
refs/heads/master
2023-03-08T10:07:28.305372
2020-04-24T22:39:56
2020-04-24T22:39:56
285,869,144
0
0
BSD-2-Clause
2020-08-07T16:02:19
2020-08-07T16:02:18
null
UTF-8
Python
false
false
498
py
from mock import Mock from pytest import fixture from invoke import MockContext, Result # TODO: figure out how to distribute it in a way not requiring non-testing # users to have mock installed?! @fixture def ctx(): # TODO: make MockContext more usable in a "don't care about results" mode # NOTE: this is ugl...
[ "jeff@bitprophet.org" ]
jeff@bitprophet.org
49280ec64484a56923af0285dda8242019893f40
b47c136e077f5100478338280495193a8ab81801
/Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/htu31d_simpletest.py
8aced3ed9a6e2ecc60ae5ef59e07bc900c560eec
[ "Apache-2.0" ]
permissive
IanSMoyes/SpiderPi
22cd8747cc389f674cc8d95f32b4d86f9b7b2d8e
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
refs/heads/master
2023-03-20T22:30:23.362137
2021-03-12T17:37:33
2021-03-12T17:37:33
339,555,949
16
2
null
null
null
null
UTF-8
Python
false
false
641
py
# SPDX-FileCopyrightText: Copyright (c) 2020 ladyada for Adafruit Industries # # SPDX-License-Identifier: MIT import time import busio import board import adafruit_htu31d i2c = busio.I2C(board.SCL, board.SDA) htu = adafruit_htu31d.HTU31D(i2c) print("Found HTU31D with serial number", hex(htu.serial_number))...
[ "ians.moyes@gmail.com" ]
ians.moyes@gmail.com
728bd4678275f71a76e178d83c68245ce54754c3
2c4efe2ce49a900c68348f50e71802994c84900a
/braindecode/braindecode/venv1/Lib/site-packages/numba/macro.py
1b5c5020756b4ba4341455d2db174b4e5f09e18e
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sisi2/Masterthesis
b508632526e82b23c2efb34729141bfdae078fa0
7ce17644af47db4ad62764ed062840a10afe714d
refs/heads/master
2022-11-19T15:21:28.272824
2018-08-13T15:02:20
2018-08-13T15:02:20
131,345,102
2
1
null
2022-11-15T14:08:07
2018-04-27T21:09:21
Python
UTF-8
Python
false
false
238
py
""" Macro handling. Macros are expanded on block-by-block """ from __future__ import absolute_import, print_function, division # Expose the Macro object from the corresponding IR rewrite pass from .rewrites.macros import Macro
[ "dansyefila@gmail.com" ]
dansyefila@gmail.com
a3849b47ff857c57b806d2cc30f90afdb5bceff3
a32ca3544bb5a587e5fd7aaa1c73ac0fb918f11e
/hypha/apply/projects/migrations/0051_remove_unnecessary_fields_from_invoice.py
11ad637d548ba6d70e8286efcb3f98d24703c04d
[ "BSD-3-Clause" ]
permissive
jvasile/hypha
87904bf514e7cf5af63c7146eaaa49d3611fd57f
b5ccad20dd3434f53a2b9d711fac510124c70a6e
refs/heads/main
2023-07-08T04:10:08.233259
2023-06-20T05:35:29
2023-06-20T05:35:29
354,630,183
0
0
BSD-3-Clause
2021-04-04T19:32:38
2021-04-04T19:32:38
null
UTF-8
Python
false
false
559
py
# Generated by Django 3.2.12 on 2022-04-12 05:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('application_projects', '0050_add_new_invoice_status'), ] operations = [ migrations.RemoveField( model_name='invoice', name=...
[ "frjo@xdeb.org" ]
frjo@xdeb.org
47674fd62d2ace70412aa6779f84bb9d0f8365db
f31285f1adf3a0c83120c2a8f91ac5ef6f5f0b8b
/mapped_seq.py
06e0b3f44f4c828acd09cc3be5f6f6e380a2cf69
[ "BSD-2-Clause" ]
permissive
RobinQi/BioUtils
1596cc1cec382567459d13d9e57a97099dbce76d
72693760620b8afb1797fd9f23e1540a194ef929
refs/heads/master
2021-01-13T06:12:55.111042
2014-07-21T18:02:45
2014-07-21T18:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
'''The script reads alignment results from BLAT in PSL format and print out sequences of those sequences in FASTA format. ''' import sys from Bio import SeqIO def parse_mapped(pslfile): mapped = set() for line in open(pslfile): name = line.strip().split()[9] mapped.add(name) return mapped...
[ "preeyano@msu.edu" ]
preeyano@msu.edu
83ee80ed3aa2386cdadbb452e5bd1bde0eb0132f
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/sudoku_20201029173348.py
170f8373b1fe8c995bffecf90df6f9e77570601f
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
6,881
py
# -*- coding: utf-8 -*- from __future__ import print_function import pygame as pg from random import sample from pyglet.gl import * from string import * import numpy as np class create_board(): def __init__(self): self.base = 3 # Will generate any size of random sudoku board in O(n^2) time self.s...
[ "jle040@uit.no" ]
jle040@uit.no
60df77afdc909e5419af996727a7299b127ba7c4
a0556d5e8368bf171b9019aba03e65b06e8c12e4
/secao20_testes_python/intro_unittest.py
dad9e905e5ddc211815850549a3b2359e387fb5b
[]
no_license
RianMarlon/Python-Geek-University
f1c9db588f23ce8e6699d1352ebfb3428e0ab1ec
3be7ec5c35bf74b1b2152de63db95bee33ee1719
refs/heads/master
2020-06-25T04:41:52.911513
2020-02-01T16:18:35
2020-02-01T16:18:35
199,204,603
23
8
null
null
null
null
UTF-8
Python
false
false
1,586
py
""" Introdução ao móduo Unittest Unittest -> Testes Unitários O que são testes unitários? Teste é a forma de se testar unidades individuais do código fonte Unidades individuais podem ser: funções, métodos, classes, módulos e etc. # OBS: Testes unitários não são específics da linguagem Python. Para criar nossos te...
[ "rianmarlon20@yahoo.com" ]
rianmarlon20@yahoo.com
20c5c2b53a0eddde92dfeb705345c3b7415da96d
1322ae1334af76643e108e78495e05538b0d7834
/test/preprocess_test.py
b21b3687c61feec41e9de60f1fb8f2e6081bc0e6
[]
no_license
kimsoosoo0928/chatbot02
47d34d6e6ac75b86930b1840337d17f4e487df26
222e75023391f1d4cd486680d8abaa1300a72453
refs/heads/main
2023-06-08T02:22:25.862407
2021-07-04T00:28:02
2021-07-04T00:28:02
381,740,443
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
from utils.Preprocess import Preprocess from tensorflow.keras import preprocessing sent = "내일 오전 10시에 짬뽕 주문하고 싶어ㅋㅋ" p = Preprocess(word2index_dic='../train_tools/dict/chatbot_dict.bin', userdic = '../utils/user_dic.tsv') pos = p.pos(sent) keywords = p.get_keywords(pos, without_tag=False) print(keyword...
[ "kimsoosoo0928@gmail.com" ]
kimsoosoo0928@gmail.com
01e704976208c35951e0ae956efe5dacebe2ef99
1c6276c90ab97004e2435a539d011c5b9d08d134
/electrum/plugins/trustedcoin/trustedcoin.py
f9a9918a6202666382c70fe8db95d8018602fc95
[ "MIT" ]
permissive
c4pt000/electrum-ravencoin-lite
020dedec4891293e9439f4692c0e5855466c249d
fe0f139a3708261467beb855700f56b5fbc7c2e9
refs/heads/main
2023-08-24T00:52:51.983733
2021-10-20T13:22:15
2021-10-20T13:22:15
406,919,123
0
1
null
null
null
null
UTF-8
Python
false
false
32,315
py
#!/usr/bin/env python # # Electrum - Lightweight Bitcoin Client # Copyright (C) 2015 Thomas Voegtlin # # 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...
[ "you@example.com" ]
you@example.com
3c57c45a3312ed022a7054e73f8fd40267221ab7
509fc176af52f46ce62f54a6f63c7c27b1bd0c2c
/djangofiltertest/djangofiltertest/apps/posts/migrations/0002_job_title.py
46caade00daf9756946303a0eb4bb0a31d5664eb
[ "MIT" ]
permissive
gonzaloamadio/django-filter-test
8b16fdb989a8141ba5852cd4804148cb6b153e86
7b9dbc36ca248e2113deaac03e824b123a31a4ba
refs/heads/master
2022-12-10T11:35:07.684916
2019-01-24T09:19:21
2019-01-24T09:19:21
167,159,577
0
0
MIT
2022-12-08T01:33:33
2019-01-23T09:54:40
Python
UTF-8
Python
false
false
453
py
# Generated by Django 2.0 on 2019-01-24 08:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0001_initial'), ] operations = [ migrations.AddField( model_name='job', name='title', field=model...
[ "gonzaloamadio@gmail.com" ]
gonzaloamadio@gmail.com
cd8872e86939dbf066a6d051eb173111d9964db4
f170ed80b4269c8fbe622b78cadc7f293a956e56
/lib/googlecloudsdk/third_party/apis/networkmanagement/v1beta1/networkmanagement_v1beta1_messages.py
4e054df645de0f562077d40931b9fef5b7f2dd2b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/google-cloud-sdk-2
16227c61c6d60b1af290348ed5f6075741f5b68a
b94a8c7ea9776effc9cee67f1db677cec4800b6d
refs/heads/master
2022-11-20T14:46:30.764336
2020-07-17T14:41:11
2020-07-17T14:41:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
76,421
py
"""Generated message classes for networkmanagement version v1beta1. The Network Management API provides a collection of network performance monitoring and diagnostic capabilities. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
07d011bae38803dbb97917a30438280459506518
8cfcfc59bfcf4255954ebac81d6bb9c183c407e7
/orders/migrations/0006_alter_person_user.py
87ebf260909b8dc6fb3d3e1eb129ed4193b405b7
[]
no_license
elisaZeneli/OrderPlacement
4928e61e1a60ea992571709e526c50ce4c8deffe
581d06ec4ddab9a0afe9bdc28d9efe8e8d801b87
refs/heads/main
2023-07-24T13:37:04.613726
2021-07-16T20:44:26
2021-07-16T20:44:26
386,264,890
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 3.2.5 on 2021-07-15 21:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0005_alter_person_user'), ] operations = [ migrations.AlterField( model_name='person', name='user', ...
[ "you@example.com" ]
you@example.com
abb6ccb0fe0cc0e772bd2d54cb73fd93c0131ac4
5fee6afe91711fbb1ca87845f502776fbfab7851
/examples/contoursSSEDemo.py
b62444dff30e3d02184741940dc6fbfc1a7a247c
[ "MIT" ]
permissive
chenxofhit/pyprobml
f66ad4c1186f0ba22e520e14700ac0bd6fee400d
fe48d6111bd121e01cfbdefe3361a993fa14abe1
refs/heads/master
2021-01-24T09:39:29.828935
2016-09-17T03:34:59
2016-09-17T03:34:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
#!/usr/bin/env python3 # Error surface for linear regression model. import matplotlib.pyplot as pl import numpy as np import utils.util as util from mpl_toolkits.mplot3d import Axes3D def contoursSSEDemo(): N = 21 x,y,_,_,_,_ = util.poly_data_make(sampling='thibaux', n=N) X = util.add_ones(x) return X,y if...
[ "murphyk@gmail.com" ]
murphyk@gmail.com
d244d27e34895e0c317a9a52c2c75875afd40e4a
a5a71451ad2380f63a81e50ff119a17e1019d1f6
/tests/test_get_finder/tests.py
8849328d27e08d36f7ffcdd5a3217478a08c8cf0
[ "ISC" ]
permissive
gears/django-gears
3a3ed5c7444771d7f14dd33d8655189d06a66143
80a5cb085c5c4edac481228765edcfda3d6309f7
refs/heads/develop
2021-01-01T19:24:02.617522
2015-01-21T08:00:18
2015-01-21T08:00:18
2,822,397
15
3
ISC
2023-08-23T00:22:29
2011-11-21T19:31:28
Python
UTF-8
Python
false
false
581
py
from __future__ import with_statement from django.core.exceptions import ImproperlyConfigured from django.test import TestCase from django_gears.utils import get_finder from . import finders class GetFinderTests(TestCase): def test_if_it_is_a_subclass_of_base_finder(self): finder = get_finder('test_get...
[ "mike@yumatov.org" ]
mike@yumatov.org
62bcdafd6fdf8fe92d355ad201ca963132513bd9
074421d31af92ae29c7c78bdb7e50f199a38eb9b
/weixin/code/rfid_plt/base_platform/cluster/cluster_thread.py
d1a29d36f26b56567f9b378b4d51e150ccca9123
[]
no_license
allenforrest/wxbiz
3f49ce66b37e281fc375f548610aa54a0f73268f
e78df71fbc5d73dd93ba9452d4b54183fe1e7e1f
refs/heads/master
2016-09-06T15:17:49.420934
2013-08-05T13:13:40
2013-08-05T13:13:40
null
0
0
null
null
null
null
GB18030
Python
false
false
34,724
py
#coding=gbk """ Copyright (C), 2012-2015, Anything Connected Possibilities Author: ACP2013 Version: 1.0 Date: Description: 本文件中实现了维护集群节点状态的线程 Others: Key Class&Method List: 1. ClusterServerEventHandler: 节点间通过callacp通信时使用的EventHandler 2. MasterNodeInfo: master的节点信息 3. Clust...
[ "allenxu@gmail.com" ]
allenxu@gmail.com
55f8b696d41883c2fcef7f58c03e8f9c9a06bf81
9869821dbd52df5083e86eac3afa97422ea07f89
/sevchefs_api/models.py
5c60cb8bb0ba9bfeda3f29daa0f8c09e65fb29f7
[]
no_license
sohjunjie/the7chefs_backend
af18afe4b7279526e1717c2a1113cd69b7e6f0cf
a4eec24050fd07db31d76465c42d5434b1f7a177
refs/heads/master
2022-12-12T12:13:48.820638
2017-11-06T13:26:32
2017-11-06T13:26:32
101,177,905
0
0
null
2022-12-08T00:40:54
2017-08-23T12:32:54
Python
UTF-8
Python
false
false
6,302
py
import uuid from django.db import models from django.contrib.auth.models import User def user_avatar_directory_path(instance, filename): ext = filename.split('.')[-1] filename = "%s.%s" % (uuid.uuid4(), ext) return 'user/{0}/{1}'.format(instance.id, filename) def recipe_image_directory_path(instance, fi...
[ "junjie.soh93@gmail.com" ]
junjie.soh93@gmail.com
9e1300463ec95eed050e294dbf1f512cca88b175
890aaf5ffd178ad3c601079cddc520b66dfb4130
/player/models.py
7217c17dcd4f4dd6b62357a35e1fd5db9ccc1b45
[]
no_license
FelixTheC/browsergame
8dbaacee34835b3e84a2ba14a0ff4c005647cddf
00bb1eef8f28bf46bbb03d882f3c8019b97fd8a5
refs/heads/master
2020-03-27T10:21:57.008465
2018-08-29T13:29:28
2018-08-29T13:29:28
146,415,125
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
from django.contrib.auth.models import User from django.db import models from spell.models import Spell class Player(User): class Meta: ordering = 'pk' db_table = 'player' level = models.IntegerField(default=0, blank=True) xp = models.DecimalField(default=0.0, blank=True) live_points ...
[ "felixeisenmenger@gmx.net" ]
felixeisenmenger@gmx.net
f4e7c4d0c00235efdf0c1814f151ce92182ab87c
187ec84de1e03e2fe1e154dcb128b5886b4d0547
/chapter_03/exercises/04_guest_list.py
59d42604ab669d68dc242c613f594a8bbfdac314
[]
no_license
xerifeazeitona/PCC_Basics
fcbc1b8d5bc06e82794cd9ff0061e6ff1a38a64e
81195f17e7466c416f97acbf7046d8084829f77b
refs/heads/main
2023-03-01T07:50:02.317941
2021-01-27T21:08:28
2021-01-27T21:08:28
330,748,942
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# 3-4. Guest List # If you could invite anyone, living or deceased, to dinner, who would # you invite? Make a list that includes at least three people you’d like # to invite to dinner. Then use your list to print a message to each # person, inviting them to dinner. persons = [] persons.append('jenny') persons.append('...
[ "juliano.amaral@gmail.com" ]
juliano.amaral@gmail.com
1447230f766afd41a6dd0803b07be0e8a4ba698d
200839d1368245d23cf522ed007794210dda8e4b
/test_script.py
30e0b8348eee91f9caec501a8a252561a8fe2c5d
[ "BSD-3-Clause" ]
permissive
tmcclintock/Halo_catalog_with_projection
88911c0311b79642627281e065e36faf2ab05b2d
9c13b996c29dd54225a1626b1cb20598d4dccbed
refs/heads/master
2020-03-28T15:54:36.400654
2018-09-20T17:32:40
2018-09-20T17:32:40
148,637,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
import numpy as np import convert_catalog as cc import matplotlib.pyplot as plt scatters = [0.2] #only this one for now scatter = scatters[0] #Values for the RMR for fox alpha = 0.77 M_pivot = 10**12.63 #Msun/h M_min = 10**11.24 z = 1. inpath = "test_catalog.npy" conv = cc.Converter(scatter, M_min=M_min, M_pivo...
[ "tmcclintock89@gmail.com" ]
tmcclintock89@gmail.com
85b75024cde8366d99fb76cbbd9525b3975ce3d4
95aa6f7c87af7728d999e4038b92ee7f9d91a17c
/PAZCOLOMBIA/pruebaserial.py
7153e90710fd0a88b29005fff70e7a7ed2b26e38
[]
no_license
Fermec28/HackathonAzureIoT
f7f56ebf7d8cf89405bb1fa83b89e8fe9ce0ea94
df666a3ce6fb467b25c2f751fcd67e4c4b9addd1
refs/heads/master
2021-01-22T21:59:19.385202
2017-03-20T14:41:09
2017-03-20T14:41:09
85,498,471
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
import serial import sys import time ser= serial.Serial('/dev/ttyACM0',9600) ser.write("dato") dato="" while dato=="": while ser.inWaiting()>0: dato=ser.readline() print dato ser.close()
[ "fermed28@gmail.com" ]
fermed28@gmail.com
fee6ebb539107d535f7a54a856b21e86decace56
39b228e1261882f41deac10870601c722504eccb
/gputools/convolve/__init__.py
06f134919322a2919d5e9fa1581b600916b19514
[ "BSD-3-Clause" ]
permissive
Traecp/gputools
4831a6a8dd28191994b57784a5eb9e75c56c6e84
fd25e9457ddc50bbe1c29eff91f397dcf80a4767
refs/heads/master
2021-05-12T06:30:29.043605
2017-09-27T22:50:40
2017-09-27T22:50:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#from .blur import blur from .convolve_sep import convolve_sep2, convolve_sep3 from .convolve import convolve from .convolve_spatial2 import convolve_spatial2 from .convolve_spatial3 import convolve_spatial3 #from .minmax_filter import max_filter, min_filter from .filters import max_filter, min_filter, uniform_filt...
[ "mweigert@mpi-cbg.de" ]
mweigert@mpi-cbg.de
d83a64cc10d5e83cbeb0a511b422a57b15bc9802
8372d349be47f85c6650bf81b2e1d87e5fdcd259
/modules/app.py
5358408780fa56e4f02ab6e67292951f78247e31
[]
no_license
pflashpunk/myrecon.py
b2bd6c22b36f83245e3df0fad7644ff66af12345
150eeb5e1473e3bef2ccc9ad2f1419d56c120a4d
refs/heads/master
2020-09-29T20:02:37.780438
2019-12-05T10:51:16
2019-12-05T10:51:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,733
py
# I don't believe in license. # You can do whatever you want with this program. import os import sys import imp import time from modules import functions as func from colored import fg, bg, attr class App: config = [] mods = [] d_app = '' d_mods = '' d_output = '' f_report =...
[ "g@10degres.net" ]
g@10degres.net
f0481fd9b443fa7e04a7487692c816a354e643d0
6d04a5a3ed838df588ebd799d6b411ad4a0423d8
/setup3.py
377e930b6745c29b6f0386ab4c70eb19a2cbefc0
[]
no_license
matthew-brett/arraymakers
f2aa7dbb92fe432d717195be9e8600c90b558bd8
220bb91ec9fcbf99820d5c5c2866f51edc5c640b
refs/heads/master
2016-08-07T23:10:24.426500
2009-11-17T06:03:31
2009-11-17T06:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy as np sourcefiles = ['sturlabench.pyx'] setup( cmdclass = {'build_ext': build_ext}, ext_modules = [Extension("sturlabench", sourcefiles, ...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
a30d5296c270e3f997b65094140ee7f36f85b11d
06c2bc496f9e285f06e4c3c71f14d5716f411d89
/source/webapp/migrations/0001_initial.py
2340231d02b94aea805a5292d5b1c67ac6d30ad9
[]
no_license
Beknasar/Coin_collection
37a9e77cc00270dfcb9d0cb5916f985cec4c591d
091860f98e7dc81d460ab0cbcb6ca1d7fdeffda8
refs/heads/master
2023-06-09T16:25:30.473134
2021-06-25T09:31:13
2021-06-25T09:31:13
365,229,399
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
py
# Generated by Django 2.2 on 2021-05-03 10:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Country', fields=[ ('id', models.AutoField(au...
[ "680633@gmail.com" ]
680633@gmail.com
05d17b4c1ba3a133b032f6f66a03a7e2c15c5227
119437adb7830659307c18b79a9cc3f6bfc6fe40
/transformers_learning/text_classification/ernie_model_evaluate.py
ea61f8fb38d798d0f7835c7452c00b911801326d
[]
no_license
percent4/PyTorch_Learning
478bec35422cdc66bf41b4258e29fbcb6d24f60c
24184d49032c9c9a68142aff89dabe33adc17b52
refs/heads/master
2023-03-31T03:01:19.372830
2023-03-17T17:02:39
2023-03-17T17:02:39
171,400,828
16
7
null
2023-09-02T08:53:26
2019-02-19T03:47:41
Jupyter Notebook
UTF-8
Python
false
false
2,001
py
# -*- coding: utf-8 -*- # @Time : 2021/1/29 15:54 # @Author : Jclian91 # @File : ernie_model_evaluate.py # @Place : Yangpu, Shanghai import json import torch import numpy as np import pandas as pd from sklearn.metrics import classification_report from transformers import AutoTokenizer, AutoConfig, AutoModelForSequenceC...
[ "1137061634@qq.com" ]
1137061634@qq.com
2390996443d739e28ca04fe04250dcbfc1c2f21f
f7e93ca894f21cead7ef8c3681f4df548ba0a1a1
/typings/pymongo/read_concern.pyi
364db579bd3ea1d3964bf0932ce648a54e46d757
[ "Apache-2.0" ]
permissive
GlennOlsson/mongo-types
20a3429a32528681be645600b5889a449c606b50
19a24d99aa8872e384c8017dd2564c84e9ff755a
refs/heads/main
2023-05-06T14:37:31.069202
2021-05-18T15:58:42
2021-05-18T15:58:42
368,573,598
0
0
Apache-2.0
2021-05-18T15:58:42
2021-05-18T15:06:56
null
UTF-8
Python
false
false
23
pyi
class ReadConcern: ...
[ "steve@dignam.xyz" ]
steve@dignam.xyz
458263b68266a9818ebc55736b4bc25d6fa981e2
6b2db6fca8f31c4e6c96e68cf11e5ca3ce7e8a9b
/src/calPosteriorModifyForIdeal.py
2836c82b00fcdfe11ca8ba606f41756da73a5ca0
[ "MIT" ]
permissive
ningtangla/escapeFromMultipleSuspectors
e04da12488be9767c5b6511355c167fdcf18e723
e6dcb0f7f9371b7ca6cca8779f69f18095092140
refs/heads/master
2022-05-03T05:25:21.556950
2022-04-20T13:51:53
2022-04-20T13:51:53
190,686,484
1
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
import pandas as pd import numpy as np import scipy.stats as stats import math def calAngleLikelihoodLogModifiedForPiRange(angle, kappa): return stats.vonmises.logpdf(angle, kappa) + np.log(2) class CalPosteriorLog(): def __init__(self, minDistance): self.minDistance = minDistance def __call__(sel...
[ "ningtangzju@gmail.com" ]
ningtangzju@gmail.com
5abb8da374c2b313c8e9f7bd922bec0aefe29d2f
9ec109e52db63c3ff60b299d5b441167e5f1403e
/rules/clustering.smk
88d3d57128d79d28c8155411747df23e7482f154
[ "MIT" ]
permissive
metagenome-atlas/genecatalog_atlas
47edac84cf5c9f391e0a1615e9f54afe9bb12219
e83d27c6f2ad6a10c9139db73d8e8f517f4fb6dd
refs/heads/master
2021-11-12T11:07:58.330563
2021-11-03T10:26:24
2021-11-03T10:26:24
235,655,500
1
1
MIT
2020-03-10T15:43:39
2020-01-22T20:00:54
Python
UTF-8
Python
false
false
8,829
smk
import os localrules: input_genes rule input_genes: input: faa= os.path.abspath(config['input_faa']) output: faa= temp("genecatalog/input.faa") shell: "ln -s {input} {output}" rule createdb: input: "genecatalog/{catalogname}.faa" output: temp(directory("gen...
[ "silas.kieser@gmail.com" ]
silas.kieser@gmail.com
ee7f9224ffd1fdcb74a482747ba70aad5787d8a9
046207f434966462fff55f634ba5a450d2208534
/PythonForBeginner/source_code/151.py
028f9b583b104aa52315e036794c68c63c2389e3
[]
no_license
sungsikyang92/pythonStudy
e293e1ac8af443809f840ccee7052a8f57480b70
26522b5e232ccd9ab25c52122d254aa7249a8fdf
refs/heads/master
2023-07-04T16:58:40.318976
2021-08-04T02:00:27
2021-08-04T02:00:27
365,398,522
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
import os pdir = os.getcwd() print(pdir) os.chdir('..') print(os.getcwd()) os.chdir(pdir) print(os.getcwd())
[ "sungsik.yang92@gmail.com" ]
sungsik.yang92@gmail.com
926644d6b51709392d243e98819486b28d544b79
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/deleteLeavesWithaGivenValue/deleteLeavesWithaGivenValue.py
b5d6b7308887d04f9df27fa9e19a93de3af9356a
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
725
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/delete-leaves-with-a-given-value/ # Author: Miao Zhang # Date: 2021-04-23 # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.lef...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
6c42d5c74d411827cb4f887bc2345c3d697d5ce6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02623/s803927291.py
1bb8ba08366a2d97232987232cea5c363032232f
[]
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
814
py
from sys import stdin import sys n,m,k = [int(x) for x in stdin.readline().rstrip().split()] A = [int(x) for x in stdin.readline().rstrip().split()] B = [int(x) for x in stdin.readline().rstrip().split()] cc = [] count = 0 sumA = 0 for i in range(n): sumA_ = sumA + A[i] if sumA_ > k: break sumA = sumA_ ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e48db17d4ddd3254f132e9542692a9665eed806f
ddda55fcfc84ac5cd78cfc5c336a3df0b9096157
/drivers/hal/fm/FM33A0xx_HAL/SConscript
0a0392c9f48f9aae5ecbdab86877c156ad8ca896
[ "Apache-2.0" ]
permissive
liu-delong/lu_xing_xiang_one_os
701b74fceb82dbb2806518bfb07eb85415fab43a
0c659cb811792f2e190d5a004a531bab4a9427ad
refs/heads/master
2023-06-17T03:02:13.426431
2021-06-28T08:12:41
2021-06-28T08:12:41
379,661,507
2
2
Apache-2.0
2021-06-28T10:08:10
2021-06-23T16:11:54
C
UTF-8
Python
false
false
1,519
import osconfig from build_tools import * # get current directory pwd = PresentDir() # The set of source files associated with this SConscript file. src = Split(''' FM33A0xx_HAL_Driver/Src/fm33a0xx_aes.c FM33A0xx_HAL_Driver/Src/fm33a0xx_anac.c FM33A0xx_HAL_Driver/Src/fm33a0xx_btim.c FM33A0xx_HAL_Driver/Src/fm33a0xx_...
[ "cmcc_oneos@cmiot.chinamobile.com" ]
cmcc_oneos@cmiot.chinamobile.com
bdd1e985f8f65ddfde119fad57709df0f8f15b2e
e9e6a89c200f1800bf4fb6f1ef5ec4926efb2783
/mTRPO/mytrpo/util/__init__.py
007b858818d9cf8bd810bd4315067b639d345e78
[]
no_license
wwxFromTju/baselines_trpo
331d7ed6788ead30313834605a5a92165a4a4d32
5c01c5f40cc2f96c7c06da392292d01e3c99f3b8
refs/heads/master
2021-04-27T03:58:37.730940
2018-02-26T08:23:08
2018-02-26T08:23:08
122,723,607
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from mytrpo.util.normal_util import * from mytrpo.util.dataset import Dataset from mytrpo.util.normal_util import * def explained_variance(ypred,y): """ Computes fraction of variance that ypred explains about y. Returns 1 - Var[y-ypred] / Var[y] interpretation: ev=0 => might as well have pre...
[ "wxwang@tju.edu.cn" ]
wxwang@tju.edu.cn
f27edd291982fde6ab630cad2358fd98bfae178f
a35b24c8c3c5bdf861f3cda9396f2fa6795ec929
/abc/093/A.py
de1bd8b4e45dfc6460741234fe47dc34d4c5658d
[]
no_license
Msksgm/atcoder_msksgm_practice
92a19e2d6c034d95e1cfaf963aff5739edb4ab6e
3ae2dcb7d235a480cdfdfcd6a079e183936979b4
refs/heads/master
2021-08-18T16:08:08.551718
2020-09-24T07:01:11
2020-09-24T07:01:11
224,743,360
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
def main(): s = list(input()) s_num = len(set(s)) if s_num == 3: print('Yes') else: print('No') if __name__ == "__main__": main()
[ "4419517@ed.tus.ac.jp" ]
4419517@ed.tus.ac.jp
97c4cf3325b10b0c2e3d9b74f8bc1b85d3ada71f
48d820d4bd6a433c2b0fdb0dcb7657b62db050bf
/Training_Work/odoo_backup_wfo_till_april/custom_addons/college_portal/models/clg_students.py
905875d5741165343d2a34ec60aba5c89829b26e
[]
no_license
dhruv-aktiv/training_task_data
1a30580a512aa4831fb547b250faffff11f7e008
3d8b25ca812e876a484d387fc57272257322c85f
refs/heads/master
2023-06-07T07:06:04.193576
2021-07-01T04:37:13
2021-07-01T04:37:13
381,908,763
0
0
null
null
null
null
UTF-8
Python
false
false
7,032
py
import datetime import math import random import string from odoo import api, fields, models from odoo.exceptions import UserError, ValidationError class Clg_Student(models.Model): _name = 'clg.student.detail' _description = 'college student detail' user_name = fields.Char(string='User Name') name =...
[ "dhruv.s@icreativetechnolabs.com" ]
dhruv.s@icreativetechnolabs.com
06b13d5e00ab9ca1dbae55b35b9bdac815c1d6dc
448ae937e516e6c55f425068bad3da49d22fa138
/splendor/splendor_agents/utils/value_function.py
cfb39a2c5934f48661a6b37bf8227be35e585ee3
[]
no_license
TomaszOdrzygozdz/alpha_splendor
a1ef5048e4abb3794bffc40ef63591f8d0afe545
599f8c2969c4b544d2c28dfef0720ecc7b025884
refs/heads/master
2022-07-16T19:01:06.821146
2020-05-16T09:44:05
2020-05-16T09:44:05
255,910,533
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
import numpy as np from splendor.envs.mechanics.enums import GemColor from splendor.envs.mechanics.gems_collection import GemsCollection from splendor.envs.mechanics.players_hand import PlayersHand from splendor.envs.mechanics.state import State class SplendorValueFunction: def __init__(self, points_to_win): ...
[ "tomeko314@gmail.com" ]
tomeko314@gmail.com
cb0fe887184287fd77edf97b0f52282926ab0e76
c7f98de17088cb4df6c171f1e76614beb1f4e0f7
/arachni.py
5a6680d220178ee70763a537f8274dbfa4ca8c90
[]
no_license
fryjustinc/ptf
6262ca5b94a43a51e984d3eee1649a16584b597b
ba85f9e867b65b4aa4f06b6232207aadac9782c9
refs/heads/master
2020-03-31T09:43:44.474563
2018-10-08T18:39:03
2018-10-08T18:39:03
152,107,950
0
0
null
2018-10-08T16:00:37
2018-10-08T16:00:37
null
UTF-8
Python
false
false
247
py
#!/usr/bin/env python ##################################### # Installation module for arachni ##################################### AUTHOR="Justin Fry" INSTALL_TYPE="GIT" REPOSITORY_LOCATION="https://github.com/arachni/arachni" LAUNCHER="arachni"
[ "fryjustinc@gmail.com" ]
fryjustinc@gmail.com
bac416402c5c026b1181313d94a98c6fdfb8be29
19f52d4aeffe31e697532f08710498789a46dd6e
/keras_to_tensorflow.py
c6ea297a3d533457339e44a2ff04a0e0ec8b1990
[]
no_license
maxwellchang7777/keras_to_tensorflow
4ae6b9aa6e62f0ccf66c35f84cb0aeebaa274f39
efbf5c9148d76ffba0174c2dd8856d687f14666b
refs/heads/master
2020-05-07T16:22:37.678241
2018-08-02T05:52:14
2018-08-02T05:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,849
py
# This file shows how to save a keras model to tensorflow pb file # and how to use tensorflow to reload the model and inferece by the model from keras.models import Sequential from keras.layers import Dense import tensorflow as tf import numpy as np np.random.seed(0) # parameter ========================== wkdir = '...
[ "pipidog@gmail.com" ]
pipidog@gmail.com
1917d5e820f4f39ad62dbc6f420e55495043a206
47deebe6fefedb01fdce5d4e82f58bb08f8e1e92
/python core/Lesson_5/for_7.py
839845eb70264bad5d73d981ad0125b5f2b7abcd
[]
no_license
developeryuldashev/python-core
5bb162603bdb5782acf05e3fb25ca5dd6347067a
08fca77c9cfde69d93a7875b3fb65b98f3dabd78
refs/heads/main
2023-08-21T03:33:12.160133
2021-10-19T04:56:53
2021-10-19T04:56:53
393,383,696
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
a,b=2,5 s=0 for i in range(a,b+1): s+=i print(s)
[ "81365808+developeryuldashev@users.noreply.github.com" ]
81365808+developeryuldashev@users.noreply.github.com
09506b373f9c63284be54f45bcd1193d7bbc4926
0a06c52144f184e939ed8a3ec16af601447e4247
/course13/cnn.py
7f1575f6de3a4f40aaaea75e8aa37756b056dc47
[ "Apache-2.0" ]
permissive
fengxiang2/PaddlePaddleCourse
7dd88dc13e9b5f5f7f27db2b155fe4f1adcf22e4
1b94da406884f8a0da22e471e6b9b6a4dec80e45
refs/heads/master
2022-08-01T11:25:39.915680
2020-05-22T13:25:23
2020-05-22T13:25:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
import paddle class CNN(paddle.nn.Layer): def __init__(self): super(CNN, self).__init__() # 定义每个网络的结构 self.conv1 = paddle.nn.Conv2D(num_channels=1, num_filters=20, filter_size=5, act="relu") self.conv2 = paddle.nn.Conv2D(num_channels=20, num_filters=50, filter_size=5, act="relu") ...
[ "yeyupiaoling@foxmail.com" ]
yeyupiaoling@foxmail.com
9d69e20c1c5183ae8488d661cee4a8cbe6a71acb
eeb4752a22ef99152784c0ef6f720f8e4f2dd9d9
/myrest/app_one/migrations/0005_citycount_town.py
cd723eb747bb4c43d5b22164ea2eae5ccf036ceb
[]
no_license
borko81/django-rest-test
9a63d328fea8155029bb3d1d29ab624ea4a0027b
e21d41494154622c2472b679df40d5f42d8ab356
refs/heads/main
2023-08-05T22:36:10.099746
2021-09-10T17:54:20
2021-09-10T17:54:20
318,290,143
0
0
null
2021-08-23T18:51:22
2020-12-03T18:53:44
Python
UTF-8
Python
false
false
509
py
# Generated by Django 3.2.5 on 2021-08-24 11:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app_one', '0004_citycount'), ] operations = [ migrations.AddField( model_name='citycount', ...
[ "bstoilov81@gmail.com" ]
bstoilov81@gmail.com
a6e43e86f8947ff4ae23fbc52d8d92d2a3caa805
e9747b8f6c487e983e9c1fe866ddf3c149130b73
/corefit/__init__.py
521bece7ac2076d22cbd3745beb878d221f05695
[]
no_license
redcliver/corefit
f25974edfb2f7e697b7ced92a7617cc3004a5276
ed9713f48588db7c2598c3ba4a9bda17054eea85
refs/heads/master
2022-12-10T04:11:03.646857
2018-07-31T15:18:59
2018-07-31T15:18:59
136,400,693
0
0
null
2022-06-27T16:58:03
2018-06-07T00:32:43
CSS
UTF-8
Python
false
false
29
py
""" Package for corefit. """
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
7710833890b0049ceaa60b65b07edcb3846bd339
fbcdb3e66f9fce9bf8596ae9f28e14ad23da30a2
/template/office/OleFileIO_PL.py
10d50608d141383a986f4fa7917fcd9809c961d1
[ "BSD-2-Clause" ]
permissive
arizvisa/syringe
38349e6ff81bc1d709d520b8a8d949a47a3b5f6c
e02b014dc764ed822288210248c9438a843af8a9
refs/heads/master
2023-08-18T11:44:50.096141
2023-08-16T21:15:58
2023-08-16T21:15:58
22,565,979
36
9
BSD-2-Clause
2021-05-24T19:38:31
2014-08-03T03:24:16
Python
UTF-8
Python
false
false
69,855
py
#!/usr/local/bin/python # -*- coding: latin-1 -*- """ OleFileIO_PL: Module to read Microsoft OLE2 files (also called Structured Storage or Microsoft Compound Document File Format), such as Microsoft Office documents, Image Composer and FlashPix files, Outlook messages, ... version 0.22 2012-02-16 Philippe ...
[ "arizvisa@gmail.com" ]
arizvisa@gmail.com
68a84d7927a983eaa34d6441082611ceb533e83c
ce661026009d622db924080d85ab529f1cae6b60
/projecteuler.net/23.py
f7409566c21916e771943acbeec9b7d44db05cd5
[]
no_license
predavlad/projecteuler
d54f5d85ab0133b19b54b4168990b90f09a0184c
58e1637733bb7e01e44bfac707353ecfe84d9b19
refs/heads/master
2021-01-23T15:29:26.257019
2019-02-09T10:11:23
2019-02-09T10:11:23
12,952,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
import time import math # 0.13 seconds start_time = time.time() def proper_divisors(n): """ Get the proper divisors from a number """ yield 1 for i in xrange(2, int(math.sqrt(n)) + 1): if n % i == 0: yield i if i != n / i: yield n / i def is_abund...
[ "preda.vlad@yahoo.com" ]
preda.vlad@yahoo.com
33f4a2ddbfd17a19e3cf63627ca85e66d784c4d3
2e8d5422aba03edc10154225db2fc39af5e98660
/Code/GUI/OnscreenDebugger.py
89a939ac9c3029852a4b2d118d46dc23f8bd26d2
[ "MIT" ]
permissive
MYheavyGo/RenderPipeline
f500611bef020f45ac63023df206f978be887fc5
70002e71c25ba93f05c73d041943d07eb639641c
refs/heads/master
2021-01-15T14:49:58.756014
2016-01-18T15:59:14
2016-01-18T15:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,818
py
""" RenderPipeline Copyright (c) 2014-2015 tobspr <tobias.springer1@gmail.com> 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 rights to use...
[ "tobias.springer1@googlemail.com" ]
tobias.springer1@googlemail.com
ee87b98fe00950d2fccbf4df732138303f77f39e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03072/s818698477.py
c7275aa061f307cff2975d269d354c5e089d5fde
[]
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
133
py
N = int(input()) H = list(map(int,input().split())) M = 0 ans=0 for h in H: if h >= M: ans+=1 M = max(M,h) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1f9d57a3e79928061f3a9b6b6b38bb612649af94
84a3adb95d4c3340c266fd9ec0d19000f362e11f
/infoarena/ninja/tests.py
7e527c09e2860e9312fbfcc8f8d5391b343fb02b
[]
no_license
lavandalia/work
50b4b3eb4a63a5a0d0ab8ab4670d14ecb3d71293
a591adfd2fd2ff0fa8c65dc5829a15bc8cc60245
refs/heads/master
2020-05-01T02:25:31.229379
2017-12-17T08:39:32
2017-12-17T08:39:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
TESTS = [ (5, 5, 5), (300, 300, 300), (2000, 2000, 2000), (20000, 20000, 20000), (30000, 30000, 30000), (40000, 40000, 40000), (50000, 50000, 50000), (60000, 60000, 60000), (100000, 100000, 100000), (100000, 100000, 100000) ] from subprocess import call for index, test in enume...
[ "budau.adi@gmail.com" ]
budau.adi@gmail.com
a4256da30bcf07a2710b53136e6c4e96dbe16327
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/construct2DArray.py
9453894a5ac8b86e076004c0a69fce6ab2f1a457
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
from typing import List class Solution: def construct2DArray(self, original: List[int], m: int, n: int) -> List[List[int]]: if len(original) != n * m: return [] out = [] idx = 0 for i in range(m): tmp = [] for j in rang...
[ "zzz136454872@163.com" ]
zzz136454872@163.com
384064fb13891aac627fd125777d42fd016ce307
237fe532664c70630da4ca9e668cd18e2f28e6d4
/epi/palindrome_decomposition.py
e40e36693a88f293dc2913198ca385d9c1f1fe15
[]
no_license
mkebrahimpour/DataStructures_Python
5ef889dbaa2f3754cd787866420bd36b9856404a
f18f6683f07b5d68f736bbc70908655a3939bcdc
refs/heads/master
2022-01-09T07:09:08.989769
2019-06-24T20:46:07
2019-06-24T20:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Mar 13 16:38:52 2019 @author: sbk """ def palindrome_decompositions(input): def directed_palindrome_decompositions(offset, partial_partition): if offset == len(input): result.append(list(partial_partition)) print(res...
[ "shantu24@gmail.com" ]
shantu24@gmail.com
c1d53722ccc6b61714dbf2b08bf85faf6024b8cf
0c325cf7a68ef51067ed8db566d525a20de5b635
/other/panda365/panda365/migrations/versions/1f74ea45e765_add_is_active_and_publish_at_to_post.py
a706c6531a52ee8d8ae265bcd2ab9bf7b0d0dfa2
[]
no_license
alinzel/NOTES
2ab6aa1ef1d601a9ae8c0d23c0df2bca7e1aa241
3e0594641a605580e920d0b08a251fbc99f34e2f
refs/heads/master
2023-01-08T22:48:30.762625
2020-01-17T09:14:47
2020-01-17T09:14:47
175,339,492
0
0
null
2022-12-27T15:01:19
2019-03-13T03:28:08
HTML
UTF-8
Python
false
false
800
py
"""add is_active and publish_at to post Revision ID: 1f74ea45e765 Revises: 5ad67785ca96 Create Date: 2017-04-26 17:28:40.186993 """ from alembic import op import sqlalchemy as sa from sqlalchemy_utils import ArrowType # revision identifiers, used by Alembic. revision = '1f74ea45e765' down_revision = '5ad67785ca96' ...
[ "944951481@qq.com" ]
944951481@qq.com
6d8a82a5a8833a9f27e3ea2ad21a97d0aa04612c
0b83750815203a0b0ce46e9d7d7baa474042072b
/helper/sidebar.py
c26d4b0dd0ba08d6fd589b832722626dea780890
[ "LicenseRef-scancode-public-domain" ]
permissive
hanya/SidebarByMacros
735ff808b0cb122613c7e2ab7d53b238cef82a08
a7bbf394d868d29f094fefcef612231558260832
refs/heads/master
2021-01-01T05:02:11.767717
2016-05-13T13:27:06
2016-05-13T13:27:06
58,472,020
0
0
null
null
null
null
UTF-8
Python
false
false
6,958
py
import uno import unohelper from com.sun.star.beans import PropertyValue from com.sun.star.beans.PropertyState import DIRECT_VALUE from com.sun.star.container import XNameContainer, NoSuchElementException, ElementExistException from com.sun.star.lang import XServiceInfo, \ IllegalArgumentException from com.sun.st...
[ "hanya.runo@gmail.com" ]
hanya.runo@gmail.com
4f487f55673637fbd76eb531e993577af21b5650
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/paused/05. bk old/1.05 rule is class again/bw/field.py
28716f9f153ed2ee767cb7a4f1ab450d64d25325
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
3,514
py
#!/usr/bin/python # -*- coding: iso-8859-1 -*- ''' msarch@free.fr * aug 2014 * bw-rev105 this is the pyglet engine. - displays cells on windows redraws - cycle through rules at each clock tick ''' ##---IMPORTS ------------------------------------------------------------------ from itertools import izip from pygle...
[ "msarch@free.fr" ]
msarch@free.fr
a6853dc9a6c90720932e56e043d48372eb710b4b
681566c88f834bd05cfb85a6acfd218429a24edd
/notes/middleware.py
98ceffd6d154480c43355f781a62309c74f05891
[]
no_license
cmwaura/social-site
7eaaa03ee2aef0a5a8ef4612ee0c15a135b344f7
d90b34334b873ac2fecb7e30b40e3d295b2dd5b7
refs/heads/master
2023-07-06T11:05:55.273126
2016-12-08T03:09:10
2016-12-08T03:09:10
70,009,809
1
0
null
2023-09-04T23:24:30
2016-10-04T21:56:54
Python
UTF-8
Python
false
false
737
py
from django.contrib.auth.decorators import login_required from django.conf import settings EXCEPTION_URL_SUFFIX_LIST = getattr(settings, 'LOGIN_EXCEPTION_URL_SUFFIX_LIST', ()) class LoginRequiredMiddleware(object): def process_view(self, request, view_func, view_args, view_kwargs): # This middleware is meant t...
[ "cmmwaura@ucdavis.edu" ]
cmmwaura@ucdavis.edu
105190afe7758cee2983dd93d88db6cc7c9e51c6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_stares.py
ef0bb31379fcba9a8dc76e5d0d0f105e0183914f
[ "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
231
py
from xai.brain.wordbase.verbs._stare import _STARE #calss header class _STARES(_STARE, ): def __init__(self,): _STARE.__init__(self) self.name = "STARES" self.specie = 'verbs' self.basic = "stare" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d1d77c85b19504b9143576ea2c21d7802b398570
54d970eadb0dca9889a6bf4c7fa103031783a43d
/leetcode/169.majority_element.py
099a6c0c837a09c6c067064062153bc6cf2c4c55
[]
no_license
swq90/python
54229319dd578a2f889bf47da2263bb35e1bc2b9
b1f659aa01bb8409c96509a0debcdfaf38a19192
refs/heads/master
2021-06-27T14:44:46.699735
2021-02-16T05:53:39
2021-02-16T05:53:39
185,103,423
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: int """ l = set(nums) c = len(nums)/2 for n in l: count = 0 for x in nums: if n == x: count += 1 ...
[ "shaowenqin620@163.com" ]
shaowenqin620@163.com
52d16af1565f1f746240cb09fe927511550c7b61
d24a7cbbff1dea9d9a53b10138e73d05eafe0f4e
/mezzanine/__init__.py
72097f1b321486ba998344049174d5535189ada3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
mminarick/mezzanine
d2d805bad00948421a3ca9bd60beaab131ac9165
840e776f5c88ba9529a0a9b1ffcd7ee35f356d1c
refs/heads/master
2020-12-24T19:50:19.141277
2013-04-09T13:47:45
2013-04-09T13:47:45
9,339,503
1
0
null
null
null
null
UTF-8
Python
false
false
23
py
__version__ = "1.4.5"
[ "steve@jupo.org" ]
steve@jupo.org
25ebc922e6616ba71700b599a476ca5be37faf97
97aa5f503e420422a29fb7ffcf0a7cd3f871915d
/beetween_eyes.py
6783d751cb3929b5deb3db01badc3c178b499a94
[]
no_license
LeGrosLezard/synergo_depot_2
d3e82656f15141b2cee25c312ec942727d0cabfa
c751200ccad2cf4b6503be529bc0ec3b43f57e2d
refs/heads/master
2021-02-13T22:19:15.560484
2020-03-08T01:47:36
2020-03-08T01:47:36
244,739,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
import cv2 import numpy as np import threading import math def extremums(c): xe = tuple(c[c[:, :, 0].argmin()][0]) #left ye = tuple(c[c[:, :, 1].argmin()][0]) #right we = tuple(c[c[:, :, 0].argmax()][0]) he = tuple(c[c[:, :, 1].argmax()][0]) #bottom return xe, ye, we, he def mak...
[ "noreply@github.com" ]
LeGrosLezard.noreply@github.com
e26eb4ebcbe9aeb7189a193c9f0a67a9fb994c6d
aa4f2cfb001026c17e89af2b304acc4b80a3c638
/assignment1/q4_sentiment.py
42d9bc7a3528797d36c22a03aed74b5e548a7236
[]
no_license
PanXiebit/standford-cs224d
3b15077f99908708605758c592eebc1515fb2440
e68497823213eb71467eaac09effff9f1b4bba20
refs/heads/master
2020-03-15T06:51:47.063509
2018-05-11T01:03:26
2018-05-11T01:03:26
132,016,982
0
1
null
null
null
null
UTF-8
Python
false
false
4,225
py
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt from cs224d.glove import * from cs224d.data_utils import * from q3_sgd import load_saved_params, sgd from q4_softmaxreg import softmaxRegression, getSentenceFeature, accuracy, softmax_wrapper # Try different regularizations and ...
[ "ftdpanxie@gmail.com" ]
ftdpanxie@gmail.com
0c01af511f45a461139ffb51b4b91df3b226045d
1d892928c70ee9ddf66f2a37a8e083d2632c6e38
/nova/virt/vmwareapi/vim.py
d8684ce7c9956a1181363d0dcada19589839e258
[ "Apache-2.0" ]
permissive
usc-isi/essex-baremetal-support
74196c3f1332ee3cdeba9c263faff0ac0567d3cf
a77daf8ef56cf41e38de36621eda25ed3f180156
refs/heads/master
2021-05-19T03:12:11.929550
2020-07-24T14:15:26
2020-07-24T14:15:26
4,702,421
0
1
Apache-2.0
2020-07-24T14:15:27
2012-06-18T15:19:41
null
UTF-8
Python
false
false
7,619
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 Citrix Systems, Inc. # Copyright 2011 OpenStack 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 # # htt...
[ "dkang@isi.edu" ]
dkang@isi.edu
c9f2f3fecb1bc630117de97f47fd2588970698d8
d5fcdea2f2f78bc3fcf39bdf34c8067238edce2c
/qxh/homework20201104/code.py
ede33d99b15778f5153a4cf55dc37b5382d8011f
[]
no_license
ophwsjtu18/ohw20f
a5a6f4d262f48ddc8332838f344c86ec0636b7d4
03d7067f0e645338b84410ff13a77d495bec661e
refs/heads/main
2023-02-04T21:20:21.123617
2020-12-25T09:00:04
2020-12-25T09:00:04
303,941,346
4
6
null
2020-10-14T10:51:15
2020-10-14T07:49:18
null
UTF-8
Python
false
false
728
py
import cv2 import random import numpy as np print("hello") img=cv2.imread("cat.png") imgold = img.copy() point = 0 def mouse(event,x,y,flags,param): global point,curr if event == cv2.EVENT_LBUTTONDOWN: if i*50<=x<=(i+1)*50 and j*50<=y<=(j+1)*50: point = point+1 print(point) ...
[ "noreply@github.com" ]
ophwsjtu18.noreply@github.com
da8acf861f954643451cf1d9718c382e4e8c9b8d
0881fa0aa942f556466cb62f2b3936b1da96e99f
/IPTVplayer/icomponents/ihost.py
2e675be096008fb8453a66d142bc676138ff2694
[]
no_license
persianpros/crossplatform_iptvplayer
da12ca83dbef81baff7cb77e3c3070890dcbc4c5
89543b9e04ac6aa2bd050355f8b853d6e2aa76f6
refs/heads/master
2020-03-31T13:32:19.606428
2018-06-27T08:36:37
2018-06-27T08:36:37
152,259,962
2
0
null
2018-10-09T13:54:11
2018-10-09T13:54:11
null
UTF-8
Python
false
false
34,143
py
## @file ihost.py # ################################################### # E2 GUI COMMPONENTS ################################################### from Plugins.Extensions.IPTVPlayer.dToolsSet.iptvplayerinit import TranslateTXT as _, GetIPTVNotify from Plugins.Extensions.IPTVPlayer.icomponents.asynccall import MainSess...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
7f260eaba2132e0e7ef19adf23a3ee754a689496
54a745510b16111f5e5f610a07be49ea1e79fccf
/ML/03matplotlib.py
51a928da6ca02165ed7cea4fd31ebabc6c2b90fe
[]
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
5,621
py
# matplotlib # 파이썬의 대표적인 시각화 도구 # numpy 기반으로 만들어진 다중 플랫폼 데이터 시각화 라이브러리 # 하지만, 시간이 지남에 따라 인터페이스와 스타일이 고루해짐 # R의 ggplot처럼 세련되고 새로운 도구의 출현을 기대함 # 후추 깔끔하고 현대적인API로 무장한 seaborn 패키지 탄생 import numpy as np import pandas as pd import matplotlib.pyplot as plt # 주피터노트북에서 matplotlib를 이용한 그래프 그리기 # %matplotlib inl...
[ "noreply@github.com" ]
SonDog0.noreply@github.com
e5398d21f5c7efbfb78f9baabca55243340adfa6
6b1b506139088aa30de9fd65cff9e3b6a3a36874
/sofia_redux/toolkit/fitting/tests/test_polynomial/test_linear_evaluate.py
f32c3f8d35bf59b46ec924a4f754f12ce4960ec4
[ "BSD-3-Clause" ]
permissive
SOFIA-USRA/sofia_redux
df2e6ad402b50eb014b574ea561734334d70f84d
493700340cd34d5f319af6f3a562a82135bb30dd
refs/heads/main
2023-08-17T11:11:50.559987
2023-08-13T19:52:37
2023-08-13T19:52:37
311,773,000
12
2
null
null
null
null
UTF-8
Python
false
false
1,486
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst import numpy as np import pytest from sofia_redux.toolkit.fitting.polynomial import linear_evaluate @pytest.fixture def data(): a = np.array([[3, 4], [5, 6.]]) b = np.array([7., 8]) out = np.array([3.5, 4.5])[None].T return a, b, out ...
[ "melanie.j.clarke@nasa.gov" ]
melanie.j.clarke@nasa.gov
f52d6c9450b0f7d1d43cf363370c7c348683e874
b2e1f29524122ccc3ff1fd477b2ff99502a9daf8
/games/spiders/ai.py
2a44d213de2808a2fb30d5fcdd7469c1addc35da
[ "MIT" ]
permissive
siggame/Joueur.py
c6b368d4e98b14652ae39640f50e94406696f473
02bb5788ed5d88d24eb21869a10c6e7292ee9767
refs/heads/master
2022-05-10T02:16:38.136295
2022-05-03T22:03:23
2022-05-03T22:03:23
31,439,144
4
40
MIT
2020-11-08T00:25:54
2015-02-27T21:06:17
Python
UTF-8
Python
false
false
3,454
py
# This is where you build your AI for the Spiders game. from joueur.base_ai import BaseAI # <<-- Creer-Merge: imports -->> - Code you add between this comment and the end comment will be preserved between Creer re-runs. # you can add additional import(s) here # <<-- /Creer-Merge: imports -->> class AI(BaseAI): "...
[ "jacob.t.fischer@gmail.com" ]
jacob.t.fischer@gmail.com
410a61537fa54d53fcf8a0c953c45f4eb9b659f9
5d23e3a9b39f49d93c65dde4cd17e5e2f786283b
/scholariumat/products/behaviours.py
ddabf3ef553e62d23a8371636c7374fdc475fc2d
[ "MIT" ]
permissive
MerlinB/scholariumat
aa22b59e6ebd1cde2edf00604d9102fe96b60c8a
7c4e2bfbf3556877a856101966b591a07b4f809f
refs/heads/master
2021-06-27T21:34:28.816791
2018-12-01T19:42:16
2018-12-01T19:42:16
135,583,822
0
0
null
2018-05-31T12:57:03
2018-05-31T12:57:03
null
UTF-8
Python
false
false
3,918
py
import logging from django.db import models from django.conf import settings from django_extensions.db.models import TimeStampedModel, TitleSlugDescriptionModel from framework.behaviours import PermalinkAble logger = logging.getLogger(__name__) class ProductBase(TitleSlugDescriptionModel, TimeStampedModel, Permal...
[ "merlin.buczek@gmail.com" ]
merlin.buczek@gmail.com
f77a2bbf6ec372015fb299a16ac565a2c225233e
fa45fe7eaba7ef7c27ecf95db7c460ca189ce0d4
/everydays/BookBeingRead/python高级编程/day3.2.py
4965680592d853a9dd4d1fe9cb00722b7e7f8b18
[]
no_license
jake20001/Hello
be1a2bb5331f2ad4c1d8f30c6a9a530aff79e605
08217871bb17152eb09e68cd154937ebe5d59d2c
refs/heads/master
2021-07-10T09:48:15.883716
2021-04-23T14:49:03
2021-04-23T14:49:03
56,282,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,445
py
# -*- coding:utf-8 -*- # ------------------------------- # ProjectName : autoDemo # Author : zhangjk # CreateTime : 2020/12/3 16:02 # FileName : day3.2 # Description : # -------------------------------- class User(object): def __init__(self,roles): self.roles = roles class Unauthorized(Exception): pa...
[ "jianke.zhang@beantechs.com" ]
jianke.zhang@beantechs.com
f6e12755ec63191bca0bd30de980e0252d7aa5c0
34e3eaae20e90851331f591d01c30fa0b9e764ef
/tools/tensorflow_docs/api_generator/report/linter.py
75d0fee81dc277881ec98d195ef944f01319766a
[ "Apache-2.0" ]
permissive
nherlianto/docs
9860eeda0fe779709c455b2636c7337282a35d72
be8ac03d73a77d3b71ba2b42849d2169c1d7d100
refs/heads/master
2023-01-04T01:12:01.782815
2020-10-29T17:09:04
2020-10-29T17:09:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,474
py
# Lint as: python3 # Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
ce8b66aa9979fcf3c606a1dbef6946caea8ede6c
213ded9295d50b8133ae31ad2682240338406b60
/while.py
f6ad2f212463b5f02ce32ba506038c9fb7876caf
[]
no_license
Rayhun/python-learning-repository
16b15f87089c02cb7ff2a109fe17301618c05794
45d72da422554f66a4673e105ee7d066264efd7b
refs/heads/master
2022-12-13T16:27:15.708590
2020-09-18T19:13:12
2020-09-18T19:13:12
294,159,873
3
0
null
null
null
null
UTF-8
Python
false
false
446
py
''' while loop ''' # i = 1 # loop starting value # summation = 0 # 15, 5 # while i < 5: # summation += i # i = i + 1 # in, dec # print(summation) st_num = 0 # while st_num < 5: # print("bd cse solved") # st_num = st_num + 1 # while st_num < 5: # st_num = st_num + 1 # if st_num == 4: # continue # print...
[ "rayhunkhan27@gmail.com" ]
rayhunkhan27@gmail.com
d2ddfb5a4d5f689f2730abb4fadaa996d34416e4
3fa4a77e75738d00835dcca1c47d4b99d371b2d8
/backend/pyrogram/raw/functions/channels/delete_history.py
88e0739de6c429f863509cd3616f2468ef250217
[ "Apache-2.0" ]
permissive
appheap/social-media-analyzer
1711f415fcd094bff94ac4f009a7a8546f53196f
0f9da098bfb0b4f9eb38e0244aa3a168cf97d51c
refs/heads/master
2023-06-24T02:13:45.150791
2021-07-22T07:32:40
2021-07-22T07:32:40
287,000,778
5
3
null
null
null
null
UTF-8
Python
false
false
2,338
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2021 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram 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...
[ "taleb.zarhesh@gmail.com" ]
taleb.zarhesh@gmail.com
514a5ddb17a13c84b2e606804ea6b986afb8f6b8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/305/usersdata/281/69192/submittedfiles/formula.py
5f040c2823eaf58bd6a6efc57b12488619d593ba
[]
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
221
py
# -*- coding: utf-8 -*- print('Digite tres números') p=float(input('1° número:')) print(p) i=float(input('2° número:')) print(i) n=float(input('3° número:')) print(n) v=float(input(p*(((1+i)**n)-1)/i)) print(v%2f)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b09b228f492342f49e0bc8e90b2c5a1e1527fb2d
5cbb0d3f89450fd1ef4b1fddbbb1ef1a8fb7fd16
/tdd/code/show_cov.py
93195abf586d237dffc5acbe393b03909c09dc41
[]
no_license
AndreaCrotti/ep2013
e259eb6223faf74bb39324c9aa1101f439cf09a2
964b20ed9a331d0d59fe538ba47d7e0bc96ebc2b
refs/heads/master
2016-09-06T19:35:51.876432
2013-10-22T10:43:27
2013-10-22T10:43:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
import unittest def smart_division(a, b): """Run a 'smart' division """ if b == 0: raise Exception("Can not divide by 0") res = a / b back_res = res * b if back_res != a: return a / float(b) else: return res class TestSmartDivision(unittest.TestCase): pass ...
[ "andrea.crotti.0@gmail.com" ]
andrea.crotti.0@gmail.com
d941bcaa3bac8031b9b9e6017e3c41b7d18d1beb
c3cd0262e200926cf0f9e37091557da85e0de85e
/py/ch02/src/vm/__init__.py
55c98feca717c7b8dce711c34303f2cc8f3897a7
[]
no_license
luningcowboy/writelua
b860bc4cc701f9a96baf3d40a1995fe1cbef6523
323cdb99043ab0f9f7ec1c6650f23bf94117df8c
refs/heads/master
2022-12-18T21:48:45.821121
2020-09-25T08:19:22
2020-09-25T08:19:22
292,487,632
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#!/usr/bin/env python # -*- coding=utf8 -*- """ # Author: luning # Created Time : 一 9/14 13:34:42 2020 # File Name: src/vm/__init__.py # Description: """
[ "luningcowboy@gmail.com" ]
luningcowboy@gmail.com
b255e83582ef7fd606ae36ae4b594bf82c58a6bc
462137348c3013fd1f389ae23557425d22497b36
/24_days/Day 13/Question47.py
fd0d75f8edc99d6668feb2b0a2443d0585def719
[]
no_license
wmemon/python_playground
f05b70c50c2889acd6353ba199fd725b75f48bb1
3b424388f92f81d82621645ee7fdbd4ac164da79
refs/heads/master
2022-11-23T05:09:30.828726
2020-07-28T12:47:03
2020-07-28T12:47:03
283,192,556
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
""" Define a class named Circle which can be constructed by a radius. The Circle class has a method which can compute the area. """ class Circle(): def __init__(self, radius): self.radius = float(radius) def get_area(self): return float(3.14*self.radius ** 2) c1 = Circle('wasim') print(c1.g...
[ "wmemon100@gmail.com" ]
wmemon100@gmail.com
4d962f5ac69eb471a8b246a29da9df3570e14bfc
04c9243ddf81011fe980ffffd016f1770444b503
/send-mail/send_mail.py
96ac21e95fb2f6b98408e32f51eb0a07e97d9623
[]
no_license
wcl6005/Linux-Automated-Scripts
9880ed68fbcfdb9440b20186e784367a8dcc0a69
359e1673b47174c8b3edf9f0c57a4f9a45343481
refs/heads/master
2022-11-14T20:54:41.469457
2020-07-10T09:02:50
2020-07-10T09:02:50
278,578,879
1
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
# -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText def send_mail(email_user, email_pwd, recv, title, content, mail_host='smtp.163.com', port=25): ''' 发送邮件函数 username: 邮箱账号,发送者账号 xx@163.com passwd: 邮箱授权码(不是邮箱的登录密码,是邮箱授权码,参考:https://jingyan.baidu.com/article/c275f6ba33a95de33d7...
[ "wcl6005@163.com" ]
wcl6005@163.com
009c46ffdc0c2959f6a1fda0333f12363dd53a6c
1916dc66aa9710d9a7d4fab42c28c1c49e2f630c
/app_owner/migrations/0003_auto_20210316_1712.py
a588828181da6c46475f4d327bd773d18d5ef637
[]
no_license
robert8888/portfolio
8ce6c1be774666a58ee44379621c6a4515f64d37
a640b1a62810e4a5dd4f7e20fefc86dc3ca7851f
refs/heads/master
2023-06-03T23:28:53.888863
2021-06-25T13:11:28
2021-06-25T13:11:28
333,259,007
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# Generated by Django 3.1.5 on 2021-03-16 16:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app_owner', '0002_auto_20210316_1702'), ] operations = [ migrations.AlterField( model_name='con...
[ "robert.kami88@gmail.com" ]
robert.kami88@gmail.com
d9ffaffb2494e34a6811abee8d013faca8719020
5e4a25bce2f60ee87f580b64f62697ad9bbbaced
/0082-Remove-Duplicates-from-Sorted-List-II/solution.py
e7986f3383d5e0979f48e908d21137e835714085
[]
no_license
Glitch95/InterviewPrep
e729b88826a257699da9ea07493d705490da7373
b3a27d34518d77e1e4896af061f8581885ccfed0
refs/heads/master
2020-08-02T12:19:58.783302
2019-10-09T16:47:34
2019-10-09T16:47:34
211,348,489
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def deleteDuplicates(self, head): # Let's we a 2 pointer techinque to keep track of the start and end # of each distinct region. # We will a...
[ "kaleshsingh96@gmail.com" ]
kaleshsingh96@gmail.com
4b1da38a8480fbb833641d31f5880d580bc9abed
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/老王开枪/Demo37.py
277cd136e886303cb3e3572d5b36cebc8f598013
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
import time as tt tt.sleep(4) #main.py一般为程序最核心的py
[ "2101706902@qq.com" ]
2101706902@qq.com
193164d2c30cf5429adfce910325ef2fb3d82ef2
42c63d5f9c724c99ba93f77bdead51891fcf8623
/OpenStack-Mitaka-src/cinder/cinder/volume/drivers/emc/xtremio.py
d85b8763d22fc01cf8c9085eabb8ca52e7a6a366
[ "Apache-2.0" ]
permissive
liyongle/openstack-mitaka
115ae819d42ed9bf0922a8c0ab584fa99a3daf92
5ccd31c6c3b9aa68b9db1bdafcf1b029e8e37b33
refs/heads/master
2021-07-13T04:57:53.488114
2019-03-07T13:26:25
2019-03-07T13:26:25
174,311,782
0
1
null
2020-07-24T01:44:47
2019-03-07T09:18:55
Python
UTF-8
Python
false
false
41,939
py
# Copyright (c) 2012 - 2014 EMC 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 obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
[ "yongle.li@gmail.com" ]
yongle.li@gmail.com
9a5c1a76f2d449757f4893cf7b1e2dd10c04f45d
3406886ecbbed36bb47288a38eaab001a2b30417
/ya_glm/solver/FistaSolver.py
7ae58227df0224fd51239a55280bac13a3b70976
[ "MIT" ]
permissive
thomaskeefe/ya_glm
8d953f7444e51dfeaa28dcd92aaf946112ebc677
e6e1bbb915d15c530d10a4776ea848b331c99c3b
refs/heads/main
2023-06-21T15:08:33.590892
2021-07-30T00:57:49
2021-07-30T00:57:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,563
py
from copy import deepcopy from ya_glm.GlmSolver import GlmSolver from ya_glm.opt.penalty.vec import LassoPenalty, RidgePenalty, \ WithIntercept, TikhonovPenalty from ya_glm.opt.penalty.GroupLasso import GroupLasso from ya_glm.opt.penalty.mat_penalty import MultiTaskLasso, NuclearNorm, \ MatricizeEntrywisePen,...
[ "idc9@cornell.edu" ]
idc9@cornell.edu
f957d3f5869f27eab08c8095549202efedb9f536
34455fa21dd12b18dc4a352b85463c3db15f6bdf
/Ch02/02_04/02_05_Finish.py
cb7ceee14d6869054f1ffe62f1b16736ebcb801e
[]
no_license
CodedQuen/The-Python-3-Standard-Library
771abd26c0c39aa925d06b204bb600104a5bdd8f
5a9facc9fb2c1085e12fe4284fe593ef17609e13
refs/heads/master
2022-06-14T01:32:54.088505
2020-05-05T10:38:28
2020-05-05T10:38:28
261,428,534
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
# Statistics Module import statistics import math agesData = [10, 13, 14, 12, 11, 10, 11, 10, 15] print(statistics.mean(agesData)) print(statistics.mode(agesData)) print(statistics.median(agesData)) print(sorted(agesData)) print(statistics.variance(agesData)) print(statistics.stdev(agesData)) print(math...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
b5fe0395c5ac075049b045069e7b33185d734a95
367d2670c75d385d122bca60b9f550ca5b3888c1
/gem5/src/cpu/InstPBTrace.py
6f40f3a5e72b4ce051cc501b1858440b154a8243
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
Anish-Saxena/aqua_rowhammer_mitigation
4f060037d50fb17707338a6edcaa0ac33c39d559
3fef5b6aa80c006a4bd6ed4bedd726016142a81c
refs/heads/main
2023-04-13T05:35:20.872581
2023-01-05T21:10:39
2023-01-05T21:10:39
519,395,072
4
3
Unlicense
2023-01-05T21:10:40
2022-07-30T02:03:02
C++
UTF-8
Python
false
false
1,849
py
# Copyright (c) 2007 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use 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 ...
[ "asaxena317@krishna-srv4.ece.gatech.edu" ]
asaxena317@krishna-srv4.ece.gatech.edu
b76c6dbea5edc63bb1f6f5b25d92ee0136bb98fb
3344f02a57ec704acd58449502925b8f1ffc564b
/app/models.py
3748a6a8f3e0bc35adc59bd1c3d980946d372008
[ "MIT" ]
permissive
Jackson-coder-arch/One-minute-pitches
dcfad8f4bab22c133f15cb712df2d2f2b36a0ef0
2bbb9db1d709594f5465fce187e52198858bf5b6
refs/heads/master
2023-03-11T20:58:44.295780
2021-03-05T04:45:08
2021-03-05T04:45:08
342,477,785
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime class User(UserMixin,db.Model): __tablename__ = 'users' id = db.Column(db.Integer,primary_key = True) username = db.Column(...
[ "jacksonikonya@gmail.com" ]
jacksonikonya@gmail.com
81514d43a8d83c10edcfafd29865f09868f39d2f
f47fe8a7d8cd87b3bfa2e172b4a9fc93e3a4abc2
/2015/AST1/vezbovni/Ivan/drugi.py
2b511e0abfef1e8c327b2cdf308726281e5c262f
[]
no_license
ispastlibrary/Titan
a4a7e4bb56544d28b884a336db488488e81402e0
f60e5c6dc43876415b36ad76ab0322a1f709b14d
refs/heads/master
2021-01-17T19:23:32.839966
2016-06-03T13:47:44
2016-06-03T13:47:44
60,350,752
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
def obim(a, b): O = 2*a+2*b print("obim pravougaonika stranica", a "i" b, "je", O) return O prvi = obim(1, 2) drugi = obim(25, 36)
[ "ispast.library@gmail.com" ]
ispast.library@gmail.com