blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
5c49d4ef1e8ec65c666469c3d1f5055e5808aa1e
63327e8feb2166ee49d92e874655fa8244cf4d4a
/astropy/wcs/wcsapi/conftest.py
bf89f8cb5ced72d84d11004ac7817ea5f11ffba3
[ "BSD-3-Clause" ]
permissive
bmerry/astropy
29c317f806138fd830f1b10fd5a33c98f09be6a0
437ef257f317c099613bbac78def59f7b011fa09
refs/heads/master
2023-02-14T15:35:38.246389
2020-06-24T12:09:21
2020-06-24T12:09:21
275,123,787
0
0
BSD-3-Clause
2020-06-26T09:53:11
2020-06-26T09:53:11
null
UTF-8
Python
false
false
3,958
py
import pytest import numpy as np from astropy.coordinates import SkyCoord from astropy.units import Quantity from astropy.wcs import WCS from astropy.wcs.wcsapi import BaseLowLevelWCS @pytest.fixture def spectral_1d_fitswcs(): wcs = WCS(naxis=1) wcs.wcs.ctype = 'FREQ', wcs.wcs.cunit = 'Hz', wcs.wcs.c...
[ "stuart@cadair.com" ]
stuart@cadair.com
5288343d98f93fa840d34d6794760c05753643ff
6a3992a6150e134e542407f0593a2b29a6135828
/recursion/recursion.py
d013796cad75bc54a5eb6357bc05943a5b2b65d6
[]
no_license
ravinaNG/python
a44ffa4bb6cf43d3b9da5e43476e52dc5e0ca764
0f12f22bebf9ebe1a6bfb4f12da9e10faa1abc36
refs/heads/master
2020-06-17T13:47:01.264850
2019-08-17T07:25:00
2019-08-17T07:25:00
195,941,952
1
0
null
null
null
null
UTF-8
Python
false
false
84
py
def sum1(n): if (n==0): return 0 return sum1(n-1) + n print sum1(6)
[ "ravina18@navgurukul.org" ]
ravina18@navgurukul.org
1b0c462d03f9dd859f73c4ff724cf7035687f484
50bec959bbddcb255efefeb7477c5c0193e74301
/workflowengine/workflowserializers/UserFlowSerializer.py
eea7302dd2c39ad02ee11d66e1ded5efc4d1e84d
[]
no_license
rupin/WorkflowEngine
bd7805f04c688967a92dfc5b5341b275ad798338
bf1c250ba69ac3b1cef4a5f2c4fe0ff46660db68
refs/heads/master
2022-04-26T10:43:09.868851
2020-05-24T10:10:42
2020-05-24T10:10:42
202,849,528
6
2
null
2022-04-22T23:16:38
2019-08-17T07:22:28
Python
UTF-8
Python
false
false
492
py
from workflowengine.models.UserFlowModel import UserFlow from rest_framework import serializers from workflowengine.workflowserializers.FlowSerializer import FlowSerializer from workflowengine.workflowserializers.CustomUserSerializer import CustomUserSerializer from django.conf import settings class UserFlowSerializer(...
[ "rupin.chheda@gmail.com" ]
rupin.chheda@gmail.com
f73af99cb6cc9e31bde95659d290c53144101545
aadad415f425b9f45fed14290235488a46687a4f
/2011/avanzato/trunk/relazione-labo-mmm/calibrazione/potenziometro_temperatura.py
89845915aeb14f920354c218967b218515af5abe
[]
no_license
enucatl-university/lab-unipd
c1fdae198ccc3af3f75ad07554e148427a9cc096
c197bb92f479913c1183375fa22fd1619e6bbad4
refs/heads/master
2023-08-15T01:59:55.502505
2016-11-11T19:20:13
2016-11-11T19:20:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
#!/usr/bin/env python #coding=utf-8 from __future__ import division, print_function import sys from math import sqrt from potenziometro_resistenza import PotenziometroResistenza from resistenza_temperatura import ResistenzaTemperatura class PotenziometroTemperatura: def __init__(self, fit_file, tabella_pt, p): ...
[ "gmatteo..abis@gmail.com" ]
gmatteo..abis@gmail.com
25879cfcf48bc23fda52ebd265166f73220dd9d7
3432efd194137e1d0cb05656eb547c9992229f02
/笔记/201711/星爷/day06/01test.py
7be1476cd30d75ce3fded67c775a8ec18be7a855
[]
no_license
zhanganxia/other_code
31747d7689ae1e91fcf3f9f758df130246e7d495
8d09d9d0b6d6a1a9b8755487f926ac6fafd761fa
refs/heads/master
2021-09-04T02:22:38.632685
2018-01-14T15:37:14
2018-01-14T15:37:14
107,007,482
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
def line_conf(a,b): def line(x): return a*x + b return line line1 = line_conf(1,1) line2 = line_conf(4,5) print(line1(5)) print(line2(5))
[ "kk@kk.rhel.cc" ]
kk@kk.rhel.cc
561b2d15b9611936240e066b5a95c425078ce872
577b7d942174a1b799e9020bf8cf8c1087ec150b
/flask_app/match_score.py
3dfcd4e50e6e9ebac1ca02559693042eef569a42
[]
no_license
Crazy-Ideas/ipl2021
35b92569ed41e58d98ad3f19bad42c1d92efde2b
6481126572437d00f804211f7982bde67af1f505
refs/heads/master
2023-07-17T10:50:25.448965
2021-09-04T04:23:31
2021-09-04T04:23:31
352,253,039
0
0
null
null
null
null
UTF-8
Python
false
false
8,661
py
from typing import Dict, List, Tuple from firestore_ci import FirestoreDocument from config import Config class ScoreData: def __init__(self, score_data: Dict): self.score_data = score_data def get_float_value(self, pid: str, key: str, score_type: str) -> float: player_record = next((playe...
[ "nayan@crazyideas.co.in" ]
nayan@crazyideas.co.in
f8af275a225c509612e09d977869c62d2deda5be
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/prime-86.py
579635d38e5b51be6d926171616f072a4a327384
[]
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
579
py
# Get the n-th prime starting from 2 def get_prime(n:int) -> int: candidate:int = 2 found:int = 0 while True: if is_prime(candidate): found = found + 1 if found == n: return candidate candidate = candidate + $Exp return 0 # Never happens def is_pr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
458996ee7b14a8721fdcab21afb7075fdc55aa48
84c1e780a349c4bae2d6cf4c1da72889d5222797
/Statistics/Day_6_The Central Limit Theorem II/the_central_limit_theorem_ii.py
dc0b8e850078bec0c972d4511669fc112d3c477a
[ "MIT" ]
permissive
brianchiang-tw/HackerRank
18e31583b10cf2189adac97e7cb2997d46790bcd
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
refs/heads/master
2020-09-23T23:18:08.253868
2020-02-13T14:16:22
2020-02-13T14:16:22
225,612,833
2
0
null
null
null
null
UTF-8
Python
false
false
635
py
from math import erf def normal_distribution_cdf( x, miu, sigma): z_score = ( x - miu )/ sigma cdf_of_x = ( 1 + erf( z_score / (2 ** 0.5) ) ) / 2 return cdf_of_x def to_percentage( ratio ): return ratio * 100.0 if __name__ == '__main__': max_ticket = 250 num_of_student = 100 avg_...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
f0b57eae419c94d4ae3469be8f30b508875e23b3
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/2018_analysis_2ndpart_clinic/clustering_based_on_PCs/corrected/correction_age_sex_site/3_clusters_solution/01_controls_clusters_correlations.py
323e2bf01fa45a50b33ae435e1229d711b1ef8d5
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
7,802
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 11 17:02:41 2018 @author: ad247405 """ import os import numpy as np import pandas as pd import matplotlib.pyplot as plt import nibabel as nib import pandas as pd import nibabel as nib import json from nilearn import plotting from nilearn import ima...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
01834489d2b6648a02c08315475f21f26b0cbe27
4013cf1b3b65130f36fac82f23b7e6e373ca3ac3
/appliers/models.py
f63808e62e84556a454b24d8bd42e0e58404e2cf
[]
no_license
malkoG/HI-ARC-Portal
b89fa3571a155b3a23927a96a9c16d9bcc2a3974
a3bd3cca8c1dd9c30c840f29cb8ad10227b17a36
refs/heads/master
2021-11-27T00:38:51.080620
2018-07-29T03:30:44
2018-07-29T03:30:44
140,441,235
1
0
null
2018-07-10T14:05:05
2018-07-10T14:05:05
null
UTF-8
Python
false
false
904
py
from django.db import models class Applier(models.Model): created_at = models.DateTimeField(auto_now_add=True) # 학회 가입 승인 시 Portal 에서 사용할 아이디/패스워드 username = models.CharField(max_length=30, blank=False) password = models.CharField(max_length=100, blank=False) # 학회 가입 승인 시 임원이 봐야 할 필드 real...
[ "rijgndqw012@gmail.com" ]
rijgndqw012@gmail.com
85741891712bca7d83bab0d31be89df2c4157aa8
50d41a527633bcc853e4c4b6a6b749a97112c5c4
/build-files/setup.py
f35039fb17879188a55535f1001b6e047350f360
[ "MIT" ]
permissive
deone/ussd-session
1f5e906e955e37f329946b8b19b3e78ed1cda81d
1d1d7adb4abc5df2672f7c13f04ad5cad332b0cc
refs/heads/master
2021-07-05T03:15:29.372744
2019-06-20T12:56:50
2019-06-20T12:56:50
102,523,642
1
0
null
2021-06-10T21:36:37
2017-09-05T19:51:53
Python
UTF-8
Python
false
false
1,133
py
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: ...
[ "alwaysdeone@gmail.com" ]
alwaysdeone@gmail.com
125dccc70afbb6f7e7dc28dbb95cbe4a87f0b0a4
71a7d88907c9fc02c989db84fb9b3d452e613278
/python/maintcal/maintcal/tests/unit/date/test_timezone.py
21a9ef80b749611d3619dec63b8de4b287765f18
[]
no_license
raychorn/svn_rackspace
5ca38426775d5475ad62c06dbfa7ec2ed05f3ca9
c87323446f2820d165edab7f8c7a7436b7bee19e
refs/heads/main
2023-01-01T19:16:56.682787
2020-10-15T22:20:58
2020-10-15T22:20:58
304,458,167
0
0
null
null
null
null
UTF-8
Python
false
false
3,493
py
from maintcal.tests.lib import MaintcalUnitTest from maintcal.lib.date.maintcal_datetime import MaintcalDatetime from maintcal.lib.date.timezone import TimezoneType, get_timezone_type from datetime import datetime, timedelta class TestTzFile(MaintcalUnitTest): def test_bogus_timezone_name(self): self.asse...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
6af79bfad1d2865737951a424c27b6b701a8e616
44b3d66dce1b8b87ed7a20b9f2a57d5c40a6c010
/enso/platform/win32/selection/TextSelection.py
bc29ba7cc343f46d70186dc56b964f2efb3ebfee
[ "BSD-2-Clause" ]
permissive
blackdaemon/enso-launcher-continued
0b203567c9670d5a6fa95b546d7edf64953ee94c
346f82811e77caf73560619cdeb16afabfbf1fce
refs/heads/master
2020-06-03T16:29:31.579370
2019-05-22T22:39:32
2019-05-22T22:39:32
30,513,152
7
4
null
null
null
null
UTF-8
Python
false
false
23,278
py
# Copyright (c) 2008, Humanized, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of c...
[ "pavelvitis@gmail.com" ]
pavelvitis@gmail.com
20e46c354bebb09b49d5f643ec0624ccfb952aff
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/traitlets/config/loader.py
0519aba37c2db294a8cbf96f87f65fd4f96a2353
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
28,943
py
# encoding: utf-8 """A simple configuration system.""" # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import argparse import copy import logging import os import re import sys import json from ast import literal_eval from ipython_genutils.path import filefind fro...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
e524410846d1ac49a2d5220b3bde9e207e0073ca
d5a82c882160e73e4dce5b0dd02d7ec42c0a8c25
/DataCamp_Natural_Language_Processing_Fundamentals/4.4.1.Improving_your_model.py
fb42edd845e81c04c2274a3cbc11cb255ee90ced
[]
no_license
ContangoRango/Machine_Learning_AI_Blockchain
d31e57682f4b70988f60bfa9d1be598421e9a9eb
2161721493c14ed89f09a81140c4622dd31bebab
refs/heads/master
2022-03-22T03:33:23.333076
2019-12-08T12:12:49
2019-12-08T12:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
'''Your job in this exercise is to test a few different alpha levels using the Tfidf vectors to determine if there is a better performing combination. The training and test sets have been created, and tfidf_vectorizer, tfidf_train, and tfidf_test have been computed.''' #TASK # Create a list of alphas to try using np.a...
[ "buryj666@gmail.com" ]
buryj666@gmail.com
0d5e5bdd7d18d03796431ffffa84106d00541083
29f859eee50687a42e4f4ba38f85aa55a45b0b45
/program.py
9d8fe2fb527fb0d31faed08531ae921d7d3807ce
[]
no_license
Ratnambar/PythoTest
7ddd010a689d3fcff3a5c9889433c3b5f138c360
33d9138d3f246102d6316cf4a5e8229c70d17392
refs/heads/master
2023-02-04T19:45:17.721093
2020-12-25T17:48:33
2020-12-25T17:48:33
324,407,615
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
# first Program l=[] def add(): for i in range(int(input())): l.append(int(input())) return sum(l) add() #second program Dict2= {"1" : 50,"2" : 60,"3" : 70} def Max_in_Dict(Dict2): max=0 d=dict() for k,v in Dict2.items(): if v>max: max=v key = k d[k...
[ "ratnambar123gupta@gmail.com" ]
ratnambar123gupta@gmail.com
9910b246044b2c58c1009f3ca86c485952f4398d
6a34130452f9ac3b6c7d8d515bc12ae5980a4695
/CIFAR10_LeNet5/LeNet_CIFAR10.py
5a0f3c0be17a797ad29664b766aaf4d0b3fd25e0
[]
no_license
ximitiejiang/MyCodeForPytorch
8b251a85d522d7857feab78d5ef673b559fbe052
cb1f48f3a75e4fd25b544d2a31adcf72cd64f760
refs/heads/master
2021-08-17T04:38:42.475584
2018-12-27T09:56:50
2018-12-27T09:56:50
150,266,218
1
0
null
2018-10-21T04:18:35
2018-09-25T13:03:27
Python
UTF-8
Python
false
false
7,342
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 26 09:49:10 2018 @author: suliang 参考‘深度学习框架pytorch入门与实践’ chapter-2, 正确率53% 该代码来自于pytorch官方英文教程,实现LeNet5 """ import torch import torchvision from torch.autograd import Variable from torchvision import transforms, datasets from torchvision.transfor...
[ "ximitiejiang@163.com" ]
ximitiejiang@163.com
a5c59876489acae90e3406792dbaa57267963669
6478723d180a8ef39941ba04b80c1eca9f437323
/5. Longest Palindromic Substring.py
65d4b6571eb7df73c29e99b510e7b4a8f0598327
[]
no_license
NiuNiu-jupiter/Leetcode
2a49a365898ecca393cb1eb53a47f4501b25952d
e278ae6ded32f6a2d054ae11ad8fcc45e7bd0f86
refs/heads/master
2022-11-22T01:05:57.417538
2020-07-28T23:34:39
2020-07-28T23:34:39
182,104,119
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
""" Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: "bab" Note: "aba" is also a valid answer. Example 2: Input: "cbbd" Output: "bb" """ def longestPalindrome(s): """ :type s: str :rtype: str Bas...
[ "cmyumo.zhang@gmail.com" ]
cmyumo.zhang@gmail.com
4d6f975ccfbd53b199a02aed7e90dec5ff4610d2
3f09e77f169780968eb4bd5dc24b6927ed87dfa2
/src/Problems/Spiral_Matrix_II.py
5bc244a74bc4140bf7b1987d3a88e1d09de558ba
[]
no_license
zouyuanrenren/Leetcode
ad921836256c31e31cf079cf8e671a8f865c0660
188b104b81e6c73792f7c803c0fa025f9413a484
refs/heads/master
2020-12-24T16:59:12.464615
2015-01-19T21:59:15
2015-01-19T21:59:15
26,719,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
''' Created on 19 Jan 2015 @author: Yuan ''' ''' Two possible solutions: 1. go through 1 ... n**2, fill them into the cell of the matrix; 2. go through the matrix in a spiral order, fill the numbers incrementally; In this program we go for the first solution. ''' class Solution: # @return a list of lists of integ...
[ "y.ren@abdn.ac.uk" ]
y.ren@abdn.ac.uk
e670936267ff1c2864e2a6bea1ff377c2d3ae534
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-oos/aliyunsdkoos/request/v20190601/CancelExecutionRequest.py
6e26c04670c78b3cf8f7ecd083d362a8ef226e5b
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,446
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
0e91abe36fe8af630beaddf7c335d82b75229805
b12487590e46aa0b244c9800bf1727020e2c1d79
/TG/accounts/views.py
1b42f7c468956cfc188379ec33477c3c0accbfce
[]
no_license
heejinshin/team-project-eatseasy
70dd91d8c49197410e117a13236c70c2816a4b50
54f6595a97c3e465d41fe54c3eafc731d5901c09
refs/heads/main
2023-07-24T12:09:43.464885
2021-09-04T03:17:22
2021-09-04T03:17:22
392,162,002
0
0
null
2021-09-04T03:17:22
2021-08-03T02:31:13
JavaScript
UTF-8
Python
false
false
954
py
from django.shortcuts import render from django.views import generic from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy from django.contrib.auth.mixins import AccessMixin from django.views.defaults import permission_denied class UserCreateView(generic.CreateView): template_na...
[ "nugeat23@gmail.com" ]
nugeat23@gmail.com
750f942333db9c067f0c2af7e1c688c2f1cb3f49
2c9ac88bdba143bacb25b527a35b934c206c06f0
/tweet_me/tweets/models.py
19e3c5c44eae2e0eb14706234cd9a1600bd76c30
[]
no_license
Asingjr2/tweet_me_dj
f9d64a42dc15a24233c369c255b01034a3d8418a
34f9f30d8fa673fab038c8521bcacb8b0e14db95
refs/heads/master
2020-03-22T08:48:21.900726
2018-07-23T03:25:17
2018-07-23T03:25:17
139,792,031
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
from django.db import models from django.contrib.auth.models import User from django.conf import settings from django.urls import reverse import uuid from .validators.validation_errors import clean_text # Create your models here. # Updating manager for message object to allow reference to self in retweet class Mess...
[ "asingjr2@gmail.com" ]
asingjr2@gmail.com
71d95ba0b2cf56f580e7e9979840ab7d45a732c9
06bc4f76ba6099277d408ddc16edd95fabcd95d0
/ext/sam/SCRIPTS/python/sam/make_ic_file.py
a2798c8685f5f2201ea6f1874dc547bb211b388e
[ "MIT" ]
permissive
kbren/uwnet
31d4267b23012cda61646b94aa8a9e283017f83b
aac01e243c19686b10c214b1c56b0bb7b7e06a07
refs/heads/master
2020-04-06T20:31:25.849132
2018-11-14T22:02:52
2018-11-14T22:05:01
157,771,236
0
0
MIT
2018-11-15T20:52:46
2018-11-15T20:52:45
null
UTF-8
Python
false
false
1,348
py
#!/usr/bin/env python import argparse import os import xarray as xr def rename_var(z, coords): rename_d = {'xc': 'x', 'yc': 'y', 'ys': 'y', 'xs': 'x'} rename_d = {key: val for key, val in rename_d.items() if key in z.dims} return z.rename(rename_d).assign_coords(**coords) def parse_arguments(): par...
[ "nbren12@gmail.com" ]
nbren12@gmail.com
99b41def6fd1d2374de9435c323b651065f847d7
67d76057aee86c43d32e0b74f3ac94d521ee03d8
/tests/journal.api/firewall_sanity.py
aff2e094d2fec8304653e999f6a72f58be4fe721
[ "BSD-3-Clause" ]
permissive
jlmaurer/pyre
0f94b1855bf029210f07c528747221751e37687f
6af38a83621d7d6228d147b4bb94f97fbb10f6e2
refs/heads/master
2023-05-25T04:33:19.907452
2020-06-18T14:07:54
2020-06-18T14:07:54
273,362,988
0
0
NOASSERTION
2021-06-10T23:42:14
2020-06-18T23:50:28
null
UTF-8
Python
false
false
363
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2020 all rights reserved def test(): """ Verify the channel is accessible """ # access from journal import firewall # all done return # main if __name__ == "__main__": #...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
67d3cc773bc7ae6f9f07541943eac88f2ea88bff
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/brocade_mpls_rpc/show_mpls_bypass_lsp_name_extensive/output/bypass_lsp/show_mpls_lsp_extensive_info/show_mpls_lsp_common_info/lsp_config_frr_admin_groups/__init__.py
0ab4e564eb9593ee83def8ffdf9e7b42e82d81b3
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,479
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
3a67240c0fe4fc3c2611cf0b12e141adadf6adcf
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_29131.py
b2149fd624633e6da886f98bfba13e8e6f47fb0c
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# Django / xhtml2pdf - object has no attribute 'encode' &lt;link href="http://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet" type="text/css"&gt;
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
75079e74736b89ccc2a829a05d003e9830e09796
5da2f1f49a35b7c446abf6e56982cb0d91cf4915
/utils/triage_team.py
effc1457b335ab43c71e79e4263cc10768721176
[ "Apache-2.0" ]
permissive
python/core-workflow
632992bb65b051cd7af89d0f2bbad046062e5cc8
a0db0d98b41ef1debf443c988c450de278932ee2
refs/heads/main
2023-08-28T20:43:27.464184
2023-07-23T13:36:51
2023-07-23T13:36:51
76,080,865
94
74
Apache-2.0
2023-07-23T13:36:52
2016-12-10T00:36:07
Python
UTF-8
Python
false
false
1,505
py
# One time script for creating the triage team, and adding the necessary repos to the team import os import asyncio import aiohttp from gidgethub.aiohttp import GitHubAPI import cachetools cache = cachetools.LRUCache(maxsize=500) async def get_core_repos(gh, team_id): """ Return the team's public repos ...
[ "noreply@github.com" ]
python.noreply@github.com
c04e73246dee908a69e18c15464cd9ff14b54944
39689ee725bc7183d5d59fb34f7d2ffe5fd6ad36
/ABC_C/ABC010C.py
1cec8071d54a2dd07ac82ba752123cce6c881a01
[]
no_license
yu5shi8/AtCoder
b6eb920a9046bdfa98012dd3fc65f75f16214ffe
f9ca69001ece8379e3a70c993c44b540f8be2217
refs/heads/master
2021-06-15T17:58:07.027699
2021-03-20T14:04:03
2021-03-20T14:04:03
177,757,053
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- # C - 浮気調査 # https://atcoder.jp/contests/abc010/tasks/abc010_3 txa, tya, txb, tyb, T, V = map(int, input().split()) n = int(input()) time = T * V for i in range(n): x, y = map(int, input().split()) a = ((x-txa)**2 + (y-tya)**2) ** 0.5 b = ((x-txb)**2 + (y-tyb)**2) ** 0.5 if (a...
[ "royal_unicorn411@hotmail.co.jp" ]
royal_unicorn411@hotmail.co.jp
28d9c080f28741dc23fd084ad52fa0a2fb5b01aa
1498d0999af02644e784a40dcaf35f3fd834a495
/models/app_funcs.py
12c3265aca6309bfcbafe50d4117e0e449529709
[]
no_license
gibil5/matrix
349f3b156b644f2a3b3a0319701ee3044482c7be
f8723780bce6ef30fe0e4adbfce2a69a127395e4
refs/heads/master
2020-07-07T05:28:19.887904
2020-01-20T02:17:47
2020-01-20T02:17:47
203,264,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
# -*- coding: utf-8 -*- import datetime # ----------------------------------------------------------- Getters ------------------------- def search_patient_by_id_document(self): print() print('Search Patient') # Protect against On change first time calls if self.dni_pre != False: # Search Patient - by ID IDO...
[ "jrevilla55@gmail.com" ]
jrevilla55@gmail.com
4497b03a3490654e2f445a07d358babd068ed3e5
3ec84a6e34f9bc709cb203f8b3f668f2b6697e2a
/python20200322-master/class_Python기초/py14리스트/py14_ex05_유효점수.py
0c5287859317d69d2b75b0815424bd3bc7eda728
[]
no_license
eopr12/pythonclass
52079bd99358ac73664beed236659b97c8b63d40
2526fe255969a799f6c534c9db6bff9e4eccd877
refs/heads/master
2022-07-10T11:17:31.692754
2020-05-16T08:43:00
2020-05-16T08:43:00
263,377,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
################################### # 심사 위원의 점수를 입력하여 유효 점수와 평균을 출력하는 프로그램을 작성합니다. # 유효점수는 최고점과 최저점을 제외한 점수이며 합계와 평균은 유효점수로 계산합니다. # 유효점수 합계 구하는 부분을 함수를 이용하시오. # 평균 구하는 부분을 함수를 이용하시오. # 평균은 소수점 두 자리까지만 출력하시오. # # # ▪ 실행결과예시 # 심사 위원 수를 입력하시오 : 5 # 심사 위원 점수 입력 : 7 # 심사 위원 점수 입력 : 9 # 심사 위원 점수 입력 : 4 # 심사 위원 점수 입력 : ...
[ "kye9565@gmail.com" ]
kye9565@gmail.com
d2c145bef6974660ef0683dcac9cd247c4e1ef79
49663ea34b41c8180d7484f778f5cad2e701d220
/tests/macsec/test_deployment.py
3ca8ddad561c60fa4765f2af4e28d6b2b4a6a42c
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
stepanblyschak/sonic-mgmt
ed08c98e7bff1615b057daa8711686aa5986073d
a1ae1e0b4e9927e6f52916f76121780d19ec3e54
refs/heads/master
2023-04-07T01:30:11.403900
2023-03-29T10:16:52
2023-03-29T10:16:52
135,678,178
0
0
NOASSERTION
2023-03-29T16:13:55
2018-06-01T06:41:49
Python
UTF-8
Python
false
false
1,169
py
from time import sleep import pytest import logging import re import scapy.all as scapy import ptf.testutils as testutils from collections import Counter from tests.common.utilities import wait_until from tests.common.devices.eos import EosHost from tests.common import config_reload from .macsec_helper import * from ....
[ "noreply@github.com" ]
stepanblyschak.noreply@github.com
4df9cfc6d1b75281ac300b929f4a3dca7b878afa
ce7049875789f199c5e4eecd98aca2cab9188c63
/bat/__init__.py
2107b9c7298cd04ed6f2701f0780ef9db6a868bf
[ "Apache-2.0" ]
permissive
chixsh/bat
dc98bbb300418ace1bcbcfd76fade5cdf3684fb3
d578a4f1266db5cc9ffeb933b07f10e081883628
refs/heads/master
2021-07-22T12:59:15.062689
2017-11-01T19:06:55
2017-11-01T19:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
__author__ = 'Brian Wylie' __email__ = 'brian.wylie@kitware.com' __version__ = '0.3.3'
[ "briford.wylie@gmail.com" ]
briford.wylie@gmail.com
1c52c5aea4f1c9c33fe87240c6e5927fdc227ee6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2462/60708/289114.py
79e6c35a208cdfcd2d26f8810223b0868e5a5299
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
482
py
def find(list,l,r,index): if(l>=r): return index mid=(l+r)//2 if(list[mid]>list[mid-1] and list[mid]>list[mid+1]): index=mid find(list,l,mid-1,index) return index else: index=find(list,l,mid-1,index) index=find(list,mid+1,r,index) return index if _...
[ "1069583789@qq.com" ]
1069583789@qq.com
9f1bb560cac4870270ac3d6933b5685fa2300ca3
510a6545c9bd300d8477287d887ab41f3d385154
/notifications/tests/test_notifications.py
f1f2ab52b5addf6936de773d288032eed6338918
[ "MIT" ]
permissive
City-of-Helsinki/open-city-signups
222a80905e46443e1dc933e033628ca1c84293c5
3c36d3c1cba6f6fc85deadc54fb49a4318f4b1d4
refs/heads/master
2021-06-08T14:13:13.921115
2018-10-26T10:27:29
2018-10-26T10:27:29
133,327,658
0
1
MIT
2021-04-20T17:36:23
2018-05-14T08:15:49
Python
UTF-8
Python
false
false
3,546
py
import pytest from notifications.enums import NotificationType from notifications.models import NotificationTemplate, NotificationTemplateException from notifications.utils import render_notification_template @pytest.fixture def notification_template(settings): settings.LANGUAGES = (('fi', 'Finnish'), ('en', 'En...
[ "tuomas.haapala@anders.fi" ]
tuomas.haapala@anders.fi
df0ecaeaa4628690db3134296179e93c570c3b90
43480eab7292731fc077eca80d03c601039605e0
/official/nlp/modeling/networks/bert_encoder_test.py
b5405ac9b8b59aa3829924ce3973d3a8475bc35d
[ "Apache-2.0" ]
permissive
thortom/models
e91d259789ebfef8606ea616f5c5869b2be080f6
57e263422b51032b424efd50e0501001052ea083
refs/heads/master
2022-12-07T08:56:04.682731
2020-09-03T14:35:23
2020-09-03T14:35:23
292,594,338
0
0
Apache-2.0
2020-09-03T14:32:07
2020-09-03T14:32:06
null
UTF-8
Python
false
false
9,168
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
319849dec7617cd17631edf37a228080d5809019
0ccab2965458454d6a4802b47d33310e43c10d8f
/W5D3_Arrays and Matrices/list_comp.py
d169019b665f0ba72db17e5e56480c4e4022ebd6
[]
no_license
jazib-mahmood-attainu/Ambedkar_Batch
11e66125647b3b348d4567862f8fc20a3457b2f0
c99be9a401b8d00f6ca47398f48e90ead98f4898
refs/heads/main
2023-08-01T13:13:43.357769
2021-09-25T03:54:27
2021-09-25T03:54:27
390,405,238
16
10
null
null
null
null
UTF-8
Python
false
false
188
py
""" list comprehension is a shortcut way to make a list """ l1 = [] n = 5 for i in range(n): l1.append(i) print(l1) #Short hand operation m = 5 l2 = [i for i in range(m)] print(l2)
[ "jazib.prof@gmail.com" ]
jazib.prof@gmail.com
7b8c34804f93edd534f34f4c67b52e71d00660bc
7284e65314d263d80f5743cb70e2a26de73f6e8d
/compiler/code.py
2533bc459ba6e6578016150aacedbc5b93b8f274
[]
no_license
roctbb/pithon
e6833b899b0e4008936b7a472d430925e14dbe7c
298297c5a11cfee423fd10ab603a47fe640970da
refs/heads/master
2021-01-20T01:28:19.710475
2019-03-10T17:18:56
2019-03-10T17:18:56
101,291,135
21
4
null
2019-03-10T17:18:57
2017-08-24T12:11:50
Python
UTF-8
Python
false
false
615
py
import random for i in range(10): print(i) print("10...Лотерея!!!") prizes = ["А-а-а-втомобиль!", "Банка с огурцами", "Орущая кошка, покормите ее уже!", "Чирик", "Путевка в Крым, но кажется далеко от моря", "Вьетнамские флешбэк"] people = ["Дед Макар", "Путин", "Шмель", "Твоя собака"] for participant i...
[ "roctbb@gmail.com" ]
roctbb@gmail.com
0e03b92016cf2f6d83f50b4e4f0c14a7fa172c76
ecf9902d67a65563bf5014d3d2693fc44b610fb8
/P1030-NextGreaterNode.py
728eddab328e734dac825309ad725e210c299d30
[]
no_license
hkmamike/leetcode
18956c0ecefe9c315d45b67d9a12625ea342cc00
cb4fa5ce108e4f4cedec4a3c28d3bb2f980e3831
refs/heads/master
2021-06-13T16:36:21.732382
2019-09-15T19:26:37
2019-09-15T19:26:37
133,134,853
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def nextLargerNodes(self, head: ListNode) -> List[int]: result = [] unprocessed = [] i = 0 while head: ...
[ "mikebrianleung@gmail.com" ]
mikebrianleung@gmail.com
424a73eea0697c89335e5751c2c818fdece50608
a9b0f97b97967d0c4688b7df1aeaf1809eac3db6
/tests/test_muffin.py
0f5a0f08226f77172ba017f64355263021aae229
[ "BSD-3-Clause", "MIT" ]
permissive
intermezzo-fr/muffin
6a720ef21a3e0498296fbe9d5b41bf2652a705e8
92f64ef58bf5ecdcfb66e8fb9f545c497e7d3b90
refs/heads/master
2021-01-18T04:37:57.459706
2015-02-03T13:24:32
2015-02-03T13:24:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
""" Tests for `muffin` module. """ def test_app(client): response = client.get('/') assert response.status_code == 200 assert "Hello world!" in response.text response = client.get('/404', status=404) assert response.status_code == 404 response = client.get('/json') assert response.json ...
[ "horneds@gmail.com" ]
horneds@gmail.com
5fa2a321652584e5647cd2d6e47991f075ab54ab
f38ac7dfc887f71d201eca3a8adf8bb593982d30
/src/VersionControlProvider/IssueDefault.py
6f02950a457e23ece3f54a78b005f76a61d3caef
[ "Apache-2.0" ]
permissive
flexiooss/flexio-flow
ed442c052d599715034f1d796bdc279cacf11f7c
f350a6abb211789f4caaf9002a9c61f1be75e598
refs/heads/master
2023-09-01T21:37:33.276016
2022-09-15T07:24:53
2022-09-15T07:24:53
159,647,155
0
0
Apache-2.0
2022-12-08T10:36:30
2018-11-29T10:17:02
Python
UTF-8
Python
false
false
949
py
from __future__ import annotations from VersionControlProvider.Issue import Issue from VersionControlProvider.IssueState import IssueState class IssueDefault(Issue): def get_ref(self) -> str: if self.number is None: raise ValueError('Issue should have a number') return '{prefix!s}{nu...
[ "thomas@flexio.fr" ]
thomas@flexio.fr
87886b5df391638a216b771d4cb08fdb89191766
d2153eab38e5be8401162bb4913a938fe264c124
/tweets/migrations/0002_auto_20190529_0025.py
91bcc4663d23be43b247831aa6a3b39e57eadf73
[ "MIT" ]
permissive
rakibulislam01/Tweetme
4379a6724e96db9dd8b11ba069e2a74c7274f142
ae787b1b6c0303ba8a52a804764e9fc5853b2219
refs/heads/master
2021-06-17T23:41:06.043076
2020-01-21T07:50:17
2020-01-21T07:50:17
188,770,184
0
0
MIT
2021-03-19T22:30:22
2019-05-27T04:21:42
Python
UTF-8
Python
false
false
637
py
# Generated by Django 2.1.7 on 2019-05-28 18:25 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('tweets', '0001_initial'), ] operations = [ migrations.AddField( model_name='tweet', nam...
[ "mrakibul70@gmail.com" ]
mrakibul70@gmail.com
f455a59e3f0d8cecfa45773441c3a3aba3879ed8
aec61d93dfa83483d33664ca2e9ea25754ed3ae0
/model/utils/augmentations_bbox_seg_960_540.py
c3cb146a3091dbcb2ff4f7ef35559d9aa2d70409
[]
no_license
unicoe/visual_code
cc9b84e88e625e0935cda7950b34b488a40356cf
47e155ec61afe40f7aab540a4e62bb1697d00704
refs/heads/master
2020-11-27T08:31:10.530677
2019-12-21T03:39:21
2019-12-21T03:39:21
229,371,331
0
0
null
null
null
null
UTF-8
Python
false
false
20,487
py
import torch from torchvision import transforms import cv2 import PIL.Image import numpy as np import types from numpy import random import scipy.misc as m import pdb def mkdir(path): import os path = path.strip() path = path.rstrip("\\") isExists = os.path.exists(path) if not isExists: ...
[ "unicoe@163.com" ]
unicoe@163.com
d4e45f4c40639ad0d1e9321c4c0fd0b810fff068
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2647/60769/262538.py
2466f6b8a6a58970730c5979bc7b6fb85ac62845
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
189
py
num = int(input()) for j in range(num): nn = int(input()) bi = str(bin(nn))[2:] sum = 0 for i in range(len(bi)): if bi[i] == "1": sum += 1 print(sum)
[ "1069583789@qq.com" ]
1069583789@qq.com
6e4138165c539d1808e0fac90a8ffe05f6fbe529
ea2e8ea702601f41c261d14e796f3951f8b2dbb5
/skfcms_project/urls.py
857c6b16ed79c315cbf3d1de0789cf38606a681c
[]
no_license
kamruljpi/ecommerce
cb7a064d3cf2d902fd49e54ed1d1842aeb4cfa48
e7c3062429e5224fcfb6c3c57a59763b7b9901c3
refs/heads/master
2021-07-11T02:02:17.586644
2017-10-05T19:43:51
2017-10-05T19:43:51
105,932,841
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
"""skfcms_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "=" ]
=
97406c712d00d3c0c18c7e45aa341901ed3af6c5
9f0e740c6486bcb12f038c443b039c886124e55c
/python-study/tools/verifycode/verify_code_2.py
b3d0462c8d289321f79dfb20a916f28991924189
[]
no_license
zfanai/python-study
373ff09bd1e6be9e098bde924c98f5277ad58a54
de11a6c8018730bb27e26808f5cbc0c615b4468f
refs/heads/master
2021-01-18T17:59:16.817832
2017-11-06T09:33:21
2017-11-06T09:33:21
86,831,175
1
0
null
null
null
null
GB18030
Python
false
false
4,269
py
#encoding:gbk import random from PIL import Image, ImageDraw, ImageFont, ImageFilter _letter_cases = "abcdefghjkmnpqrstuvwxy" # 小写字母,去除可能干扰的i,l,o,z _upper_cases = _letter_cases.upper() # 大写字母 _numbers = ''.join(map(str, range(3, 10))) # 数字 init_chars = ''.join((_letter_cases, _upper_cases, _numbers)) def...
[ "zf_sch@126.com" ]
zf_sch@126.com
55ca65b0efa49bd99c0050951177f9a7bacb5efa
81406671f82b4fb13f4936eebe20d4f4ff954177
/ltr/ltr/settings.py
1e9f5ee259a312fd14f78e4d748a09134de75f77
[]
no_license
thatandromeda/ltr
a6e98832015daee26c2fb208c9d858a72ffbf8bd
7d7790444acccf476c90f415bb88d96216948a15
refs/heads/master
2021-01-21T12:52:48.521458
2014-12-09T20:26:32
2014-12-09T20:26:32
19,824,699
2
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
""" Django settings for ltr project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import...
[ "andromeda.yelton@gmail.com" ]
andromeda.yelton@gmail.com
ef9505fa441399af3d3e976ecb1cfb158d2a657b
62ffd1d0ca1a325988e0b89341e8ae5236ddd127
/Android_Tensorflow/testTF/TF_sotmax.py
99a21e0ba31d9a88697c43389764795aacb8f427
[]
no_license
curryli/APP_Action
3edc6c88590869fabdc41729eb228b29adc5024f
06a9ecc7961caf6760c588bd7e060041cdc8b2a7
refs/heads/master
2021-09-09T19:22:58.794998
2018-03-19T07:01:28
2018-03-19T07:01:28
114,858,653
0
1
null
null
null
null
UTF-8
Python
false
false
1,209
py
# -*- coding: utf-8 -*- import tensorflow as tf from sklearn.datasets import load_iris import numpy as np import pandas as pd iris=load_iris() iris_data=iris.data iris_target=iris.target iris_target1=pd.get_dummies(iris_target).values print(iris_data.shape) X=iris_data print(X.shape) x=tf.placeholder(dtype=tf.f...
[ "xurui.lee@msn.com" ]
xurui.lee@msn.com
b3e012396df4d1b6ef5cc53c65309913c6a1fb2d
d37a19ab3bcaba6e808a18df411c653c644d27db
/Year2/CA268/Week03/suspicious.py
81f85e716f34f9fb63756c14c9cfe66ae0744652
[]
no_license
Andrew-Finn/DCU
9e7009dac9a543aaade17e9e94116259dcc1de20
013789e8150d80d3b3ce2c0c7ba968b2c69a7ce0
refs/heads/master
2023-02-21T05:13:42.731828
2022-02-14T12:39:20
2022-02-14T12:39:20
157,438,470
1
0
null
null
null
null
UTF-8
Python
false
false
276
py
import sys with open(sys.argv[1], "right") as f: students = f.readlines() with open(sys.argv[2], "right") as f: bad = f.readlines() out = sorted(list(set(students).intersection(set(bad)))) for i in range(len(out)): print("{}. {}".format(i + 1, out[i]), end="")
[ "git@afinn.me" ]
git@afinn.me
d39b2b73aac648eca88713fd542c196b8c01e4d5
e578b27fe0f8a47931e459c162cd699c6338a862
/payments/management/commands/send_payment_reminders.py
8fc399ff0e2e74d9f974963bd7201b9ba5ef38ad
[ "MIT" ]
permissive
City-of-Helsinki/berth-reservations
0ded0448cc3a9391b6c1bde61767633b34124e80
d1983366452eff9714d425bcef2d7d78483738f8
refs/heads/master
2023-04-06T06:49:31.433852
2023-03-09T12:38:46
2023-03-09T12:41:29
153,620,377
5
2
MIT
2023-03-21T22:56:51
2018-10-18T12:30:27
Python
UTF-8
Python
false
false
398
py
from payments.models import Order from utils.base_expiration_command import FeatureFlagCommand class Command(FeatureFlagCommand): help = "Send payment reminder notifications" feature_flag_name = "PAYMENTS_REMINDER_NOTIFICATION_CRONJOB_ENABLED" def run_operation(self, dry_run, **options) -> int: r...
[ "juha.louhiranta@anders.fi" ]
juha.louhiranta@anders.fi
572f8a2ea05c299ebe1dd4161f260cb554d88273
db80edb9be895c4ebcb9acac96eff92b7fda2bd3
/src/utils/dsp_tools.py
5fa52563df09a03e05fbee4e59d8a7b3e4622215
[]
no_license
YhHoo/AE-signal-model
9950182425377364d83a8a86b72ed181b789a599
8ba384397a88ea8316deee3173503fccb9e485af
refs/heads/master
2021-06-26T03:43:21.482586
2019-05-16T10:53:25
2019-05-16T10:53:25
131,477,937
0
1
null
null
null
null
UTF-8
Python
false
false
16,907
py
# ------------------------------------------------------ # Process the Raw AE signals for training-ready # The Raw signal is sampled at 5MHz, So time btw points = 2e-7 s # ------------------------------------------------------ import pywt import numpy as np import matplotlib.pyplot as plt from scipy.fftpack import fft...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
dfb05342707d079df69d72120d8cdf801bbe6daf
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/sysdebug/SysdebugEp.py
3525c9442aa33eb9bcc4dbf25dc0ecf3287dd24d
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,036
py
"""This module contains the general information for SysdebugEp ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class SysdebugEpConsts(): pass class SysdebugEp(ManagedObject): """This is Sysd...
[ "test@cisco.com" ]
test@cisco.com
a1640304c859f34680877002f692057f623b2b28
cc2fcc1a0c5ea9789f98ec97614d7b25b03ba101
/st2reactor/tests/unit/test_timer.py
9b86ac90438b1ac657a18287adc6f29a57a8cc2d
[ "Apache-2.0" ]
permissive
Junsheng-Wu/st2
6451808da7de84798641882ca202c3d1688f8ba8
c3cdf657f7008095f3c68b4132b9fe76d2f52d81
refs/heads/master
2022-04-30T21:32:44.039258
2020-03-03T07:03:57
2020-03-03T07:03:57
244,301,363
0
0
Apache-2.0
2022-03-29T22:04:26
2020-03-02T06:53:58
Python
UTF-8
Python
false
false
3,837
py
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
[ "wei.ying@easystack.cn" ]
wei.ying@easystack.cn
1d29463b299c6b95621395029b066915b15c3e86
ff2fdb1e7388f74afcf477ceeeec16724a5f5db6
/my_name/my_name/urls.py
2c855a4e8efa6f485e3f23f88ade51e1fa21d994
[]
no_license
asim3/ci-cd-example
fbdedb52a5f4666f1fbbab9d83800830007b4dec
c76cf7ae624364ee595baac6909dbf256af118e7
refs/heads/master
2023-05-06T14:44:05.881311
2021-06-06T11:48:59
2021-06-06T11:48:59
374,118,469
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
"""my_name URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "asimwebapps@gmail.com" ]
asimwebapps@gmail.com
617e130bde2ab5ea550cd079c100cdc889688e4a
b4cf3c5caacd99d0fb0b864f4ee9f30056a52c05
/asynch/proto/streams/compressed.py
30d1327a05f980c8e4c0c56664a2adc3678e37c2
[ "Apache-2.0" ]
permissive
dbrojas/asynch
4376ca20e15897e0efe4345402d5d5af3a7c1212
94054ba4acb9f0d05ddedf5ae66278b5e5301fdd
refs/heads/master
2023-03-12T03:24:42.176643
2021-02-24T02:18:11
2021-02-24T02:18:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,515
py
from clickhouse_cityhash.cityhash import CityHash128 from asynch.proto.compression import get_decompressor_cls from asynch.proto.context import Context from asynch.proto.io import BufferedReader, BufferedWriter from asynch.proto.streams.native import BlockInputStream, BlockOutputStream class CompressedBlockOutputStr...
[ "long2ice@gmail.com" ]
long2ice@gmail.com
5b5238cf9854e75b0e44eae065192938b972503d
95e9ec4b3b0d86063da53a0e62e138cf794cce3a
/python/Django/20190606/press/manage.py
e01e47d4da921d436af23f56b218d8ad7ab18fc9
[]
no_license
wjl626nice/1902
c3d350d91925a01628c9402cbceb32ebf812e43c
5a1a6dd59cdd903563389fa7c73a283e8657d731
refs/heads/master
2023-01-05T23:51:47.667675
2019-08-19T06:42:09
2019-08-19T06:42:09
180,686,044
4
1
null
2023-01-04T07:35:24
2019-04-11T00:46:43
Python
UTF-8
Python
false
false
625
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'press.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportEr...
[ "18537160262@qq.com" ]
18537160262@qq.com
49540f1af5bee2a45784e914d60ebd789c1f3138
82c6dedfe9040b453c22c3f93f1a2c9a922c988b
/ClusterFind/cluster_dbscan_pyclustering.py
ad11d9af82948f325cf54160c74697b4323c2fbf
[]
no_license
njcuk9999/g_clustering
8d34439fd78ef7017c0414c932d21cd19fc6551c
20e6a6ab17c72c5652ae33125f7dabf4131aa8d5
refs/heads/master
2021-05-11T16:10:41.382938
2018-05-08T22:55:03
2018-05-08T22:55:03
117,753,516
0
0
null
null
null
null
UTF-8
Python
false
false
4,410
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ # CODE NAME HERE # CODE DESCRIPTION HERE Created on 2018-01-16 at 14:13 @author: cook Version 0.0.0 """ import numpy as np from astropy.table import Table import random import matplotlib.pyplot as plt from pyclustering.cluster import cluster_visualizer from pycl...
[ "neil.james.cook@gmail.com" ]
neil.james.cook@gmail.com
c739f531d187d8de6de5e69205382a8f417ae64b
1287bbb696e240dd0b92d56d4fdf4246370f3e14
/_os.py
c72f9cdf864f39a229eeb2990576289335ca9bf5
[]
no_license
omerfarukcelenk/PythonCalismalari
ed0c204084860fddcb892e6edad84fdbc1ed38ec
28da12d7d042ec306f064fb1cc3a1a026cb57b74
refs/heads/main
2023-04-13T18:23:15.270020
2021-04-26T21:06:21
2021-04-26T21:06:21
361,893,918
3
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import os import datetime result = dir(os) result = os.name # os.chdir("C:\\") # os.chdir("../..") # result = os.getcwd() # klosör oluşturma # os.mkdir("newdirectory") # os.makedirs("newdirectory/yeniklasör") # listeleme # result = os.listdir() # result = os.listdir("C:\\") # for dosya in os.listdir(): # if ...
[ "omerfar0133@gmail.com" ]
omerfar0133@gmail.com
aae46ef36c39093f24810743f424bc35211d8e81
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/beta/cloudcommunications_beta/azext_cloudcommunications_beta/vendored_sdks/cloudcommunications/aio/__init__.py
393cf67a0e7bf2de6c16401ff7377af50235e00c
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
c3c1c5c2e9bb7f825bf97947cb99b00c311d398b
4c117ea3617a576ddd07d8ea8aaab1a925fc402f
/bin/Race/Statistic/CompareRace.py
de1aa74809d77348fa72ce283a8cc5be725edc2e
[]
no_license
452990729/Rep-seq
7be6058ba3284bea81282f2db7fd3bd7895173ba
e217b115791e0aba064b2426e4502a5c1b032a94
refs/heads/master
2021-12-11T14:27:46.912144
2019-06-04T03:49:40
2019-06-04T03:49:40
190,124,555
0
1
null
null
null
null
UTF-8
Python
false
false
1,950
py
#!/usr/bin/env python import sys import re import os import numpy as np import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt from scipy import stats def ReadTab(file_in): dict_tmp = {} label = re.split('\.', os.path.basename(file_in))[0] with open(file_in, 'r') as in1: for...
[ "452990729@qq.com" ]
452990729@qq.com
21b5f6abaa58f11530183e3547fa53284d2b8c4d
3b3ca3b587b4ed9181038444b03bf526d4b14346
/axelerate/networks/yolo/backend/utils/box.py
0c31ccf5ed52e3d6cbaccf53ad3a897ef663e481
[ "MIT" ]
permissive
ujuo/aXeleRate
fd217cc539ed31b43635e989c2e2ce9bb12f8486
2ff08e314e5e56becbaaebb28b0181f90fed5f5e
refs/heads/master
2023-07-07T18:29:39.994544
2021-08-12T09:12:27
2021-08-12T09:12:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,064
py
import numpy as np import cv2 class BoundBox: def __init__(self, x, y, w, h, c = None, classes = None): self.x = x self.y = y self.w = w self.h = h self.c = c self.classes = classes def get_label(self): return n...
[ "dmitrywat@gmail.com" ]
dmitrywat@gmail.com
6a750ce82b607d3b695603bebe56a278f9cb3f0c
5c80c1c3a24399db5d7c2a259a3e2d18dcbe79a2
/central/habana_model_yaml_config.py
0c55efe4e3aab6954cf696738acc3d3b9508d17c
[]
no_license
maxchung2001/Model-References
b2f26cec3bcfc912f50379e47fcff7cb60ea96d2
bc8da16830c1c35e5d1458ba2e46df8726e10f29
refs/heads/master
2023-04-12T16:37:27.103316
2021-04-22T07:00:01
2021-04-22T07:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,550
py
############################################################################### # Copyright (C) 2020-2021 Habana Labs, Ltd. an Intel Company ############################################################################### import os from typing import Dict, List import yaml from central.habana_model_runner_utils import ...
[ "mpandit@habana.ai" ]
mpandit@habana.ai
614e672660a0abfa0f13cfb8d422c9619c42d2c0
acfd30f536de2b36daf3a0e7d7d8ebf9df1d7b31
/ml_techniques/svm.py
f6ed5542344609d419b57b661af67a6caab169c9
[ "MIT" ]
permissive
tgquintela/ml_techniques_in_python
98c53735bf532ef641f55a0c0f44e295d55de302
242ff12b32edb313c983394f3153a8b7eb8ce183
refs/heads/master
2021-01-16T17:39:01.423695
2017-08-11T09:02:08
2017-08-11T09:02:08
100,012,254
0
0
null
null
null
null
UTF-8
Python
false
false
12,887
py
import numpy as np import time import os class Solver(object): def report_results(self): pathfile = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'extra/templates/report_svm_template') with open(pathfile, 'r') as fh: report = fh.read() ...
[ "tgq.spm@gmail.com" ]
tgq.spm@gmail.com
d85c622fbd7c8ecae479ca39479dd1212ab795cc
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.ROH/Sans_16/pdf_to_json_test_Latn.ROH_Sans_16.py
e170b801401e0141c2c13650a2c4b158f8c1a120
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
303
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.ROH/Sans_16/udhr_Latn.ROH_Sans_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
2ac1d285ba6c3768c202afcc8a5a6a7e0e1c731d
350db570521d3fc43f07df645addb9d6e648c17e
/1480_Running_Sum_of_1d_Array/solution_test.py
aa3df5123a9a3b0d950bbc9f0bba6ab00a0c8c5d
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
379
py
''' 1480. Running Sum of 1d Array Level: Easy https://leetcode.com/problems/running-sum-of-1d-array ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, 2, 2)), 6, "Sh...
[ "bhuang@rms.com" ]
bhuang@rms.com
b4ed3f8fcd2bd524cc2d83d695bf06fa722eca15
63782b2e7bc03274f918868cf2f3bc221a0f32a1
/hj57.py
c672183778d1569782cb48555108fc6a396a3e97
[]
no_license
imsilence/huawei_nowcoder
a111aea3b99e30029a5c954a1e329d88817747aa
30ca82d05340155e918b13783a32cf1802dd3e3b
refs/heads/master
2022-12-27T05:57:52.097157
2020-10-12T01:54:22
2020-10-12T01:54:22
302,632,596
0
0
null
null
null
null
UTF-8
Python
false
false
3,687
py
#encoding: utf-8 ''' 题目描述 在计算机中,由于处理器位宽限制,只能处理有限精度的十进制整数加减法,比如在32位宽处理器计算机中, 参与运算的操作数和结果必须在-2^31~2^31-1之间。如果需要进行更大范围的十进制整数加法,需要使用特殊 的方式实现,比如使用字符串保存操作数和结果,采取逐位运算的方式。如下: 9876543210 + 1234567890 = ? 让字符串 num1="9876543210",字符串 num2="1234567890",结果保存在字符串 result = "11111111100"。 -9876543210 + (-1234567890) = ? 让字符串 num1="-98...
[ "imsilence@outlook.com" ]
imsilence@outlook.com
523c535969ca9eb444fb4f8250bf8bd22bc01f0d
ba9cb3bbc46faeea1edc01ef7e18131ae2dbf923
/problem-030.py
e03c5f5788b3724615b117587ada3195a2cd5e6a
[]
no_license
beautytiger/project-euler
fb9908d35a82cd4b912a541282842adca03b17e2
a8de90a2e5b98660505169afd9c8c27b1b3af28e
refs/heads/master
2021-06-19T00:40:17.331130
2017-05-31T11:04:05
2017-05-31T11:04:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
#!/usr/bin/python # -*- coding: utf-8 -*- from tools.runningTime import runTime from tools.common import DigitsPowerSum as DPS # below function will give you a hint for the uplimit of this problem @runTime def numberStep(limit=9**5*6): step = [1, 1] for i in xrange(2, limit): s = DPS(i, 5) i...
[ "konmyn@163.com" ]
konmyn@163.com
3bab6516ea13afd54cb7cbbcf9c233a58a308fd1
dacb257a90310eba03f3128221120a7d54b894ba
/dev/unix/rf433switch.py
bdcb7ab9d8602202d7d3198ff4192c99297560d2
[ "MIT" ]
permissive
SiChiTong/pysmartnode
92351efa02e52aa84185a53896957c453b12540a
a0998ad6582a28fe5a0529fb15dd4f61e254d25f
refs/heads/master
2023-01-05T10:00:14.907988
2020-09-01T10:07:45
2020-09-01T10:07:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,244
py
# Author: Kevin Köck # Copyright Kevin Köck 2019-2020 Released under the MIT license # Created on 2019-07-03 """ example config: { package: .unix.rf433switch component: RF433 constructor_args: { unit_code: "10001" unit: "1" # expected_execution_time_on: 500 # optional, estimated ex...
[ "kevinkk525@users.noreply.github.com" ]
kevinkk525@users.noreply.github.com
73bb93dc2fdee7465546f4c3704f0c99b53a1c65
8d2a785ffc06ec46a546cdf50af41054a382f05a
/classes/day15/testideaP/testideaP/urls.py
53105cc9ee90854ad8f7cf1033d571a40ae3d3d0
[]
no_license
Pigcanflysohigh/Py27
4be0d9ad93f5d695c48fd89157952230ec4d111a
2f6568fce2a6f09c73cdc08342a8b05645c87736
refs/heads/master
2020-06-18T08:09:08.217036
2019-11-20T16:14:05
2019-11-20T16:14:05
196,225,940
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
"""testideaP URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "729167925@qq.com" ]
729167925@qq.com
14ae5a589fdaf24861ddaa9f4769af9675d93a7c
fcf735d736c15cb825f2d6f64f6098a5c4b9e851
/2016/19.py
59635417c98280d70020d03853065238c989530a
[]
no_license
csudcy/adventofcode
de3bc7078cd07bc4a8e0c5fff065ede78dc280f1
a68df4f53f35219351cd5d91fc945c4764112b70
refs/heads/master
2020-06-10T13:27:41.389206
2016-12-26T09:35:29
2016-12-26T09:35:29
75,956,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
NEXT_ELF_INDEX, PRESENT_COUNT = range(2) def generate_elves(count): # Return a list of (next_elf_index, present_count) return [ ((i+1) % count, 1) for i in xrange(count) ] assert generate_elves(1) == [(0, 1)] assert generate_elves(3) == [(1, 1), (2, 1), (0, 1)] def move_presents_once(elv...
[ "csudcy@gmail.com" ]
csudcy@gmail.com
b1864609f51d8bc2bc7cc5aff5a1fa5821989503
70f564990215f47b139a777826f211477e9b44f6
/plan2vec_experiments/baselines/vae_greedy_streetlearn.py
2b901d932170cea3865e03aaf622f61544a12dae
[]
no_license
geyang/plan2vec
de87f2d77732c4aacdefd00067ebebacb7cd763f
aeeb50aed3d7da4c266b4ca163e96d4c0747e3c1
refs/heads/master
2022-11-16T03:40:42.638239
2022-10-28T04:01:29
2022-10-28T04:01:29
261,273,420
65
3
null
null
null
null
UTF-8
Python
false
false
1,951
py
from plan2vec.plan2vec.plan2vec_streetlearn_2 import main, Args if __name__ == "__main__": import jaynes from plan2vec_experiments import instr, config_charts Args.load_local_metric = "same as before" Args.load_global_metric = "same as local metric" jaynes.config("vector-gpu") Args.visualiza...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
f871318e4766122e4899de6ae3d92fe781ce1286
9b32771b7d1513ee37bc62dd347675abcfc1bfc9
/example_snippets/multimenus_snippets/Snippets/SymPy/Calculus/Finite differences.py
585ccb52399464fbbb07a16d419bd3d5517474f6
[ "BSD-3-Clause" ]
permissive
listar0810/jupyterlab-snippets-multimenus
44087ef1aeb030a3074862a337508b57d50072c6
477f51cfdbad7409eab45abe53cf774cd70f380c
refs/heads/master
2022-12-12T18:19:25.221083
2020-09-08T01:11:01
2020-09-08T01:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
dx0, dx1 = symbols("dx0, dx1") formula = as_finite_diff(f(x).diff(x), [x-dx0, x, x+dx1])
[ "kptan86@gmail.com" ]
kptan86@gmail.com
601ff37229751271187e38404475b8cd160483ea
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_1673.py
8aa1924c9fc02ad862fc48164c8a4e2f33468bbf
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
# python sqlite check points? SAVEPOINT
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
5b8e1c159431a579d9e523ef91e56eea4d9be509
6d0ca19b8c0f986954135bca68fd3abc558e8ab8
/PKUTreeMaker/test/Wcrab/crab3_analysisWA.py
cba1ce5ca67f58e076e88a590559cf3217ee9e62
[]
no_license
AnYpku/Ntuple
8e018a2980d0440bf48c918a328d75e406df9595
7e3a41a7da5ef0005be67e32d615752ca6f130e1
refs/heads/master
2020-03-22T14:24:27.658961
2018-04-06T12:26:08
2018-04-06T12:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'WA-1' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Summer16_23Sep2016V3_MC_L1FastJet_AK4PFchs.txt','S...
[ "1501110102@pku.edu.cn" ]
1501110102@pku.edu.cn
35349035fa9deec5305c020cefe758b7875d2922
8defed57154f96a27fe368e7fcdc8e58d4ff8b53
/django_celery/api/tasks.py
2a39390d3755412eaf1cadeda9bd6d30405d6548
[]
no_license
defnngj/test_dev4
227c5bb53d96adb4cd4583b33c232cfcb4d85874
126f11eba933bf06bea4c3ef5e03024675549633
refs/heads/main
2023-02-21T17:54:55.098914
2021-01-24T10:02:14
2021-01-24T10:02:14
305,059,110
2
4
null
null
null
null
UTF-8
Python
false
false
1,305
py
import os from time import sleep from celery import shared_task import requests import unittest import xmlrunner from api.test_case.test_interface import RunConfig API_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) TEST_CASE = os.path.join(API_DIR, "api", "test_case") TEST_REPORT = os.path.join(API...
[ "defnngj@gmail.com" ]
defnngj@gmail.com
824c7924813e055a9e4abde4e2cc36032b7d9693
9ee47ef87f0c9a0bef750f6c380b8c1599a63b69
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_models.py
7849442cf6b60f1f8249b82d060678dedb7d0f78
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
qinxgit/azure-sdk-for-python
1ccfd8dc1bccdce5ff451742b9c50ee87a41f918
32f3f0c82fe3bac23e968b9393a479ea0e132144
refs/heads/master
2021-07-09T16:59:29.610494
2020-11-04T22:52:19
2020-11-04T22:52:19
213,697,974
0
0
MIT
2020-11-04T22:52:20
2019-10-08T16:40:46
null
UTF-8
Python
false
false
510,203
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
77a963659c22bc78b97bc981518926205e92bd30
bcb8337b488f6acb91b700a2312a5b2018855413
/federatedml/optim/test/updater_test.py
f2d3e05532916611ca665287568914e038b999cc
[ "Apache-2.0" ]
permissive
freeeedooom/FATE
d17a4729f059cfec6bc07c3142bebcd3b470dc3c
7bbce8ee037543f280791378681742b40a300b0a
refs/heads/master
2020-08-19T12:15:22.517131
2019-10-17T07:09:22
2019-10-17T07:09:22
215,918,890
1
0
Apache-2.0
2019-10-18T01:45:43
2019-10-18T01:45:43
null
UTF-8
Python
false
false
2,113
py
# # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "jicezeng@gmail.com" ]
jicezeng@gmail.com
5904a77dcaa3f8739c2f3bf5900512b189487013
81f2d4aa3bfb216e04efec81c7f614603a8fd384
/irekua/selia/urls/collections_admin.py
af1faca4aa8db97339d9dd03b7f487e21ecce3c1
[]
no_license
CONABIO-audio/irekua
44564020c342e8bd49a14707f206962869bc026d
4531a6dbb8b0a0014567930a134bc4399c2c00d4
refs/heads/master
2022-12-10T09:43:05.866848
2019-10-17T16:18:21
2019-10-17T16:18:21
170,434,169
0
1
null
2022-12-08T01:44:04
2019-02-13T03:32:55
Python
UTF-8
Python
false
false
350
py
from django.urls import path from selia.views import collections_admin urlpatterns = [ path( 'manage/', collections_admin.Home.as_view(), name='collections_manager_home'), path( 'manage/managed_collections/', collections_admin.ManagedCollectionsView.as_view(), n...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com
dd8d18efbc81be9cc56316bfb9bd50f9618a5a05
b5826ee957641a233e5b100e19e0fbdc0e8a0f6e
/fundingharvest/dao.py
7639f4eec0c7ef95771ab4c4868e043984d9b3b0
[]
no_license
emanuil-tolev/fundingharvest
1f610534cd7e8e7a64a65489c588d5d968559d78
00b49f708605d1f59eac5b5e21c55cd25e15da17
refs/heads/master
2016-09-11T02:09:45.387114
2014-04-29T15:28:35
2014-04-29T15:28:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,654
py
import json import uuid import UserDict import httplib from datetime import datetime import pyes from fundingharvest.config import config def init_db(): conn, db = get_conn() try: conn.create_index(db) except pyes.exceptions.IndexAlreadyExistsException: pass def get_conn(): host = "1...
[ "emanuil.tolev@gmail.com" ]
emanuil.tolev@gmail.com
d28c1620b4795e92a88c32d852a82433a3acf006
711c11d0111a40055ba110e7089a231c2ba42b8e
/toontown/ai/ServiceStart.py
113573dab399c4070258ce5574e020998d3f0c1c
[ "Apache-2.0" ]
permissive
DeadMemez/ProjectAltis-OldAcornAcres
03c8dc912ecccae8456d89790f6b332547b75cc3
e8e0087389933795973e566782affcaec65a2980
refs/heads/master
2021-01-19T13:59:07.234192
2017-08-20T14:41:45
2017-08-20T14:41:45
100,869,782
0
2
null
2017-08-20T15:14:35
2017-08-20T15:14:35
null
UTF-8
Python
false
false
2,621
py
import __builtin__ __builtin__.process = 'ai' # Temporary hack patch: __builtin__.__dict__.update(__import__('pandac.PandaModules', fromlist=['*']).__dict__) from direct.extensions_native import HTTPChannel_extensions from toontown.toonbase import ToonPythonUtil as PythonUtil import argparse parser = argparse.A...
[ "tewtow5@gmail.com" ]
tewtow5@gmail.com
d1721732a4cb0290b1e1c779d98ffbd556b00350
c24ad19b65992dd2be3d3210b889d970e43b9cdc
/class/phase2/RE/exercise.py
ea6935386b44c7c9c4ee02508bb9a92003d42f16
[]
no_license
ivoryli/myproject
23f39449a0bd23abcc3058c08149cebbfd787d12
cebfa2594198060d3f8f439c971864e0639bbf7e
refs/heads/master
2020-05-30T06:25:41.345645
2019-05-31T11:15:55
2019-05-31T11:15:55
189,578,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
import sys import re # port = sys.argv[1] # fd = open("1.txt") # while True: # data = '' # for line in fd: # if line != '\n': # data += line # else: # break # # print(">>>s>>>>",data) # # #匹配字符串首个单词 # key_word = re.match(r'\S+',data).group() # if key_word...
[ "2712455490@qq.com" ]
2712455490@qq.com
1fa00ffbfd674b2cd55fb92276e5f8116a643b10
c26332e2b12888069efe3664999a314b3bd56d7d
/backend/mobile_122_dev_5929/wsgi.py
6b6ae74d42b50e58a4ec368459dab5d82879d108
[]
no_license
crowdbotics-apps/mobile-122-dev-5929
b7dee33e9c4492567601113440d541e2e101a552
f51b63024c7c5bbfa7a4d99626c2019ac8408bf3
refs/heads/master
2022-10-11T09:56:45.538625
2020-06-12T05:25:16
2020-06-12T05:25:16
271,715,500
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" WSGI config for mobile_122_dev_5929 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2c0191293e8c452ed7859c3cde2961e80e81d050
030cea4006a4ff559f23cb3b3c31cd038ed2e332
/week8/informatics/array_f.py
0231e876ee6b041411b446562543e4a28a75e84b
[]
no_license
ayananygmetova/Web-Dev-2020
f8834e0ee26f0f0f06d0e3a282c73b373954a430
957bca91554f015e9a3d13b4ec12e64de7ac633e
refs/heads/master
2023-01-22T16:49:39.857983
2020-03-31T10:09:54
2020-03-31T10:09:54
236,937,810
1
0
null
2023-01-07T16:34:35
2020-01-29T08:41:10
Python
UTF-8
Python
false
false
380
py
<<<<<<< HEAD n = int(input()) nums = [int(i) for i in input().split()] cnt=0 for i in range(1,n-1): if nums[i]>nums[i-1] and nums[i]>nums[i+1]: cnt+=1 ======= n = int(input()) nums = [int(i) for i in input().split()] cnt=0 for i in range(1,n-1): if nums[i]>nums[i-1] and nums[i]>nums[i+1]: cnt+=1...
[ "ayananyfmetova@gmail.com" ]
ayananyfmetova@gmail.com
03b2c7c933d5a7132ca19ec39915b583600ab8e9
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc201-abc250/abc249/a/main.py
865b1e51de55bf7b935c7adf0cc1a54134c2cbb1
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline a, b, c, d, e, f, x = map(int, input().split()) dist_t, dist_a = 0, 0 p1, q1 = divmod(x, a + c) dist_t = a * p1 * b dist_t += min(q1, a) * b p2, q2 = divmod(x, d + f) dist_a = d * p2 * e dist_a += min...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c0467c1f1792cf8edb3adc594aa6a34ac8af51cf
0ed63027e39120c8f0ca355aa5abbeaee42104f4
/dex_api_python/models/post_deposit_body.py
dd59b63647579ac1cbcf29c748c3ce392528a6e6
[]
no_license
Felix-Fenix/dex-api-python
592f4737936fbc1968e7c3725bf2ecfda607ff9a
bb5a2d86d476ab3c080383ad5197ed5f116712ed
refs/heads/master
2022-08-24T16:22:28.795164
2020-05-26T07:11:34
2020-05-26T07:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,475
py
# coding: utf-8 """ CET-Lite for CoinEx Chain A REST interface for state queries, transaction generation and broadcasting. # noqa: E501 OpenAPI spec version: 3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Post...
[ "huahui.gao@matrixport.com" ]
huahui.gao@matrixport.com
722f1d36546973f8c17497415915f509abc74020
e5202e0f36c15b8898920a461a866168fa059947
/clirad/co2_0.0004/band_11/atmpro_mls/cliradlw_523cbb7/param.py
a462e32e4dffdd5644dd1c546871f04e88f215f5
[]
no_license
qAp/analysis_-_new_kdist_param
653c9873751646f6fa9481544e98ed6065a16155
272dc3667030cdb18664108d0bd78fee03736144
refs/heads/master
2021-06-11T04:21:35.105924
2019-08-04T13:13:07
2019-08-04T13:13:07
136,108,828
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
PARAM = {'commitnumber': '523cbb7', 'molecule': {'co2': 0.0004}, 'band': [11], 'atmpro': 'mls', 'tsfc': 294} PARAM_LBLNEW = {'atmpro': 'mls', 'band': '9', 'commitnumber': 'a22ab94', 'conc': 0.0004, 'dv': 0.001, 'klin': 6.5e-24, 'molecule': 'co2', 'ng_adju': [0, 0], 'ng_refs': [3, 3], 'nv': 1000, 'option_compute_btable'...
[ "llacque@gmail.com" ]
llacque@gmail.com
fa3aa2d7d1b50914f148e89a4638fb89c4c58898
ebbaa59b07f170e7fcff3f97c1ac17d9c8f70dbf
/cars_server/settings.py
39000cbcfaf46dc699f4c8adf566bc0ec155a75c
[]
no_license
sudhanshuchopra/cars_server
fe22e89a7d08c8d34da3d86e18d73e5f1e7c6368
40fe65debb10745bbe6ba1ca9a58576983f47caa
refs/heads/master
2021-01-12T04:19:29.460116
2016-12-29T10:55:19
2016-12-29T10:55:19
77,587,476
0
0
null
null
null
null
UTF-8
Python
false
false
3,234
py
""" Django settings for cars_server project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "sudhanshuccp@gmail.com" ]
sudhanshuccp@gmail.com
e531c93400227515a0cff8a32d5fd493da27819d
3327a87cefa2275bd0ba90a500444f3494b14fdf
/bwu/array/229-majority-element-ii.py
97f32d59b609136a9b16159f5b89aaa2dc146d20
[]
no_license
captainhcg/leetcode-in-py-and-go
e1b56f4228e0d60feff8f36eb3d457052a0c8d61
88a822c48ef50187507d0f75ce65ecc39e849839
refs/heads/master
2021-06-09T07:27:20.358074
2017-01-07T00:23:10
2017-01-07T00:23:10
61,697,502
1
0
null
null
null
null
UTF-8
Python
false
false
685
py
class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: List[int] """ if not nums: return [] count1, count2, cand1, cand2 = 0, 0, 0, 1 for n in nums: if n == cand1: count1 ...
[ "noreply@github.com" ]
captainhcg.noreply@github.com
e2cc5bec1c205a1ac7954da2c42e2c572adc1402
6fc061385b59852d86a6d00a7c1ae9136d072d11
/localpubsub/localpubsub.py
78ee2d6c65d2f8dabba58969685173485f7053d8
[ "MIT" ]
permissive
SimLeek/localpubsubs
d07c9d31be63761fd70ba37e6acb5ba36dfa53ed
2e2351e4047ace6f68ce2217fe2222f1f18aec09
refs/heads/master
2020-04-18T01:28:13.496094
2019-03-10T23:59:31
2019-03-10T23:59:31
167,119,863
0
0
MIT
2019-03-10T23:59:32
2019-01-23T04:57:06
Python
UTF-8
Python
false
false
2,216
py
from threading import Lock if False: from typing import Dict class NoData(object): pass def _args_for_lock(blocking, timeout): if blocking: args = (blocking, timeout) else: args = (blocking,) return args class VariableSub(object): def __init__(self, pub): self.pub ...
[ "josh.miklos@gmail.com" ]
josh.miklos@gmail.com
412d4c1d26dc9b4425b7ac7a327faca556197f81
61587071621eefd6dd0f549d618753d769eededc
/src/pages/alagoas/novoextra.py
e16386b7609ff56c1b43bfa185920200c19dd23d
[]
no_license
diegothuran/rss3
df1e9e07b0552eb8bdbe6131235df3b991ddbabc
3177cf768047ced21e38a060d2306cd028e752fb
refs/heads/master
2022-12-07T19:53:14.609867
2019-02-10T20:15:13
2019-02-10T20:15:13
145,567,411
0
0
null
2022-11-22T02:50:19
2018-08-21T13:25:00
Python
UTF-8
Python
false
false
1,117
py
# coding: utf-8 import sys sys.path.insert(0, '../../src') from bs4 import BeautifulSoup import requests GLOBAL_RANK = 590712 RANK_BRAZIL = 32566 NAME = 'novoextra.com.br' def get_urls(): try: urls = [] root = 'https://novoextra.com.br' links = [ 'https://novoextra.com....
[ "victor.lorena@gmail.com" ]
victor.lorena@gmail.com
cc308036cdbc4f75519110ea6b6bf1c925d798d2
101f209bae06b98f7d0b949c19b02341f0afc280
/01_HelloWorld/04_django/03_MODEL_PROJECT/real_data/apps.py
3753550927c54e86a2cc038b3a11bd9c637f445e
[]
no_license
JJayeee/TIL
71162040e86169d946e1812ef48d7a6faa9ffa5d
86d954d36ed604f3ee044618421a8a2560fa8d35
refs/heads/master
2020-12-20T16:09:00.378294
2020-10-11T03:32:54
2020-10-11T03:32:54
195,916,223
2
0
null
2019-12-09T01:50:04
2019-07-09T02:17:39
Python
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class RealDataConfig(AppConfig): name = 'real_data'
[ "jay.hyundong@gmail.com" ]
jay.hyundong@gmail.com
ec5cda2e94a7432262ed358abe6b66255554e044
825930f372fdf8c9c42cd2f9b1f424ab9de90b38
/accounts/models.py
77d49558c6ab9090318df7e4d9bcc8553e09e68f
[]
no_license
Xasanjon/crm2
56cbfa05d910144c75a3cdfe7423ba68fd576534
52279925e64e4268830fbeae6af897aef14b64d0
refs/heads/master
2023-07-02T04:13:33.928305
2021-08-16T14:53:43
2021-08-16T14:53:43
395,755,429
0
0
null
2021-08-16T14:53:44
2021-08-13T18:30:32
Python
UTF-8
Python
false
false
1,880
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Customer(models.Model): user = models.OneToOneField( User, null=True, blank=True, on_delete=models.CASCADE) name = models.CharField(max_length=200, null=True) phone = models.CharField(max_leng...
[ "xasanboy99akaxon@gmail.com" ]
xasanboy99akaxon@gmail.com
6c44855d61e430162cf4edf26b96aea7b0cc08be
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_3814.py
d5ee62c94558f8c738e33b38d7038e454fd21acc
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
# PyNotify not working from cron? 00 * * * * myname env DISPLAY=:0 python ~/scripts/script.py
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
f3905abd94b637d98fa7979ff6d9141620545f55
0f79fd61dc47fcafe22f83151c4cf5f2f013a992
/BOJ/11053.py
c97d0ad92ba2aa4c8f3ec542dfb9fe9e3fe02f62
[]
no_license
sangm1n/problem-solving
670e119f28b0f0e293dbc98fc8a1aea74ea465ab
bc03f8ea9a6a4af5d58f8c45c41e9f6923f55c62
refs/heads/master
2023-04-22T17:56:21.967766
2021-05-05T12:34:01
2021-05-05T12:34:01
282,863,638
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
""" author : Lee Sang Min github : https://github.com/sangm1n e-mail : dltkd96als@naver.com title : 가장 긴 증가하는 부분 수열 description : Dynamic Programming """ N = int(input()) arr = list(map(int, input().split())) dp = [1] * N for i in range(N): for j in range(i+1, N): if arr[i] < arr[j]: dp[j] = ...
[ "dltkd96als@naver.com" ]
dltkd96als@naver.com
715e9f56ac3e6ff7f765b338d1357f4f59ecd8f2
51a902289b357ad6cf467e51c9740fa2a07c1c1c
/first_sem/lab_5/protect5.py
4a02342594f304c825d684e7cf4e593a92379b99
[]
no_license
ivaaahn/bmstu-python
d3910356353b0ab3faab243a53a1d657b7d793ad
9f2d8eb390d804ad86545c992add2a6d97148a5d
refs/heads/main
2023-03-24T08:52:12.723117
2021-03-16T13:19:46
2021-03-16T13:19:46
348,353,873
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
x, eps = map(float, (input('Через пробел введите x, eps: ')).split(' ')) # S = 0.0 # n = 1 # elNext = x # k = n + 1 # # while abs(elNext) > eps: # S += elNext # n += 1 # elNext = -elNext * x * x / k / (k + 1) # k = k + 2 s = 0.0 n = 2 nextEl = x while abs(nextEl) >= eps: s += ne...
[ "ivahnencko01@gmail.com" ]
ivahnencko01@gmail.com
9654adeb6cb6a9aed8c3e0304e89ee23367bafbe
903a5afa943971c2be30007f0445264d417727e8
/src/openprocurement/tender/openua/views/complaint_post_document.py
e7012422a55ba07117b724366dade2076a325b34
[ "Apache-2.0" ]
permissive
pontostroy/api
39ca2ff864daa9c6b8a96b17c49f6eec2f489398
5afdd3a62a8e562cf77e2d963d88f1a26613d16a
refs/heads/master
2021-03-14T13:11:24.314136
2020-06-24T08:34:20
2020-06-24T08:34:20
246,768,251
0
0
Apache-2.0
2020-06-24T07:18:10
2020-03-12T07:18:07
Python
UTF-8
Python
false
false
5,210
py
# -*- coding: utf-8 -*- from openprocurement.api.utils import ( get_file, upload_file, update_file_content_type, json_view, context_unpack, APIResource, ) from openprocurement.api.validation import ( validate_file_update, validate_file_upload, validate_patch_document_data, ) from op...
[ "smithumble@gmail.com" ]
smithumble@gmail.com
ccd648d652a9be83c5c2a3cf25506b3328aa808b
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py
52b88d6fcc1d525a4ac3586c4a0e186a9942bd2a
[ "MIT", "BSD-3-Clause", "GPL-1.0-or-later", "LGPL-2.0-or-later", "Apache-2.0" ]
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
2,434
py
# Copyright (c) 2011 Google Inc. 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 # notice, this list of conditions and the ...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
1d215416e8655f9b2cca93de4850235b5d6baf1e
78f0234c1f20605008a98aa9956a6071ccb7996f
/gag.py
f0fb681ef919f103cd7e3f5d6e36be0b7a257995
[]
no_license
sashgorokhov-heaven/python-9gag-gui-old
b6ce8ee683323a7712d48a3c0f948703901245b2
870b803462180fcfaeb39c51869ebf279cb8a0d6
refs/heads/master
2021-05-27T23:08:47.641736
2014-05-23T19:22:33
2014-05-23T19:22:33
18,153,965
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
__author__ = 'Alexander' from libs import constants, util from libs.gorokhovlibs.vk import accesstokener try: import requests except ImportError: print("Module 'requests' is not found") exit(-1) try: import PyQt4 except ImportError: print("Module 'PyQt4' is not found") exit(-1) access_token =...
[ "sashgorokhov@gmail.com" ]
sashgorokhov@gmail.com
315cdd5b8427d37fcd29c953161c986ad08c4fc7
e9536f9dc5d0ed823f36e1f68ee10ccd01ecb250
/aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/DescribeLiveStreamNumberListRequest.py
2f11b8e61cfade747f0c2af3e0c8dcd204323d47
[ "Apache-2.0" ]
permissive
Linyee/aliyun-openapi-python-sdk
70aee05946d2cb0520d378f7aff6a1f7e8177d6d
436f6251ec32fdccd58c940f2c508a95deeacd8b
refs/heads/master
2021-01-20T03:54:40.275523
2017-08-25T02:15:01
2017-08-25T02:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,007
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 ...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
5c4f25e2db0cbf657ab5255b37da00a033676c9b
bbf7787d94e97d4e0c9bceb46203c08939e6e67d
/django-python/web-app/MyWeb3/urls.py
c909d76cf412c4a39ced6bfb2d1ebb4317a1dfee
[]
no_license
llanoxdewa/python
076e6fa3ed2128c21cdd26c1be6bc82ee6917f9c
6586170c5f48827a5e1bcb35656870b5e4eed732
refs/heads/main
2023-06-16T05:31:52.494796
2021-07-09T09:04:30
2021-07-09T09:04:30
362,782,196
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
"""MyWeb3 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "llanoxdew4@gmail.com" ]
llanoxdew4@gmail.com
1547accb85364d41897ae52576bc4b7385b919f5
f030f25989ca369e32e1031915207c808975032d
/line_prob copy.py
348bccffb0bbb6746c995d74c9c50e3cf471dac1
[]
no_license
vivek3141/RandomProblems
68708eecdf6fdc035f54259611b25c9c040518c3
6fa699c3d219c1d392474ce896d8794108dcc8e6
refs/heads/master
2021-05-12T17:36:39.399410
2020-03-11T07:15:01
2020-03-11T07:15:01
117,049,166
8
0
null
null
null
null
UTF-8
Python
false
false
201
py
print(f"Probability: {sum([1 if (lambda a:lambda c, num:a(a, c, num))(lambda s, c, num: c if num==7 else s(s, (B - c) * random.random() + c, num + 1))(A, 0) >= C else 0 for i in range(MAXN)]) / MAXN}")
[ "vivnps.verma@gmail.com" ]
vivnps.verma@gmail.com