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
39fd1ad014d653c89ac21c57ac1ddb0acb690fa9
ca259c70bd7e565fa45cf7e9597251e7bbd8f240
/menus/Layout/ReadLayout.py
a1a2abf49c1dd8e6f130880c7fc32596cc433983
[]
no_license
gmolinart/blender_pipeline
6ecd01e8efa02a2b9b8f68ece3e82a35d899c73c
1a01d78a697c3fc70e6410b46b5138405d4b542c
refs/heads/master
2023-04-10T04:17:44.349286
2021-04-20T11:14:26
2021-04-20T11:14:26
304,119,928
0
0
null
null
null
null
UTF-8
Python
false
false
4,669
py
import os import bpy from cgl.plugins.blender import alchemy as alc class ReadLayout(bpy.types.Operator): """ reads in the current scene layout. """ bl_idname = 'object.read_layout' bl_label = 'Read Layout' def execute(self, context): run() return {'FINISHED'} def get_layou...
[ "gmolinart@gmail.com" ]
gmolinart@gmail.com
166d79e529833f7aed77ed52690617dcd65073fa
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/43/usersdata/142/14962/submittedfiles/mediaLista.py
7363776eb593a82500695ff6c9d6bdba949f5d7e
[]
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
303
py
# -*- coding: utf-8 -*- from __future__ import division n = input('Digite um número n:') L = [] for i in range (0,n,1): L.append(input('Digite um valor:')) soma=0 for i in range (0,n,1): soma = soma + L[i] media = soma/n print ('%.2f'%L[0]) print ('%.2f'%L[n]) print ('%.2f'%media) print L
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7e9da19eef09436ca45784a1b82a6ae9c2a86c6e
e49b7bf5a39934bba6ab13444e32ed8e3b9c9cfa
/examples/cobalt-preproc/Boundary_bio/remap_bdry_bio.py
1b88ff86ce1da3f6f412cdfd02edf92ee934e9be
[ "BSD-3-Clause" ]
permissive
rsoutelino/pyroms
4cffc520b9fb0989d0534c8e126bd480fcf8b081
85a6277b927ed7f817413b2e03c633e983246321
refs/heads/main
2023-06-05T11:59:09.208943
2021-07-02T04:36:35
2021-07-02T04:36:35
382,162,602
0
0
NOASSERTION
2021-07-01T21:41:08
2021-07-01T21:41:08
null
UTF-8
Python
false
false
6,625
py
import numpy as np import os try: import netCDF4 as netCDF except: import netCDF3 as netCDF import matplotlib.pyplot as plt import time from datetime import datetime from matplotlib.dates import date2num, num2date import pyroms import pyroms_toolbox import _remapping class nctime(object): pass def remap_bdry...
[ "kshedstrom@alaska.edu" ]
kshedstrom@alaska.edu
dc45168a72d76099a93c64fde364a693101ea047
7e69c60c23fce92463c78774b5968d3320c715c9
/python_basic/pack2/test10func.py
d83e49571361c0c176484b988d4d41c8e7b36d72
[]
no_license
hwet-j/Python
5128d114cf7257067f68cfb1db502e4f762ac8cc
3e6f36be665932588a576f44ebb0107a4f350613
refs/heads/master
2023-04-08T17:52:31.607225
2021-04-17T05:25:02
2021-04-17T05:25:02
353,336,473
1
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
# 일급 함수 : 함수 안에 함수 선언 가능, 인자로 함수 사용, 반환값이 함수 가능 def func1(a, b): return a + b func2 = func1 # 함수의 주소 치환 print(func1(2,3)) print(func2(2,3)) print() def func3(func): # 인자로 함수 사용 def func4(): # 함수 안에 함수 선언 가능 print('내부 함수') func4() return func #반환값이 함수 가능 mbc = func3(func...
[ "ghlckd5424@gmail.com" ]
ghlckd5424@gmail.com
b4e466acde260dd80320f59db7bcb8c610bea8d0
b54cd22730d4f79c88a89236cd00ccbb54de5a84
/pyscf/pbc/df/fft_multi_grids.py
c9600b759f6113707ddf57df15f60ed6471d9096
[ "Apache-2.0" ]
permissive
y-yao/pyscf_arrow
1b0643a5a1d55ad7f3cc1d562363daab6710325d
079088a5d92af1570167004f411207deb104a1bb
refs/heads/master
2020-03-27T17:03:27.130746
2019-07-25T18:41:22
2019-07-25T18:41:22
146,826,265
1
0
null
null
null
null
UTF-8
Python
false
false
44,127
py
import time import copy import numpy from pyscf import lib from pyscf.gto import ATOM_OF, NPRIM_OF, PTR_EXP, PTR_COEFF from pyscf.pbc import tools from pyscf.pbc import gto from pyscf.pbc.gto import pseudo from pyscf.pbc.dft import numint, gen_grid from pyscf.pbc.df.df_jk import _format_dms, _format_kpts_band, _format_...
[ "andrewyaoinzz@gmail.com" ]
andrewyaoinzz@gmail.com
360a3dfea0213a47b9cf4d18f7c3369455ab663a
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/rfRecon/68-tideGauge.py
7a67b18a51248ec1bc6337332cd801fcde5579de
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
10,694
py
# -*- coding: utf-8 -*- """ Created on Mon May 7 11:39:00 2020 This program is designed to reconstruct daily max surge using RF @author: Michael Tadesse """ def reconstructRF(): """ run KFOLD method for random forest regression """ #import packages import os import numpy as np import pan...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
de21e031d0aff03f212f8ce1b877ad1af77058dd
aa1185d60fd6a35cbdd86ea02d0d2bb5640e7d76
/backend/api/management/commands/import_csv.py
03cb27d71affbdc952016e71f41c01adae484229
[ "MIT" ]
permissive
icoxfog417/executive_button
482a5cfee84b75e45e419346535444cebcebdf89
7931a5aa427f1e5dabd6a3573315808a843ba60d
refs/heads/master
2022-05-04T04:33:16.004066
2019-12-06T09:52:16
2019-12-06T09:52:16
225,171,286
0
0
MIT
2022-04-22T22:56:42
2019-12-01T14:04:31
Python
UTF-8
Python
false
false
1,535
py
import csv from django.core.management.base import BaseCommand, CommandError from api.models import Remuneration class Command(BaseCommand): help = "Import CSV for Remuneration model" def add_arguments(self, parser): parser.add_argument("file_path", nargs="?", type=str) parser.add_argument( ...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
0de4e303945aeae309cc1bfc07f7f1c319aaf815
b2135e3fc77666f043f0fbafd0d88ed9865d5b4f
/7183 Python Basics/39 Week 7 - About Sets/02 test_empty_sets_have_different_syntax_to_populated_sets/78851_01_code.py
1a0a0383b5a30bae701bb4b1e0e50910b218abcb
[]
no_license
Felienne/spea
164d05e9fbba82c7b7df8d00295f7157054f9248
ecb06c66aaf6a2dced3f141ca415be9efb7dbff5
refs/heads/master
2020-03-17T17:35:27.302219
2018-05-17T10:14:49
2018-05-17T10:14:49
133,794,299
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
# class AboutSets(unittest.TestCase): def test_empty_sets_have_different_syntax_to_populated_sets(self): self.assertEqual(__, {1, 2, 3}) self.assertEqual(__, set())
[ "felienne@gmail.com" ]
felienne@gmail.com
aeb9e8a9fb99e4163b45245c88c327e24b0f549e
f22599ee9ab6b5d0b441e9d898a9c482967ff510
/osef/apps/main/views.py
bef43131379883d6852f7dc5093f4cbed44ab775
[]
no_license
DJeanCar/Osef
11ce033ec60a8db5340564cba059a73712d0431b
6661aa08ffbead7b2aad039a78135c569fe602e1
refs/heads/master
2020-05-22T04:35:28.577613
2017-04-01T22:01:19
2017-04-01T22:01:19
65,255,715
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from django.shortcuts import render, redirect from django.core.urlresolvers import reverse from django.views.generic import TemplateView class HomeView(TemplateView): template_name = 'main/home.html' def dispatch(self, request, *args, **kwargs): if request.user.is_authenticated(): return redirect(reverse('use...
[ "jean_carlos104@hotmail.com" ]
jean_carlos104@hotmail.com
8f17cff7d069efa4bb1ce127bb32384ca3e4320f
758b475451f96bb63b0fd4922beb7b6e1ed40137
/PyCalendar/branches/json/src/pycalendar/icalendar/component.py
79a72c8fd402441abfdcb28b9df36baffd87bf48
[ "Apache-2.0" ]
permissive
svn2github/calendarserver-raw
da9f0bfa94d8080a9803eab5e4630be21645b329
37edd10248e8c13dc13f65ff52c72df1783e3499
refs/heads/master
2023-01-11T00:51:40.137861
2015-01-07T00:07:46
2015-01-07T00:07:46
14,276,537
1
0
null
2022-12-21T13:08:16
2013-11-10T13:09:44
Python
UTF-8
Python
false
false
5,710
py
## # Copyright (c) 2007-2012 Cyrus Daboo. 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 ...
[ "cyrusdaboo@e27351fd-9f3e-4f54-a53b-843176b1656c" ]
cyrusdaboo@e27351fd-9f3e-4f54-a53b-843176b1656c
8d31412f565aa3e9cb26112d6bc46b6ac24e1caa
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/WCm54pW7ME7GxuzJm_7.py
a9e81414f9ac7e29714b642427447cc9b2c7918e
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
""" Create a function that takes a number as an argument and returns the amount of digits it has. ### Examples find_digit_amount(123) ➞ 3 find_digit_amount(56) ➞ 2 find_digit_amount(7154) ➞ 4 find_digit_amount(61217311514) ➞ 11 find_digit_amount(0) ➞ 1 ### Notes * If you...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
518a11680c2c1304b0e73433b819d323d10117c7
9eac29ffe12c4006de97549fb1608f77bf291ea2
/leaves/middleware.py
9d7056e6d1a544d1188e50b0a88259f0990b0f33
[]
no_license
avaraline/leaves-cms
628f325287723d99784ae22e9bc3da3d6345d7c4
46aabd1c15cba962ab80f3c92b4455e42e4a547c
refs/heads/master
2020-05-19T19:53:56.768348
2012-08-31T19:29:51
2012-08-31T19:29:51
5,498,553
1
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
from django.shortcuts import get_object_or_404 from django.core.urlresolvers import resolve from django.contrib.sites.models import Site from django.utils.encoding import iri_to_uri from django.conf import settings from django import http from leaves.models import Leaf, Redirect import threading request_conte...
[ "dcwatson@gmail.com" ]
dcwatson@gmail.com
52536089ce41acc142334576e3ddb762684b2531
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/ws66i/models.py
84f481b9a4a39147a092b51b666d0fb6d8eee709
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
550
py
"""The ws66i integration models.""" from __future__ import annotations from dataclasses import dataclass from pyws66i import WS66i from .coordinator import Ws66iDataUpdateCoordinator @dataclass class SourceRep: """Different representations of the amp sources.""" id_name: dict[int, str] name_id: dict[s...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
473e173c58ae4b5e2763726be226f84303cfc12c
bb853b657537eca893032ad08e4c843b5195fa35
/jokes14.py
800050ebdce9cfa57fc8d46e82642fca39b9ee6e
[]
no_license
PrathameshDhumal/Artificial-Intelligence-Assistant-With-Python
584064e5219479576244d74aafb6f4e4dcbd16cc
6afcdf792a2e0e1d6168dfb732add3d63158f38d
refs/heads/main
2023-05-31T01:31:19.202678
2021-06-30T19:57:53
2021-06-30T19:57:53
379,478,238
0
0
null
null
null
null
UTF-8
Python
false
false
4,485
py
import pyttsx3 import datetime import speech_recognition as sr import wikipedia import smtplib import webbrowser as wb import os import pyautogui import psutil import pyjokes engine = pyttsx3.init() def speak(audio): engine.say(audio) engine.runAndWait() def time(): Time = datetime...
[ "noreply@github.com" ]
PrathameshDhumal.noreply@github.com
654ec207910ef79d5408f33386f99ca0594aec1b
0a0afbcbd6a4a480ed86d8c1769aca15c3b3acc9
/hypertext_labs_2667/wsgi.py
bfa3f4285aa3d56c95498b501fcd045150a82314
[]
no_license
crowdbotics-apps/hypertext-labs-2667
99438c33498f2a5980c175698c85d1370c569b9c
9e75ea463abbb732fd5b8adf48557c28c4bf9755
refs/heads/master
2020-05-16T22:27:03.079029
2019-04-25T01:56:53
2019-04-25T01:56:53
183,336,663
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
""" WSGI config for hypertext_labs_2667 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e73be62300880a0966f30257c25d5e9df74e4dbc
d74daa1dfe1f4eac96ceb1d006c59ba19b55d37a
/CS331/python_othello-master/MinimaxPlayer.py
72806e64504e47ae6a0f4e1f131e52dc79fdf5c0
[]
no_license
muratcancicek/Assignment-Projects
7aac0cced54f392e26b39f6bc46af813faddd628
41c7df2b60f20eb840d409f3fedb4ec6feeafdcc
refs/heads/master
2021-06-06T17:27:11.616251
2017-09-06T12:17:40
2017-09-06T12:17:40
58,016,251
0
1
null
null
null
null
UTF-8
Python
false
false
697
py
#!/usr/bin/env python __author__ = "Emmitt Johnson" __credits__ = ["Emmitt Johnson"] __license__ = "GPL" __version__ = "1.0" __email__ = "johnemmi@oregonstate.edu" from OthelloBoard import * from BoardNode import * from Player import * class MinimaxPlayer(Player): def __init__(self, symbol, isP1, depthLimit = -1)...
[ "muratcancicek0@gmail.com" ]
muratcancicek0@gmail.com
bd83385cdeac60be972f75f3f14f788aa8c6b2e1
dea8cfa596d52d5db0e28ac43504e7212b43081b
/python/CODE FESTIVAL 2017 qual A/fLIP.py
fa7e6c45cb1f1537b6029a60df390c18b4106293
[]
no_license
Yuta123456/AtCoder
9871a44f12a8fca87b0e2863a999b716128de1ac
ca04422699719563e311f7d973459ba1dc238c2c
refs/heads/master
2023-01-04T22:33:54.120454
2020-11-04T05:20:37
2020-11-04T05:20:37
286,409,112
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
n, m, k = list(map(int, input().split())) for i in range(m+1): for j in range(n+1): if (n * i) + (m * j) - 2 * (i * j) == k: print("Yes") exit() print("No")
[ "yuuta09090530@icloud.com" ]
yuuta09090530@icloud.com
0162735cd525212c86c2901d8e82aa619f20e76a
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/68omQmgQEwv8558ZK_20.py
8b73b5dd9e4a128948a783de85c3cc23ee11ffa5
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
""" You were bored, so you decided to try out a new game you recently downloaded. There are five types of characters, each with their own level of attack power, defense, and speed. There are also five types of armor, weapons, and boots. Each type of item has a different cost of gold and a different level of attack p...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5ab0fc24294a6e4f4b3dff1e6d3e8215408be07d
747eeeed1056b69a8bde6364ee9bf266523f19e5
/Beer-sheva Ref/Excercises/d_Linked_list.py
e5f99dc95bc9ad97b6a628267beeff0c69360c1e
[]
no_license
LittleAndroidBunny/Python_Cheatsheet_Nohar_Batit
d18a77d455474834da99c11e763beea598947f7c
a53f5e3a635bb47012fceb50efd43ad124eff180
refs/heads/main
2023-06-10T10:40:54.746084
2021-07-03T23:25:17
2021-07-03T23:25:17
382,595,063
1
0
null
null
null
null
UTF-8
Python
false
false
605
py
from e_Linked_list import LinkedList linked = LinkedList() # Initialize empty list linked.add_at_start(1) # add head linked.add_at_start('a') # add new head, push previous linked.insert(1, 2) # insert at specified location linked.add_at_end(5) # insert at tail print(len(linked)) # show length print(linked) # s...
[ "noharbatit.9@gmail.com" ]
noharbatit.9@gmail.com
b5023dee9b07aa25ec1664124c4c2ab20a39800d
cdee5cc20a5085b40f8555e7199fe19403e005c3
/experimental/algorithms/old_weather/rotation.py
ecc2405f8fcb9b4a9e41a08482860d59aa047c09
[ "Apache-2.0" ]
permissive
visenger/aggregation
1e908d11df701e900d94d6545f3cc35a6c7dc915
82dce87eaaf14b0b2bedd29fc82c026fda2a0138
refs/heads/master
2020-03-19T03:08:52.140663
2017-06-21T10:32:27
2017-06-21T10:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
__author__ = 'greg' from math import pi,cos,sin,sqrt theta = pi/4. tx = 2 ty = -3 transform = [[cos(theta),-sin(theta),2],[sin(theta),cos(theta),-3],[0,0,1]] pt = [4,5,1] pt2 = [sum([a*b for (a,b) in zip(row,pt)]) for row in transform] def dist(p1, p2): return sqrt(sum([(a-b)**2 for (a,b) in zip(p1,p2)])) d...
[ "ggdhines@gmail.com" ]
ggdhines@gmail.com
685bfeeb37f81b7f1f1a62484112e683467ae637
6b5781db10b2a25b02612d7baaa35fb88142e9f7
/09-Generative Adversarial network/conv_gan.py
3909bc2d2a0006fd4fe8fee02a1ea99bff0d53fa
[]
no_license
jianfly/pytorch-beginner
cbd7ca67e862c2e29d7ba9b9d07ce31a2a415bc5
7325564d9d87198dd246d8000bc9da71493f6503
refs/heads/master
2021-01-11T13:41:27.463901
2017-06-21T05:57:02
2017-06-21T05:57:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,882
py
__author__ = 'ShelockLiao' import torch import torch.nn as nn from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import transforms from torchvision import datasets from torchvision.utils import save_image def to_img(x): out = 0.5 * (x + 1) out = out.clamp(0, 1) o...
[ "sherlockliao01@gmail.com" ]
sherlockliao01@gmail.com
1f286e5918d345748093a21fd150901c2b05f146
a689a72d3699883d7b58bd4ee3103373270bd0d5
/programmers/category/Dynamic_Programming/N.py
fdf8843a5959392250d8e0916932df66a69143e3
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
3,118
py
N = 9 number = 12 # # 444 / 4 = 111 def solution(N, number): answer = 0 NN = int(str(N)*2) NNN = int(str(N)*3) NNNN = int(str(N)*4) NNNNN = int(str(N)*5) calc = { '+1': lambda x: x+1, '+11': lambda x: x+11, '+111': lambda x: x+111, '+1111': lambda x: x+1111, ...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
dce55a0ec281a188907c9dd770c735ae8c303e96
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/servicebus/azure-servicebus/tests/async_tests/test_subscriptions_async.py
ab5cfda380223ff25123cd98b7b599dcc34474bf
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
7,881
py
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #------------------------------------------------------------------------- import loggi...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
5cdc0c3cc6638137583719453cd74a470655b5fb
3c40fe42695ba6275e4b8eeb93520b8608fa906f
/config/environment.py
91ea481648772d3dc87319a0f46447e8ea83bf24
[ "MIT" ]
permissive
Octavian-ai/synthetic-graph-data
530e9741537cb0b3018838826fd3823b6757b927
b327cfb06d420d216a5377f2ce953355089e0e6b
refs/heads/master
2023-03-05T17:44:33.296681
2021-02-10T00:02:47
2021-02-10T00:02:47
118,439,569
21
8
MIT
2021-02-10T00:02:48
2018-01-22T10:04:23
Python
UTF-8
Python
false
false
81
py
class Environment(object): def __init__(self, name): self.name = name
[ "david@sketchdeck.com" ]
david@sketchdeck.com
2174a0aa3ad05172ee460457286c209e1e9af923
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/netapp/backup_policy.py
91a0177d6be977f7d8564b44cd5853643354cb66
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,358
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
fa4eb6cf7f2c29e01346eda0d3f7d8c99ab483a3
a140b45f9f16b74353d15ed573ea765b3fef046d
/algorithms/leet.5744.src.1.py
7f9748b13359c4fbd1b280040b051e1dbd8799a8
[]
no_license
fish-ball/leetcode
258d4b37f05560d914bcd29f7c54820deeadb33f
3dfd8f73c65d43cc2766c20700a619141acb927b
refs/heads/master
2023-05-28T18:32:43.638675
2023-05-20T04:25:23
2023-05-20T04:25:23
31,968,994
1
0
null
null
null
null
UTF-8
Python
false
false
829
py
class Solution: def rotateTheBox(self, box: List[List[str]]) -> List[List[str]]: b = list(zip(*box)) n = len(b) for i in range(n): b[i] = list(b[i][::-1]) m = len(b[0]) for j in range(m): k = n - 1 for i in range(n-1, -1, -1): ...
[ "noreply@github.com" ]
fish-ball.noreply@github.com
c5a69c97f067759e8bd31909f033ff3bb985a5de
23744d0acc0119d0222c003179335af5b3259a67
/DOTA_configs/NWPU_VHR_10/paa_r50_fpn_2x.py
4d5d20d6e67824e32d439bbb9db24698e04465c9
[ "Apache-2.0" ]
permissive
yawudede/mmd_rs
f3db3c0288eea67b78fdde09600d9b1ef4e60478
a0a468933e69bf90d9bc71c37c8626d8dda7fd24
refs/heads/master
2023-03-18T01:00:11.029808
2021-03-23T03:41:14
2021-03-23T03:41:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
from DOTA_configs.NWPU_VHR_10.a_base_config import * _base_ = [ dataset_config, '../_base_/schedules/schedule_2x_rs.py', '../_base_/default_runtime.py' ] model = dict( type='PAA', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, ...
[ "alexhzy@126.com" ]
alexhzy@126.com
b3d077513279597c9564dd8f1e940124b915712a
3fd9c7ee49a32eae3013191b63154a9a5d6dafe6
/14记分/14.3记分/14.3.3在外星人被消灭时更新得分/alien_invasion_2.7.py
d5d3ff0dd9f6b41c9b7c57e881d5122e875b4b2d
[]
no_license
taozhenting/alien_invasion
e0c03cd9797cb33e40ca47a13eadeda8b1c4cf85
fd9bd97d6238da702fbb1eb6fcb78e8352875fe2
refs/heads/master
2020-04-27T05:31:48.862784
2019-01-30T09:43:49
2019-01-30T09:43:50
174,083,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
import pygame from pygame.sprite import Group from settings_10 import Settings from game_stats_4 import GameStats from scoreboard_1 import Scoreboard from button_1 import Button from ship_6 import Ship import game_functions_34 as gf def run_game(): #初始化游戏并创建一个屏幕对象 pygame.init() #创建Settings实例存储在ai_setting...
[ "taozt@ichile.com.cn" ]
taozt@ichile.com.cn
2e5905e0db0d592f61dd59d93e83eed463b759b5
8b769d4339fad948570006efae8527570b429704
/solutions/LCP06-na-ying-bi/06.py
c021bb402ed27f027fa79eed6c636f9bbaa80b90
[ "MIT" ]
permissive
Wonz5130/LeetCode-Solutions
ae959ca644d98fd6f472fea9c78d76d78079b4ca
a67809dac5939936b3c85829ac9991936e672229
refs/heads/master
2022-12-02T08:23:30.018952
2022-11-21T08:15:29
2022-11-21T08:15:29
239,713,910
14
6
null
null
null
null
UTF-8
Python
false
false
229
py
class Solution: def minCount(self, coins: List[int]) -> int: cnt = 0 for x in coins: if x % 2: cnt += (x // 2 + 1) else: cnt += x // 2 return cnt
[ "wangzhou5130@gmail.com" ]
wangzhou5130@gmail.com
bfac7bbe94df3c02165789cc0fe5f4f0bd9ce61e
b54426e98b723bcce4a87b7b4ddfe3af942be8e9
/desktop/api/Record.py
546f447751e9a4ccb001c9d6c65ab2b29a02223f
[]
no_license
TakashiSasaki/MyCrawler
f5f097a59f662066679d3d6be3bd8eb42f024bf1
364ba735a6f635a5d96ec7779e236c9ec613f587
refs/heads/master
2021-01-20T09:01:45.238254
2012-06-09T04:54:22
2012-06-09T04:54:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
from config import * from webapp2 import RequestHandler, WSGIApplication from paste.request import path_info_pop from lib.Record import Record from sqlalchemy.exc import OperationalError class _RecordHandler(RequestHandler): def get(self): self.response.out.write(self.request.path_info) if self.req...
[ "takashi316@gmail.com" ]
takashi316@gmail.com
0bc5b9a0a4cd74bf4bf6c6cdd5694e884f5f495c
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/py-if-else/Correct/093.py
8f4b4ee750a2fb8e5791bb6980767e4003d2e00d
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
186
py
N = int(input().strip()) if N % 2 != 0 or (N % 2 == 0 and N in range(6, 21)): print('Weird') elif (N % 2 == 0 or N > 20) or (N % 2 == 0 and N in range(2, 6)): print('Not Weird')
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
985b296c395fa83012dd5e4593f4bf94afd722dd
648f742d6db2ea4e97b83c99b6fc49abd59e9667
/common/test_utils/performance/performance_helper.py
54c82d6e68f13162c540f6a77b13fc34193c9a07
[]
no_license
jmiller-tm/replit
c56ce63718f6eb2d9b53bd09d3f7b3ef3496cb86
c8e6af3268c4ef8da66516154850919ea79055dc
refs/heads/main
2023-08-30T00:49:35.738089
2021-11-16T23:09:08
2021-11-16T23:09:08
428,809,777
0
0
null
null
null
null
UTF-8
Python
false
false
80,022
py
# Copyright @ 2021 Thought Machine Group Limited. All rights reserved. # standard libs import argparse import copy import itertools import json import logging import os import math import time import uuid import re import random from decimal import Decimal from collections import defaultdict, deque from concurrent.futu...
[ "jmiller@jmiller-tm00769-mbp.nomad.thomac.net" ]
jmiller@jmiller-tm00769-mbp.nomad.thomac.net
e8529035e751861dcf7d5decbe40de2ab247beb2
04a174e8ac3d71fe7488779717b254744bd52cea
/example.py
539a0d912d38186896a1cd5f849922d669710e9b
[]
no_license
codesharedot/Plot-no-127
97ec2adac7abe089abdd6378fbaf8027ecbdc8c5
d3f552eadf5f7eb3e7c293db7a32f3bdc56fd7b4
refs/heads/master
2021-03-15T05:16:03.840389
2020-03-12T12:21:14
2020-03-12T12:21:14
246,827,048
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
import matplotlib.pyplot as plt import numpy as np x = np.linspace(-1, 1, 50) y = 3*x plt.plot(x, y,'b-.',linewidth=8) plt.savefig('chart.png')
[ "codeto@sent.com" ]
codeto@sent.com
d8ee3f2fc7887f643140e039419a6f14befb7d94
5dafd823d0fd4ae8049f58ead927338edc150eaa
/tests/test_components.py
0999a3412813b1449c413d1eb44b6daf3be05f58
[]
no_license
bibi21000/janitoo_raspberry_fishtank
e14b345f1a6488bc5d8478f1cb80a6c5834d214b
1f65dc7c6503ff9c9c0fb8cacef2d41449a6cfc9
refs/heads/master
2021-01-21T04:43:10.367628
2016-07-06T23:14:31
2016-07-06T23:14:31
50,456,129
1
1
null
null
null
null
UTF-8
Python
false
false
4,224
py
# -*- coding: utf-8 -*- """Unittests for Janitoo Server. """ __license__ = """ This file is part of Janitoo. Janitoo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Licens...
[ "bibi21000@gmail.com" ]
bibi21000@gmail.com
c859eeae651dfa2cf17c0a10a7f635a6cdd79186
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/macho/MachException.pyi
f26dbc37182657ea1450b86843eb1226cccc2d2b
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,890
pyi
from typing import List import java.io import java.lang class MachException(java.lang.Exception): """ An exception class to handle encountering invalid Mach-O Headers. """ @overload def __init__(self, message: unicode): """ Constructs a new exception with the specified de...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
c82318fea93f9e6221b5e89668699a4742509a63
38ecf426f34b025b70208faf5d7de03d7ce1e7f3
/TestBooleanOperators.py
e03c3dd6e0eb8f541f4874f39ffafd0f564555be
[]
no_license
ic1396/LearnPython
3ed6805e0cfcc622a8376084715f8c5fe3db8058
faabfecace5dd2ebf28ad75f35c61a29dee801ee
refs/heads/master
2021-11-22T23:26:10.085015
2021-11-06T06:48:19
2021-11-06T06:48:19
89,790,705
0
1
null
null
null
null
UTF-8
Python
false
false
480
py
#!/usr/bin/python3 # 《Python语言程序设计》程序清单4-8 # Programed List 4-8 # # Receive an input number = eval(input("Enter an integer: ")) if number % 2 == 0 and number % 3 == 0: print(number, "is divisible by 2 and 3") if number % 2 == 0 or number % 3 == 0: print(number, "is divisible by 2 or 3") if (number % 2 == 0 ...
[ "redsirius@foxmail.com" ]
redsirius@foxmail.com
75667f88c1c28bdd067fddb21c9ab9648ed78319
422c9cc1c5ef7eba24610e66d6a74ec2e16bf39e
/build_isolated/genlisp/catkin_generated/generate_cached_setup.py
19ef8a6817e49252c211e7ba021d1dcc73af2bb6
[]
no_license
twighk/ROS-Pi3
222c735d3252d6fce43b427cdea3132f93025002
9f2912c44ae996040f143c1e77e6c714162fc7d2
refs/heads/master
2021-01-01T05:16:20.278770
2016-05-08T19:24:15
2016-05-08T19:24:15
58,306,257
2
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros_catkin_ws/install_isolated/share/catkin/cmake', 'catkinConfig.cm...
[ "twighk@outlook.com" ]
twighk@outlook.com
06284600f5e63fa24b3206810cfe63b72c465648
665a54ab32c3d683cc99acb803ef9e5d4df6ec90
/draw_cartesian_axes.py
8ccfe72aad8ccbfb87ef67739b4f0a383b1b2d49
[]
no_license
Archanciel/Pygame_2d_Cartesian_coordinates_system
935404cf337a9a6643006d284f5d8910b1b9fb6a
66bb52e282a2007edb5555ab935fc060b341b864
refs/heads/master
2022-11-08T18:26:15.761589
2020-06-13T17:18:42
2020-06-13T17:18:42
270,673,664
0
0
null
null
null
null
UTF-8
Python
false
false
5,539
py
import pygame as pg import math import os import time from pygametwodcartesiancoordsystem import PygameTwoDCartesianCoordSystem from constants import * def handleDoubleClick(): global timerDC global running if timerDC == 0: timerDC = 0.01 # Click again before 0.1 seconds to double click. elif timerDC < 0.1: ...
[ "jp.schnyder@gmail.com" ]
jp.schnyder@gmail.com
7c54d77dc27e9c8ad6e2862006882ce1c0be0f87
f71ee969fa331560b6a30538d66a5de207e03364
/scripts/client/gui/scaleform/daapi/view/meta/fortmainviewmeta.py
cebb08a318b62de0df8270de399edbc2ea95a037
[]
no_license
webiumsk/WOT-0.9.8-CT
31356ed01cb110e052ba568e18cb2145d4594c34
aa8426af68d01ee7a66c030172bd12d8ca4d7d96
refs/heads/master
2016-08-03T17:54:51.752169
2015-05-12T14:26:00
2015-05-12T14:26:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,657
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/FortMainViewMeta.py from gui.Scaleform.framework.entities.DAAPIModule import DAAPIModule class FortMainViewMeta(DAAPIModule): def onStatsClick(self): self._printOverrideError('onStatsClick') def onClanClick(self): self._printO...
[ "info@webium.sk" ]
info@webium.sk
a4b3754f660b917e87ab51b843b2526b73b2f4df
4bc747f8362a8ba38b1aa448e553840805fd9e3b
/tests/test_consumer.py
9593757a3327a827a0a3f447e9091656066a1d5a
[]
no_license
jettify/tulipmq
3914743d86a7012cd32b7eb0faf9d5657f39be8e
698ffba2e9fdc176d002ea7240712ab673a82178
refs/heads/master
2021-01-10T20:56:43.008753
2014-12-08T20:41:12
2014-12-08T20:41:12
19,007,330
1
0
null
2014-04-24T19:03:11
2014-04-21T21:18:16
Python
UTF-8
Python
false
false
3,075
py
import asyncio import json from unittest.mock import patch import asyncio_redis from unittest import TestCase from tulipmq.consumer import Consumer from tulipmq.exceptions import TMQNoNamespaceHandler from tulipmq.handler import BaseHandler class TestHandlerClass(BaseHandler): namespace = 'test_ns' @asynci...
[ "is.infinity@yahoo.com" ]
is.infinity@yahoo.com
94e08da00a0509b1bd2941fb1d9edc0bac36488a
e08d825b314b9d0e3c05a257ea94501519723fe5
/divine.py
da67cf55166b8ac5d823d0d9acd3d0d02559728d
[]
no_license
mrxnotfound/Divine
6bc06081b8e1543206bd635c2f196fd8b9f3b967
2ee1c7815fdd5bc1aeba6f41012ef6b603753b0b
refs/heads/master
2021-08-26T03:41:56.619474
2017-11-21T13:51:31
2017-11-21T13:51:31
111,551,660
0
0
null
null
null
null
UTF-8
Python
false
false
68,717
py
# -*- coding: utf-8 -*- from LineAlpha import LineClient from LineAlpha.LineApi import LineTracer from LineAlpha.LineThrift.ttypes import Message from LineAlpha.LineThrift.TalkService import Client import time, datetime, random ,sys, re, string, os, json, requests, urllib reload(sys) sys.setdefaultencoding('utf-8') c...
[ "root@vultr.guest" ]
root@vultr.guest
d36fd4748ed3e16398d09af1de3db41273b25d25
9405aa570ede31a9b11ce07c0da69a2c73ab0570
/aliyun-python-sdk-drds/aliyunsdkdrds/request/v20190123/SwitchGlobalBroadcastTypeRequest.py
42bd41309081b6441cc9fb55ab477e21d087ca1f
[ "Apache-2.0" ]
permissive
liumihust/aliyun-openapi-python-sdk
7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b
c7b5dd4befae4b9c59181654289f9272531207ef
refs/heads/master
2020-09-25T12:10:14.245354
2019-12-04T14:43:27
2019-12-04T14:43:27
226,002,339
1
0
NOASSERTION
2019-12-05T02:50:35
2019-12-05T02:50:34
null
UTF-8
Python
false
false
1,365
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 ...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
3f0e9a7b088b13472d3631492882a8701b941044
9f365aee0042813e461c0c2b2f97e960a853ba52
/小工具/小工具.spec
d17fa302cd8e9ed11b3f2b1cae6f750b7d2786ad
[]
no_license
cooper-1/untitled1
e091641862118f340604ab339a3b88a1ac9e746f
7dbd1bf705854c377da1a99243d8edd74751452b
refs/heads/master
2023-07-27T09:27:26.556815
2021-09-10T06:53:31
2021-09-10T06:53:31
396,310,630
0
0
null
null
null
null
UTF-8
Python
false
false
897
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['小工具.py'], pathex=['D:\\工具软件\\python3.8\\untitled1\\小工具'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "1274814498@qq.com" ]
1274814498@qq.com
2a74e5c5271ccde072eae16e8556b039d0e430f8
8cca481c8dd508012aa794e2f9a07e11c3706a87
/presidio-analyzer/presidio_analyzer/predefined_recognizers/es_nif_recognizer.py
ad889064ecbf7ea834cdadad1c0efd5f3ebb9222
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-3-Clause", "Unlicense", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "CNRI-Python", "MIT", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/presidio
174472891e241e292982eee26a666d71ca263d42
3effc1467b8714714d5112ef7b627889507ea83d
refs/heads/main
2023-08-15T20:14:00.962803
2023-08-14T19:13:49
2023-08-14T19:13:49
132,129,752
2,092
412
MIT
2023-09-13T18:17:58
2018-05-04T11:08:58
Python
UTF-8
Python
false
false
2,099
py
from typing import List, Tuple, Optional from presidio_analyzer import Pattern, PatternRecognizer class EsNifRecognizer(PatternRecognizer): """ Recognize NIF number using regex and checksum. :param patterns: List of patterns to be used by this recognizer :param context: List of context words to incr...
[ "noreply@github.com" ]
microsoft.noreply@github.com
692a3c48bf888ca9c590f4355fdad956ce0be73c
a974de6285db76b669937e9619a805c226bb11a6
/04_The_Path_of_Python/T-resource_Python_201904/ex/ex12_2.py
d5945cb4145d7d82f8f29035fccc7d036f8d9cdd
[]
no_license
Vincent105/python
1b3f753e6b9db711e320b53c3e0a04c9fc818c37
65351234310a81a85331b0f11aef42507868774d
refs/heads/master
2021-08-03T21:06:57.977065
2021-07-30T09:02:56
2021-07-30T09:02:56
185,359,652
2
0
null
null
null
null
UTF-8
Python
false
false
260
py
# ex12_2.py class Myschool(): def __init__(self,name,score): self.name = name self.score = score def msg(self): print("Hi!" + self.name.title() + "你的成績是" + str(self.score) + "分") A = Myschool("kevin",80) A.msg()
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
54c37d908f897fe4243bcaa5bbeaedb0f90315cc
862ad6a53d968219ab26530a0d8db9647a6832b7
/test/test_xnnpack_integration.py
ea07620d4d856211b9f4abe040421f31b18059c3
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
CamiWilliams/pytorch
c162ec43db755a7e9db946c3cd1f573b98c7b1b5
a054d05707f3a5a54e799b82fd95c902a7a8d746
refs/heads/master
2021-05-21T23:32:33.328799
2020-04-03T22:08:49
2020-04-03T22:11:20
252,854,055
4
0
NOASSERTION
2020-04-03T22:18:27
2020-04-03T22:18:26
null
UTF-8
Python
false
false
24,180
py
from __future__ import division import unittest import torch import torch.backends.xnnpack from torch.nn import functional as F from torch.testing import FileCheck import torch.testing._internal.hypothesis_utils as hu from torch.testing._internal.common_utils import TestCase, run_tests from hypothesis import given, a...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
af674edb6e40e0894b79abc383d44f5bdefe873a
8e07f5f06452f9566640d2130a5c1bcefcebd745
/Django-CRM-master (1)/cases/tests_celery_tasks.py
595a72b1c2bbb44e7711a3d1a830503e5f17cc3d
[ "MIT" ]
permissive
bot242/djangocrm
65dbe42a814fd538d77ec9c0cc5626a7d6ce19b4
6f5e64b4f65dbb13583d68ef5f6a3feaea51befb
refs/heads/main
2023-01-23T10:29:32.338620
2020-12-02T06:43:35
2020-12-02T06:43:35
317,773,468
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from django.test import TestCase from django.test.utils import override_settings from cases.tasks import send_email_to_assigned_user from cases.tests import CaseCreation class TestCeleryTasks(CaseCreation, TestCase): @override_settings(CELERY_EAGER_PROPAGATES_EXCEPTIONS=True, CE...
[ "sankarmass619@gmail.com" ]
sankarmass619@gmail.com
60df0af728cc94d5f9f78ec27359d740aaef8f96
fb408595c1edee0be293302c6d7bfc0c77d37c46
/CODEFORCE/20190322/c.py
89ae4b6e7159b80da677b1f0eb1bf9d5e307a477
[]
no_license
as950118/Algorithm
39ad25519fd0e42b90ddf3797a61239862ad79b5
739a7d4b569057cdb6b6faa74254512b83d02bb1
refs/heads/master
2023-07-21T12:38:00.653579
2023-07-19T06:57:17
2023-07-19T06:57:17
125,176,176
1
0
null
null
null
null
UTF-8
Python
false
false
372
py
import sys input = lambda:sys.stdin.readline().strip() n,k=map(int,input().split()) edge = [[] for i in range(n)] for i in range(n-1): u,v,w = map(int, input().split()) edge[u-1].append((v-1,w)) edge[v-1].append((u-1,w)) ret = [INF for i in range(n)] for k in range(n): for i in range(n): for j ...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
f4095741264206f1489cd17afa561652da19999a
af847377304475140d779dddcbeab83a281d1446
/tests/cli/vyper_json/test_interfaces.py
ce6a63b12dbe701e9b859f5bfa39dd53d5ea789b
[ "MIT" ]
permissive
iamonuwa/vyper
28dd10b82f8bb89f8a9009ab3599a40223b1eed0
4908ae7a671301dd487f9a087e2e7c8e1813879b
refs/heads/master
2020-09-27T10:10:54.964344
2019-12-07T11:30:47
2019-12-07T11:30:47
226,492,549
1
0
MIT
2019-12-07T10:22:59
2019-12-07T10:22:58
null
UTF-8
Python
false
false
3,537
py
#!/usr/bin/env python3 import pytest from vyper.cli.vyper_json import ( get_input_dict_interfaces, get_interface_codes, ) from vyper.exceptions import ( JSONError, ) FOO_CODE = """ import contracts.bar as Bar @public def foo(a: address) -> bool: return Bar(a).bar(1) """ BAR_CODE = """ @public def b...
[ "ben.hauser@hyperlink.technology" ]
ben.hauser@hyperlink.technology
2fd0f9e82cd410c79d23866abdf0771071ef73da
dbe7e1d9fe2457c26f83095d941e4392e7d30f8c
/django_realtime/tasks.py
421ee56ac34056bda01e8dc162f33a8054116854
[ "MIT" ]
permissive
keepexploring/smartbiogas
51e124735ec04bc6b87a8ac75c66c83de6865001
ca663435b05666113e3c0cb55e6f087c61497208
refs/heads/master
2022-12-12T10:42:37.412038
2018-07-18T15:29:04
2018-07-18T15:29:04
111,402,799
0
0
MIT
2022-12-08T00:56:54
2017-11-20T11:39:05
JavaScript
UTF-8
Python
false
false
514
py
from channels import Channel, Group from django_dashboard.models import AggregatedStatistics from huey import crontab from huey.contrib.djhuey import db_periodic_task, db_task, periodic_task from random import randint from time import sleep @db_periodic_task(crontab(minute='1')) def send_data_update(): data = Agg...
[ "joel.c@scene.community" ]
joel.c@scene.community
4e07368637111cb9ce79a172131124e19273454f
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.12/7/1569574734.py
96b4a8b91220e0b8759e493e0b55b0459cac26b9
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def divisors(x: int) -> list: divisors_list = [] i = 1 if x == 0: return [] while i <= x: if x%i == 0: divisors_list.append(i) i += 1 else: i += 1 r...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
41fad040841cdaef862762ad85d5cf5f31eff840
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/samples/snippets/job_service/create_batch_prediction_job_video_classification_sample_test.py
a47af0da5234ada21d4c94f9b7ec162936796dbb
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
1,974
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
googleapis.noreply@github.com
1361a05d53fd8602975ce7a7d3a3f3b25deddcc1
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/privacy/dlp/v2/privacy-dlp-v2-py/noxfile.py
7d9085b89a4785b65d55714ddb301a5b7b3cb6b3
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,553
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
82a4c8ba30268fa29c6ea45c994d7175d6e7fe60
ca7943cb33034fd780380ccb883234dc5609a2ef
/range_list_length/range_list_length.py
9f0c4e7e55bd54ff01c9928a2a9b1cd39ee05a3d
[]
no_license
nygeog/python
9180d900fa2b362b24d660aa6fa3bbbc8c92e771
7e1ba7e732cfad9706de8bd6e66481ea760e847c
refs/heads/master
2020-04-10T21:57:23.710283
2018-08-28T02:00:13
2018-08-28T02:00:13
11,459,659
7
8
null
null
null
null
UTF-8
Python
false
false
113
py
n = [3, 5, 7] def print_list(x): for i in range(0, len(x)): print x[i] print print_list(n)
[ "daniel.martin.sheehan@gmail.com" ]
daniel.martin.sheehan@gmail.com
a0920543258dcc5a83d0d63f5f33f5481d9a68ad
21d8ff3b72c6649197a23b2f5502e2882904ce52
/trident/models/pytorch_rfbnet.py
348f5670fc42a213e59c20528d67773e4d8ca19e
[ "MIT" ]
permissive
hsiehpinghan/trident
b86fcbccd3496c7843f25d6199cc59272a7b2c03
e855cffe7ccde3373e35b8022c59ec5eb69bc190
refs/heads/master
2023-08-16T04:07:17.053689
2021-09-15T14:21:37
2021-09-15T14:21:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,164
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import inspect import math import os import sys import uuid from collections import * from collections import deque from copy import copy, deepcopy from functools import partial from itertools import product as...
[ "allan@asiaminer.com.tw" ]
allan@asiaminer.com.tw
58c29b6fcdc4b16f4b77535c2a7e833b8dff0f62
94598a209888503db32f656f57039e019e74bf07
/Section 3 Working with STS/get_aws_account_id.py
181b32b51c25322deecb85b9eb2ebbf4068d5792
[]
no_license
devopstasks/AWSUseful-Boto3
7e85c0fa67ac786b49e5738b39636ee6f900f7c3
d7c28fb556aa9cc8afcb06867e3545ecc6b932f7
refs/heads/main
2023-06-28T00:05:29.602277
2021-07-30T03:01:07
2021-07-30T03:01:07
390,910,918
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
import boto3 aws_mag_con_root=boto3.session.Session(profile_name="root") sts_con_cli=aws_mag_con_root.client(service_name="sts",region_name="us-east-1") response=sts_con_cli.get_caller_identity() print(response.get('Account')) aws_mag_con_ec2_dev=boto3.session.Session(profile_name="ec2_developer") sts_con_cli=aws_mag...
[ "rpadhan2015@gmail.com" ]
rpadhan2015@gmail.com
d6db6c76530dc9779583f7948acfd8a426f910d5
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/30c9322e99606bb6eb18e950873139758286c0ef-<_update_host_personality>-bug.py
19951839933d87f52320c0b6bf4ba1553412979f
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
def _update_host_personality(module, array, answer=False): 'Change host personality. Only called when supported' personality = array.get_host(module.params['host'], personality=True)['personality'] if ((personality is None) and (module.params['personality'] != 'delete')): array.set_host(module.param...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
912428fac21959d09080a60793889d665c93b4f1
1838f4b35088773c7491122e3b2104d987245abc
/manage.py
ac9d657e59bd80965a5dd23a893e881a87ce0c28
[]
no_license
Neeky/chanceServer
d1393d46f3ba28fd07e7497be0d2f94bb03e05fe
944ffad9277884518d567bb10c47e0cb6fb2025b
refs/heads/master
2021-01-06T20:44:27.333328
2017-08-12T04:36:49
2017-08-12T04:36:49
99,553,146
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "chanceServer.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "1721900707@qq.com" ]
1721900707@qq.com
a190f92bef6ea1b0c3163758c36da6a841ed4e53
c39f999cae8825afe2cdf1518d93ba31bd4c0e95
/PYME/Acquire/Spooler.py
3eb70285961db6f018b7f89dfa49d5b308b821be
[]
no_license
WilliamRo/CLipPYME
0b69860136a9b2533f2f29fc29408d7471cb934d
6596167034c727ad7dad0a741dd59e0e48f6852a
refs/heads/master
2023-05-11T09:50:58.605989
2023-05-09T02:17:47
2023-05-09T02:17:47
60,789,741
3
1
null
2016-06-17T08:52:44
2016-06-09T16:30:14
Python
UTF-8
Python
false
false
4,910
py
#!/usr/bin/python ################## # Spooler.py # # Copyright David Baddeley, 2009 # d.baddeley@auckland.ac.nz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licens...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
28643f3d2461940931aa98b0378c1af90fd52733
345301364a0f9cea893fbece8982ee3abcf6b1af
/models/bill.py
352c32ad1b7cdc216649568cd3f08546962d906c
[]
no_license
rahin1301/Splitwise-ood-lld
392ec248d137a9d080cac655f08baab1e604fca1
6f633d7043b5450c6e4a7c4e632d81edc8f4804f
refs/heads/master
2023-03-22T05:18:25.217750
2021-03-09T14:39:14
2021-03-09T14:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
class Bill(object): def __init__(self): self.id=None self.name=None self.amount=None self.contribution={} self.paidBy={} def setName(self,name): self.name=name def getName(self): return self.name def setId(self,id): self.i=id ...
[ "tanaychauli@gmail.com" ]
tanaychauli@gmail.com
92a46a03011f641397430be8caffb8865dc9b866
050fc5ca698dfd7612dee42aa980fc7b5eee40a2
/tests/plugin/web/sw_sanic/services/consumer.py
922592374887ab6d29e207950e19fd6861a41129
[ "Apache-2.0" ]
permissive
apache/skywalking-python
8ac6ce06630c519f9984a45e74c1fcc88cf5b9d6
1a360228c63cd246dd4c5dd8e1f09bdd5556ad7d
refs/heads/master
2023-09-05T02:45:56.225937
2023-08-28T22:19:24
2023-08-28T22:19:24
261,456,329
178
122
Apache-2.0
2023-08-28T22:19:26
2020-05-05T12:13:49
Python
UTF-8
Python
false
false
1,147
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 us...
[ "noreply@github.com" ]
apache.noreply@github.com
8535ac0c45873c73490c017cab7803fd42b254e3
dffee54c9c40b495e56cd56d191aef0e4ebe6064
/tests/algorithms/test_layer_freezing.py
5d40c7d251bad376f5e8cbbdc58771045b7463af
[ "Apache-2.0" ]
permissive
zeeroocooll/composer
3afb0427e713c3e19197c780f03b510fbf6c936b
6dd0a0f297cafb404333d6280a5344bcb7f3bee6
refs/heads/main
2023-08-20T04:21:51.536149
2021-10-13T20:34:29
2021-10-13T20:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
# Copyright 2021 MosaicML. All Rights Reserved. from copy import deepcopy import pytest import torch from composer.algorithms import LayerFreezing, LayerFreezingHparams from composer.core.state import State from composer.core.types import Event, Model, Precision from composer.loggers import Logger from composer.trai...
[ "averylamp@gmail.com" ]
averylamp@gmail.com
db501b78ad000732af85192a0cc72d1b6ebf6d9d
15440531eafcc7e4dbe0519027c9e1e439ac1d48
/Script_metrcias_paisagem_2015_05_d19b_1996.py
bed9ff93bec968b50edcd823709ca6b4e8f96a8e
[]
no_license
JohnWRRC/Scripts_Analises_Doutorado_Talita_PARTE1
52d139f5028ba29e65f2fe5a1bc43297cc69be07
96f0c2bdc591a993aa9cc808c17e91debc539d73
refs/heads/master
2021-01-18T09:21:53.508787
2015-07-17T20:00:37
2015-07-17T20:00:37
39,272,773
0
0
null
null
null
null
UTF-8
Python
false
false
4,953
py
import grass.script as grass from grass.script import raster as grassR import os import string import glob import re import fnmatch def createtxtED(mapa,txtname,folder,t): x=grass.read_command('r.stats',flags='a',input=mapa) y=x.split('\n') os.chdir(r'E:\data_2015\___john\001.Thalita_p2\__Resultados_metricas_pa...
[ "jw.ribeiro.rc@gmail.com" ]
jw.ribeiro.rc@gmail.com
863e62d7f45d51239a49150ab2207e8711010f89
81d2e3b6fe042e70cc2abb7f549f60ba44928fdf
/tree/110.balanced-binary-tree.py
ed262199ca458af0ea9f290a09852e1136870d2a
[]
no_license
weizhixiaoyi/leetcode
a506faed3904342ed65234864df52071977d544d
6114ebacc939f48a39a56d366646b0f28b4f6c1a
refs/heads/master
2022-12-22T03:52:07.936800
2020-09-29T07:49:52
2020-09-29T07:49:52
202,662,720
5
2
null
2019-08-17T09:24:49
2019-08-16T05:16:08
C++
UTF-8
Python
false
false
983
py
# -*- coding:utf-8 -*- # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def isBalanced(self, root: TreeNode) -> bool: self.ans = True # 此处可定义self.ans来存储结果, 也可利用return -1来返回结果 ...
[ "zhenhai.gl@gmail.com" ]
zhenhai.gl@gmail.com
5910609ba5e59b0cf0afff614ff03c7f103341f6
a6c3652c68b3be37b2496e498a26b78537db3b3b
/Django/django_project_old_version/django_project/urls.py
81814dad82df3abee398d16eeeed8875d6ea1415
[]
no_license
MarcPartensky/Web
1164b136eebed4087c73e971e427f77868542049
fa2d3778c0c3fa9c17c4785a01e9a178fcf1dc6b
refs/heads/master
2023-03-15T14:39:39.585051
2022-12-17T03:32:48
2022-12-17T03:32:48
204,046,730
1
0
null
2023-03-05T21:01:36
2019-08-23T18:01:14
JavaScript
UTF-8
Python
false
false
860
py
"""django_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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') Clas...
[ "marc.partensky@gmail.com" ]
marc.partensky@gmail.com
b6bf36422947d9c35c281ff2412c57659a624607
5c1531b47fb4dc4d7e5998d44f7200bf1786b12b
/__UNSORTED/321_create_maximum_number/create_maximum_number_TLE_take2.py
009e65b4532a34eaf1b3e1d2ad56bfecbf2a956f
[]
no_license
Web-Dev-Collaborative/Leetcode-JS-PY-MD
d1f560051aad1896a80eccdd4b4fbb389e7033e3
675b94fa5da8d40f0ea79efe6d3ef1393221425f
refs/heads/master
2023-09-01T22:30:32.313793
2021-10-26T02:17:03
2021-10-26T02:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,725
py
from collections import defaultdict class Solution(object): def translate(self, table, length): for c in table: poses = table[c] nexts = [] for n in range(length): if not poses: nexts.append(-1) else: ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
5e2dc861d058de478b5b0e24df14427e587a8602
cf1546987048f0e7730a0dfb359b53f9d0752c5a
/zjsn_uncensor/ip.py
ec8bc7886e325991e584ce8660b132dc241be13d
[]
no_license
zjsnr/zjsn_uncensor
8fd6ad5db5b0dc3ee1a6e8a4de8ffd36bd9ecc18
ab2805d3bed495e7dda87ece003bbfd4b1773ccc
refs/heads/master
2020-06-02T20:08:59.687009
2019-07-11T01:38:23
2019-07-11T01:38:23
191,293,866
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
import socket def getIP(): return socket.gethostbyname(socket.gethostname())
[ "gwy15thu@gmail.com" ]
gwy15thu@gmail.com
c1434c60adb2be97cab65c65ee4b15b2a15f5f17
187ec84de1e03e2fe1e154dcb128b5886b4d0547
/chapter_08/exercises/09_messages.py
7cc371c1a66423a93af5df8612cd33716ee7dbab
[]
no_license
xerifeazeitona/PCC_Basics
fcbc1b8d5bc06e82794cd9ff0061e6ff1a38a64e
81195f17e7466c416f97acbf7046d8084829f77b
refs/heads/main
2023-03-01T07:50:02.317941
2021-01-27T21:08:28
2021-01-27T21:08:28
330,748,942
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
""" 8-9. Messages Make a list containing a series of short text messages. Pass the list to a function called show_messages(), which prints each text message. """ def show_messages(messages): """Prints a list of messages.""" for message in messages: print(message) short_messages = [ 'Hello world!', ...
[ "juliano.amaral@gmail.com" ]
juliano.amaral@gmail.com
a609262ecfd24cd0473ca4c72f89bd0142bed1fd
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/modules/source_control/bzr.py
e9aa8750ede8ba14a89f7589c45639a3ddd0cbb8
[ "GPL-3.0-or-later", "GPL-3.0-only", "MIT", "CC0-1.0", "GPL-1.0-or-later" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
6,047
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2013, André Paramés <git@andreparames.com> # Based on the Git module by Michael DeHaan <michael.dehaan@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, pr...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
72b39b62c84a75f4daa256c9e50021e42e2926ec
86db324c6a039369ef9d904defd9a15c944c429c
/thrift/lib/python/adapter.pyi
287ed76e642c0b50851f2551d09b40ca1fd6db07
[ "Apache-2.0" ]
permissive
curoky/fbthrift
1eb3cecfee5f72748a5787e792c63276f7734f76
199ca4b1807a705fc55e6fa099c39b7e90ef03e0
refs/heads/master
2023-04-29T21:19:41.027102
2023-04-25T16:23:11
2023-04-25T16:23:11
242,927,696
0
0
Apache-2.0
2020-02-25T06:31:35
2020-02-25T06:31:34
null
UTF-8
Python
false
false
1,880
pyi
# Copyright (c) Meta Platforms, Inc. and affiliates. # # 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 o...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9a980590e5472f627ecc07c260362efb8525968e
1bba57ffde5739b43f42e81c486a34b97cc0c1e9
/finmarketpy/backtest/tradeanalysis.py
fdb02484a9ebaa1f56aeb62684b83edc8c756dbb
[ "Apache-2.0" ]
permissive
tianhm/pythalesians
8c7229e9142753aa39d3f6d83b6ffee507993a8f
7af86b60529321322bca0ae3e076da9b9e7b37f8
refs/heads/master
2023-05-12T04:13:28.046278
2023-04-26T19:32:49
2023-04-26T19:32:49
67,582,408
0
0
Apache-2.0
2023-04-29T08:15:23
2016-09-07T07:22:10
Python
UTF-8
Python
false
false
19,304
py
__author__ = 'saeedamen' # # Copyright 2016-2020 Cuemacro # # 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...
[ "saeedamen@hotmail.com" ]
saeedamen@hotmail.com
cde65330fbc8c5799bc6052c577ef316444913c2
ae7ba9c83692cfcb39e95483d84610715930fe9e
/jason2506/PythonHMM/hmm.py
b692fbbe00357c8395aadd1a42e7521040385243
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
12,367
py
# -*- coding: utf-8 -*- # Copyright (c) 2012, Chi-En Wu from itertools import izip from math import log def _normalize_prob(prob, item_set): result = {} if prob is None: number = len(item_set) for item in item_set: result[item] = 1.0 / number else: prob_sum = 0.0 ...
[ "xenron@outlook.com" ]
xenron@outlook.com
379ca1ca5049f4c959e02e1102bfa5692f273b70
1f58fb753651abc3900e67226bdb407d73033cf2
/examples/HTTP_Time/main.py
2aa19f1e2862ea13b6ac9a47d3dbf35e24d77702
[]
no_license
o2mation/core-zerynth-stdlib
9a2d2326340fa8767235fe6e5bced80a4ba9216b
d338f9ceccf97915002daa4b73ea9755f10a068b
refs/heads/master
2020-04-08T02:02:30.748338
2018-09-13T08:03:24
2018-09-13T08:03:24
158,920,335
0
0
null
2018-11-24T09:17:03
2018-11-24T09:17:02
null
UTF-8
Python
false
false
2,616
py
################################################################################ # Zerynth Time API # # Created: 2015-08-17 16:44:58.640097 # ################################################################################ # import streams import streams import json # import the wifi interface from wireless import wi...
[ "g.baldi@zerynth.com" ]
g.baldi@zerynth.com
daf8a43cf7cd4e163dc47e7651d389defb8ed70f
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res_bw/scripts/common/lib/xml/etree/elementpath.py
988ad06e5f1675f457f63c194a247579d375ea64
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,764
py
# 2016.02.14 12:50:44 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/xml/etree/ElementPath.py import re xpath_tokenizer_re = re.compile('(\'[^\']*\'|"[^"]*"|::|//?|\\.\\.|\\(\\)|[/.*:\\[\\]\\(\\)@=])|((?:\\{[^}]+\\})?[^/\\[\\]\\(\\)@=\\s]+)|\\s+') def xpath_tokenizer(pattern, namespaces = None): ...
[ "info@webium.sk" ]
info@webium.sk
33c45c509e4cea629e861ade3c18dee01b396575
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-9860.py
1edd23cd60e4e81f745763c557196a88738d0241
[]
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
31,762
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5e97eae497cd3e59e70b7d5dce40febea26258f4
772c87ca66ec717cb6ed1986ab9b518e97be97c8
/S11/builtin_funcitons/another_example_list_comprehension.py
e9d04bd6b9f55bb572f9203ff8372038f4ae8061
[]
no_license
pymft/mft-vanak
201f859b0c5c8f6705f755e604340fd72a03e2a9
b700c3e8e62577bde4ffb938b706c7616652b23d
refs/heads/master
2020-05-09T14:11:02.950798
2019-05-29T13:40:59
2019-05-29T13:40:59
181,185,449
2
2
null
2019-05-18T04:49:11
2019-04-13T14:46:48
Python
UTF-8
Python
false
false
44
py
out = [i ** 2 for i in range(3)] print(out)
[ "naeini.v@gmail.com" ]
naeini.v@gmail.com
0ab192751f5e7b0ccdf5390194a421b38588fb00
78d23de227a4c9f2ee6eb422e379b913c06dfcb8
/Data-Structures/Graph/graph_traverse/cycle_detection_DFS.py
a236011a6a7b8b01dc22ad094548edd74f658065
[]
no_license
siddharthcurious/Pythonic3-Feel
df145293a3f1a7627d08c4bedd7e22dfed9892c0
898b402b7a65073d58c280589342fc8c156a5cb1
refs/heads/master
2020-03-25T05:07:42.372477
2019-09-12T06:26:45
2019-09-12T06:26:45
143,430,534
1
0
null
null
null
null
UTF-8
Python
false
false
717
py
def has_cycle(graph, source, visited, recstack): visited[source] = True recstack[source] = True if graph.get(source): for node in graph[source]: if visisted[node] == False: if has_cycle(graph, node, visisted, recstack) == True: return True ...
[ "sandhyalalkumar@gmail.com" ]
sandhyalalkumar@gmail.com
3edfc36902442bb2b121dbd81ead3860c8ddbcd6
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/create_instance_request_body.py
3b002dc8b52d6016b819c4a13bef8949cc4edf22
[ "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
18,535
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateInstanceRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
834ec4ff280f43b926def06d4964ad523c71dc78
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/checkpoint/operators.py
0cd92f7882f5bf4e1a52751095c4e6d1aec26735
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
9,562
py
import os import sys import importlib import re from unicodedata import normalize import bpy from bpy.types import Operator from bpy.props import (StringProperty, BoolProperty) # Local imports implemented to support Blender refreshes modulesNames = ("helpers",) for module in modulesNames: if module in sys.modules...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
dd77cedec5180cb8afd0f0214dcb28cfc06aaf4d
c80dff81cfec241e6baac8d7211ac16a969d28a4
/class_dict.py
d2fc7bca3cc283a7eafbb774df725860d73825a3
[]
no_license
Silentsoul04/PythonCode
0043354002b3117f7c2b69a52ca14e664f978576
c7301fb7983edbe3492e7d78d531ba2f427d2f3e
refs/heads/master
2023-01-27T14:26:07.609433
2020-12-11T20:23:48
2020-12-11T20:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
class Mapping(dict): def __setitem__(self, key, item): self.__dict__[key] = item def __getitem__(self, key): return self.__dict__[key] def __repr__(self): return repr(self.__dict__) def __len__(self): return len(self.__dict__) def __delitem__(self, key): ...
[ "ricleal@gmail.com" ]
ricleal@gmail.com
b741a4c3cf0e782e168d5aadc2f49ccd68a988ff
397acd76029242e68eefc30b8dccc22e56ebe72d
/main..py
ce711b5275898e31c6e552511d1a7d9bb9382cb8
[]
no_license
Pradeepsuthar/RxJs_Angular_notes
8f9802bf8d5329ced512af0e0dd9ae2d8e5038db
323ba95b896e1a0dbfdb27e5a4f478ba63821e16
refs/heads/main
2023-02-25T18:29:59.578203
2021-02-01T18:34:50
2021-02-01T18:34:50
333,291,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
from apiclient.discovery import build from flask import Flask, json, request from flask_cors import CORS app = Flask(__name__) CORS(app) apiKey = "AIzaSyDkX9ATXIRT-Lv2QHYialFMSLT_dd0gCSY" ytRes = build('youtube', 'v3', developerKey=apiKey) maxDataAvailable = 10000 # Root @app.route('/') def index(): ...
[ "sutharpradeep081@gmail.com" ]
sutharpradeep081@gmail.com
9fd5d693865db6cd378dc1d81974dda5bebfbcc9
8f5b55e13a42df820c565c83ef293fed33eab916
/pythonexercicios/pythonexercicios/ex023.py
58be58de8cfceff0b1962e49f6a214b9d80e318c
[]
no_license
BrunoVittor/pythonexercicios
644d9c33596881a570959a52d1e4911453c9e081
96f9bfbfa076ba0589a7bfc12d2bfcb35d6a59b5
refs/heads/master
2023-03-02T09:31:45.066251
2021-02-05T15:29:29
2021-02-05T15:29:29
333,125,002
1
0
null
null
null
null
UTF-8
Python
false
false
712
py
# faça um programa que leia um número de 0 a 9999 e mostre na tela cada número separadamente '''n = str(input('Digite um número até 9999: ')) u = n[3] d = n[2] c = n[1] m = n[0] print('O número digitado foi {}\n Unidade {}\n Dezena {}\n Centena {}\n Milhar {}\n'.format(n, u, d, c, m))''' # com esse cálculo m...
[ "bv.everit@itmss.com.br" ]
bv.everit@itmss.com.br
68c57b338f3bbf2b6d13d56ac03f6183d4a9f9d6
c84ceab57497ae0df9463245abe6f65bb71bb30f
/aldryn_forms/admin/__init__.py
a6bd657f85e5801ea74f9337075a1c04f48c4593
[]
no_license
trawick/aldryn-forms
8b57e8686be8194df7c55f5e5c425e405c0fde69
f59ab65c2a750e837fe659cd2b2f6e551df5ad2e
refs/heads/master
2020-04-15T08:52:20.349207
2016-01-04T19:28:07
2016-01-04T19:28:07
49,303,178
0
0
null
2016-01-08T23:51:38
2016-01-08T23:51:37
null
UTF-8
Python
false
false
76
py
# -*- coding: utf-8 -*- from . import formdata from . import formsubmission
[ "commonzenpython@gmail.com" ]
commonzenpython@gmail.com
d07160d63fece7d5df2090c6a84751b049f4b3d5
29036a603971432ca43c52907daa979ae2dcd3fc
/server_base.py
30f3b10d943c8ca75be5fa81020605e8153d7ee6
[]
no_license
JohnHammond/bearshop
0b37f10c57738a3d5c9f3b6759a6a8b1f0dd8e4c
96c493a679d121c51a048d9266d37951646d3e65
refs/heads/master
2020-12-02T15:43:11.905991
2017-01-12T01:35:54
2017-01-12T01:35:54
65,906,568
4
1
null
null
null
null
UTF-8
Python
false
false
21,961
py
#!/usr/bin/env python from flask import Flask from flask import render_template, request, session, g, url_for, flash, get_flashed_messages, redirect, send_from_directory import sqlite3 import json import sys, os from colorama import * import sys from threading import Thread from time import sleep from werkzeug.utils i...
[ "johnhammond010@gmail.com" ]
johnhammond010@gmail.com
2ef333492d44840a57c380fc19e032a19bd1e894
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_None/trend_PolyTrend/cycle_12/ar_/test_artificial_1024_None_PolyTrend_12__20.py
be2a47429450adab0d16c7e4a592d06bbe6787fc
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
261
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 12, transform = "None", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
ed166c88395483a671dab9de29751d89ad5b055e
9dee94907e6456a4af9855d358693923c17b4e0d
/0209_Minimum_Size_Subarray_Sum.py
f64dc619315d82b34698688a06748fe074367dc0
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
class Solution: def minSubArrayLen(self, s: int, nums: List[int]) -> int: # two pointer sliding windows # need var minLen, curVal, i, j, curLen = j - i + 1 i, j = 0, 0 minLen, curVal = float('inf'), 0 N = len(nums) while j < N: curVal += nums[j] ...
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com
a4cb6d690c58902d39d7c49aa8f8dfd96ab40ee4
603519e0d087967caac72cce854dc7f1dfaa5262
/bioinformatics textbook track/BA6K.py
1795470e252fb3a123f9b459169138846d9ff17b
[]
no_license
Morpheus2112/Rosalind-exercise
e591570521a12905864cb7e7f72b66816da7ae3a
e1047a5f6725e07c8cbf17594bfe4969cbc5d708
refs/heads/master
2022-07-25T00:07:17.316099
2020-02-16T07:18:21
2020-02-16T07:18:21
240,848,262
1
0
null
null
null
null
UTF-8
Python
false
false
4,679
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 16 11:50:22 2018 @author: palan """ def two_break_on_genome(genome,i,j,k,l): ''' CODE CHALLENGE: Implement 2-BreakOnGenome. Input: A genome P, followed by indices i, i', j, and j'. Output: The genome P' resulting from applying the 2-break operation 2...
[ "palandswd@gmail.com" ]
palandswd@gmail.com
8739215d27e0eeaf8c9a61c40b7f47b73a274f0b
f7d1cf4968185663240cc1c843100ab82a66f1c4
/Research/Susel/ctrlsucell2.py
4c61175f40c03e2ea55b698b251760fd2108daa1
[]
no_license
yuufujikata2/Jisakucode
c61d0e3a2d76aede7981412a314486ecb88bedf2
42ecc74a9b942e93ea1e0f8198eaf26cd752b082
refs/heads/master
2020-07-30T05:35:25.299103
2019-12-27T08:50:31
2019-12-27T08:50:31
210,102,383
0
0
null
null
null
null
UTF-8
Python
false
false
6,449
py
""" To make super cell call fortran sub routine """ import sys import numpy as np import copy from cProfile import Profile import time BOHR=0.529177 def main(): fp = open("CTRL", mode ="r") lines = fp.readlines() site_t=None class_t=None plat_n=0 for line in lines: word = line.split() ...
[ "yuu.1201.soccer.f@gmail.com" ]
yuu.1201.soccer.f@gmail.com
6811618e7409a826bdb28d0c79fbfb7a00f344dd
29326882b2d4282dcfeed01a326541c0c55deb50
/SPARK_DOCKER/code/mAdvisor-api/ocr/query_filtering.py
d6b54999b0d99e2067146cc94083274fab957f5d
[]
no_license
Srinidhi-SA/mAdvisorStgSpark
95dc50e070b4323c775ac9dfd34ad14c1da0981d
29f682371a9a40d524f5cf09cf68d1a76b27aff5
refs/heads/main
2023-05-21T13:27:02.844632
2021-06-13T13:28:29
2021-06-13T13:28:29
354,809,820
0
0
null
null
null
null
UTF-8
Python
false
false
20,686
py
""" Commomly used queries implementations for increased re-usability. """ # from itertools import chain # from builtins import object import ast from django.contrib.auth.models import User from rest_framework.response import Response # from api.exceptions import creation_failed_exception, update_failed_exception # f...
[ "Srinidhi.Anantharamu@gmail.com" ]
Srinidhi.Anantharamu@gmail.com
22d95e6496b2dba820a7e4a6328150f2051e6741
250003a344e5cb974579d67daeeed7ea6b51f620
/day4/Day_04.py
53e64c0b3425e2e8e76132a1d26f21a1358e5fe3
[]
no_license
lakshsharma07/training2019
540cace993859f06b4f402fc5a7849b26fb11ce8
d8ae0b0e1e567525e806834379713003a676ec06
refs/heads/master
2020-05-24T07:11:25.613107
2019-06-25T03:27:58
2019-06-25T03:27:58
187,154,851
1
2
null
null
null
null
UTF-8
Python
false
false
7,219
py
# File handling in Python import ast print (file.name) print (file.mode ) print (file.closed) file.close() print (file.closed ) """ There are four different methods (modes) for opening a file "r" - Read "a" - Append "w" - Write "x" - Create In addition you can specify if the file should be handled a...
[ "sharma1997lak@gmail.com" ]
sharma1997lak@gmail.com
9c65594ee5d148fd8e1cf38dc54d9d1deae8e796
dcc491dd2fa4ece68728255d236fa6e784eef92d
/modules/2.79/bpy/props.py
de7f678386abeea65752afbc4aa79e760900c1c2
[ "MIT" ]
permissive
cmbasnett/fake-bpy-module
a8e87d5a95d075e51133307dfb55418b94342f4f
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
refs/heads/master
2020-03-14T16:06:29.132956
2018-05-13T01:29:55
2018-05-13T01:29:55
131,691,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
def BoolProperty(name="", description="", default=False, options={'ANIMATABLE'}, subtype='NONE', update=None, get=None, set=None): pass def BoolVectorProperty(name="", description="", default=(False, False, False), options={'ANIMATABLE'}, subtype='NONE', size=3, update=None, get=None, set=None): pass def Co...
[ "nutti.metro@gmail.com" ]
nutti.metro@gmail.com
fff1593154efed3b5e2a9989b82f5cad0dc3c5f6
541223d8e2a68648528f997fe5897750a6f7e611
/Training/2018/BDT_Training_1j/samples_BDT.py
0775aab38628846d47cfca6c5cd76cd12c7edd51
[]
no_license
saumyaphor4252/top_BDT_against_WW
9757dd89f495cc603a616b7491ff7b13e575414f
12077d09a82756ccd524bf69b9d3feea196fad5e
refs/heads/master
2023-07-15T14:34:49.611398
2021-08-31T09:21:55
2021-08-31T09:21:55
401,639,316
0
0
null
null
null
null
UTF-8
Python
false
false
4,869
py
import os import inspect configurations = os.path.realpath(inspect.getfile(inspect.currentframe())) # this file configurations = os.path.dirname(configurations) # inclusive BDT Training 1 jet configurations = os.path.dirname(configurations) # 2018_v7 configurations = os.path.dirname(configurations) # FullRunII configu...
[ "saumya.phor4252@gmail.com" ]
saumya.phor4252@gmail.com
430eeca7eba025c3b7f4cb44996a25f401cfc360
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/1731.py
6c2b5d2ffaed221ecf966c6cb2162174b63e4c9f
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
from sys import stdin def read_str(): return stdin.readline().rstrip('\n') def read_strs(): return stdin.readline().rstrip('\n').split() def read_int(): return int(stdin.readline()) def read_ints(): return map(int, stdin.readline().split()) def read_floats(): return map(float, stdin.readline().split()) de...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d381a90db98a9ac1167b3e8d4c14fd8f5881bed3
03ae0dee75698f5012d80b218e71500181cd3e68
/cd2h_repo_project/modules/terms/fast.py
406372978f635d6c57a50be59347c398ffcffdb5
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
galterlibrary/InvenioRDM-at-NU
0b5e5043f67d0dc12960c00617ad2b7e14f4f6e8
5aff6ac7c428c9a61bdf221627bfc05f2280d1a3
refs/heads/master
2020-03-20T14:45:50.950239
2019-09-26T19:14:45
2019-09-26T19:14:45
137,494,704
6
0
MIT
2019-09-26T19:14:47
2018-06-15T14:06:06
Python
UTF-8
Python
false
false
3,118
py
# -*- coding: utf-8 -*- # # This file is part of menRva. # Copyright (C) 2018-present NU,FSM,GHSL. # # menRva is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """FAST term loader. FAST stands for Faceted Application of Subject Terminol...
[ "fenekku@fenekku.com" ]
fenekku@fenekku.com
1dfc419e1ed0bb37b4b1cb3a0aa33268c84249d6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-4528.py
59a9deb44f39ab8a4af19060eb48e8bb0d604794
[]
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
13,351
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
33110b2ed9bdc6279d0c0132a35ffcf3eb79c6db
71b11008ab0455dd9fd2c47107f8a27e08febb27
/04、 python编程/day06/3-code/15-全局变量.py
64e9b525693ea1829f33920d1fe45511bfff4355
[]
no_license
zmh19941223/heimatest2021
49ce328f8ce763df0dd67ed1d26eb553fd9e7da4
3d2e9e3551a199bda9945df2b957a9bc70d78f64
refs/heads/main
2023-08-25T17:03:31.519976
2021-10-18T05:07:03
2021-10-18T05:07:03
418,348,201
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
num1 = 2 def my_func1(): print(num1) def my_func2(): print(num1) my_func1() num1 = 10 my_func2() print("end")
[ "1780858508@qq.com" ]
1780858508@qq.com
167e4c34ae149fc405af09bbf292c53a8992ae9e
9d52fc867aad7cff0431f6cf5d794643654619a1
/pyscf/__init__.py
1cb9c4a67c5de05c2ca3c8eba71c065d76b49864
[ "Apache-2.0" ]
permissive
tovrstra/json_schema
2b688c5701d3a4d08f1f0619347a2c07922902e9
cd72ef3e156090d9e16127ed3aa4ac2295c7dc44
refs/heads/master
2020-12-02T18:13:22.995387
2017-04-03T17:06:41
2017-04-03T17:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
''' This module provides functions to parse JSON string to drive pyscf or convert pyscf script to JSON string. ''' from from_json import json2pyscf, run_json
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
01b7056fb97e373a87a10b789ae0a226b09f3980
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/02_preprocessing/merraLagScripts/765-tideGauge.py
fd0167cfa9d9d4305a3515118a03655444dfd298
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,772
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 31 17:12:23 2020 **************************************************** Load predictors & predictands + predictor importance **************************************************** @author: Michael Tadesse """ #import packages import os import pandas as pd import datetime a...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
2b63a11a9c8e53de67aa9cb16b3ae1e8c2c3fd7b
6364bb727b623f06f6998941299c49e7fcb1d437
/msgraph-cli-extensions/src/bookings/azext_bookings/vendored_sdks/bookings/aio/operations_async/_booking_currency_booking_currency_operations_async.py
44e5a0d7cdc2b7a001947beff8c77dfea7bff2da
[ "MIT" ]
permissive
kanakanaidu/msgraph-cli
1d6cd640f4e10f4bdf476d44d12a7c48987b1a97
b3b87f40148fb691a4c331f523ca91f8a5cc9224
refs/heads/main
2022-12-25T08:08:26.716914
2020-09-23T14:29:13
2020-09-23T14:29:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,586
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
af579bc80e1fd8c51461a6dd6c598ad1d7c3b6c4
d42b60523e02c3a24d8b5a640f1a26fe4ebdc112
/tieba_user/tieba_user/spiders/test2.py
1e42a132172609f0d265efec4f346824f3d30603
[]
no_license
thansort/spider
175242efb0d799b0cbeb94f0aff556f4a19621e9
75232a36e368144b9f3fdb680e9d9a7f1c6eee9a
refs/heads/master
2020-09-01T06:46:35.768960
2019-09-18T12:26:49
2019-09-18T12:26:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' @author: maya @contact: 1278077260@qq.com @software: Pycharm @file: test2.py @time: 2019/3/16 17:31 @desc: ''' import requests from lxml import etree headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/...
[ "1278077260@qq.com" ]
1278077260@qq.com