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
5e70dd92d37b33cee451a79110869edc240504ee
40b182f143fa034051fbfc80dc1bc77b204fdb89
/fft_2d.py
26fca42cbe8257f3a225e76e740aa65f3a6ab6f1
[]
no_license
phaustin/fft_2d
02ab6707cbbb1c3fcd836c4e9a6323b4439bed2a
a891669e2c70c70a87efa9b254e9103ec3d93af5
refs/heads/master
2016-09-06T10:51:35.568580
2014-02-11T06:52:04
2014-02-11T06:52:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
from __future__ import division from netCDF4 import Dataset import numpy as np import math from scipy import fftpack from matplotlib import pyplot as plt #plt.switch_backend('Agg') #batch plt.switch_backend('MacOSX') #interactive test=Dataset('a17.nc') tau=test.variables['tau'][:2000,:2000] nn = tau.shape[0] #...
[ "paustin@eos.ubc.ca" ]
paustin@eos.ubc.ca
d22177499c618ff254b7d77a4adadebd0fbc9c16
82ccbe6f52a89e0acd1b88cd3de6c2c434bcef6c
/lib/PanGenomeAPI/fetch_summary/main.py
64197ada34555c2089d05a55099c48806cd693d0
[ "MIT" ]
permissive
kbaseapps/PanGenomeAPI
e51da942cb61f4341824e7b296fa2b694b7deda6
52dfc557279824f3b1c3b0a537528ccfaee39ab1
refs/heads/master
2021-07-20T04:30:31.032517
2021-02-23T22:45:09
2021-02-23T22:45:09
89,646,247
0
3
MIT
2021-02-23T22:45:09
2017-04-27T22:42:41
Python
UTF-8
Python
false
false
7,818
py
""" Fetch and construct summary data for previewing a pangenome. """ from installed_clients.WorkspaceClient import Workspace as Workspace def fetch_pangenome_summary( pangenome_ref: str, workspace_url: str, token: str) -> dict: """ Construct a summary data object for a single pangenome...
[ "jayrbolton@gmail.com" ]
jayrbolton@gmail.com
cc15ab4da0e3d63290d555da764c4651e5b116d5
2368797b51548c0f6393d63bf4973898ac99d528
/strings/easy/q443.py
dfc657c4a91311384a0c289c38920c173469005f
[]
no_license
pengzhefu/LeetCodePython
595887d1625666962e7e959ffa148580f9b89ada
59eff778a5fd5cff3b5b6b88c6c7e76dd213dfb0
refs/heads/master
2021-06-08T19:44:52.487031
2021-06-01T15:44:29
2021-06-01T15:44:29
175,763,155
1
0
null
null
null
null
UTF-8
Python
false
false
2,906
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 30 23:39:02 2019 @author: pengz """ ''' Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every element of the array should be a character (not int) of length 1. After you are d...
[ "32311379+pengzhefu@users.noreply.github.com" ]
32311379+pengzhefu@users.noreply.github.com
e963b984443ec4d68c597960486998c74e5281de
be6e135014a7553b8f13b99435369e3d53b58585
/course_python/Python/student_oop.py
43d9d213d2b47e37a632402e8d7e6afe58f5f69c
[]
no_license
ankitsoni5/python
a5555a6371e12b170703b8c16a4e8aab5988a373
a5fcf618a476cb1745095f038b9118ce724c0b7e
refs/heads/master
2020-09-10T23:35:45.001477
2019-11-23T13:41:37
2019-11-23T13:41:37
221,866,000
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
from com.ankit.collage.student import Student #s1 = Student() #student object #internally # 1. get address - 4001 Student Object # 2. Student : __init__(4001) print(Student.count) # it will give the number of count of object created of Student class. s1 = Student('Abhishek', 'Male', 1, 90) #internally # 1. ...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
3f9a0b1d182a5ddd38813da6721ae1a290403895
b4bc5fb10b0d498cb0d3e5ee2ce3473b10b553e5
/fast_transformers/recurrent/attention/self_attention/adamax_attention.py
1cac02af4c80484f39d1bc654fd0d6ccdea11efe
[]
no_license
minhtannguyen/momentum-transformer-code-submission
2f0005028ab7e32957612f642330acd802bded8e
68b11ce5564a8212cd91cb2093b457a00d511046
refs/heads/master
2023-05-31T19:20:57.380490
2021-06-04T15:08:26
2021-06-04T15:08:26
373,784,396
4
0
null
null
null
null
UTF-8
Python
false
false
4,429
py
"""Implement the causally masked linear attention as a recurrent model.""" import torch from torch.nn import Module from ....attention_registry import RecurrentAttentionRegistry, Optional, Float, Int, \ Callable, EventDispatcherInstance from ....events import EventDispatcher from ....feature_maps import elu_featu...
[ "mn15@rice.edu" ]
mn15@rice.edu
c3d6c4f46612b7f7c5ec6f9758883ee9cf8a0f4a
d051f3fe9fda31b72fa0ddce67aa1f4293c7c37c
/infer/local_gibbs_move.py
e8d91c772ccb38d12b759ff202759798f9ddefa4
[ "BSD-3-Clause" ]
permissive
davmre/sigvisa
4e535215b6623310d8f5da64258f6fa9a378f9fd
91a1f163b8f3a258dfb78d88a07f2a11da41bd04
refs/heads/master
2021-03-24T10:24:52.307389
2018-01-05T19:33:23
2018-01-05T19:33:23
2,321,239
0
0
null
null
null
null
UTF-8
Python
false
false
5,990
py
import numpy as np from sigvisa.models.distributions import PiecewiseLinear from sigvisa.utils.array import index_to_time, time_to_index """ Methods to propose a param value from a piecewise linear approximation to the Gibbs conditional. This can be based on either the full model posterior (proxylp_full) or a cheap ...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
33e0ba3e0a69e34cf7ebd41107f6f66e2889c636
c9293ab68d0235a1830a3634a41a5b65b4eb5d6a
/Lessons/Section-03/lesson_0087/main.py
525fed4f815ccabfb1476b840d227c9ecfdc9c6d
[]
no_license
lipegomes/python-django-udemy-studies
4f836497ee10ece7ee5b40af1b636bb1c03deb75
938fa6a05f9505b8eaf6e7e6bc1c5e199b670432
refs/heads/master
2023-01-07T01:22:16.855346
2020-11-03T13:49:54
2020-11-03T13:49:54
283,852,942
1
1
null
null
null
null
UTF-8
Python
false
false
1,200
py
""" Faça uma lista de tarefas com as seguintes opções: - Adicionar uma tarefa - Listar tarefas - Opção de desfazer (a5 cada vez que chamarmos, desfaz a última ação) - Opção de refazer (a cada vez que chamarmos. refaz a última ação) """ def show_op(todo_list): print() print("Tarefas: ") pri...
[ "fgdl.py91@gmail.com" ]
fgdl.py91@gmail.com
a6967f5aeb2b2541339e96e0ff361039c1c4a1ef
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5753053697277952_1/Python/wiz4rd/solve.py
71ffac888475eabb0c81b27c4c0114a8c34376e6
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,255
py
# http://code.google.com/codejam/contest/4314486/dashboard#s=p0 from collections import defaultdict from re import match from numpy import array, argsort from time import sleep from numpy.linalg import matrix_rank def biggest(a,N): return argsort(a)[::-1][:N] def absolute(ls): s = int(sum(ls)/2);return any(e>s...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
4620c177df3478e05cc6d84a76cbc7bc79c80768
7ce479cac0a14d924159db9c784e3325b8f0bce7
/schemaorgschemas/Thing/Intangible/StructuredValue/PriceSpecification/PaymentChargeSpecification/__init__.py
cd82c29e455e399753f86c2537f0d702dd8cd6b2
[]
no_license
EvelineAndreea/AGRe
1f0c27237eb047a60bbcfb8d73e3157035406409
b952125896a82741f6617c259dd4060954583180
refs/heads/master
2020-04-08T16:08:11.517166
2018-11-28T07:15:56
2018-11-28T07:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
# -*- coding: utf-8 -*- from schemaorgschemas.Thing import potentialActionProp, descriptionProp, sameAsProp, imageProp, urlProp, mainEntityOfPageProp, additionalTypeProp, alternateNameProp, nameProp from schemaorgschemas.Thing.Intangible.StructuredValue.PriceSpecification import validFromProp, priceCurrencyProp, priceP...
[ "mihai.nechita95@gmail.com" ]
mihai.nechita95@gmail.com
2ddc5ca7f522f8159ec1ca17599d40bf2c4eca88
912c4445e7041869d1c8535a493b78d7ee35424b
/status/api/tests.py
fc4d45246e3fead061e60c2bd54215da6084c563
[]
no_license
maltezc/Udemy-DjangoRestAPI
3f243ec97ea5e8e9d6ddc2005986b6a05aa11097
de6f885cf0cddaf22fb6fd72d18fc805b9ce48d2
refs/heads/master
2022-12-14T06:04:43.011691
2018-08-05T01:10:17
2018-08-05T01:10:17
140,590,753
0
0
null
2022-11-22T02:48:04
2018-07-11T14:56:08
Python
UTF-8
Python
false
false
7,199
py
import os import shutil # shell utility method import tempfile from PIL import Image # pip install pillow from django.urls import reverse from rest_framework import status from rest_framework.reverse import reverse as api_reverse from rest_framework.test import APITestCase from django.contrib.auth import get_user_model...
[ "cflux.maltez@live.com" ]
cflux.maltez@live.com
918ad7bb0117b30c6486fbc80d1fd1b193eca18c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_393/ch118_2020_10_04_20_23_11_549205.py
0e12279bb35457c3ba0953ad701ea15292ec51a7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
import math def reflexao_total_interna(n1,n2,teta2): y= math.radians((((n1/n2)*math.sin(math.radians(teta2))))) if y > 1: return True else: return False
[ "you@example.com" ]
you@example.com
04d560051f784a7adef1e2450c98a8917ecc9863
297efd4afeb46c0b56d9a975d76665caef213acc
/src/multiplicity/migrations/0044_referencespacelocation_active.py
c685d927bce6613caf9aa25e774e3ac226361258
[ "MIT" ]
permissive
metabolism-of-cities/metabolism-of-cities-platform-v3
67716c3daae86a0fe527c18aef26ce29e069cbcc
c754d3b1b401906a21640b8eacb6b724a448b31c
refs/heads/master
2022-12-06T22:56:22.207853
2020-08-25T09:53:51
2020-08-25T09:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# Generated by Django 2.1.3 on 2019-03-04 07:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('multiplicity', '0043_auto_20190209_1723'), ] operations = [ migrations.AddField( model_name='referencespacelocation', ...
[ "paul@penguinprotocols.com" ]
paul@penguinprotocols.com
a02e962f1c5d82a41e748de8fb1d38b119166c0c
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/CondTools/Ecal/python/copyTrivialAlignEB_cfg.py
c690529c0fa086e7e9df506f16670a72c30d21b9
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
Python
false
false
1,416
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") process.load("CondCore.DBCommon.CondDBCommon_cfi") #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL' #process.CondDBCommon.DBParameters.aut...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
3c7381700dd51e46681693cb02fba56bbe79e2f3
cea30aead7f0b529ee072c1bcab2896777e1408d
/PreprocessingCropsData/venv/Lib/site-packages/mpl_toolkits/tests/__init__.py
d5bd2047c484dceb46dbd677b7d1236edf7ab7ae
[]
no_license
pgj9702/FarmSolution
3730ab3ca983b335ed48a60935c5fa6e3983cbb1
a8cacc45b8519e79b51ab65b9539a01f5006e64f
refs/heads/master
2023-03-30T15:41:10.312044
2021-03-31T08:47:23
2021-03-31T08:47:23
334,019,778
0
1
null
2021-02-22T09:32:57
2021-01-29T02:52:46
Python
UTF-8
Python
false
false
375
py
from pathlib import Path # Check that the test directories exist if not (Path(__file__).parent / "baseline_images").exists(): raise IOError( 'The baseline image directory does not exist. ' 'This is most likely because the test area_data is not installed. ' 'You may need to install matplotl...
[ "cao147147@naver.com" ]
cao147147@naver.com
5bdcc6cf975d1c91609041403c71ecffcb959e0c
62def70e2d802375b1ad28b0ac85fee2010ee0a9
/displays/ws2801/rainbow.py
f9bd668f5edc1adab7f890ed626b53de332c52fb
[]
no_license
MarkAYoder/BeagleBoard-exercises
c48028b6e919d8c04dedfd2040a133c760f0f567
2fab7c7f7aa09bf101168dfb279e690bc43a6514
refs/heads/master
2023-07-22T08:06:19.482358
2023-07-12T19:24:51
2023-07-12T19:24:51
5,111,513
48
41
null
2021-07-29T18:02:29
2012-07-19T15:07:14
JavaScript
UTF-8
Python
false
false
1,091
py
#!/usr/bin/env python import time import math import sys from LedStrip_WS2801 import LedStrip_WS2801 amp = 10 f = 10 shift = 3 def fillAll(ledStrip, color, sleep): for i in range(0, ledStrip.nLeds): ledStrip.setPixel(i, color) ledStrip.update() def rainbow(ledStrip, nrOfleds): phase = 0 skip ...
[ "Mark.A.Yoder@Rose-Hulman.edu" ]
Mark.A.Yoder@Rose-Hulman.edu
23469463dfbc6631814a0468add53c75df07336e
7950c4faf15ec1dc217391d839ddc21efd174ede
/problems/0572.0_Subtree_of_Another_Tree.py
04f22ba2c1aebcb28258a3c091754703156231d3
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
''' Success Details Runtime: 340 ms, faster than 10.24% of Python online submissions for Subtree of Another Tree. Memory Usage: 14.6 MB, less than 53.07% of Python online submissions for Subtree of Another Tree. ''' # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=...
[ "lixiang@rxthinking.com" ]
lixiang@rxthinking.com
6b070f4656d6fd36f68bc0dd598ac9f15b9f3123
a7aabc5bd71b5ef6bdddee9908efcc840930e13c
/tests/testapp/tests/test_utils.py
509c0a384f223b47432eab62359e52d05cb6b9c5
[ "BSD-2-Clause" ]
permissive
enterstudio/towel
b7567261b325d19d621af126553ac33350f9a927
6892788527b8a111cbf5963e909964aabc96d740
refs/heads/master
2021-07-05T05:49:11.654374
2016-11-21T08:43:41
2016-11-21T08:43:41
85,775,854
0
0
NOASSERTION
2021-07-03T01:07:07
2017-03-22T02:25:57
Python
UTF-8
Python
false
false
3,733
py
from __future__ import absolute_import, unicode_literals from django.template import Template, Context from django.test import TestCase from towel.utils import ( related_classes, safe_queryset_and, tryreverse, substitute_with) from testapp.models import Person, EmailAddress class UtilsTest(TestCase): def t...
[ "mk@spinlock.ch" ]
mk@spinlock.ch
b8a6d4b5c488151244256500ffaab2184cecdabc
c6eb52478346d4c0b272035f45f62f6b1dccf2c3
/data_science_py/26_spark/lambda_expressions.py
e961135b4db95e1a1a503192e7ba57b3086ce7a9
[]
no_license
antichown/udemy_courses
88732eea17eac8614152aa815d57c64fa54d0104
d308fe478a67cb7fc395d99d798ac58fdc1f58c4
refs/heads/master
2022-11-06T22:28:08.118570
2020-07-17T02:00:19
2020-07-17T02:00:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,652
py
#!/usr/bin/env python # coding: utf-8 # #lambda expressions # # One of Pythons most useful (and for beginners, confusing) tools is the lambda # expression. lambda expressions allow us to create "anonymous" functions. This # basically means we can quickly make ad-hoc functions without needing to properly # define a...
[ "ec2-user@ip-172-31-91-31.ec2.internal" ]
ec2-user@ip-172-31-91-31.ec2.internal
2874f74de9f3de37544a1e61636acc55e31149f1
67d94cea8a4e48683e74ad7da26ab4b02ae37c19
/demo/services/qotm.py
ab405266a3e4504b3d51242754b2179293a01958
[ "Apache-2.0" ]
permissive
smoshtaghi/ambassador
fa39ec86acdde3b76706e37a5273c252b62fda66
f653780befd65d72f955e94f5fac146d8794c712
refs/heads/master
2020-05-02T09:52:45.928453
2019-03-26T20:22:35
2019-03-26T20:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,956
py
#!/usr/bin/env python from flask import Flask, jsonify, request, Response import datetime import functools import logging import os import random import signal import time __version__ = "0.0.1" PORT = int(os.getenv("PORT", "5000")) HOSTNAME = os.getenv("HOSTNAME") LOG_LEVEL = os.getenv("LOG_LEVEL", "DEBUG") app = Fl...
[ "flynn@datawire.io" ]
flynn@datawire.io
6f537f2a2eb98ce9355e639f4b1a40938a2975e3
763d2f0a40c905bc9cbcd83e21c8d716072fcf90
/chapter01/04.py
faf5d15b0528921cf23472e4699f4bf3a532a3d9
[]
no_license
s19014/ProgrammingTraining2
c707dc0a9dc1f4678f91fc05ded6bb1419db4f7a
c28b452d0a52c0e8481731bd1cda6b1aba88228d
refs/heads/master
2022-11-08T18:27:36.692911
2020-06-29T03:36:51
2020-06-29T03:36:51
262,897,354
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
''' “Hi He Lied Because Boron Could Not Oxidize Fluorine. New Nations Might Also Sign Peace Security Clause. Arthur King Can.”という文を単語に分解し, 1, 5, 6, 7, 8, 9, 15, 16, 19番目の単語は先頭の1文字,それ以外の単語は先頭に 2文字を取り出し,取り出した文字列から単語の位置(先頭から何番目の単語か)への 連想配列(辞書型もしくはマップ型)を作成せよ. ''' text = '''Hi He Lied Because Boron Could Not Oxidize Fluo...
[ "s19014@std.it-college.ac.jp" ]
s19014@std.it-college.ac.jp
d1b8b380409305b112615cc2f6a3b1f200a89b38
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_268/ch34_2020_03_29_20_16_22_997795.py
7ac92c7d8b2fdc1116c6e200a907b413c1ee9f71
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
def eh_primo(n) : if (n <= 1) : return False if (n <= 3) : return True if (n % 2 == 0 or n % 3 == 0) : return False i = 5 while(i * i <= n) : if (n % i == 0 or n % (i + 2) == 0) : return False i = i + 6 return True def maior_pr...
[ "you@example.com" ]
you@example.com
ab59db052bdf4934ce86436713e6a01207d89d3c
7b750c5c9df2fb05e92b16a43767c444404de7ae
/src/leetcode/python3/leetcode735.py
ba41f98ebc046b632377456faffcf0601cd24c7a
[]
no_license
renaissance-codes/leetcode
a68c0203fe4f006fa250122614079adfe6582d78
de6db120a1e709809d26e3e317c66612e681fb70
refs/heads/master
2022-08-18T15:05:19.622014
2022-08-05T03:34:01
2022-08-05T03:34:01
200,180,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from typing import List """ 行星碰撞 """ # 暴力求解 292ms class Solution: def asteroidCollision(self, asteroids: List[int]) -> List[int]: tasteroids = asteroids result = [] change = True while change: for x in tasteroids: ...
[ "jack.li@eisoo.com" ]
jack.li@eisoo.com
b7b874acea85c0c1c0b468fa63bfcdec322d8e33
d4a874792cc86f64dba859392deacd9e7e6721fc
/monitor.py
01ae60fc559113881e40b008bc3cc7858202075c
[]
no_license
tarungoyal1/python_scripts
a1b0e725813a0277b812f75a73fac330d92405cb
ac362c753d61c3430c46863235bb263ecc62a053
refs/heads/master
2020-03-28T14:23:26.896106
2018-11-13T00:49:17
2018-11-13T00:49:17
148,483,014
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import time import glob import shutil from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class MyHandler(FileSystemEventHandler): def on_created(self, event): folder = "10_Practical Uses of S3" current = glob.glob("*.mp4") if len(current...
[ "tarun13317@gmail.com" ]
tarun13317@gmail.com
b1a813aef6ba473bea7a5c2fd78a298593eb2d7a
cb70b467312f2fb8f8415bac03476d207acb990d
/study_case/crawler_7x24_study3.py
fe7a0ea1a66fd9f850e00e2ec518e92fe0c5fcf8
[]
no_license
eddiewang-wgq/python-interface
ded532dbad1dc943420823e91ba5f00637fa978e
d232cfc3a7ffc27f8f186d577265bc93e89b9b54
refs/heads/master
2023-03-27T00:52:50.018082
2021-03-30T07:53:08
2021-03-30T07:53:08
352,916,495
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
# !/usr/bin/python3 # -*- coding: utf-8 -*- """ @Author : pgsheng @Time : 2018/8/13 9:31 """ import sys import time import pandas from PyQt5.QtCore import QUrl from PyQt5.QtWebEngineWidgets import QWebEnginePage from PyQt5.QtWidgets import QApplication from bs4 import BeautifulSoup from public import config c...
[ "2568080700@qq.com" ]
2568080700@qq.com
69240e74f4667dcc2eca03b64939ad5d07446fa2
0ffb18f4d58961ca675d8294eb2154f69061989f
/examples/pipeliner/fastqc_pipeline_example.py
4a2c7ea0b317b3fd00e841734a13324343f5b38b
[]
no_license
nandr0id/auto_process_ngs
a794e904e6d24b0e0403941b44c884374f95850e
9b09f20b344d0ee87227e8771a479aa7c04f1837
refs/heads/master
2020-06-26T03:23:53.225029
2019-06-12T12:11:32
2019-06-12T12:11:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
#!/usr/bin/env python # # Example pipeline to run Fastqc on one or more Fastq files # but ignoring any with zero reads import os import argparse from bcftbx.FASTQFile import nreads from auto_process_ngs.pipeliner import PipelineTask from auto_process_ngs.pipeliner import PipelineFunctionTask from auto_process_ngs.pipe...
[ "peter.briggs@manchester.ac.uk" ]
peter.briggs@manchester.ac.uk
613fefd8380bf4435858fd0857c0dfb569fafb41
1dfba6d8c60a534d6bdeb985697fba913da5fe9b
/src/mceditlib/bench/time_loadsave.py
52fb8a10945703382abccd3848abbce13e03efe2
[ "BSD-3-Clause" ]
permissive
shipbiulder101/mcedit2
2d88a6933bac3010f5bedcdd65d542587841a19f
44179472b7834c803da243a82d731f9ef555764d
refs/heads/master
2021-01-12T21:52:56.581572
2015-10-20T21:30:34
2015-10-20T21:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
""" time_loadall """ from __future__ import absolute_import, division, print_function import logging import timeit from mceditlib.test import templevel import gc log = logging.getLogger(__name__) def loadall(): ents = 0 for cPos in pos[cStart:cEnd]: chunk = dim.getChunk(*cPos) ents += len(c...
[ "codewarrior@hawaii.rr.com" ]
codewarrior@hawaii.rr.com
6f20ea4026405a9598e5facc2c46b3e34bc3f1db
80579d5cf31edd31750b644d6eb46a2b29ff4972
/CandidateApp/migrations/0004_auto_20191104_0734.py
392e3a7ab7e8e002f5e272f8bbfeb223b6a9d073
[]
no_license
Nigar-mr/Vacancies
fb2935202488d957a4cccece0ac68a3ec052aa87
a8c4605e66cb4cf425abd6565b265df5b458e26d
refs/heads/master
2023-01-27T11:36:32.836172
2020-12-02T14:41:50
2020-12-02T14:41:50
317,890,920
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# Generated by Django 2.2.6 on 2019-11-04 07:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('CandidateApp', '0003_citymodel_countrymodel'), ] operations = [ migrations.RemoveField( model_n...
[ "muradlinigar@gmail.com" ]
muradlinigar@gmail.com
91de258357da03040a37deec4cce1b055beea036
4ce94e6fdfb55a889a0e7c4788fa95d2649f7bca
/User/apps/logreg/urls.py
13f5528d4db332284dfc1f9219fa72fb983eed21
[]
no_license
HaochengYang/Django-class-assignment
4018d8eb0619a99ebe8c3e47346d29934aafc66b
cb8f920f432209f88c810407ca646ee7dec82e22
refs/heads/master
2021-06-08T20:05:22.876794
2016-12-19T23:39:22
2016-12-19T23:39:22
75,032,572
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$',views.index, name="index"), url(r'^register$',views.register, name="register"), url(r'^login$',views.login, name="login"), url(r'^main$',views.main, name="main"), url(r'^logout$',views.logout, name="logout") ]
[ "haocheng0906@gmail.com" ]
haocheng0906@gmail.com
8644cb81bf0fcfd6f2c5b8dbf1b318cdfb99784c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_370/ch120_2020_04_01_03_35_57_135848.py
9d294a0499ab557c0f53778c9d2f27dd6b98aebe
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
import random dinheiro = 100 while dinheiro > 0: print (dinheiro) aposta= int(input("Quanto voce quer apostar? ")) if aposta != 0: n_ou_p=input("Voce quer apostar em um numero (n) ou paridade(p)? ") if n_ou_p == "n": numero=int(input("Escolha um numero entre 1 e 36: ")) ...
[ "you@example.com" ]
you@example.com
29a81e6881db1268d23434dc6980737b6eb640d4
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC102_A.py
5b3e4fd37e2243daff35ceda1216e174bf71c576
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
# 最大公約数 def gcd(a, b): while b != 0: a, b = b, a % b return a # 最小公倍数 def lcm(a, b): return a * b // gcd(a, b) N = int(input()) print(lcm(2, N))
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
bffb93f11e2d156068446b36e4f0a07a925befaa
9efe98cd4e2c4b23230ba8af2b98609b0a8654a5
/articles/urls.py
cc4823f2d18d59695b2fe6aa45fc3bc87e971e07
[]
no_license
Jordan-Rob/django-news
f0855d10f9056ad491d90d9086284ed3de468227
fc73862274522a16530d2fd3497d6e90b7b109c2
refs/heads/master
2021-09-25T11:37:50.529863
2020-02-26T13:50:42
2020-02-26T13:50:42
241,844,795
1
0
null
2021-09-22T18:45:20
2020-02-20T09:34:47
Python
UTF-8
Python
false
false
551
py
from django.urls import path from .views import ( ArticleListView, ArticleCreateView, ArticleDeleteView, ArticleDetailView, ArticleUpdateView, ) urlpatterns = [ path('', ArticleListView.as_view(), name='article_list'), path('new/', ArticleCreateView.as_view(), name='article_new'), pat...
[ "jordanrob709@gmail.com" ]
jordanrob709@gmail.com
8579c92447a21ce7b508108375db792656afff0a
7357d367b0af4650ccc5b783b7a59090fdde47bb
/library/k8s_v1_config_map.py
f1f041f9632980fdd20118debaac00931c8b2207
[ "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
5,574
py
DOCUMENTATION = """ module: k8s_v1_config_map short_description: Kubernetes ConfigMap description: - Manage the lifecycle of a config_map object. Supports check mode, and attempts to to be idempotent. version_added: 2.3.0 author: OpenShift (@openshift) options: annotations: description: - Annotations is an ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
a616047134756ed93653e3641eeadb7056c6d93e
52b5773617a1b972a905de4d692540d26ff74926
/.history/permutations_20200723155542.py
0a2cb82160de953b2379765e3b9c3fe802252d19
[]
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
293
py
def perm(arr): # sort the array if len(arr) == 0: return 0 else: arr.sort() perm = set(arr) maxValue = max(arr) if len(perm) == maxValue: return 1 eli: print(perm([1,1,1]))
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
20d466c872a9e9cc3e8c0d6993541a1ee769c0e9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_dissed.py
bfd39eb88b44f035eafe50cb7e30ebacde72a66b
[ "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
226
py
from xai.brain.wordbase.verbs._diss import _DISS #calss header class _DISSED(_DISS, ): def __init__(self,): _DISS.__init__(self) self.name = "DISSED" self.specie = 'verbs' self.basic = "diss" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7b7236e04ce84478b326d1bf5639d8e284d3c418
47175228ce25812549eb5203fc8b86b76fec6eb9
/API_scripts/dfp/dfp_python3/v201411/custom_field_service/create_custom_fields.py
f810346ad2e1082080513f0a6bbf67f474035af9
[]
no_license
noelleli/documentation
c1efe9c2bdb169baa771e9c23d8f4e2683c2fe20
a375698b4cf0776d52d3a9d3c17d20143bd252e1
refs/heads/master
2021-01-10T05:41:30.648343
2016-02-13T05:46:31
2016-02-13T05:46:31
51,477,460
1
1
null
null
null
null
UTF-8
Python
false
false
2,146
py
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "noelle@makermedia.com" ]
noelle@makermedia.com
7f45e9874c2bec2f7cbb448475e5c45d63d5972f
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/TotemRawData/Readers/test/.svn/text-base/raw_data_example.py.svn-base
fe26aa920afdb0d2be6cac4e77ee9b7bb3cb236e
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
934
import FWCore.ParameterSet.Config as cms process = cms.Process("rpReconstruction") # minimum of logs process.load("Configuration.TotemCommon.LoggerMin_cfi") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2) ) process.load('TotemRawData.Readers.RawDataSource_cfi') process.source.verbosity = ...
[ "eliza@cern.ch" ]
eliza@cern.ch
ee93cddd16945c87b62476643878d8e30493b53a
3db4afb573e6e82e9308c43ae13e9426c5c77c80
/glue/conftest.py
7ed2f145177687ccad2672345c69031f834095a5
[ "BSD-3-Clause" ]
permissive
mariobuikhuizen/glue
af8a53498fd4e2365bf98e5089677efdcdb67127
6b968b352bc5ad68b95ad5e3bb25550782a69ee8
refs/heads/master
2023-01-08T07:33:03.006145
2020-09-20T09:25:06
2020-09-20T09:25:06
298,285,919
0
0
NOASSERTION
2020-09-24T13:22:37
2020-09-24T13:22:36
null
UTF-8
Python
false
false
3,493
py
import os import sys import warnings import pytest try: from qtpy import PYSIDE2 except Exception: PYSIDE2 = False from glue.config import CFG_DIR as CFG_DIR_ORIG try: import objgraph except ImportError: OBJGRAPH_INSTALLED = False else: OBJGRAPH_INSTALLED = True STDERR_ORIGINAL = sys.stderr O...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
6d98ccacbdf0ae25f09883599e16712c57df834b
f350464b0ec1d2747a93ea533b04746c8ff68c18
/setup.py
0b1315dc2d83cf67c02b1f8d493b7614673acf85
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
erdogant/hgboost
ed4e0e31aff87fba2c9591b59b70ffc7a91c27b7
8492331b15b883918d2159a61563932ae82bf313
refs/heads/master
2023-08-17T14:08:01.729366
2023-08-15T17:01:03
2023-08-15T17:01:03
257,025,146
48
15
NOASSERTION
2020-09-11T08:09:36
2020-04-19T14:48:23
Python
UTF-8
Python
false
false
1,549
py
import setuptools import re # versioning ------------ VERSIONFILE="hgboost/__init__.py" getversion = re.search( r"^__version__ = ['\"]([^'\"]*)['\"]", open(VERSIONFILE, "rt").read(), re.M) if getversion: new_version = getversion.group(1) else: raise RuntimeError("Unable to find version string in %s." % (VERSIO...
[ "erdogant@gmail.com" ]
erdogant@gmail.com
2f10c0fc4429d0811c309e418f22f5c1c3ef9850
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/check_update_20210125140228.py
03eaacfa439dd94d42ef81213aea4ae61bc8634b
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
import datetime def check_update(): prjtypes = ['ipo','refinance','reproperty'] for prjtype in prjtypes: proj_list_new = index_getter(prjtype) proj_list_old = load_pickle(os.getcwd()+'/saved_config/sz_index'+'_'+'prjtype'+'.pkl') updated_idx = [index for (index, d) in enumerate(proj_list_new) if d...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
ec669664a01bd273b8ee1ae285da9a46c1b96850
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/2569808f732d45a1a7c5dbd7f66d16e1.py
db46159bc52e0c46102481740258245a199f94aa
[]
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
213
py
def to_rna(input): dnaTypes = {"G":"C","C":"G","T":"A","A":"U"} output = [] for each in input: value = dnaTypes.get(each,'not found') output.append(value) return ''.join(output)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
4c5b98dcb0e5971fa8e16b9150b20e53eaa42687
90f729624737cc9700464532a0c67bcbfe718bde
/lino_xl/lib/invoicing/__init__.py
e4adea047c066bd0b4bff8eeb6e269f443914fa4
[ "AGPL-3.0-only" ]
permissive
lino-framework/xl
46ba6dac6e36bb8e700ad07992961097bb04952f
642b2eba63e272e56743da2d7629be3f32f670aa
refs/heads/master
2021-05-22T09:59:22.244649
2021-04-12T23:45:06
2021-04-12T23:45:06
52,145,415
1
5
BSD-2-Clause
2021-03-17T11:20:34
2016-02-20T09:08:36
Python
UTF-8
Python
false
false
2,783
py
# -*- coding: UTF-8 -*- # Copyright 2016-2019 Rumma & Ko Ltd # License: GNU Affero General Public License v3 (see file COPYING for details) """ Adds functionality for **invoicing**, i.e. automatically generating invoices from data in the database. See :doc:`/specs/invoicing`. """ from lino.api.ad import Plugin, _ f...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
0e98660cef8d593393fd7f5239d57526602a5f0e
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/bx/seq/seq.py
727c700f5b0caaf1da917454450ecd64e677025f
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
4,887
py
""" Classes to support "biological sequence" files. :Author: Bob Harris (rsharris@bx.psu.edu) """ # DNA reverse complement table DNA_COMP = " - " \ " TVGH CD M KN YSA BWXR tvgh cd m kn ysa bwxr " \ " ...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
9c85f5d5791d3d14ac61c80470e39516b5b5b94a
b162de01d1ca9a8a2a720e877961a3c85c9a1c1c
/389.find-the-difference.python3.py
787bd1ca19ae6a5ffdf1788af2408a2944611bb1
[]
no_license
richnakasato/lc
91d5ff40a1a3970856c76c1a53d7b21d88a3429c
f55a2decefcf075914ead4d9649d514209d17a34
refs/heads/master
2023-01-19T09:55:08.040324
2020-11-19T03:13:51
2020-11-19T03:13:51
114,937,686
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# # [389] Find the Difference # # https://leetcode.com/problems/find-the-difference/description/ # # algorithms # Easy (52.22%) # Total Accepted: 126.9K # Total Submissions: 243.1K # Testcase Example: '"abcd"\n"abcde"' # # # Given two strings s and t which consist of only lowercase letters. # # String t is genera...
[ "richnakasato@hotmail.com" ]
richnakasato@hotmail.com
5caec5d9a8ccca40938aa679181df75ee6367197
6d3ac655065e7592d7d8f6692b48546fb9adab75
/VirtualEnvAndPagination/env/bin/pip-3.7
f324b76b04fee41f8ec85adbfd6cbdd528e977ac
[]
no_license
lensherrggg/Django2Masterclass-BuildWebAppsWithPython-Django
81aa3fe582801d887b526bf3e022539cc0c739f5
22631e46cf48cb4206f8b77da664685fa141fec3
refs/heads/master
2021-04-08T11:43:23.265987
2020-03-27T12:56:50
2020-03-27T12:56:50
248,772,215
0
0
null
null
null
null
UTF-8
Python
false
false
292
7
#!/Users/rui/Documents/Code/Learning/Django2MasterClass/VirtualEnvironment/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gr98522@gmail.com" ]
gr98522@gmail.com
7753cb95d4466b610a3d6b8af4f2b00cc22c1d9b
a6f52b361be35ecd0b750289145d1dd5e5d1d48d
/src/profiler/formatters/SimpleTableFormatter.py
34c51c4caadb51c8ef5c62c9146a34e98f4bf99b
[]
no_license
deeptiagrawa/Flow123d-python-utils
d360329d28b1c24d600e309fabf09539bce80dee
a80b2dd10eb77ed0fc6469c675dc400feffdcc09
refs/heads/master
2021-01-12T05:31:26.649733
2016-12-20T13:28:05
2016-12-20T13:28:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,009
py
#!/usr/bin/python # -*- coding: utf-8 -*- # author: Jan Hybs from __future__ import absolute_import import re import os from utils.dotdict import DotDict from utils.logger import Logger class SimpleTableFormatter (object): """ Class which takes json object from flow123d benchmark profiler report and r...
[ "jan.hybs@tul.cz" ]
jan.hybs@tul.cz
e969a74760c8c4b91e8b2dcd06db47ff9cbccf46
10317d4492bcc5a85518c8c9c6edce56cccb7050
/Document Scanner/transform_new.py
012814806bec195d2e650f2d62128556692278b9
[]
no_license
kishan/Image-Recognition-Test-Grader
066a640adbc6bce5181cf0fb2d8c6f9a2a8d60e1
7b4e603f7a483cfed622df8d9896d9ff2719526a
refs/heads/master
2021-01-01T19:43:07.716688
2015-08-25T20:00:56
2015-08-25T20:00:56
41,382,408
0
0
null
null
null
null
UTF-8
Python
false
false
3,411
py
# import the necessary packages import numpy as np import cv2 import math ################################################################################ ## The following functions have been written by me but the approach is derived ## from the following link: http://www.pyimagesearch.com/2014/08/25/4-point- ...
[ "kspatel2018@gmail.com" ]
kspatel2018@gmail.com
94bf08a7ce82fd2b63625597118eb7bbeb7fe531
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part008601.py
faee6c6b3a4acdcb9b277c59692c5169f5000ac5
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,923
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
d38095f6f65c9f07ad7abbb070590af3d8ef7a7d
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/path_integral_naive_sampling_20200419015912.py
09700ceb920c45902a696fba97ea21eac5e153d9
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
8,101
py
# -*- coding: utf-8 -*- from __future__ import division import os import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd # Author: Juan Esteban Aristizabal-Zuluaga # date: 202004151200 def rho_free(x,xp,beta): """Uso: devuelve elemento de matriz dsnsidad para el caso de una ...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
74f2757220a88898a6e4b5dad3c63b866232286d
a37bf3343be428c453e480c7a411a91b125ab1d1
/deb/openmediavault/usr/lib/python3/dist-packages/openmediavault/datamodel/datamodel.py
c25bf348fca4181454ad38ac5f9f7141e39083bb
[]
no_license
zys1310992814/openmediavault
8e73ccd66fefaddd03385834137887614726812c
337f37729783d9bf3a08866c0dbc8b25c53b9ca3
refs/heads/master
2020-04-20T14:18:57.505953
2019-02-02T15:18:07
2019-02-02T15:18:07
168,894,447
1
0
null
2019-02-03T00:41:55
2019-02-03T00:41:55
null
UTF-8
Python
false
false
3,163
py
# -*- coding: utf-8 -*- # # This file is part of OpenMediaVault. # # @license http://www.gnu.org/licenses/gpl.html GPL Version 3 # @author Volker Theile <volker.theile@openmediavault.org> # @copyright Copyright (c) 2009-2018 Volker Theile # # OpenMediaVault is free software: you can redistribute it and/or modify #...
[ "votdev@gmx.de" ]
votdev@gmx.de
8e7c9117b9b08ed4a03b43f4ae8a2a8d9daa1d19
ef4f9cfca5cc0fbeb5ac6547d607bd51c52d53cc
/UnityPy/EndianBinaryReader.py
a85fc05e554a4f5d912a0af360ccb2cc9e4d1324
[ "MIT" ]
permissive
l3iggs/UnityPy
c1fe52719990817c00232834d9436dfb6a70ee57
01822260261e395565f357b33d5dab35e1a847b3
refs/heads/master
2021-03-27T22:56:13.402044
2020-03-03T12:12:49
2020-03-03T12:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,950
py
import io import struct from .math import Color, Matrix4x4, Quaternion, Vector2, Vector3, Vector4, Rectangle class EndianBinaryReader: endian: str Length: int Position: int stream: io.BufferedReader def __init__(self, input_, endian='>'): if isinstance(input_, (bytes, bytearray)): self.stream = io.BytesIO...
[ "rkolbe96@gmail.com" ]
rkolbe96@gmail.com
81371c236c1b31b828834065ba1f4590cc065578
91948d5be26636f1f2b941cb933701ea626a695b
/problem002_uber_product.py
43dee7ed290c090339c4cb64d1c47645fbcbabf7
[ "MIT" ]
permissive
loghmanb/daily-coding-problem
4ae7dd201fde5ee1601e0acae9e9fc468dcd75c9
b2055dded4276611e0e7f1eb088e0027f603aa7b
refs/heads/master
2023-08-14T05:53:12.678760
2023-08-05T18:12:38
2023-08-05T18:12:38
212,894,228
1
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
''' This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i. For example, if our input was [1, 2, 3, 4, 5], the expected output would be [120, 60, 40, 30, 24]. If our inp...
[ "loghmanb@gmail.com" ]
loghmanb@gmail.com
9186c66a5e468ddac1f6938a4ca7a42f605deadf
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/servicefabricmesh/v20180701preview/get_volume.py
bf1e34036b579879a38e2e8ba7e5a4239246a83e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
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 from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
25854f44a5cc291fbdd5dfec90ae8bea919c44ef
201356e09fb6dd82d36ed5b93b08a29482b68fb2
/HD - Intro/Task 20/example.py
ddb49c8255c3ccf527b2f2d8dfdf08f3094bf33d
[]
no_license
M45t3rJ4ck/Py-Code
5971bad5304ea3d06c1cdbd065941271c33e4254
32063d149824eb22163ea462937e4c26917a8b14
refs/heads/master
2020-04-08T05:03:44.772327
2018-11-26T06:41:03
2018-11-26T06:41:03
159,044,079
1
0
null
null
null
null
UTF-8
Python
false
false
5,058
py
#************* HELP ***************** #REMEMBER THAT IF YOU NEED SUPPORT ON ANY ASPECT OF YOUR COURSE SIMPLY LOG IN TO www.hyperiondev.com/support TO: #START A CHAT WITH YOUR MENTOR, SCHEDULE A CALL OR GET SUPPORT OVER EMAIL. #************************************* # *** IF YOU DID NOT INSTALL NOTEPAD++ AND PYTHON (...
[ "wavoges@gmail.com" ]
wavoges@gmail.com
ab9afc1e2ce503d83c3056e69b4288ec408dfa41
b7b7b9976a33d7eab9bd1ac0da89465ce38c20b9
/tests/0800_builder/03_get_globals.py
730a75c907d48e302eb80b7ed158156ae55b66eb
[ "MIT" ]
permissive
sveetch/Optimus
87070ae99890a2c69dc28d5582cd680cd7d516dc
983aebeccd2ada7a5a0ab96f9296d4bba1112022
refs/heads/master
2021-10-12T00:11:33.012608
2021-10-09T22:54:29
2021-10-09T22:54:29
6,760,885
2
1
null
2013-12-16T18:08:42
2012-11-19T13:39:29
Python
UTF-8
Python
false
false
1,572
py
import os from optimus.pages.builder import PageBuilder def test_get_globals(minimal_basic_settings, fixtures_settings, caplog): """ Context should be correclty filled with context globals (SITE shortcut, settings, optimus version) """ projectdir = os.path.join(fixtures_settings.fixtures_path, "b...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
49e638f83de804b23bbf4d3eeae59f14e094fe55
641f6cc8f956b8c318b9d438e31ada4b6ebc1b5f
/models/qa.py
2b1848e4b4adc5f78c9c9bdc5bb9bcf4ca74e13c
[ "Apache-2.0" ]
permissive
linkinpark213/quantization-networks-cifar10
61754f4beddc1da5c1b407c4e7880d54c172099c
7214733beed2f1d661633baadabdb300150b15b1
refs/heads/master
2022-12-05T19:34:41.656292
2020-08-09T06:46:23
2020-08-09T06:46:23
286,180,844
9
3
null
null
null
null
UTF-8
Python
false
false
7,469
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # qa.py is used to quantize the activation of model. from __future__ import print_function, absolute_import import torch import torch.nn as nn from torch.nn.parameter import Parameter from torch.autograd import Variable import numpy as np from utils.cluster import params_...
[ "linkinpark213@outlook.com" ]
linkinpark213@outlook.com
8c33daabcaf0a5c55bd5b54898f7859bf4bdf18e
898e263e9264804df750fe24cc767e08856c9e09
/storage/cloud-client/storage_get_metadata.py
e146e9321ad0dcce46c51ef75daccb4cf14ce381
[ "Apache-2.0" ]
permissive
HoleCat/echarlosperros
98da28d0fc76c57459ce4c9a53c89e62c350f754
b67460de0467e05b42a763c4430b26ecfd97c2aa
refs/heads/main
2023-01-21T15:29:13.091406
2020-12-03T01:33:00
2020-12-03T01:33:00
318,039,531
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
#!/usr/bin/env python # Copyright 2019 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "201602035x@gmail.com" ]
201602035x@gmail.com
7b8b55dc7677f2959a75c9ee3e91b6b7e9a29037
d00e29c27d4d4cccbee8f3923d2d837a2d04eedb
/sush_utils/simpleFlask.py
ec4e06723bfd911d8136e309d7c2e9cc7c4b7c6b
[]
no_license
sush80/switcherPy
23bfa054f0ed4ab636c5fd69ac70dd28a957747f
6098431bf526a7ca46d659d73bb859d9fa163f5a
refs/heads/master
2021-07-25T02:40:11.107318
2018-11-17T18:30:33
2018-11-17T18:30:33
112,855,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
from flask import Flask try: from sush_utils.sush_utils import system_uptime #import if this file is a lib except: from sush_utils import system_uptime #import fallback if file runs locally def start_simple_flask_not_returning(): app = Flask(__name__) @app.route('/') def hello_world(): up...
[ "you@example.com" ]
you@example.com
a42bb018ff03bfd9a53342898564db3d33b7a2af
9f2450da1c4fd7844e0e162a94c7edb53c27fe72
/wm_compositional/assembly.py
5cbdd69811fa36d2496a095452a9adb6fafe4cc5
[]
no_license
sorgerlab/indra_apps
6626a06dad9e7f820c71d7e03bdf42a6308746cc
3f20ca3f7b3855636607c63b1956c404bfe1b16e
refs/heads/master
2021-06-11T02:00:28.866305
2021-04-26T01:33:41
2021-04-26T01:33:41
128,094,623
1
8
null
2021-04-26T01:29:05
2018-04-04T17:10:11
Jupyter Notebook
UTF-8
Python
false
false
5,614
py
import os import glob import tqdm import logging from indra.sources import eidos, hume, cwms, sofia from indra.statements import Influence, Event from indra.tools import assemble_corpus as ac from indra.ontology.world.ontology import WorldOntology from indra.pipeline import register_pipeline, AssemblyPipeline from indr...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
b49b0aa10664dfb2a463c9db9a3ee3391a1bb550
edd72c118fdca69cc58b6a85ac1b0f153f44d2f8
/ruts/datasets/dataset.py
3c7cf834387bd5281f7957adabb42f192ff10053
[ "MIT" ]
permissive
webprogrammer77/ruTS
7e459561aefd31ab1c0cfdc6503c9e90ea3392c7
c3c95f99162115ea2c522ee7b90cfc1ee7de91e5
refs/heads/master
2022-12-12T11:12:01.423729
2020-09-04T14:08:21
2020-09-04T14:08:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
from abc import ABCMeta, abstractmethod from typing import Any, Dict, Generator class Dataset(object, metaclass=ABCMeta): """ Абстрактный класс для работы с набором данных Аргументы: name (str): Наименование набора данных meta (dict): Справочная информация о наборе данных Методы: ...
[ "kouki.sergey@gmail.com" ]
kouki.sergey@gmail.com
dbb50044dbe2f11200f23c22e4710f8b05fe4a41
97676f59bdd398f00bc0939c40a30c1f07e523c6
/course-files/lectures/lecture11/answers/03_give_grade.py
a105e0a34f90cb9671110df7c99d3182aa0e2b81
[]
no_license
eecs110/fall2020
db1b0f9036f9a0036ff5cc6ba5c30ba6fa5cffed
81363c4f1c192f8366456a44df8988298809146b
refs/heads/master
2023-01-29T05:49:36.452055
2020-12-02T20:58:43
2020-12-02T20:58:43
289,575,477
1
3
null
null
null
null
UTF-8
Python
false
false
436
py
def give_grade(score): if score >= 90: return 'A' elif score >= 80: return 'B' elif score >= 70: return 'C' elif score >= 60: return 'D' else: return 'F' print('65:', give_grade(65)) print('99:', give_grade(99)) print('84:', give_grade(84)) print('76:', give_g...
[ "vanwars@gmail.com" ]
vanwars@gmail.com
4f82a4e97672d4f0c016b0d1b25590076f38187a
847177b00a6d28a075b57f29ae37a3da7d9ce823
/setup.py
d28ffb184f2b7fe85e528e37e1565693800c8b3b
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
pcdshub/recordits
3faccfb76b3fdcabd575e21da3d6c81079b2daf0
c89f6b59accd430f26ea38b1660f74350be8aa37
refs/heads/master
2021-11-12T10:33:25.038276
2021-10-29T16:56:22
2021-10-29T16:56:22
235,641,592
0
2
NOASSERTION
2021-04-15T18:27:18
2020-01-22T18:48:04
Python
UTF-8
Python
false
false
2,101
py
import sys from os import path from setuptools import find_packages, setup import versioneer min_version = (3, 6) if sys.version_info < min_version: error = """ recordits does not support Python {0}.{1}. Python {2}.{3} and above is required. Check your Python version like so: python3 --version This may be due...
[ "klauer@slac.stanford.edu" ]
klauer@slac.stanford.edu
96f253385c98c35544ec68f6785f80678b6acdea
4bd5e9b67d98bfcc9611bd8b774c9ab9f4f4d446
/Python基础笔记/3/作业3/1.py
d2a733ff528865f5b1eea2cad44364b041c4a977
[]
no_license
zhenguo96/test1
fe21510aea7feb674e52fd7a86d4177666f841c5
0d8de7e73e7e635d26462a0bc53c773d999498be
refs/heads/master
2020-05-03T13:09:53.592103
2019-04-06T07:08:47
2019-04-06T07:08:47
178,646,627
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# 1.根据(1-7)的数值不同。打印对应的星期英文 day = float(input("请输入1-7中的一个数:")) if day == 1: print("Monday") elif day == 2: print("Tuesday") elif day == 3: print("Wednesday") elif day == 4: print("Thursday") elif day == 5: print("Friday") elif day == 6: print("Saturday") elif day == 7: print("S...
[ "1148421588@qq.com" ]
1148421588@qq.com
204e935385d1c4510ae07351fb087e2c6b689276
6e25c7af9e1b9e5905ae9e839ff6f3f8fd4ed221
/video_auto/二次剪辑/util/img_utils.py
bfebc3947b9e25a1f0635e409084a269d56eb759
[ "Apache-2.0" ]
permissive
roceys/tools_python
8dc6f2d21b68f682eec412beb56524e7d72d194c
9c8d5c1c7c1ae4a4c857a65f5b5f14da1c90e425
refs/heads/master
2023-01-05T06:18:50.411999
2020-11-01T18:02:37
2020-11-01T18:02:37
271,776,767
0
0
Apache-2.0
2020-11-01T18:02:38
2020-06-12T10:58:36
null
UTF-8
Python
false
false
1,431
py
#!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: xag @license: Apache Licence @contact: xinganguo@gmail.com @site: http://www.xingag.top @software: PyCharm @file: img_utils.py @time: 2019-12-25 14:23 @description:图片工具类 """ import cv2 from moviepy.video.VideoClip import ImageClip from m...
[ "xinganguo@gmail.com" ]
xinganguo@gmail.com
850c8eb11111bbb5c8b00fe7fb4a184d18a91817
cc8dd1bf3ff193e24e636ef6aad54ce18e831270
/进程和线程/进程/文件拷贝.py
49ee1a03b083346d1c86568287e7ba80e75bb3c5
[]
no_license
RelaxedDong/python_base
c27cbc1c06914826d3287dae46a9fe0dd2bff7b0
7f865c7d5bdb6454f3b20cd899dbaf19092fb360
refs/heads/master
2022-01-08T12:43:58.851895
2019-04-24T03:17:13
2019-04-24T03:17:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
#encoding:utf-8 import os import time def Copyfile(path,topath): pr = open(path,'rb') pw = open(topath,'wb') context = pr.read() pw.write(context) pr.close() pw.close() from multiprocessing import Process,Pool if __name__ == '__main__': path = r'E:\pycharm_pro\基础文件\tkinter' rofile = r...
[ "1417766861@qq.com" ]
1417766861@qq.com
de8b9176832903430ba8a05a2215df9f4216345b
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20210426/example_python/05fake.py
50aa749d0e3b91197180026ae281b1887a96409f
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
5,605
py
import asyncio import logging import itertools import sys import time from functools import partial logger = logging.getLogger(__name__) debug = True logging.basicConfig( level=logging.INFO, format="%(relativeCreated)-10d" + logging.BASIC_FORMAT ) q = asyncio.Queue() loop = asyncio.get_event_loop() ev = asyncio....
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
87b0b6633115e323d2d9df2d3cafe146cffbe018
bf769a3a3935a8e08f11fdf606f2e2e2bc6a5307
/PyQt/chapter06_layout_management/qt06_vboxLayout.py
707632895a91fb55826d20bc92403902d0124a20
[]
no_license
metanoia1989/QTStudy
b71f2c8cf6fd001a14db3f1b5ece82c1cc7f7a93
29465c6bb9fc0ef2e50a9bf2f66d996ecbd086c0
refs/heads/master
2021-12-25T16:50:26.915441
2021-10-10T01:26:14
2021-10-10T01:26:14
193,919,811
3
2
null
2021-01-25T09:23:30
2019-06-26T14:22:41
HTML
UTF-8
Python
false
false
856
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QPushButton from PyQt5.QtCore import Qt class Winform(QWidget): def __init__(self, parent=None): super(Winform, self).__init__(parent) self.setWindowTitle("水平布局管理例子") s...
[ "sogaxili@gmail.com" ]
sogaxili@gmail.com
2b689a5b3c3d0097066a25f9ba2cfac34a59247f
7b60c68ddda39ef82f5d49404bbcf62cc83e4860
/crawl/beautifuksoup_css_mu.py
4289b4574115bb7d8aa6ac2ca49f2c85612e9e95
[]
no_license
joycejhang/learningml
da802e0ab9cfb6cce89791561870c0078cfaaaf9
884ed0541bcb257bb82e77c126ab77c927fe9add
refs/heads/master
2020-04-22T15:04:58.445844
2019-07-04T11:31:03
2019-07-04T11:31:03
170,466,049
1
0
null
null
null
null
UTF-8
Python
false
false
524
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 28 11:03:06 2018 @author: Joyce """ from bs4 import BeautifulSoup from urllib.request import urlopen # if has Chinese, apply decode() html = urlopen("https://morvanzhou.github.io/static/scraping/list.html").read().decode('utf-8') #print(html) soup = Beautif...
[ "noreply@github.com" ]
joycejhang.noreply@github.com
93726b81910c6ad643b0e87010087cf632f63008
116967cd9f326d74a83c7ce01a826e1a83265ade
/nilearn/nilearn/_utils/logger.py
c7b48108880aadb0fd7d07ea94dba256dda0952f
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
bcipolli/nilearn-RSA
f73ea5e04ac94c0c2d4c7ac5f5219779a3067596
0ac8595c1ce3e44b6b5ec25d1906f558088ab297
refs/heads/master
2020-04-15T04:01:37.084977
2015-08-15T17:35:22
2015-08-15T17:35:22
31,421,013
4
2
null
null
null
null
UTF-8
Python
false
false
3,467
py
"""Logging facility for nilearn""" # Author: Philippe Gervais # License: simplified BSD import inspect from sklearn.base import BaseEstimator # The technique used in the log() function only applies to CPython, because # it uses the inspect module to walk the call stack. def log(msg, verbose=1, object_classes=(Base...
[ "bcipolli@ucsd.edu" ]
bcipolli@ucsd.edu
4077521437b981d8ff9757c2997464dde7df70b1
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-cbr/huaweicloudsdkcbr/v1/model/create_vault_request.py
2a2804e36925be33e00569a4aee8d8ffd6fbc9bc
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateVaultRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
57eb43417bd20b75f6c126e37b186c8b79cdad4c
1e6e3bb707920fdb01ebca23eaf81097c558d918
/openslides_backend/action/actions/theme/create.py
cfc24dfc000b85bd1c397ed32265f40dd3f2792e
[ "MIT" ]
permissive
OpenSlides/openslides-backend
cbd24589f82a6f29bde02611610511870bb6abbf
d8511f5138db4cc5fe4fa35e2a0200f766bd49c5
refs/heads/main
2023-08-23T11:54:25.064070
2023-08-22T11:15:45
2023-08-22T11:15:45
231,757,840
6
22
MIT
2023-09-14T16:23:41
2020-01-04T12:17:38
Python
UTF-8
Python
false
false
1,802
py
from typing import Any, Dict from ....action.mixins.archived_meeting_check_mixin import CheckForArchivedMeetingMixin from ....models.models import Theme from ....permissions.management_levels import OrganizationManagementLevel from ....shared.util import ONE_ORGANIZATION_ID from ...generics.create import CreateAction ...
[ "noreply@github.com" ]
OpenSlides.noreply@github.com
efc7e0e6f4eeae2a0226ec1569a0cea893878697
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/csrc_reply_20210204142902.py
e86cb08dbc1e87888c905e9f2d8605734a986bf1
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : csrc_reply.py @Time : 2021/02/04 14:14:51 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' # 证监会发行监管部首次公开发行反馈意见爬虫 from bs4 import BeautifulSoup from urllib.parse...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
d23facb8aa301aa21a5529a832694e258dc33e2e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_138/ch82_2020_04_11_22_11_44_249634.py
5db60cc74f33a51436b8f74d6967226febdf2be1
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
def primeiras_ocorrencias(string): dicionario={} i=0 for a in string: if a not in dicionario: dicionario[a]=i i+=1 else: i+=1 return dicionario
[ "you@example.com" ]
you@example.com
2e7c9b3525bfa87a6aabdb81158e2cb030a87cbb
2f9dd97f4b6f8bf164d8550b46bfe6313dc84c6c
/src/pmr2/bives/view.py
dd8eb581ac9f986ad1333cf04a74064e6054d2fd
[]
no_license
PMR2/pmr2.bives
89ec960283883e218c9b35455a84ac1ad46e57c0
d9273df7a8eb97d707ca14eeab6def3a5d01df3f
refs/heads/master
2021-05-15T02:27:09.348400
2020-01-17T01:53:31
2020-01-17T01:54:37
34,535,404
0
0
null
null
null
null
UTF-8
Python
false
false
3,156
py
import json import requests import zope.component from zope.browserpage.viewpagetemplatefile import ViewPageTemplateFile from plone.registry.interfaces import IRegistry from pmr2.z3cform.page import SimplePage from pmr2.app.workspace.browser.browser import FilePage from .interfaces import ISettings registry_prefix ...
[ "tommy.yu@auckland.ac.nz" ]
tommy.yu@auckland.ac.nz
953907553899b6a1d9fd87afa1c6f70dd6cc6f31
589b5eedb71d83c15d44fedf60c8075542324370
/stock/stcok_pool.py
e618017842cb50e51927821649c22bb60a2cee4e
[]
no_license
rlcjj/quant
4c2be8a8686679ceb675660cb37fad554230e0d4
c07e8f0f6e1580ae29c78c1998a53774a15a67e1
refs/heads/master
2020-03-31T07:15:48.111511
2018-08-27T05:29:00
2018-08-27T05:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import pandas as pd from quant.param.param import Parameter from datetime import datetime from WindPy import w w.start() class StockPool(object): """ 下载和得到当前所有的股票池 load_all_stock_code_now get_all_stock_code_now """ def __init__(self): self.name = "All_Stock_Code" self.load_o...
[ "1119332482@qq.com" ]
1119332482@qq.com
fd35c54e1fa82f624c63b4fa96fc49e7a4b26b09
9f112cd0aeb1447dee06ded576d99b61701cbdc3
/ec-backend/src/ad/urls.py
a8546f87a5cd8ac17f23da1a35b3ed6db41309d3
[]
no_license
ForeverDreamer/embarrassment-cyclopedia
44e13fbd7210ebc634d0fbab321c0f4598072ff3
f69bc88a6a8e734cbb3d37ab173f557708653789
refs/heads/master
2023-01-10T17:20:44.181077
2020-07-15T03:20:27
2020-07-15T03:20:27
206,903,622
0
0
null
2023-01-07T09:30:23
2019-09-07T02:22:09
JavaScript
UTF-8
Python
false
false
251
py
from django.urls import path from .views import ( AdInfoListView, AdInfoDetailView, ) urlpatterns = [ path('', AdInfoListView.as_view(), name='adinfo-list'), path('<str:pk>/', AdInfoDetailView.as_view(), name='adinfo-detail'), ]
[ "499361328@qq.com" ]
499361328@qq.com
9dfeb0a328d15d9455aa51f046ccdb764f5f44c2
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_attr_set_eval_order-228.py
a511e83aab6b4ea3a1fa28424a3b776260bdc205
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
class A(object): a:int = 42 class B(A): b:bool = True def __init__(self:"B"): print("B") a:A = None b:B = None def get_b() -> B: print("Getting B") return b def get_one() -> int: print("Getting 1") return 1 def get_false() -> bool: print("Getting False") return False a...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
70b6f7ab540eaa8dcf83f872958f371a9adeaaac
59da45955862686374e438b5367978856df7c284
/component_services/metadata_searcher_service/metadata_search_service.py
85492def977c190d6dd8568d7baf1a6f47ed24ee
[]
no_license
nguyentran0212/IoTSE-prototypes
04531fb3a8d14d1eaa5eba712c773bd7531fd04d
3c9dde27cf1818fbf74508520eec3f35778f60f5
refs/heads/master
2021-09-20T10:48:47.330873
2018-08-08T08:20:46
2018-08-08T08:20:46
116,230,859
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jan 3 13:22:31 2018 @author: nguyentran """ from ISEPLib.abstract_services import AbsSearcherService import ISEPLib.entity as entity import redis import pickle from pymongo import MongoClient from pprint import pprint class SearcherService(AbsSearcher...
[ "nguyen.tran@adelaide.edu.au" ]
nguyen.tran@adelaide.edu.au
2546e39b763ccbbb1261c64dc52b2e08d7bbb98a
2d34a6033884b22e41588c82ebe657546aef07c7
/project/blog/models.py
bd36137f7fcbaa6e71aa0e0c0466252f28047d4d
[]
no_license
alifanov/jbm_boilerplate
73c6c5f394f20a851e860328847d2ac45a174d6f
7012885dbf1455c2ca2abf849bd36685c4a58286
refs/heads/master
2020-04-03T16:18:35.760013
2018-11-21T09:48:11
2018-11-21T09:48:11
155,399,665
1
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
from django.db import models from django.dispatch import receiver from channels.layers import get_channel_layer from asgiref.sync import async_to_sync class TimeItem(models.Model): created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) class Meta: a...
[ "lifanov.a.v@gmail.com" ]
lifanov.a.v@gmail.com
b727cabcd9bd3806c071a7cd260842269b8aba0a
fa7e75212e9f536eed7a78237a5fa9a4021a206b
/MASIR/python/masir/utils/webprivacy_gather.py
1cc02f6f1aa6fb7dd5e9c09160e708d3db64575e
[]
no_license
kod3r/SMQTK
3d40730c956220a3d9bb02aef65edc8493bbf527
c128e8ca38c679ee37901551f4cc021cc43d00e6
refs/heads/master
2020-12-03T09:12:41.163643
2015-10-19T14:56:55
2015-10-19T14:56:55
44,916,678
1
0
null
2015-10-25T15:47:35
2015-10-25T15:47:35
null
UTF-8
Python
false
false
2,728
py
# coding=utf-8 import bson import datetime import logging import os import urllib2 from masir.utils.SimpleBoundingBox import SimpleBoundingBox def wp_gather_image_and_info(output_dir, db_collection, region_bbox): """ Gather the imagery and metadata (as BSON) from the webprivacy database to an output dir...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
e1dee49a14067807a2a659197ce76a63a98252dd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/68/19112/submittedfiles/funcoes.py
ba6a46880a5b2a250478615ce64169b4cf2b8ded
[]
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
1,018
py
# -*- coding: utf-8 -*- from __future__ import division #Fatorial def fatorial (m): m_fat=1 for i in range (2,m+1,1): m_fat=m_fat * i return m_fat #Pi def calculaPi (m): soma_pi=0 j=2 for i in range (0,m,1): if i%2==0: soma_pi=soma_pi+(4/(j*(j+1)*(j+2))) else...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d2807766442c8de2ee23a2b0a79a5f75b3617f38
c98b383eeef0e7c12504270fe92071569fec9736
/testMe/testone/tests.py
24714ddf88517e0cfc1a201200d9e36cd5ef85fd
[ "MIT" ]
permissive
MyHiHi/test
088048117346b81f7c51fadc00cce4d3f21496ac
0cedfbbfad53021569faef933b9fdff20e897617
refs/heads/master
2020-03-09T02:10:03.949154
2019-06-12T09:44:42
2019-06-12T09:44:42
128,533,935
2
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
from django.test import TestCase import requests def get_json(url): headers = { "Host": "www.lagou.com", "Connection": "keep-alive", "Origin": "https://www.lagou.com", "X-Anit-Forge-Code": "0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gec...
[ "909535692@qq.com" ]
909535692@qq.com
6d5d099a2907453a5c13a6219c0d42b982c456a3
480e33f95eec2e471c563d4c0661784c92396368
/CondTools/Ecal/python/copyTrivial_orcoff_LaserOnly.py
f1755f2e56183685dce9bf8a0127949e8bcbb272
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,360
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") process.EcalTrivialConditionRetriever.laserAPDPNTime1 = cms.untracked.string('0') process.EcalTrivialConditionRetriever.laserAPDPNTime2 = cms.untracked.string('1')...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
3c2e2d353cbbce71f6839c272c8aec8f4b16215a
76e931912629c37beedf7c9b112b53e7de5babd7
/3-mouth04/day03/mysite3/bookstore/migrations/0002_auto_20210110_1743.py
6150a4cd907207df18066c991e6c09691c209a1c
[ "Apache-2.0" ]
permissive
gary-gggggg/gary
c59ac21d8e065f296ff986d11a0e4cbf186a1bc4
d8ba30ea4bc2b662a2d6a87d247f813e5680d63e
refs/heads/main
2023-02-23T06:54:34.500683
2021-02-01T10:17:02
2021-02-01T10:17:02
334,905,744
4
0
null
null
null
null
UTF-8
Python
false
false
623
py
# Generated by Django 2.2.12 on 2021-01-10 09:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookstore', '0001_initial'), ] operations = [ migrations.AddField( model_name='book', name='market_price', ...
[ "673248932@qq.com" ]
673248932@qq.com
d348aca8174320a1d59058b5bb76e9b425f38c2d
eed93ecbb01acb180085bed4960a4b2fd4a2322d
/wishbook/models.py
372decb65cb08595289fd1a8658a2716acd51846
[]
no_license
srakrn/happyearthday
beb8a52cdc73a19b48143e43154feaacf4ac174a
0da2fd4ac31db1a7df13f12c78c65db641d13794
refs/heads/master
2022-05-17T19:33:00.219871
2021-06-10T10:24:22
2021-06-10T10:24:22
254,112,489
0
1
null
2022-04-22T23:22:12
2020-04-08T14:33:55
Python
UTF-8
Python
false
false
560
py
from django import forms from django.db import models # Create your models here. class Wish(models.Model): wish_text = models.CharField(verbose_name="ข้อความอวยพร", max_length=240) wish_owner = models.CharField(verbose_name="ชื่อผู้อวยพร", max_length=50) shown = models.BooleanField(default=True) crea...
[ "tanersirakorn@gmail.com" ]
tanersirakorn@gmail.com
825e7a1384caaa635209d8fbde10c2ebc6fb3172
12485bb945ab8af6ff6a5f3d9d4c542a7bcf95f8
/server/src/uds/core/util/decorators.py
1996f00746c892461214b269ffa03dfe7a9366ad
[]
no_license
morfeuj/openuds
6ef0c4bed624def0090efa6abdd2600b9be81a8b
26e429019e5fe5b01ee1a476c879d8f8333b0ab0
refs/heads/master
2020-12-15T15:11:33.598430
2020-01-20T16:42:33
2020-01-20T16:42:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,264
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012-2019 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright noti...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
98ae6996aa0b587767198da68169589e426738f7
0be27c0a583d3a8edd5d136c091e74a3df51b526
/reverse_each_word_except_first_and_last.py
27fcc10079794e2ac868b8e8a9287aad8791a631
[]
no_license
ssangitha/guvicode
3d38942f5d5e27a7978e070e14be07a5269b01fe
ea960fb056cfe577eec81e83841929e41a31f72e
refs/heads/master
2020-04-15T05:01:00.226391
2019-09-06T10:08:23
2019-09-06T10:08:23
164,405,935
0
2
null
null
null
null
UTF-8
Python
false
false
171
py
s=input() l=list(s.split(" ")) a=[l[0]] for i in range(1,len(l)): if i==len(l)-1: a.append(l[-1]) else: c=l[i] b=c[::-1] a.append(b) print(" ".join(a)) #reverse
[ "noreply@github.com" ]
ssangitha.noreply@github.com
d16a62c88c77fdb893b4269bd3894ff2bf460ba0
02255565aff9ea18a4d566955cc53ca06090efa4
/python_django.py
cf4625e4823034de98520ac80998d9c35978e234
[]
no_license
BrainiacRawkib/Practical-Python-for-Begineers
20a8a3697812bed78646c6af54a6dc195694109a
cb29ea1a38339fcf2fac005feb92b5a72ae98387
refs/heads/master
2020-12-01T09:10:06.802758
2019-12-28T15:27:40
2019-12-28T15:27:40
230,598,655
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
from django.db import models class Student(models.Model): FRESHMAN = 'FR' SOPHOMORE = 'SO' JUNIOR = 'JR' SENIOR = 'SR' YEAR_IN_SCHOOL_CHOICES = ( (FRESHMAN, 'Freshman'), (SOPHOMORE, 'Sophomore'), (JUNIOR, 'Junior'), (SENIOR, 'Senior'), ) year_in_school = mod...
[ "brainiacrawkib@gmail.com" ]
brainiacrawkib@gmail.com
abe8566f63107cd5f40e1645166a83765b1cfed1
f6b1db8c0503a292f6a1da31800269e0bb5f39bd
/web_flask/5-number_template.py
431a96556f0e1ae94db91f4d1e262f0713d039f8
[]
no_license
arleybri18/AirBnB_clone_v2
142883fde2629c7eb75dddc8e4375a9ca1714555
111cabf15cadba09f018b2fe359eec68495035dc
refs/heads/master
2020-07-07T03:44:31.456739
2019-09-09T15:16:55
2019-09-09T15:16:55
203,235,771
0
0
null
2019-08-19T19:21:54
2019-08-19T19:21:54
null
UTF-8
Python
false
false
1,069
py
#!/usr/bin/python3 """ Import flask class """ from flask import Flask, render_template app = Flask(__name__) @app.route('/') def hello(): """ Function to handle request """ return 'Hello HBNB!' @app.route('/hbnb') def hello_hbnb(): """ Function to handle request to path /hbnb """ return 'HBNB' @ap...
[ "arleybri18@gmail.com" ]
arleybri18@gmail.com
178f94e8e5286eb5012579f4c8562e0b113ac483
5a1cb546cb5132cc98e8a08acc6233540bc2dd34
/forms.py
2ea5dd93c573fdf1bc0e5fea25e98bbc4f5492d8
[]
no_license
RitikaSingh02/ChitChat
75cf19e00ce6c12a35cc081e55c4e0b378ee3347
9575daf0e61ba2f20797dfadf6ba246470dafbe0
refs/heads/master
2023-05-23T21:21:25.138134
2021-06-20T19:00:43
2021-06-20T19:00:43
378,376,078
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from wtforms.validators import InputRequired, Length, EqualTo, ValidationError from models import User def invalid_credentials(form, field): """ Username and password checker """ password = field.data username = form.usernam...
[ "ritika2002singh@gmail.com" ]
ritika2002singh@gmail.com
7ddbd53246a76a75ab59a084952c7bcf676d9df6
769843f3cb57b9a0e1c68d02637b881bd43a103b
/nanodet/model/arch/gfl.py
b39eb616f9a7f0d17203d726452db6c449690856
[]
no_license
CaptainEven/MyNanoDet
9de3165ff14140eeabb362e793d8903f93cfdf77
9f5e5835bff8854d8d8c0041a7b3288ab017d7b6
refs/heads/master
2023-02-11T13:12:59.651520
2021-01-06T06:52:11
2021-01-06T06:52:11
319,273,525
3
0
null
null
null
null
UTF-8
Python
false
false
524
py
from .one_stage import OneStage class GFL(OneStage): def __init__(self, backbone_cfg, fpn_cfg, head_cfg, ): """ :param backbone_cfg: :param fpn_cfg: :param head_cfg: """ super(GFL, self).__init__(backbone_cfg, ...
[ "765305261@qq.com" ]
765305261@qq.com
db47d5fc38a06024d4c392f065371e46135a7707
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03608/s871426346.py
ab335095f513950ba52948b0a955d92571997d3a
[]
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
514
py
from scipy.sparse.csgraph import floyd_warshall import numpy as np from itertools import permutations, combinations n,m,R = map(int,input().split()) r=list(map(int,input().split())) for i in range(R): r[i]-=1 d = np.zeros((n,n)) # 入力 for i in range(m): a,b,c = map(int,input().split()) a,b = a-1, b-1 d[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8442183c9909a042b13be80ea1fe9cd51b162c5e
fb64776f71eb2a469395a39c3ff33635eb388357
/apps/accounts/tests/unit/services/test_session_service.py
18ae5c6a9b811a936437f0a623fdd3f5404cbe91
[ "MIT" ]
permissive
jimialex/django-wise
ec79d21c428fd1eea953362890051d2120e19f9e
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
refs/heads/master
2023-04-30T20:59:51.625190
2021-05-10T06:55:40
2021-05-10T06:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,101
py
# -*- coding: utf-8 -*- import json import pytest import requests_mock from doubles import allow from google.oauth2 import id_token from rest_framework import status from apps.accounts.models import User from apps.accounts.api.error_codes import AccountsErrorCodes from apps.contrib.api.exceptions.base import APIBase...
[ "vicobits@gmail.com" ]
vicobits@gmail.com
4699ac187da996ef09de31aa7def4cdc34852f34
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/help.py
0fc91d3eca0088a241bd20d9a83259c5cb961425
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,379
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
56d9545172d93dc81f00b75c4467ced42d10d46d
5e0de59693445ef463e8c6a8c05876aa9d975e9a
/student/views.py
cbd41d5ec89b0e3f8c2689c6ddd658b403c5ec6b
[]
no_license
ZhonggenLi/Student-Management-Web-
e511691f4d625e80b5f4460dce7c13788faffd14
f5a5c30d171a182abe660bccd2c407d3f6ccf7b4
refs/heads/master
2022-12-02T08:05:43.493136
2020-08-09T02:00:19
2020-08-09T02:00:19
285,771,013
0
3
null
null
null
null
UTF-8
Python
false
false
4,785
py
from django.shortcuts import render from django.http import HttpResponse from django.db import models from student.models import Student from django.views.decorators.csrf import csrf_exempt from django.shortcuts import redirect # Create your views here. @csrf_exempt def insert(request): if request.POST: ...
[ "you@example.com" ]
you@example.com
2c5e7974069afe82223007f602552e7aa63c0b86
f810836bea801f2fa85418ac7f5f5ffb0f3e0bda
/abc/abc107/B - Grid Compression.py
81b610852a92bc42137f84cad2c058bfd44c6c07
[]
no_license
cocoinit23/atcoder
0afac334233e5f8c75d447f6adf0ddf3942c3b2c
39f6f6f4cc893e794d99c514f2e5adc9009ee8ca
refs/heads/master
2022-08-29T06:01:22.443764
2022-07-29T07:20:05
2022-07-29T07:20:05
226,030,199
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
h, w = map(int, input().split()) grid = [] for i in range(h): temp = list(input()) if set(temp) != {'.'}: grid.append(temp) transpose = [list(x) for x in zip(*grid)] ans = [] for l in transpose: if set(l) != {'.'}: ans.append(l) ans = [list(x) for x in zip(*ans)] for l in ans: print(...
[ "cocoinit23@gmail.com" ]
cocoinit23@gmail.com
23d42de74d03b489f2e51fe784d08a6877779f89
6b7c93ee4dc224e3041cd3df8e1d8ab128144cb8
/dodo.py
27adb2c078501374359755278adfcebcf6302b9e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
philip-luk-tangent-anim/doit-py
df915b88d7d3e9964f2d1463d3255ae9c415f2da
500731ce25e89f327d190b7b8b3fc02bbd71c0f1
refs/heads/master
2022-09-08T08:44:06.172002
2020-05-24T12:35:05
2020-05-24T12:35:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
import glob import subprocess from doitpy.pyflakes import Pyflakes from doitpy.coverage import PythonPackage, Coverage from doitpy.package import Package from doitpy import docs DOIT_CONFIG = {'default_tasks': ['pyflakes', 'test']} def task_pyflakes(): flakes = Pyflakes() yield flakes.tasks('*.py') yie...
[ "schettino72@gmail.com" ]
schettino72@gmail.com
b98590e375b6fc48f66d64b21aa03c098ed29e85
c9d3b03512dc3b2d268d0e99560889226322487c
/ggH01j/cut_hww_7TeV/mH125bkg/shape.py
0fd39b064743c2b4a2496e9d1923046b12560d07
[]
no_license
latinos/DatacardsConfigurations
57f9d8707b3987de0491c66aa9533f9447cfb043
25827f8f8284d50d680ce1527e3b8c17c27d7c4a
refs/heads/master
2021-01-22T03:05:27.692914
2015-04-13T08:22:02
2015-04-13T08:22:02
14,419,053
0
1
null
null
null
null
UTF-8
Python
false
false
1,174
py
lumi=4.94 chans=['of_0j','of_1j', 'sf_0j', 'sf_1j'] # set of mc samples: 0j1j, vbf mcset='0j1j-mH125' dataset='Data2011' variable='mll' # remember, y:x selection='hww2011' # TTree::Draw style as in h(nx,xmin,xmax, ny,ymin,ymax) # shape range. can be an # - hard-coded label # - a tuple (nx,xmin,xmax) # - 2d tuple (nx...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
3a2c6507f4c805423f50e8689b45a9aa9f1b7965
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4342/codes/1764_1577.py
7620b15a0235fac3283e2333810c92277d214f4a
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
183
py
from numpy import * acel=array(eval(input("aceleracao:"))) vo=array(eval(input("velocidade inicial:"))) N=int(input("numero positivo?")) i=0 t=0 s=(((acel)*(t**2))/2)+ (vo*t) while()
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
c87505ef499af065bd826fc255a3323af1107f30
b503e79ccfca67c8114f5bd7a215f5ae993a0ba4
/airflow/security/permissions.py
983ebbd7f48ef4f41509dfb4a9f356808687fe2a
[ "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT" ]
permissive
github/incubator-airflow
df1d9780f862ea1df8261ea6015dd50a4583f983
73f70e00b9fd294057f8ca6b714a85622f6d5dd5
refs/heads/gh-2.0.2
2023-07-29T18:08:43.140580
2022-09-14T18:23:42
2022-09-14T18:23:42
80,634,006
24
27
Apache-2.0
2023-04-18T04:24:36
2017-02-01T15:34:55
Python
UTF-8
Python
false
false
2,390
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" ]
github.noreply@github.com
c2ae43c2b91dac46aa6f964347b09d8dd965258b
147d0863f4590649a90ea5f78c66974723a87247
/api/views.py
dd4ab9ddecab2559c7faf133dec1c6c30553d792
[]
no_license
jinchuika/ligabot
af5bd5443dc0df7d929e7b866869ba075c91db55
69544912e1ac46f281ba2fc78ff913d60d9a2a38
refs/heads/master
2021-01-20T12:50:32.894359
2017-05-08T14:07:47
2017-05-08T14:07:47
90,419,163
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
from django.db.models import Q from .serializers import MatchSerializer, TableSerializer, CompetitionSerializer, FixtureSerializer, TeamSerializer from rest_framework import mixins, generics, viewsets from api.api_request import RequestHandler from api.models import Competition, Fixture, Team class TeamMatchListView(...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com