blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
341f476266c35eab353587eb301e389470a302a9
0fdb402809188c34702bc70e4d106e56ca8e2bd0
/Algorithms/tkinter.py
68887798977aa716073634bbb8f0b59f3dc37a4a
[]
no_license
the07/Python
356f2018a85caeb9dd6ccb251636ff697eb613b6
af34cf3ffe01504632cf3654a0a5f89653e163cb
refs/heads/master
2021-01-06T20:36:33.718087
2017-11-24T06:58:32
2017-11-24T06:58:32
90,789,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
from tkinter import * from PIL import Image, ImageTk class Window(Frame): def __init__(self, master = None): Frame.__init__(self, master) self.master = master self.init_window() def init_window(self): self.master.title("GUI") self.pack(fill=BOTH, expand=1) #...
[ "thegauravks@gmail.com" ]
thegauravks@gmail.com
1a16098041fbca03cf063a8d634ba651c06669a2
1c83920efda583d0dcedda2ac9d91235094685e2
/web/appauth/constants.py
c9214cd0195bd4ac937081777d0947385459c7d5
[]
no_license
eshandas/django_project_template
d866d2d8c5e206b0430e6130bc470042af50b7fa
09786f6201d8e83199a2c0b7a83b6b6b0c8fd285
refs/heads/master
2022-07-22T14:39:50.521081
2019-08-06T11:00:19
2019-08-06T11:00:19
65,455,207
0
1
null
null
null
null
UTF-8
Python
false
false
981
py
class ResponseKeys(object): SESSION_ID = 'sessionId' USER = 'user' class SuccessMessages(object): PASSWORD_RESET = 'An email has been sent to change the password' class FailMessages(object): USER_INACTIVE = 'This user is not active' INVALID_CREDENTIALS = 'Wrong username or password' INVALID_...
[ "eshandasnit@gmail.com" ]
eshandasnit@gmail.com
16a12bf01a5c8f66c081745f20fe8d9e7257cbfc
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/trinutils/bindings.py
e5220ff7fcd107047c5e0b787445c9b1c58c06ab
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
#Embedded file name: trinutils\bindings.py """ Functions for dealing with bad value bindings on objects. """ import logging import osutils.subst as subst import trinity logger = logging.getLogger(__name__) def HasBrokenBindings(trinObj): bindings = trinObj.Find('trinity.TriValueBinding') for binding in binding...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
1fb7deb6e862121c82bd11e1f35fb92ae1ba4494
4e5b112b32cc2eeffb39f7111122d0df13da4117
/Cap 9/Ex9.7.py
00af0098ccf8d32da4be756c75dd5d51b9252471
[ "MIT" ]
permissive
FelipeDreissig/PenseEmPy
13c194f307a8ade747872efb1f4e50848f3c71a3
158a55d0e6bd06c8eadaa9159e816a1e4beb0ff7
refs/heads/main
2023-02-10T13:30:41.254544
2020-12-28T13:05:05
2020-12-28T13:05:05
324,915,293
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# exercício 9.7 def repeat(): caminho = open(r'C:\Users\dreis\Desktop\Estudos\Projetos\words.txt', 'r') for palavras in caminho: if len(palavras) > 6: for i in range(0, len(palavras) - 6): if palavras[i] == palavras[i + 1]: if palavras[i + 2] == palavras...
[ "58836663+FelipeDreissig@users.noreply.github.com" ]
58836663+FelipeDreissig@users.noreply.github.com
3557efa72c93cd24fed3afd99d4cc0064394697e
ad518c153efb6ced9744d1df7e8bbd91820c5048
/fm-api/fm_api_test.py
e748dfdb31e5010f99906f208c4fd8e5ac7fe0a6
[ "Apache-2.0" ]
permissive
starlingx-staging/x.stx-fault
eccefc69c5015872da26869a07efd36464a1ae5d
6cd8940170c1799f9aa2fd05a38b84de0e7d87b3
refs/heads/master
2020-03-19T02:03:52.136983
2018-05-30T23:16:06
2018-05-31T14:36:00
135,595,467
0
1
null
null
null
null
UTF-8
Python
false
false
3,450
py
# -*- encoding: utf-8 -*- # # Copyright (c) 2014 Wind River Systems, Inc. # # Author: # # 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/LICEN...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
81ef3a1abaf74c63ccf1b403a791df16705a2301
dbaa45978f3392c200f8576a82e7f0ed063b9906
/home/blocks.py
d0968d1a95395de3c61f9843e28b0b6821588e5d
[]
no_license
dentemm/yourin
033d29c6f946bb805f240f4c51bfabf1fa206dca
ec61fe8dfe1397ff1ee2fc76dc45caed529d7aa1
refs/heads/master
2022-12-02T12:59:39.431498
2017-04-27T19:34:29
2017-04-27T19:34:29
71,818,880
0
0
null
2022-11-22T01:29:32
2016-10-24T18:26:14
CSS
UTF-8
Python
false
false
4,082
py
from django import forms from wagtail.wagtailcore import blocks from wagtail.wagtailimages.blocks import ImageChooserBlock from wagtail.wagtailembeds.blocks import EmbedBlock TEXT_ALIGNMENT_CHOICES = ( ('text-left', 'Links'), ('text-right', 'Rechts'), ('text-center', 'Centreer'), ) class CarouselImageBlock(blocks...
[ "tim.claes@me.com" ]
tim.claes@me.com
f41e0c2c87253f5af0e523fec0a04fdcef77d705
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/conflicts/127_mlcomp_sparse_document_classification_conflict.py
8596dabdca286879c364138e4a68ba1148370e77
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,171
py
""" ====================================================== Classification of text documents using sparse features ====================================================== This is an example showing how the scikit-learn can be used to classify documents by topics using a bag-of-words approach. This example uses a scipy.s...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
95d44a6fd33c75ebdef986787fe08d50a5f247d3
b1d4a62b60cedaf0b88613b4c9f6e1c37a79ccef
/app/migrations/0002_auto_20200302_1040.py
ce110466c912ca49e91643733bd7b3cf8e61d897
[]
no_license
juned8236/primary_foreign_based_onfront
05ac97730ecdb184c96f44e1c2fb67d40cd521c5
4fc3be613c246a7853b2896a120b924451673124
refs/heads/master
2021-02-07T02:25:18.923855
2020-03-13T03:56:17
2020-03-13T03:56:17
243,972,390
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# Generated by Django 3.0.3 on 2020-03-02 10:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product', ...
[ "juned8236@gmail.com" ]
juned8236@gmail.com
beb525892b9b3398ef96bd78e6412b6090711a55
443aba47108d7b35984a18f8bdf8cf90a98af428
/src/test_sst.py
8823784b674cee5bcaf1c63c022e812bf4b2ce3e
[ "Apache-2.0" ]
permissive
bgshin/mxnet_cnn
947898490d3845a3d4d5b89cbeab8857bb97b730
19ebc13f4990ee29612a479325cf13d3bd9723ec
refs/heads/master
2021-01-19T19:45:42.301126
2017-09-29T18:03:38
2017-09-29T18:03:38
101,208,665
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# https://faroit.github.io/keras-docs/1.2.2/models/model/#methods import os # os.environ['KERAS_BACKEND']='mxnet' os.environ['KERAS_BACKEND']='tensorflow' from keras.layers import Convolution1D from keras.layers import Dense, Dropout, Flatten, Input, MaxPooling1D, Embedding from keras.layers import merge from keras.mo...
[ "nomolos79@gmail.com" ]
nomolos79@gmail.com
06af8d9c34e3dadaebe4c707aa4f98b6d8c9c7c3
9f9ec8bebfe8b7ac8e60dcaa23153abe976585e6
/dataCommons/reporting/reports/postingQueueSize.py
84e6c0ffdd52f0ac5f0f6934c46737a76bcf1d73
[]
no_license
erikwestra/data-commons
bbf32cd9b4b64ace28bcb049190d8272a23ed891
e3ed33fad104157ff505bb02bc7ae981f8ba3b11
refs/heads/master
2020-04-11T12:03:19.996644
2013-02-14T17:08:24
2013-02-14T17:08:24
8,188,655
1
0
null
null
null
null
UTF-8
Python
false
false
5,775
py
""" dataCommons.reporting.reports.postingQueueSize This module implements the "Posting Queue Size" report for the 3taps Reporting system. """ from django.db.models import * from dataCommons.shared.lib import dateHelpers,reportHelpers from dataCommons.monitoringAPI.models import * ###########################...
[ "ewestra@gmail.com" ]
ewestra@gmail.com
7c745e331a254a56767884ec5b62a8ad36581097
aba9b00edec394f1389a7ecf88a290112303414d
/energetyka/inżynieria_materiałowa/lab/06/polprzewodnik.py
b090e4821c75dec9e3f3bfa8e5f885a841a9095b
[]
no_license
torgiren/szkola
2aca12807f0030f8e2ae2dfcb808bf7cae5e2e27
5ed18bed273ab25b8e52a488e28af239b8beb89c
refs/heads/master
2020-12-25T18:18:36.317496
2014-04-27T23:43:21
2014-04-27T23:43:21
3,892,030
1
1
null
null
null
null
UTF-8
Python
false
false
245
py
#!/usr/bin/env python import math f=open("data2.dat","r") while True: line=f.readline() if not line: break; line=line.split() print 1.0/(float(line[0])+273), print math.log((0.0004*1000*float(line[1])/(0.00000016*float(line[2]))),math.e)
[ "torgiren@gmail.com" ]
torgiren@gmail.com
7238271ba0141772838ea30adbcf8d57f5070af2
c91eac635507950941003dd79a494a95cd39dc77
/test/data_formater/test_ttf_stage_parameters.py
775a2212fc596871b1b9b7604ff84a3adccd31a4
[]
no_license
GabrielPenaU3F/confiabilidad-software
29b064cc9f866c06833cf6afc0bc424fd20619c6
c57572ec3f9fba01331718d892d94d720cc5d04d
refs/heads/master
2023-03-19T01:47:40.939503
2021-03-17T02:03:39
2021-03-17T02:03:39
193,144,043
0
0
null
null
null
null
UTF-8
Python
false
false
2,330
py
import unittest from src.data.data_formater import TTFDataFormater from src.data.data_repository import DataRepository class TestTTFStageParameters(unittest.TestCase): ntds_data = None ttf_formater = None @classmethod def setUpClass(cls): cls.ntds_data = DataRepository.provide_project_data(...
[ "gpena@untref.edu.ar" ]
gpena@untref.edu.ar
2722bfbf80756d42355e953b07dc2b3411eb23a4
244ecfc2017a48c70b74556be8c188e7a4815848
/res_bw/scripts/common/lib/plat-irix5/in.py
81f04b7f3125011fcdad536e53c891298a4c1d7b
[]
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
3,280
py
# 2015.11.18 12:05:35 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-irix5/IN.py from warnings import warnpy3k warnpy3k('the IN module has been removed in Python 3.0', stacklevel=2) del warnpy3k LITTLE_ENDIAN = 1234 BIG_ENDIAN = 4321 PDP_ENDIAN = 3412 BYTE_ORDER = BIG_ENDIAN BYTE_ORDER = LITTL...
[ "info@webium.sk" ]
info@webium.sk
536183f4949f6e92e8c56105ea1e5dfe526556a9
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/5af1e40a97664eb786adf47ea78a5857.py
e3c48f698e30288abe8547792608b7366661c877
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
400
py
""" Write a program that given a phrase can count the occurrences of each word in that phrase. For example for the input `"olly olly in come free"` plain olly: 2 in: 1 come: 1 free: 1 """ from collections import defaultdict def word_count(phrase): dictionary = defaultdict(int) words = phrase.split() ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
4a474bffc05946755f60e75c53115e83ec96ac48
57caf9e323d5771c6463bb67a7e1a774f5315e5b
/setup.py
9cdd5dcfa36969a58547e0f10e3d4a660b6ad322
[ "Apache-2.0" ]
permissive
geziaka/rater
5de97851d4207f03f996324b99b8fdc5881306e9
8437dea8baf0137ab3c07dd19c5f2bb8c15b4435
refs/heads/master
2022-12-06T00:33:33.867132
2020-09-01T15:04:37
2020-09-01T15:04:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
# -*- coding: utf-8 -*- from __future__ import print_function import sys from setuptools import setup, find_packages import rater if sys.version_info < (3,): sys.exit('Sorry, Python3 is required.') with open('README.md', 'r', encoding='utf-8') as f: readme = f.read() with open('LICENSE', 'r', encoding='u...
[ "xuming624@qq.com" ]
xuming624@qq.com
6a0effe99eed37ac3ee489761699b67ae14ef643
4aae2df13bfd53a8b16aa5f941f2cc8b8ac144b7
/torch/utils/data/_utils/collate.py
e520de6ebee91da435f8e8cb8bab02ebc24f851b
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
computerguy2030/pytorch-rocm-amd
e9f2718c470b505325d396baf6513e71bcf0a7ca
38da53d721fcb335dedb1b52f14fd89718e90bef
refs/heads/master
2023-04-08T00:55:01.542663
2021-04-16T11:33:39
2021-04-16T11:33:39
334,288,140
3
0
NOASSERTION
2021-04-16T11:27:55
2021-01-29T23:40:06
C++
UTF-8
Python
false
false
3,656
py
r""""Contains definitions of the methods used by the _BaseDataLoaderIter workers to collate samples fetched from dataset into Tensor(s). These **needs** to be in global scope since Py2 doesn't support serializing static methods. """ import torch import re import collections from torch._six import string_classes np_s...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b1d34706132b3d17ed479db76bad66ce56f1572b
29c58b3bec6ac0fcdb3070efc118600ee92004da
/mailslurp_client/models/domain_issues_dto.py
308f604c368d5fc913ec8fb9b4289513ad448937
[ "MIT" ]
permissive
mailslurp/mailslurp-client-python
a2b5a0545206714bd4462ae517f242852b52aaf9
5c9a7cfdd5ea8bf671928023e7263847353d92c4
refs/heads/master
2023-06-23T00:41:36.257212
2023-06-14T10:10:14
2023-06-14T10:10:14
204,662,133
8
0
null
null
null
null
UTF-8
Python
false
false
3,963
py
# coding: utf-8 """ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww...
[ "contact@mailslurp.dev" ]
contact@mailslurp.dev
5bfd5f3f684821bf71868a10ddb26ba44701fba3
4acc08d2c165b5d88119df6bb4081bcfaca684f7
/python_program/NCR_NPR_find_value.py
5610825ece1676d469f61a64ce35330106ab9c4e
[]
no_license
xiaotuzixuedaima/PythonProgramDucat
9059648f070db7304f9aaa45657c8d3df75f3cc2
90c6947e6dfa8ebb6c8758735960379a81d88ae3
refs/heads/master
2022-01-16T04:13:17.849130
2019-02-22T15:43:18
2019-02-22T15:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Python Find ncR & nPr ???? n = int(input("enter the nth term : " )) r = int(input("enter the rth term : " )) t = n - r fact = 1 while n > 0: fact = fact * n n = n - 1 n_fact = fact # print("n th term of fact value : ",n_fact) fact1 = 1 while r > 0: fact1 = fact1 * r r = r - 1 r_fact = fact1 # print("r th t...
[ "ss7838094755@gmail.com" ]
ss7838094755@gmail.com
144255196241663945336ba45beadedc72c62646
3dd43ff0dab514a39f611487ab421256b3b5b13b
/scripts/client/gui/Scaleform/daapi/view/meta/ClanSearchWindowMeta.py
e2816eaaf99fd1ffd00a31c5816c417a46e1f342
[]
no_license
kusaku/wotscripts
04ab289e3fec134e290355ecf81cf703af189f72
a89c2f825d3c7dade7bc5163a6c04e7f5bab587d
refs/heads/master
2023-08-20T00:17:36.852522
2018-02-26T14:53:44
2018-02-26T14:53:44
80,610,354
1
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/ClanSearchWindowMeta.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class ClanSearchWindowMeta(AbstractWindowView)...
[ "kirill.a@aggrostudios.com" ]
kirill.a@aggrostudios.com
e65a195d861dbd5a95fad58ad3981875fc4713b5
86335a0ba622ffc1ef9392fa45190123599c92de
/ecpy_pulses/infos.py
d37602a9eb241dc1d80c8259df0bc937201c0482
[ "BSD-3-Clause" ]
permissive
PhilipVinc/ecpy_pulses
4e75d2fc4a977ec1f80761609412b453451f967d
3ca72e5739e36ac203381ca6ed46a5b18184bd7c
refs/heads/master
2021-01-17T22:27:44.395230
2016-06-08T16:16:59
2016-06-08T16:16:59
51,396,985
1
0
null
2016-02-09T20:23:16
2016-02-09T20:23:15
Python
UTF-8
Python
false
false
3,162
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright 2015 by Ecpy Authors, see AUTHORS for more details. # # Distributed under the terms of the BSD license. # # The full license is in the file LICENCE, distributed with this software. # ---------------------...
[ "filippovicentini@gmail.com" ]
filippovicentini@gmail.com
2ccdbae7171dde011530efd66c5e27234901063d
d1aa9dc649209d2172c01f19f5121261fb5d6e9e
/Monitoring/Monitor/Monitor/Monitor_process.py
44d11a5abccb11b471d11af3a6b449ed6d0003cd
[]
no_license
Alexanderklau/Amusing_python
484e97806bc45ecbe0220f899723fa091a0f088b
9ce288eac7eeabb0e21f62936b6eb5ac2a0c934e
refs/heads/master
2021-12-27T03:33:37.535288
2021-12-20T08:00:11
2021-12-20T08:00:11
107,672,208
45
11
null
null
null
null
UTF-8
Python
false
false
1,174
py
# coding: utf-8 __author__ = 'lau.wenbo' """ 监控分为持续监控和自定义监控 持续监控会每60s统计出占比前十的进程,不停的将其打入日志 自定义监控可以自定监控的频率,监控指定进程,打印所需要的数据 例如固定进程的CPU,内存,线程占用等 """ import sys sys.path.append("..") from Check import check_cpu, check_memory, check_process, check_threading from Log import monitor_log import getopt import json import time ...
[ "429095816@qq.com" ]
429095816@qq.com
ed39fe3c9346697d2fd9e046484b54ce38a345b5
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit142.py
bcf544e34e2f6180c27c19e7ab373d5da0db3295
[ "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,447
py
# qubit number=3 # total number=12 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
d34bbc0300e2610300bf3f8097c18d4608516f1f
94bd78e63de94859eb076e52683f73f6ea91eae3
/199.py
93d67efac4b025be260275ea48441696363cd9de
[]
no_license
MadSkittles/leetcode
70598c1c861a8ff5d2f7c921a311307d55770acc
817bbb73dfe095b9c9358dc459ba6605a2a9a256
refs/heads/master
2021-11-30T04:56:02.432749
2021-11-12T03:28:47
2021-11-12T03:28:47
123,558,601
2
1
null
null
null
null
UTF-8
Python
false
false
1,026
py
class Solution: def rightSideView(self, root): if not root: return [] from queue import Queue q, m = Queue(), {} q.put((root, 0)) while not q.empty(): node, floor = q.get() m[floor] = node.val if node.left: q.pu...
[ "likanwen@icloud.com" ]
likanwen@icloud.com
03005788a36d01937289261a7e288f6883d64b8a
bd8400dae9bf43922d043c22999dcfdea08b3797
/5 Matplotlib/51.scatter_plot.py
7feeea8712ca3fe366dd650f48d5411a11831a7a
[]
no_license
srikeshnagoji/Python_Fundamental_DataScience
dfc3bd5003a3bc357f8b08f0084cb5b2fc766bda
3982cce2b69bed7128aeb7ce8adbd22f71890fcf
refs/heads/master
2020-07-04T20:12:38.779942
2019-08-14T04:36:53
2019-08-14T04:36:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5, 6, 7, 8, 9] y = [5, 3, 6, 1, 7, 9, 3, 3, 2] plt.scatter(x, y, label='Tes', color='k', marker='*', s=200) # plt.plot(x,y,'*') # marker = '*' 'x' 'o' baca docs plt.title('Tes Plotting Data\nby Lintang Wisesa') plt.xlabel('Nilai x') plt.ylabel('Nilai y') # plt.legend...
[ "lintangwisesa@ymail.com" ]
lintangwisesa@ymail.com
b7ef1fb30f414e36f09eb45f57a68beaea974a31
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/keto/python/test/test_remove_ory_access_control_policy_role_members.py
6b90ab385d91bf24e7c7509df87b9ae9bddd4327
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
1,208
py
# coding: utf-8 """ ORY Keto A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.0.0-alpha.1 Contact: hi@ory.sh Generated by: https://openapi-generator...
[ "noreply@github.com" ]
simoneromano96.noreply@github.com
0b17e6a5303ffe9a2c6a6cdd3cb22ae5d6303f11
8ffcf5ce3f3861300f5ca6ba355600c1c65a9ede
/release/scripts/mgear/shifter_classic_components/chain_FK_spline_02/guide.py
ad2ead23257d2a7401ca5a26401e2542bc140b80
[ "MIT" ]
permissive
mottosso/mgear4
a5db6d712e07fcec607aa877576e7beee6b8b45e
e84362aa86e2049cf160dc516e023070e3071e53
refs/heads/master
2023-05-23T20:47:46.761469
2021-06-09T00:13:39
2021-06-09T00:13:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,973
py
"""Guide chain FK spline 01 module""" from functools import partial from mgear.shifter.component import guide from mgear.core import pyqt from mgear.vendor.Qt import QtWidgets, QtCore from maya.app.general.mayaMixin import MayaQWidgetDockableMixin from maya.app.general.mayaMixin import MayaQDockWidget from . import...
[ "miquel.campos@gmail.com" ]
miquel.campos@gmail.com
f1d583cd5a8a3a870e8664adc5fb87da3b4769f1
24cf6992d9c9b8523a0a7d3a7a45e701cd49fce3
/djangotest/base/migrations/0017_auto_20200901_1402.py
da6b531e64b9f8dfb91ac1b8f9d08a3dd8c75441
[]
no_license
yannickkiki/stuffs
f4e150a61eb0426791753f5da558dba09940d240
d46e1ec56eb4f0f3486e72ffce5c7bba7f2a1796
refs/heads/master
2023-08-10T20:05:38.255427
2021-10-04T05:38:39
2021-10-04T05:38:39
353,716,213
2
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
# Generated by Django 2.2.11 on 2020-09-01 14:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0016_auto_20200901_1233'), ] operations = [ migrations.RemoveField( model_name='foxxdi...
[ "seyive.kiki@gmail.com" ]
seyive.kiki@gmail.com
5dea6c310618ced92764a30c813fc80187d1ff6d
aee144770c8f4ec5987777aebe5b064e558fc474
/doc/integrations/pytorch/projects/wizard_of_wikipedia/wizard_transformer_ranker/wizard_dict.py
3765563494288bbf158bfd857c651ffd0d48e010
[ "CC-BY-SA-3.0", "Apache-2.0", "AGPL-3.0-only", "MIT" ]
permissive
adgang/cortx
1d8e6314643baae0e6ee93d4136013840ead9f3b
a73e1476833fa3b281124d2cb9231ee0ca89278d
refs/heads/main
2023-04-22T04:54:43.836690
2021-05-11T00:39:34
2021-05-11T00:39:34
361,394,462
1
0
Apache-2.0
2021-04-25T10:12:59
2021-04-25T10:12:59
null
UTF-8
Python
false
false
3,299
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.build_data import modelzoo_path from parlai.core.dict import DictionaryAgent from collections i...
[ "noreply@github.com" ]
adgang.noreply@github.com
990659f28fe89f9d10375d9edc85a48e910e91f4
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/client/models/v1beta2_scale_status.py
af1d075c65c7c657052a68400f1a3e347c20cab5
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
6,119
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "andy@rstudio.com" ]
andy@rstudio.com
ff25fb6064326423077dde69fc7e8673e9a34bff
1c2428489013d96ee21bcf434868358312f9d2af
/ultracart/models/conversation_twilio_account.py
a649021e1f36c58540847bbbd1732a8064137324
[ "Apache-2.0" ]
permissive
UltraCart/rest_api_v2_sdk_python
7821a0f6e0e19317ee03c4926bec05972900c534
8529c0bceffa2070e04d467fcb2b0096a92e8be4
refs/heads/master
2023-09-01T00:09:31.332925
2023-08-31T12:52:10
2023-08-31T12:52:10
67,047,356
2
0
null
null
null
null
UTF-8
Python
false
false
4,199
py
# coding: utf-8 """ UltraCart Rest API V2 UltraCart REST API Version 2 # noqa: E501 OpenAPI spec version: 2.0.0 Contact: support@ultracart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class ConversationTwilioAccoun...
[ "perry@ultracart.com" ]
perry@ultracart.com
10639ce27fe471d8d20685065f3271f45c21380c
4eac217f1a9c175ee370d83446c6ae763c69a26f
/Level 1/Task3.py
2cbc0809746a1495e4be9f85b91b33bc3ff7de91
[]
no_license
abhinavsharma629/Data-Structures-And-Algorithms-Udacity-Nanodegree
411a74f042a671c6e7d3123bc63716d2d3748cc6
6e7645a9afb6065d12524a94734aeda022438f10
refs/heads/master
2022-11-06T00:49:11.863218
2020-06-20T11:52:42
2020-06-20T11:52:42
273,698,082
0
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) def checkCaller(phone_no): if(len(phone_no.split("("))>0): return True def checkCaller(phone_no): if(phone_no[0]=="("): r...
[ "abhinavsharma629@gmail.com" ]
abhinavsharma629@gmail.com
f352d8ce22dd736ee5f0204bbde9717188e6d87c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_groped.py
9e6f4052a029097be877a2408813e55edef8a879
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from xai.brain.wordbase.nouns._grope import _GROPE #calss header class _GROPED(_GROPE, ): def __init__(self,): _GROPE.__init__(self) self.name = "GROPED" self.specie = 'nouns' self.basic = "grope" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c326f428fae13c4af9cb46ab323d1a372aa587a4
b8a9b1204627c7d6b4123f4dba54631251e27f49
/accounts/migrations/0006_auto_20210313_1624.py
b672084659b2994715f8cc3ffbc278a53f407904
[]
no_license
ianmanalo1026/Coffee-Shop
53aee5b4ff26294ead1808006c7d9ec258aca8d9
f61a94ee416aed436d236c7243625417c7214479
refs/heads/master
2023-03-16T12:24:02.354223
2021-03-16T14:10:23
2021-03-16T14:10:23
347,078,397
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# Generated by Django 3.1.4 on 2021-03-13 08:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20210313_1606'), ] operations = [ migrations.RenameField( model_name='profile', old_name='first_name',...
[ "ian.manalo1026@gmail.com" ]
ian.manalo1026@gmail.com
80410beb2f4850b79e647b255bfd7626e96e2884
d3fa61d28cdc0c515ebd4f610122a9141cf69471
/gui/demoDlg-21.py
e155e49b73365362dea088ee8e5824694470688d
[]
no_license
iorilan/python-samples
0bd2d66461bc5580de607c5e9984f713bc506c56
1db836d90731763e30a109c28948734727194232
refs/heads/master
2022-04-05T03:06:18.830332
2020-02-23T16:49:06
2020-02-23T16:49:06
213,014,416
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
from tkinter import * # get base widget set from dialogTable import demos # button callback handlers from quitter import Quitter # attach a quit object to me class Demo(Frame): def __init__(self, parent=None): Frame.__init__(self, parent) self.pack() Label(self, text="Basic demos").pack() ...
[ "iorilan@hotmail.com" ]
iorilan@hotmail.com
f432c581c95ce2dab16294b0388c1934ff86ade5
9abd182d02355ddf0b79afd4a35f7127a4a66f7a
/tests/auto/test_auto_tasks.py
31cf99827d6d2993bc4ec767aa5e9f469a8fa5ce
[ "Apache-2.0" ]
permissive
dmlc/gluon-cv
e1303086419a5733661d0fcb9095c09d4f2382ad
567775619f3b97d47e7c360748912a4fd883ff52
refs/heads/master
2023-07-19T12:02:36.824294
2023-01-19T00:37:33
2023-01-19T00:37:33
122,896,249
6,064
1,458
Apache-2.0
2023-01-19T00:37:35
2018-02-26T01:33:21
Python
UTF-8
Python
false
false
3,054
py
from gluoncv.auto.tasks import ImageClassification from gluoncv.auto.tasks import ObjectDetection import autogluon.core as ag import time from nose.tools import nottest IMAGE_CLASS_DATASET, _, IMAGE_CLASS_TEST = ImageClassification.Dataset.from_folders( 'https://autogluon.s3.amazonaws.com/datasets/shopee-iet.zip')...
[ "noreply@github.com" ]
dmlc.noreply@github.com
8b283162d9edbf8dca0e7c46dc70bd9b59e8967e
153fb205395605f631e92950fc86ba205bd85665
/wagtail/wagtailcore/blocks/__init__.py
1b7a1740cfd2dc54b81002c49016129a51f88256
[ "BSD-3-Clause" ]
permissive
YoungSphere/Wagtail_Young
8e385ab37263acf4b609bb6aa1f75d3e9035eee0
536b137446ef5bff464cbe8a82175ba099d4a15a
refs/heads/master
2020-04-23T07:10:45.479469
2019-02-16T14:09:24
2019-02-16T14:09:24
170,998,679
0
0
BSD-3-Clause
2019-02-16T14:05:12
2019-02-16T11:55:39
Python
UTF-8
Python
false
false
334
py
from __future__ import absolute_import # Import block types defined in submodules into the wagtail.wagtailcore.blocks namespace from .base import * # NOQA from .field_block import * # NOQA from .struct_block import * # NOQA from .list_block import * # NOQA from .stream_block import * # NOQA from .static_block imp...
[ "nikhil684@gmail.com" ]
nikhil684@gmail.com
56d15c6806ad5e594f7fc3174603378618fc75f9
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/arc/arc086/D/answers/859172_ahho.py
9dd224c8cbab6c1535202a94895bc8989a7d1f82
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
N = int(input()) A = list(map(int,input().split())) # max absolute value _,mi = max((abs(v),i) for i,v in enumerate(A)) mi += 1 print(2*N-2) for i in range(1,N+1): if i != mi: print(mi,i) if A[mi-1] > 0: for i in range(1,N): print(i,i+1) else: for i in reversed(range(1,N)): print(i+1,i)
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
7a88d194dc4f6647d5d15e898799151518385985
f131222013fd1c23bf23a9af44dbaf2cd2dfbe72
/python 好用库/lib/dundeemt-pysftp-ad3aefc8ec42/dundeemt-pysftp-ad3aefc8ec42/tests/test_walktree.py
467b7fe50b5df8c3aaf901fec09749cb730bcb4a
[]
no_license
shortdistance/workdir
e0bdadcb9d6b5e61e62434d574afad36afa60ba9
7c4a23fdbb8ae14b67aeda47ce53be1bd24ae2d1
refs/heads/master
2021-01-19T23:21:40.885964
2017-04-21T12:55:45
2017-04-21T12:55:45
88,968,923
0
1
null
null
null
null
UTF-8
Python
false
false
4,680
py
'''test pysftp.Connection.walktree and pysftp.walktree - uses py.test''' from __future__ import print_function # pylint: disable = W0142 from common import * from mock import Mock, call def test_walktree_cbclass(): '''test the walktree function with callbacks from a class''' with pysftp.Connection(**SFTP_PUB...
[ "zhanglei520vip@163.com" ]
zhanglei520vip@163.com
8e53fc2821f50c18518010717b0e82b25950cac2
89155ebee895cbd04e4eb7a9d079a820d90ffd7e
/viewset_modelviewset_application/viewset_modelviewset_application/settings.py
9861cd4ac9f55a125dc627f00b6bae60651a2efc
[]
no_license
mahmudgithub/Rest-api-playground
822c0671b534fc057461703711ef980d9d31ce56
a452a329d60c9104afdeadde13f7493741e4914a
refs/heads/master
2023-03-31T17:23:13.605754
2021-04-11T14:10:31
2021-04-11T14:10:31
331,842,045
1
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
import os from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURITY WARNING: keep the ...
[ "mahmudhossain838@gmail.com" ]
mahmudhossain838@gmail.com
adb170a554dd4d70c7c27dcdfa73e45fe7a48dd5
63304bd3fd27aca73e949579a732e183ba0c88af
/httprunner/client.py
fb3161acdfbff488d6136512fa89db89b25b4442
[ "MIT" ]
permissive
janice1027/HttpRunner
330de17485654041cf2c07022c8860364d742362
7fa1057f1675dc73640bb90c4a22e8811153226a
refs/heads/master
2021-04-27T11:50:58.682691
2018-02-22T10:53:24
2018-02-22T10:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,481
py
import json import re import time import requests import urllib3 from httprunner import logger from httprunner.exception import ParamsError from requests import Request, Response from requests.exceptions import (InvalidSchema, InvalidURL, MissingSchema, RequestException) urllib3.disab...
[ "httprunner" ]
httprunner
b8fc676b24f897ed85ac06ddd8a5dcf79961772a
bc441bb06b8948288f110af63feda4e798f30225
/api_gateway_sdk/model/easy_flow/deploy_batch_pb2.py
d10e3afba86214003b6501929a438872c85b6ba4
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
5,564
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: deploy_batch.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
[ "service@easyops.cn" ]
service@easyops.cn
5ad76af557aa31011c1d9fd48b790dd553e175b8
02d1d89ed3c2a71a4f5a36f3a19f0683a0ae37e5
/navigation/terrain_id/terrain_training/build/milk/milk/tests/test_perceptron.py
6069de0370dbe07b08d521102bee703edf4c253c
[ "MIT" ]
permissive
lforet/robomow
49dbb0a1c873f75e11228e24878b1e977073118b
eca69d000dc77681a30734b073b2383c97ccc02e
refs/heads/master
2016-09-06T10:12:14.528565
2015-05-19T16:20:24
2015-05-19T16:20:24
820,388
11
6
null
null
null
null
UTF-8
Python
false
false
728
py
import numpy as np from milk.supervised.perceptron import perceptron_learner from milk.supervised import _perceptron from milksets.yeast import load def test_raw(): np.random.seed(23) data = np.random.random((100,10)) data[50:] += .5 labels = np.repeat((0,1), 50) weights = np.zeros((11)) eta = ...
[ "laird@isotope11.com" ]
laird@isotope11.com
e82043fb547aed02d1c9a63e9a349ebb3ecee747
9163d7b7f9301b4a334ced0a91e28348fdaa8882
/other_function/generate_image_without_rule.py
d3223d3c6cfcb34fd6acd170520b6a7976211050
[ "Apache-2.0" ]
permissive
frankiegu/generate_click_captcha
2c9c551bec69d5c40e6a1354ec6f7dbef18e6447
7fdb2cafe4c2b5d0245b9b8c4fc9a8b8dee5f3a9
refs/heads/master
2021-03-03T14:56:30.486088
2019-01-03T16:03:00
2019-01-03T16:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/usr/bin/python # -*- coding: UTF-8 -*- from PIL import Image import random img = Image.new("RGB", (640, 480), (0, 255, 0)) w, h = img.size for i in range(h): for j in range(w): a = random.randint(10, 230) b = random.randint(10, 230) c = random.randint(10, 230) img.putpixel((j, ...
[ "nickliqian@outlook.com" ]
nickliqian@outlook.com
d3296ed2a784f2ba7881764db316ee68412339b7
60aac823e576a1c415bc25901e113ad0f52fbd9a
/abc204/b.py
a639b661cf948d6b00950b036601a1220c600983
[]
no_license
nishiwakki/atCoder
d4209e717529ab606d0e6fceb0ce170d228b1532
fc5a6b667aa8c11c368fc712c5633da5ebf6bdf2
refs/heads/main
2023-06-23T08:08:12.072211
2021-07-24T14:01:52
2021-07-24T14:01:52
309,862,702
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# -*- coding: UTF-8 -*- N = int(input()) A = list(map(int, input().split())) ans = 0 for a in A: if a > 10: ans += a-10 print(ans)
[ "glotply@gmail.com" ]
glotply@gmail.com
54da71a35a2983c730ede3d625d2a5f53256bc8f
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/125_GetSpotlightNewPics/GetSpotlightNewPics.py
4940becf12590fdad010000d2471096aef24c6a1
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
# GetSpotlightNewPics # Retrieves new Spotlight (microsoft wallpapers) pictures # # 2023-03-25 PV # 2023-04-12 PV Logfile # 2023-07-19 PV Added missing import import datetime import shutil import os from common_fs import get_files, extension_part source = r'C:\Users\Pierr\AppData\Local\Packages\Mic...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
a340f7261fc62eeabc63f2815bac12c4125010b6
3b2940c38412e5216527e35093396470060cca2f
/top/api/rest/FuwuScoresGetRequest.py
74b17bad19a9821410b0b86c51d54b0c0426e9c7
[]
no_license
akingthink/goods
842eb09daddc2611868b01ebd6e330e5dd7d50be
ffdb5868a8df5c2935fc6142edcdf4c661c84dca
refs/heads/master
2021-01-10T14:22:54.061570
2016-03-04T09:48:24
2016-03-04T09:48:24
45,093,302
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
''' Created by auto_sdk on 2015-01-20 12:44:31 ''' from top.api.base import RestApi class FuwuScoresGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.current_page = None self.date = None self.page_size = None def getapiname(self): ...
[ "yangwenjin@T4F-MBP-17.local" ]
yangwenjin@T4F-MBP-17.local
997ca3426e4c754a39df1f9a351c36b3da37e50a
64bdedbe9ede8c21f8daef2234faf248e8bcad2f
/flask_app/flask_blog/main/routes.py
5940ba8d9dd8fefe1821b71dae8384a32317b247
[ "MIT" ]
permissive
Ziang-Lu/Flask-Blog
c02b5f6501af2d7f55350e337b5eed6a7f3d528b
aa0aa4d019de47e122cded8d4ff637d1b6edc410
refs/heads/master
2023-08-05T00:59:35.440152
2023-07-15T07:08:54
2023-07-15T07:08:54
203,568,155
1
0
MIT
2023-07-25T17:50:37
2019-08-21T11:15:05
Python
UTF-8
Python
false
false
2,022
py
# -*- coding: utf-8 -*- """ Flask main-related routes module. """ from datetime import datetime import requests from flask import Blueprint, flash, redirect, render_template, request, url_for from flask_login import current_user from ..utils import POST_SERVICE, get_iter_pages # Create a main-related blueprint mai...
[ "ziangl@alumni.cmu.edu" ]
ziangl@alumni.cmu.edu
d34a9292cb308aac1c26003f0a06be2a49244505
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02953/s447346234.py
650a3b88da697c512c29fd85204e7c24463e8dae
[]
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
236
py
N=int(input()) H=list(map(int,input().split())) if N>1: for i in range(N-1): if H[i]<=H[i+1]-1: H[i+1]-=1 if H[i]>H[i+1]: print('No') exit() print('Yes') else: print('Yes')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
43c481740de68c095956f67ca9dab167d5cca6b9
2cf560477807e9f3e869474defda47f2638347b4
/glitter_news/urls.py
35d0dcf2342ae5c739e2fabf9d84b2241c1e3c0d
[]
no_license
axsapronov/django-glitter-news
37035d45fd1edbf619659b9451184500ab2fce33
000d548bafa8c777a3721611ba4620173713b87d
refs/heads/master
2021-06-06T10:06:39.859177
2016-04-13T11:50:18
2016-04-13T11:50:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# -*- coding: utf-8 -*- from django.conf.urls import url from . import views, feeds urlpatterns = [ url( r'^$', views.PostListView.as_view(), name='list' ), url( r'^category/(?P<slug>[-\w]+)/$', views.PostListCategoryView.as_view(), name='post-list-categor...
[ "ikonitas@gmail.com" ]
ikonitas@gmail.com
7c3dfc04897f0d4d50c778ed9925e8a9a3c4fdb4
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/R2/benchmark/startCirq84.py
a797a7c4d5d7e49cf7b5aedb3b512c541b22a87e
[ "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,711
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=2 # total number=9 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
f8bf83673f352023ed8c7419fc205c8eee6cfc42
e9f096e564afc9f0cfabaeaac67c2ff2b1c46d24
/pymysql01/update.py
db767436d4285c1e11b745dfe591e848422f87e9
[]
no_license
zh199609/pythonLearning
dcb4bfb4560fab0ac66a88934af278489abff38d
430c70f1892966cf8f6b01e30e3a7996e83cc7ff
refs/heads/master
2021-11-21T12:49:21.522780
2021-08-31T13:14:55
2021-08-31T13:14:55
238,373,672
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# 创建连接 import pymysql conn = pymysql.connect(host="localhost", user='root', password='root', database='books', autocommit=True) # 获取游标 cursor = conn.cursor() # 执行sql sql = "update t_book set title = '西游记修改01' where id = 4" cursor.execute(sql) print("影响的记录数:", cursor.rowcount) # 关闭游标 cursor.close() # 关闭连接 conn.close() ...
[ "1120123073@qq.com" ]
1120123073@qq.com
b8f99ce6a6829a95a5e4779296dbd76a1d416365
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/address_info.py
5ab5c287376294e8571e0f93ba2a0651682fba42
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,832
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class AddressInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f3e7038704cb777b458dce69e5130f105f8dd4d7
6ecff67d6103ddbd787f78c35182722b83b8a37e
/백준/Python/카테고리/DFS/11724(연결 요소의 개수).py
7a4091ce202ede0784f000483c362a969b976680
[]
no_license
jsungmin6/Algorithm
9ef2339aa00921e7df756a8dff569954a008c118
bc1ea9de9f7ba3f1aa6616ebef8719540d72e0bf
refs/heads/master
2023-05-27T06:24:16.123307
2021-06-11T09:22:21
2021-06-11T09:22:21
259,299,624
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
''' visited 와 graph를 만들어 구하는게 아닐까 ''' from collections import deque import sys input = sys.stdin.readline N,M = map(int,input().split()) visited = [0]*(N+1) graph = [[] for i in range(N+1)] def dfs(i): visited[i] = 1 need_visit=deque(graph[i]) while need_visit: node = need_visit.popleft() ...
[ "jsungmin506@gmail.com" ]
jsungmin506@gmail.com
26b2fcf42fe20f5c02c69785b561a485bae9c91f
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/PhysicsAnalysis/D3PDMaker/QcdD3PDMaker/python/JSTrackJets.py
f04421edf54f821f6b1056046460cf90fb8a50b8
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
5,137
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration ############################################################### # # JetTrackZClusterTool jobOptions file # # PhysicsAnalysis/JetEtMissDPDModifier/share/JetTrackZClusterTool_jobOptions.py # # https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAn...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
16173f46fa2faecd70a0cdf9cbd51a926f590924
17268419060d62dabb6e9b9ca70742f0a5ba1494
/pp/types.py
4dd35737400a72f4e304189cf8101cc22720358d
[ "MIT" ]
permissive
TrendingTechnology/gdsfactory
a19124423b12cbbb4f35b61f33303e9a012f82e5
c968558dba1bae7a0421bdf49dc192068147b776
refs/heads/master
2023-02-22T03:05:16.412440
2021-01-24T03:38:00
2021-01-24T03:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
"""Common data types.""" from typing import Callable, Dict, Tuple, Union from pp.component import Component Layer = Tuple[int, int] ComponentOrFunction = Union[Callable, Component] NameToFunctionDict = Dict[str, Callable] Number = Union[float, int] def get_name_to_function_dict(*functions) -> Dict[str, Callable]: ...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
c5f27f2348c5d7b812eaf52d13e8b3cb56d2b862
fcc7dd9d9c7f22808f907759cec6a339c5a1421c
/my_workstation/my-v2/core.PrePostInitMeta.py
3edabd35eb190368ee17c81725ad1b667c000f50
[]
no_license
EmbraceLife/fastai_treasures
3ae792771af3510848c7bb19003b04cff8001e1e
4230be915e70a7e5a22f2f7e5137cca7045754fd
refs/heads/master
2022-10-30T07:46:46.397037
2020-09-09T04:09:14
2020-09-09T04:09:14
173,718,178
21
6
null
2022-10-06T05:32:28
2019-03-04T09:52:12
Jupyter Notebook
UTF-8
Python
false
false
2,111
py
from local.test import * from local.imports import * from local.notebook.showdoc import show_doc from local.core import * # check the official source show_doc(PrePostInitMeta, title_level=3) class PrePostInitMeta(type): """ "A metaclass that calls optional `__pre_init__` and `__post_init__` methods" Why ...
[ "1227561934@qq.com" ]
1227561934@qq.com
0ead5a6450132dc13eb9ea466a731aed48251aa1
0880faa6ef7f30da63a74739203b0f9d7d4fe10e
/wesbanco/items.py
b03a2b1076a10cef81ffb6f9dcaca01f7f808313
[]
no_license
wesleybowen/wesbanco
11c930d9facd5f2ee64b31316192796635529eb9
75e29924f2b57cd4b8da84a04e74fe10a5547942
refs/heads/main
2023-03-26T14:01:32.826370
2021-03-25T08:56:09
2021-03-25T08:56:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
import scrapy class WesbancoItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
8be82b1ecb01d00e2c59861f5272e0287388f6c9
eebe1e43538bcc11a0558b58f2e6a6d22abc6a4a
/DGesQuad/manage.py
bc8d80251e82e44eba5bd6aa3df20298527c7f17
[]
no_license
zurcx/GesQuad
9718843be1e24e5a11572ad90a7a0da1065f15f6
e1b5413ecfb740fd92e2dac8858b9e86fbb6efad
refs/heads/master
2021-01-10T20:11:22.635706
2013-04-25T16:02:02
2013-04-25T16:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DGesQuad.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "luizfabiodacruz@gmail.com" ]
luizfabiodacruz@gmail.com
595539f9f15b03ff08b9a21351d7fb2c6c6668e1
405d5ab969287f184ea589e73d61cc3be1c5d12b
/kinparse/kinparse.py
4ebc18408467834295ad57576d63765bbbb410ce
[ "MIT" ]
permissive
CBJamo/kinparse
a847c594f1bbed015797bb31ea8c15cc339f9d85
3f4e8e9d881290cbac8e7b71886b0ed6cab0cd9b
refs/heads/master
2020-03-09T06:32:02.646762
2018-04-08T13:02:52
2018-04-08T13:02:52
128,641,751
0
0
null
2018-04-08T13:01:53
2018-04-08T13:01:53
null
UTF-8
Python
false
false
7,150
py
# MIT license # # Copyright (C) 2016 by XESS Corporation. # # 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, modi...
[ "devb@xess.com" ]
devb@xess.com
695b7501286789e70267ff4ce0dcf1ccb349a120
6a63a3b241e161d1e69f1521077617ad86f31eab
/release/rllib_tests/multi_gpu_learning_tests/run.py
7835956daf7972e9fe0bad297fab58c3f0d175a8
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
jovany-wang/ray
47a9df67e8ea26337517d625df50eb0b8b892135
227aef381a605cb1ebccbba4e84b840634196a35
refs/heads/master
2023-09-03T23:53:00.050619
2022-08-20T21:50:52
2022-08-20T21:50:52
240,190,407
1
1
Apache-2.0
2023-03-04T08:57:04
2020-02-13T06:13:19
Python
UTF-8
Python
false
false
818
py
"""Multi-GPU learning tests for RLlib (torch and tf). """ import json import os from pathlib import Path from ray.rllib.utils.test_utils import run_learning_tests_from_yaml if __name__ == "__main__": # Get path of this very script to look for yaml files. abs_yaml_path = Path(__file__).parent print("abs_y...
[ "noreply@github.com" ]
jovany-wang.noreply@github.com
7edca1e18a6672b3567128648ab71cf7a75a0200
e6d55aa3c68644bdfe37a9472931c01950e27609
/ceggelab/ce/models.py
4fef63b2b397da38f1d012d9759b53a3e5d2848a
[]
no_license
KamonratNg/cegge
2c5597554f183479d4f18a10d9e4132a299ea591
64e3b3012ea96f2fd1c25f1581e83a9c193f7092
refs/heads/master
2023-01-06T18:23:46.668810
2020-11-11T17:56:54
2020-11-11T17:56:54
309,621,257
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from django.db import models # Create your models here. class Studentrecord(models.Model): student_name_en = models.CharField(max_length=200) student_name_th = models.CharField(max_length=200) student_ID = models.IntegerField(default=0) type = (('M','Master programs'), ('D','Doctoral programs')...
[ "you@example.com" ]
you@example.com
9f5a25ac8aac1ab659663cbe98f1f78fec020788
b3e42025194b81680086d097fed9aa6c84bfce9a
/apps/vendors/locations_urls.py
98387686246dcb4232cee0b5d2523610b972344e
[ "MIT" ]
permissive
superdev999/ProvenBanking
95c65698d9f3a552d04edfd4fd9d4469fb43a47f
2153e9d737e2b235e502c848986ca35b6f310b8d
refs/heads/master
2021-01-12T05:17:31.864890
2017-08-17T00:11:59
2017-08-17T00:11:59
77,897,989
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.conf.urls import patterns, include, url from med_social.decorators import member_required from vendors.views import (CreateVendorLocation, EditVendorLocation, DeleteVendorLocation, VendorLocationList) # namespace = locations urlpatterns = patterns('', url(r'^(?P<pk>\d+)/create/$', member_requir...
[ "wanghaoming820@outlook.com" ]
wanghaoming820@outlook.com
088511264beb5b545d0e43bf09441aa35f1c34e7
f845225329fa9750c838bf511fed3beb48cc86af
/listings/migrations/0001_initial.py
9ea3d0e0a6433a346296dafd185e3909e32ea71a
[]
no_license
Fabricourt/btre_project-
ac8c2b84cc8b7f4f5368a204dc23b378d488b356
13defd495ba309ac31550d22ad7d6306638f91eb
refs/heads/master
2020-04-15T11:03:05.980170
2019-01-08T11:16:56
2019-01-08T11:16:56
164,611,152
0
0
null
null
null
null
UTF-8
Python
false
false
2,168
py
# Generated by Django 2.1.4 on 2018-12-23 13:47 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('realtors', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "mfalme2030@gmail.com" ]
mfalme2030@gmail.com
4dd1a54ae37966be0ac487524f3fed672f577f6a
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201023164513.py
720eace3df9f2dc075a573f46a06fa46c97fa7f1
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
01a3a428407e02aaf5a3e666649d68eaa1e1e1b1
8a4f0d4aad4a901bd08fd5eb92b2a31fb1bac167
/dizoo/smac/config/smac_MMM_coma_config.py
b99dd285cf57a67513b658576e9a62336a1d8eaa
[ "Apache-2.0" ]
permissive
lichuminglcm/DI-engine
3977eed854dc634f8796764e0a7e0b71b615747f
e9052f195d231a9875afb053ba815c6341857571
refs/heads/main
2023-08-21T05:09:49.931351
2021-10-11T12:32:36
2021-10-11T12:32:36
415,903,070
0
0
Apache-2.0
2021-10-11T12:32:37
2021-10-11T11:48:26
Python
UTF-8
Python
false
false
2,855
py
import sys from copy import deepcopy from ding.entry import serial_pipeline from easydict import EasyDict agent_num = 10 collector_env_num = 16 evaluator_env_num = 8 main_config = dict( env=dict( map_name='MMM', difficulty=7, reward_only_positive=True, mirror_opponent=False, ...
[ "niuyazhe@sensetime.com" ]
niuyazhe@sensetime.com
00f80ba31ddfb7053bb5c584ada8ce11612618d3
1baf76e19a719ebb2207f2af2924fc53349d6a60
/internship3_env/bin/black
7ae627598807eb9072010262c912bdf4e16afbd3
[ "MIT" ]
permissive
Zamy97/internship_3
4deb0df914e68930b23faa6bf7e0ca7fd342fbd8
9c9db252b6818316e9864839075bb1d23714f7e4
refs/heads/master
2023-01-01T15:33:45.980776
2020-10-28T02:47:34
2020-10-28T02:47:34
307,861,296
0
0
null
null
null
null
UTF-8
Python
false
false
338
#!/Users/zamy/Desktop/Python_Projects/excl_intrnship_projects/excl_internship_0/internship_3/internship_3/internship3_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from black import patched_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exi...
[ "aktarzaman@berkeley.edu" ]
aktarzaman@berkeley.edu
e92f37657c6db9b8535a58da0709431147348625
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/parcats/line/colorbar/_lenmode.py
bcb4aa6f6f7b818eda6ecb5c198c420b34567bf3
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
568
py
import _plotly_utils.basevalidators class LenmodeValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name='lenmode', parent_name='parcats.line.colorbar', **kwargs ): super(LenmodeValidator, self).__init__( plotly_name=plo...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
b124bf0ba59ebf9333a3780b526609d07c55a3e6
ac1938e7513d8e58f2228962b10caa1044a3d8ff
/python-fundamentals/39-find_the_duplicate/solution.py
eb8b89c18dca0a01d877565a4f8a2dce20c66afe
[]
no_license
annikaslund/python_practice
fb211cfec725573a3e9f5f358c869e1edd8608a3
a6a1586ebbb1883afc8d7920848167955fa258a0
refs/heads/master
2020-04-22T07:33:32.389883
2019-02-14T16:53:53
2019-02-14T16:53:53
170,220,379
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def find_the_duplicate(nums): """Find duplicate number in nums.""" seen = set() for num in nums: if num in seen: return num seen.add(num)
[ "joel@joelburton.com" ]
joel@joelburton.com
659c8d2a968faea0223a4e997f381d01e84cd5bb
49edd8549054f63a73c846d0bdf48930703b9aed
/app/core/tests/test_commands.py
62b7167bf5c90ce7dbf86dd6f42b6fa7e37f8d6e
[]
no_license
AlekseiChirkov/recipe-app-api
370ccc8239197d700407449e892abd0a804e1504
e5d1a0561951b46e0766c96e28f5f4ad707a9bc9
refs/heads/main
2023-08-23T10:14:50.337020
2021-10-04T07:02:19
2021-10-04T07:02:19
381,278,748
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
from unittest.mock import patch from django.core.management import call_command from django.db.utils import OperationalError from django.test import TestCase class CommandTests(TestCase): def test_wait_for_db_ready(self): """ Test wating for db when db is available :return: """ ...
[ "tektonikboy98@gmail.com" ]
tektonikboy98@gmail.com
54431f70529ad477776902aaf6afb9bed0e1f2d0
7ae20e08e736e6df546cb5a80df2baf067686b52
/tasks/sprint-3/Финал B - Effective Quick Sort/effective_quick_sort_test.py
4938fba3eee95666adf5ae8f300c6c7e8bbbcacb
[]
no_license
Grey2k/yandex.praktikum-alghoritms
faf466374c932733cc1c5049a2df719d8fd33ac7
97b1b4858265b44266a33b834e1e9a1349739048
refs/heads/master
2023-08-28T02:46:16.502298
2021-09-28T19:08:35
2021-09-28T19:08:35
334,646,281
10
1
null
null
null
null
UTF-8
Python
false
false
7,881
py
import unittest import io from unittest.mock import patch from effective_quick_sort import main class EffectiveQuickSortTest(unittest.TestCase): @patch('sys.stdin', io.StringIO("\n".join([ '5', 'alla 4 100', 'gena 6 1000', 'gosha 2 90', 'rita 2 90', 'timofey 4 80',...
[ "grey2k@gmail.com" ]
grey2k@gmail.com
3f5d882eb5c278177e7ea02ad9b0bae7cf3d56a7
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/chrome/common/extensions/docs/server2/features_bundle_test.py
50767975bc1ae25f4024e0185a990181d1544b71
[ "BSD-3-Clause", "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
7,104
py
#!/usr/bin/env python # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import unittest from extensions_paths import EXTENSIONS from server_instance import ServerInstance from test_file_system i...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
279e0d1e2d470454199c547c791cb5ef62e33742
18305efd1edeb68db69880e03411df37fc83b58b
/pdb_files3000rot/yw/1ywr/tractability_450/pymol_results_file.py
ebb72d9d9960837c67a5b78068b76528df0d8d86
[]
no_license
Cradoux/hotspot_pipline
22e604974c8e38c9ffa979092267a77c6e1dc458
88f7fab8611ebf67334474c6e9ea8fc5e52d27da
refs/heads/master
2021-11-03T16:21:12.837229
2019-03-28T08:31:39
2019-03-28T08:31:39
170,106,739
0
0
null
null
null
null
UTF-8
Python
false
false
6,618
py
from os.path import join import tempfile import zipfile from pymol import cmd, finish_launching from pymol.cgo import * finish_launching() dirpath = None def cgo_arrow(atom1='pk1', atom2='pk2', radius=0.07, gap=0.0, hlength=-1, hradius=-1, color='blue red', name=''): from chempy import cpv radius, gap =...
[ "cradoux.cr@gmail.com" ]
cradoux.cr@gmail.com
e829b3c4b85543d0c217195b930a908a47eb42ec
386d1b6557f4cbaf20794cd222f3b7b8598ef6a6
/data/clean_data/A1/81.py
8adc1c38d7e03dff806e025dd070c4524f27725c
[]
no_license
woowei0102/code2pro
3baf86985f911264362963c503f12d20bdc1f89f
0b16c62a1cb9053ab59edd7a52e1b3b39fdf66dc
refs/heads/main
2023-06-28T23:09:23.998798
2021-07-13T11:49:27
2021-07-13T11:49:27
385,585,282
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
class Account: def __init__(self, name): self.name = name self.balance = 0 def deposit(self, amount): self.balance += amount print('{}存了NT$'.format(self.name) + str(amount) + '元') def withdraw(self, amount): if self.balance >= amount: self...
[ "54971984+woowei0102@users.noreply.github.com" ]
54971984+woowei0102@users.noreply.github.com
d1c982f88855f761cac1e63ac2a25c7026cee10c
9daf1ecdfc69a1a97998465fae2102f0f2845eb0
/deepbond/models/rcnn_crf.py
3118eefd7a1f3809a359955b8e9450ee478a342e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mtreviso/deepbond
f3d23de8955f8ff1085b24fe53ebb7ff722a2a7f
a36ccb71e4457889d340920260f18666835d703f
refs/heads/master
2023-04-07T22:58:34.650115
2023-03-15T16:27:58
2023-03-15T16:27:58
114,040,073
17
2
null
null
null
null
UTF-8
Python
false
false
5,573
py
import torch import torch.nn as nn from torch.nn.utils.rnn import pack_padded_sequence as pack from torch.nn.utils.rnn import pad_packed_sequence as unpack from deepbond import constants from deepbond.initialization import init_xavier, init_kaiming from deepbond.models.model import Model from deepbond.modules.crf impo...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
1cd352d1bca1e800029113e0addaac329f0597b1
4f7dc1bd5a5561c9f3fb693f0d6f4c6b13504db6
/library/v0.5/analysis_tools/kinase_enrichment/kinase_enrichment.py
00278ff36b510fa6436063457fa111a67be34ad7
[]
no_license
bluejek128/microglia
296b02d21f82f0769c18e3fa7e63eadd374e4965
f9f2281c277d1b71ca80e26cc071fa096e653e68
refs/heads/master
2020-03-13T21:48:14.750943
2018-05-07T20:43:32
2018-05-07T20:43:32
131,304,292
0
0
null
null
null
null
UTF-8
Python
false
false
7,204
py
################################################################# ################################################################# ############### DE ################################################################# ################################################################# ###################################...
[ "denis.torre@mssm.edu" ]
denis.torre@mssm.edu
43a4b48b9af6e391d2d94d872ba672bbdee47e83
bc441bb06b8948288f110af63feda4e798f30225
/agent_admin_sdk/model/topology/link_pb2.py
57425310345e86fec127525b11152a17ac288f7c
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
3,202
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: link.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
[ "service@easyops.cn" ]
service@easyops.cn
9a8385ebac75bfafb7f8a0eded1d52e017c2102c
fd281c5c50d31c32ff3724d6cfc9534d8bf65b06
/artigos/migrations/0002_auto_20170922_1603.py
fcd70e91a35936ae7094e5bb9b521c2d1b548346
[]
no_license
thiagorocha06/mairimed-site
72ef24cdf0bdc016dac821bb3d8117283a6d9f52
5537755ced8c1e4ff8641686acf241b254e50670
refs/heads/master
2021-01-22T17:48:17.227737
2017-10-29T10:39:26
2017-10-29T10:39:26
100,734,508
0
0
null
null
null
null
UTF-8
Python
false
false
4,052
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-09-22 19:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('artigos', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "thiagorocha06@gmail.com" ]
thiagorocha06@gmail.com
a4f6c54a5d544fc14b830f131426060871b97721
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/161/48984/submittedfiles/testes.py
aa8ccc2aca043bef467a8eafb70d9d924c95f684
[]
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
169
py
n=int(input('numero:')) soma=0 for i in range(0,n+1,1): fat=1 for a in range(1,i+1,1): fat=fat*a soma=soma+(1/math.factorial) print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6ccd2c5d4edca415ab24a1f3efd1a03ab45a84e7
773f6abee91e5368e43b34d8ad179c4ab9056da1
/gen/wellknownfiletype.py
fb3c550fa4fa8b577314a4ae3c13e8a54548196e
[]
no_license
richstoner/aibs
3dc9489ee6a1db836d58ec736b13d35a7cffc215
bfc7e732b53b4dff55f7c3edccdd0703f4bab25f
refs/heads/master
2021-01-10T05:11:09.484238
2013-03-03T06:19:34
2013-03-03T06:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# -*- coding: utf-8 -*- # Rich Stoner, 2013 class WellKnownFileType(object): '''aibs.model.wellknownfiletype (autogen)''' # Fields self.id = 0 self.name = '' # Associations self.well_known_files = [] # has_many WellKnownFile def __init__(self, initialData={}): for k,v in initData...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
1368e722eb797feff1eca7bb87f37bd18411b067
150d9e4cee92be00251625b7f9ff231cc8306e9f
/RemoveDupLL.py
356fd8431d9a51ac2bd0a44d1c699d17ce8499ff
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
''' Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well. Example 1: Input: head = [1,1,2] Output: [1,2] Example 2: Input: head = [1,1,2,3,3] Output: [1,2,3] Constraints: The number of nodes in the list is in the range ...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
2e5aa056829a7e404aebb2f952bfc8b7aa726fe6
9b5d0b7d7c9cdaef2851b675292e5eef651ab257
/tools/extract/liftOver_wrapper.py
6b23580be746f0f57f2fa12ee10ca9983d07cffb
[ "CC-BY-2.5", "MIT" ]
permissive
msGenDev/Yeps-EURAC
392fd497a6891a5a22204b236c26dcd133793f21
7b679ea17ba294893cc560354d759cfd61c0b450
refs/heads/master
2021-01-16T21:49:26.499975
2010-04-05T17:52:50
2010-04-05T17:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,909
py
#!/usr/bin/env python #Guruprasad Ananda """ Converts coordinates from one build/assembly to another using liftOver binary and mapping files downloaded from UCSC. """ import sys, os, string import tempfile import re assert sys.version_info[:2] >= ( 2, 4 ) def stop_err(msg): sys.stderr.write(msg) sys.exit() ...
[ "fox91@anche.no" ]
fox91@anche.no
017a4d9314cc977d5c80644063b57eaa990b050d
b0174911702ab63f7ba0d0ca4cb03ae6453dc182
/calas7262/service/interfaces.py
9c34585091728f72ed26c481c929d96a16b1d145
[ "MIT" ]
permissive
astrorafael/calas7262
4001bffdc586b91677095ac4f112170911c93e7c
8ff4c0ce5bf670fe0bf6fde218ecd7c993c41d0e
refs/heads/master
2020-08-01T18:12:39.020668
2019-10-28T10:07:18
2019-10-28T10:07:18
211,072,096
1
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# ---------------------------------------------------------------------- # Copyright (c) 2014 Rafael Gonzalez. # # See the LICENSE file for details # ---------------------------------------------------------------------- #-------------------- # System wide imports # ------------------- from __future__ import division...
[ "astrorafael@yahoo.es" ]
astrorafael@yahoo.es
12617fabbf89c88ca061ddde97c6781271a3d367
7357d367b0af4650ccc5b783b7a59090fdde47bb
/neo/Core/TX/IssueTransaction.py
8113d4c98a96ad128375898867a454f12b1368c5
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
""" Description: Issue Transaction Usage: from neo.Core.TX.IssueTransaction import IssueTransaction """ class IssueTransaction(Transaction): """docstring for IssueTransaction""" def __init__(self, *args, **kwargs): """ Create an instance. Args: *args: **kwargs: ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
d7d3e50712748c0c8737e836bb75ea879e62ba06
f5bfdaccf014b9a986a8d1e58a4655c21b8368ce
/send_recv/basic_conn/client.py
2e1bae8dfa62e99c7500ac9dd12c31c24b8e853e
[]
no_license
wlgud0402/class
a6029bb51160cb2ba39dd59b3826532becd61895
ae84bfe4bb832d1a5a8434f3a6f78a57da272d62
refs/heads/master
2022-10-09T18:47:53.165134
2020-06-13T07:46:21
2020-06-13T07:46:21
271,963,794
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import socket import time client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # ipv4, TCP client_socket.connect(('127.0.0.1', 3000)) # client_socket.sendall(bytes([234, 185 ,128])) client_socket.sendall("김지형".encode()) client_socket.close()
[ "wlgudrlgus@naver.com" ]
wlgudrlgus@naver.com
9341990ffd55f00376c0f6771d2fff7b135601e0
76938f270e6165514162856b2ed33c78e3c3bcb5
/lib/coginvasion/minigame/CameraShyHeadPanels.py
d54c8dccdc92354cc6b09258cd61a99ec93f52ad
[]
no_license
coginvasion/src
9a5ec682845cc4c9c013fcc35e9b379bd4360b6c
2d7fcdb0cd073050250cb51292ee48300a9fe19f
refs/heads/master
2021-01-19T06:50:11.786112
2015-11-08T12:28:52
2015-11-08T12:28:52
61,545,543
1
2
null
null
null
null
UTF-8
Python
false
false
3,548
py
# Embedded file name: lib.coginvasion.minigame.CameraShyHeadPanels from panda3d.core import Point3, VBase4 from direct.directnotify.DirectNotifyGlobal import directNotify from direct.gui.DirectGui import DirectFrame from lib.coginvasion.toon.ToonHead import ToonHead from HeadPanels import HeadPanels class CameraShyHea...
[ "ttarchive@yandex.com" ]
ttarchive@yandex.com
0764441710a1e2bc191eba04dedbcb39accb063a
502af3505e4e670c507ee6a5dedbc41995cefa09
/deep_generative_models/tasks/arae/sample.py
8206a693522c003f87c778e649a89ad618c03744
[]
no_license
manoj04418/deep-generative-models
c1e8062e280ac6d1f3fb8ab359a21e870a2276df
402d06773320231d9135c88d8a6033f916a68f89
refs/heads/master
2022-10-02T10:44:14.857680
2020-06-10T14:50:48
2020-06-10T14:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import argparse from deep_generative_models.configuration import load_configuration from deep_generative_models.tasks.gan_with_autoencoder.sample import SampleGANWithAutoEncoder if __name__ == '__main__': options_parser = argparse.ArgumentParser(description="Sample from ARAE.") options_parser.add_argument("c...
[ "ramirocamino@gmail.com" ]
ramirocamino@gmail.com
8c0f067abeaf7da4af4794f4fd818c33ee8870ef
3f7240da3dc81205a0a3bf3428ee4e7ae74fb3a2
/src/Week10/Recursion/Recursive Math/recursiveMath.py
3971edeec5e2ac01cd6538f02737243d4440daeb
[]
no_license
theguyoverthere/CMU15-112-Spring17
b4ab8e29c31410b4c68d7b2c696a76b9d85ab4d8
b8287092b14e82d2a3aeac6c27bffbc95382eb34
refs/heads/master
2021-04-27T08:52:45.237631
2018-10-02T15:38:18
2018-10-02T15:38:18
107,882,442
0
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
# A few example recursive functions. # Can you figure out what each one does, in general? import math def f1(x): if x == 0: return 0 else: return 1 + f1(x-1) #f(0) = 0, f(1) = 1, f(2) = 2, f(3) = 3 def f2(x): if x == 0: return 40 else: return 1 + f2(x-1) #f(0) = 40, f(1) = 41, f(2) = 42 def f3(x): ...
[ "tariqueanwer@outlook.com" ]
tariqueanwer@outlook.com
2d4e5375e79cc35c8674acf1f09ed3ea017a8102
01bf95e0c0d57e3a1392f9d7e20580376c9e39a2
/keystone/backends/sqlalchemy/migrate_repo/versions/002_rename_token_table.py
1d15d9dac471ffd9d2e3887ea331871420c26b32
[ "Apache-2.0" ]
permissive
oubiwann/keystone
433713dd5d542484fc754ecfd097dc02759555b2
5c70d24462d75256fb6167d58e13d9c0a3d60427
refs/heads/master
2021-01-15T16:00:31.822891
2011-12-02T14:39:59
2011-12-02T14:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
""" Addresses bug 854425 Renames the 'token' table to 'tokens', in order to appear more consistent with other table names. """ # pylint: disable=C0103 import sqlalchemy meta = sqlalchemy.MetaData() def upgrade(migrate_engine): meta.bind = migrate_engine sqlalchemy.Table('token', meta).rename('tokens') ...
[ "dolph.mathews@gmail.com" ]
dolph.mathews@gmail.com
162ca16f1c1766a7e0eba5b50a4d4e47a7f382d6
6b09043b97fb379aebd4363ff07d4cc53e8ec0b9
/Day 8/08-DailyFlash_Solutions/22_Jan_Solutions_Three/Python/p1.py
95966c06b2a0fe2542e4ee03e372c0259eb8dc23
[]
no_license
Aadesh-Shigavan/Python_Daily_Flash
6a4bdd73a33f533f3b121fae9eef973e10bf3945
b118beeca3f4c97de54ae1a610f83da81157009a
refs/heads/master
2022-11-28T13:03:17.573906
2020-08-06T15:36:36
2020-08-06T15:36:36
276,581,310
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
''' Program 1: Write a program that accepts two integers from user and prints addition & Subtraction of them. {Note: checks for greater number to subtracts with while subtracting numbers} Input: 10 20 Output: Addition is 20 Subtraction is 10 ''' var1=int(input("enter first integer ")) var2=int(input("enter second...
[ "aadesh.shigavan01@gmail.com" ]
aadesh.shigavan01@gmail.com
b04295b6bd02ded41471966b990097969fe52ff6
55628a9a08a6b6646b4a8aa74bedbf2e3fd7d850
/.history/master_20200108222014.py
f0ad1ad6e18e50c3c5af481bb7301cae10b1b643
[]
no_license
StRobertCHSCS/final-project-team
c115dc11b318f7ac782c94860a8801bb558bd107
48907e72813c4dd3b48ff36f794f6fce04533219
refs/heads/master
2020-12-03T22:35:37.833893
2020-01-31T04:05:38
2020-01-31T04:05:38
231,506,873
1
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
import arcade import random # Set how many rows and columns we will have ROW_COUNT = 29 COLUMN_COUNT = 51 # This sets the WIDTH and HEIGHT of each grid location WIDTH = 20 HEIGHT = 20 # This sets the margin between each cell # and on the edges of the screen. MARGIN = 5 # Do the math to figure out our screen dimensi...
[ "clementina1023@gmail.com" ]
clementina1023@gmail.com
038ed0403663029f64d78bc9575373753b2fc331
bf28036f99ee0d94ac6c5172659018c5b55fa337
/drum.py
b4f15451e9124ed7a1e29d1c8559af5b9569f58c
[]
no_license
shantinavgurukul/Dictionary_questions
1fb2da829675fb8e5ef23b7259e2de29f58ce505
ac79ec33901de4414359e48a88cf2cc882d79b5c
refs/heads/master
2022-12-26T13:15:33.477165
2020-10-05T16:21:00
2020-10-05T16:21:00
301,469,439
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
import json dict1 ={ "emp1": { "name": "Lisa", "designation": "programmer", "age": "34", "salary": "54000" }, "emp2": { "name": "Elis", "designation": "Trainee", "age": "24", "salary": "40000" }, } out_file = open("myfile.json", "w") # a=w...
[ "you@example.com" ]
you@example.com
f5f87e659a58abd555e1e571e39cf2b5eedc1cd1
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/weecology_retriever/retriever-master/scripts/prism_climate.py
ed1da4bfd28d1a966b678c31c30ee3d3244572a9
[]
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
2,745
py
#retriever """Retriever script for direct download of PRISM climate data""" from future import standard_library standard_library.install_aliases() from builtins import range from retriever.lib.templates import Script import urllib.request, urllib.parse, urllib.error class main(Script): def __init__(self, **kwarg...
[ "659338505@qq.com" ]
659338505@qq.com
59fcde378e9247778415b7848b2705ccfe8e3385
11a0fab712b139bcba9e90f6acdc7597dff68dbb
/mestrado/ppgmcs/m07-elaboracao-de-dissertacao-i/projeto/codigo/teste1/grade/grade.py
daaca83d32160a4d36b59cbfca4b0cb9ba952eb3
[]
no_license
fapers/MeusTreinamentos
17ba096d518df533433ae2528b70d18717f3cf96
32a6b791b0c3dbb8b29ffd177597919e768b09b5
refs/heads/master
2023-06-04T14:00:37.847808
2021-06-28T02:37:11
2021-06-28T02:37:11
292,962,787
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import numpy as np def newgrade(h, d, t, p): grade = np.arange(len(h)*len(d)*len(t)).reshape(len(d), len(h), len(t)) for i in range(len(d)): for j in range(len(h)): for k in range(len(t)): aleatorio = np.random.choice(p) grade[i][j][k] = int(aleatorio) r...
[ "fpsmoc@yahoo.com.br" ]
fpsmoc@yahoo.com.br
05e423199bcd4237ba3acf5f863237c356aa85d7
95289559871f328cbed764cee33f85994599ef1f
/my_package/SeparableConvFlow/SeparableConvFlowLayer.py
3428875de42fdbb72f8502bd817f5a3fa7a06b03
[ "MIT" ]
permissive
Bostwickenator/Dain-App
10a6f725e8c82b2a9a4f59060521d675f5b63e40
27a9dc83f36b549129a1815a095da9c782c8752e
refs/heads/master
2023-03-18T16:41:31.839901
2021-03-20T20:00:53
2021-03-20T20:00:53
349,823,152
0
0
MIT
2021-03-20T20:59:25
2021-03-20T19:58:53
Python
UTF-8
Python
false
false
4,368
py
# this is for wrapping the customized layer import torch from torch.autograd import Function import separableconvflow_cuda as my_lib import warnings #Please check how the STN FUNCTION is written : #https://github.com/fxia22/stn.pytorch/blob/master/script/functions/gridgen.py #https://github.com/fxia22/stn.pytorch/blob/...
[ "user@user.com" ]
user@user.com
87c07543dd40fb4839f8bd146fa7eb9bd2b4adca
0fefd630aa4b500a1a218f5f12d351dfeb79d4a7
/Class-HomeWork/03.RectanglePosition.py
8253241100608d02637c7cb68e4136c21fa3125e
[ "MIT" ]
permissive
bozhikovstanislav/Python-Fundamentals
a7e7659d7ce8996f9e5dc17a8a0c5fcd5fbab65f
072fd2c8bc962d20d4c526947349fdeae0bc94a5
refs/heads/master
2020-04-15T00:22:02.395202
2019-03-10T15:46:48
2019-03-10T15:46:48
164,237,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
def is_inside(rect_a, rect_b): b_left = rect_a.get_x() >= rect_b.get_x() b_top = rect_a.get_y() <= rect_b.get_y() b_get_right_ = rect_a.get_x1() <= rect_b.get_x1() get_bottum_ = rect_a.get_y1() <= rect_b.get_y1() if b_left and b_get_right_ and b_top and get_bottum_: return 'Inside' re...
[ "bozhikov.stanislav@gmail.com" ]
bozhikov.stanislav@gmail.com
b5cffee6d892f73cbea112ed9209626b511c5b1e
7c1be5665bf193281a90ba44ce0c7fe2215c2630
/拼多多/pin_04.py
a9eb15ca196e2c0e424ceed3f119dcf366c71c46
[]
no_license
TechInTech/Interview_Codes
47a8748ff0b70b37949034926fdc01ec1f912584
24145a34de7a80b8dd7379914ab27e0017541b25
refs/heads/master
2020-07-08T22:37:27.952537
2019-10-14T05:42:00
2019-10-14T05:42:00
203,798,729
1
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
# -*- coding:utf-8 -*- import sys if __name__ == '__main__': str_input = sys.stdin.readline().strip().split(' ') sub_str = [] for i in str_input: if len(i) > 1: sub_str.append(i[0] + i[-1]) else: sub_str.append(i[0]) # print(sub_str) str_dict = {} flag =...
[ "wdw_bluesky@163.com" ]
wdw_bluesky@163.com
56c83d148ef48487ce438c5eb9f69b92baa0f3bb
6b1dd40d16ae6169e7ed780c5062e88d10502c85
/Kaggle/Playgroud/RiskPrediction/Home-Credit-Default-Risk-master/py/trash/922_predict_829-1.py
13011603b4e56baf37e707fbd78dcb77ebcf9844
[ "MIT" ]
permissive
hehuanlin123/DeepLearning
8a59680a341cfc525d50aa5afc3e44202ca4acc4
6b7feabbbde9ac9489f76da4c06eeb6703fb165a
refs/heads/master
2022-07-12T09:26:08.617883
2019-06-10T11:31:37
2019-06-10T11:31:37
183,748,407
1
0
null
null
null
null
UTF-8
Python
false
false
5,733
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 29 01:21:16 2018 @author: Kazuki """ import numpy as np import pandas as pd from tqdm import tqdm import gc, os import sys argv = sys.argv sys.path.append(f'/home/{os.environ.get("USER")}/PythonLibrary') import lgbextension as ex import lightgbm a...
[ "szkfzx@szkfzxdeiMac.local" ]
szkfzx@szkfzxdeiMac.local
ba1831997efc65fdd8de32d918565cd280a23b1f
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/decorators/python.py
3f00681ccfdde818a19511335dab7fefa7db6aa4
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
3,205
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" ]
ishiis.noreply@github.com
de8f80151a4960a8f4e5d28c3ea758062ee104bf
e8c3e7964f4b448e94481704d29508e9d6bd1798
/CommonTools/python/HagiwaraAndZeppenfeldTwoDimensionalModel_wz_f5z_ifLessThen0SetTo0_0505Files_1SetTo1.py
a08f9f4a69a9ca55ba3d7591cf98e7a06773d704
[]
no_license
senka/ZZ_2l2nu_4l_CMS_combination
1401f81dc255ea0ae4a0a5c73b022670849a1152
197655fa2143ffe1665cd7a1c6e5af2a2f48e57a
refs/heads/master
2021-01-13T02:06:27.885996
2014-08-09T16:15:14
2014-08-09T16:15:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,872
py
from CombinedEWKAnalysis.CommonTools.AnomalousCouplingModel import * import ROOT as r import os basepath = '%s/src/CombinedEWKAnalysis/CommonTools/data/WV_semileptonic'%os.environ['CMSSW_BASE'] #filename = '%s/ATGC_shape_coefficients.root'%basepath #filename = '%s/signal_WV.root'%basepath #this model is in the eq...
[ "senka.duric@cern.ch" ]
senka.duric@cern.ch
333db2238260b5ce45d4d105fa1e5cac5933855d
dfc686228834750216b2cd6eea14d2a6d12422e4
/Hackerrank_Python_solution/RegexandParsing/DetectHTMLTagsAttributesandAttributeValues.py
920d82f47e5c38a13364c5af8b4e6a11668ec42b
[]
no_license
Parth-Ps/python
8466e8856bf301908544eb60ae4a68338ccf4550
bb448c2a7996d17883214fe8eb11caa61e211400
refs/heads/master
2023-01-22T13:30:50.507021
2020-12-02T07:59:53
2020-12-02T07:59:53
317,788,331
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
''' Title : Detect HTML Tags, Attributes and Attribute Values Subdomain : Regex and Parsing Domain : Python Author : Ahmedur Rahman Shovon Created : 15 July 2016 ''' from html.parser import HTMLParser class CustomHTMLParser(HTMLParser): def handle_starttag(self,tag,attrs): print(tag) se...
[ "parth0129.certificate@gmail.com" ]
parth0129.certificate@gmail.com