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
25e7256a2278380559a276d1b3e444401d66c3f7
14bca3c05f5d8de455c16ec19ac7782653da97b2
/lib/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py
ed95df565c96d745a54209552e5348bb1e35de08
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hovu96/splunk_as_a_service_app
167f50012c8993879afbeb88a1f2ba962cdf12ea
9da46cd4f45603c5c4f63ddce5b607fa25ca89de
refs/heads/master
2020-06-19T08:35:21.103208
2020-06-16T19:07:00
2020-06-16T19:07:00
196,641,210
8
1
null
null
null
null
UTF-8
Python
false
false
7,791
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteri...
[ "robert.fujara@gmail.com" ]
robert.fujara@gmail.com
71335d29712b442c9ce5d95ca32fd48dad3c6e99
0567fcd808397a7024b5009cc290de1c414eff06
/src/1470.shuffle-the-array.py
7f9045ee0e7612652fc26cad85239700fb747fbe
[]
no_license
tientheshy/leetcode-solutions
d3897035a7fd453b9f47647e95f0f92a03bff4f3
218a8a97e3926788bb6320dda889bd379083570a
refs/heads/master
2023-08-23T17:06:52.538337
2021-10-03T01:47:50
2021-10-03T01:47:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# # @lc app=leetcode id=1470 lang=python3 # # [1470] Shuffle the Array # # @lc code=start class Solution: # 80 ms, 50.80%. Time: O(N). Space: O(N). Could be better using Bit manipulation to make it O(1) Space # More here: https://leetcode.com/problems/shuffle-the-array/discuss/675956/In-Place-O(n)-Time-O(1)-Sp...
[ "trung.nang.hoang@gmail.com" ]
trung.nang.hoang@gmail.com
9aa148058532f77347a3c08339fbfbf260700c69
f1cb404ea95f4527ffeaf6a7fe8db9a2a1990f12
/scikits/cuda/misc.py
a09c4889cf06370693f6287df2d88d83901be156
[ "BSD-3-Clause" ]
permissive
sequoiar/scikits.cuda
c0821502b7dc90d818669e20f2fa1858f1a78e82
79b62904a726d45066351c38b4274b1ecc985e47
refs/heads/master
2020-12-25T07:39:47.594383
2011-03-30T14:39:20
2011-03-30T14:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,786
py
#!/usr/bin/env python """ General PyCUDA utility functions. """ import string from string import Template import atexit import pycuda.driver as drv import pycuda.gpuarray as gpuarray from pycuda.compiler import SourceModule import numpy as np import cuda import cublas import cula isdoubletype = lambda x : True if ...
[ "lev@columbia.edu" ]
lev@columbia.edu
d0a9e939c12148512e62d5cb50faeaf448f9dc4a
489d0c9b861e22dbb781c87c6e509bd2d04e783d
/codes/Feature Extraction/FeatureExtraction(3 features).py
d53977ab65b673c802b375f3f72da2e1d21612b3
[]
no_license
sameesayeed007/Prediction-of-Epileptic-Seizures-using-SVM-and-DSP
24af3755b4c2bd4646d05df52f4f306ed2902ab0
cdd972551f9cea1a90cc957f33ac656a09e48c9f
refs/heads/master
2022-06-19T00:10:38.822712
2020-05-10T16:59:23
2020-05-10T16:59:23
262,826,669
1
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
import numpy as np import scipy as sp import scipy.fftpack import pandas as pd from scipy.fftpack import fft, fftfreq, fftshift import statistics import scipy.fftpack thesis_final_files = ['chb01_21Final.csv','chb01_26Final.csv'] iterator = 0 while(iterator < len(thesis_final_files)) : file_name = thesis_fin...
[ "sameesayeed880@gmail.com" ]
sameesayeed880@gmail.com
a65d1a542c88c350b4f72b6ab7ca1593bca262a2
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/tensorflow/contrib/labeled_tensor/python/ops/sugar.py
a80c8809882161ab99456117a0e3bd46222439f1
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:bd2f92e1bb5733974c243de95a2275942d5c2567b858a4babde5074896e254c0 size 4821
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
310d466c5d33bc5941084acae385c83ac0b33b25
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/fc224d30443944ccb7072df9ef1a4e3b.py
e0bfc8d46549b897dc275dd321beb33d587074e7
[]
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
222
py
__author__ = 'shandr' def to_rna(dna): rna_list = [] dna_rna_map = {'G':'C','C':'G','T':'A','A':'U'} for letter in dna: rna_list.append(dna_rna_map[letter]) rna = ''.join(rna_list) return rna
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
258f78e6084bfc82db551b44bb0c9ecd4317def7
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/514-tideGauge.py
93ddf87ea463c8e4498d9c7309742f95dda401cf
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
fe80c401762a5612c00a9b27ab5506e10ff205c4
9979e352e8d823dec905395c0a6cc2488643ee01
/setup.py
3ba4688cada1e343051c62eb477533290e1adab1
[ "MIT" ]
permissive
ixc/django-polymorphic-auth
41f3cf1c99938e307c994937f4fcee7fb697eeea
690c5e78846b328ca1b60bd0e099fe622d40892d
refs/heads/master
2021-08-12T05:02:09.894776
2021-08-10T08:43:09
2021-08-10T08:43:09
34,054,086
6
5
null
2017-03-27T11:21:00
2015-04-16T12:19:40
Python
UTF-8
Python
false
false
1,542
py
from __future__ import print_function import setuptools import sys # Convert README.md to reStructuredText. if {'bdist_wheel', 'sdist'}.intersection(sys.argv): try: import pypandoc except ImportError: print('WARNING: You should install `pypandoc` to convert `README.md` ' 'to reSt...
[ "real.human@mrmachine.net" ]
real.human@mrmachine.net
9e2341741d513855fc4d31aeaaa513f7e4afcc37
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fabric/overallhealth1mo.py
ed96ae65a68fe255b301a63c23220117647ca8df
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
11,443
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
047af3c638c0799e259eb7a0f2cd21a6b047142e
694d57c3e512ce916269411b51adef23532420cd
/leetcode_review/292nim_game.py
6340cc3f2e071470d640c21b078b53bb3bfc6b4a
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
697
py
class Solution(object): # solution1, recursive solution, but not right def canWinNim(self, n, cacahe = {}): if n <= 0: return False if n <= 3: return True if n in cache: return cache[n] res = False for i in xrange(1, 4): if...
[ "seasoul410@gmail.com" ]
seasoul410@gmail.com
c53bc07c90f655c8c17449734bdd6286c1ea8898
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ehyZvt6AJF4rKFfXT_19.py
4d40bc67e85b8aa828032f74be858e3060b838e7
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
""" Someone has attempted to censor my strings by replacing every vowel with a `*`, `l*k* th*s`. Luckily, I've been able to find the vowels that were removed. Given a censored string and a string of the censored vowels, return the original uncensored string. ### Example uncensor("Wh*r* d*d my v*w*ls g*?", "ee...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
59a12bfbbecf0027560e12271513c1ee8de92ada
56b36ddf920b5f43e922cb84e8f420f1ad91a889
/Leetcode/Leetcode-Longest Common Prefix.py
9820848a27af5a14772e38c073f2718a3bc6f238
[]
no_license
chithien0909/Competitive-Programming
9ede2072e85d696ccf143118b17638bef9fdc07c
1262024a99b34547a3556c54427b86b243594e3c
refs/heads/master
2022-07-23T16:47:16.566430
2020-05-12T08:44:30
2020-05-12T08:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
class Solution: def longestCommonPrefix(self, strs: List[str]) -> str: s = "" l = len(strs) if strs == []: return "" if l == 1: return strs[0] if strs[0] == "": return "" for j in range(0, min(len(strs[0]), len(strs[1]))): if strs[...
[ "ntle1@pipeline.sbcc.edu" ]
ntle1@pipeline.sbcc.edu
32c08699894dee750fa8a1522197162dd670a0ab
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/ActivityDiscountVoucher.py
a78120116e8b61444048e09435bd6c059aa4c491
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
3,004
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class ActivityDiscountVoucher(object): def __init__(self): self._ceiling_amount = None self._discount = None self._floor_amount = None self._goods_name = None se...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
4b99b6d1673da8a70f3aa73976aa21a849dabad7
b637e53b36ad083575b161eaa8371f0cc11981a2
/apps/provincia/views.py
55a1aa707bfbd27a24ced0b9c850be99985ce008
[]
no_license
cienciometrico2017/cienciometrico2018v2.0
d7d014f858296aa262649696a4d3bfceb0b9afec
22e8800c921e8c4890c4f52c9826532364a99a68
refs/heads/master
2020-03-20T22:04:26.710351
2018-07-26T04:28:26
2018-07-26T04:28:26
137,777,699
0
0
null
null
null
null
UTF-8
Python
false
false
4,289
py
from django.shortcuts import render from django.core.urlresolvers import reverse_lazy from apps.provincia.form import ProvinciaForm from apps.provincia.models import provincia from django.views.generic import ListView, CreateView,UpdateView,DeleteView from apps.Investigador.models import Investigador from apps.roles.mo...
[ "danilomoya19@gmail.com" ]
danilomoya19@gmail.com
7f15ab1953b900545b0e54e272e970176f2d68b9
652a173173380629e92e8b4f85b5ded0fdf2e4bf
/venv/bin/sqlformat
528a9371f9fe88d746bd7dced7c4272e82e4113c
[]
no_license
Jethet/udemycourse-producthunt-project
d28908162a64880ae761a0160905fe32e8157f12
8d1564efa2335817ad0d05c649447e290a7786e8
refs/heads/master
2023-04-04T05:42:00.962786
2021-04-21T15:03:53
2021-04-21T15:03:53
197,566,411
0
0
null
2021-04-20T18:23:50
2019-07-18T10:32:51
Python
UTF-8
Python
false
false
271
#!/Users/henriettehettinga/GitHub/producthunt_project/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "henriette.hettinga@gmail.com" ]
henriette.hettinga@gmail.com
75cf96bd5078bb078561c71d9d602acf4f5bcce3
9af2312a1ea1abe1a9641b7ee578eb93828f8131
/TinySpider/01-bs4_test.py
8b19f2c2c105a2febc2a9d94afaaef28babf9d33
[]
no_license
Huangyan0804/Python
593df64fffe44822d38b3cab6f5ee7999802b8a9
6adcc342b658afcf805004b868ac0976b0fabed6
refs/heads/master
2020-06-04T13:27:56.235753
2020-02-20T15:13:31
2020-02-20T15:13:31
145,232,755
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
#print(a, b, c, d, e, f, g) def work(x, a, b): if x == 0: return a + b else: return work(x - 1, a * 2, a) t = int(input()) for i in range(t): n = int(input()) ans = work(n, int(1), int(0)) print(ans)
[ "gg48@qq.com" ]
gg48@qq.com
6343453a9fd07a76c848dbceb689b069e62f8cd2
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/tests/system/providers/airbyte/example_airbyte_trigger_job.py
c65df48a42ac826d5e6952344641a704118f592b
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
2,393
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
cfei18.noreply@github.com
9255ed7704219f5c9d9b65a22bcc4967c6e1f444
196f7e3238f961fb5eba7a794f0b0c75d7c30ba1
/Python编程从入门到实践3.6/c14/test14/ship.py
5b286547c1a1424e828a4a64df2276be4b6bc83b
[]
no_license
Liaoyingjie/Pythonlearn
d0b1b95110017af7e063813660e52c61a6333575
8bca069f38a60719acac5aa39bd347f90ab0bfb1
refs/heads/master
2020-04-08T07:35:07.357487
2018-04-12T16:44:43
2018-04-12T16:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,525
py
import pygame from pygame.sprite import Sprite class Ship(Sprite): #1264加入ai_settings 来控制加入的 速度 def __init__(self,ai_settings,screen): """初始化飞船且设置启动初始位置""" super(Ship,self).__init__() self.screen = screen self.ai_settings = ai_settings # 加载飞船且获取其外接矩形 ...
[ "godzoco@qq.com" ]
godzoco@qq.com
291e75936bd0c64c644451a8afeba47c13a350cb
6de40caa30577bdf7cc8d788781fd2622588cf1d
/w4/examples/shelter-demo/shelter/urls.py
7b7d8917340a2492154f386c1929a45e63b629cc
[]
no_license
momentum-cohort-2019-02/kb
ca42d4ff61a4cf08efb89bf0502788bd0eb7b648
ad8318712349600f6ab13c2a0a92a65b3ae04677
refs/heads/master
2020-04-21T13:05:52.246012
2019-04-17T14:17:39
2019-04-17T14:17:42
169,587,008
4
13
null
null
null
null
UTF-8
Python
false
false
982
py
"""shelter URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "clinton@dreisbach.us" ]
clinton@dreisbach.us
0ed744a294fa836def27d2717433779dc3f9dd53
0ad2458c85ce545b1d3a4b75dabe2c94ed8c2518
/pipeline/0x02-databases/32-update_topics.py
f0deec04f31ea17769b5ba4aaa8d63a85baf3b7f
[]
no_license
felipeserna/holbertonschool-machine_learning
fc82eda9ee4cb8765ad0ffb5fa923407b200480d
161e33b23d398d7d01ad0d7740b78dda3f27e787
refs/heads/master
2023-07-06T20:26:12.892875
2021-08-17T17:03:30
2021-08-17T17:03:30
317,288,341
0
1
null
null
null
null
UTF-8
Python
false
false
285
py
#!/usr/bin/env python3 """ Changes all topics of a school document based on the name """ def update_topics(mongo_collection, name, topics): """ Return: Nothing """ new_topics = {"$set": {"topics": topics}} mongo_collection.update_many({"name": name}, new_topics)
[ "feserna86@gmail.com" ]
feserna86@gmail.com
cf1c2910de8bd2db6d9e04af294d65f29c8da0d7
58d3a6720cd6ecc420db58de002f776f717ae77f
/Array/SplitAndAppend.py
a2d6da570b537d9edcc9c166b8d9888f4c379d5b
[]
no_license
Jaydeep-07/Python-Practice
786a4763caf0c7e9b1cf7ac6773c0ba3ccbc0d12
1aec7648fa47c7cd325d3f0f466ba440a3ec1808
refs/heads/master
2020-12-29T15:53:55.954878
2020-05-09T09:34:10
2020-05-09T09:34:10
238,659,815
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# Python program to split array and move first # part to end. def splitArr(arr, n, k): for i in range(0, k): x = arr[0] for j in range(0, n-1): arr[j] = arr[j + 1] arr[n-1] = x # main arr = [12, 10, 5, 6, 52, 36] n = len(arr) position = 2 splitArr(arr, n, position) for i in range(0, n): ...
[ "jaydeepvpatil225@gmail.com" ]
jaydeepvpatil225@gmail.com
b23610d4ed2d962655cbb3f9d94c100c44194741
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2t6NvMe27HtSmqC4F_16.py
72db51f2e725cbf6c80b069f070630cf0775452d
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
""" Write three functions: 1. boolean_and 2. boolean_or 3. boolean_xor These functions should evaluate a list of `True` and `False` values, starting from the leftmost element and evaluating pairwise. ### Examples boolean_and([True, True, False, True]) ➞ False # [True, True, False, True] => [True, F...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c94460f1f5fd13eedaf09959bd0a26cad54b92a0
b3a77d07f852bc865524120d9b3c40c691aa62b5
/slguerbetal/spiders/slguerbetal.py
99c0aa2792feb87f8a55d47a41a5df80777e0bb2
[]
no_license
daniel-kanchev/slguerbetal
0a6eb2efb5701a1f86556b75ae833dc90b4cc653
2984ce5983c92b809cdb173bae14ef0b179078a8
refs/heads/main
2023-03-11T19:32:12.199529
2021-03-01T09:35:41
2021-03-01T09:35:41
343,361,118
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import scrapy from scrapy.loader import ItemLoader from itemloaders.processors import TakeFirst from datetime import datetime from slguerbetal.items import Article class SlguerbetalSpider(scrapy.Spider): name = 'slguerbetal' start_urls = ['https://www.slguerbetal.ch/de/'] def parse(self, response): ...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
5b8ae701bdf1cbe048386291f6f3f6a2a33c0e76
3d54d60973f88e0ed1f6be1a03ca6c5fbd0d3244
/examples/dfp/v201403/label_service/get_all_labels.py
047731e06eb7e60616f2b8b70a2fb40be4e3721e
[ "Apache-2.0" ]
permissive
zyqkenmy/googleads-python-lib
52a4f9ef9eef0da9410c9c90322186bb7a8e408f
fb7d3c2c7c42cc1fc27a3d2bf97382e25f6a05c2
refs/heads/master
2020-02-26T13:55:31.186467
2014-03-13T20:51:33
2014-03-13T20:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
#!/usr/bin/python # # Copyright 2014 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 required b...
[ "api.jdilallo@gmail.com" ]
api.jdilallo@gmail.com
1c7b100b3994b57253d8a6156e045b977b28db37
25160eef36f911322c3b24c3e587d66c54cdf6a8
/iconset.py
934495bad32bac2b01f3fb5a8aa2e33f889fcb48
[]
no_license
asmikush111/september
7c8dd200cded9616e10f1e93b6aebe82b07e2196
8f058d10f5781b420d1a78df10c30a5eea01bedd
refs/heads/master
2020-09-05T15:28:56.310270
2019-11-05T09:56:09
2019-11-05T09:56:09
220,144,047
1
0
null
2019-11-07T03:31:06
2019-11-07T03:31:06
null
UTF-8
Python
false
false
167
py
from tkinter import * root=Tk() root.title("My Notepad") #title name root.wm_iconbitmap("notepad.ico") #to add icon mainloop()
[ "aswanibtech@gmail.com" ]
aswanibtech@gmail.com
d6370ed3821e8c3d3368fa8e7d799b6439b64044
65113128c2bd0bfe05db1c75776cee7a22ea98fd
/deadcode/firstmodel.py
583cbfe07d4db227a5311b3463e3df2471a52c7d
[]
no_license
taygrave/salad_tool
32a539f2fba3e9478d1277d5ec5d763e2defc4ce
fa01b3ac74ea41a21e7256552f3a1e4c1c6eebb0
refs/heads/master
2021-01-13T14:04:46.272323
2015-02-18T06:16:46
2015-02-18T06:16:46
30,062,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine from sqlalchemy import Column, Integer, String, DateTime, ForeignKey from sqlalchemy.orm import sessionmaker, scoped_session, relationship, backref import sqlite3 import csv Base = declarative_base() ENGINE = create_engine("...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
afa158c4929e3a0b8fa19183e2b7492a385cb1dd
25491d1b0b69911885b2ad00e9c1ef880f946ae1
/env/render.py
211bbb52bc24adfd441c4fd98670392d65e62329
[ "MIT" ]
permissive
hzheng40/distributed_es
106fe87ad2918f77c8e1803117bd2208835b520f
5f447eb3fd1159c0754dfe14e92640df75a9cde7
refs/heads/master
2022-06-05T22:23:43.395821
2020-05-03T19:38:12
2020-05-03T19:38:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
import time from argparse import Namespace from pathlib import Path from typing import Optional import click from badger_utils.sacred import SacredReader from utils.eval import simulate, build_policy_env from utils.sacred_local import get_sacred_storage @click.command() @click.argument('exp_id', type=int) @click.op...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
b9b442f95e158d2656877533a5b3a77333c6ed88
48bab55feaa39d8de6f05adc4dda42eab49906c6
/06 Condições (Parte 2)/ex041.py
01666f2bf170e31ea93347c9866da9dd9e9ae133
[]
no_license
bmsrangel/Python_CeV
1850e7aa23892a78ba88e566862c75772fa5dcb9
f08e28b2f0dd444a2963e97f3ac2a024a6c5cd6f
refs/heads/master
2022-12-21T01:10:13.950249
2018-11-23T21:08:12
2018-11-23T21:08:12
150,914,095
0
1
null
2022-12-18T15:04:56
2018-09-30T00:32:08
Python
UTF-8
Python
false
false
396
py
from datetime import date ano = int(input('Informe seu ano de nascimento: ')) atual = date.today().year idade = atual - ano print('O atleta tem {} anos'.format(idade)) if idade <=9: print('Categoria MIRIM') elif idade <= 14: print('Categoria INFANTIL') elif idade <= 19: print('Categoria JÚNIOR') elif idad...
[ "bmsrangel@hotmail.com" ]
bmsrangel@hotmail.com
da5d4a1feffa55183c27b747c21bfbf5719f647c
39a1d46fdf2acb22759774a027a09aa9d10103ba
/model-optimizer/extensions/front/HSigmoid_fusion.py
a898308d3a18042615ded67d8b969533938ff36e
[ "Apache-2.0" ]
permissive
mashoujiang/openvino
32c9c325ffe44f93a15e87305affd6099d40f3bc
bc3642538190a622265560be6d88096a18d8a842
refs/heads/master
2023-07-28T19:39:36.803623
2021-07-16T15:55:05
2021-07-16T15:55:05
355,786,209
1
3
Apache-2.0
2021-06-30T01:32:47
2021-04-08T06:22:16
C++
UTF-8
Python
false
false
7,183
py
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import numpy as np from extensions.front.AttributedClampNormalizer import AttributedClampNormalizer from extensions.ops.activation_ops import HSigmoid from mo.front.common.replacement import FrontReplacementSubgraph from mo.front.subgra...
[ "noreply@github.com" ]
mashoujiang.noreply@github.com
942be96b750114306413fc70537498dc6516768b
eb0711915d6bba2f765f052736e33ac9a9a397a6
/HE0435/write_file/write_glee/cre_HE.py
8a049dec0fc04d6215094467d842b6c3b5c71ad7
[]
no_license
dartoon/GL_HostGalaxy
cd2166f273ae7e0397a7d2d39f760ab59e86f014
7469f1c1e640d176a75cc6e9497920e494ad656a
refs/heads/master
2016-08-11T13:27:17.545360
2016-04-07T19:04:57
2016-04-07T19:04:57
46,524,027
1
0
null
null
null
null
UTF-8
Python
false
false
909
py
import numpy as np file1 = open('../../pylens/HE1104.txt','r') para = np.loadtxt(file1) file1.close() #for i in range(0,len(para)): # print para[i] t=np.empty(10) for i in range(0,len(para)): t[0]=para[i,0]/6*0.13 t[1]=para[i,1]/6*0.13 t[2]=para[i,2]/6*0.13 t[3]=para[i,3] t[4]=p...
[ "dingxuheng@mail.bnu.edu.cn" ]
dingxuheng@mail.bnu.edu.cn
f511d276f53a6a99d60aa772674abcbd95dfbdd2
656341483ae8abe8792942d26556fdd4ff5ca7a9
/ThriftAPI/gen_py_tmp/ShareSite/ncTShareSite-remote
0e4871e944bf763b963ec05cac4e9d552778344a
[]
no_license
GWenPeng/Apitest_framework
b57ded9be4ec896d4ba8e02e9135bc7c73d90034
ab922c82c2454a3397ddbf4cd0771067734e1111
refs/heads/master
2022-11-26T05:54:47.168062
2020-08-06T01:45:12
2020-08-06T01:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,156
#!/usr/bin/env python # # Autogenerated by Thrift Compiler (0.13.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # import sys import pprint if sys.version_info[0] > 2: from urllib.parse import urlparse else: from urlparse import urlparse from thrift.transport imp...
[ "gu.wenpeng@eisoo.com" ]
gu.wenpeng@eisoo.com
1ed68d4f010fc1efda84c9c1ab660821e4bb0cf4
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/ashvin/icml2020/hand/pen/gaussian2/mpo1.py
7ac527427c0596b9005378a26a524b4c5ff45d13
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
3,737
py
""" AWR + SAC from demo experiment """ from rlkit.demos.source.dict_to_mdp_path_loader import DictToMDPPathLoader from rlkit.launchers.experiments.awac.awac_rl import experiment import rlkit.misc.hyperparameter as hyp from rlkit.launchers.arglauncher import run_variants from rlkit.torch.sac.policies import GaussianP...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
955f09efc2087f336d4fb414c067ca7dfe26d279
386a5b505d77c9798aaab78495d0f00c349cf660
/Prognos Project/Working/Latiket Jaronde Git/DJango examples/templatedemo2/testapp/urls.py
0d1437daf76c61d1a5266b9babab9224eeb06d79
[]
no_license
namratarane20/MachineLearning
2da2c87217618d124fd53f607c20641ba44fb0b7
b561cc74733b655507242cbbf13ea09a2416b9e2
refs/heads/master
2023-01-20T18:54:15.662179
2020-03-09T14:12:44
2020-03-09T14:12:44
237,597,461
0
0
null
2023-01-05T12:37:12
2020-02-01T10:22:20
Python
UTF-8
Python
false
false
106
py
from django.urls import path from . import views urlpatterns = [ path('greeting/', views.greeting) ]
[ "namrata.ashok@impelsys.com" ]
namrata.ashok@impelsys.com
fdff8ee5169cf72046ed0e39b6a24863d1045a9b
49ba5356bdc5df7dd9803b56fe507c5164a90716
/integer-break/solution.py
856adbbae8712f49e4d57219672d2b09cd793fc3
[]
no_license
uxlsl/leetcode_practice
d80ad481c9d8ee71cce0f3c66e98446ced149635
d8ed762d1005975f0de4f07760c9671195621c88
refs/heads/master
2021-04-25T18:12:28.136504
2020-03-11T07:54:15
2020-03-11T07:54:15
121,472,384
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
class Solution: def integerBreak(self, n): """ :type n: int :rtype: int """ record = {1: 1} for i in range(2, n + 1): record[i] = 1 for j in range(1, (i + 1) // 2 + 1): record[i] = max(record[i], record[j] * record[i - j], ...
[ "songlin.lin@yunfangdata.com" ]
songlin.lin@yunfangdata.com
74111a48767d4c6fd5bf8a2c3164384a0f6dcd16
b3b443f0bc49bbb10c26b51fe89e6860d4ca3d3a
/venv/Lib/site-packages/more_itertools/more.py
f07f8c1c0c01ab9f2cf36264f72167daf34872ca
[ "MIT" ]
permissive
naveens33/ctreport-selenium
6b3a1cc93a6741a1d493c2452c1cf56c6d85c052
9553b5c4b8deb52e46cf0fb3e1ea7092028cf090
refs/heads/master
2022-12-23T04:55:12.226339
2020-08-29T19:22:00
2020-08-29T19:22:00
228,779,087
2
2
MIT
2022-12-18T22:53:51
2019-12-18T07:03:39
Python
UTF-8
Python
false
false
83,966
py
import warnings from collections import Counter, defaultdict, deque from collections.abc import Sequence from functools import partial, wraps from heapq import merge from itertools import ( chain, compress, count, cycle, dropwhile, groupby, islice, repeat, starmap, takewhile, ...
[ "naveensagayaselvaraj@gmail.com" ]
naveensagayaselvaraj@gmail.com
409eab8e92a731bec8c3fbce3195ffe60d53c1e0
9625c5665611a5a1e92fa8fbe230ede1154d5a49
/apps/messenger/migrations/0001_initial.py
c4ef6f5702b59c2470d2ec769a6bf7fa81872b28
[]
no_license
Alfredynho/Sistema-Venta-de-Motos
94a6ffcc45409faaea44f89389f89b6b1bfe0905
136b6d7c7cbcf4b5432212ae588d47a27fdcb348
refs/heads/master
2021-05-15T00:46:55.811827
2017-09-10T17:58:58
2017-09-10T17:58:58
103,049,391
0
1
null
null
null
null
UTF-8
Python
false
false
1,425
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-18 03:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Messen...
[ "callizayagutierrezalfredo@gmail.com" ]
callizayagutierrezalfredo@gmail.com
339af08ee79097195e0eb7a1db67191f4741fa12
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_ringers.py
3df2b9591b997bead80abf3adb13ac12e6619cac
[ "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
238
py
from xai.brain.wordbase.nouns._ringer import _RINGER #calss header class _RINGERS(_RINGER, ): def __init__(self,): _RINGER.__init__(self) self.name = "RINGERS" self.specie = 'nouns' self.basic = "ringer" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
bafac5b9571935c5109690accb7731b96dd87dab
b449adf6024f393937df5253ed5d955236942370
/src/model.py
1d953f67a8d3e0255d1e517c5f686393e6cb474f
[]
no_license
futianfan/HINT
b8b6654483e2a760d2d6ce148e9b8e07dfd20c3c
8a593f720747a3e9a1343d3f3fb5cf9ae54c7ab7
refs/heads/main
2023-01-21T10:54:25.910820
2020-11-28T15:19:25
2020-11-28T15:19:25
316,760,176
0
0
null
null
null
null
UTF-8
Python
false
false
20,629
py
''' ''' from sklearn.metrics import roc_auc_score, f1_score, average_precision_score, precision_score, recall_score, accuracy_score import matplotlib.pyplot as plt from copy import deepcopy import numpy as np import torch from torch import nn from torch.autograd import Variable import torch.nn.functional as F f...
[ "futianfan@gmail.com" ]
futianfan@gmail.com
6a99650619af2f11b218bb57ff7630a44898107d
2b4e133329a5ca1ee205b026a46606b027d3f205
/Customer/urls.py
b6181d44da1f0dcdfe16696339889e7b31696a9b
[]
no_license
wadeeat786486962/bladerscenter.github.io-
06884c5ad3e7b874ce761e21ab5c00c9ab74fcfc
410d11feb6bc1885e614069a7bc5007521cf982d
refs/heads/main
2023-06-16T04:24:23.697174
2021-07-11T18:05:14
2021-07-11T18:05:14
384,936,125
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from django.urls import path from Customer.middlewares.auth import customerPanel_middleware from Customer import views urlpatterns = [ path('', customerPanel_middleware(views.customer_panel), name='customerpanel'), path('updateprofile/', customerPanel_middleware(views.profile_update), name='updateprofile'), ...
[ "mohibullahsahi419@gmail.com" ]
mohibullahsahi419@gmail.com
c6cd354f3834b048d995b22a1bb692b27b4c369f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02392/s151511346.py
c222535b5db3bdb72e93f3da95df73cef146eb98
[]
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
132
py
def max(a,b): if a>b : return a else : return b a,b,c = map(int,raw_input().split()) if a<b<c : print'Yes' else : print'No'
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1663460b4eb0ad56f0fc55fcc2afd8b357ecfeaf
03969015ab882f4751dc0e91beeda1212babca48
/robot_code/nimbus_explore_latest/src/util.py
a613fc7360ddb8615a72a53e5182ee94064acb96
[]
no_license
lnairGT/Thesis_code
f3ad57f4344691227dcd128a741eb9c0e937738e
6f5dbfc2510272f294a0e9bb4273beceeacbff2a
refs/heads/master
2023-03-17T21:43:56.320553
2020-09-26T16:05:31
2020-09-26T16:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,965
py
import glob, csv, os import numpy as np import cPickle as pickle def loadScioDataset(pklFile='sciodata', csvFile='scio_allmaterials_clean', materialNames=[], objectNames=[]): saveFilename = os.path.join('data', pklFile + '.pkl') if os.path.isfile(saveFilename): with open(saveFilename, 'rb') as f: ...
[ "lnair3@gatech.edu" ]
lnair3@gatech.edu
f98be85338873b97927faa46962a5b3097b14fb0
706f239f0df4586221e6a7aac001626ab531c224
/src/client_libraries/python/dynamics/customerinsights/api/models/profile_store_state_info.py
8363b24f80a213b76cc14db8a208077e35435112
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Global19-atlassian-net/Dynamics365-CustomerInsights-Client-Libraries
9681d258c649b005a2379d32b23d374695a6fca4
0ce81ae25e97c3b8de12b97963a8c765c0248238
refs/heads/main
2023-02-28T20:39:33.622885
2021-02-09T23:34:38
2021-02-09T23:34:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "michaelajohnston@mac.com" ]
michaelajohnston@mac.com
bba4672adc471b819e4d9197f3c29cdb216a6e34
9a0d178a9128b8b3f33334f10d65abc7c2d8ed6e
/main/backend/capstone_project/diary_app/serializers.py
b197945f9c1100880d3facd8c1126b98b7fcad34
[]
no_license
kookmin-sw/capstone-2021-5
b19917d3d9fe5d2edfd8ebea5745a2806414aff3
322a2cd5d79d8bfd639f60e015af5db5dd7bc4a1
refs/heads/master
2023-05-06T01:24:00.457598
2021-05-26T14:43:28
2021-05-26T14:43:28
329,216,184
0
9
null
2021-05-24T05:05:41
2021-01-13T06:35:50
JavaScript
UTF-8
Python
false
false
1,370
py
from rest_framework import serializers from .models import Diary from django.core.exceptions import ValidationError import datetime from analysis.models import Emotion class DiarySerializer(serializers.ModelSerializer): """ 검색 기록(SearchRecord) Serializer """ class Meta: model = Diary ...
[ "you@example.com" ]
you@example.com
4e5f0dedb9fbc134b5fe17d5f1d3d24006e690b5
93289539257faa129aa2d17a42148f7d73ce4e9e
/Python/2193_PinaryNumber.py
c969c707dd349552d942546aaeaa2892839f9462
[]
no_license
Manngold/baekjoon-practice
d015dd518144a75b5cb3d4e831d6c95a3c70544f
54f9efcb6460647c2a0f465731b582fe6de89cf3
refs/heads/master
2021-06-25T13:04:23.162531
2020-10-14T08:34:28
2020-10-14T08:34:28
148,895,003
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
n = int(input()) dp = [1, 1, 2] if n <= 3: pass else: for i in range(3, n): dp.append(dp[i - 2] + dp[i - 1]) print(dp[n-1])
[ "jsw4820@gmail.com" ]
jsw4820@gmail.com
f17886fdaeaef31d2dbe43e3265a80c7adac1985
884923e1d3d3705688218838c6c669230ac308f3
/Py/1204.py
07359f911918a011634f6976e5195c109ae67268
[]
no_license
gimyoni/CodeUp
1c22fa1513706eef987b7d7d7ea965ee99c72a09
97728d8772ba2a19994ca68420093ffad3fd3552
refs/heads/master
2023-04-06T13:09:10.553671
2021-04-18T13:51:46
2021-04-18T13:51:46
268,708,520
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
a = int(input()) if a % 10 == 1: if a == 11: print("11th") else: print(str(a)+"st") elif a%10 ==2: if a == 12: print("12th") else: print(str(a)+"nd") elif a%10==3: if a == 13: print("13th") else: print(str(a)+"rd") else: print(str(a)+"th")
[ "noreply@github.com" ]
gimyoni.noreply@github.com
b8be4bdb76e7984b8c8b1c0c457aa46965c52abe
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/Proj/UR/GeneratePaths/WorldViz.py
43eb54e6bed1c69598e6490130d3c8d6f0bcc8a4
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
4,188
py
''' Created on Jul 30, 2015 @author: daqing_yi ''' import pygame, sys from pygame.locals import * import numpy as np from Path import * BLUE = (0,0,255) RED = (255,0,0) BLACK = (0,0,0) GREEN = (0,255,0) class WorldViz(object): def __init__(self, world): self.world = world ...
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
0ed6c6a658a25b982fcb8c2eda5f65ceaa9e1362
b13a1a96e9f1dddb3a3a44b636ca939b85962899
/Django & REST API/testalpha/demo/migrations/0002_teacher.py
b5360168e5edd1473d8dae138f464eb7dc7ed5a3
[]
no_license
jspw/Django-Test
f266331c73c34b83b1189811a163567b6b4cc60b
13a6d0146c9c78f8fa03c269e4546b5bbdb146bd
refs/heads/master
2021-03-23T17:50:21.764636
2020-10-18T09:21:23
2020-10-18T09:21:23
247,472,132
5
0
null
null
null
null
UTF-8
Python
false
false
597
py
# Generated by Django 3.0.5 on 2020-04-20 15:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('demo', '0001_initial'), ] operations = [ migrations.CreateModel( name='Teacher', fields=[ ('id', mod...
[ "mhshifat757@gmail.com" ]
mhshifat757@gmail.com
fd1991fd30ed9da80b1585f41314ee041ef41214
b7ee82768de54a83a99ad4ddd9e090c61935b86a
/paper/plot-subset-sites.py
3a1d9b3df807a72e6ed633d1d9138578707b7d98
[ "MIT" ]
permissive
brentp/somalier
5042ea9e7773a311c12825ac4ad8ee4140db2412
de50b1cfe1b859407b64ba3928cc4419f85c7403
refs/heads/master
2023-09-01T16:21:31.459237
2023-08-28T10:50:30
2023-08-28T10:50:30
143,888,326
228
32
MIT
2023-08-28T10:50:31
2018-08-07T14:52:04
Nim
UTF-8
Python
false
false
968
py
import pandas as pd from matplotlib import pyplot as plt import seaborn as sns import sys sns.set_palette("Set2") df = pd.read_csv(sys.argv[1], sep="\t") fig, axes = plt.subplots(1, 1, figsize=(8, 4)) try: axes[0] except (IndexError, TypeError): axes = (axes,) sns.barplot(x="n", y="fp", hue="strict", data=...
[ "bpederse@gmail.com" ]
bpederse@gmail.com
e47a79bfda7d1e46c14a365203b23e5a4e979f72
a5570cfad2697da8f95a65e0b8a7cc0697e71a2e
/12 Python Lists.py
c252cc40019ff24e9104e7a1ad7b53030b3577d7
[]
no_license
mukund7296/Python-Brushup
c4db1d43fe6a06742f00ec4f12affec4b96c7237
367ce4ddf60aeea4f33294702f7c4b9d11231efe
refs/heads/master
2020-12-19T21:26:29.371532
2020-01-23T18:27:58
2020-01-23T18:27:58
235,858,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
""" Python Collections (Arrays) There are four collection data types in the Python programming language: List is a collection which is ordered and changeable. Allows duplicate members. Tuple is a collection which is ordered and unchangeable. Allows duplicate members. Set is a collection which is un...
[ "noreply@github.com" ]
mukund7296.noreply@github.com
601bb4a95a862f9e49e3cba3c1813a262db8c74f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2317/60730/280771.py
05ee5cd5914a59c30517768e788b2c0f2c7b859c
[]
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
204
py
MOD = 10 ** 9 + 7 m = list(map(int, input().split(","))) N = len(m) m.sort() ans = 0 for i in range(N - 1): for j in range(i + 1, N): ans += pow(2, j - i - 1) * (m[j] - m[i]) print(ans % MOD)
[ "1069583789@qq.com" ]
1069583789@qq.com
e03a99f67ddefa6e40bfffa5e697884a1295f0c1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2471/60678/253055.py
cc45c769fa61efb73585348d1e372814f6241525
[]
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
1,824
py
class Stack: def __init__(self): self.stack = [] def pop(self): if len(self.stack) == 0: return None elem = self.stack[len(self.stack) - 1] del self.stack[len(self.stack) - 1] return elem def push(self, elem): self.stack.append(elem) def...
[ "1069583789@qq.com" ]
1069583789@qq.com
cca9577decf9449eb84c393e3b58c8a559685aa5
eec1b3d81a6dee43571f753ffa379735a3d4aa41
/webdriver_service/test/test_yintai_single/fapiao_1_liuchen.py
b88ce727956467a9292e23ef2e8f3dee0f4f0fc7
[]
no_license
fn199544123/download-demo-beyebe
be00aacb302acd8304312c5a876a3c69fb3e73e8
ec9892a582a7a69235d95e49541b3a2b14b51239
refs/heads/master
2022-12-12T18:47:34.783443
2019-04-25T11:32:33
2019-04-25T11:32:33
163,168,934
1
1
null
2022-12-08T03:08:24
2018-12-26T10:44:33
Python
UTF-8
Python
false
false
966
py
import requests import json url = "http://39.108.188.34:8893/QrcodeDetectV3" data = { "bill": {'ossPath': "http://byb-pic.oss-cn-shenzhen.aliyuncs.com/beyebe/data/20190222/cc47c589fcea0609b6ca1aadfaac7d6c.pdf"}, } data = json.dumps(data) headers = { 'User-Agent': 'User-Agent:Mozilla/5.0 (Macintosh; Intel Mac O...
[ "gudandezhupi@163.com" ]
gudandezhupi@163.com
142863b82bed966008fad305bc5092c88cecc8ce
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py
ec2b8e6a3e5619a74efb04eb04ba088ea73b794e
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
# frame.py - The MDI frame window for an editor. import afxres import pywin.framework.window import win32con import win32ui from . import ModuleBrowser class EditorFrame(pywin.framework.window.MDIChildWnd): def OnCreateClient(self, cp, context): # Create the default view as specified by the template (ie...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
24b1eba5f108d0b8f858ac1fa0d5b882f5a8219a
6c816f19d7f4a3d89abbb00eeaf43dd818ecc34f
/apps/payment/migrations/0003_auto_20210218_1806.py
2b9fa9d8c5a50aa3596f9d6fd7f82ebc6eeb87cd
[]
no_license
reo-dev/bolt
29ee6aa7cfc96bd50fa7a7dae07fbaafc2125e54
d1a7859dd1ebe2f5b0e6e295047b620f5afdb92e
refs/heads/master
2023-07-13T04:05:57.856278
2021-08-27T09:07:03
2021-08-27T09:07:03
382,195,547
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# Generated by Django 3.0.8 on 2021-02-18 09:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('payment', '0002_auto_20210218_1805'), ] operations = [ migrations.AlterField( model_name='paylist', name='count', ...
[ "75593016+reo-dev@users.noreply.github.com" ]
75593016+reo-dev@users.noreply.github.com
fb1c3a8f95eb3aa2252bd4f7443528f9b0d935a2
413125277311510b40ca481b12ab82d379f5df62
/chess (horse movement).py
2fb0d1d957c87a1bd7b22c6b33aed2d6472c4b7d
[]
no_license
Aakashbansal837/python
98d85ce1e88c73f0e5180b1b1af80714f3e45097
4de2a3d6a482fdba8809ceb81e94f201b776b00e
refs/heads/master
2021-04-06T00:16:24.884830
2018-05-30T17:42:20
2018-05-30T17:42:20
124,778,551
2
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
for _ in range(int(input())): n,m,q = map(int,input().split()) arr = [[0 for x in range(m)] for y in range(n)] arr1=[] for i in range(q): tmp,tmp2 = map(int,input().split()) arr1.append([tmp-1,tmp2-1]) arr[tmp-1][tmp2-1] = 1 #print("array is:") #print(*arr,sep="\...
[ "noreply@github.com" ]
Aakashbansal837.noreply@github.com
f57738ea9e0d933d0ce62e21f6781693aeceb9d8
3e8dfa786b7f68ac4ffbc5154448dc4f479d27be
/爬虫项目实例/BaiduStocks/BaiduStocks/pipelines.py
5cf17a6a43228d5e29fdfb995e2ed28fd3730087
[]
no_license
SmallSir/Python_
a5201cda762af8fe54a74f368eb140d354ce84d6
93367667d74bc29cfba80239334e6c3b3fa604ca
refs/heads/master
2021-09-07T03:25:57.072044
2018-02-16T15:21:32
2018-02-16T15:21:32
110,565,596
0
1
null
null
null
null
UTF-8
Python
false
false
650
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class BaidustocksPipeline(object): def process_item(self, item, spider): return item class BaidustockInfoPipeline...
[ "280690956@qq.com" ]
280690956@qq.com
37dd944c5eec22c13d855f59bd969c0e2498e3cd
3f77dda6c8d8508902f9ae3efbd4fed8ef2ee1b2
/scrap/migrations/0031_auto_20190517_1104.py
08a68dc34f4a666813a5c290a2a3797a88b8bea2
[]
no_license
priyankush-siloria/linkedinscrap
a3d83cac1ca923e7e0f3a03e6e4c5f02b7f6a0e5
882a4df294ce8b2b01c94299471bbe6d9826f582
refs/heads/master
2020-07-07T13:38:01.659725
2019-08-20T11:40:23
2019-08-20T11:40:23
203,363,810
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# Generated by Django 2.2 on 2019-05-17 11:04 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scrap', '0030_auto_20190517_0948'), ] operations = [ migrations.AlterField( model_name='automations', ...
[ "director@avioxtechnologies.com" ]
director@avioxtechnologies.com
51ea87311527f3de7247bb5e04a3033641a9e2db
52a3fab945f71f1bb2177c650d1e6fa9f9dd9716
/packages/motifextraction/alignment/extract_errors.py
ced825aaeb300d56ce649ce061d2f8d947d1e757
[ "MIT" ]
permissive
SimonPringleWallace/motifextraction
402430f3b51e7854b9b1c0c8c33d522f6af877cd
a39fee2a029ae7acc1cf0c5a031913bf84c948a0
refs/heads/master
2023-03-28T18:36:25.811621
2021-04-03T17:13:48
2021-04-03T17:13:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
import numpy as np from path import Path from ppm3d import load_alignment_data def extract_errors(cluster_number: int, results_fn: str, save_dir: Path, cluster_dir: Path, cutoff: float, target_path: Path = None): if save_dir and not save_dir.exists(): save_dir.makedirs() print(f"Loading {results_fn}...
[ "jjmaldonis@gmail.com" ]
jjmaldonis@gmail.com
33220aff8c0decd5a152cb8cc96b951dd3eb037b
304926837d94f37ef33c46b8f3c71ecfac4690e8
/5.8_Hello_Admin.py
c3d19d10a8eb6df9440d75dcc566805cac6fbd35
[]
no_license
ver0nika4ka/PythonCrashCourse
1015d207d9da1b0f9efaee3acc502d2757880f33
6bde3b716deb86d022da5cb478c0a95505fe5acc
refs/heads/master
2021-07-12T17:24:16.478133
2021-06-17T03:27:24
2021-06-17T03:27:24
246,993,773
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
usernames = ['veronica','nastya','victor','alex','admin'] for user in usernames: if user == 'admin': print(f"Hello admin, would you like to see a status report?") else: print(f"Hello {user.title()}, thank you for logging in again.")
[ "veranika.aizu@gmail.com" ]
veranika.aizu@gmail.com
a27e20221825939f2e9ac619b03572526083145b
7033c84a3051e51a3d38a25d52f724bc0f6aab25
/sandbox.py
54edb623375b4528317d30ce33aaa8fb7140050a
[]
no_license
andycasey/bitfitter
46332d12de79d45265f77707bd9a0749f115b75a
403624d98582a6c249ef9da347f74686c410d400
refs/heads/master
2021-01-10T13:47:02.687006
2016-02-07T17:10:13
2016-02-07T17:10:13
51,255,415
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import fitbit import auth client = fitbit.Fitbit(auth.CONSUMER_KEY, auth.CONSUMER_SECRET, oauth2=True, access_token=auth.ACCESS_TOKEN, refresh_token=auth.REFRESH_TOKEN)
[ "andycasey@gmail.com" ]
andycasey@gmail.com
8ba56c0fd41325626de705073c99c28a7cf1166c
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/pylint/test/functional/future_unicode_literals.py
9aaabead04f4a504f9c8e78424ee8b8e844ae420
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-pylint-2.3.0-pmz72kdc34fnma6vo5sc2y3c5wp5sjeb/lib/python3.7/site-packages/pylint/test/functional/future_unicode_literals.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
255049d34adcb37d9d4241719fc8e003fe117978
95aa9069a0a115c1cbccaac38c6c7d193b5a2fb7
/home/migrations/0002_load_initial_data.py
71268fb3a0667934e255cfd24dd2754440810b82
[]
no_license
crowdbotics-apps/sunday-app-dev-5568
35f9c5b4ed8560fbb4b985f6761fb22c9eff8d34
d8ae94d463f3b6186f27ccf0fa5458c051e2955b
refs/heads/master
2022-10-09T18:05:11.968490
2020-06-07T08:36:37
2020-06-07T08:36:37
270,244,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "sunday app" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ac7310af9bea64230b95d4d7b496937545189fff
86b82049d710ed27cc0a94bc776020b199d4f4ad
/setup.py
662aa245b9c64b75c5876ef2450838748e87ecfa
[ "MIT" ]
permissive
ChristopherHaydenTodd/ctodd-python-lib-revision-control
02b8e5682fc48e67ac22afdfbf503f0a9b3d124c
d9618003592d9b54957789b2baebfe6d225d6c94
refs/heads/master
2020-04-22T19:00:31.401848
2019-02-21T21:50:10
2019-02-21T21:50:10
170,594,927
1
0
null
null
null
null
UTF-8
Python
false
false
4,783
py
""" Purpose: setup.py is executed to build the python package """ # Python Imports from os import listdir from setuptools import setup, find_packages import re ### # Helper Functions ### def get_version_from_file(python_version_file="./VERSION"): """ Purpose: Get python requirements fro...
[ "Christopher.Hayden.Todd@gmail.com" ]
Christopher.Hayden.Todd@gmail.com
a9fa204ab840d2ff649a13cac7078d8e2d08155e
cc3ded8dc35ec9f52e7cee6a840fb6d3c92b3185
/transformers_repo/examples/pplm/run_pplm_discrim_train.py
44f6b726d822c9e33460b5b3faaee3726ca263ad
[ "MIT", "Apache-2.0" ]
permissive
see--/natural-question-answering
04e3a38022dcb78a20f1632749cb82bb40a3d8aa
9d31c8dee0ff799d190a2a351f4857224788a5ca
refs/heads/master
2023-08-17T00:10:17.594705
2020-03-12T21:38:56
2020-03-12T21:38:56
234,064,034
90
24
MIT
2023-09-06T17:32:48
2020-01-15T11:19:50
Python
UTF-8
Python
false
false
18,712
py
#! /usr/bin/env python3 # coding=utf-8 # Copyright (c) 2019 Uber Technologies, 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 ...
[ "steffenebe@gmail.com" ]
steffenebe@gmail.com
0ce156178c0a4e5b5787386c7b7ef99496948793
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/ast_coverage-51.py
bfef20fc22cc7201d85726659aa3556a23ea3605
[]
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
672
py
count:int = 0 def foo(s: str) -> int: return len(s) class bar(object): p: bool = True def baz($TypedVar, xx: [int]) -> str: global count x:int = 0 y:int = 1 def qux(y: int) -> object: nonlocal x if x > y: x = -1 for x in xx...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
3b1373563feba29c600a45c39b4c088717a565e3
33c1c5d0f48ad952776fe546a85350a441d6cfc2
/ABC/058/C.py
5e7f508ce787e956e285580187e4f2a28810dd0c
[]
no_license
hisyatokaku/Competition
985feb14aad73fda94804bb1145e7537b057e306
fdbf045a59eccb1b2502b018cab01810de4ea894
refs/heads/master
2021-06-30T18:48:48.256652
2020-11-16T11:55:12
2020-11-16T11:55:12
191,138,764
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools from collections import deque sys.setrecursionlimit(10**7) inf = 10**20 mod = 10**9 + 7 DR = [1, -1, 0, 0] DC = [0, 0, 1, -1] def LI(): return [int(x) for x in sys.stdin.readline().split()] def LI_(): return [int(...
[ "hisyatokaku2005@yahoo.co.jp" ]
hisyatokaku2005@yahoo.co.jp
7eb97a4b679b17234e30a781df737859f3a9fec7
f89d70fc8bf370ef4e2aa54c7ee0de3b4a053624
/troposphere/validators/certificatemanager.py
c7644aacc79b763e015b48d41199629fa523839d
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yks0000/troposphere
a7622bff01c31f10dcb296d2ca353144e1d7f793
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
refs/heads/main
2022-04-28T03:51:42.770881
2022-04-15T15:15:01
2022-04-15T15:15:01
482,753,190
1
0
BSD-2-Clause
2022-04-18T07:20:42
2022-04-18T07:20:42
null
UTF-8
Python
false
false
250
py
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. from . import tags_or_list def validate_tags_or_list(x): """ Property: Certificate.Tags """ return tags_or_list(x)
[ "mark@peek.org" ]
mark@peek.org
10f6a7a084d195cc8020da4f2a0f4e5ac4493b89
ebbbefbc82412d8a91c8de96a45ffebe5d625c51
/test/inspector_protocol_parser_test/inspector_protocol_parser_test.gyp
835117c5a7b9f7f8f21033995d3aee142372a057
[ "BSD-3-Clause", "SunPro", "bzip2-1.0.6" ]
permissive
riverar/v8
d93eb2aea104d10aee2a27a7763e13061ec60f4b
16397d242258b97f107e742e37cc585e77b9b3d0
refs/heads/master
2020-12-14T18:39:32.337673
2016-11-13T22:04:51
2016-11-13T22:04:51
77,864,048
2
0
null
2017-01-02T21:50:22
2017-01-02T21:50:21
null
UTF-8
Python
false
false
1,311
gyp
# Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'protocol_path': '../../third_party/WebKit/Source/platform/inspector_protocol', }, 'targets': [ { 'target_name': 'inspector_pr...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c4fc69e83f8f586a7eac0551aaba42be7e4142fa
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1713+248/sdB_pg_1713+248_coadd.py
512545067cc439b9893d34f29e077ea79ff244a5
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[258.910292,24.789658], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_pg_1713+248/sdB_pg_1713+248_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
3d4853aadd426ddffba132f55513da77925f1a05
72dbf8366cf17b6a81ab37e72af667726e3f2661
/store/migrations/0004_customer_profile_pic.py
3c6be38b982836d8550da5a4b198ba126e8f506e
[]
no_license
Rayhun/Django_E-Commerce_website
3aef732ffa0a41509be95ced3c33b845233903a7
1a5f7e31f942914256e49ba7da1f7367a799f097
refs/heads/main
2023-05-23T18:18:27.875328
2021-04-30T19:29:06
2021-04-30T19:29:06
306,414,778
3
1
null
2021-04-30T19:28:58
2020-10-22T17:41:57
CSS
UTF-8
Python
false
false
412
py
# Generated by Django 3.1.1 on 2020-10-31 15:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0003_auto_20201030_1534'), ] operations = [ migrations.AddField( model_name='customer', name='profile_pic',...
[ "rayhunkhan27@gmail.com" ]
rayhunkhan27@gmail.com
0b7425ef67785d25400834e4025a57b2674c43ad
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/azure/azcollection/plugins/modules/azure_rm_vmbackuppolicy.py
c8977d6cfac4931a9ca8ddcc2ed369004c8ee7d9
[ "GPL-1.0-or-later", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
15,653
py
#!/usr/bin/python # # Copyright (c) 2020 Suyeb Ansari (@suyeb786) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "sifang@cisco.com" ]
sifang@cisco.com
5dbd1f7c42544433d409a21de2f3f2b30ab38bb3
31730fbdf50dcbc36205911e3a676f0d826157b1
/setup.py
87aa04ba1362ee17f5c2df4173f3d322c339a45c
[ "MIT" ]
permissive
Harpuia/terminal-leetcode
954a270784fe920eb49f1fc4b8e66b379377e608
39b27b3a6260195376c0cdffb7697b4aa5c60ca8
refs/heads/master
2021-01-22T02:04:19.470178
2017-05-21T21:34:26
2017-05-21T21:34:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() requirements = ['urwid', 'requests', 'bs4', 'lxml'] setup( name = "terminal-leetcode", version = "0.0.11", author = "Liyun Xiu", author_email = "chishui2@gmail.com", desc...
[ "chishui2@gmail.com" ]
chishui2@gmail.com
8308c5e060050d89710a4c75af0015ccdf6f9d54
9f250956e2c19e5b51053a513a6b31ef8128d674
/myProject/account/models.py
847e54c8c8c7bd75fd82bf7bb24b88146fd4144d
[]
no_license
murali-kotakonda/pyDjango
85b9128949fcdf3bcc0e60c386decd9eeff723db
cf1a920f8146be600bc04455cb5769f369c7d6eb
refs/heads/master
2023-03-24T06:34:14.143103
2021-03-20T12:38:40
2021-03-20T12:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from django.db import models # Create your models here. from django.db import models from django.contrib.auth.models import User from django.utils import timezone class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) middle_name = models.CharField(max_length=30, blank=True...
[ "muralidhar.reddy.kotakonda@sap.com" ]
muralidhar.reddy.kotakonda@sap.com
2b2ef12926774661cb4b51bc33a1ee978667c5e7
536bce6ca78a9a151247b51acb8c375c9db7445f
/src/plot/plot0a.py
576ed81aae88789ba020629c45a25f2e61024a75
[]
no_license
clicianaldoni/aprimeronpython
57de34313f4fd2a0c69637fefd60b0fb5861f859
a917b62bec669765a238c4b310cc52b79c7df0c9
refs/heads/master
2023-01-28T18:02:31.175511
2023-01-23T08:14:57
2023-01-23T08:14:57
112,872,454
0
0
null
2017-12-02T19:55:40
2017-12-02T19:55:40
null
UTF-8
Python
false
false
679
py
"""Plot three curves. Use Matlab-style syntax.""" from scitools.std import * # plot two curves in the same plot: t = linspace(0, 3, 51) # 51 points between 0 and 3 y1 = t**2*exp(-t**2) y2 = t**4*exp(-t**2) # pick out each 4 points and add random noise: t3 = t[::4] random.seed(11) y3 = y2[::4] + random.normal(loc=0, s...
[ "martin@rodvand.net" ]
martin@rodvand.net
b6976d1ebf040e74ebb2ffe37340c1a569afacca
bc444c603a80d7c656c4f20539f6035c43fff54a
/src/dirbs/api/v2/resources/__init__.py
beaa8eb8bea4490bfdda03263a24cddeddeb4211
[ "BSD-4-Clause", "LicenseRef-scancode-other-permissive", "zlib-acknowledgement", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dewipuspa/DIRBS-Core
fe1af50918333474732872b61dc3ae4f8e41c14f
702e93dcefdf0fb5787cb42c2a6bc2574e483057
refs/heads/master
2020-07-07T09:59:10.723477
2019-06-21T06:39:59
2019-06-21T06:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
""" DIRBS REST-ful API-V2 resource package. SPDX-License-Identifier: BSD-4-Clause-Clear Copyright (c) 2018-2019 Qualcomm Technologies, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provide...
[ "awkhan978@gmail.com" ]
awkhan978@gmail.com
bcfeb0806979c5c3c6b5815db7dd321e6d847b41
d994cee3810de8f5fa895807f415d8051dfd1319
/HetMan/experiments/pair_inference/setup_comb.py
4ab9ea7068b4cfd9486fea0b2579d392b6315969
[]
no_license
ohsu-comp-bio/bergamot
b4e162525d1cc66975d64866cc68004ee42828e2
37fd50fc1ce6da83049a0cbbad5038a055fd3544
refs/heads/master
2023-07-24T01:15:27.695906
2019-09-19T01:39:13
2019-09-19T01:39:13
89,973,424
1
2
null
2023-07-06T21:07:53
2017-05-02T00:03:26
Python
UTF-8
Python
false
false
4,119
py
import os base_dir = os.path.dirname(__file__) import sys sys.path.extend([os.path.join(base_dir, '../../..')]) from HetMan.features.expression import get_expr_firehose from HetMan.features.variants import get_variants_mc3 from HetMan.features.cohorts import VariantCohort import synapseclient import dill as pickle ...
[ "mgrzad@gmail.com" ]
mgrzad@gmail.com
120fa7d83ee44ee9335c1740031e2fa791883cf0
3f28b697f570ded0502de70c706200005ab62525
/env/lib/python2.7/site-packages/scipy/io/mmio.py
6b36f6dccc7d3f6b1daf07e1dd4f4d10aac5ddcc
[ "MIT" ]
permissive
Ram-Aditya/Healthcare-Data-Analytics
5387e41ad8e56af474e10fa2d1c9d8a2847c5ead
d1a15d2cc067410f82a9ded25f7a782ef56b4729
refs/heads/master
2022-12-09T12:49:59.027010
2019-11-23T20:10:55
2019-11-23T20:10:55
223,639,339
0
1
MIT
2022-11-22T00:37:48
2019-11-23T19:06:20
Jupyter Notebook
UTF-8
Python
false
false
22,016
py
""" Matrix Market I/O in Python. """ # # Author: Pearu Peterson <pearu@cens.ioc.ee> # Created: October, 2004 # # References: # http://math.nist.gov/MatrixMarket/ # from __future__ import division, print_function, absolute_import import os import sys from numpy import asarray, real, imag, conj, zeros, ndarray, conc...
[ "ramaditya.danbrown@gmail.com" ]
ramaditya.danbrown@gmail.com
481cc8b7ab198499fce1c0a51236d4cecf13d6bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03495/s609850404.py
b480fa2ca615b11e243acdf596b2bb3cc9bfea4e
[]
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
261
py
N, K = map(int,input().split()) A = list(map(int,input().split())) import collections cA = collections.Counter(A) sorted_ls = sorted(list(cA.values())) sum_ls = sum(sorted_ls) if len(sorted_ls)>K: print(sum(sorted_ls[:len(sorted_ls)-K])) else: print(0)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fc1c51f09fbcfb9579c3048674323b1c14071f24
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_keyboard.py
71756bc7972de92fd569ca5053a3fce5ba032347
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
4,036
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for interrupting tests with Control-C. """ from __future__ import absolute_import, division from twisted.python.compat import NativeStringIO from twisted.trial import unittest from twisted.trial import reporter, runner class TrialTe...
[ "354142480@qq.com" ]
354142480@qq.com
0f31bb30e71eb5a4692377586a4d3f448740db5f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb/operations/_private_endpoint_connections_operations.py
a9985f5e8097e13ef7a5578ee99c9245b436b671
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
30,299
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
44735efc8ba871e2f2e3ca0ced6963479ab46e19
ea4567b4388ea97c8ca718d9e331dc796439ee44
/exercise_learn/new_selenium_project/util/browser_driver_test.py
af46ab09ff714df86c85b89525f0d5733303ef53
[]
no_license
Kingwolf9527/python_knowledge
ace65470ec706cae195b228b8e8d6ca8db574db8
1ccb3a788c172f3122a7c119d0607aa90934e59b
refs/heads/master
2020-12-04T06:12:49.809020
2020-02-10T18:22:36
2020-02-10T18:22:44
231,647,147
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
# ! /usr/bin/env python # - * - coding:utf-8 - * - # __author__ : KingWolf # createtime : 2019/11/12 3:21 import os from selenium import webdriver from util.read_config import Read_Config from util.common_log import Common_Logs #实例化logger log_name = Common_Logs(logger='browser_driver') logger = log_name.get_logger()...
[ "lccr777@163.com" ]
lccr777@163.com
8e82a7f954f34fe2899eb5500cb51358b6154c4b
747eeeed1056b69a8bde6364ee9bf266523f19e5
/Project/My solutions/12.py
83d4817a7abb86b7b2219a8886f0815ffcdfb50e
[]
no_license
LittleAndroidBunny/Python_Cheatsheet_Nohar_Batit
d18a77d455474834da99c11e763beea598947f7c
a53f5e3a635bb47012fceb50efd43ad124eff180
refs/heads/main
2023-06-10T10:40:54.746084
2021-07-03T23:25:17
2021-07-03T23:25:17
382,595,063
1
0
null
null
null
null
UTF-8
Python
false
false
7,522
py
# ###################### # ## Nohar_Batit ### # ## 315572941 ### # ###################### # ################################ import random random.seed(1) import pylab import matplotlib.pyplot as plt from scipy import stats # Question 1 # function f1 gets a natural number and returns a tuple of the biggest...
[ "noharbatit.9@gmail.com" ]
noharbatit.9@gmail.com
ef495dc49c8aacb3b2af95d4c40ebb6a453fa1ad
c6e2e537a6bf2a2e009a64eef76954dae30ae214
/tests/test_series_replacement.py
e36974b49ae8808c00c3818d5b1560e71d388bfc
[ "Unlicense" ]
permissive
mb5/tvnamer
46d0eb0ae8b4d8e72656d2dfc239555e91b2bfd2
ce4f7374ff8abbbe137aa7c43ed0ba0fe0f2f755
refs/heads/master
2021-01-18T02:49:44.110873
2012-12-13T09:21:39
2012-12-13T09:21:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
#!/usr/bin/env python """Tests custom replacements on input/output files """ from functional_runner import run_tvnamer, verify_out_data from nose.plugins.attrib import attr @attr("functional") def test_replace_input(): """Tests replacing strings in input files """ out_data = run_tvnamer( with_fi...
[ "dbr.onix@gmail.com" ]
dbr.onix@gmail.com
d831ff7bbac8a88c716b003523818b763f425495
4978ce56457ac4c64075b2d70663c74cf4dc3896
/demoVisualizeDataFrame/__init__.py
2569839deb53775254f19d982557de5c755e1a7b
[ "MIT" ]
permissive
listenzcc/data_visualize
90700f4ca9f22e351363b3c91b7bd30beac136a2
7f0867e19e3ae88041efb24c79789b1bc4b46f40
refs/heads/master
2023-03-13T20:53:01.126166
2021-03-20T02:49:14
2021-03-20T02:49:14
315,854,997
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
# File: __init__.py # Aim: economyZone package startup script import configparser import logging import os import sys import pandas as pd def beside(name, this=__file__): # Get path of [name] beside __file__ return os.path.join(os.path.dirname(this), name) config = configparser.ConfigParser() config.read(b...
[ "listenzcc@mail.bnu.edu.cn" ]
listenzcc@mail.bnu.edu.cn
048c2c28d81f61ade6bb91e3c6025ccdb74bd471
1ab99223dfef768cbead2813d039c66a627024be
/api/src/opentrons/drivers/temp_deck/__init__.py
91a9ef7bba1f13dc509decc0dfe380a038bf462a
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
fakela/opentrons
f399b8a9444ea557072a00477d0c8176e46e433e
7552a1cbe6d06131bd45241b027f27e11428e100
refs/heads/master
2022-11-21T01:32:40.084185
2020-06-29T18:27:00
2020-06-29T18:27:00
280,266,622
0
0
Apache-2.0
2020-07-16T21:55:27
2020-07-16T21:55:26
null
UTF-8
Python
false
false
128
py
from opentrons.drivers.temp_deck.driver import TempDeck, SimulatingDriver __all__ = [ 'TempDeck', 'SimulatingDriver' ]
[ "noreply@github.com" ]
fakela.noreply@github.com
11b05574742fa3d545e177dce442438a7c969a74
eeb7e70b0b68decbdcb32682351e54e0be99a5b0
/kaggle/python_files/sample360.py
295bae3b2767e1ea485f2b260bb28b19a14fd260
[]
no_license
SocioProphet/CodeGraph
8bafd7f03204f20da8f54ab23b04f3844e6d24de
215ac4d16d21d07e87964fe9a97a5bf36f4c7d64
refs/heads/master
2023-02-16T02:51:27.791886
2021-01-15T07:00:41
2021-01-15T07:00:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,151
py
#!/usr/bin/env python # coding: utf-8 # # Loading Libraries # In[ ]: import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) from sklearn.metrics import log_loss from sklearn.model_selection import StratifiedKFold import gc import os import matplotlib.pyplot as plt...
[ "mccusker@gmail.com" ]
mccusker@gmail.com
406acb5d812d6501c3f70fc0f287c9dc3e429502
8fd56e9b9dbc49c16b4a8afe1007f824183bb0ab
/Python_Stack/django/django_fundamentals/django_intro/Users/Users/urls.py
26466e0c713ac1c17c9670e927a61dc1f74d8187
[]
no_license
DiyarBarham/CodingDojo
b1cc7d7355f5fb139cb640168f78d6b7f91e372a
0891e2c41ddbb9004eadfd2d54fe7f34d6d4ef58
refs/heads/main
2023-07-08T12:12:33.227932
2021-08-07T13:55:33
2021-08-07T13:55:33
363,878,740
0
2
null
null
null
null
UTF-8
Python
false
false
726
py
"""Users URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "diyarbarham@gmail.com" ]
diyarbarham@gmail.com
517f372040db391e899d7c91dcf383f4af6eecaf
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp37_4500.py
90986260c1c51da810729e60990270493504ca1e
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,874
py
ITEM: TIMESTEP 4500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 7.9433252788447817e-01 4.6405667472114288e+01 7.9433252788447817e-01 4.6405667472114288e+01 7.9433252788447817e-01 4.6405667472114288e+01 ITEM: ATOMS id type xs ys zs 8 1 0.129159 0.059669 0.0603151 35 1 0.0632288 0.124995 0.0640692 130 1 0.064921...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
14ffbcfc6415f4bf0327420712bd59e4b3c160cd
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-1541.py
2810ab83f51df7539b7286b2cc88ea87391ad9a7
[]
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
99d407e913ff467ad42df621f0b9be1d4a91cb8f
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_2/models/object_store_user.py
511b6638e591a3c91097395f049ed12ee8273e6b
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,119
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.2, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "msholes@purestorage.com" ]
msholes@purestorage.com
d22c1861f13411c3d3e664e9a8bfcc28701f4a32
add7f191d38538f0ecca582264ee733d8f5d0e99
/tests/strategies/test_strategy.py
74b0acb55b9c834b446c7e4c5445e7dcddad0538
[]
no_license
netfily/simian-wallet
2feab3080adf3cf59882aba9931c70bcb38c2c38
f4b2eb1688411cddd0b6bd703a43f7c7123cc3bf
refs/heads/master
2023-02-11T03:19:07.382213
2021-01-12T20:26:29
2021-01-12T20:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
def test_strategy_from_owner(wallet, do_nothing, empty_strategy, owner): data = do_nothing.nothing.encode_input(0) tx = wallet.execute(do_nothing, empty_strategy, data, {'from': owner}) strategy_value = int(repr(tx.return_value[1]), 16) assert strategy_value == 666 def test_user_cant_use_strategy(wall...
[ "matnad@gmail.com" ]
matnad@gmail.com
fe0bf6676519e72dbc2a8a07ce3b89292806afe0
2352bc07e12b0256913559cf3485a360569ccd5e
/practice/python-tutorial-master/26cv/data_enhancement/resize_demo.py
e9fc3f21cbde46712f831ed1aa864e567fd482db
[ "Apache-2.0" ]
permissive
Dis-count/Python_practice
166ae563be7f6d99a12bdc0e221c550ef37bd4fd
fa0cae54e853157a1d2d78bf90408c68ce617c1a
refs/heads/master
2022-12-12T03:38:24.091529
2021-12-22T09:51:59
2021-12-22T09:51:59
224,171,833
2
1
null
2022-12-08T05:29:38
2019-11-26T11:07:00
Jupyter Notebook
UTF-8
Python
false
false
955
py
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: """ import cv2 import os from PIL import Image def display_cv(image_path): img = cv2.imread(image_path) height, width = img.shape[:2] print(height, width) # 缩小图像 size = (200, 200) print(size) shrink = cv2.resize(...
[ "33273755+Dis-count@users.noreply.github.com" ]
33273755+Dis-count@users.noreply.github.com
6d375108ec41d11c6aa91b2ff0650d73350efe98
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/distutils/command/build_ext.py
4e19404fea4b5556898da5500e5fc862a1e3693f
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
../../../../../.cipd/pkgs/2/_current/lib/python3.8/distutils/command/build_ext.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
982882bc61f19ad91edbfded17ce4f4cf73ba97e
d2e029233e08ea2b7f806728fb6fdb4313992d1d
/Object Orianted Programming In Python/@property.py
f4c9aceb926378d9cdc9dc96b285b0f1c7d11e2f
[]
no_license
pvr30/Python-Tutorial
f0ccc6c6af2346afc656e5f1f98bae69a58bda6d
3c4b968d0e0efbf454fbf9a9f98cd630a288b2d9
refs/heads/master
2023-06-02T10:08:50.891627
2021-06-21T16:36:11
2021-06-21T16:36:11
378,997,069
1
0
null
null
null
null
UTF-8
Python
false
false
987
py
# @property class Student: def __init__(self, name, school): self.name = name self.school = school self.marks = [] @property def average(self): return sum(self.marks) / len(self.marks) vishal = Student("Vishal Parmar","Axar") print(vishal.name) vishal.marks.append(90) vish...
[ "vishalparmar6958@gmail.com" ]
vishalparmar6958@gmail.com
0a9fa79b93775e749b18b7dc2076725cce8b1a3a
addf291a1a4bad5d823e62422cdda4b73faa7a14
/src/util/convenient_funcs.py
4bbf2b61f62e541d7a99c01d77f3799da01d0cc8
[]
no_license
zhengxxn/AutoEssayScoring_NN
a8504f0ff975568746a8435760bea12bef410b09
faa030fe8fd8cf0612c01d4d7e94e25e76404aeb
refs/heads/master
2022-12-19T11:50:40.651591
2020-09-09T06:41:33
2020-09-09T06:41:33
294,025,273
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
import pandas as pd # from sklearn.model_selection import train_test_split import re from pathlib import Path from collections import Counter import pickle import numpy as np def tensor2str(prediction, vocab): str = [] for i in range(0, prediction.size(0)): ch = vocab.itos[prediction[i]] if...
[ "zhengx9703@gmail.com" ]
zhengx9703@gmail.com
16ef4452b53fc204e60807d73a35d1d2f2f6929b
3d9b939c50c8b68bc7110f35a9a5100c7ca163e3
/ColGrid.py
1356826faf275842d8532c7bb90fb8a892eea720
[ "MIT" ]
permissive
mbuckaway/CrossMgr
bbab53e9e858b72b99a9fb239787f8932e50539d
4c64e429eb3215fda1b685c5e684c56f5d0c02cf
refs/heads/master
2020-09-16T00:42:25.100361
2020-01-15T02:24:49
2020-01-15T02:24:49
223,599,605
1
0
MIT
2020-01-08T01:45:22
2019-11-23T14:12:15
Python
UTF-8
Python
false
false
8,941
py
import wx import six import wx.grid as Grid import copy #--------------------------------------------------------------------------- class ColTable( Grid.GridTableBase ): """ A custom wx.Grid Table using user supplied data """ def __init__( self ): """ data is a list, indexed by col, containing a list of row...
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
516a664d5e69b3e6ccc8b980b298b28226e04d80
aa9297175621fcd499cad5a0373aaad15f33cde8
/udemy-py/practica-clases/mundo_pc/raton.py
526bdec66619a3f912fd0fdfad898366d48d57f1
[]
no_license
eflipe/python-exercises
a64e88affe8f9deb34e8aa29a23a68c25e7ba08a
b7a429f57a5e4c5dda7c77db5721ca66a401d0a3
refs/heads/master
2023-04-26T19:19:28.674350
2022-07-19T20:53:09
2022-07-19T20:53:09
192,589,885
0
0
null
2023-04-21T21:23:14
2019-06-18T18:06:14
HTML
UTF-8
Python
false
false
703
py
from dispositivo_de_entrada import DispositivoEntrada class Raton(DispositivoEntrada): contador_producto = 0 def __init__(self, marca, tipo_entrada): Raton.contador_producto += 1 self._id_producto = Raton.contador_producto super().__init__(marca, tipo_entrada) def __str__(self):...
[ "felipecabaleiro@gmail.com" ]
felipecabaleiro@gmail.com
aee1247903d18ea9a88a475d42322f840a9bcfbd
09cead98874a64d55b9e5c84b369d3523c890442
/py200622_python2/day12_py200730/datatype_2_decimal.py
ab59ad921dea94213327cd36e00e7fdbfcac34c5
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
""" numbers - decimal Due to this reason, most of the decimal fractions cannot be accurately stored in our computer. """ a = 1.1 + 2.2 # print(a) b = 3.3 # print(b) if a == b: print("a==b") else: print("a!=b") a = 1.1 + 0.1 b = 1.3 - 0.1 if a == b: print("a==b") else: print("a!=b") print() # qu...
[ "lada314@gmail.com" ]
lada314@gmail.com
44189b3313b77752f57281d61124938352559d1a
0377a4135f9e8940809a62186b229295bed9e9bc
/201. 数字范围按位与/solution.py
cae779cbe0ac247a557b52a9f0b2723b028eedab
[]
no_license
neko-niko/leetcode
80f54a8ffa799cb026a7f60296de26d59a0826b0
311f19641d890772cc78d5aad9d4162dedfc20a0
refs/heads/master
2021-07-10T10:24:57.284226
2020-09-13T11:28:45
2020-09-13T11:28:45
198,792,951
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
class Solution: def rangeBitwiseAnd(self, m: int, n: int) -> int: while m < n: n = n & (n-1) return n
[ "2361253285@qq.com" ]
2361253285@qq.com
c23bf011047c5d486f451c689ad1ad9bb5b648e7
060ce17de7b5cdbd5f7064d1fceb4ded17a23649
/fn_mcafee_esm/fn_mcafee_esm/util/config.py
18fc57d089d0070ed18677b9df04b68fd225e8a0
[ "MIT" ]
permissive
ibmresilient/resilient-community-apps
74bbd770062a22801cef585d4415c29cbb4d34e2
6878c78b94eeca407998a41ce8db2cc00f2b6758
refs/heads/main
2023-06-26T20:47:15.059297
2023-06-23T16:33:58
2023-06-23T16:33:58
101,410,006
81
107
MIT
2023-03-29T20:40:31
2017-08-25T14:07:33
Python
UTF-8
Python
false
false
1,020
py
# -*- coding: utf-8 -*- # (c) Copyright IBM Corp. 2010, 2018. All Rights Reserved. """Generate a default configuration-file section for fn_mcafee_esm""" from __future__ import print_function def config_section_data(): """Produce the default configuration section for app.config, when called by `resilient-...
[ "shane.curtin@ie.ibm.com" ]
shane.curtin@ie.ibm.com