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
3c227d101d4c7c8c94b047534ef9453524806f5f
6e95e9b6a1fc996ebcb46c44d4ef7678f762e4f7
/others/xiangmu/Shandong/淄博.py
bea8f6c3343a4e8c8f6c56153246b4f980f88462
[ "Apache-2.0" ]
permissive
625781186/lgd_spiders
3a4d6917a01e446136e7aef4c92b9b7a1f8e498d
1c8680115beb42f4daaf6be71bf3fb14fcc2c255
refs/heads/master
2020-08-29T13:21:12.116395
2019-10-21T14:28:00
2019-10-21T14:28:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,699
py
# -*- coding: utf-8 -*- import requests import re import time from lxml import etree import datetime from common.update_mongo import Update from common.update_mongo import Update2 from common.spider_class import TongyongSpider now = datetime.datetime.now().strftime('%Y/%m/%d') city = 'zibo' class Producer(TongyongSp...
[ "lgdupup" ]
lgdupup
fbd90a1183ff5f2c498044ca317aadebbf6dab6c
2f63688febd21dc3ae6b19abfa79ad313c820154
/0063_Unique_Paths_II/try_2.py
52c31b667efe89f6f4c2c7c52a459bda0a3052c2
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
1,051
py
class Solution: def uniquePathsWithObstacles(self, obstacleGrid: List[List[int]]) -> int: ''' 上左是石頭的則+0 ''' dp = [[0 for j in range(len(obstacleGrid[0]))] for i in range(len(obstacleGrid))] # 1th row flag = True for j in range(len(obstacleGri...
[ "f14051172@gs.ncku.edu.tw" ]
f14051172@gs.ncku.edu.tw
bd955766f2c05e3737ab33a80c4b5c543ad7629c
59f03c7528c9c806e3e25b9864db89f25dfa73c2
/tests/onegov/swissvotes/test_views_exceptions.py
968fb33a50f3a189a70f68d75e43cdb109cc258f
[ "MIT" ]
permissive
OneGov/onegov-cloud
8d8cd6d0378991ebc2333b62337246719102e723
c706b38d5b67692b4146cdf14ef24d971a32c6b8
refs/heads/master
2023-08-24T15:37:52.536958
2023-08-24T14:15:54
2023-08-24T14:15:54
189,431,418
17
4
MIT
2023-09-14T20:39:37
2019-05-30T14:47:14
Python
UTF-8
Python
false
false
442
py
from webtest import TestApp as Client def test_view_exceptions(swissvotes_app): client = Client(swissvotes_app) client.get('/locale/de_CH').follow() assert ( "Sie versuchen eine Seite zu öffnen, für die Sie nicht autorisiert " "sind" ) in client.get('/votes/update', status=403) a...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
24b7be1f03ebf1b37b40a37b19178385c6947d2b
ea1ec59c934acc6dfbaa4c8e63349b2d391e9c25
/pandas-ta-quant-plot/pandas_ta_quant_plot/__init__.py
adc97cab839b9e24088969636475747502329f41
[ "MIT" ]
permissive
Allensmile/pandas-ml-quant
475c09573b47ea3d589c94644edbd85d9d1917b2
59b702307c1842b0b89b5cbf755c1296da97b00a
refs/heads/master
2023-06-19T00:24:13.263411
2021-06-19T09:30:05
2021-06-19T09:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
"""Augment pandas DataFrame with methods for quant analysis plotting""" __version__ = '0.2.0' from collections import namedtuple from pandas_ta_quant_plot.plots import * from pandas.core.base import PandasObject from pandas_ta_quant_plot.ta_plot_context import PlotContext _ta = getattr(PandasObject, "ta", None) if _t...
[ "kic@kic.kic" ]
kic@kic.kic
a12fa220e2127d65695380961b8a907ca2a9640b
6e9a420485b25684b178984fd90f74bbe3ab5b58
/api/vm/define/vm_define_nic.py
77484d97193ab6c5c1f3b42141c180c0d77bf09d
[ "Apache-2.0" ]
permissive
BillTheBest/esdc-ce
d367a88685548d41672c773364484ca7f82c4a26
ab71bf9dc66fb78a0de724077c02c58bc7d970ec
refs/heads/master
2021-04-26T23:34:06.535783
2018-02-25T19:19:15
2018-02-25T19:19:15
124,016,413
1
0
Apache-2.0
2018-03-06T03:41:33
2018-03-06T03:41:32
null
UTF-8
Python
false
false
4,253
py
from django.db.transaction import atomic from api import status as scode from api.utils.db import get_listitem from api.task.response import SuccessTaskResponse, FailureTaskResponse from api.vm.define.utils import is_vm_operational from api.vm.define.api_views import VmDefineBaseView from api.vm.define.serializers imp...
[ "daniel@kontsek.sk" ]
daniel@kontsek.sk
12931f85fab5e70495912647ce9e0e73a0b33b5f
7f114a1fb511b816c116d5b9e67cb998e3e23956
/PyproS42.py
2376562757fa81b9b049f4905404b79c591ba9a8
[]
no_license
Bharanij27/bharanirep
90ac34eb28deaa7ec96d042de456de71b96866d7
982133a7939c889d433c178a601441fa087293d9
refs/heads/master
2021-08-07T20:22:36.244395
2020-06-05T04:58:10
2020-06-05T04:58:10
186,580,768
0
6
null
null
null
null
UTF-8
Python
false
false
212
py
n,k=map(int,input().split()) l=list(map(int,input().split())) m=ma=-99999999999 def split(l,i): m=(max(min(l[:i]),min(l[i:]))) return m for i in range(1,n): m=split(l,i) if m>ma: ma=m print(ma)
[ "noreply@github.com" ]
Bharanij27.noreply@github.com
80e7408c473f7878fa0a47f087e8e936739924c4
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/15.Tomcat/Tomcat16-Connector组件.py
394d6907603f9e207e89c25c721ef85e84967fe6
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
3,537
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind from xmind.core.markerref import MarkerId xmind_name="tomcat" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("Connector...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
39196a1a8ee52ea5b7922cb7fe6d55035522c25f
a821e5a6e45665f7e219e3e3ed07c150219e4add
/exercicio87.py
15af26a0b52b2b4d33419be908b3021ddf0dc2b6
[]
no_license
andreplacet/exercicios_python
18a28af942eb2bb211438f0aca10d651b7324fe5
0affe524e99f7739b08fdf58e2b54c5b577c8624
refs/heads/master
2020-08-29T02:05:52.850805
2020-06-01T19:09:50
2020-06-01T19:09:50
217,887,722
1
0
null
null
null
null
UTF-8
Python
false
false
954
py
lista1 = [] lista2 = [] lista3 = [] matriz = [] somapares = somacoluna = 0 for c in range(0, 3): lista1.append(int(input(f'Digite um valor para a [linha 0 coluna {c}]: '))) matriz.append(lista1[:]) for i in range(0, 3): lista2.append(int(input(f'Digite um valor para a [linha 1 coluna {i}]: '))) matriz.append(li...
[ "andreplacet@gmail.com" ]
andreplacet@gmail.com
88366e6cbc6e5a8631c3457c55bcaef9ed8a6ec1
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1788.py
ae186084bcedfcf170bed7527fb4be333759830b
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
b0567b632314b432d96a5ec767e7e49d16a3a590
1f32af53c3f0d1cf1176e72a887135e1e5309e4b
/en/1_dqn/dqn.py
f55918bfaba1c556492ae116865e843d11dc1e8d
[ "MIT" ]
permissive
seungjaeryanlee/rainbow-ride
bff020c61fd86d03993d4f7c68d965d071753105
29b0af19f5cc3d41433a8b405e736bc49309f540
refs/heads/master
2020-03-20T23:30:51.723184
2018-06-22T04:43:45
2018-06-22T04:43:47
137,849,945
1
1
null
null
null
null
UTF-8
Python
false
false
459
py
import torch.nn as nn class DQN(nn.Module): """ A simple Deep Q-Network with fully connected layers. """ def __init__(self, input_dims, output_dims): super().__init__() self.layers = nn.Sequential( nn.Linear(input_dims, 128), nn.ReLU(), nn.Linear(12...
[ "seungjaeryanlee@gmail.com" ]
seungjaeryanlee@gmail.com
af6517f8f612bd6daa93525c115f29b30d940596
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02997/s415838912.py
f36fccc0a8389864ad1d55d8962f2354c082d9bc
[]
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
346
py
N, K = map(int, input().split()) edges = [(1, to) for to in range(2, N + 1)] M = (N - 1) * (N - 2) // 2 if K > M: print(-1) exit() for fr in range(2, N + 1): for to in range(fr + 1, N + 1): if M == K: break edges.append((fr, to)) M -= 1 print(len(edges)) for fr ,to in...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c738a11291e2651813c258b3b4ef5316c6a08b75
3076bd73c41ed665c987d99218b8a3599fa05ec2
/tests/test_hopfield_net.py
c3a7716eb7e004205ee9b22386d2acd827f3efe6
[ "Apache-2.0" ]
permissive
lantunes/cellpylib
5135a6986e68424d9ec8b09fb42421b3dcf046d1
743e936d48f8520f6f4ac652570ac7bb46414189
refs/heads/master
2023-03-07T03:31:32.380400
2023-02-21T12:34:28
2023-02-21T12:34:28
126,618,694
203
32
Apache-2.0
2023-02-15T03:40:38
2018-03-24T16:33:15
Python
UTF-8
Python
false
false
2,486
py
import unittest import cellpylib as cpl import numpy as np import os THIS_DIR = os.path.dirname(os.path.abspath(__file__)) class TestHopfieldNet(unittest.TestCase): def test_hopfield_net(self): np.random.seed(0) # patterns for training zero = [ 0, 1, 1, 1, 0, 1, ...
[ "lantunes@gmail.com" ]
lantunes@gmail.com
ce6d34048467bbdff945b612bc3eba00b13c0baf
dd9de22427fd78910bdb6bff79b69dfb39d233d1
/accounts/urls.py
7f25807c9702aac4b0e2e9c2dae99ea84b018267
[]
no_license
sulembutproton/joinsys
a21162d9d887194d3f252fc14da8adf538bd5c30
729fd046446b9389dab3a3cca25a50ddfb173af0
refs/heads/master
2023-04-17T01:59:14.639572
2021-04-28T17:44:25
2021-04-28T17:44:25
362,556,466
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
from django.contrib.auth import views as auth_views from django.urls import path from .import views urlpatterns = [ path('register/', views.Register.as_view(), name='register'), path('login/', views.user_login, name='login'), path('logout/', auth_views.LogoutView.as_view(template_name='accounts/logout.htm...
[ "sulembut@protonmail.com" ]
sulembut@protonmail.com
cba9ce61d1502a557bd65c9c39a8c4939f68e3e6
e972dc486e62152981177f85b5f9cff919ac0867
/et_wiki/wiki_comp.py
a9e8c24fbdb4fa2fc5c2dca405063eee2b8bf36a
[]
no_license
yeongsunpark/cute
d81b9b03f747f65bed742b10b2f9a59f69efea96
d69f918f9a1f1d6db70bc62272fc0ce582d7bf50
refs/heads/master
2020-03-27T12:43:41.728918
2019-04-29T04:41:47
2019-04-29T04:41:47
146,564,948
0
2
null
2018-11-06T07:45:59
2018-08-29T07:52:20
Python
UTF-8
Python
false
false
249
py
f2 = open("new_chunk.txt", "w") with open("/data1/we_kor/kowiki_pages_170620_sent_chunk_10.tsv", "r") as f: for line in f: item = line.split("\t") title = item[1] f2.write(title) f2.write("\n") f2.close()
[ "ylunar@naver.com" ]
ylunar@naver.com
854c291b441bfdbf6c527767955aed060484ef1c
a5d22c99e781270317078f8980c934bcc71e6e8b
/neodroidvision/detection/single_stage/ssd/bounding_boxes/__init__.py
39a56c4c514c00d0e79606e1f538b09770dd807b
[ "Apache-2.0" ]
permissive
aivclab/vision
dda3b30648b01c2639d64a016b8dbcfccb87b27f
06839b08d8e8f274c02a6bcd31bf1b32d3dc04e4
refs/heads/master
2023-08-21T22:35:10.114394
2022-11-02T10:14:08
2022-11-02T10:14:08
172,566,233
1
3
Apache-2.0
2023-08-16T05:11:30
2019-02-25T19:00:57
Python
UTF-8
Python
false
false
265
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 05/03/2020 """ from .conversion import * from .ssd_priors import * from .ssd_transforms import * from .tensor_metrics import *
[ "christian.heider@alexandra.dk" ]
christian.heider@alexandra.dk
a9045e150a1a97f2d4d88e005f75da3043df176e
f2e97b979c648b3b121ff0f8c37cf6ae998fa513
/python/compare_thread_asyncio.py
8345af6a5fd57ddce861f2e20365a413f2ddb79c
[]
no_license
LeonKennedy/LearningByLanguage
64564271a323809ab27bd09b2d142a485d013ce2
51d44f54b13c2e0202f9986f3556ad7f93e55e7c
refs/heads/master
2022-11-10T22:46:07.917794
2022-11-08T10:48:52
2022-11-08T10:48:52
52,009,288
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # @Filename: spinner_thread.py # @Author: olenji - lionhe0119@hotmail.com # @Description: 多线程和异步的对比 # @Create: 2018-12-10 10:29:31 # @Last Modified: 2018-12-10 10:29:31 import threading, asyncio import itertools, time, sys, pdb # -------------- threading -------------- ...
[ "lionhe0119@hotmail.com" ]
lionhe0119@hotmail.com
370bba158aa6b9ed78e5e53ff1ec9aece224f346
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03612/s889391086.py
70896f9cae948f4c33f1f7fbb4659992722e6cbd
[]
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
214
py
n = int(input()) *p, = map(int, input().split()) q = [True if p[i] != i+1 else False for i in range(n)] + [True] ans = 0 for i in range(n): if not q[i]: ans += 1 q[i] = q[i+1] = True print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7303cff5ec99102bf82cefbe7dbba1e098b81285
9088d49a7716bdfc9b5770e8e54ebf7be6958fcf
/Tests/Aula_20d.py
0b3ae15da823725ffb438bbc6b939143e05b6448
[ "MIT" ]
permissive
o-Ian/Practice-Python
579e8ff5a63a2e7efa7388bf2d866bb1b11bdfe2
1e4b2d0788e70006096a53a7cf038db3148ba4b7
refs/heads/main
2023-05-02T02:21:48.459725
2021-05-18T18:46:06
2021-05-18T18:46:06
360,925,568
4
0
null
null
null
null
UTF-8
Python
false
false
150
py
def count(*num): print(f'Recebi ao todos os números {num}. Há {len(num)} números.') count(12, 34, 2, 1, 4) count(4, 3, 1, 7, 10) count(1, 2)
[ "ianstigli@hotmail.com" ]
ianstigli@hotmail.com
f4386254b812a61719e4b1a2931b317d490bcc62
65f3ada144f45bd5dbaf3d37ca9366ff54796f0c
/month7/findLadders.py
a417abd90108d7af8b53f6a6496eb2eadb19d4eb
[]
no_license
BruceHi/leetcode
43977db045d9b78bef3062b16d04ae3999fe9ba7
0324d247a5567745cc1a48b215066d4aa796abd8
refs/heads/master
2022-09-22T14:18:41.022161
2022-09-11T23:45:21
2022-09-11T23:45:21
248,240,171
1
0
null
null
null
null
UTF-8
Python
false
false
5,477
py
# 单词接龙 from typing import List from collections import deque from collections import defaultdict from string import ascii_lowercase class Solution: # def findLadders(self, beginWord: str, endWord: str, wordList: List[str]) -> List[List[str]]: # word_set = set(wordList) # if endWord not in word_set...
[ "BruceHi@users.github.com" ]
BruceHi@users.github.com
59496f68b537c7454649f2c8a3409422cdb354cc
5179b07b8d1a31df18612ce55d35c56b851cead8
/mmaction/datasets/pipelines/loading.py
ecaafa6ba9e86a7c801cdbee8f33028f861796f3
[ "Apache-2.0" ]
permissive
hamidehkerdegari/VFS
3e9c427c4a8ae0a6b66a3a1378bac5c6f9daaf51
8e055cc191578706f05b7484facf44be6fb1525a
refs/heads/master
2023-08-24T09:40:46.678233
2021-09-26T18:24:38
2021-09-26T18:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
47,320
py
import io import os import os.path as osp import shutil import warnings import mmcv import numpy as np from mmcv.fileio import FileClient from torch.nn.modules.utils import _pair from ...utils import get_random_string, get_shm_dir, get_thread_id from ..registry import PIPELINES @PIPELINES.register_module() class Sa...
[ "xvjiarui0826@gmail.com" ]
xvjiarui0826@gmail.com
df7913dd36c7238962153d6e680c9a6e7ad9d375
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/13164201.py
05dfc374b8b17fa012a7aa7f0a1397e0cc3ab6c7
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/13164201.py generated: Fri, 27 Mar 2015 15:48:02 # # Event Type: 13164201 # # ASCII decay Descriptor: {[[B_s0]nos -> (D*(2007)~0 -> (D~0 -> K+ pi-) gamma ) (phi(1020) -> K+ K-) ]cc, [[B_s0]os -> (D*(2007)0 -> (D0 -> K- pi+) gamma ) (phi(1020) -> K- K+) ]c...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
32aae12aa67d9697a2cbea89e1ab6142f273cd3b
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/healthcareapis/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis/models/__init__.py
cb27d5affb6e885dc7d62df53c2daa9ddf2efef1
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,970
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 ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
935577a52f81fd6a39af6a8ab69bbb45ab1ed8b6
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_5/models/software_installation_step.py
4d482e18e00abb8dc317c2cd8d70662c91a5fdfc
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,629
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
f31541e6d2ecf93b94e193eee325b50654e6e8d5
d2bc6792983724b22175c9d42a5b5a0fa174d576
/Trakttv.bundle/Contents/Code/pts/session_manager.py
d335e61d9ad5ddf1cfb39c79ce1629805df7ee6b
[]
no_license
frentrop/Plex-Trakt-Scrobbler
f8e70bc4d1cf82545f675447bd0237a6436f41f5
70a59f62eb3812f9dba36a45697a4123b8c89dd9
refs/heads/master
2021-01-17T22:13:52.603253
2015-02-18T11:12:16
2015-02-18T11:12:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,857
py
from core.helpers import total_seconds from core.logger import Logger from data.watch_session import WatchSession from pts.scrobbler import ScrobblerMethod from datetime import datetime from threading import Thread import traceback import time log = Logger('pts.session_manager') class SessionManager(Thread): de...
[ "gardiner91@gmail.com" ]
gardiner91@gmail.com
d07ea0e9e3e5000189867d9bf01d01e77c958188
efd471380d976614667e56c92f0aed671371fc63
/All Programs/Day 2 - Operators.py
7e26ea13a61812b56bc8a246512592504dfe4556
[]
no_license
anshumanairy/Hacker-Rank
39af46e76182d34637340d1755aff4afd7820083
6fef4c6a415422d9379232932358e4ee7430a6af
refs/heads/master
2021-07-04T07:41:37.769152
2020-10-12T05:49:24
2020-10-12T05:49:24
181,359,750
2
2
null
2020-10-12T05:49:25
2019-04-14T19:38:18
Python
UTF-8
Python
false
false
287
py
#!/usr/bin/env python # coding: utf-8 # In[7]: def func(): meal_cost = float(input()) tip_percent = int(input()) tax_percent = int(input()) total_cost=meal_cost+(meal_cost*tip_percent/100)+(meal_cost*tax_percent/100) print(round(total_cost)) func() # In[ ]:
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
e48f1cd2379953a3e76ed6637485ba7475088ac1
e90a772733e73e45b4cdbb5f240ef3b4a9e71de1
/251. Flatten 2D Vector.py
bda19790c5d3ad2a9bc44c05e8ad35702b52bffd
[]
no_license
jiewu-stanford/leetcode
102829fcbcace17909e4de49c01c3d705b6e6e3a
cbd47f713d3307f900daf55c8f27301c70542fc4
refs/heads/master
2022-05-28T18:25:00.885047
2022-05-18T05:16:22
2022-05-18T05:16:22
214,486,622
2
0
null
null
null
null
UTF-8
Python
false
false
787
py
''' Title : 251. Flatten 2D Vector ($$$) Problem : https://leetcode.com/problems/flatten-2d-vector/ : https://www.lintcode.com/problem/flatten-2d-vector/description ''' ''' Reference: https://www.cnblogs.com/lightwindy/p/8577871.html ''' class Vector2D(object): def __init__(self, vec2d): s...
[ "bayernscience@hotmail.com" ]
bayernscience@hotmail.com
b07be83a3998ff9cfe606edc6c01aa9efbd148ac
a904e99110721719d9ca493fdb91679d09577b8d
/month01/all_code/day05/homework/exercise05.py
0f12f974bdd279f020581ab649d02e68d2cbf968
[ "Apache-2.0" ]
permissive
chaofan-zheng/tedu-python-demo
7c7c64a355e5380d1f8b6464affeddfde0d27be7
abe983ddc52690f4726cf42cc6390cba815026d8
refs/heads/main
2023-03-12T05:17:34.596664
2021-02-27T08:33:31
2021-02-27T08:33:31
323,350,480
4
1
null
null
null
null
UTF-8
Python
false
false
628
py
""" 练习:根据下列文字,提取变量,使用字符串格式化打印信息 湖北确诊67802人,治愈63326人,治愈率0.99 70秒是01分零10秒 """ region = "湖北" confirmed = 67802 cure = 63326 cure_rate = 0.9912345 # print("%s确诊%d人,治愈%d人,治愈率%.2f" % # (region, confirmed, cure, cure_rate)) print(f"{region}确诊{confirmed}人,治愈{cure}人,治愈率{cure_rate:.2f}") total_second = 70 # pr...
[ "chaofan1@berkeley.edu" ]
chaofan1@berkeley.edu
08d43bcd8b9340063e0076a14ee544d6aa0c45fc
a29c6e83ae4f9010941d15c8fd4cfc67680bb054
/keras/keras43_boston_3_lstm.py
cfebcb0b1b796a4fd2b370ae022e7dd61d10d643
[]
no_license
ym0179/bit_seoul
f1ff5faf4ae20fbc8c0e2ed10a005f8bd4b2c2b8
14d1fb2752312790c39898fc53a45c1cf427a4d1
refs/heads/master
2023-02-27T19:52:23.577540
2021-02-08T00:30:16
2021-02-08T00:30:16
311,265,926
1
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
#Day7 #2020-11-17 #보스턴 집값 예측: 1978년에 발표된 데이터로 미국 보스턴 지역의 주택 가격에 영향을 미치는 요소들을 정리 from sklearn.datasets import load_boston from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, LSTM, Dropout dataset = load_boston() x = dataset.data y = dataset.target # print(x) # print(x.shape, y.s...
[ "ym4766@gmail.com" ]
ym4766@gmail.com
db05fb0ae0a739328e4c844cf59e78fe6fca7fd6
0cd64f3f67c6a3b130a788906da84ffc3d15396a
/Library/lib/python3.9/site-packages/sympy/physics/quantum/qft.py
5d35d22e1f0985800bcb28b49c256ecca1930a4d
[ "MIT", "BSD-3-Clause", "0BSD", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-python-cwi", "Python-2.0" ]
permissive
Ryorama/codeapp
32ef44a3e8058da9858924df211bf82f5f5018f1
cf7f5753c6c4c3431d8209cbaacf5208c3c664fa
refs/heads/main
2023-06-26T09:24:13.724462
2021-07-27T17:54:25
2021-07-27T17:54:25
388,520,626
0
0
MIT
2021-07-22T16:01:32
2021-07-22T16:01:32
null
UTF-8
Python
false
false
6,199
py
"""An implementation of qubits and gates acting on them. Todo: * Update docstrings. * Update tests. * Implement apply using decompose. * Implement represent using decompose or something smarter. For this to work we first have to implement represent for SWAP. * Decide if we want upper index to be inclusive in the co...
[ "ken.chung@thebaselab.com" ]
ken.chung@thebaselab.com
fd289b356f9617c2ebaaa01d271f3e18fca8ee97
f2a2f41641eb56a17009294ff100dc9b39cb774b
/old_session/session_1/_144/_144_binary_tree_preorder_traversal.py
09b613446a5be0cf7e9539edd9c8b63a2327f9da
[]
no_license
YJL33/LeetCode
0e837a419d11d44239d1a692140a1468f6a7d9bf
b4da922c4e8406c486760639b71e3ec50283ca43
refs/heads/master
2022-08-13T01:46:14.976758
2022-07-24T03:59:52
2022-07-24T04:11:32
52,939,733
3
0
null
null
null
null
UTF-8
Python
false
false
903
py
""" 144. Binary Tree Preorder Traversal Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,2,3]. """ # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val =...
[ "yunjun.l33@gmail.com" ]
yunjun.l33@gmail.com
903b509e27fa5c700f0cf5445f78e218d2d3c40b
a16d190c16781bf4fde5960673d2897e469e0174
/flink-ai-flow/lib/airflow/tests/providers/google/cloud/operators/test_dataflow.py
9cb7490990e0c0d094473e6df35b8f081d054cf0
[ "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT", "BSD-2-Clause" ]
permissive
bgeng777/flink-ai-extended
742a1bb80d07c090c3ecb960394422896b5899d7
f83b5d661240c45c767002767c0cbddc847fff81
refs/heads/master
2023-08-15T00:32:40.260537
2021-07-27T04:20:53
2021-07-27T04:20:53
349,360,984
1
2
Apache-2.0
2021-05-20T03:05:56
2021-03-19T09:03:50
Python
UTF-8
Python
false
false
15,386
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...
[ "jiangxin.jiang@alibaba-inc.com" ]
jiangxin.jiang@alibaba-inc.com
b843458b7624d7a008fa6052f1a9a98ce728076f
0396bc649c5b2ddb21a6b629e3daf1501dafd13f
/evalml/pipelines/components/ensemble/stacked_ensemble_base.py
025bc52dafc00ab673641bf89fa6d07c059915c1
[ "BSD-3-Clause" ]
permissive
Sandy4321/evalml
3324fe6501091c51b67b4a573214ad4c6103c5a5
32f9be24d9d8479cf1a4d7a261c17fde213c50d1
refs/heads/main
2023-02-09T04:38:53.077488
2021-01-01T03:59:18
2021-01-01T03:59:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,329
py
from evalml.exceptions import EnsembleMissingPipelinesError from evalml.model_family import ModelFamily from evalml.pipelines.components import Estimator from evalml.pipelines.components.utils import scikit_learn_wrapped_estimator from evalml.utils import classproperty _nonstackable_model_families = [ModelFamily.BASEL...
[ "noreply@github.com" ]
Sandy4321.noreply@github.com
435d64183cddf28cb10b05c638226a18cfe23383
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03042/s072464251.py
0667e7e766e9808fb1edf62e69f58f1a05ba3c1c
[]
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
327
py
s = input() def YYMM(s): p = int(s[2:]) if 1 <= p <= 12: return True return False def MMYY(s): p = int(s[:2]) if 1 <= p <= 12: return True return False if YYMM(s) and MMYY(s): print('AMBIGUOUS') elif YYMM(s): print('YYMM') elif MMYY(s): print('MMYY') else: prin...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7915777eddf122fb1204b725cd49b39bf2fa5c7b
45c0651d7785025f0e7a137d8abac0e66092a659
/roles/lib_zabbix/library/zbx_user.py
c916fa96a61d1acba94daf38922e1d8ef0f4ede5
[ "Apache-2.0" ]
permissive
pkdevbox/openshift-ansible
df3f0d75032b5dee4f962852e265437ba2656925
318ac6b9b65f42f032382114f35d3c9fa7f5610b
refs/heads/master
2021-01-21T01:39:10.120698
2015-09-04T20:29:58
2015-09-04T20:29:58
41,973,441
1
0
null
2015-09-05T19:45:46
2015-09-05T19:45:46
null
UTF-8
Python
false
false
6,779
py
#!/usr/bin/env python ''' ansible module for zabbix users ''' # vim: expandtab:tabstop=4:shiftwidth=4 # # Zabbix user ansible module # # # Copyright 2015 Red Hat Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ma...
[ "kwoodson@redhat.com" ]
kwoodson@redhat.com
5d851d8cfe60de655c230608e5c5bb4c09078032
e5a044708032b853f1cdf8906da63502716fd410
/openapi_client/models/post_auth_transaction_all_of.py
3108af8ded3b97784e38a869b08eb2ce2181a632
[]
no_license
GBSEcom/Python
4b93bab80476051fc99f379f018ac9fa109a8a6a
5fa37dba8d0c3853686fdc726f863743376060c9
refs/heads/master
2021-12-04T12:55:29.605843
2021-11-19T22:01:03
2021-11-19T22:01:03
136,058,345
1
2
null
null
null
null
UTF-8
Python
false
false
6,222
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
002a0a8ed95336f133ab86237afdd69b34f56e73
1da61f69428c4318e6bb43b96b9a72e65d6b1a59
/arche_papergirl/models/tests/test_newsletter.py
5b8dc42452b1611b1eb3e6d89bd5e539e51fba31
[]
no_license
ArcheProject/arche_papergirl
ea16e453af248ca1ab571297559d8ebd8b6770b5
e69a4c3ddd0c7e0d27f45f354f4c96807509de1a
refs/heads/master
2020-04-10T01:44:21.189511
2018-07-13T12:33:42
2018-07-13T12:33:42
68,215,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from unittest import TestCase from pyramid import testing from zope.interface.verify import verifyClass, verifyObject from arche_papergirl.exceptions import AlreadyInQueueError from arche_papergirl.interfaces import INewsletter class NewsletterTests(T...
[ "robin@betahaus.net" ]
robin@betahaus.net
2a63aedc0143cf8e12b66793a11b1d887f1f6c7c
458c7d8a560658fcc61a629bc6397bf515717b61
/catkin_ws/build/realsense/realsense2_description/catkin_generated/pkg.installspace.context.pc.py
023f1f42f52ebac06ec7089fefff2d696eced89d
[]
no_license
aboughatane/Tb3_with_OM
52e6ee855e4b2b773289c4c9ea9684b08206aa24
8ee25ff9a6ce2ad770471baf1f51710e6848ebf0
refs/heads/main
2023-03-15T15:19:31.296028
2020-12-20T23:35:55
2020-12-20T23:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "realsense2_description" PROJECT_SPACE...
[ "thiernodd@gmail.com" ]
thiernodd@gmail.com
1fd8eaaf0397d32379f65f494be6bf3ed513ef53
828115da62a687e1e9ea96bd5072f8b148e873a3
/Segmenter.py
a4368dcd77129a6ead937c22f4282ef74099b30a
[]
no_license
VitalyRomanov/scidoc
cafc86f0f83c1ebd7ce17c8420cb158ab0844b89
2029abfff4eee8b919cc9bca7251d2edc7fd005f
refs/heads/master
2021-02-16T11:44:02.495918
2020-03-05T07:33:08
2020-03-05T07:33:08
245,001,967
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
from LanguageTools.nltk_wrapper import NltkWrapper from nltk.classify.textcat import TextCat class Segmenter: def __init__(self): self.tc = TextCat() self.nlp_en = NltkWrapper("en") self.nlp_ru = NltkWrapper("ru") def __call__(self, full_text, segment_len=5, segment_overlap=2): ...
[ "mortiv16@gmail.com" ]
mortiv16@gmail.com
87d56f0c0931ae0db0ef2c5b9d39c0a2dd09901b
cb2e2d84d970894bb6d1b414e91551118fcfc209
/src/hal_configurator/ui/gen/testingflow.py
11071babd0b3f997183097c0394d1f6135f98d6c
[]
no_license
codechem/hal_automator
0cb54f1d086e831208533f9b934806045700e1e8
e9404f33ee34a9068293daff33434d2c80d23865
refs/heads/master
2021-01-13T13:58:58.552727
2016-06-21T17:26:34
2016-06-21T17:26:34
72,894,281
1
0
null
2016-11-05T00:01:32
2016-11-05T00:01:32
null
UTF-8
Python
false
false
679
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/Users/halicea/projects/hal_automator/utils/qtUi/testingflow.ui' # # Created: Sun Nov 1 19:09:21 2015 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, ...
[ "costa@halicea.com" ]
costa@halicea.com
9d4663d936f5bd08c8a3aee4b917a9858f6eace8
170864b6ec66be48138f231fe8ac3381481b8c9d
/python/BOJ_2563.py
ece6f7af4088ada9440550e4b7600777dadef860
[]
no_license
hyesungoh/AA_Algorithm
5da3d8312d035d324dfaa31eef73f01a238231f3
d68f52eaa29cfc4656a8b5623359166779ded06e
refs/heads/master
2023-06-09T14:49:01.402456
2021-06-28T10:10:09
2021-06-28T10:10:09
272,701,231
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
import sys input = sys.stdin.readline n = int(input()) paper = [[0 for _ in range(100)] for _ in range(100)] ans = 0 for _ in range(n): y, x = map(int, input().split()) for i in range(y, y+10): for j in range(x, x+10): if not paper[i][j]: paper[i][j] = 1 an...
[ "haesungoh414@gmail.com" ]
haesungoh414@gmail.com
03097fb708d399c95e2aaad8f59df7478613eea5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_258/ch81_2019_06_05_12_38_09_879499.py
cab21705c88ed0161cb1240956590b1c9a7fc3c7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
def interseccao_valores(dic1, dic2): lista_dic1 = [] lista_dic2 = [] for e in dic1.values(): lista_dic1.append(e) for k in dic2.values(): lista_dic2.append(k) lista_interseccao = [] for m in range(0, len(lista_dic1)): for n in range(0, len(lista_dic2)): if lis...
[ "you@example.com" ]
you@example.com
b84e96d2e5c7ab1fd2060b7a26ec821333dca8bc
767c3ca94095db80c7c23577a93f85cf27dd0579
/testcases/test_register.py
e83ce01d24f95e007513e92b9fb8c763ef8cdabe
[]
no_license
zhang0123456789/interface_test
2e95c532c0fc5662f8ecba6e74c905b8374c2034
d77b4e3c6deace6ae0a87893d62a5fa40cdca462
refs/heads/master
2022-12-12T13:45:24.194832
2019-01-05T01:31:29
2019-01-05T01:31:29
164,169,447
5
0
null
null
null
null
UTF-8
Python
false
false
2,767
py
#!/usr/bin/env python # -*- coding:utf-8-*- #@author:蜜蜜 #@file: test_register.py #@time: 2018/12/31 #@email:1402686685@qq.com import json import unittest from ddt import ddt, data from common import contants from common.do_execl import DoExecl from common.mysql_util import MysqlUtil from common.request import Reques...
[ "1402686685@qq.com" ]
1402686685@qq.com
eb06ee00f22ecf3f7526bbf89d4810daa1b97b13
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/delegatednetwork/get_delegated_subnet_service_details.py
1cea4ab12edb53966c5bbea1377cd526ee76b4bb
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
6,281
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
morrell.noreply@github.com
1d205dda89d185af991d054d0eca492e10d11142
5c94e032b2d43ac347f6383d0a8f0c03ec3a0485
/Alesis_V/__init__.py
a0c19a33939f7a8259468648ba791b0f6717a22d
[]
no_license
Elton47/Ableton-MRS-10.1.13
997f99a51157bd2a2bd1d2dc303e76b45b1eb93d
54bb64ba5e6be52dd6b9f87678ee3462cc224c8a
refs/heads/master
2022-07-04T01:35:27.447979
2020-05-14T19:02:09
2020-05-14T19:02:09
263,990,585
0
0
null
2020-05-14T18:12:04
2020-05-14T18:12:03
null
UTF-8
Python
false
false
966
py
# uncompyle6 version 3.6.7 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.17 (default, Dec 23 2019, 21:25:33) # [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16)] # Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Alesis_V/__...
[ "ahmed.emerah@icloud.com" ]
ahmed.emerah@icloud.com
d3e388b971965bb7667505ef54d6f50b4e5d98c5
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/ton_425/sdB_ton_425_coadd.py
f3713f8fcfe32e4dcaaa4e8452709e8086361d7c
[]
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
414
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[142.527417,31.716667], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_ton_425/sdB_ton_425_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB_ton_425...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
9b12d02cc2a2150cdd9759b246560d369ebebc9a
8fc999f5262b5a2dadc830f1cc345f51b6dde862
/samples/conceptual_samples/exceptional_handling/exceptional_handling.py
c0f88a8c6cdb9961b2c83bc310c86e153c0ed4de
[]
no_license
pandiyan07/python_2.x_tutorial_for_beginners_and_intermediate
5ca5cb5fcfe7ce08d109fb32cdf8138176ac357a
a4c14deaa518fea1f8e95c2cc98783c8ca3bd4ae
refs/heads/master
2022-04-09T20:33:28.527653
2020-03-27T06:35:50
2020-03-27T06:35:50
250,226,804
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# this is a sample python script program which is created to demonstrate the exceptional handling concept in the python def get_number(): "the function returns a float number" number=float(input("enter a float number:\n")) return number exit(0) while True: try: print get_number() break except: ...
[ "becool.pandiyan@gmail.com" ]
becool.pandiyan@gmail.com
0dd328e28c261b6378ae5bb07c13860fccdbabd7
b6a84594f8c29d968014faaddd49abeb7537a5fc
/python/443.string-compression.py
3159cf2b852f7a4b099661f5428f9a01ceb3108e
[]
no_license
nickyfoto/lc
8a6af3df114e693e265d0ede03f4d4e1283e010e
3633b4df3e24968057c7d684689b931c5a8032d3
refs/heads/master
2020-09-16T19:23:07.765917
2020-06-07T17:18:06
2020-06-07T17:18:06
223,866,098
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
# # @lc app=leetcode id=443 lang=python3 # # [443] String Compression # # https://leetcode.com/problems/string-compression/description/ # # algorithms # Easy (37.79%) # Total Accepted: 56.7K # Total Submissions: 149.2K # Testcase Example: '["a","a","b","b","c","c","c"]' # # Given an array of characters, compress it...
[ "nickyfoto@gmail.com" ]
nickyfoto@gmail.com
9aeca146b15c38122ca0078e969386954136da3f
2cb6294bc2a92b082edb34110937902bf5227303
/6/CalThreeKingdomV1.py
b218d853adc19d8edb2ecf544703849e77f8dbe7
[]
no_license
arnoqlk/icourse163-Python
f1e08a43a833f278c64fa79d57e0b6a261895b0b
2766e500151fc7990617a9e3f9df3af5e259f960
refs/heads/master
2020-04-15T22:45:38.695397
2019-01-11T03:13:28
2019-01-11T03:13:28
165,085,541
0
1
null
null
null
null
UTF-8
Python
false
false
950
py
# 三国演义人物出场统计排序 import jieba txt = open(r"D:\PyCode\6\threekingdoms.txt", "r", encoding="utf-8").read() # jieba库错误分析为人名的词语 excludes = {"将军","却说","荆州","二人","不可","不能","如此"} words = jieba.lcut(txt) counts = {} for word in words: if len(word) == 1: continue elif word == "诸葛亮" or word == "孔明曰": ...
[ "123@gmail.com" ]
123@gmail.com
24763cae17d6a3c622a7b72ed61c651427d049f0
37433c8f7ec4ff9fded3c7bcc9403e2293436552
/blog/__init__.py
769f9fefb0af3e91d49a5562259c1b41b59d6e38
[]
no_license
FreeGodCode/TYCarry_Blog
4420d896e735789ac9104568e7bf59a85b796373
9be47be8ff1e33980f237227786bc9d472155114
refs/heads/master
2023-03-22T09:36:35.476398
2021-03-17T07:29:44
2021-03-17T07:29:44
314,501,947
1
0
null
2021-03-17T07:29:45
2020-11-20T09:10:48
Python
UTF-8
Python
false
false
60
py
# import pymysql as pymysql # # pymysql.install_as_MySQLdb()
[ "2501160661@qq.com" ]
2501160661@qq.com
bdd48947c531b535b04e28f94a17564d959c22fe
fa2ffc5487bef8240a1a5c7cfb893c234df21ee0
/modelformproject/modelformproject/settings.py
c9a0a0c311cb15f9ef257ce997acb17937e0fc42
[]
no_license
sandipdeshmukh77/django-practice-projects
cfd4d8f29aa74832ed3dc5501a651cba3f201251
78f9bd9f0fac4aaeecce4a94e88c6880e004b873
refs/heads/main
2023-02-11T05:59:28.029867
2020-12-29T22:12:52
2020-12-29T22:12:52
325,446,362
0
0
null
null
null
null
UTF-8
Python
false
false
3,252
py
""" Django settings for modelformproject project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ fro...
[ "sandipdeshmukh77@gmail.com" ]
sandipdeshmukh77@gmail.com
b53c0419d05dd7cd3d70cc10ab5ff7381ba63d1d
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/network/wengophone/actions.py
ce51c4bbb7335818be785452d31ef95f3c286ab3
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright © 2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import scons from pisi.actionsapi import get from pisi.actionsapi import pisitools from pisi.actionsapi impor...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
d42b0dfc0e08ccb4a075e3b8c1c12a1368c26efc
b149a744da7b512d9ec2bfc3c0d855638d23d7fb
/docs/conf.py
d24946fe260123e404a39a2deb04ff9c0a4c97b0
[ "Apache-2.0" ]
permissive
codeprimate123/imaps
250c8f7c6b71fd1725c676a70b2f3b171a1e75e2
241bcd586013c43db8aa4dcb2d42058ac9d142f8
refs/heads/master
2020-09-01T13:58:44.124344
2019-12-09T16:48:05
2019-12-09T16:48:05
218,973,850
0
0
Apache-2.0
2019-11-01T11:36:12
2019-11-01T11:36:12
null
UTF-8
Python
false
false
1,890
py
import imp import os import shlex import sys import sphinx_rtd_theme base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) # Get package metadata from 'imaps/__about__.py' file about = {} with open(os.path.join(base_dir, 'imaps', '__about__.py')) as f: exec(f.read(), about) # -- General conf...
[ "zmrzlikar.jure@gmail.com" ]
zmrzlikar.jure@gmail.com
a7f4b5315497455f122da51f24d9c8695537822c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02722/s256113021.py
df12675f2b68c6a34a4ddfe3d05d28fbbdf84c3c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,445
py
import sys, math from itertools import permutations, combinations from collections import defaultdict, Counter, deque from math import factorial#, gcd from bisect import bisect_left #bisect_left(list, value) sys.setrecursionlimit(10**7) enu = enumerate MOD = 10**9+7 def input(): return sys.stdin.readline()[:-1] def pri...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f968c6c408331121b36ed5279da8245194e2aa68
9a3674c63ecc8a8e11f69588b8878ea4643c93ca
/backend/chat_time_21849/wsgi.py
5cef89a70bc02457b55f9cf177243fe5a8711c2b
[]
no_license
crowdbotics-apps/chat-time-21849
3bf6e7e984b5b76ca7f7e27f0975b80f10e81bc1
a581a39cde51273163b54f5db3d91a76ac76a421
refs/heads/master
2023-01-01T17:07:02.611073
2020-10-22T23:50:54
2020-10-22T23:50:54
306,481,270
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for chat_time_21849 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
cda4b8d0aa3dedeaa0fafc9a73d659b37f98b784
ca4e9da419a3fb3a59682dbcb668ac1c08c20dc7
/hw/ip/otbn/util/yaml_to_doc.py
757ab4c6cb1e9e77a115efebe8d7c943f364bfdd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ckdur/opentitan
fdf0888605e0d0e08e969c383ea19775f6271afd
e26a00ba788992c16ac362b76a857a48d39b24bc
refs/heads/master
2022-12-11T20:48:21.446346
2020-09-01T23:11:45
2020-09-03T02:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,729
py
#!/usr/bin/env python3 # Copyright lowRISC contributors. # Licensed under the Apache License, Version 2.0, see LICENSE for details. # SPDX-License-Identifier: Apache-2.0 '''Generate Markdown documentation for the instructions in insns.yml''' import argparse import sys from typing import Dict, List from shared.bool_l...
[ "rswarbrick@gmail.com" ]
rswarbrick@gmail.com
d91558179efd30f1c3e5e855ef97de00d8721ad3
58cfad962e57b935e7782bb214a2008d689751d6
/xero_python/payrolluk/models/employee_leave_type_object.py
352b44d1e9d4189a25aaae9039a94a68a273e287
[ "MIT" ]
permissive
XeroAPI/xero-python
ce43c060c216a42efd5f47159987468deb0e4622
07efa3bfc87a3bd08ba217dd2b642f6a3515ddff
refs/heads/master
2023-07-21T04:01:27.461727
2023-07-11T02:35:44
2023-07-11T02:35:44
240,158,613
109
42
MIT
2023-07-11T02:35:45
2020-02-13T02:17:05
Python
UTF-8
Python
false
false
3,178
py
# coding: utf-8 """ Xero Payroll UK This is the Xero Payroll API for orgs in the UK region. # noqa: E501 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel class EmployeeLeaveTypeObject(BaseModel): """NOTE:...
[ "sid.maestre@gmail.com" ]
sid.maestre@gmail.com
0ccc0e47066590b574b24615b6b772781536b4e1
bfdde1d758e9b366f0eee27599e56322340e93e0
/version1/feature4StructuralVAr/f4StrucVarTesting/Bayesian_Classifier.py
3c1caaed13808eaf1002f0a67a910966d26125de
[]
no_license
A-Infinite/Sarcasm-Detection
cb22db5c38705a5d1c3ed10bbdbf1ba4d9a16227
fd42ece85a9412b0e6b377874c82fe9544a19701
refs/heads/master
2020-03-08T14:13:02.085085
2018-06-05T07:39:03
2018-06-05T07:39:03
128,179,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
import numpy as np import csv from sklearn.model_selection import train_test_split from sklearn.preprocessing import OneHotEncoder from sklearn.naive_bayes import GaussianNB x = [] y = [] with open('feature4StrucVar.csv') as csvfile: reader = csv.reader(csvfile, delimiter = ' ') for row in reader: x.append(row[0:...
[ "arushi131.bhatt@gmail.com" ]
arushi131.bhatt@gmail.com
9a10bb495cf4fc83b00c8d9c97248edd59a5dfc9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/323/usersdata/284/89341/submittedfiles/mdc.py
d1667dac5fa29ea45712274a24489656ba05b237
[]
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
160
py
# -*- coding: utf-8 -*- import math def divisor(x): x=int(input('digite o valor:')) for n in range(1,x+1,1): if(x%n==0): return(n)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
74d26786f508654108a2147365f55668187dad26
9044b440bed2b8407ed9e04f7fb9d3d2a7593136
/recommendation/knet/krecall/ops/openblas_top_k/test.py
942125ff70e3d537f3ca6765d04febc83c0cce72
[]
no_license
xuzhezhaozhao/ai
d4264f5d15cc5fa514e81adb06eb83731a0ca818
925cbd31ad79f8827e2c3c706f4b51910f9f85d1
refs/heads/master
2022-01-22T07:04:29.082590
2022-01-17T06:49:39
2022-01-17T06:49:39
136,691,051
5
4
null
null
null
null
UTF-8
Python
false
false
1,032
py
#! /usr/bin/env python # -*- coding=utf8 -*- import tensorflow as tf import numpy as np import struct openblas_top_k_ops = tf.load_op_library('openblas_top_k_ops.so') openblas_top_k = openblas_top_k_ops.openblas_top_k WEIGHTS_PATH = 'weights.bin' BIASES_PATH = 'biases.bin' weights = np.arange(100).reshape([20, 5])....
[ "zhezhaoxu@tencent.com" ]
zhezhaoxu@tencent.com
9a337d7549581b57b42242cdd52a155c5dcec46e
55cf061ccf7cff9e02190ea8dec10a3fc5e82729
/tutorials/3.CodeOrganization/Person.py
8b427a49315da90747d8f4f3b9f8e0a3baab66e0
[ "MIT" ]
permissive
Jess3Jane/pyforms
a9e491310590f510ece910beabb2ea291273cfa1
f34816db018f05c581ede42804771faa39e78824
refs/heads/master
2021-04-26T23:53:08.877082
2018-03-05T06:36:07
2018-03-05T06:36:07
123,875,438
0
0
MIT
2018-03-05T06:33:19
2018-03-05T06:33:19
null
UTF-8
Python
false
false
289
py
class Person(object): def __init__(self, firstName, middleName, lastName): self._firstName = firstName self._middleName = middleName self._lastName = lastName @property def fullName(self): return "{0} {1} {2}".format(self._firstName, self._middleName, self._lastName)
[ "ricardojvr@gmail.com" ]
ricardojvr@gmail.com
d22998740bc6893a04a40937d946e100dbe6da98
8c1aa957a41954daac70b13f1be06df0c4046bb2
/wagtailwebsitebuilder/home/migrations/0020_auto_20200423_0206.py
cd8b535ae009fd5d82f56238976b661409b23530
[]
no_license
hanztura/wagtailwebsitebuilder
6c1a2358d53877e4f70d70e5c7c6b472fabec974
f56d1b799f9eda53b5596ed882b60df154581cc5
refs/heads/master
2021-05-21T08:30:16.170885
2020-08-29T22:35:59
2020-08-29T22:35:59
252,619,323
1
0
null
2021-04-16T20:26:46
2020-04-03T03:01:27
Python
UTF-8
Python
false
false
1,538
py
# Generated by Django 2.2.12 on 2020-04-23 02:06 from django.db import migrations import puputextension.helpers import wagtail.contrib.table_block.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('home', '0...
[ "hanztura@github.com" ]
hanztura@github.com
884c23b9dde9349f41a3614ef6a4675579014561
5b4c803f68e52849a1c1093aac503efc423ad132
/UnPyc/tests/tests/CFG/2/pass/pass_while+else_try+except+else+finally_.py
08b949ad1aa4d769c103db68c1a684ce80ac8cfa
[]
no_license
Prashant-Jonny/UnPyc
9ce5d63b1e0d2ec19c1faa48d932cc3f71f8599c
4b9d4ab96dfc53a0b4e06972443e1402e9dc034f
refs/heads/master
2021-01-17T12:03:17.314248
2013-02-22T07:22:35
2013-02-22T07:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
try: while 1: pass else: pass except: while 1: pass else: pass else: while 1: pass else: pass finally: while 1: pass else: pass
[ "d.v.kornev@gmail.com" ]
d.v.kornev@gmail.com
ebaf97305f4ceba81dcd7be04a37e23fcef110dd
0206ac23a29673ee52c367b103dfe59e7733cdc1
/src/crcm5/nemo_vs_hostetler/main_for_lake_effect_snow.py
d06ec1dc7eb5bafd751cbec8f504961727056066
[]
no_license
guziy/RPN
2304a93f9ced626ae5fc8abfcc079e33159ae56a
71b94f4c73d4100345d29a6fbfa9fa108d8027b5
refs/heads/master
2021-11-27T07:18:22.705921
2021-11-27T00:54:03
2021-11-27T00:54:03
2,078,454
4
3
null
null
null
null
UTF-8
Python
false
false
17,504
py
# at 10km resolution 100km distance is approximated as 10 * dx import os from collections import OrderedDict from matplotlib import cm from matplotlib.colors import BoundaryNorm from matplotlib.gridspec import GridSpec from pathlib import Path from rpn import level_kinds from rpn.rpn import RPN from application_pro...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
ebb1eba75e644fcc50606ed8fd173e72a66784ad
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2788/60617/264414.py
2b2b3b9b9de2320c65e7ff5f40cb8ce89ca0f4d8
[]
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
860
py
def dance(): n=int(input()) boys=list(map(int, input().split(" "))) m=int(input()) girls=list(map(int, input().split(" "))) pairs=0 boys.sort() girls.sort() if n<=m: for ele in boys: if ele-1 in girls: pairs+=1 girls.remove(ele-1) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
d458f4e83c13f6a8060121c872a13308240f3fc4
2fe58e7f6bfc3efdb78ca56f72a4e2a75a24c270
/eric/eric6/Plugins/UiExtensionPlugins/Translator/ConfigurationPage/__init__.py
c589525eb78455712c21edf6336a189a21bfd13e
[]
no_license
testerclub/eric6-20.3
3053e0e6962060b213f5df329ee331a4893d18e6
bba0b9f13fa3eb84938422732d751219bc3e29e2
refs/heads/master
2023-03-18T08:24:03.472297
2020-03-14T06:44:14
2020-03-14T06:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
# -*- coding: utf-8 -*- # Copyright (c) 2014 - 2020 Detlev Offenbach <detlev@die-offenbachs.de> # """ Package implementing the Translator page of the configuration dialog. """
[ "skeptycal@gmail.com" ]
skeptycal@gmail.com
ac73581c07d933e9d8e3d52a3f3a553ed7d1a77b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03680/s252443262.py
3378adf8c331e679f71f21f1cc7f8e53ad921529
[]
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
502
py
import sys from sys import exit from collections import deque from bisect import bisect_left, bisect_right, insort_left, insort_right #func(リスト,値) from heapq import heapify, heappop, heappush sys.setrecursionlimit(10**6) INF = 10**20 def mint(): return map(int,input().split()) def lint(): return map(int,input...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4d83f3a47a7ed8fd3ea7a4cdeae9b47ccee67219
0b25dc3f9b4ef736e739aadddec33b96dd65a0c8
/算法/__init__.py
be81ea962744f6e93efcec51c9ad969ded93ff0e
[]
no_license
ttp55/LearnPy
b123f44a74e4364771491c572705742c15eb33ff
1530e158bde152e5c585f496dd1e5ffcffdb73bc
refs/heads/master
2023-05-11T13:02:30.157285
2023-05-08T07:13:57
2023-05-08T07:13:57
196,953,630
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
# @Time : 2021/6/10 15:49 # @Author : WZG # --coding:utf-8--
[ "1047697347@qq.com" ]
1047697347@qq.com
46fe99471204a18d79b8e197d11e569f943d6c86
07e2e27f20531452bb070597803a52f1e4f4e4a0
/average.py
b4d6974dfd0ee869169925f5589f308fc315d0d5
[]
no_license
ashantisease19/lab-08-loops
de413028d7ede6aee0cf98def3aa63b4bc3ba066
0117f23dd1371b01bc31fdb3f8aa952bf1a28516
refs/heads/master
2023-04-07T08:02:27.834787
2021-04-11T03:16:33
2021-04-11T03:16:33
354,944,478
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
average = 0 sum = 0 for i in range (0,4,1): userinput = input("Just give me a number.") usernum = int(userinput, 10) sum = sum + usernum print("So you put the number " + str(usernum) + " and the current sum is " + str(sum)) average = sum / 4 print("Okay, bro, so the average is " + str(average))
[ "you@example.com" ]
you@example.com
f7762269d29611eb2b9e9e3d4461c52fc55f5133
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/kernel_tests/sparse_xent_op_test.py
f4515e59d6b4845f25afeca20253efd6b0d5f902
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
14,627
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
eb1c2d999d1c52084a21a951371b6816ed211083
1d1c1dce863a4e8b6c9987e9c50fa46908aa0ff6
/pipeline/feature-extraction/seri/extraction_lbp_top_codebook_final.py
c8d81fa0b1fc3d0357cfff5d8307e440ad06ff20
[]
no_license
I2Cvb/lemaitre-2016-apr
4692f64b365c3e8095c96944431e8e03bc9ecc7e
266dc93026fa70c83a34790c1bd9ae14a23492ba
refs/heads/master
2021-01-18T19:30:26.845275
2016-03-19T21:11:11
2016-03-19T21:11:11
54,284,795
0
0
null
null
null
null
UTF-8
Python
false
false
4,067
py
#title :extraction_codebook.py #description :This will create a header for a python script. #author :Guillaume Lemaitre #date :2015/06/07 #version :0.1 #notes : #python_version :2.7.6 #============================================================================== ...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
1d5ecb9898306e73daa11e2c834b4fa76e3d4b76
7826681647933249c8949c00238392a0128b4a18
/cosypose/utils/resources.py
0d0042740659a09b95b1032cea0c91c7fe8516b9
[ "MIT" ]
permissive
imankgoyal/cosypose
b35678a32a6491bb15d645bc867f4b2e49bee6d2
fa494447d72777f1d3bd5bd134d79e5db0526009
refs/heads/master
2022-12-09T11:18:23.188868
2020-08-31T15:34:02
2020-08-31T15:34:02
291,834,596
2
0
MIT
2020-08-31T22:06:12
2020-08-31T22:06:11
null
UTF-8
Python
false
false
517
py
import os import psutil from shutil import which def is_egl_available(): return is_gpu_available and 'EGL_VISIBLE_DEVICES' in os.environ def is_gpu_available(): return which('nvidia-smi') is not None def is_slurm_available(): return which('sinfo') is not None def get_total_memory(): current_proc...
[ "labbe.yann1994@gmail.com" ]
labbe.yann1994@gmail.com
4985a0fa1bd9664fb90cd7db6fe4ebf87eb5bf80
7ef39106ff091002c3a22781628fe3076a0941b0
/bindings/python/pyiree/rt/vm_test.py
ed7e66f7b3ab0b3c19c8bde23f8fab9ccec738e7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
YashRajSingh-4799/iree
798c01b44696f1360014075f4eca275c7a4dc87f
ace19e886efe3702bfe7b17185a5daaa20808e82
refs/heads/master
2022-04-20T23:52:58.303107
2020-04-23T01:39:08
2020-04-23T02:47:41
258,150,320
2
0
Apache-2.0
2020-04-23T09:09:26
2020-04-23T09:09:26
null
UTF-8
Python
false
false
5,127
py
# Lint as: python3 # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
98fd540f8660d0e5851214ffcfc28a448989e90e
06a863150a7a3a7bfc0c341b9c3f267727606464
/lib/gii/core/AssetUtils.py
260e5649c1ed35c15c0ad503ee6b87826f8902a3
[ "MIT" ]
permissive
brucelevis/gii
c843dc738a958b4a2ffe42178cff0dd04da44071
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
refs/heads/master
2020-10-02T00:41:02.723597
2016-04-08T07:44:45
2016-04-08T07:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import os import os.path import subprocess import platform import ctypes ##TOOL Functions def openFileInOS(path): sysName=platform.system() if sysName=='Darwin': subprocess.call(["open", path]) elif sysName == 'Windows': os.startfile( os.path.normpath(path) ) #TODO:linux? def showFileInBrowser(path): sys...
[ "tommo.zhou@gmail.com" ]
tommo.zhou@gmail.com
5d29772916a157b070f30c565edce75aee066945
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/120/120.triangle.249953022.Runtime-Error.leetcode.py
bb813fc6a70d765796b9ff45665c1b95a1f683dc
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
271
py
class Solution(object): def minimumTotal(self, triangle): for row in triangle[::-1]: for col in range(len(triangle[row])): triangle[row][col] += min(triangle[row + 1][col], triangle[row + 1][col + 1]) return triangle[0][0]
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
b8787456ced7e03774305dc6e4fff1a28b3daa6d
316a07bd7ab47d447606d341c5d221d8318f65b9
/horizon/horizon/dashboards/settings/ec2/urls.py
46367bbe0d21ef5617312058a720009d0f481983
[]
no_license
kumarcv/openstack-nf
791d16a4844df4666fb2b82a548add98f4832628
ad2d8c5d49f510292b1fe373c7c10e53be52ba23
refs/heads/master
2020-05-20T03:10:54.495411
2013-06-16T23:44:11
2013-06-16T23:44:11
7,497,218
2
0
null
null
null
null
UTF-8
Python
false
false
875
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 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 # # http://www.apache.org/licenses/LICENS...
[ "b37839@freescale.com" ]
b37839@freescale.com
3282e7d18794deb4d673a620e223b8ab2c976279
3d90d6753cbb48c74dc8e72f4a886635a706ee16
/day20-django之数据库外键多表,ajax/application/application/settings.py
07dcebd87c9f8e60a649fde1b389c928c01bb465
[]
no_license
shun-zi/python
01354dfc23e470c67ae6adc323b7b23c446faf95
9b9851a608cfa18392464b7d887659ced8eb58a6
refs/heads/master
2021-09-12T23:15:35.586858
2018-04-22T12:32:41
2018-04-22T12:32:41
113,460,188
0
0
null
null
null
null
UTF-8
Python
false
false
3,322
py
""" Django settings for application project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "mac@macdeMacBook-Pro.local" ]
mac@macdeMacBook-Pro.local
b7bf9d90e7b82119aa39546ac07392e2794321d0
d916d9f15b039abe4f824d58714e0c3277939711
/Encapsulation/Encapsulation-Lab/01_person.py
2924a2a7ca413bcab6ea528fd27ca351de366977
[]
no_license
jesalshah14/SoftUni-Python-OOP-February-2021
a641e31e7144785cd05b0b6324348570ff90d7d7
45a584316951bca4d1bcfe35861f140d9fedf62a
refs/heads/main
2023-04-09T20:15:32.764633
2021-04-18T15:29:57
2021-04-18T15:29:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
class Person: def __init__(self, name, age): self.__name = name self.__age = age def get_name(self): return self.__name def get_age(self): return self.__age # class Person: # def __init__(self, name, age): # self.__name = name # self.__age = age # # ...
[ "eng.antonov@gmail.com" ]
eng.antonov@gmail.com
bc6f06c449429d99388dfabc101bd41903a224ec
3479fca8dd50fb0f27a981cca2e4d1cd9a34d36b
/post/permissions.py
f61e1d34af829fedff5583d7f68a9fae3a0e4672
[]
no_license
Harshvartak/blogproj
bdea67e935789ba2bacd29ec91d070b0650f73da
4fd23d3664218bfb0c0f6817995b9595c7aa08f2
refs/heads/master
2020-11-25T23:24:47.459955
2019-12-23T20:27:13
2019-12-23T20:27:13
228,888,052
0
0
null
2019-12-18T19:01:54
2019-12-18T17:16:57
Python
UTF-8
Python
false
false
465
py
from rest_framework import permissions ''' class BasePermission(object): def has_permission(self, request, view): return True def has_object_permission(self, request, view, obj): return True ''' class IsAuthorOrReadOnly(permissions.BasePermission): def has_object_permission(self, request...
[ "vartak.harsh@gmail.com" ]
vartak.harsh@gmail.com
fe10ec94891a3d476f0c90796f87d44a9790613f
a0127e596323a7016b1662d57cedea7bae3f3588
/calendly/common/logger.py
8c1c938878c5238c4ba3c5ce9761f3901ccab360
[]
no_license
cpj2195/calendly
042710b959b3c4e390b9044927e92bbe7a384908
157907ddaf0c4330a03c8acf407239955b056d70
refs/heads/master
2022-06-13T16:17:43.936713
2020-04-06T12:52:07
2020-04-06T12:52:07
252,102,917
1
0
null
2022-05-25T03:25:24
2020-04-01T07:27:03
Python
UTF-8
Python
false
false
371
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import traceback def log_to_cloudwatch(log_marker, message): ''' This functions is used to print the log messages so that they can be logged to cloudwatch. PARAMETERS ---------- message : str message to be logged ''' traceback.pr...
[ "you@example.com" ]
you@example.com
03d30a5a7bb912b677db9b56561c7e7e5fb31035
18dc0f38e3d43a4b457c626c20fa16da715d1773
/qa/Test_dm_sip_idb.py
19f3a61475ee919eec91948be065d7a53c3791e2
[ "MIT" ]
permissive
KDahlgren/orik
424f6495effe0113ca56db3954453e708aa857a5
4e66107cf2dc2cd1a30ba4bfbe15c1ad1c176c0f
refs/heads/master
2021-01-01T15:38:24.385363
2018-06-23T01:24:55
2018-06-23T01:24:55
97,662,025
2
2
MIT
2018-09-24T20:57:27
2017-07-19T02:04:15
Python
UTF-8
Python
false
false
7,064
py
#!/usr/bin/env python ''' Test_dm_sip_idb.py ''' ############# # IMPORTS # ############# # standard python packages import inspect, logging, os, re, string, sqlite3, sys, unittest # ------------------------------------------------------ # # import sibling packages HERE!!! if not os.path.abspath( __file__ + "/.....
[ "kdahlgren15@gmail.com" ]
kdahlgren15@gmail.com
eea9054193fcde002fa2322da0daf6e6b6bbd769
d561fab22864cec1301393d38d627726671db0b2
/python/helpers/typeshed/third_party/3.6/click/decorators.pyi
a3dcdddeb065b9be1908801b10384ecdca051c3b
[ "Apache-2.0", "MIT" ]
permissive
Vedenin/intellij-community
724dcd8b3e7c026936eed895cf964bb80574689a
74a89fa7083dedc6455a16e10cf779d191d79633
refs/heads/master
2021-01-25T00:47:43.514138
2017-03-27T15:48:36
2017-03-27T15:54:02
86,361,176
1
1
null
2017-03-27T16:54:23
2017-03-27T16:54:23
null
UTF-8
Python
false
false
5,494
pyi
from typing import Any, Callable, Dict, List, TypeVar, Union from click.core import Command, Group, Argument, Option, Parameter, Context from click.types import ParamType T = TypeVar('T') Decorator = Callable[[T], T] def pass_context(T) -> T: ... def pass_obj(T) -> T: ... def make_pass_decorator( ob...
[ "andrey.vlasovskikh@gmail.com" ]
andrey.vlasovskikh@gmail.com
f17014c2e1af3c37315c054d5633d98ac328b1c3
9784a90cac667e8e0aaba0ca599b4255b215ec67
/gluon/datasets/librispeech_asr_dataset.py
9726c17ef5fa85b5af7e5f85752be4319238b0ff
[ "MIT" ]
permissive
osmr/imgclsmob
d2f48f01ca541b20119871393eca383001a96019
f2993d3ce73a2f7ddba05da3891defb08547d504
refs/heads/master
2022-07-09T14:24:37.591824
2021-12-14T10:15:31
2021-12-14T10:15:31
140,285,687
3,017
624
MIT
2022-07-04T15:18:37
2018-07-09T12:57:46
Python
UTF-8
Python
false
false
5,226
py
""" LibriSpeech ASR dataset. """ __all__ = ['LibriSpeech', 'LibriSpeechMetaInfo'] import os import numpy as np from .dataset_metainfo import DatasetMetaInfo from .asr_dataset import AsrDataset, asr_test_transform class LibriSpeech(AsrDataset): """ LibriSpeech dataset for Automatic Speech Recognition (AS...
[ "osemery@gmail.com" ]
osemery@gmail.com
cf20a934ec81a718afd3d4f520e7a181de4d4ea6
479117fe710b1cadf9252f08769d8fd1476934e4
/flask_ipywidgets/__init__.py
ead135d9ab9e51af7a15b2604dd43d767070b29b
[ "BSD-3-Clause" ]
permissive
jf---/flask-ipywidgets
3f1b310c81015c3b4fbc66ee24d356987998613e
3c0d7356c7185cb59e9dfa0f13e702273bbd7696
refs/heads/master
2020-03-15T12:32:05.166269
2018-07-30T10:06:15
2018-07-30T10:06:15
132,146,254
0
0
null
2018-05-04T13:51:06
2018-05-04T13:51:06
null
UTF-8
Python
false
false
3,088
py
from .kernel import * from flask_sockets import Sockets _kernel_spec = { "display_name": "flask_kernel", "language": "python", "argv": ["python", "doesnotworkthisway"], "env": { }, "display_name": "Flask kernel", "language": "python", "interrupt_mode": "signal", "metadata": {}, } ...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
c0639249f7c07c28cd08a1583e8193dcd657342f
e23881d9b059f3fbe3f75a7c8c53737ed0f53545
/Django_two_factor_auth/manage.py
842f7f604e05ff01e4c5825614bc8edaf8790bb5
[]
no_license
GK-SVG/Django_Boy
b1fbf9c2b3d35e38bcd2da54956476aad0f2310d
27121c1dc70b44065cd2c5fe854335cd5d1214c5
refs/heads/master
2023-05-07T22:47:02.414738
2021-06-03T17:03:43
2021-06-03T17:03:43
308,200,818
2
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Django_two_factor_auth.settings') try: from django.core.management import execute_from_command_line ...
[ "gk32239@gmail.com" ]
gk32239@gmail.com
85052a32ac62faefb4696f65719c5b84466465aa
facf7941a8ef5b1f3eceac59b390ef78ea18c6b8
/EmoEstimator/utils/evaluate.py
f9134555f6cb0e1a9f4e8b46ce9fae19ab3e90b7
[]
no_license
augustdemi/demi
efd29caa3fcccbd92b3ac4e9ba39ed910c3a75ef
059a1bc93f9597b4db98e2c8e8c6f60d180d4fc3
refs/heads/master
2020-03-18T17:05:25.398744
2019-03-13T18:55:28
2019-03-13T18:55:28
135,005,645
0
0
null
null
null
null
UTF-8
Python
false
false
5,475
py
import numpy as np import pandas as pd pd.set_option('display.float_format', lambda x: '%.2f' % x) def _process(y_hat, y_lab, fun): ''' - split y_true and y_pred in lists - removes frames where labels are unknown (-1) - returns list of predictions ''' y1 = [x for x in y_hat.T] y2 = [x for x...
[ "augustdemi@gmail.com" ]
augustdemi@gmail.com
4f285ca0d361ca2986f77184b1364e48262952d5
6bb99b53ae72f03e4ebce2c80c3be1c13871e46f
/pyweb/web_11_framework_v3/test_case/test_bid.py
09aadaa2667f5e987cb84621e5717cf50f64b8d1
[]
no_license
change1q2/Learn
b9ac7085ae476f92fbf04043bda74605b723abf0
28e93c56c0a3aaf72006614a565fb7fff267b893
refs/heads/master
2021-03-15T16:31:51.641845
2020-04-10T14:19:23
2020-04-10T14:19:23
246,864,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
#!/usr/bin/env python3 #-*- coding:utf-8 -*- # email: wagyu2016@163.com # wechat: shoubian01 # author: 王雨泽 import time import unittest from selenium import webdriver from data.login_data import login_data_success from pages.index_page import IndexPage from pages.login_page import LoginPage class TestBid(unittest.Te...
[ "274882401@qq.com" ]
274882401@qq.com
4db4270f3fe0a646bfc6601b1a0ca5d44b124cad
0fd5793e78e39adbfe9dcd733ef5e42390b8cc9a
/python3/13_OOP/f_Advanced/02_abc_classes.py
698048fec9be8984002dbb3ddec5ae264a1514ff
[]
no_license
udhayprakash/PythonMaterial
3ea282ceb4492d94d401e3bc8bad9bf6e9cfa156
e72f44e147141ebc9bf9ec126b70a5fcdbfbd076
refs/heads/develop
2023-07-08T21:07:33.154577
2023-07-03T10:53:25
2023-07-03T10:53:25
73,196,374
8
5
null
2023-05-26T09:59:17
2016-11-08T14:55:51
Jupyter Notebook
UTF-8
Python
false
false
952
py
#!/usr/bin/python """ Purpose: Abstract Base classes """ from abc import ABC, abstractmethod, abstractproperty class BasicCar(ABC): modal_name: str = NotImplemented @abstractmethod def get_chasis_number(self): pass def get_car_model(self): pass # Solution class RolsRoys(BasicCar):...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
5e2198bbbaad10200ebe8913df6a6cce46ac2e95
ddda55fcfc84ac5cd78cfc5c336a3df0b9096157
/scripts/linux-menuconfig/menuconfig.py
d3b29c6414cf8265292e0e7ae04ab48eb6d085c9
[ "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,160
py
# -*- coding:utf-8 -*- # # File : menuconfig.py # This file is part of OneOS RTOS # import os import sys import argparse import platform import cmd_menuconfig __version__ = 'OneOS packages v1.1.0' def main(): bsp_root = os.getcwd() os_root = os.path.join(bsp_root, "../..") script_root = os.path.s...
[ "cmcc_oneos@cmiot.chinamobile.com" ]
cmcc_oneos@cmiot.chinamobile.com
5cb3a34105484efbd75167a50e66fe5ffcfd574a
395f974e62eafed74572efebcd91d62966e61639
/examples/microjson/mutants/CRP_Num_mutant_1486201375.py
0091defae4453189f698e149e283597dd42ec271
[ "Apache-2.0" ]
permissive
agroce/tstl
ad386d027f0f5ff750eab19a722a4b119ed39211
8d43ef7fa49534868e6cdf1697863748260405c7
refs/heads/master
2023-08-08T19:14:52.020314
2023-07-26T17:51:36
2023-07-26T17:51:36
32,408,285
106
33
NOASSERTION
2021-01-26T19:05:17
2015-03-17T17:14:04
Python
UTF-8
Python
false
false
8,312
py
import math import StringIO import types __pychecker__ = 'no-returnvalues' WS = set([' ', '\t', '\r', '\n', '\x08', '\x0c']) DIGITS = set([str(i) for i in range(0, 10)]) NUMSTART = DIGITS.union(['.', '-', '+']) NUMCHARS = NUMSTART.union(['e', 'E']) ESC_MAP = {'n': '\n', 't': '\t', 'r': '\r', 'b': '\x08', 'f': '\x0c'} R...
[ "agroce@gmail.com" ]
agroce@gmail.com
79b15adf19e99c7c49e5040691a05f0842aedc20
09ac5476e94122bf8ccdb0b404175dff0820c8a7
/283 移动零.py
de5fd9bb96328ff663044152764e0112c737d6ec
[]
no_license
wxke/LeetCode-python
df27c456ad0c7042e3bfcf2a697e3958d3b85f1f
37a66e426e9c7e279928d2f6fcdecb9641f4121c
refs/heads/master
2020-04-29T14:03:22.554357
2020-03-10T12:38:24
2020-03-10T12:38:24
176,185,448
2
0
null
null
null
null
UTF-8
Python
false
false
370
py
移动零 class Solution: def moveZeroes(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ n=nums.count(0) for i in range(n): nums.remove(0) for i in range(n): nums.append...
[ "noreply@github.com" ]
wxke.noreply@github.com
0556703511c977fa66d8a51c13ed395a5a309986
0da6e1000e071d97822ffe5d84efa7f998d72ae8
/2021-03-08-Introduction-to-Python/examples/14-matmul.py
6b0863741e3b60985b2abf63859843e460fa769c
[ "BSD-3-Clause" ]
permissive
s3rvac/talks
1c3dfec03d1f798125a50438b26aa8daf1f86b65
5e76250ee98424c090fdfbf3c1a2a92f36ccaca6
refs/heads/master
2023-05-12T01:13:03.365621
2023-05-05T17:32:27
2023-05-05T17:32:27
84,107,862
3
2
null
null
null
null
UTF-8
Python
false
false
247
py
# @ is an operator for matrix multiplication since Python 3.5 (__matmul__). # # Requires numpy (http://www.numpy.org/). import numpy as np A = np.matrix('4 1; 9 3') B = np.matrix('5 1; 3 8') # Prints # # [[23 12] # [54 33]] # print(A @ B)
[ "s3rvac@gmail.com" ]
s3rvac@gmail.com
7fa6c925a941e1607fa873947b412cbf1688cefe
f8f8651ab604acc4937f8725caadaca1fb97a5e8
/src/lightning_app/cli/commands/app_commands.py
0b08538e76ba6d2c9bab478aa86190a00f8b3954
[ "Apache-2.0" ]
permissive
neptune-ai/pytorch-lightning
ac59e746a486e07e21abae426b28e5d72812ac98
702014418e2ec0437e67d8bf97809edef686a02c
refs/heads/master
2022-09-28T09:34:07.653729
2022-09-12T11:13:48
2022-09-12T11:13:48
229,063,811
1
1
Apache-2.0
2022-09-26T03:29:49
2019-12-19T13:48:16
Python
UTF-8
Python
false
false
3,430
py
import os import sys from typing import Dict, Optional import requests from lightning_app.cli.commands.connection import _resolve_command_path from lightning_app.utilities.cli_helpers import _retrieve_application_url_and_available_commands from lightning_app.utilities.commands.base import _download_command from light...
[ "noreply@github.com" ]
neptune-ai.noreply@github.com
9c08d98c2e1c10b1d3156cdc716e1f61bdac4ecd
b0549c720ffc7222c1b159db601d083f4422232f
/aib/init/tables/dir_companies.py
5b540cdf12644b9121d40b33a113ed766f872a24
[ "MIT" ]
permissive
FrankMillman/AccInABox
e7f6fd84caca27e3c4871b23b104cfd9de2150b3
3f2fc881cc9ee3e9e27022d90c90a7141fc59588
refs/heads/develop
2023-06-26T08:32:48.319840
2023-06-18T07:14:10
2023-06-18T07:14:10
23,425,845
3
1
NOASSERTION
2020-01-03T07:12:47
2014-08-28T11:43:13
Python
UTF-8
Python
false
false
3,758
py
# table definition table = { 'table_name' : 'dir_companies', 'module_id' : 'dir', 'short_descr' : 'Companies', 'long_descr' : 'Directory of companies', 'sub_types' : None, 'sub_trans' : None, 'sequence' : None, 'tree_params' : None, 'roll_params' : None, ...
[ "frank@chagford.com" ]
frank@chagford.com
18cedc9c8cb002b7f8892e0fcdfd09d244337590
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/share/doc/networkx-2.3/examples/drawing/plot_house_with_colors.py
68cb5d35963bc4da741f8e85b2e81230e2bb2533
[ "BSD-3-Clause" ]
permissive
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:1063c25d17b4cbafe673c0f1acef5d9c1c6b29ef79501dfe0f10cec8d2767104 size 649
[ "Nqk180998!" ]
Nqk180998!
87c0b4da7e0f00c5b57efd1715fc9d504ce61440
81c344b8df43ed550cb9496c664a8de2687eda3e
/venv/lib/python3.8/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_fortiguard.py
732bef9974bbdafa4bbcdd29b6f9cf23076aee3d
[]
no_license
anhdoan-ntt/cisco-aci
dc0e52b6d19ee0bafb2b24e0febe955952bf39ef
185be6d6f13eabd65fb0ff328ea54f6507ccf0d4
refs/heads/main
2022-12-20T00:07:27.465096
2020-10-05T08:15:29
2020-10-05T08:15:29
300,500,699
1
1
null
null
null
null
UTF-8
Python
false
false
13,490
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of th...
[ "dc.anh.doan@gmail.com" ]
dc.anh.doan@gmail.com
75580a359943e23211a8e016e753aacb53bf89b1
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/django_django/django-master/django/contrib/gis/geoip2/base.py
545bd12a25217ca1b9da5725845c1a05f0d8aae0
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
8,969
py
import os import socket import geoip2.database from django.conf import settings from django.core.validators import ipv4_re from django.utils.ipv6 import is_valid_ipv6_address from .resources import City, Country # Creating the settings dictionary with any settings, if needed. GEOIP_SETTINGS = { 'GEOIP_PATH': ge...
[ "659338505@qq.com" ]
659338505@qq.com
461b635b955e33ca50eb9eb4f5cd167f0ab81b3a
368be25e37bafa8cc795f7c9f34e4585e017091f
/.history/app_fav_books/views_20201115192231.py
f4f483905ce72aa6aed71af7ca372af90704fdb2
[]
no_license
steven-halla/fav_books_proj
ebcfbfda0e7f3cdc49d592c86c633b1d331da513
512005deb84ac906c9f24d4ab0939bd0db096716
refs/heads/master
2023-03-30T09:37:38.016063
2021-04-02T20:27:22
2021-04-02T20:27:22
354,125,658
0
0
null
null
null
null
UTF-8
Python
false
false
6,180
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages # contains user signup + login form def view_index(request): # bonus, if user is already logged in, lets not show them login/registration page, # and instead redirect them to /books, which is already where ...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
2afb20a8d6138518efc06a6055d56149e339e7ab
7d44745a63b5f470e718be3b02b08a2e4c90ff45
/205IsomorphicStrings.py
d249d951cd37eef228fdd2d9612887bd285c7a92
[]
no_license
SixingYan/algorithm
20895471baca1b77d3dbe4a3310cc3789dc10c78
25b20d03b5613b731ac07baad1073daa3955113b
refs/heads/master
2020-03-25T01:00:42.908903
2019-12-14T02:04:51
2019-12-14T02:04:51
143,217,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
""" Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with another character while preserving the order of characters. No two characters may map to the same character but a character ...
[ "plutoyem@outlook.com" ]
plutoyem@outlook.com
03c2543b84cafbe50d743af624d68e6d7e91f476
33421188df7d7dcf2ee9be0771b0f2fe1ffad4f5
/2012/gul-uc3m/bbdd-clave-valor/ejemplos/hash.py
1dc822a5ca1e0c28e50659742f6cf7f6b5e48b81
[ "CC-BY-4.0" ]
permissive
Gustavo17/ponencias
c0482fc7a72d7d4d829a54b94775e77c81ca5d97
effb002b0300fe57d26776654b61a2396010da40
refs/heads/master
2021-01-13T09:18:13.837313
2014-11-21T04:58:11
2014-11-21T04:58:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from kyotocabinet import * import time import random db = DB() db.open("db.kch", DB.OCREATE|DB.OWRITER) pre_time = time.time() # 1 Million loop for x in range(1,1000000): db.add(x,x+x) post_time = time.time() print "Escribir 1M de registros: %.4f segundos" % (post_time-pre_time) keys = [random.randint(1, 100000...
[ "jesus.espino@kaleidos.net" ]
jesus.espino@kaleidos.net
0d0af063bede796cb727ece6c2cdda4f9bf71a6a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_conforming.py
7156a408292dbb1e044fcef4ea5ca44b272f2a6a
[ "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
230
py
#calss header class _CONFORMING(): def __init__(self,): self.name = "CONFORMING" self.definitions = conform self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['conform']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com