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
433f3314a9d65a9f44d48aa7d4b8aba6fd80160b
1b3addbc9473b6ffb999665601470ccc4d1153b0
/libs/ftp/libsys.py
f9b9e5b808e87302971d10d09443fb005dc9ec07
[]
no_license
weijia/approot
e1f712fa92c4c3200210eb95d251d890295769ba
15fac5b31a4d619d1bdede3d1131f5e6e57cd43b
refs/heads/master
2020-04-15T13:15:01.956721
2014-08-26T14:02:17
2014-08-26T14:02:17
11,049,975
1
0
null
null
null
null
UTF-8
Python
false
false
259
py
import sys import os def get_root_dir(): c = os.getcwd() while c.find('approot') != -1: c = os.path.dirname(c) return os.path.join(c, 'approot') sys.path.insert(0, get_root_dir()) sys.path.insert(0, os.path.join(get_root_dir(),"libs"))
[ "richardwangwang@gmail.com" ]
richardwangwang@gmail.com
8b5457e5029cac7eebac336935b708c07f950ef5
133e8c9df1d1725d7d34ea4317ae3a15e26e6c66
/django_serializers/h.py
7a27a611ff483b5653afffc17ef48522b67904d2
[ "Apache-2.0" ]
permissive
425776024/Learn
dfa8b53233f019b77b7537cc340fce2a81ff4c3b
3990e75b469225ba7b430539ef9a16abe89eb863
refs/heads/master
2022-12-01T06:46:49.674609
2020-06-01T08:17:08
2020-06-01T08:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
import uuid import time import hashlib def get_hashID(username, hashMode=64, tablePiece=4): """根据 username 确定唯一 hash 值(确定分表) # 分组公式:64 = 每组多少个count * group需要分组的个数 # 数据所在环的位置(也就是在哪个库中):value = key mode 64 / count * count hash(key)在0~3之间在第0号表 hash(key)在4~7之间在第4号表 hash(key)在8~11之间在第8号表 h...
[ "cheng.yang@salezoom.io" ]
cheng.yang@salezoom.io
9d99fa31ca382f121ca758af5f7cae8ebd6ce00d
8226f8b4e7f5a48edac45831dc37f6243dc59e3d
/flask_cms/menu/views.py
1236b35221215d7db3c7cc03e0ba5c30aa89dc9f
[]
no_license
fyarci/flask-cms
9b0bb3241dccd1c887f1534319d61e898d94b9e8
021a0afaad5133b41a79eb3ae46307915f2bf241
refs/heads/master
2021-01-20T17:42:35.795521
2015-03-26T19:20:11
2015-03-26T19:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from main.baseviews import BaseView class MenuView(BaseView): _template = '' _form = '' _context = {} def get(self): return self.render() def post(self): return self.render()
[ "kyle@level2designs.com" ]
kyle@level2designs.com
f983bdd13adbda21ac3ba7444500ac051e15bc3f
fdf3aff5344271ef69ac7441c5dbca9cbf832cd1
/car_location/core/forms.py
9f5a07e19107cadb97f074332ea60379642f76e2
[]
no_license
lffsantos/DesafioPython
6069b3277780326611e34ae024f7506f3d56c5b4
fbc451b77c0310630fd95cbd23c339e194af88d1
refs/heads/master
2021-01-17T07:42:12.181187
2016-01-19T03:39:20
2016-01-19T03:39:20
49,730,610
0
0
null
2016-01-19T03:39:22
2016-01-15T16:25:30
JavaScript
UTF-8
Python
false
false
237
py
from django import forms __author__ = 'lucas' class LoginForm(forms.Form): username = forms.CharField(label="Usuário") password = forms.CharField( label='Senha', widget=forms.PasswordInput(render_value=False))
[ "lffsantos@gmail.com" ]
lffsantos@gmail.com
29a7a0ab383c522c7d05694d712c48b313936f14
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/scaleform/daapi/view/lobby/fortifications/fortnotcommanderfirstenterwindow.py
5ead51d983802f010b2bf42272eda8e73e3f1285
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,523
py
# 2015.11.18 11:54:02 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/fortifications/FortNotCommanderFirstEnterWindow.py from gui.Scaleform.daapi.view.meta.FortNotCommanderFirstEnterWindowMeta import FortNotCommanderFirstEnterWindowMeta from helpers import i18n from gui.Sc...
[ "info@webium.sk" ]
info@webium.sk
3e67815d8a4977a7b291405c2ba3898e0d0acafb
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startCirq161.py
1fde711516ef000ab6e95ed5effaaab00ca227fd
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,781
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=3 # total number=30 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
8da6a2c1fcd0624bf6f4f95e7bdcfca5e648caf2
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba2346.pngMap.py
25e5f73bcbb72562c6901b1d74964d3487edc4cb
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba2346.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
b2d2451bc3984a1ca2f67fb4553d2e0e30f40a41
e99dfc900052272f89d55f2fd284389de2cf6a73
/tests/functional_tests/apostello/test_api_setup.py
9efd0f948f616b2868247c953c4b980810b5ebe3
[ "MIT" ]
permissive
armenzg/apostello
a3e6ca3d34917608af79fbab4134ee4de1f5e8ee
1827547b5a8cf94bf1708bb4029c0b0e834416a9
refs/heads/master
2021-01-18T18:16:02.364837
2017-03-22T20:34:21
2017-03-22T20:34:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
from time import sleep import pytest URI = '/api-setup/' @pytest.mark.django_db @pytest.mark.slow @pytest.mark.selenium class TestAPISetup: def test_api_setup(self, live_server, browser_in, users, driver_wait_time): """Test api-setup form.""" no_api_token_txt = 'No API Token' b = browser...
[ "montgomery.dean97@gmail.com" ]
montgomery.dean97@gmail.com
00ae9f869fddaf6c3843afeded27511872963210
b00e579fb29509ba390b4f8bbb0de510c0128f31
/tests/conftest.py
3f61372cbcdbbc7b21bb7d54016ffbd164f9a0f0
[ "MIT" ]
permissive
TrendingTechnology/kakaowork-py
98dbb6d4b30e0a6bd182841bc8f1a5872f131c31
63ac2e09a52c9427d597a0cf53eb84d205855954
refs/heads/master
2023-07-10T09:34:14.872810
2021-09-01T02:32:30
2021-09-01T02:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
import pytest from click.testing import CliRunner from tests import Clock @pytest.fixture(autouse=True) def urllib3_never_request(monkeypatch): monkeypatch.delattr("urllib3.connectionpool.HTTPConnectionPool.urlopen") @pytest.fixture(scope="function") def cli_runner(): return CliRunner() @pytest.fixture(s...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
1d6637bc48834ad346c0d169ca0c20a478b13c04
a1b649fcd0b6f6c51afb13f406f53d7d823847ca
/studies/migrations/0023_remove_responselog_extra.py
6b48f882d7d4c284ca95a32f5a59ef407e00e873
[ "MIT" ]
permissive
enrobyn/lookit-api
e79f0f5e7a4ef8d94e55b4be05bfacaccc246282
621fbb8b25100a21fd94721d39003b5d4f651dc5
refs/heads/master
2020-03-27T01:54:00.844971
2018-08-08T15:33:25
2018-08-08T15:33:25
145,752,095
0
0
MIT
2018-08-22T19:14:05
2018-08-22T19:14:04
null
UTF-8
Python
false
false
397
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-16 23:26 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('studies', '0022_auto_20170815_2241'), ] operations = [ migrations.RemoveField( ...
[ "pattison.dawn.r@gmail.com" ]
pattison.dawn.r@gmail.com
f9c21e4c3a6dd3739b07b83be710729b6b449345
fd54c0886b81b49a55c31eb8c5254ce83df78785
/Source_Code/madagascar/appussd/ussd/services/common/language/core.py
ca4a04aa9d72f124a4496aeece13ee96e74e9d44
[]
no_license
santsy03/RADIX
7854896651833b1be6e3279be409db59a71c76e4
da8f2535692697b80a6dc543b9eb270fe3d5e4d3
refs/heads/master
2021-01-12T09:48:32.085432
2016-12-13T06:01:41
2016-12-13T06:01:41
76,260,115
0
0
null
2016-12-13T06:01:41
2016-12-12T13:46:31
null
UTF-8
Python
false
false
4,765
py
#!/usr/bin/env python import cx_Oracle import traceback from datetime import datetime from DBUtils.PooledDB import PooledDB from ussd.configs.core import databases from ussd.services.common.secure.secure import decrypt from ussd.metrics.sendmetric import sendMetric from ussd.metrics.config import dbTimeTemplate from ...
[ "root@oc4686551628.ibm.com" ]
root@oc4686551628.ibm.com
42e38a657426d9cdb0c6ed66cbd3aa2f9c2a3afc
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2571/58822/287401.py
f70a0fb99d962c49ac10e9015f5dc46bae43d43d
[]
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
435
py
num=int(input()) n1=input() n2=input() n3=input() if(num==2 and n1=='1,0,1'): #n3=input() if(n2=='0,-2,3'): print(2) exit() if( (n2=='5,-2,1'and n1=='1,0,1') or (n2=='1,-2,1,4'and n1=='1,6,1,2')): if(n3=='3'): print(3) exit() print(n3) exit() if(num==2 and n1=='1,6,1'...
[ "1069583789@qq.com" ]
1069583789@qq.com
6a2297090b200d1315066920301d2138f996d88a
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/Fore-Profile-MIB.py
5915d08e3d19b910262b9f23d627cee5284d2507
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
47,577
py
# # PySNMP MIB module Fore-Profile-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Fore-Profile-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:17:20 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
d8762f137096c890036178284a83d2b8d954379e
cc535054eea53a16756397a017604bc160e35c8e
/tasks/views.py
bed70a9d2c86b9a14133666af5fc63a357f446d8
[ "MIT" ]
permissive
DevYanB/django-test-ci
44d1404e9efbd1107393080177d0f08089b45544
b36cf4138512f9578bfdd81a00d1a719f1148d01
refs/heads/master
2022-08-19T10:11:51.448879
2020-05-26T06:30:52
2020-05-26T06:30:52
265,990,666
0
0
MIT
2020-05-22T01:32:19
2020-05-22T01:32:19
null
UTF-8
Python
false
false
2,231
py
""" Task app: Views file """ from django.shortcuts import ( render_to_response ) from django.views.generic import ListView, TemplateView, DetailView from django.views.generic.edit import CreateView, DeleteView, UpdateView from django.urls import reverse_lazy from tasks.models import Task class TaskList(ListView)...
[ "gabicavalcantesilva@gmail.com" ]
gabicavalcantesilva@gmail.com
8e44e19cb130be2674e367d7430f443fce19e273
a81c1492783e7cafcaf7da5f0402d2d283b7ce37
/google/ads/google_ads/v6/proto/services/topic_constant_service_pb2_grpc.py
a88d68b33e4145681b9962007e441f8bbe5a1ed7
[ "Apache-2.0" ]
permissive
VincentFritzsche/google-ads-python
6650cf426b34392d1f58fb912cb3fc25b848e766
969eff5b6c3cec59d21191fa178cffb6270074c3
refs/heads/master
2023-03-19T17:23:26.959021
2021-03-18T18:18:38
2021-03-18T18:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,418
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from google.ads.google_ads.v6.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads_dot_v6_dot_resources_dot_topic__constant__pb2 from google...
[ "noreply@github.com" ]
VincentFritzsche.noreply@github.com
7dcf96accdcf4db049e9177294638d59a30e4830
d1496657ee41a5c78ba4e1d5e47b52711194f938
/Langevin/src/03_analyze_harmonicDiffusion.py
2f67ae6f77d87d9438e1b0d13b1afbe76ff7b708
[]
no_license
khx0/diffusionTools
816aed59485e7dc1fc46bad39cd8e03e3933b2ce
0f36998bfe04d04a48715c3aff396ef2279ee2f8
refs/heads/master
2021-04-27T15:49:22.604995
2018-05-28T07:23:01
2018-05-28T07:23:01
122,477,506
0
0
null
null
null
null
UTF-8
Python
false
false
13,792
py
#!/usr/bin/python # -*- coding: utf-8 -*- ########################################################################################## # author: Nikolas Schnellbaecher # contact: khx0@posteo.net # date: 2018-05-27 # file: 03_analyze_harmonicDiffusion.py ####################################################################...
[ "khx0@posteo.net" ]
khx0@posteo.net
c9bc8a15f2a2ae16fac4e0306ec4fcea3554ba9f
cfa35020cd963c013583a6bb1c862fa9884f2bf4
/Algorithm/SWEA/D2/5102_d2_노드의거리.py
cb148321280b3370741cf95b6f7e552d7fd1bf8e
[]
no_license
LeeSungRyul/TIL
c16b4ef35be3226a6f9aedcc4b7c457d10de781a
0c085e654d4e72c84c9aa10ceca4a54b834a4c63
refs/heads/master
2023-08-21T11:09:49.575813
2021-10-15T14:02:36
2021-10-15T14:02:36
335,647,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
from collections import deque T = int(input()) def bfs(start): queue = deque() queue.append(start) visited[start] = 1 while queue: cur = queue.popleft() for nxt in G[cur]: # 인접 리스트 접근 if nxt == end: return visited[cur] # 시작점을 1로 두고 계산했으므로 nxt까지의 거리에서 1을 ...
[ "airtrack03@naver.com" ]
airtrack03@naver.com
5ddb305889d68d304ff09e2f3d620e3971d7277f
4943edd96703a0c993ce41854093ea0fc9da9f63
/pyocd/probe/cmsis_dap_probe.py
fb6a5ac899ea018693edacd527f930ad23ae6540
[ "Apache-2.0" ]
permissive
wellsleep/pyOCD
f3048cda2b9b17fa9d804167fc792261df6a2d95
a2e89c9364bad99b2b0b65bfaf6bc137be8aa901
refs/heads/master
2020-05-15T02:52:18.231996
2019-04-17T22:24:54
2019-04-17T22:24:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,362
py
# pyOCD debugger # Copyright (c) 2018 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # 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 # # ...
[ "flit@me.com" ]
flit@me.com
345fd054c1b316d116d5b930809e3288f775f9f4
6bb91e13994476f58db50374972825650cfaa0b9
/count-median-norm.py
798a733ade9ed282759117466c1cb4ec3a695154
[]
no_license
ctb/2015-khmer-wok3-counting
cdf4d15137b1a214619cfaf9b00bc0b6752c28de
99819ed152bf0f23db9797fd4b79bd6eb9bfc9eb
refs/heads/master
2021-01-16T18:57:07.013341
2015-05-20T11:22:06
2015-05-20T11:22:06
34,345,558
0
1
null
null
null
null
UTF-8
Python
false
false
2,966
py
#! /usr/bin/env python2 # # This file is part of khmer, https://github.com/dib-lab/khmer/, and is # Copyright (C) Michigan State University, 2009-2015. It is licensed under # the three-clause BSD license; see LICENSE. # Contact: khmer-project@idyll.org # # pylint: disable=missing-docstring,invalid-name """ Adapted from...
[ "titus@idyll.org" ]
titus@idyll.org
79320e597beddc47d9f979c2d5bdc56d00f58d5b
02425f5fffe5f46961c3167c46302ef84c6e48a4
/binary_tree_maximum_path_sum/main.py
4af5b69418f0f6d82ee0138bb1528cb0b323b288
[]
no_license
tingleshao/leetcode
583718b5e58c3611f3db352d82017ba1d4482f18
e2c589a1e81282e1c3deb6dfc5cace595acb841b
refs/heads/master
2021-01-23T03:43:31.256959
2015-01-23T18:00:25
2015-01-23T18:00:25
29,308,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
# Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param root, a tree node # @return an integer def maxPathSum(self, root): if root == None: return 0 m...
[ "cshao@cs.unc.edu" ]
cshao@cs.unc.edu
82377da9c55bcfaf2f676c70a0fe611dc39bc9d9
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/desktopvirtualization/v20201110preview/application_group.py
ac3871b2e01bacad414c5e2f5bbedb62ccd3a7bf
[ "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
16,883
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 fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
279eed71489f31473bd2805be9982a3c27f59f15
5a0122509b4e7e15e556460d261d9d8a1cee76ad
/enterprise/legacy/util/secure_copy.py
2b45a64a6226ff68dc4b81f67bf5df35ab3997ac
[]
no_license
cash2one/BHWGoogleProject
cec4d5353f6ea83ecec0d0325747bed812283304
18ecee580e284705b642b88c8e9594535993fead
refs/heads/master
2020-12-25T20:42:08.612393
2013-04-13T14:01:37
2013-04-13T14:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
#!/usr/bin/python2.4 # # Copyright 2006 Google Inc. All Rights Reserved. """ A script that can be used to copy files safely. It is intended to be run as root by secure_script_wrapper, which has a limited list of scripts that it runs, but does not limit the arguments for those scripts. Thus, I created this rsync wrappe...
[ "nojfouldshere@gmail.com" ]
nojfouldshere@gmail.com
8d0d4c4039653373109cc15e7bb85a259398b3e2
f59a104bc669d380f869e7156f0fff1b29d05190
/FPAIT/show_data.py
641a9c5edddaf32e17a2235ec35e1762cf138787
[]
no_license
pratikm141/DXY-Projects
479049fe8bad34e91b6f31f8fee5f6e5da763a6d
497257de46416bfc2428f7ce3d1c75f9c8d1d737
refs/heads/master
2020-12-13T04:20:54.203204
2020-01-16T12:02:57
2020-01-16T12:02:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
import os, pdb, json, sys, torch import numpy as np from pathlib import Path lib_path = str((Path(__file__).parent.resolve() / 'lib').resolve()) if lib_path not in sys.path: sys.path.insert(0, lib_path) from datasets import TICSample, TQASample def show_vqa(data): all_words = data['all_words'] words_index = data[...
[ "280835372@qq.com" ]
280835372@qq.com
cd431507c5fc12ee3a008f88a24e2287be30d3bc
59107025a7f9afe0f94d194d547d0354e11ff6e7
/BrushingUp/challenge-1.0/1.1.1.py
f1752408adf04e930fbe972cee76912f013b3ec6
[ "MIT" ]
permissive
samirsaravia/Python_101
083856643a5ca132f7126bb9a6b51b3805ba6bbe
0c45f11d74a356514a0c436ade6af4c0f67c56b7
refs/heads/master
2022-12-19T16:12:20.751592
2020-10-19T12:30:18
2020-10-19T12:30:18
251,749,435
0
0
MIT
2020-10-19T12:45:40
2020-03-31T21:42:36
Python
UTF-8
Python
false
false
393
py
""" Write a function that calculates the sum of all integers up to n.Use the iterative method and the formula and compare the results. (sum of n integers given by S = (n(n+1))/2) """ def check_sum(number: int): sum1 = 0 for i in range(1, number + 1): print(i) sum1 = sum1 + i sum2 = number ...
[ "samir.saravia.10@gmail.com" ]
samir.saravia.10@gmail.com
98c593c049d3a848c1934ecead08298d9fe34a8c
2118f244be2e09508e3c89dee432d4a75343b430
/Python Docs/Web Crawlers/To Add or To Do/Interesting2/my_good_scraper_leagle.py
8e012917eacef3ace6263248a136a549365a23b0
[]
no_license
RamiJaloudi/Python-Scripts
91d139093a95f9498a77b1df8ec2f790c4f4dd4c
37e740a618ae543a02c38dc04a32ef95202ff613
refs/heads/master
2020-04-29T14:55:41.108332
2019-03-18T05:42:06
2019-03-18T05:42:06
176,212,014
0
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
from bs4 import BeautifulSoup import urllib, urlparse, re def response(url): urls = [url] #stack of urls to scrape visited = [url] #historical record of urls while len(urls) >0: try: htmltext = urllib.urlopen(urls[0]) text = htmltext.read() except: pr...
[ "rjaloudi@gmail.com" ]
rjaloudi@gmail.com
eb19e01a42618f687a04943c13d5c89c97b37dec
a75ac3c5c641fc00a3c403b08eeb6008f648639e
/LeetCode/832.py
331d5d80ef7b89667b4bd89e0f838c52fcf341aa
[]
no_license
Greenwicher/Competitive-Programming
5e9e667867c2d4e4ce68ad1bc34691ff22e2400a
6f830799f3ec4603cab8e3f4fbefe523f9f2db98
refs/heads/master
2018-11-15T15:25:22.059036
2018-09-09T07:57:28
2018-09-09T07:57:28
28,706,177
5
0
null
null
null
null
UTF-8
Python
false
false
222
py
class Solution: def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ return [[1-A[i][-j-1] for j in range(len(A[i]))] for i in range(len(A))]
[ "weizhiliu2009@gmail.com" ]
weizhiliu2009@gmail.com
a9d29ebbde702add18b5001944a1e3609c515593
d779bf5c892830d8810d079ab64b404674049586
/dajare_detector/utils/base_task.py
708e794b47f2b9b3c0741edd26739f4636f56a97
[ "MIT" ]
permissive
vaaaaanquish/dajare-detector
74d449a8ab5be2dd753551667cc73a2ed4f462fb
e8f2d6c861dc0e03b6bc38ba64463bf95376f949
refs/heads/main
2023-01-31T10:52:39.859129
2020-12-11T03:29:36
2020-12-11T03:29:36
318,274,737
15
0
null
null
null
null
UTF-8
Python
false
false
83
py
import gokart class DajareTask(gokart.TaskOnKart): task_namespace = 'dajare'
[ "6syun9@gmail.com" ]
6syun9@gmail.com
553fe2e6a47849a07c61ce50b28647576ae753b8
23130cd12e38dbce8db8102810edaad70b240ae2
/lintcode/1375.2.py
58bb3bdee68016c8f1865176bbbb0531b4055727
[ "MIT" ]
permissive
kangli-bionic/algorithm
ee6687c82101088db20f10fb958b4e45e97d3d31
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
refs/heads/master
2023-01-05T09:29:33.204253
2020-10-25T17:29:38
2020-10-25T17:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
""" 1375. Substring With At Least K Distinct Characters """ class Solution: """ @param s: a string @param k: an integer @return: the number of substrings there are that contain at least k distinct characters """ def kDistinctCharacters(self, s, k): # Write your code here n = len...
[ "hipaulshi@gmail.com" ]
hipaulshi@gmail.com
7241e0a95fca5db510f0dcef217558f23e7b7581
6db3955c3a1f0fa1d1effbe18844853df65dfeab
/lib/utils/optimization.py
6f39283536094ec71cb8b85b3653a871f1e65e85
[]
no_license
ZhuGeKongKong/OS-SGG
8222c2d98b204a474f6f96b1bdaf08fc2fd4216a
c0648209598db475f2a369af833f26f4d6b50ddc
refs/heads/master
2023-09-05T01:30:11.202473
2021-10-09T08:35:15
2021-10-09T08:35:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,103
py
# coding=utf-8 # Copyright 2019 project LXRT # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # 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 # # ...
[ "842651507@qq.com" ]
842651507@qq.com
6bf4344dab739d65ffab90e5c5672e75c29ea34a
ca384188345d5302c450e8a8c8475e691c1e7e66
/jm_lms/apps/exercises/migrations/0001_initial.py
b08eebc38ffd6d6b04163b4161e406544cb7f5fb
[]
no_license
EdwardOkech/eDarasa
8b44154596960ebc9cff8eca481f02eadfff3a9d
1bd94a4337ebc5519a23e55badb022e65a924601
refs/heads/master
2020-03-16T23:32:50.299182
2018-05-23T22:51:19
2018-05-23T22:51:19
133,081,912
0
0
null
null
null
null
UTF-8
Python
false
false
8,564
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "okechjobs@gmail.com" ]
okechjobs@gmail.com
b02ee6280076a1a7aba6bf14f701d852d0992453
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_81/296.py
97a24772277f1a41527323306b74fa44d458e410
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,745
py
#!/usr/bin/env python import sys sys.stdin = open('in.txt') sys.stdout = open('out.txt', 'w') cases = int(input()) for caseno in range(1, cases+1): teams = int(input()) table = [[-1 for i in range(teams)] for j in range(teams)] for n in range(teams): s = input() for i in range(teams): ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
69486fbac13fbdae54d2d9ea6909759c410de0e9
9252e8a6a0a042dcbf52ea744df8e708a83293ba
/Easy/Cells_with_Odd_Values_in_a_Matrix/Cells_with_Odd_Values_in_a_Matrix_optimized.py
53e96db1c231c792b39b89d5cad25ccb7fa500ec
[ "MIT" ]
permissive
nitin3685/LeetCode_Solutions
e50a40b8202154d9a60ec4ec5f1673042e5c2a50
ab920e96cd27e0b2c3c895ce20853edceef0cce8
refs/heads/master
2020-09-10T16:01:49.202909
2020-01-07T06:54:40
2020-01-07T06:54:40
221,750,419
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#Weird algorithm for matrix multiplication. just addition will produce result matrix class Solution: def oddCells(self, n: int, m: int, indices: List[List[int]]) -> int: row = [0] * n col = [0] * m ans = 0 for r,c in indices: row[r] += 1 col[c] += 1 fo...
[ "noreply@github.com" ]
nitin3685.noreply@github.com
38f849d9166e3168b74edf5dba5e77dd822e6d8f
0c8a267966edd260177106beb04daad8622ba07f
/outliers/outlier_removal_regression.py
6dacb7e863edc2c7f38226f50ce916c150858399
[]
no_license
BrianSipple/Machine_Learning
9665cec5ba9cc94e0dc06db346ddf18cff19d6a6
f0848183dba64000ff26a32ec45e97531d2bc758
refs/heads/master
2021-01-19T00:44:21.123062
2015-02-09T04:17:40
2015-02-09T04:17:40
29,520,532
1
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
#!/usr/bin/python import random import numpy import matplotlib.pyplot as plt import pickle from outlier_cleaner import clean_outliers ### load up some practice data with outliers in it ages = pickle.load( open("practice_outliers_ages.pkl", "r") ) net_worths = pickle.load( open("practice_outliers_net_worths.pkl", "r...
[ "Bsipple57@gmail.com" ]
Bsipple57@gmail.com
92a0bb27897639054e7533cddc6acd682423d77c
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Geometry/CMSCommonData/python/trackerOnlyGeometryXML_cfi.py
f45cab690a01a80f5eefdb6cab11e640c7b7e4a5
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
11,280
py
import FWCore.ParameterSet.Config as cms XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource", geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml', 'Geometry/CMSCommonData/data/rotations.xml', 'Geometry/CMSCommonData/data/normal/cmsextent.xml', 'Geometry/...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
8a90607f501666c4167d56b1318788ad7de2622b
112882b8d6c5071e7d2610c595bfca9210c79a0a
/Python/leetcode.059.spiral-matrix-ii.py
e94e966ba8a1993a1e5de4cb00dc0482783c04d3
[ "MIT" ]
permissive
tedye/leetcode
193b1900d98e35d5c402013cbe3bc993d0235da2
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
refs/heads/master
2021-01-01T19:06:06.408135
2015-10-24T06:44:40
2015-10-24T06:44:40
41,804,923
4
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
class Solution(object): def generateMatrix(self, n): """ :type n: int :rtype: List[List[int]] """ if n <= 0: return [] if n == 1: return [[1]] matrix = [[None] * n for _ in range(n)] x = y = 0 direction = [(0,1),(1,0),(0...
[ "tedye@bu.edu" ]
tedye@bu.edu
15900d19d8a64750afdcbbffb1afc39a78fc04ed
4c8152b5abdefa8fe44cb4a423985b18a3175542
/Books/wxpython-28-application-development-cookbook/1780_Code/1780_12_Code/05/osxapp.py
b79b77118dfeb20192ff0a56c1e0a769787b40e0
[]
no_license
mcmoralesr/Learning.Python
c5ed943a1e4eed774c1b626c52c450b48c1062b6
8ea6222d260989c6973d9a0cc494ff659a78ade6
refs/heads/master
2020-06-28T04:22:53.970613
2015-02-12T10:23:28
2015-02-12T10:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
# Chapter 12: Application Infrastructure, # Building and Managing Applications for Distribution # Recipe 5: Optimizing for OSX # import wx import sys class OSXApp(wx.App): def OnInit(self): # Enable native spell checking and right # click menu for Mac TextCtrl's if wx.Platform =...
[ "sonhuytran@gmail.com" ]
sonhuytran@gmail.com
3ed8cf2c724d861b36c3e9fce3019c5683c8331a
27089ed5ea5f81949a6d62d08465ed92d9194fdd
/allennlp/tests/data/dataset_readers/universal_dependencies_multilingual_dataset_reader_test.py
8bf51a05a0ccc44176c39258c653be1662a0c991
[ "Apache-2.0" ]
permissive
Whu-wxy/allennlp
5c87bd0916cfea51ce7ceef45b9363579d19b670
c863900e3e1fe7be540b9a0632a7a032491fc3ab
refs/heads/master
2021-06-27T19:34:04.720649
2019-09-10T15:21:40
2019-09-10T15:21:40
168,892,873
6
3
Apache-2.0
2019-08-20T13:08:37
2019-02-03T00:17:13
Python
UTF-8
Python
false
false
6,961
py
# pylint: disable=no-self-use,invalid-name from allennlp.data.dataset_readers import UniversalDependenciesMultiLangDatasetReader from allennlp.common.testing import AllenNlpTestCase class TestUniversalDependenciesMultilangDatasetReader(AllenNlpTestCase): data_path = AllenNlpTestCase.FIXTURES_ROOT / "data" / "depe...
[ "mattg@allenai.org" ]
mattg@allenai.org
f5b3c461ce5399f255d6a71987c9096f64d5f927
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/histogram2dcontour/colorbar/_nticks.py
ed0d7d4831c51818983ca85921168266da541e9f
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
471
py
import _plotly_utils.basevalidators class NticksValidator(_plotly_utils.basevalidators.IntegerValidator): def __init__( self, plotly_name="nticks", parent_name="histogram2dcontour.colorbar", **kwargs ): super(NticksValidator, self).__init__( plotly_name=plotly_name, par...
[ "noreply@github.com" ]
hugovk.noreply@github.com
55c142fb77a38d5d16184d5d8309e2e0f55df2f5
7dd25a39d91d1f03791eeb2f39c8bdf825b24601
/test/input/only_describe.py
d2fda863179b3b0133448712f18e512f546add7e
[]
no_license
rlgomes/pocha
a281736f35e6d53b0c56f5bca946bd494b0bb6cf
8be091fcf73b57e8c7e9efe17e8452d639e18dd7
refs/heads/master
2022-09-18T19:34:56.991444
2019-06-03T14:26:09
2019-06-03T14:26:09
62,520,589
51
12
null
2022-07-06T19:22:06
2016-07-04T00:20:44
Python
UTF-8
Python
false
false
326
py
from pocha import describe, it @describe('first describe') def describe1(): @it('first it') def _(): pass @it('second it') def _(): pass @describe('second describe', only=True) def describe1(): @it('third it') def _(): pass @it('fourth it') def _(): ...
[ "rodneygomes@gmail.com" ]
rodneygomes@gmail.com
d8a6a59cd6d3c2b41ee795ed6735211d1f58ba41
031d4491fcd2a9620e72710e000bae8afd92bbcb
/custom_components/xiaomi_miot_raw/water_heater.py
733f78a5484764a0a2ca8a518fa2a35093cce782
[ "Apache-2.0" ]
permissive
hzh-hzh/xiaomi_miot_raw
76717aa4803cf4e006d39bc685fd225724692292
8f8de5cc6f0eeae55770ec08cb3ff9ebcb75c422
refs/heads/master
2023-07-12T19:13:11.206861
2021-08-13T14:46:31
2021-08-13T14:46:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,698
py
import asyncio import json import logging from collections import OrderedDict from datetime import timedelta from functools import partial from typing import Optional import async_timeout import homeassistant.helpers.config_validation as cv import voluptuous as vol from aiohttp import ClientSession from homeassistant....
[ "whyuu@qq.com" ]
whyuu@qq.com
c238b36926219fbf87c188545260cdff53b761e8
4e8674d7c83254aba7f2d327f16d5ad202a189b6
/src/select_centered_text.py
b072d911fa1e942f3c5aedc591f19b9b7d3468da
[]
no_license
raysmith619/dots
0f5e34b17675cfb0903a20eda86493d37676b500
c44ff3ebf57ec73c6fd8b7898cbc186668f83915
refs/heads/master
2021-06-17T02:34:48.850425
2021-04-27T13:54:24
2021-04-27T13:54:24
205,397,035
1
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# select_centered_text.py """ Centered Text near/within Part """ from pip._vendor.distlib import resources from PIL._imaging import display class CenteredText: """ Contents for text placed inside a region """ def __init__(self, part, text, x=None, y=None, font_name=None, ...
[ "noreply@github.com" ]
raysmith619.noreply@github.com
7939e6ea94738d2a078b9885647f393ef60e84d9
e982ad81d18e3a983756b4c90311b007b9d5e276
/pyspec/cui/api.py
6ff27e71232a9ebc13a3583cc49048a8f6fdffda
[ "MIT" ]
permissive
jyotijaya/pyspec
2ca4428c3c9924154f7467edbdc1d8fddd59a817
ae7a4de39beb3cf2e0838b6c3a9ef73d082445eb
refs/heads/master
2022-12-27T20:42:15.818388
2020-10-01T11:50:19
2020-10-01T11:50:19
300,260,536
0
0
NOASSERTION
2020-10-01T11:49:40
2020-10-01T11:49:39
null
UTF-8
Python
false
false
938
py
# -*- coding: ascii -*- """PySpec extension api. This module enable following extension features: - Add aspect to modules, classes, methods - Add Add-in """ __pyspec = 1 import os import sys from pyspec.api import (ModuleAspect, ClassAspect, MethodAspect, EventHandlerRegister) ...
[ "yoshiki@shibu.jp" ]
yoshiki@shibu.jp
d48f2013149fc23461f3610f581057cca53e282a
0fcc6353edee4eed7a1ea4b1c89a00bfcf03e851
/PIP/PIPOne.py
1f984b5b25866edabb8a0c8eb992db91bdd80bb5
[]
no_license
GANESH0080/Python-Practice-Again
81d8048c23d338a99bb17fa86a9f87b3057bfe52
6565911d14a22d0f33a41b417026c31a0a066be5
refs/heads/master
2020-09-20T03:40:45.462869
2019-11-27T07:19:24
2019-11-27T07:19:24
224,368,129
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
# A package contains all the files you need for a module. # Modules are Python code libraries you can include in your project. import camelcase c = camelcase.CamelCase() txt = "hello world sds" print(c.hump(txt))
[ "ganusalunkhe@gmail.com" ]
ganusalunkhe@gmail.com
a1534181fc0cd816f25bc60d6a459e6c443e1409
d59bad348c88026e444c084e6e68733bb0211bc2
/poo/todo_v1.py
8f1eccc7c345536890820623508af901ad2a3a7e
[]
no_license
dersonf/udemy-python
f96ec883decb21a68233b2e158c82db1c8878c7a
92471c607d8324902902774284f7ca81d2f25888
refs/heads/master
2022-09-25T00:18:49.833210
2020-06-05T18:18:38
2020-06-05T18:18:38
262,049,238
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/python3 from datetime import datetime class Tarefa: def __init__(self, descricao): self.descricao = descricao self.feito = False self.criacao = datetime.now() def concluir(self): self.feito = True def __str__(self): return self.descricao + (' (Concluída...
[ "anderson@ferneda.com.br" ]
anderson@ferneda.com.br
d15e95600618fea0344edfd9dd5bab824ec4c949
5517b91a4be684d822d35a6c2bd8d21f1098aebc
/tensorlayer/core/engine/layer.py
0064ab73e3bfb5f364568352e0f5f7aa2181fbd7
[ "BSD-2-Clause" ]
permissive
zhengruiguo/dragon
785f52a2eaba0899b2e598a4365adf1b43e07b38
3dfb6ea55d90d2fb2da9b1b471f5e1e7d7667810
refs/heads/master
2023-05-31T22:48:42.157381
2021-06-29T01:59:24
2021-06-29T01:59:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,342
py
# ------------------------------------------------------------ # Copyright (c) 2017-present, SeetaTech, Co.,Ltd. # Copyright (c) 2016-2018, The TensorLayer contributors. # # Licensed under the BSD 2-Clause License. # You should have received a copy of the BSD 2-Clause License # along with the software. If not, See, # #...
[ "ting.pan@seetatech.com" ]
ting.pan@seetatech.com
ee3872bc65c7073fd639374827e837a332116b94
caf0ba85f1c7a2b7208e7f0acebb3c047b17b0ba
/1-py/venv/PY_17_ARCHIVOS_XML.py
a877a3074ae9230424db9c4e7b17404af91df9ce
[]
no_license
JAreina/python
12ca9bd5467420a813ac3f33b0adba6cd492f855
3b9ac8d37ab2abe70e34043857f96a76c19468c8
refs/heads/master
2020-03-22T07:57:31.675271
2018-09-12T06:38:49
2018-09-12T06:38:49
139,735,465
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from xml.etree.ElementTree import parse ''' archvios XML ''' documento = parse("nuevo.xml") print(documento.getroot()) iterador = documento.getiterator() print(iterador) for i in iterador: print(i) print(i.text) for elemento in documento.findall("funcion"): print(elemento.text)
[ "jareinafdez@gmail.com" ]
jareinafdez@gmail.com
dcf41d4448f201f32272548ecf6d906cbe6c76bd
6d5545faf2af0a6bb565ad698bb824110b40e121
/WEBAPP/MLmodel/inception_client.py.runfiles/org_tensorflow/tensorflow/contrib/autograph/utils/__init__.py
c41b3a2134418498fd492b8af9d7642dc620e477
[ "MIT" ]
permissive
sunsuntianyi/mlWebApp_v2
abb129cd43540b1be51ecc840127d6e40c2151d3
5198685bf4c4e8973988722282e863a8eaeb426f
refs/heads/master
2021-06-23T22:02:38.002145
2020-11-20T02:17:43
2020-11-20T02:17:43
162,194,249
1
0
null
null
null
null
UTF-8
Python
false
false
134
py
/private/var/tmp/_bazel_tianyi/f29d1e61689e4e4b318f483932fff4d0/external/org_tensorflow/tensorflow/contrib/autograph/utils/__init__.py
[ "sun.suntianyi@gmail.com" ]
sun.suntianyi@gmail.com
186e91145d97be619a36109db424d79ee9be5e48
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v4.0/business/LAN_4+1/WAN_BridgedIPv4v6_IPTV/script.py
455937edfeda08293cde9b096481beebe08773d0
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,049
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os....
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
c430b520d8077c08d1f2dad4a4e255d079ae8da2
4546398a18590e4e182629fb55d185547dd6df0a
/2015/beta/problems/demantar/input_format_validators/validator.py
bff24165ef084214f3ab7989be22df6477c131b1
[]
no_license
ForritunarkeppniFramhaldsskolanna/Keppnir
352341fa97c6349af65b513c03171f3e706f7db2
65c8eb5358d8a49f956edf76c2d47b9372accc3c
refs/heads/master
2023-04-28T15:33:36.396225
2023-04-23T15:00:15
2023-04-23T15:00:15
78,303,702
1
2
null
null
null
null
UTF-8
Python
false
false
286
py
import sys import re import string s = sys.stdin.readline() assert re.match('^[0-9]+ .\n$', s) s = s[:-1] n, c = s.split(' ', 1) n = int(n) assert 1 <= n <= 500 assert len(c) == 1 assert c in string.printable and c not in string.whitespace assert sys.stdin.read() == '' sys.exit(42)
[ "suprdewd@gmail.com" ]
suprdewd@gmail.com
3ac2d633ab9dcb1d8b617c819a20e45565fc5fa4
d01f9ff2d7ba3c7c99158678adeaf082f3f15dbc
/model/cpn/ablation_study/cityscapes.cpn.R101_v1c.v2/network.py
e1e8c9f9b049a87dd56a998ac77b7ba565d5ba93
[ "MIT" ]
permissive
akinoriosamura/TorchSeg-mirror
d8e76d99e80d55c2555f4f8f7a7fc3f30ef5dec4
34033fe85fc24015bcef7a92aad39d2a25a001a5
refs/heads/master
2021-06-18T15:47:00.946788
2019-10-26T04:46:07
2019-10-26T04:46:07
217,657,156
0
0
MIT
2021-06-08T20:36:44
2019-10-26T04:46:39
Python
UTF-8
Python
false
false
7,740
py
# encoding: utf-8 from functools import partial from collections import OrderedDict import torch import torch.nn as nn import torch.nn.functional as F from config import config from base_model import resnet101 from seg_opr.seg_oprs import ConvBnRelu from seg_opr.loss_opr import AntimagnetLossv6 class CPNet(nn.Modul...
[ "osamura.akinori@gmail.com" ]
osamura.akinori@gmail.com
5c12ebb7f61530f208ff64d567d216355c3961ed
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeEnsNetLevelRequest.py
5057ac9282727831a8f7d7371a4b4a15f5899cdf
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,014
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
9ba229cd899e1c098ef7cc34a315439025460288
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/subtlv_7c94061598b794f7b720de3bb85f6cdb.py
e5a86fab5e949b33adb3d3d1d06e318bcc1731c0
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
8,055
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
57b1d19b7a5e95e9e467c34419f47bb1f739192c
c124cd627d1cd2ecc2056a932db4c5c3203943f2
/MPSAppt/core/containers/attest.py
2536a3c36e1f8b87c51e74ab01d0f30f4dde7928
[]
no_license
longooglite/mps
8fb2093b6a9f483a2ce4543949f7cbf0b280a1f1
fd8c0d1491b80074fdf5a8c923d50e55a1991ad0
refs/heads/master
2021-01-10T08:17:15.852252
2016-02-29T21:07:04
2016-02-29T21:07:04
52,824,830
0
0
null
null
null
null
UTF-8
Python
false
false
7,311
py
# [Copyright] # SmartPath v1.0 # Copyright 2014-2015 Mountain Pass Solutions, Inc. # This unpublished material is proprietary to Mountain Pass Solutions, Inc. # [End Copyright] from MPSAppt.core.containers.task import Task import MPSAppt.services.attestService as attestSvc import MPSAppt.services.jobActionService as j...
[ "longuskikirk@gmail.com" ]
longuskikirk@gmail.com
6d167be378b64da8b761152a806b3267181938ac
a9f7e40e18c935fb004fe813f98e298ded0581af
/Unrated/NIKKEI_2019_Ex/NIKKEI_2019_Ex-G.py
91c77f85fafefd28a617a6781617c33d96188fea
[]
no_license
happa64/AtCoder_Beginner_Contest
2eb350f500f4bd65f5491b98cdf002ac9b174165
2526e72de9eb19d1e1c634dbd577816bfe39bc10
refs/heads/master
2023-07-08T15:13:51.449555
2021-08-11T14:18:09
2021-08-11T14:18:09
255,601,137
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# https://atcoder.jp/contests/nikkei2019-ex/submissions/18385907 # G - 回文スコア import sys from collections import Counter sys.setrecursionlimit(10 ** 7) f_inf = float('inf') mod = 10 ** 9 + 7 def resolve(): S = input() D = Counter(S) even = 0 one = 0 for v in D.values(): if v % 2 == 0: ...
[ "happa_iidx@yahoo.co.jp" ]
happa_iidx@yahoo.co.jp
98a0437b02ec91f9eb46d2cdc1a194709887c950
ba9c4be2697d5299fee7adf1652152f92e789894
/__init__.py
37fc40a9722c542c9e6a902b473a04d95ad62b34
[]
no_license
fabyc/nodux_in_invoice2note
8ec180a585f83d732c8819d21454403d6639c3e3
5b2fb6548149c0ace5cfc2c8a56237c1c372fb0b
refs/heads/master
2022-05-27T09:26:43.844978
2017-08-16T20:14:55
2017-08-16T20:14:55
260,091,344
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
#This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. from trytond.pool import Pool from .invoice import * def register(): Pool.register( Invoice, module='nodux_in_invoice2note', type_='model')
[ "tatianaq@nodux.ec" ]
tatianaq@nodux.ec
24848acbed36d1b8123122e0ce4c169f45274050
ee0b9cd2424e634a212a6d9734af1eaedd40dfe0
/jhub37_mantid_baseline/sasview-5.0.3/src/sas/qtgui/Plotting/SlicerModel.py
fcff73897d0b797ce5523cb2234f937919a6e72b
[ "BSD-3-Clause" ]
permissive
moving-northwards/Docker
775755b4618c1a7946f540505b0178e119d294d1
8ef18fd8c6abb0608ce9b53187e53d00d3e4e9ae
refs/heads/master
2023-05-26T08:42:58.634525
2021-06-15T08:41:08
2021-06-15T08:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,547
py
from PyQt5 import QtGui from PyQt5 import QtCore import sas.qtgui.Utilities.GuiUtils as GuiUtils class SlicerModel(object): def __init__(self): # Model representation of local parameters self._model = QtGui.QStandardItemModel() self.update_model = True self._model.itemChanged.conn...
[ "torben.nielsen@esss.se" ]
torben.nielsen@esss.se
b34ec6fea05408a0f8b07b708fd7b9eb9aff1f36
54b8fa244ff0dae2018efedcb81e1bb03376e5e2
/test/functional/test_framework/bignum.py
5af132b8a1480c8b1b2ec58ba88da0a3e971c468
[ "MIT" ]
permissive
afghany/castletmp
e15677a88f9a1878486b6becf93d26c0ee9dbeaf
9d0daed2a6abaf7d93f9308f5c602db6eeb42c8b
refs/heads/master
2022-11-27T14:58:47.802781
2020-08-08T21:26:12
2020-08-08T21:26:12
284,464,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
#!/usr/bin/env python3 # # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Big number routines. This file is copied from python-bitcoinlib. """ import struct # generic big endian MPI format def bn_bytes(v, have_ext=False): ...
[ "shagolo@gmail.com" ]
shagolo@gmail.com
d2fbd07c92fe745b47740d4e7405fae4d80d92f0
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/plugins/callback/oneline.py
2e5d07c5de90f3cd6d0c6d71b3ec59da0414ebd9
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' ...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
b43c93f012b04f452b69ddcc2add80dc65a7ac0a
588f4991cad99f517ca5028e0e41c5b4d5252543
/contest/abc128/C.py
d515f27cb54e9ca99721b1cfb2e8eefcf66a93e6
[ "MIT" ]
permissive
mola1129/atcoder
3002ff38cabf0ccb5142bd576ed90419fccde02e
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
refs/heads/master
2020-06-16T12:24:49.609707
2020-03-14T15:58:42
2020-03-14T15:58:42
195,571,664
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
N,M = map(int, input().split()) connect = [[0,0,0]] on_off = [0]*(N+1) result = 0 for _ in range(M): k = list(map(int, input().split())) connect.append(k[1:]) p = list(map(int, input().split())) for cnt in range(0,2**N): bin_str = list(format(cnt, 'b')) i = len(on_off)-len(bin_str) for ...
[ "ms.mola1129@gmail.com" ]
ms.mola1129@gmail.com
02bebd325a4f76630ff5661c2d8ce5290d849fec
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
/python/mxnet/gluon/probability/distributions/chi2.py
7b74683cb09c074f9ac0c521dbf91f8135d864c2
[ "Apache-2.0", "MIT", "Unlicense", "BSL-1.0", "NCSA", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "OFL-1.0", "BSD-2-Clause-Views", "Zlib" ]
permissive
yajiedesign/mxnet
5a495fd06dd1730c17d2d27d7e46c8a770847f17
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
refs/heads/master
2021-03-30T22:37:18.603396
2020-10-23T06:40:17
2020-10-23T06:40:17
43,763,550
214
59
Apache-2.0
2020-06-01T23:31:15
2015-10-06T16:36:40
C++
UTF-8
Python
false
false
1,620
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
yajiedesign.noreply@github.com
9e9f021e5c2d6c9d246028e2905aa22f9a704361
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R3/benchmark/startPyquil254.py
ae770cd6c05beda2d5d3a22c59f0cde3c69686d1
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# qubit number=4 # total number=14 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
3ce1c4f46a991d070a0f622b26e7320bd65e0cc6
bc6492a9a30ac7228caad91643d58653b49ab9e3
/sympy/series/benchmarks/bench_limit.py
06fd12c97e72d64b577dd4d469f61cc9efec5885
[]
no_license
cosmosZhou/sagemath
2c54ea04868882340c7ef981b7f499fb205095c9
0608b946174e86182c6d35d126cd89d819d1d0b8
refs/heads/master
2023-01-06T07:31:37.546716
2020-11-12T06:39:22
2020-11-12T06:39:22
311,177,322
1
0
null
2020-11-12T06:09:11
2020-11-08T23:42:40
Python
UTF-8
Python
false
false
158
py
from __future__ import print_function, division from sympy import Symbol, limit, oo x = Symbol('x') def timeit_limit_1x(): limit(1/x, x, oo)
[ "74498494@qq.com" ]
74498494@qq.com
8d4245bbcb13287d8470f9f637b1762b06d211ae
8b0267e7e1ac5b7e762f705597406ef2673b4755
/segmentation/smp_local/encoders/__init__.py
1665d2724b70bfe72329ee64151569ccf99dd2c2
[]
no_license
jionie/Ultra-high-Resolution-EM-Images-Segmentation
f2f33cb8c279ca698abb49cee2fd6872fbf66df0
b4389349e42310288bbc8704cdbdea6825598d8f
refs/heads/master
2020-09-19T12:12:57.260517
2019-12-18T09:00:43
2019-12-18T09:00:43
224,227,599
1
1
null
null
null
null
UTF-8
Python
false
false
2,040
py
import functools import torch.utils.model_zoo as model_zoo from .resnet import resnet_encoders from .dpn import dpn_encoders from .vgg import vgg_encoders from .senet import senet_encoders from .densenet import densenet_encoders from .inceptionresnetv2 import inceptionresnetv2_encoders from .inceptionv4 impor...
[ "jionie@sjtu.edu.cn" ]
jionie@sjtu.edu.cn
dc993c018a89e7c21f48d7f0f3123050933aa7fe
6ddd74b228cebf0a09be584611e914391725f778
/readsource/bottle/bottlefirst.py
37bd284af1be0fdd350ea595a37880f4a4e1f569
[]
no_license
kekefeng/gitproject
98435b89ae5bdc63ceed3981438ec3041927da87
920c0791e8db69b27d5cffc76c9dd8f90ca2525e
refs/heads/master
2020-04-22T03:26:00.135817
2019-03-18T04:58:06
2019-03-18T04:58:06
170,086,442
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from bottle import Bottle, run, template, route app = Bottle() #@app.route('/hello/<name:re:[a-z]+>/zzx/kk/<id:int>') @app.route('/hello/<name:int>') def greet(name='Stranger'): return template('Hello {{name}}, how are you?', name=name) run(app, host='localhost', port=5000, server='wsgiref')
[ "you@example.com" ]
you@example.com
557a7f5b19846ab4ef99b079dc66bebd3ca574d5
f3af143bada7f79db1e15b4386e5107bc99eb212
/ProjectBaseTest1/工具练习/10-文字聊天室/client.py
70ba7d7f25e6fa1e4bf62d351835bf7540105b10
[]
no_license
xxxfly/PythonStudy
a5ceae1d2b16cfdba19871507458154fc292bca0
478d89ccefc91a84f935aebdca796c9d4c23ef61
refs/heads/master
2022-04-08T13:45:03.405768
2020-03-09T03:47:50
2020-03-09T03:47:50
45,187,749
4
2
null
null
null
null
UTF-8
Python
false
false
5,604
py
#-*-coding:utf-8-*- import wx import telnetlib from time import sleep import _thread as thread import random import re class LoginFrame(wx.Frame): """ 登录窗口 """ def __init__(self,parent,id,title,size): #初始化,添加控件并绑定事件 wx.Frame.__init__(self,parent,id,title) self.SetSize(size) ...
[ "970832396@qq.com" ]
970832396@qq.com
bbdb15968f9fecce8a2c0b71d9694e7fb7ea60dd
34f1074602e711ad2311afb7e0bcd624013a954e
/setup.py
fbcce1aad21f5a3c534ac2be29a70dda74b943ca
[ "MIT", "Apache-2.0" ]
permissive
tareqalam/websauna
e8363c7dfec7faf2a804d78bf095ed8c2fd74ca0
d6326efe3a35cb7cc16234b1ea64198e027ff257
refs/heads/master
2020-12-26T04:55:45.090210
2016-04-01T17:10:55
2016-04-01T17:10:55
55,261,614
0
0
null
2016-04-01T20:51:47
2016-04-01T20:51:46
null
UTF-8
Python
false
false
5,398
py
import sys from setuptools import setup, find_packages from codecs import open from os import path assert sys.version_info >= (3,4), "Websauna needs Python 3.4 or newer, you have {}".format(sys.version_info) here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file with open(path....
[ "mikko@opensourcehacker.com" ]
mikko@opensourcehacker.com
de5585cdb7d57b5786ca3a57f62a92394188651f
b085a8631b20f5548627409e7c6d42557f0d4b7d
/libs/layers/assign.py
d3eaa1fd01e1891ed4b5a79dc9f859686a1f9e98
[ "Apache-2.0" ]
permissive
abdulmuneer/FastMaskRCNN
cd810057b4d62b035f12078e19fce46ea9d1e30e
2bd65f0faf21e140040242d884f3e33a087e5b04
refs/heads/master
2021-01-20T03:41:51.455023
2017-04-26T10:06:41
2017-04-26T10:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
#!/usr/bin/env python # coding=utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import libs.boxes.cython_bbox as cython_bbox import libs.configs.config_v1 as cfg from libs.boxes.bbox_transform import bbox_transform, bbox_transform_in...
[ "shangchong90@gmail.com" ]
shangchong90@gmail.com
6b67fbc7d998de614a48c315933888a62a343846
6b033e3dddc280417bb97500f72e68d7378c69d6
/V. Algorithm/ii. Site/F. LeetCode/0241_different_ways_to_add_parentheses.py
bd5f9b246157a8f093769f995d43c706ba430806
[]
no_license
inyong37/Study
e5cb7c23f7b70fbd525066b6e53b92352a5f00bc
e36252a89b68a5b05289196c03e91291dc726bc1
refs/heads/master
2023-08-17T11:35:01.443213
2023-08-11T04:02:49
2023-08-11T04:02:49
128,149,085
11
0
null
2022-10-07T02:03:09
2018-04-05T02:17:17
Jupyter Notebook
UTF-8
Python
false
false
714
py
from typing import List class Solution: def diffWaysToCompute(self, expression: str) -> List[int]: def compute(left, right, op): results = [] for l in left: for r in right: results.append(eval(str(l) + op + str(r))) return results ...
[ "noreply@github.com" ]
inyong37.noreply@github.com
a370b77af6502fb608bde82df099f9416b01af0f
06c0d8151983a7f16aa3d18b254b5f0ef012197e
/tests/conformance/conftest.py
e62b74e8bfadee13e226066ff225ddbf0bb12010
[ "Apache-2.0" ]
permissive
googleapis/python-storage
3a15ece3cecb95ee8b9fb0b193757961f6e0f027
bdd7c6c19c96a4dbd2249ba39399f8f6ff799fe1
refs/heads/main
2023-09-03T13:02:17.527509
2023-08-31T20:09:41
2023-08-31T20:09:41
226,992,639
363
161
Apache-2.0
2023-09-02T01:01:14
2019-12-10T00:10:14
Python
UTF-8
Python
false
false
3,881
py
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
googleapis.noreply@github.com
37b862cdca4f6aaadc98f6f52088f748238199fc
d4f2e2e3552ab4b111f78cfbad0d30c144201093
/2017-06-12/fib_pool.py
f13094e9069f611b6d36535aced6b7f77612ccaa
[ "Apache-2.0" ]
permissive
dongweiming/mp
c1e9f6f2c1fd8adbd4d7b8ffc45c5cc288cdcd80
129c31c818e1f0c39c983aad1f2f1ad9fa7efb1c
refs/heads/master
2023-04-29T07:56:27.198574
2022-10-30T04:20:09
2022-10-30T04:21:27
75,051,758
96
35
Apache-2.0
2023-04-17T17:34:17
2016-11-29T06:44:53
Python
UTF-8
Python
false
false
358
py
# coding=utf-8 import time from multiprocessing.pool import Pool NUMBERS = range(25, 38) def fib(n): if n<= 2: return 1 return fib(n-1) + fib(n-2) start = time.time() pool = Pool(3) for num, result in zip(NUMBERS, pool.map(fib, NUMBERS)): print('fib({}) = {}'.format(num, result)) print('COST:...
[ "ciici1234@hotmail.com" ]
ciici1234@hotmail.com
c5b1f4a73c9c08155e9a6d60d56eb20d4a326fe6
b08870f8fe7b3cf1bbab3c52a7bacbb36ee1dcc6
/verp/regional/italy/setup.py
3d54c566d12ddaeac03248cdc8b198f91b7354b0
[]
no_license
vsadminpk18/verpfinalversion
7148a64fe6134e2a6371470aceb1b57cc4b5a559
93d164b370ad9ca0dd5cda0053082dc3abbd20da
refs/heads/master
2023-07-13T04:11:59.211046
2021-08-27T06:26:48
2021-08-27T06:26:48
400,410,611
1
0
null
null
null
null
UTF-8
Python
false
false
11,292
py
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt # coding=utf-8 from __future__ import unicode_literals import frappe from frappe import _ from frappe.custom.doctype.custom_field.custom_field import create_custom_fields from frappe.permissi...
[ "admin@vespersolutions.tech" ]
admin@vespersolutions.tech
f92bdc62fa76b59090edc88420ad797e65e5b5b8
e17483ba000de9c6135e26ae6c09d9aa33004574
/ipynbs/流程控制/src/lock.py
527e33d048a10128a19edbe32bb8ce76108c1492
[ "Apache-2.0" ]
permissive
HAOzj/TutorialForPython
27ae50c6b9fb3289ae7f67b8106d3d4996d145a7
df7a6db94b77f4861b11966399f5359d00911a16
refs/heads/master
2020-03-17T09:19:45.199165
2018-04-02T13:33:27
2018-04-02T13:33:27
133,470,105
1
0
null
2018-05-15T06:35:01
2018-05-15T06:35:01
null
UTF-8
Python
false
false
360
py
import multiprocessing import sys def worker_with(lock, f): with lock: with open(f,"a+") as fs: fs.write('Lock acquired via with\n') if __name__ == '__main__': f = "source/file.txt" lock = multiprocessing.Lock() w = multiprocessing.Process(target=worker_with, args=(...
[ "hsz1273327@gmail.com" ]
hsz1273327@gmail.com
ef81636e011ddbfe54443ed35eb0808243aee7ec
7e40c8bb28c2cee8e023751557b90ef7ef518326
/pwnable_start/start.py
a51348673cc5407c52bddaa973546e1794ed2e67
[]
no_license
1337536723/buuctf_pwn
b6e5d65372ed0638a722faef1775026a89321fa3
cca3c4151a50c7d7c3237dab2c5a283dbcf6fccf
refs/heads/master
2023-08-29T19:35:04.352530
2021-11-16T14:06:20
2021-11-16T14:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
from pwn import * context.log_level = "debug" #p = process('./start') p = remote('node4.buuoj.cn', 28412) call_write = 0x8048087 payload = b'a' * 0x14 + p32(call_write) p.sendafter(b"Let's start the CTF:", payload) esp = u32(p.recv(4)) print('esp -> {}'.format(hex(esp))) shellcode=''' xor ecx,ecx push ecx push 0x6...
[ "admin@srmxy.cn" ]
admin@srmxy.cn
1ce15ec0a75c7d5b1b1db406679c60d7f009833e
6c53847f9956edc8f31b23c24b1786d1b9789f03
/tacker/venv/bin/wheel
86288a383455d2b1f18e3d5a11af91fdaf3673c4
[]
no_license
kunal1510010/Quikmile
c64a9264798cf834aaf32ecb4653b9b81dab0dd5
244d2749eb8438ce858de51c088a52ca3de58992
refs/heads/master
2022-12-12T08:03:50.628252
2018-11-29T15:24:46
2018-11-29T15:24:46
159,226,383
0
0
null
2022-12-08T02:27:44
2018-11-26T20:10:20
Python
UTF-8
Python
false
false
235
#!/home/kunal/Desktop/cas/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kunal1510010@gmail.com" ]
kunal1510010@gmail.com
e8a969c5226b7404f99680e5874e25631fa54af4
964b063c2461aad267ddd991fefaf7ab53b1ca94
/8-kyu/plural/python/solution.py
299175ea2855b95721abb6031ba1809c291de123
[]
no_license
lucasbflopes/codewars-solutions
26c4e2cd1be19db50cc8c1d9fc117c51c82a2259
72ef2c02dde7bd0d5a691e04e3b2a383e892f84b
refs/heads/master
2022-03-14T01:26:41.816498
2019-11-23T17:17:19
2019-11-23T17:17:19
114,834,447
0
1
null
null
null
null
UTF-8
Python
false
false
36
py
def plural(n): return not n == 1
[ "LucasBraganca@Lucas-MacBook-Pro.local" ]
LucasBraganca@Lucas-MacBook-Pro.local
fe351d2472b7dbfcf0af804a27e8f390c8ff6337
4ddf82eeb31d46fb67802a4375390eb42a8f23b8
/tests/misc/sys_settrace_subdir/trace_generic.py
111a9d19ff30dda48e0212bcf758d99032cd8a9c
[ "MIT" ]
permissive
pulkin/micropython
1437a507b9e90c8824e80c3553e6209d89e64565
c274c947c611f510fd2b1c4ef6cbd9f4283794fc
refs/heads/master
2023-03-08T02:35:28.208819
2022-04-19T12:38:47
2022-04-19T12:38:47
167,732,676
103
36
MIT
2023-02-25T03:02:36
2019-01-26T19:57:59
C
UTF-8
Python
false
false
1,540
py
print("Now comes the language constructions tests.") # function def test_func(): def test_sub_func(): print("test_function") test_sub_func() # closure def test_closure(msg): def make_closure(): print(msg) return make_closure # exception def test_exception(): try: raise...
[ "damien.p.george@gmail.com" ]
damien.p.george@gmail.com
c3accd3358621940fbdad50b1177f4ec90add8aa
262195faec1b59ff67067f2dc7e3eb7db8dba946
/src/setting sourcetoUTFformat.py
bf517cbcb3910c6092860bfe0e945eeba0ded980
[ "MIT" ]
permissive
sudeep0901/python
3a090ae2cd8a61e8e375cebb4722c051d2d766aa
7a50af12e72d21ca4cad7f2afa4c6f929552043f
refs/heads/master
2022-04-21T14:15:25.606241
2020-04-13T02:35:56
2020-04-13T02:35:56
155,167,294
0
0
MIT
2020-03-07T06:59:36
2018-10-29T07:08:06
Jupyter Notebook
UTF-8
Python
false
false
109
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- s = "Jalape" # String in quotes is directly encoded in UTF-8.
[ "sudeep.tech.patel@gmail.com" ]
sudeep.tech.patel@gmail.com
48853301e1d5994fd62e2e7ac0424f3762a446ea
3a4fbde06794da1ec4c778055dcc5586eec4b7d2
/@lib/01-18-2008-01/vyperlogix/win/registry/reg_walker.py
cc8b06833bd146af47d7804a83c6d80b046dc6b6
[]
no_license
raychorn/svn_python-django-projects
27b3f367303d6254af55c645ea003276a5807798
df0d90c72d482b8a1e1b87e484d7ad991248ecc8
refs/heads/main
2022-12-30T20:36:25.884400
2020-10-15T21:52:32
2020-10-15T21:52:32
304,455,211
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
import _winreg __copyright__ = """\ (c). Copyright 2008-2011, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-commercial educational use only., http://www.VyperLogix.com for details THE AUTHOR VYPER LOG...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
bb8ebe09cc5951038ac84d4a52cdc743bcf2eb2d
fb124e51024917d6479fa626d9607ff10f7a3aba
/storm-control/storm_control/steve/sections.py
2a30384238f3ecf6446cca440e00b7198af7eebe
[ "MIT" ]
permissive
BehnamAbaie/storm-control
054bd7bbd903ed9635e4d1121c30544f58473c4f
0c686321142eccad62ce3365eae22c3b69229b0d
refs/heads/main
2023-06-18T08:04:01.108874
2021-07-14T00:51:15
2021-07-14T00:51:15
342,049,487
0
0
null
null
null
null
UTF-8
Python
false
false
24,245
py
#!/usr/bin/env python """ The handles all the UI elements in the Mosaic tab. Hazen 10/18 """ import numpy from PyQt5 import QtCore, QtGui, QtWidgets import storm_control.sc_library.hdebug as hdebug import storm_control.steve.coord as coord import storm_control.steve.imageCapture as imageCapture import s...
[ "noreply@github.com" ]
BehnamAbaie.noreply@github.com
291a893cff8acb6ab12dbcd9775261b0581e06d9
0b6d99c3ecc9a4d937345b85a80fb6558a4da397
/function/lambda/c2.py
c9fd53c24893736eff8d2d9d4d3629a7db8bac0c
[]
no_license
huiup/python_notes
3057058154d2b6ba0514913b9e55421614e1ea5e
60f5513cefef054aec0deb4ca1b2eb9fdc263f9d
refs/heads/master
2021-03-01T20:16:31.904703
2020-11-03T13:09:51
2020-11-03T13:09:51
245,811,459
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
#三元表达式 x = 4 y = 3 r = x if x > y else y print(r)
[ "1127473030@qq.com" ]
1127473030@qq.com
c7dfc7725d763e85132830b5dcd849e65bf137c2
bf0d7c8d987d5fda14208eb9ce70e31c83c25c25
/c-ex4/plot_logs.py
6151e8784b9f8a3d48023b055e5894d81ed693d0
[]
no_license
SummerBigData/SamRepo
7876e9393c7175e300e175a60c17633c3b23a1bb
fd84ad654370faa48c084349952c2921fde4032d
refs/heads/master
2020-03-18T05:09:08.787956
2018-06-18T17:11:49
2018-06-18T17:11:49
134,327,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,894
py
import numpy as np import pandas as pd from plotly.offline import plot import plotly.graph_objs as go import os dirs = os.listdir('logs') dirs = list(filter(lambda f: os.path.isdir('logs/'+f), dirs)) data = dict() for name in dirs: if not os.path.isfile('logs/'+name+'/cost_and_acc.csv'): print name + '...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
4f5bd2145ed1e3def380adc78118dd2eac97e1b4
d66141796bcaf9b1f895be0226f7400ca8d579cf
/color_histogram/core/hist_common.py
8804159b85f6d765fc442976f017235e42123ff9
[ "MIT" ]
permissive
absbin/ColorHistogram
51004ca4bad2b83ff9f496cb6097d654fa30583f
0743376d5d89d4c8aacc986bb3d64a0098877480
refs/heads/master
2020-04-21T17:37:15.035363
2019-02-10T19:50:09
2019-02-10T19:50:09
169,741,939
0
0
MIT
2019-02-08T13:51:22
2019-02-08T13:51:22
null
UTF-8
Python
false
false
1,733
py
# -*- coding: utf-8 -*- ## @package color_histogram.core.hist_common # # Common color histogram functions for 1D, 2D, 3D. # @author tody # @date 2015/08/29 import numpy as np def colorCoordinates(color_ids, num_bins, color_range): color_ids = np.array(color_ids).T c_min, c_max = color_range ...
[ "tody411@gmail.com" ]
tody411@gmail.com
81519b9144aeb9c939806eb0d2d04dafbbf4b122
52b5773617a1b972a905de4d692540d26ff74926
/.history/sets_20200609191647.py
c8142142fb9e8aff031b9767f3c3d70a3fcfbf5a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
import json def Strings(str): # dictionary--> key value pairs values = {} newArray = [] keys = [] for i in str: newArray.append(i.split(":")) for j in range(0,len(newArray)): if newArray[j][0] in values: values[j][0] += int(newArray[j][1]) el...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ba97fb24529d7aa94bd21ccf716216cc351abd99
3437c90948fef98f3db081b741b96d50666b2a39
/api/views.py
0164884433e2f10716eb991bd19c55e9dfe8d968
[]
no_license
jimrollenhagen/WhatManager3
897080e5125c0bbb5bce8366b0eb5ca1118e1bc8
fb14b3527f6263045471fdd48384f1f7007c5bc0
refs/heads/master
2020-12-03T10:26:34.324705
2014-10-22T05:03:10
2014-10-21T21:57:12
25,735,775
1
0
null
null
null
null
UTF-8
Python
false
false
2,477
py
# Create your views here. from django.http.response import JsonResponse from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST from api.management import ApiManager from torrents.client import TorrentManagerException from torrents.models import ClientTorrent from tra...
[ "ivailo@karamanolev.com" ]
ivailo@karamanolev.com
d2ca79b04e4f33f3da1aacc21ab5523ec50d6cc0
6fa625feb79934951985ddfa3889886abbe0dc8e
/crawlers/ddgmuiWyoming/wyoming.py
29a664e5f3caed892131c88183e08f5b65b083ba
[]
no_license
anukaisolutions/Vayudev
b539ab085aac1fd285953289f7bff9b47bfeb080
905f749d1678ab36211b1ead1dd005ce03221d72
refs/heads/master
2021-01-13T19:16:41.775458
2020-02-23T14:06:50
2020-02-23T14:06:50
242,467,839
1
0
null
null
null
null
UTF-8
Python
false
false
773
py
def getData(year,month,form1,to,statio): url = "http://weather.uwyo.edu/cgi-bin/sounding?region=seasia&TYPE=TEXT%3ARAW&YEAR="+year+"&MONTH="+month+"&FROM="+from1+"&TO="+to+"&STNM="+station import requests response = requests.get(url) response = str(response.content) # print(response.content) na...
[ "rahulgoyal0.rg@gmail.com" ]
rahulgoyal0.rg@gmail.com
4bc1e9b731c78cf2eade21f26145cd1de06357af
49536aafb22a77a6caf249c7fadef46d63d24dfe
/tensorflow/tensorflow/contrib/learn/python/learn/estimators/rnn_common_test.py
5df08f5fdc138fbb912f8ebcd33bc37ce60bc5d2
[ "Apache-2.0" ]
permissive
wangzhi01/deeplearning-1
4e5ad93f0d9ecd302b74352f80fe1fa6ae70bf0d
46ab82253d956953b8aa98e97ceb6cd290e82288
refs/heads/master
2020-05-28T03:14:55.687567
2018-09-12T16:52:09
2018-09-12T16:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,952
py
# Copyright 2017 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...
[ "hanshuobest@163.com" ]
hanshuobest@163.com
62bca78d93bc3f22a19ac5decef2c0c10190c48a
5f36eba5cf27cda8198cad11f0486d379a5ca9f0
/gen_features.py
f35b063158b60ce886115751c8f5d62fdfe819e8
[ "MIT" ]
permissive
A-Jacobson/iEEG_Seizure_Prediction
16354a67cb5c429935d1ce00f1c1647349ddb9ea
bdee7f4aab72674e01af7ec254b5d6ec7f65e620
refs/heads/master
2020-07-06T13:05:46.155605
2016-09-16T22:02:19
2016-09-16T22:02:19
67,307,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
from pipeline import Pipeline from eeg_io import load_data from transforms import * import multiprocessing as mp pipelines = [ # statstical features Pipeline([Mean()]), Pipeline([Mean(), Abs()]), Pipeline([Abs(), Mean()]), Pipeline([Stats()]), Pipeline([CorrelationMatrix()]), # Pipeline([C...
[ "jacobsonaustinj@gmail.com" ]
jacobsonaustinj@gmail.com
505e010e347cb6852cbd67ae05cfa5a801a854ef
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/88/usersdata/197/59698/submittedfiles/listas.py
42280df62eb2e1e110c8e6ea113e2b5f83248d61
[]
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
557
py
# -*- coding: utf-8 -*- def degrau (a): b=[] for i in range (0,len(a)-1,1): diferenca=(-1)*(a[i]-a[i+1]) b.append(diferenca) return (b) def maior (a): maior=a[0] for i in range (0,len(a),1): if a[i]>maior: maior=a[i] return (maior) def maiordegrau (lista): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f4ffb83165231227b2683d436abb21d63dea3822
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/q7BdzRw4j7zFfFb4R_16.py
f9daf2b8e0b3ec99b99073498e00d7020dc7733f
[]
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,028
py
""" Create a function that takes two lists and combines them by alternatingly taking elements from each list in turn. * The lists may be of different lengths, with at least one character / digit. * The first list will contain string characters (lowercase, a-z). * The second list will contain integers (all pos...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a9afdee321162791bb14de296c179bfd662c9631
46c31992b665615e410f1869b9f7a91ed57a2637
/couchbase/tests/cases/rget_t.py
c7a8cd4db499d9584d590617ed33a4396847008a
[ "Apache-2.0" ]
permissive
what-studio/couchbase-python-client
4bca31917a519ad2d61bc93f37faa7f4af81d32d
1aa78f1559fe2407d664b7d5fd1f885359750147
refs/heads/master
2021-01-12T08:34:06.866811
2016-12-02T00:05:15
2016-12-02T16:31:24
76,612,814
1
1
null
2016-12-16T02:09:30
2016-12-16T02:09:29
null
UTF-8
Python
false
false
3,351
py
# # Copyright 2013, Couchbase, 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 by applicable l...
[ "mnunberg@haskalah.org" ]
mnunberg@haskalah.org
43196f723a7336bcf3a95d9474d07b8fbaf707fd
e72c937f783e79f41468d992fead4e2085de1775
/src/week 4/day 3/using_object_main.py
159e6f58b74160936df6aa2ce755b28005e8a72b
[]
no_license
NoroffNIS/Python_Examples
13dac7313472a9cdefe66a61302f4024a4a8af0f
ffab09002d3549e6f440a303fccc0fd61bb80472
refs/heads/master
2021-04-26T06:04:33.034864
2018-01-03T13:26:19
2018-01-03T13:26:19
59,116,302
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from objects import * my_object = ClassName print(my_object.__doc__) print(my_object.class_variable) my_object.class_method(my_object) my_object.print_class_variable(my_object)
[ "brage89@gmail.com" ]
brage89@gmail.com
60154e9f98b90231bbbe31299e779005708de9c8
df42b0d05038a2940606591d548637bc51d6573d
/aid1907/leetcode_test/最大柱状矩阵/new_test.py
035a46bb7169dbdb17830bdebe6ff12994a3581e
[]
no_license
ThreePointFive/aid1907_0814
440113f5ae2df28e53a088bd3ea420d5558214b4
99eea9aafdf8211278425c33aba2e64d5eb2500b
refs/heads/master
2022-12-03T19:31:21.085608
2019-11-09T06:25:33
2019-11-09T06:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,265
py
import time def max_j(heights): if heights == []: return 0 list2=[] for i in range(len(heights)): list1=[] for j in range(i,len(heights)): list1.append((j-i+1)*min(heights[i:j+1])) list2.append(max(list1)) return max(list2) a=time.time() list3=max_j([9046155,1...
[ "760373741@qq.com" ]
760373741@qq.com
7b1f66dd10d8d19462a808b9915411777c07b644
e1292fb9f2b359f71fbc54a4eb6ae4cf0c1ff51d
/machines/rasppi32/socket_server.py
18c67fe41ecbe2ebc0ace9dc89691c92450be8f2
[]
no_license
JNRiedel/PyExpLabSys
879d5c6bf552e89134629f0c6ca011af67937c3d
b69daaa9c932b9264d9f731cc3f2091f31f5d36e
refs/heads/master
2020-04-08T08:45:17.466865
2014-08-22T11:06:24
2014-08-22T11:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
""" Socket server for valve-control box """ import time import SocketServer import wiringpi2 as wp class MyUDPHandler(SocketServer.BaseRequestHandler): def handle(self): received_data = self.request[0].strip() data = "test" socket = self.request[1] if received_data =...
[ "jensen.robert@gmail.com" ]
jensen.robert@gmail.com
18764b8e0e245a262c3d95f37922342280da279e
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc015/B/4420123.py
e240646ff0645ed09389907878e7f5bc4ba5d2a1
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
158
py
s = input() n = len(s) ans = 0 for i, c in enumerate(s): ans += n-1 if c == "U": ans += i else: ans += n-1 - i print(ans)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
3acd29f1a10016eb1f86cb5cf195ad30bb94dd36
e79de9c9def60b0f814ab0625a2eb8bce3428ddd
/challenges/own/operas/operas_solution.py
0f21f23d8e6186991dd3ca538f90015a1629a287
[]
no_license
mh70cz/py_old
a80e2140a279541c3639f89df70fadad34f7df0f
1af878cfbff24e5c6d39219c2c4faebd5a12f0c4
refs/heads/master
2022-04-05T15:07:10.840387
2020-01-13T18:39:50
2020-01-13T18:39:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
""" For two given composers find operas (one of composers is the author) at which premiere both could have been together (i.e. they both had to be alive). Just a theoretical possibility of presence is considered """ from datetime import datetime composers = { "beethoven": ("Ludwig van Beethoven", "17 December 17...
[ "mh70@mh70.cz" ]
mh70@mh70.cz
a643359cdc06e3dad758fb3aebf4acc8e8ccfee6
5e48c355308cfe3fe84835f3d56218a53f7968cd
/dvc/parsing/__init__.py
b173de4384e38b7898d811d2d2e19cb55d2b293d
[ "Apache-2.0" ]
permissive
imhardikj/dvc
97b6637f75d90e9f3f708211aec07e3da2fa205f
911534116e4f870f87b05caf2bed38e105a205ad
refs/heads/master
2023-01-05T04:01:46.308634
2020-10-29T09:01:34
2020-10-29T09:01:34
264,737,803
0
0
Apache-2.0
2020-05-17T19:08:07
2020-05-17T19:08:06
null
UTF-8
Python
false
false
3,764
py
import logging import os from collections import defaultdict from copy import deepcopy from itertools import starmap from typing import TYPE_CHECKING from funcy import first, join from dvc.dependency.param import ParamsDependency from dvc.path_info import PathInfo from dvc.utils.serialize import dumps_yaml from .con...
[ "noreply@github.com" ]
imhardikj.noreply@github.com
ac3f36b00c738fcffba08b38b22ace5d60c3a19f
2656f92d8329bc1b28188802badc7b3a945fa978
/src/platform/railo/authenticate.py
8ee7b6a90b019f5aa138fc25923c9a2625b4583e
[ "MIT" ]
permissive
koutto/clusterd
81828698574bc7301cd4eb0ad87d3115ddf74612
93db0a50210dcc6147c3122a539104a36e92f02b
refs/heads/master
2020-05-03T17:51:55.430955
2019-03-31T23:20:22
2019-03-31T23:20:22
178,751,876
2
1
MIT
2019-03-31T23:04:14
2019-03-31T23:04:13
null
UTF-8
Python
false
false
2,588
py
from src.platform.railo.interfaces import RINTERFACES from requests.utils import dict_from_cookiejar from collections import OrderedDict from sys import stdout from log import LOG import state import utility def _auth(pswd, url, title): """ Support auth for both the web and server interfaces """ ...
[ "shodivine@gmail.com" ]
shodivine@gmail.com
668781a6f78564088417314c29bba0050a82a1a5
8d55d3a52ed6dc8111801cea9c7c9d0a84be736b
/src/1392.longest-happy-prefix.py
3b5ddbab31d9da69b9465e8818f5c3b68d1a952b
[]
no_license
mic0ud/Leetcode-py3
2a23270034ec470571e57c498830b93af813645f
61fabda324338e907ce3514ae8931c013b8fe401
refs/heads/master
2022-12-26T11:52:31.666395
2020-09-27T19:27:10
2020-09-27T19:27:10
297,135,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
# # @lc app=leetcode id=1392 lang=python3 # # [1392] Longest Happy Prefix # # https://leetcode.com/problems/longest-happy-prefix/description/ # # algorithms # Hard (39.14%) # Likes: 191 # Dislikes: 15 # Total Accepted: 8K # Total Submissions: 20.1K # Testcase Example: '"level"' # # A string is called a happy pre...
[ "ebizui@gmail.com" ]
ebizui@gmail.com
0b0904c3cb0fa4f9689e280d90bb751078b85fb6
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/faezeh/lab/cell_lab/shell.py
93472192968f601cf1db0bcfe727b1175ea20d64
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
3,462
py
''' (C)2004 ORFEUS This is the default python module file. It has been generated by the modtree administrator Import the generated Python module in order to - initialize the required modules and - load the compiled module extension library of this module ''' # Here you can add your own code ... #!/usr/bin/env py...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
70476e212daa4321863e86fabbc6752a86a59967
d5219de4d3e4bef5c8c71e209158dd92d4f8a011
/project/config/settings/common.py
a1d862bdb54494fd64d57ad3cdfcf6166a07ffa9
[ "MIT" ]
permissive
ilmoeuro/asylum
1932de32ae6db6b34d1609775d5ff9037130fe02
88d48d59cba58738bf141142bae7d1182cf4d5e7
refs/heads/master
2021-01-24T23:13:09.090463
2015-11-27T21:56:21
2015-11-27T21:56:21
47,000,716
1
0
null
2015-11-27T21:53:40
2015-11-27T21:53:40
null
UTF-8
Python
false
false
8,123
py
# -*- coding: utf-8 -*- """ Django settings for asylum project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ from __future__ import absolute_import, unicode_lite...
[ "eero.afheurlin@iki.fi" ]
eero.afheurlin@iki.fi