blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1a6c349482a32dd6f302abf1c4292833b754d0c1
f151d2e8ce0f09069f76a2719fcc4bc106f90e15
/config.py
afe05ab4494fe3e5491ab130e7960f456b01545f
[]
no_license
Ali-Khakpash/flask-admin
b8d71e85edb644f8f3754ea8bdbcc8f79e0425e3
f2beab858368dabe5c9f48b2e41ff8ddbca0fdae
refs/heads/master
2020-12-02T04:10:38.978578
2020-06-05T09:47:17
2020-06-05T09:47:17
230,882,040
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: #SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' SECRET_KEY = os.urandom(24) SQLALCHEMY_COMMIT_ON_TEARDOWN = True FLASKY_MAIL_SUBJECT_PREFIX = '[Flasky]' FLASKY_MAIL_SENDER = 'Flasky Admin <flasky@exam...
[ "ali.khakpash@gmail.com" ]
ali.khakpash@gmail.com
c377866aad88f931fedcf91312e31f92701861f1
44e1f22280921216c8ef9acabec761cbe450030a
/src/models/train_funcs.py
4e4419dcd6969838bb147df62c7aa30da36305f0
[]
no_license
EstherWMaina/kenya-crop-mask
69e727874ad2305f6a1fc159061f85f632b4f795
b51c21e73c296b70ffa79ebd57162d23553e99a1
refs/heads/master
2023-06-15T09:50:48.156473
2021-06-01T19:04:15
2021-06-01T19:04:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from argparse import Namespace import pytorch_lightning as pl from pytorch_lightning.callbacks import EarlyStopping def train_model(model: pl.LightningModule, hparams: Namespace) -> pl.LightningModule: early_stop_callback = EarlyStopping( monitor="val_loss", min_delta=0.00, patience=hparams.patience, ver...
[ "gabriel.tseng@mail.mcgill.ca" ]
gabriel.tseng@mail.mcgill.ca
f09b8f651cefa953c0742615d4f262d8e9c98712
e4ab984c6d27167849f6c6e2d8ced3c0ee167c7c
/Edabit/Say_Hello_to_Guests.py
f28b89fb446b0024e359066dc21b26dc4ffc8239
[]
no_license
ravalrupalj/BrainTeasers
b3bc2a528edf05ef20291367f538cf214c832bf9
c3a48453dda29fe016ff89f21f8ee8d0970a3cf3
refs/heads/master
2023-02-10T02:09:59.443901
2021-01-06T02:03:34
2021-01-06T02:03:34
255,720,400
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
#Say Hello to Guests #In this exercise you will have to: #Take a list of names. #Add "Hello" to every name. #Make one big string with all greetings. #The solution should be one string with a comma in between every "Hello (Name)". #Each greeting has to be separated with a comma and a space. #If you're given an empty lis...
[ "63676082+ravalrupalj@users.noreply.github.com" ]
63676082+ravalrupalj@users.noreply.github.com
db3ccdd045b929d6f0651b9eddf8263751f07e22
2b8f1b067a6602a6520e9846a2df8b83a359623a
/BOJ/단계별로 풀어보기/18_ 그리디 알고리즘/11047.py
261066b1e4355ae315db35c339efe4c72692125d
[]
no_license
ymink716/PS
3f9df821a1d4db110cd9d56b09b4c1d756951dd8
e997ecf5a3bec1d840486b8d90b934ae1cbafe94
refs/heads/master
2023-08-18T18:21:45.416083
2023-08-16T07:26:18
2023-08-16T07:26:18
218,685,650
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
n, k = map(int, input().split()) coins = [int(input()) for _ in range(n)] count = 0 for i in range(n-1, -1, -1): if k >= coins[i]: count += (k // coins[i]) k = k % coins[i] print(count)
[ "ymink716@gmail.com" ]
ymink716@gmail.com
f6c6735da757355ba46dec2b33f48b3df3694037
45129489b5556a70d3caa6020b0f035de8019a94
/probn/01.04/27.py
2b62b314c4fb4d838ef574020e8bdfce27aa20b8
[]
no_license
trofik00777/EgeInformatics
83d853b1e8fd1d1a11a9d1f06d809f31e6f986c0
60f2587a08d49ff696f50b68fe790e213c710b10
refs/heads/main
2023-06-06T13:27:34.627915
2021-06-23T20:15:28
2021-06-23T20:15:28
362,217,172
3
1
null
null
null
null
UTF-8
Python
false
false
706
py
n = int(input()) h1, h2, h_a = 0, 0, 0 is_ch_nech = 0 diff = [] for _ in range(n): a, b, c = sorted(map(int, input().split())) h1 += a h2 += b h_a += c if (a + b) % 2: is_ch_nech += 1 ac, bc = c - a, c - b k = [] if ac % 2: k.append(ac) if bc % 2:...
[ "noreply@github.com" ]
trofik00777.noreply@github.com
f496c9ca6c2d179194b41af953114afe4dbcd9df
32aa7d3f9a90bafaf0ff89d01fe71e970cbe64a6
/pytext/torchscript/tensorizer/roberta.py
7a72df0d120cb39d6dced64be2d96f6fddf2a497
[ "BSD-3-Clause" ]
permissive
HarounH/pytext
67135563939723c47076de3c4d213549ba6246b6
6dd8fccac0b366782b5319af6236d2d337a25b42
refs/heads/master
2020-09-12T21:34:35.749162
2019-11-18T23:07:53
2019-11-18T23:12:13
222,563,726
0
0
NOASSERTION
2019-11-18T23:17:42
2019-11-18T23:17:41
null
UTF-8
Python
false
false
3,733
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from typing import List, Optional, Tuple import torch from pytext.torchscript.utils import pad_2d, pad_2d_mask from .bert import ScriptBERTTensorizerBase class ScriptRoBERTaTensorizer(ScriptBERTTensorizerBase): @torch...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e7c56cdf9130241750530b46da969e1b3999db5a
01b7728c138818a43a967b1129c7cf328d1620c2
/built-in/tickets/create_ticket.py
2136677d04b3cce6bf50f1f074970c639d8e3b94
[]
no_license
lliurex/n4d
62d303947bc4ae0ff20cb1f2217e532ef17091a5
09e5f15acbb1ce584a074dc7540959258c165f66
refs/heads/master
2023-08-31T23:34:04.859965
2023-04-14T11:17:12
2023-04-14T11:17:12
133,468,639
0
1
null
2023-02-16T08:57:32
2018-05-15T06:22:13
Python
UTF-8
Python
false
false
344
py
import n4d.responses def create_ticket(self,user): ret=self.tickets_manager.create_ticket(user) if ret: return n4d.responses.build_successful_call_response(True,"Ticket created for user %s"%user) else: CREATE_TICKET_ERROR=-5 return n4d.responses.build_failed_call_response(CREATE_TICKET_ERROR,"Failed to cre...
[ "hectorgh@gmail.com" ]
hectorgh@gmail.com
c2a1ec30d6c85e49248724ac2e7f709f702411e3
9df267613fe858c7f8dac85255fdf1f592c8bdf9
/image/image-open.py
97f958ba4fadfede8820597af1b5e029d31ce44f
[ "MIT" ]
permissive
martinmcbride/python-imaging-book-examples
6ad44067dd20919ff6e8af0f482bc245a8338756
37e4ccf9b7b2fc3ff75b1fdb9f772de452a843b2
refs/heads/main
2023-07-17T12:01:19.851394
2021-08-22T20:49:46
2021-08-22T20:49:46
365,778,031
2
2
null
null
null
null
UTF-8
Python
false
false
474
py
# Author: Martin McBride # Created: 2021-07-17 # Copyright (C) 2021, Martin McBride # License: MIT # Open an image from PIL import Image # Open an image of any supported format image = Image.open("boat-small.jpg") image.close() # Only open PNG or JPEG images image = Image.open("boat-small.jpg", formats=['PNG', 'JP...
[ "mcbride.martin@gmail.com" ]
mcbride.martin@gmail.com
b40b07274f7adcd1bfcfcbb81396f652db3b129c
4d6975caece0acdc793a41e8bc6d700d8c2fec9a
/leetcode/1501.circle-and-rectangle-overlapping/1501.circle-and-rectangle-overlapping.py
fa66d6e63ecac5efece6056e67d08b33212fa829
[]
no_license
guiconti/workout
36a3923f2381d6e7023e127100409b3a2e7e4ccb
5162d14cd64b720351eb30161283e8727cfcf376
refs/heads/master
2021-08-03T10:32:02.108714
2021-07-26T04:38:14
2021-07-26T04:38:14
221,025,113
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
class Solution: def checkOverlap(self, radius: int, x_center: int, y_center: int, x1: int, y1: int, x2: int, y2: int) -> bool:
[ "guibasconti@gmail.com" ]
guibasconti@gmail.com
219dea222cde58156d3ae38cb078aea71abb1c9c
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/contracts/KT1G72fc8TP3C7WgnaMB8uG3ZbDgfkJNBWEr/test_michelson_coding_KT1G72.py
981ba4b2284f21132fc049c53a0e55ab6f03c747
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
5,342
py
from unittest import TestCase from tests import get_data from pytezos.michelson.micheline import michelson_to_micheline from pytezos.michelson.formatter import micheline_to_michelson class MichelsonCodingTestKT1G72(TestCase): def setUp(self): self.maxDiff = None def test_michelson_parse_code_KT...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
fdd6cd19067be398e034485ffed4ce17161ee1f1
5acc20092ee93935594a7e0522924245a43e5531
/decision_trees/plot_tree_regression.py
d4307a1f717e2be72689a8cbfde8de070109e9ce
[]
no_license
shengchaohua/sklearn-examples
aae2332c4382a57a70c1887777c125e6dc4579d6
1dac6a9b5e703185a8da1df7c724022fbd56a9e4
refs/heads/master
2020-05-05T01:19:20.037746
2019-10-18T08:55:01
2019-10-18T08:55:01
179,599,221
1
0
null
null
null
null
UTF-8
Python
false
false
885
py
import numpy as np from sklearn.tree import DecisionTreeRegressor import matplotlib.pyplot as plt # Create a random data set rng = np.random.RandomState(1) X = np.sort(5 * rng.rand(80, 1), axis=0) y = np.sin(X).ravel() y[::5] += 3 * (0.5 - rng.rand(16)) # Fit regression model regr_1 = DecisionTreeRegressor(max_depth=...
[ "shengchaohua163@163.com" ]
shengchaohua163@163.com
ca9258e6924e408fc0176eaaf8cc9f02aa0c7bfa
3844678a0fb3b1f0838fb04bc57fd93dee6ee631
/siteApps/ecrisApps/css/ECRIS/script/glassman_set_value.py
fcce39d050b67b9e8f1089766248385506406dbb
[]
no_license
jeonghanlee/Work
daa9295da3af3ff6c3a68daf51fac804dd1942cd
bef817911ea29fe091547f001ac35ac3765d8258
refs/heads/master
2022-09-28T03:59:29.435017
2022-09-15T18:26:34
2022-09-15T18:26:34
91,843,357
3
0
null
2019-01-08T16:10:37
2017-05-19T20:34:36
VHDL
UTF-8
Python
false
false
468
py
from org.csstudio.opibuilder.scriptUtil import PVUtil from org.csstudio.opibuilder.scriptUtil import ConsoleUtil sys = widget.getMacroValue("SYS") subsys = widget.getMacroValue("SUBSYS") dev= widget.getMacroValue("DEV") par= widget.getMacroValue("PAR") pv_name=sys + "-" + subsys + ":" + dev + ":" + "v0set" text_box="...
[ "silee7103@gmail.com" ]
silee7103@gmail.com
25f96cedec9f44d673e174f26f7009c567e4d75e
6daaf3cecb19f95265188adc9afc97e640ede23c
/python_design/pythonprogram_design/Ch4/4-2-E55.py
3183e603b8e24766d0c7c8793cf4ac19b5a5405c
[]
no_license
guoweifeng216/python
723f1b29610d9f536a061243a64cf68e28a249be
658de396ba13f80d7cb3ebd3785d32dabe4b611d
refs/heads/master
2021-01-20T13:11:47.393514
2019-12-04T02:23:36
2019-12-04T02:23:36
90,457,862
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
def main(): ## Sort New England states by land area. NE = [("Maine", 30840, 1.329), ("Vermont", 9217, .626), ("New Hampshire", 8953, 1.321), ("Massachusetts", 7800, 6.646), ("Connecticut", 4842, 3.59), ("Rhode Island", 1044, 1.05)] NE.sort(key=lambda state: state[1], reverse=True) pr...
[ "weifeng.guo@cnexlabs.com" ]
weifeng.guo@cnexlabs.com
9682c7a2b7ccafa088bfb89d7104ae3684b1c697
3691259d4be62b60d8d52f38b36d6a24e5fd4536
/libcloud/compute/drivers/ktucloud.py
75a5eef6eafc0c674f4fdb81343b669158f21aba
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
chenjiang1985/libcloud
f385fac278777c2bbfedaf440d353c9ad9eb5c69
587212da626dfe0e2936737108bcc49d666cf4b4
refs/heads/master
2021-07-16T14:29:21.821490
2019-11-27T02:20:43
2019-11-27T02:20:43
222,844,781
1
2
Apache-2.0
2020-10-27T22:06:36
2019-11-20T03:41:31
Python
UTF-8
Python
false
false
3,610
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 use ...
[ "jacob.cj@alibaba-inc.com" ]
jacob.cj@alibaba-inc.com
8b6ba1d95b208bc8087ef5dc27da02b1de14f438
d7f64c3929642836691f4312cd936dd5647a2d80
/ast.py
93adf258d453a2a01bbb6c06fbdbc8a327e71293
[]
no_license
folkol/imp
bb09528f5e1f2376ecaec6be94cbdee54fd306fe
ac1a085360d0f75f7326a731d51475cca386e923
refs/heads/master
2021-01-25T14:33:46.808721
2018-03-03T19:18:44
2018-03-03T19:18:44
123,711,862
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
class ArithmeticExpression(object): pass class IntExp(ArithmeticExpression): def __init__(self, i): self.i = i def eval(self, ignored): return self.i class Variable(ArithmeticExpression): def __init__(self, name): self.name = name def eval(self, env): if self.na...
[ "mattias4@kth.se" ]
mattias4@kth.se
fc0b6f99fcb1be107a0ce98c126476be63146522
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/plat-mac/lib-scriptpackages/_builtinsuites/builtin_suite.py
44040300db7fa8e6ef5204fd93a23f5516945284
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,654
py
# 2016.10.11 22:22:11 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py """Suite builtin_Suite: Every application supports open, reopen, print, run, and quit Level 1, version 1 """ import aetools import MacOS _code = 'aevt' class builtin_Sui...
[ "info@webium.sk" ]
info@webium.sk
e4fdcb98e8edf08861cc723590e7f6122279a99c
b2ddc8011a4048d810bf4611c53b561293dd9452
/testcube/settings.py
ec405de5927a291fe6e7c342a2d79d4ab3ae6c6a
[ "MIT" ]
permissive
RainYang0925/testcube
677f6955d8a12e45b8c53037aad053482ab45f4f
a294c35a781e8495400ae7e04c342b326bc9c8ac
refs/heads/master
2021-01-25T08:00:51.443311
2017-06-07T03:52:25
2017-06-07T03:52:25
93,696,358
1
0
null
2017-06-08T01:49:25
2017-06-08T01:49:25
null
UTF-8
Python
false
false
3,973
py
""" Django settings for testcube project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "toby.qin@live.com" ]
toby.qin@live.com
3245aee47e4ac2131d988470aa907e073849400c
7bd82b4fa83ca2442e204d3d2a721e3759f44baa
/project_name/admin.py
590a114047ce337fde50dc3f4f01b9488a88c2c9
[ "MIT" ]
permissive
rupin/heroku-django-template
0b43455739772292feda6c5d89fbc0793799e64e
bdb117d73a7c1e85c6c82778784319787f15bacf
refs/heads/master
2020-06-29T08:24:14.601479
2019-10-24T04:52:26
2019-10-24T04:52:26
200,485,262
0
0
null
2019-08-04T11:38:44
2019-08-04T11:38:43
null
UTF-8
Python
false
false
494
py
from import_export.admin import ImportExportModelAdmin from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin from .forms import CustomUserCreationForm, CustomUserChangeForm from .models import * class CustomUserAdmin(UserAdmin): add_form = ...
[ "rupin.chheda@gmail.com" ]
rupin.chheda@gmail.com
cc9fdcd55675b096709fb144e7d45b92487833b2
ba2dbc19e899faaa17b994a1224e455a3de5b9ad
/02 Data Science/2. Analysis/1. CSV/3pandas_value_meets_condition.py
d1d763c6537a94766d202df868af4bb5e45b9337
[]
no_license
xsky21/bigdata2019
52d3dc9379a05ba794c53a28284de2168d0fc366
19464a6f8862b6e6e3d4e452e0dab85bdd954e40
refs/heads/master
2020-04-21T10:56:34.637812
2019-04-16T04:16:27
2019-04-16T04:16:27
169,503,618
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!/usr/bin/env python3 import pandas as pd import sys input_file = sys.argv[1] output_file = sys.argv[2] data_frame = pd.read_csv(input_file) k = data_frame['Cost'] data_frame['Cost'] = data_frame['Cost'].str.strip('$').astype(float) data_frame_value_meets_condition = data_frame.loc[(data_frame['Supplier Name'].str....
[ "studerande5@gmail.com" ]
studerande5@gmail.com
f9771dc0b891f65fb7526cfd3c55da8d270457c1
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p10506.py
bd4165bb54bc3dcc03caa0f97cad5ca92ee31c40
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
1,237
py
# coding:iso-8859-9 Türkçe from random import randint from math import trunc # Virgüllerle ayrık 2 ayrı veri giriş yöntemi a, b = eval (input ('Virgüllerle ayrık 2 sayı girin: ')) if a<b: a,b=b,a # (küçük/büyük) kontrolsüz, biçimsiz sonuçlar üretebiliyor... print (a, "+", b, "=", a+b) print (a, "-", b, "=", ...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
0875ce4acd4136ebb9d8128af0cd76afdae5a06e
b4ca78134c296d8e03c39496bcc57369fd5f619b
/kubehub/views/k8s_cluster_view.py
4305fb86a5f76432fac40d1bc2aa06664faecb27
[]
no_license
dedicatted/kubehub-backend
7f4b57033962f1ef8604a2cee0cf55bebd533ec9
3b944e462f5366b2dbad55063f325e4aa1b19b0e
refs/heads/master
2023-02-05T04:44:50.213133
2020-06-10T15:02:03
2020-06-10T15:02:03
236,169,121
1
1
null
2023-01-24T23:19:38
2020-01-25T12:45:32
Python
UTF-8
Python
false
false
5,236
py
from django.http import JsonResponse from django.forms.models import model_to_dict from django.views.decorators.csrf import csrf_exempt from rest_framework.permissions import IsAuthenticated from rest_framework.decorators import api_view, permission_classes from json import loads from ..models.proxmox_vm_group import ...
[ "noreply@github.com" ]
dedicatted.noreply@github.com
497314bfc946aa25317f6658dd9d4e8e9f00df30
2e3349340d12733892c6208b32ba955b4360d1db
/kunsplash/models/image_urls.py
24794fa55f8b194bf76145715ce67f9bb4eb67ac
[]
no_license
kkristof200/py_unsplash
4b8a6d7148dbd738de1caa44a551a30dce3a94eb
9b4a428580de8e36a77e01b3f27501cbe73d1b83
refs/heads/main
2023-01-06T07:36:36.323854
2020-11-15T23:01:19
2020-11-15T23:01:19
313,140,199
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# ----------------------------------------------------------- class: ImageUrls ----------------------------------------------------------- # class ImageUrls: # ------------------------------------------------------------- Init ------------------------------------------------------------- # def __init__( ...
[ "kovacskristof200@gmail.com" ]
kovacskristof200@gmail.com
f806d3225b073d92885ee4e935e1b1b677ff49af
b54d2b785d324828decd84941c7dbe6e1d2c5cf0
/venv/Session10B.py
aadd65c5d21d207830a51fbf3430fbd0b8888195
[]
no_license
ishantk/GW2019PA1
193c30dd930d17dacdd36f3adff20246c17ae6f9
120a63b05160a78a2c05c6e9f8561a7c02c6b88e
refs/heads/master
2020-05-31T06:36:48.814161
2019-07-19T06:20:48
2019-07-19T06:20:48
190,145,890
14
15
null
null
null
null
UTF-8
Python
false
false
1,029
py
class Parent: def __init__(self, fname, lname): self.fname = fname self.lname = lname print(">> Parent Constructor Executed") def showDetails(self): print(">> Hello, ",self.fname, self.lname) class Child(Parent): # Relationship -> IS-A def __init__(self, fname, lname, vehic...
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
406b3a67d50ad721e4827ee2929ce4120881cd16
133cbe0eeccd42d3e0f77de56a48032a4d8a5dd6
/astropy_timeseries/io/kepler.py
decaccf371fcb10b59a170b8ac1c2919e8c9186c
[]
no_license
barentsen/astropy-timeseries
5d1a4c4af8aaa4bd7271d0284d32b7101d4c2b2e
1a0852efcf37854c4088d2cd3f86b1e38eb71b8f
refs/heads/master
2020-05-01T02:08:36.803144
2019-02-25T16:04:07
2019-02-25T16:04:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
from astropy.io import registry from astropy.table import Table from astropy.time import Time from ..sampled import TimeSeries __all__ = ['kepler_fits_reader'] def kepler_fits_reader(filename): # Parse Kepler FITS file with regular FITS reader tab = Table.read(filename, format='fits') for colname in t...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
3672299abcf38d60edba474bdaa16a910e9e2918
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/bar/marker/_reversescale.py
0643f12996715a3baf7cbdc908afd0a358154f87
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
476
py
import _plotly_utils.basevalidators class ReversescaleValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='reversescale', parent_name='bar.marker', **kwargs ): super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, p...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
e7cdbdb4afd52e49b81f4f1fbd4b703332ea426d
05b0162d5ee7ab74f71ad4f21d5188a8735dfaef
/plugins/action/sg_mapping_deploy_all.py
0c785231f7c774872d04b7ffa8364529096202eb
[ "MIT" ]
permissive
steinzi/ansible-ise
567b2e6d04ce3ca6fbdbb6d0f15cd1913a1e215a
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
refs/heads/main
2023-06-25T15:28:22.252820
2021-07-23T14:21:40
2021-07-23T14:21:40
388,820,896
0
0
MIT
2021-07-23T14:03:07
2021-07-23T14:03:06
null
UTF-8
Python
false
false
2,511
py
from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.plugins.action import ActionBase try: from ansible_collections.ansible.utils.plugins.module_utils.common.argspec_validate import ( AnsibleArgSpecValidator, ) except ImportError: ANSIBLE_UTILS_IS_INST...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
f0191ceb0448c8b6eacede545dd5863c69667797
cb1d59b57510d222efcfcd37e7e4e919b6746d6e
/python/serialize_and_deserialize_BST.py
b07ff5bbbf5e37248ebf473b88bb3d16d5bafbd1
[]
no_license
pzmrzy/LeetCode
416adb7c1066bc7b6870c6616de02bca161ef532
ef8c9422c481aa3c482933318c785ad28dd7703e
refs/heads/master
2021-06-05T14:32:33.178558
2021-05-17T03:35:49
2021-05-17T03:35:49
49,551,365
2
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str ...
[ "pzmrzy@gmail.com" ]
pzmrzy@gmail.com
a25e58ffc121cdabeac8d4d10d327c475e84b51a
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_LOG/test_c142758.py
9a8984479db4dc8ffc54e5244552c4f02ae21dfe
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_physical_interface import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * ...
[ "15501866985@163.com" ]
15501866985@163.com
f56c525467ade5e3001eaa43d9726b72abff18cd
19a7cbef5ccfdba8cfcaab0ab2382faea37b0fc6
/backend/task_profile/migrations/0001_initial.py
6253f2bb0e045f5037b01bc5d7cb47da1e50101e
[]
no_license
crowdbotics-apps/test-2-20753
6457b3d87abda53344537f0595d92ad0283efda8
6f59ab7cef1bd3d31adea98d4ecb74ba8044a180
refs/heads/master
2022-12-17T22:50:24.918623
2020-09-27T13:14:18
2020-09-27T13:14:18
299,032,653
0
0
null
null
null
null
UTF-8
Python
false
false
4,518
py
# Generated by Django 2.2.16 on 2020-09-27 13:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6f508176b3ca094892486adba3d54a24a15695e5
268568ff2d483f39de78a5b29d941ce499cace33
/spyder/app/tests/test_tour.py
8119b0810110005f285b4bacd55f36840f505b6a
[ "MIT" ]
permissive
MarkMoretto/spyder-master
61e7f8007144562978da9c6adecaa3022758c56f
5f8c64edc0bbd203a97607950b53a9fcec9d2f0b
refs/heads/master
2023-01-10T16:34:37.825886
2020-08-07T19:07:56
2020-08-07T19:07:56
285,901,914
2
1
MIT
2022-12-20T13:46:41
2020-08-07T19:03:37
Python
UTF-8
Python
false
false
519
py
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # """ Tests for tour.py """ # Test library imports import pytest # Local imports from spyder.app.tour import TourTestWindow @pytest.fixture def tour(qtbot): "Setup the QMainWindow for the tour." ...
[ "mark.moretto@forcepoint.com" ]
mark.moretto@forcepoint.com
bf43e790286174e15d0347f8e37777dde97aa064
b932ddc6d1187a795ef3c2b2af0ef5b186c8463f
/clients/views.py
6522a5f469990285833849200e9da9f4437b00aa
[]
no_license
FlashBanistan/drf-property-management
77f7ce487878b08298627e08dbaf5b9599768e73
016fb3e512dafa901de70e0b75ce0a6f6de38933
refs/heads/master
2021-11-16T18:55:48.314808
2020-09-09T03:13:36
2020-09-09T03:13:36
98,379,119
1
0
null
2021-09-22T17:37:36
2017-07-26T04:21:59
Python
UTF-8
Python
false
false
979
py
from rest_framework import viewsets from rest_framework.response import Response from django.shortcuts import get_object_or_404 from django.utils.decorators import method_decorator from django.contrib.auth.decorators import user_passes_test from .models import Client from .serializers import ClientSerializer @method_...
[ "FlashBanistan66@gmail.com" ]
FlashBanistan66@gmail.com
9d67d310c01d76d57b2c16257c4455828651f443
9e87897c988af634c3fddc42113992a65ec006f4
/sandbox/pytorch/gmm.py
ffdc083af1b3e4f5ad2a1eb80ca3c16f29bd22be
[ "MIT" ]
permissive
luiarthur/cytof5
152eb06030785fdff90220f0d0a244a02204c2e9
6b4df5e9fd94bfd586e96579b8c618fdf6f913ed
refs/heads/master
2021-07-20T13:39:45.821597
2021-03-02T23:27:35
2021-03-02T23:27:35
145,253,611
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# https://www.kaggle.com/aakashns/pytorch-basics-linear-regression-from-scratch # https://angusturner.github.io/generative_models/2017/11/03/pytorch-gaussian-mixture-model.html # https://pytorch.org/tutorials/beginner/examples_autograd/two_layer_net_custom_function.html import torch import time import math from gmm_da...
[ "luiarthur@gmail.com" ]
luiarthur@gmail.com
a816b6057d723ea0010e5dff9f5f61c79b1e910f
64e3b825b050d5e2a998e6bb809098e95d16b83c
/basemap_matplotlib_使用案例/003_basemap_绘制中国地图_GitHub上的中国地图数据.py
a2bf5acafa3f99bef68d273e5932c2fdb4c8aa52
[]
no_license
jackyin68/wuhan_2019-nCoV
a119828c32e7b8479c68b6a48993ab3aeab98805
340909ad6d012863452c6a2ffc61e4c3f091d7be
refs/heads/master
2022-04-10T03:09:59.726502
2020-03-17T07:40:42
2020-03-17T07:40:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
# -*- coding:utf-8 -*- # project_xxx\venv\Scripts python ''' Author: Felix WeiXin: AXiaShuBai Email: xiashubai@gmail.com Blog: https://blog.csdn.net/u011318077 Date: 2020/1/31 15:31 Desc: ''' # 首先导入绘图包和地图包 import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap # 第一步:设置图片大小及分辨率 plt.figure(figsize=(16...
[ "18200116656@qq.com" ]
18200116656@qq.com
1046870de0c05a4a728d3ef2a523485617239418
b0717aeda1942dd35221e668b5d793077c074169
/env/lib/python3.7/site-packages/twilio/rest/messaging/v1/__init__.py
3f1e4ca3869413abfe1a5e499e1c2a2bec60d919
[ "MIT" ]
permissive
stevehind/sms-steve-server
3fdeed6de19f29aeaeb587fe7341831036455a25
9b0dac19f2e6ccf6452e738017132d93e993870b
refs/heads/master
2022-12-21T23:34:10.475296
2020-01-27T16:24:39
2020-01-27T16:24:39
231,842,510
0
0
MIT
2022-05-25T05:03:16
2020-01-04T23:25:23
Python
UTF-8
Python
false
false
1,615
py
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base.version import Version from twilio.rest.messaging.v1.service import ServiceList from twilio.rest.messaging.v1.session import SessionList from twilio.rest.messaging.v1.webhook import ...
[ "steve.hind@gmail.com" ]
steve.hind@gmail.com
b1f20e1c4908222e39f3237763cab46248ac30e6
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/squareroot/83e76566-5f8e-4c9d-bea6-8a3c1519efe1__square_root.py
c1d2251d2f20561b14fcba31b5ee9d1797198cb8
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
700
py
""" Comparing different ways of finding square root 1st column number a 2nd col square root from written function 3rd col square root computed by math.sqrt 4th col absolute value of difference between the two estimates """ def findsquare(a): epsilon = 0.0000001 x = a/2.0 while True: y = (x + a/x) ...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
e010a539cfed9506356780db88110ebfec463503
77dd413b4d4bcbe503785d9e16daacfc71febb78
/salt/roster/flat.py
a562e16741c7cc622f385c18963d105b38e3cbe6
[ "Apache-2.0" ]
permissive
amarnath/salt
77bd308f431a8d70c6cf46212cfbb2b319019e63
0f458d7df5b9419ba9e8d68961f2ead197025d24
refs/heads/develop
2021-01-17T22:42:11.455863
2013-08-29T23:00:24
2013-08-29T23:00:24
12,478,872
0
2
null
2017-07-04T11:33:51
2013-08-30T05:36:29
Python
UTF-8
Python
false
false
2,325
py
''' Read in the roster from a flat file using the renderer system ''' # Import python libs import os import fnmatch import re # Import Salt libs import salt.loader from salt.template import compile_template def targets(tgt, tgt_type='glob', **kwargs): ''' Return the targets from the flat yaml file, checks op...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
1f052b4b2809f6daa1ec11d1b1292d2d680d53f5
4cdb3d1f9d0022284507877928d8f42d2fb0a5ee
/scripts/api/fetch_to_library.py
6c497bcb402b8ba73fef0d49167a4497575da63e
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
phnmnl/galaxy
9051eea65cc0885d6b3534f0ce7c4baea3b573e4
45a541f5c76c4d328c756b27ff58c9d17c072eeb
refs/heads/dev
2020-12-28T21:39:38.829279
2018-03-22T18:13:01
2018-03-22T18:13:01
53,574,877
2
4
NOASSERTION
2018-10-09T09:17:06
2016-03-10T10:11:26
Python
UTF-8
Python
false
false
1,013
py
import argparse import json import requests import yaml def main(): parser = argparse.ArgumentParser(description='Upload a directory into a data library') parser.add_argument("-u", "--url", dest="url", required=True, help="Galaxy URL") parser.add_argument("-a", "--api", dest="api_key", required=True, hel...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
f44a44c690da1bfd0c74d3ad297d84b89c3b0f3e
fb19849a37b3fa11908bd1654d62b40b8f6bf227
/udoy_4.py
858fa8cec22f6cea676338288e0cc195875192ec
[]
no_license
udoy382/PyCourseBT
51593b0e9775dd95b1ee7caa911818863837fabf
cff88fe33d7a8b313f0a2dbf4d218160db863b48
refs/heads/main
2023-03-25T03:44:09.173235
2021-03-25T14:29:19
2021-03-25T14:29:19
351,466,229
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
# Privacy in Classes class __Private: def __init__(self, a, b): # self.__a = a self._a = a self.b = b print("Private class is created") def _sum(self): # return self.__a + self.b return self._a + self.b priv = __Private(10, 20) print(priv._sum()) print(priv._...
[ "srudoy436@gmail.com" ]
srudoy436@gmail.com
9f8f92e26f9d76cf09b8fc8dab1a2a0bd6f94e30
9fda7a515674a76c80874f9deb63a6c472195711
/demo/office31/best_classifier/Amazon2Webcam/exp_Temp_FL_IW.py
1eaf35e0bd93235aaff5a5495d9a14ccaf2abde6
[ "Apache-2.0" ]
permissive
sangdon/calibration-under-covariateshift
c1f65062ed8a8df108747162b0385b69ad4c8a50
b1ed33d253a0c2539f8dd910b9ffa63150a14383
refs/heads/main
2023-03-23T00:33:27.350912
2021-03-19T04:19:20
2021-03-19T04:19:20
347,825,644
4
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import os, sys ##-------------------------------------------------- from exp_Amazon2Webcam import exp sys.path.append("../../") sys.path.append("../../../../../") ## param from params import Temp_FL_IW_AmazonParamParser as ParamParser ## model from train_model import train_model as netS from models.DAForecasters import...
[ "ggdons@gmail.com" ]
ggdons@gmail.com
29eb355dde09276ea14d9335e447f6f8488466b2
fd4163b9032ea17ea34e7575855a33746c1772c6
/src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_sp_scenarios.py
55ca18445ab2a90c6d7f433ac505010554a6f9e2
[ "MIT" ]
permissive
ebencarek/azure-cli
b1524ed579353ee61feb9a2ec88b134f7252d5cd
ede3aaa83aa4ac8e352e508408cada685f9f8275
refs/heads/az-cli-private-env
2021-06-02T04:51:29.831098
2020-05-01T00:15:31
2020-05-01T00:15:31
137,520,442
2
9
MIT
2020-05-01T00:15:33
2018-06-15T18:33:10
Python
UTF-8
Python
false
false
2,501
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tjprescott@users.noreply.github.com" ]
tjprescott@users.noreply.github.com
52c9a144a025ca9815e448130e5b5ffb0d68d30f
12a5b72982291ac7c074210afc2c9dfe2c389709
/online_judges/URI/Data_Structures/1069/code.py
a63f5171a71f9481b3f88fb686a8311ec953073a
[]
no_license
krantirk/Algorithms-and-code-for-competitive-programming.
9b8c214758024daa246a1203e8f863fc76cfe847
dcf29bf976024a9d1873eadc192ed59d25db968d
refs/heads/master
2020-09-22T08:35:19.352751
2019-05-21T11:56:39
2019-05-21T11:56:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from Queue import LifoQueue n = int(raw_input()) for i in xrange(n): s = raw_input() fila = LifoQueue() resposta = 0 for e in s: if e == '<': fila.put(1) elif e == '>' and not fila.empty(): fila.get() resposta += 1 print resposta
[ "mariannelinharesm@gmail.com" ]
mariannelinharesm@gmail.com
02c7599b6c6cee78be601d154db584e40d18d55f
0b0abc06caa25dd269e1855d3cc6c72d34dc436c
/escuela/visitante/migrations/0005_detalle.py
aee59eb1e0833cae2e4229a9d2672e655bc22458
[]
no_license
escuela2021/escuelagithub
0130589214681d1ff9da36ffafd8aafb99c9b96d
f35897d1918af3a22d66b163153fc72a927516e8
refs/heads/master
2023-09-03T21:36:00.513263
2021-11-11T18:38:08
2021-11-11T18:38:08
427,109,636
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# Generated by Django 3.2.4 on 2021-11-06 15:31 import ckeditor.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('visitante', '0004_tema'), ] operations = [ migrations.CreateModel( name=...
[ "gjangoinminutes@gmail.com" ]
gjangoinminutes@gmail.com
1299544a9cd69674c4b9a5513dbb3441d4e300e5
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/auth/core/ticket.py
93fce93d029c09cdfef3a405f923fcb67d61ff8a
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
7,563
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
060e3d3c52f7c8946fc6ce8307a4633642f9db33
7b437e095068fb3f615203e24b3af5c212162c0d
/enaml/widgets/container.py
1421529ddfd2d0cd52357c3dcb904f215742c914
[ "BSD-3-Clause" ]
permissive
ContinuumIO/enaml
d8200f97946e5139323d22fba32c05231c2b342a
15c20b035a73187e8e66fa20a43c3a4372d008bd
refs/heads/master
2023-06-26T16:16:56.291781
2013-03-26T21:13:52
2013-03-26T21:13:52
9,047,832
2
3
null
null
null
null
UTF-8
Python
false
false
7,031
py
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
[ "sccolbert@gmail.com" ]
sccolbert@gmail.com
87f5c24314b39490e8e74e0b1de8d082502121b4
fd7720dfc136eb92dbff8cc31e0f83bb8bbced16
/db/queries.py
7180c0c49d977ee644b04f66463964b52d135018
[]
no_license
Villux/golden_goal
d134a1660dd32f0b4d05f720993dd23f8a064faf
f36f4dd0297e2e52c0f990cb3ac134f70fc16780
refs/heads/master
2020-03-27T01:53:09.863147
2018-11-15T15:40:04
2018-11-15T15:40:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,326
py
create_elo_table = '''CREATE TABLE elo_table (id integer PRIMARY KEY AUTOINCREMENT, date TIMESTAMP, team text, elo real, match_id integer, season_id INTEGER NOT NULL, FOREIGN KEY(s...
[ "villej.toiviainen@gmail.com" ]
villej.toiviainen@gmail.com
ca79e5fd9f9270aabed432701bd25c1f14e6fdc8
29881fa0c087f3d3ce0e27fb51309384266203e1
/price_register/forms.py
62c7c641dab7ec7fc4fbd7a250098d5eaf789c6f
[]
no_license
aidant842/mymo
0e5ec2a5c73b6755d994467e4afba10141f449ea
877e7a38198d1b5effc6c3a63ad12e7166c20a77
refs/heads/master
2023-07-17T15:30:21.350974
2021-08-24T12:43:18
2021-08-24T12:43:18
340,033,414
1
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
from django import forms class PropertyRegsiterFilter(forms.Form): IE_COUNTY_CHOICES = [ (None, 'County'), ('carlow', 'Carlow'), ('cavan', 'Cavan'), ('clare', 'Clare'), ('cork', 'Cork'), ('donegal', 'Donegal'), ('dublin', 'Dublin'), ('galway', 'Galway'), ('kerry', 'Kerry'), ...
[ "aidant842@gmail.com" ]
aidant842@gmail.com
734e216421a945afd8daef96e60cedf08644860b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_initial.py
d1cef3978d2c3fa4aabf672c80ed94a85932a083
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
#calss header class _INITIAL(): def __init__(self,): self.name = "INITIAL" self.definitions = [u'the first letter of a name, especially when used to represent a name: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
573446d0eb0db0b59632fc96555a27bbc131d18f
bf8870d923adca9877d4b4dacef67f0a454727a8
/codeforces.com/contest/133/a/pr.py
63730bff7c0f31101ef62f87f15e0b187a1c0c68
[]
no_license
artkpv/code-dojo
6f35a785ee5ef826e0c2188b752134fb197b3082
0c9d37841e7fc206a2481e4640e1a024977c04c4
refs/heads/master
2023-02-08T22:55:07.393522
2023-01-26T16:43:33
2023-01-26T16:43:33
158,388,327
1
0
null
2023-01-26T08:39:46
2018-11-20T12:45:44
C#
UTF-8
Python
false
false
400
py
#!python3 from collections import deque, Counter from itertools import combinations, permutations from math import sqrt import unittest def read_int(): return int(input().strip()) def read_int_array(): return [int(i) for i in input().strip().split(' ')] ####################################################...
[ "artyomkarpov@gmail.com" ]
artyomkarpov@gmail.com
442f658071a199deed2ea39033e67851ce549cd2
c50e5af8f72de6ef560ee6c0bbfa756087824c96
/刷题/Leetcode/p974_Subarray_Sums_Divisible_by_K.py
5515fb9f32761fd960718a1bc96ae72209273fe2
[]
no_license
binghe2402/learnPython
5a1beef9d446d8316aaa65f6cc9d8aee59ab4d1c
2b9e21fe4a8eea0f8826c57287d59f9d8f3c87ce
refs/heads/master
2022-05-27T03:32:12.750854
2022-03-19T08:00:19
2022-03-19T08:00:19
252,106,387
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from typing import List import collections ''' 前缀和 n*K = sum[i+1:j+1] = prefixSum[j]-prefixSum[i] (prefixSum[i] - prefixSum[j]) % K == 0 prefixSum[i] % K == prefixSum[j] % K ''' class Solution: def subarraysDivByK(self, A: List[int], K: int) -> int: prefixSum = 0 prefix_cnt = collections.Counte...
[ "binghe2402@hotmail.com" ]
binghe2402@hotmail.com
bf36f0203b6e49922be55bdbe48c77f4e48f19a7
1e3dba48c257b8b17d21690239d51858e5009280
/exit_server/config/wsgi.py
2d6f7b7f4d45020bc3a0deda128c173c13eea691
[]
no_license
JEJU-SAMDASU/EXIT-Server
e3eb87707e5f79b0399dc614507c8d5889a85a4a
ac1b73703c9fff54866c979a620fd22470345b07
refs/heads/master
2023-02-12T13:29:18.508066
2020-11-23T12:42:18
2020-11-23T12:42:18
315,288,514
0
0
null
2020-11-24T17:16:29
2020-11-23T11:07:47
Python
UTF-8
Python
false
false
394
py
""" WSGI config for exit_server 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "hanbin8269@gmail.com" ]
hanbin8269@gmail.com
1dc58d55719d5e8c779ab8d96e4b0646be1a8a93
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_1/Python/Mathuyama/pancake.py
4fee8c53da1db866b82b5bceb88e8abef431eec2
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,396
py
import numpy as np def getInfo(line): t = [] for c in line: if c == '-': t.append(-1); if c == '+' : t.append(+1); return t def parse(path): file = open(path,"r"); nbCases = int(file.readline()); txt = file.readlines(); cases = [] for line in txt: cases.append(g...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
bc6e0d7cce5ab4a2ff4d4c76a1ff404a38342888
30a866abd8b0aba8355ce0bc858cc679565032c2
/wrk/python/global_variables.py
13037f1c1b163b84ac9b8a6b917f5ae40a8aa723
[]
no_license
srbcheema1/CheemaFy_legacy
d8a354e0f3463cb19ffbcf948d7be55c15c51faa
c929211729860887a82e0663bfcf5b85da6b6967
refs/heads/master
2021-10-15T23:48:57.259057
2019-01-31T11:33:46
2019-02-07T01:32:07
102,012,212
1
1
null
null
null
null
UTF-8
Python
false
false
613
py
hell = 1 debug = True def read_only(): # here we are not writing it so no need of global keyword read_debug = debug # works fine if(debug): print("debug") # works fine def strange(): bad_debug = debug # error debug = True # maybe it thinks it is local # it is to be declared global if we try to...
[ "srbcheema1@gmail.com" ]
srbcheema1@gmail.com
0c3b71d557eed98f99e54ee483dfe08d43e50239
a411a55762de11dc2c9d913ff33d2f1477ac02cf
/dp/cloud/python/magma/db_service/migrations/versions/016_remove_grant_attempts.py
419ad005c1380af097689952c5a3b1ca7f4c6603
[ "BSD-3-Clause" ]
permissive
magma/magma
0dc48c1513d9968bd05fb7589f302c192b7c0f94
0e1d895dfe625681229e181fbc2dbad83e13c5cb
refs/heads/master
2023-09-04T09:31:56.140395
2023-08-29T13:54:49
2023-08-29T13:54:49
170,803,235
1,219
525
NOASSERTION
2023-09-07T17:45:42
2019-02-15T04:46:24
C++
UTF-8
Python
false
false
782
py
"""empty message Revision ID: 58a1b16ef73c Revises: 530b18568ad9 Create Date: 2022-07-22 16:03:01.235285 """ import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = '58a1b16ef73c' down_revision = '530b18568ad9' branch_labels = None depends_on = None def upgrade(): """...
[ "noreply@github.com" ]
magma.noreply@github.com
dfde0dc15bc68d98164c3eed4e245d1a312dd74d
efc3bf4f88a2bfc885de5495c87433d345b54429
/ZOJ/1115.py
92f3352989a7d4a7c5a3053e24b7a7b9b4ac4e23
[]
no_license
calvinxiao/Algorithm-Solution
26ff42cc26aaca87a4706b82a325a92829878552
afe254a4efa779598be8a82c5c5bcfcc94f80272
refs/heads/master
2016-09-05T21:08:35.852486
2015-08-23T15:13:23
2015-08-23T15:13:23
20,149,077
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
#Problem ID: 1115 #Submit Time: 2012-08-16 00:49:47 #Run Time: 10 #Run Memory: 320 #ZOJ User: calvinxiao import sys def todo(n): if n < 10: return n ans = 0 while n != 0: ans += n % 10 n /= 10 return todo(ans) while 1: n = int(sys.stdin.readline()) if n...
[ "calvin.xiao@scaurugby.com" ]
calvin.xiao@scaurugby.com
443b6a78e2121b70b47d9cb55a84223089801ef3
7d44994155d57a01fdd1b405018e2a83eb670bfe
/hub/src/light/effect/color_effects/triple_linear_color_transition.py
24d6c76ab3ef0e923e7a64bf7b690f641dc416b9
[]
no_license
jonlabroad/drum-lite
e05e2904c28f19101dfb0c43ecdf0b1b1f836e13
e60e21a2f5d1f03e3e939163c101c286a3cfa7d2
refs/heads/master
2022-12-31T11:00:44.075176
2020-07-25T17:19:01
2020-07-25T17:19:01
214,287,587
0
0
null
2022-12-10T09:56:49
2019-10-10T21:18:57
TypeScript
UTF-8
Python
false
false
937
py
from light.effect.partial_effect import PartialEffect from light.effect.resolved_effect import ResolvedEffect from util.color_transition import ColorTransition from light.effect.effect_priority import EffectPriority class TripleLinearColorTransition(PartialEffect): def __init__(self, srcRgb, dstRgb1, dstRgb2, dura...
[ "=" ]
=
fa587f4efbb32030d5aeb6a0a371f9f0cddf5bad
d9296d3b420d8f5c1aeca094d00dd6bc38a3d57d
/blog/migrations/0007_auto_20201007_0027.py
af9d531851ee81b2ee2d718dbd0c0b433ae67098
[]
no_license
Anthony88888/mysite
57f5f40530886b12cf1364c10c6206983b022c6c
7130715ef3acac054b96fa22dcf19fec1f31e019
refs/heads/master
2023-01-09T12:15:11.720225
2020-10-25T14:48:35
2020-10-25T14:48:35
305,168,092
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 2.0.13 on 2020-10-06 16:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20201006_1456'), ] operations = [ migrations.RemoveField( model_name='readnum', name='blog', ), ...
[ "admin@example.com" ]
admin@example.com
fc47543b429550c01bcea133e396d425c978ea1f
335c8167b2093359113abbd2b2ad6561e46f28f9
/myereporter/report_display.py
3692dc6e7596d69f3b53194d1138530ddd132a2c
[]
no_license
mdornseif/my_ereporter
ce67fadc512153327aa289b57e4abdc34065bdcd
4c362d356d3e674cf47175ce7977a1a794ff1a9f
refs/heads/master
2020-05-30T21:59:41.963554
2014-02-12T07:40:08
2014-02-12T07:40:08
3,323,415
0
0
null
2014-02-12T07:40:09
2012-02-01T09:14:12
Python
UTF-8
Python
false
false
3,276
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # Copyright 2012 Dr. Maximillian Dornseif # # 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...
[ "md@hudora.de" ]
md@hudora.de
57d0f000bba622f8ae58fd6246384fdb6171a4c2
0e25538b2f24f1bc002b19a61391017c17667d3d
/xsqlps/win_xsqlhaendpoint.py
d63cff41b4b48b8eaa76153f1709cb850bf709e7
[]
no_license
trondhindenes/Ansible-Auto-Generated-Modules
725fae6ba9b0eef00c9fdc21179e2500dfd6725f
efa6ac8cd2b545116f24c1929936eb8cc5c8d337
refs/heads/master
2020-04-06T09:21:00.756651
2016-10-07T07:08:29
2016-10-07T07:08:29
36,883,816
12
2
null
null
null
null
UTF-8
Python
false
false
2,205
py
#!/usr/bin/python # -*- coding: utf-8 -*- # <COPYRIGHT> # <CODEGENMETA> # # This file is part of Ansible # # Ansible 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 License, ...
[ "trond@hindenes.com" ]
trond@hindenes.com
8cebe11dc2d30677fef4d45822d56ad632eb8314
277290f8cd6cc5bcb77faaf69a045f5074a988e5
/reveal-cards-in-incr.py
db0e4830da4c2241050bac7bada38bfbe9788efc
[]
no_license
shankarkrishnamurthy/problem-solving
aed0252d9ca6d6b51e9a7d8d5e648343b4abf322
f9bc1db1cc99b10a87a2fa51869924aa10df4c99
refs/heads/master
2023-03-20T18:48:45.107058
2023-03-06T03:24:53
2023-03-06T03:24:53
123,035,515
2
0
null
null
null
null
UTF-8
Python
false
false
665
py
class Solution(object): def deckRevealedIncreasing(self, d): """ :type deck: List[int] :rtype: List[int] """ n = len(d) d.sort() il, c, i = range(n),0,0 ans = [0]*n while c < n-1: ans[il[i]] = d[c] i += 2 c +...
[ "kshan_77@yahoo.com" ]
kshan_77@yahoo.com
d3bc11a9aab7b31c0267628c2f3dd7308ec7e8e1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_candling.py
0473570aa258d1a60c7225076a74ed253110aa0b
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from xai.brain.wordbase.nouns._candle import _CANDLE #calss header class _CANDLING(_CANDLE, ): def __init__(self,): _CANDLE.__init__(self) self.name = "CANDLING" self.specie = 'nouns' self.basic = "candle" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
897ddd4b655379b68902d88d5eb70456f63dc56b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4149/codes/1638_869.py
76e2f745bcfc37ccead6e31a4844f49410cd0660
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
133
py
preco=float(input("digite o valor: ")) if(preco>=200): pago= preco-((5*preco)/100) print(round(pago,2)) else: print(preco)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
701d53be3b220a15773d4bae7c650509950ea474
5daece6b3ee3e928d101c8614dbcb90a8569626f
/files/Exercícios Livro/c05e01.py
bc282a6143d6bb605b74864d13352c4e1506c4a1
[ "MIT" ]
permissive
heltonricardo/estudo-python
506b400af93039bbdca70e1bc604c588fae62af1
e82eb8ebc15378175b03d367a6eeea66e8858cff
refs/heads/master
2022-12-24T03:10:52.202102
2020-10-06T13:58:05
2020-10-06T13:58:05
294,190,313
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
def somatorio(n): s = 0 for i in range(1, n + 1): s += i return s valor = int(float(input('Entre um valor inteiro: '))) print('A soma de 1 até {} é {}'.format(valor, somatorio(valor))) input()
[ "50843386+heltonr13@users.noreply.github.com" ]
50843386+heltonr13@users.noreply.github.com
63b8ad3ebadc2a5c26750c091d69b542c6a4c249
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/gallery/v4_0/models/publisher.py
6850a11a0f84d8920e40a5e224ddaa6f1d608c0b
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
2,466
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
78b90c5ccf52433ac0fa36490bf09ee3a9537df0
b288e79bc4aa3a3ea2e11b2fe5d9d707fc36b916
/wen_python_18/color_term.py
bff244b69e87f087214b38f7a0db261cf928d44f
[]
no_license
pylinx64/wen_python_18
88e780e7045419a8c14d26f1dbb42c0d98e8856c
173f21e046904cdc24f846e19004d2a007deb2d3
refs/heads/main
2023-04-17T19:36:37.485510
2021-05-05T10:07:41
2021-05-05T10:07:41
336,603,726
1
0
null
null
null
null
UTF-8
Python
false
false
194
py
import tqdm, random, time progresBar = tqdm.tqdm(range(0, 100), desc='Loading virus...', ascii=True, bar_format='{desc}: {bar} {percentage:3.0f}% ') for x in progresBar: time.sleep(.05)
[ "noreply@github.com" ]
pylinx64.noreply@github.com
baae2fe0650b8a44e41fd46c23db0f242cd1e344
eef2fea06f1a18b410e51dcae2ce602093ce086f
/string Valiadtor method 2.py
9eb7c9062a78871b4fb0a2cf0e4fefc1060b6ffb
[]
no_license
vkgitmaster/HackerRank_Practice
43de4723c31788a56b848d30ea6e69a95c305bd8
e774a3bfedd59519c3cbb5369d472727b87655e5
refs/heads/master
2023-01-19T21:29:03.295968
2020-12-05T06:44:22
2020-12-05T06:44:22
318,719,167
0
0
null
2020-12-05T06:30:10
2020-12-05T06:30:10
null
UTF-8
Python
false
false
245
py
import re if __name__ == '__main__': s = input() print(bool(re.search('[a-zA-Z0-9]', s))) print(bool(re.search('[a-zA-Z]', s))) print(bool(re.search('[0-9]', s))) print(bool(re.search('[a-z]', s))) print(bool(re.search('[A-Z]', s)))
[ "VKvision@venu.com" ]
VKvision@venu.com
07800d09d0b326125fa78d95f54f9f1796ed958a
8d014a0120864b42748ef63dddfa3c733370118c
/layint_api/models/user_groups.py
b9ba7c7bbbe6c943e647dc66a058e83bdcca50f2
[ "LicenseRef-scancode-unknown", "Apache-2.0" ]
permissive
LayeredInsight/layint_api_python
3a6cf0bf62219f09010b828d7e02c2f3852a6f6f
a5c9a5b24098bd823c5102b7ab9e4745432f19b4
refs/heads/develop
2020-03-27T05:43:35.831400
2018-10-15T22:28:54
2018-10-15T22:28:54
146,044,385
0
0
Apache-2.0
2018-10-15T22:28:55
2018-08-24T22:11:08
Python
UTF-8
Python
false
false
2,729
py
# coding: utf-8 """ Layered Insight Assessment, Compliance, Witness & Control LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti...
[ "Scott Oberg" ]
Scott Oberg
639a77b123efd4d955c07a5f637e1a9b416ce673
040fbf650a95564c92632189687bc2a924d0a327
/gmn/src/d1_gmn/app/views/headers.py
0c776cd55fcf1fd7dd1c1882b5766aa4a8455d0a
[ "Apache-2.0" ]
permissive
vchendrix/d1_python
97b4e9671ae0642fdfa94054e270d44bcf1b6b6b
0fa85c3a8de158d0225bd7428ddab3cf53a3d3e7
refs/heads/master
2020-03-20T22:25:55.987123
2018-06-15T18:33:06
2018-06-15T18:33:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
# -*- coding: utf-8 -*- # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2016 DataONE # # Licensed under the Apache License, Version 2.0 ...
[ "git@dahlsys.com" ]
git@dahlsys.com
df5d69817ac04c7ca1a7fd5955756c39b6775ff7
63ace5832d453e325681d02f6496a0999b72edcb
/examples/monero.py
a8fe6f2b129f8e624e70388c97b8227a4626792e
[ "MIT" ]
permissive
ebellocchia/bip_utils
c9ec04c687f4247e57434319e36b2abab78f0b32
d15c75ddd74e4838c396a0d036ef6faf11b06a4b
refs/heads/master
2023-09-01T13:38:55.567370
2023-08-16T17:04:14
2023-08-16T17:04:14
251,130,186
244
88
MIT
2023-08-23T13:46:19
2020-03-29T20:42:48
Python
UTF-8
Python
false
false
1,284
py
"""Example of keys derivation for Monero (same addresses of official wallet).""" import binascii from bip_utils import Monero, MoneroMnemonicGenerator, MoneroSeedGenerator, MoneroWordsNum # Generate random mnemonic mnemonic = MoneroMnemonicGenerator().FromWordsNumber(MoneroWordsNum.WORDS_NUM_25) print(f"Mnemonic st...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
23205934f3e45edba56c28705da6439fac77b2a5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/nn7JKRBfq8iDcX8ZB_15.py
f35f0f8e1dfbbfd7b790a500d47aa08cf05efda7
[]
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
452
py
""" Write a function that returns a **lambda expression** , which transforms its input by adding a particular `suffix` at the end. ### Examples add_ly = add_suffix("ly") add_ly("hopeless") ➞ "hopelessly" add_ly("total") ➞ "totally" add_less = add_suffix("less") add_less("fear") ➞...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3d240c0fdda9cbe03630ab8703bc3fb487c7fd6d
2296699c10d8e01da0b1ac079d67e87c8e4f766a
/code/objects.py
5d4a81ccbfc9808f5a8f072b6bfeb0fcd08a3a82
[ "Apache-2.0" ]
permissive
marcverhagen/semcor
8d18060885b7a8a1aca1d7987577cbe0cf2cecc1
d2ff7867880029800c1524444533843510cd78a6
refs/heads/master
2021-08-16T21:34:36.868125
2020-03-02T18:55:52
2020-03-02T18:55:52
162,839,926
1
2
null
null
null
null
UTF-8
Python
false
false
4,998
py
""" """ from __future__ import print_function import os from ansi import BOLD, BLUE, GREEN, GREY, END class SemcorObject(object): def is_paragraph(self): return False def is_sentence(self): return False def is_word_form(self): return False def is_punctuation(self): ...
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
ef5e9a18a00128b006326db88a45a5ba9a3a18b8
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_1_1_neat/16_1_1_Lukasod_problem1.py
26c9273e42e32c0821136127856ef4a61e00d5be
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
251
py
T = int(input().strip()) for i in range(T): S = input().strip() words = [S[0]] for letter in S[1:]: words = [letter + j for j in words] + [j + letter for j in words] print("Case #" + str(i + 1) + ": " + sorted(words)[-1])
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
8bf29bb739823ba7eace53be017b716d5a54f108
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/152/usersdata/274/66550/submittedfiles/swamee.py
5865cf6df59fa8f2d3a45f20a805d5a79ad2d0f9
[]
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
372
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI #ENTRADA f = float(input("Valor de f: ")) L = float(input("Valor de L: ")) Q = float(input("Valor de Q: ")) DeltaH = float(input("Valor de delta H: ")) V = float(input("valor de V: ")) #PROCESSAMENTO D = ((8*f*L*(Q**2))/((3.14159**2)*9.81*DeltaH))**(1/5) Rey =...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6bc1d0251fa9f3b44c2b49da8e8613f888c65b93
c1a3d3b60441125605bc8bc42ede890808344b53
/utils.py
70943c1f2252d425d6ea863d166f7d35b27cf49a
[ "MIT" ]
permissive
learningequality/sushi-chef-readwritethink
a5c4a0944e364aaa9a8d15e7dd29bbe83f928be4
261191fd35b81774cc60a19ae8c27f8fa04fc352
refs/heads/master
2021-05-03T11:56:40.036853
2019-02-22T21:52:49
2019-02-22T21:52:49
120,490,074
0
1
MIT
2019-02-22T21:52:50
2018-02-06T16:42:03
Python
UTF-8
Python
false
false
3,079
py
import json import os from pathlib import Path import ntpath from ricecooker.utils import downloader import requests from ricecooker.utils.caching import CacheForeverHeuristic, FileCache, CacheControlAdapter #from le_utils.constants import licenses, content_kinds, file_formats DATA_DIR = "chefdata" BASE_URL = "http:/...
[ "mara80@gmail.com" ]
mara80@gmail.com
04e50d536e1fc6d75dbe209cfb08969375b7d392
453e245dcb67a75f671d5e6067af13c21acd4f97
/3.3 Pipeline/3-Pipeline_train.py
b72d3e1f52e2289f6b821df35479cad4f159bdcf
[]
no_license
ahmedatef1610/scikit-learn-library-for-machine-learning
c828f7510cd9a7df41e7aece31c08ea00d69bb4f
f12be8c1702c413742328a75f60b9b1f78a3c2d3
refs/heads/main
2023-04-05T01:23:46.970931
2021-04-12T09:16:26
2021-04-12T09:16:26
356,732,567
1
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
#imports import pandas as pd import math from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.linear_model import Ridge from sklearn.linear_model import Lasso from sklearn.metrics import mean_squared_error from sklearn.preprocessing import PolynomialFeat...
[ "ahmedatef1610@gmail.com" ]
ahmedatef1610@gmail.com
b7fb19e89546027400e590c2391e345744d9ed9f
c5157ce2aa61f46c3cc9e028e347587e1fb1669c
/gui/python/resistor/resistor.py
ae31903c80ac9c0f122b5955445e86834fb5c12b
[]
no_license
ramalho/atelier-labs
2617706121fe9d67b646037e24a01380fa2ed53a
57986c9a7cd20046f58885a0b75cb12ce3b57f16
refs/heads/master
2018-12-29T07:02:24.517423
2012-05-21T15:00:06
2012-05-21T15:00:06
4,394,443
2
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
''' Source for color table: http://en.wikipedia.org/wiki/Electronic_color_code ''' COLORS = 'black brown red orange yellow green blue violet gray white'.split() TOLERANCE = { 'brown':1, 'red':2, 'green':0.5, 'blue':0.25, 'violet':0.1, 'gray':0.05, 'gold':5, 'silver':10} #, None:20} def identify(bands)...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
586739cc93832f34ce8cea5c5d8da2b31592e79d
4640123092be222413fa233f09aa167d470de46c
/backend/home/migrations/0002_customtext_homepage.py
067d3cd154523bff76fbb9dfd2c02c758968fed6
[]
no_license
crowdbotics-apps/teste-27867
8ca166788cbd5aa90844d1953f0ad9a24910492c
df35af7b664cb3e2053f7a36c8c49268c681fe8b
refs/heads/master
2023-05-18T21:34:38.469264
2021-06-09T14:06:19
2021-06-09T14:06:19
375,248,524
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# Generated by Django 2.2.20 on 2021-06-09 14:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('home', '0001_load_initial_data'), ] operations = [ migrations.CreateModel( name='CustomText', f...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
af5df5ff93860818117097f576bf7e0bba351909
7da5ac719e4c9ca9cb3735d0ade3106183d96ffe
/Projeto/IoTcity_services/server/server/mainserver/migrations/0011_auto_20170326_1126.py
4495c2e03d5bda1dd2675a88eac680e3756c4a3d
[]
no_license
shanexia1818/IoTCity
a405c0921b417e5bb0a61966f9ca03a1f87147a7
3fe14b6918275684291f969fd6c3f69a7ee14a4c
refs/heads/master
2020-08-07T21:08:38.811470
2018-09-10T11:10:56
2018-09-10T11:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-26 11:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainserver', '0010_auto_20170326_1121'), ] operations = [ migrations.AlterFie...
[ "diogodanielsoaresferreira@ua.pt" ]
diogodanielsoaresferreira@ua.pt
07bb3c5808d3f623a80fedb01254af988f185238
dc67e70a303f265ee6cb4c1a2d61fe811053fb3d
/selection/product.py
de869f2e3445ce58bb4a1a06dc228759fec30dc1
[]
no_license
cry999/AtCoder
d39ce22d49dfce805cb7bab9d1ff0dd21825823a
879d0e43e3fac0aadc4d772dc57374ae72571fe6
refs/heads/master
2020-04-23T13:55:00.018156
2019-12-11T05:23:03
2019-12-11T05:23:03
171,214,066
0
0
null
2019-05-13T15:17:02
2019-02-18T04:24:01
Python
UTF-8
Python
false
false
208
py
def product(a: int, b: int) -> str: p = a * b return 'Even' if (p & 1) == 0 else 'Odd' if __name__ == "__main__": a, b = [int(s) for s in input().split()] ans = product(a, b) print(ans)
[ "when.the.cry999@gmail.com" ]
when.the.cry999@gmail.com
832af04f8bc176b508217819c0cbdbd290cf40b8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_211/ch18_2020_03_15_15_02_54_971317.py
5eba77fe63b13d26a8ca9bcedc6e427e50869e23
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
def verifica_idade(x): if x>=21: return 'Liberado EUA e BRASI' elif x>=18: return 'Liberado BRASIL' else: return 'Não está liberado'
[ "you@example.com" ]
you@example.com
83575457e3e658ca944654ab7e19947978f37d5a
48a1156c4226a22be2cf271149be263adf9e5aef
/deploy/conf/web/gunicorn.conf.py
719128c5cfafd05900bb0b3f2a57be46021c2ac5
[ "MIT" ]
permissive
yacoma/auth-boilerplate
945edb1174ab6009780a50a51ec2389bc12845a3
26c86f3b12edc7074a2fd78322e6005fdb1029cb
refs/heads/master
2021-01-12T01:18:33.584773
2020-05-07T15:00:01
2020-05-07T15:00:01
78,362,662
6
1
null
2017-01-30T20:46:05
2017-01-08T18:36:46
JavaScript
UTF-8
Python
false
false
178
py
import multiprocessing bind = "unix:/tmp/proxy_auth-boilerplate.yacoma.it.sock" workers = multiprocessing.cpu_count() * 2 + 1 forwarded_allow_ips = "127.0.0.1, 188.165.237.135"
[ "henri.hulski@gazeta.pl" ]
henri.hulski@gazeta.pl
83c9631bd86714b665acd2c59700bdd2514e6d14
3920ab5c8deeaee370e6d28793fd7f2a9ca51188
/jarbas/core/migrations/0012_use_date_not_datetime.py
e34719f67393411d12ed109e7ad9ec4829ae7e95
[ "MIT" ]
permissive
MSLacerda/serenata-de-amor
1fe5309ef3ba76f6f9f7d16986730fe96c0f0991
789586d8dea3768502ac7f2d5e333cf0692642ac
refs/heads/master
2020-03-15T17:57:39.301809
2018-10-08T11:50:07
2018-10-08T11:50:07
132,273,013
2
0
MIT
2018-10-08T11:50:08
2018-05-05T18:12:13
Python
UTF-8
Python
false
false
498
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-25 15:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0011_subquota_description_length'), ] operations = [ migrations.Alt...
[ "cuducos@gmail.com" ]
cuducos@gmail.com
bfce843a80276eacca751eb4fbf2dfd3f9d62c1c
b8e92c8c672ce620390dc09d782db73baa09c8b9
/app/remote_code_execution_engine/schemas/evaluation.py
aa896051996ccc61c1a4d6eb3006438ca9997acd
[ "MIT" ]
permissive
GeorgianBadita/remote-code-execution-engine
8bf590d697c4e808b933f3b7010b57e8ee1161de
4ac3ca7567cd89cc1f979622add81efa9edfea8f
refs/heads/main
2023-03-01T02:55:20.285861
2021-02-07T01:10:53
2021-02-07T01:10:53
332,325,012
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from typing import List from pydantic import BaseModel class EvaluationResult(BaseModel): submission_id: str has_error: bool results: List[bool] out_of_resources: bool out_of_time: bool exit_code: int raw_output: str
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
c23dd238375963e81a15419ebcf305bca0ac0e7c
531a1714bc78e215308978b9536437f8e3dab2be
/tests/test_imports.py
3235582dfbc8e29a7ea292cbccbc9c175eb2c758
[ "MIT" ]
permissive
samirelanduk/geometrica
6194d67bb73974028398eca02d9983bac4a1d23c
322cc2fd52dee21b8ac2b10e45d5cf0bf7034e64
refs/heads/master
2021-01-21T05:17:07.131581
2017-05-13T11:33:12
2017-05-13T11:33:12
83,167,131
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
from unittest import TestCase import geometrica class TrigFunctionsImportTests(TestCase): def test_sine_law_imported(self): from geometrica.trig import sine_law self.assertIs(sine_law, geometrica.sine_law) def test_cosine_law_imported(self): from geometrica.trig import cosine_law ...
[ "sam.ireland.uk@gmail.com" ]
sam.ireland.uk@gmail.com
f042cae327b157b337ea7090e4c0f42a846d3a24
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03425/s982174788.py
01f4ca7a93c6a1d56f1486e0fe88f23e34b32345
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
import sys input = sys.stdin.readline def main(): N = int(input()) L = {'M':0, 'A':0, 'R':0, 'C':0, 'H':0} for i in range(N): S = input().rstrip() if S[0] in L: L[S[0]] += 1 CNT = 0 i = 0 S = [0]*5 for k, v in L.items(): S[i] = v i += 1 ans = 0...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c0dc054906d0ea98a80d0b8cf0dc3c4d8801327b
958685165bfeb4122cc3473659a6d0c89c5cae95
/crea8s_rental/__init__.py
0c3addd67685eee41e9ce6025111b000ef3dfdcc
[]
no_license
tringuyen17588/OpenERP-7.0
44efee7735af65d960c5adb4b03a1a329f5c4a57
2486261e4d351d4f444ec31e74c6b0e36ed2fb82
refs/heads/master
2021-01-10T02:45:24.320726
2016-02-19T06:05:21
2016-02-19T06:05:21
52,064,852
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "tri@crea8s.com" ]
tri@crea8s.com
ec4e081afdb3147dd063ec36ddbbe72f3b0b469f
c3432a248c8a7a43425c0fe1691557c0936ab380
/이것이_코딩테스트다_Book/알고리즘_유형별_기출문제/그리디문제/문자열_뒤집기.py
33667852daacb3ae2fbf746b9e3e46275f51762c
[]
no_license
Parkyunhwan/BaekJoon
13cb3af1f45212d7c418ecc4b927f42615b14a74
9a882c568f991c9fed3df45277f091626fcc2c94
refs/heads/master
2022-12-24T21:47:47.052967
2022-12-20T16:16:59
2022-12-20T16:16:59
232,264,447
3
0
null
null
null
null
UTF-8
Python
false
false
194
py
arr = list(input()) arr = [int(i) for i in arr] prev = arr[0] count = [0]*2 for a in arr: if prev != a: count[prev] += 1 prev = a count[prev] += 1 print(min(count[0], count[1]))
[ "pyh8618@gmail.com" ]
pyh8618@gmail.com
e2a476e8cea308b2437c174320358f74693af7b0
91c5a1865717e6757bbfec825d411f96dcf2e2e5
/python/11_test/11.1/test_name_function.py
3ec1f8804cd2f5da58ac67995a1b91dee886c1cb
[]
no_license
ydPro-G/Python_file
6f676d1b66e21548f5fad8a715a1767344c2b0c4
c035e7c344c3c224d55e33efc16ee941bc3d6ff2
refs/heads/master
2023-06-19T06:12:44.550778
2021-07-14T09:15:15
2021-07-14T09:15:15
261,126,468
0
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
# 11 测试函数 print("\n11.1.1") # 11.1.1 单元测试和测试用例 # 标准库中的模块unittest提供了代码测试工具 # 单元测试用于核实函数的某个方面没有问题 # 测试用例是一组单元测试,这些单元测试一起核实函数在各种情况下的行为都符合要求 # 全覆盖测试包含一整套单元测试 print('\n11.1.2') # 可通过测试 # 导入模块unittest以及要测试的函数 # 创建一个继承unittest。TestCase的类,编写方法对函数行为不同方面进行测试 # 检查函数get_formatted_name()在给定名和姓时能否正常工作 # ...
[ "46178109+ydPro-G@users.noreply.github.com" ]
46178109+ydPro-G@users.noreply.github.com
b9588ccb4ffb0e1bce066b2d810835e06acca12a
c505575568bca9d5f171be004c028613dc540244
/project_name/settings/production.py
2b584939118024da657b053e84d36eccda35e62b
[]
no_license
alfredo/django-template-plus
e699769015e4a4b5c533f4be2d3ef40779c9d660
2d58c6dc8d9493b69031df51ec2e29b13e70e57c
refs/heads/master
2021-01-20T10:13:03.422330
2013-07-04T13:43:15
2013-07-04T13:43:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
# Production settings for {{ project_name }} from {{ project_name }}.settings import * SITE_URL = 'http://{{ heroku_app }}.herokuapp.com' # Basic authentication for Heroku BASIC_WWW_AUTHENTICATION_USERNAME = "" BASIC_WWW_AUTHENTICATION_PASSWORD = "" BASIC_WWW_AUTHENTICATION = False
[ "alfredo@madewithbyt.es" ]
alfredo@madewithbyt.es
da236f1d91d055f79cea963d136dafe2b5ff99e3
53e58c213232e02250e64f48b97403ca86cd02f9
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM3000_R_0-7.py
67b6fed624f209f701f450282bbd0022b699f73f
[]
no_license
xdlyu/fullRunII_ntuple_102X
32e79c3bbc704cfaa00c67ab5124d40627fdacaf
d420b83eb9626a8ff1c79af5d34779cb805d57d8
refs/heads/master
2020-12-23T15:39:35.938678
2020-05-01T14:41:38
2020-05-01T14:41:38
237,192,426
0
2
null
null
null
null
UTF-8
Python
false
false
2,303
py
from WMCore.Configuration import Configuration name = 'WWW/sig' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M3000_R0-7_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Su...
[ "XXX@cern.ch" ]
XXX@cern.ch
cfdbd786e226fab3dd20e883df0c067fa999d9ae
1ade02a8e0c6d7e442c9d9041f15518d22da3923
/Homework/w1d2/inclass/information_extraction_exercise.py
60b1b7ca589a5f9e1bee6cf00c9d84843e96cea4
[]
no_license
fodisi/ByteAcademy-Bootcamp
7980b80636a36db6da3e0fc0e529fbc6b8e097e0
d53e3f4864f6cba1b85e806c29b01c48e3c2e81d
refs/heads/master
2020-03-19T12:55:31.489638
2018-07-25T16:19:19
2018-07-25T16:19:19
136,550,128
0
1
null
null
null
null
UTF-8
Python
false
false
615
py
#!/usr/bin/env python3 import json import requests def get_price(ticker_symbol): endpoint = 'http://dev.markitondemand.com/MODApis/Api/v2/Quote/json?symbol='+ticker_symbol response = json.loads(requests.get(endpoint).text)['LastPrice'] return response def get_symbol(company_name): endpoint = 'http...
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
2b12246547b51b74307c0c0e914afc2c5ce1b294
4fde32723e04cbb9c929c54dad55f4333ba48d90
/tests/exceptions/source/diagnose/keyword_argument.py
915a4a8c8fe4dcb406b7587f72ee1d3714dffca8
[ "MIT" ]
permissive
Delgan/loguru
29f1b64a4944886559d76e22029fe1e5c88e7fec
80bcf4e25da9f79617ef23ca0fb29b100caac8f2
refs/heads/master
2023-09-03T20:18:46.892038
2023-09-03T16:19:15
2023-09-03T16:19:15
100,401,612
15,902
775
MIT
2023-09-11T14:19:42
2017-08-15T17:22:32
Python
UTF-8
Python
false
false
246
py
import sys from loguru import logger logger.remove() logger.add(sys.stderr, format="", colorize=True, backtrace=False, diagnose=True) def f(x): return 1 / x y = 0 with logger.catch(): f(x=y) x = 0 with logger.catch(): f(x=x)
[ "delgan.py@gmail.com" ]
delgan.py@gmail.com
955a3eb12f6890a23402b59ec8dfaebaaf36fc45
472c0ba1911619f8e2e1a68b4f956fad05be4e94
/src/matlab2cpp/parser.py
0ffd7711ae1689070e9362f1c37d0478a7bc10d8
[ "BSD-3-Clause" ]
permissive
jonathf/matlab2cpp
f8b9541cf79507ec764b04b8211e73c47a20c131
b6e2cbaedb36c909952911adfe44fe26252a36a1
refs/heads/master
2022-08-08T21:28:23.028072
2022-07-15T19:58:01
2022-07-15T19:58:01
31,599,354
197
68
BSD-3-Clause
2022-07-15T19:58:02
2015-03-03T13:20:32
Python
UTF-8
Python
false
false
4,744
py
"""Create parser for m2cpp.""" import argparse from textwrap import dedent import glob import matlab2cpp HELP_DESCRIPTION = """\ *** Matlab2cpp *** The toolbox frontend of the Matlab2cpp library. Use this to try to do automatic and semi-automatic translation from Matlab source file to C++. The program will create ...
[ "jonathf@gmail.com" ]
jonathf@gmail.com
26f6ff2a255625275d61146503b16f43f11f2c3a
4e0ff785b993b6bae70745434e61f27ca82e88f0
/113-Path-Sum-II/solution.py
8f5f4558cd246ae961dcad453e72f3e13d869c38
[]
no_license
NobodyWHU/Leetcode
2ee557dd77c65c5fa8ca938efb6de3793b4de261
d284fa3daab02531e5300867463b293d44737e32
refs/heads/master
2021-01-23T14:05:28.161062
2016-09-23T11:51:51
2016-09-23T11:51:51
58,898,114
1
0
null
null
null
null
UTF-8
Python
false
false
883
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def pathSum(self, root, sum): """ :type root: TreeNode :type sum: int :rtype: List[List[i...
[ "haohaoranran@126.com" ]
haohaoranran@126.com
2f90756cc1595c4a95effe25d37d4029f6377e25
f335e561d30319cf4759199fc78ea429b0cdb052
/lldb/test/API/commands/expression/import-std-module/list/TestListFromStdModule.py
9382c800ec76e275bbaaab5d146be2028e6a7c06
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
lock3/meta
9f7c721c890f34256bfac17d789e7078d3b9675a
918b8a2affc4a3e280b2cd2400dc535e32129c2c
refs/heads/feature/reflect
2023-06-16T23:15:42.059634
2020-11-05T23:33:12
2020-11-10T21:17:00
278,660,720
122
14
null
2023-04-07T15:19:30
2020-07-10T14:54:22
C++
UTF-8
Python
false
false
2,156
py
""" Test basic std::list functionality. """ from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestBasicList(TestBase): mydir = TestBase.compute_mydir(__file__) @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) ...
[ "teemperor@gmail.com" ]
teemperor@gmail.com
29c1c4beba24f4ef72451a2ee5e945a97aca3955
45a153a8e27b552d82d137bd94f2d5d0aec3c889
/GoogleCLoudwithTwilio/google-cloud-sdk/lib/surface/compute/instance_groups/managed/stop_autoscaling.py
2b8c7bad314ab25f4c5235300b511b241bcd0ea4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Pooshan/App-using-Twilio
84bc0be1f091c678528bdf161c9fbb0af617fc0e
a6eea3f40ef9f22a7ab47c1f63b90deaa2620049
refs/heads/master
2022-11-23T23:56:49.754209
2016-10-01T18:47:25
2016-10-01T18:47:25
69,719,320
0
1
null
2022-11-02T19:48:20
2016-10-01T04:26:37
Python
UTF-8
Python
false
false
6,012
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "pooshan.vyas@gmail.com" ]
pooshan.vyas@gmail.com
9846ac7ed6b055116e262bf86b8ee3ee14bd8f6e
edb88981aa1420af7e074068ed7818b9d904a3dd
/tags/release-0.4.2/minds/docarchive.py
6236e76613b96b887b1e880dfc7f07115f3cece8
[]
no_license
BackupTheBerlios/mindretrieve-svn
101c0f1dfc25d20d5f828b6fd0d43301b773af4e
463745fcf1c1d5b1f6c201c30bcc339c99b437ed
refs/heads/master
2021-01-22T13:57:31.225772
2006-04-28T04:24:43
2006-04-28T04:24:43
40,801,743
0
0
null
null
null
null
UTF-8
Python
false
false
6,822
py
"""Usage: docarchive [option] [id|filename] -r read docid -a add filename [not implemented] """ # todo: describe docarchive file format # Note: id are generally added consecutively in chronical order. # However, users are free to purge documents afterward. Therefore id # does not necessary start fr...
[ "tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990" ]
tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990
b87b4b74514f77319ea93923b9b29886492b9b0f
b38247a5d84d8b52ce8363f8dd81629cfbe17f65
/reagent/gym/types.py
22a1343083ad5d4a45d47ada2cbedc2258ab611f
[ "BSD-3-Clause" ]
permissive
facebookresearch/ReAgent
7f2b82eaaf7a19e58cc50aacc307d7b001231440
c5f1a8371a677b4f8fb0882b600bf331eba5259d
refs/heads/main
2023-09-05T15:56:49.175072
2023-08-29T21:48:40
2023-08-29T21:48:40
98,565,575
1,480
290
BSD-3-Clause
2023-09-12T23:09:30
2017-07-27T17:53:21
Python
UTF-8
Python
false
false
4,660
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # Please DO NOT import gym in here. We might have installation without gym depending on # this module for typing from abc import ABC, abstractmethod from dataclasses import asdict, dataclass, field, fields from typing impor...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1118d813dbd043ad6b96b0b5ec0f378d73157bfc
876672868996f0da96c5db39fe44dc1a13354bd8
/557. Reverse Words in a String III.py
e700691d5be1d4761a2d617fac5ddd22f0e4ea00
[]
no_license
eekstunt/leetcode
f9958cb18d537c149316370ec1acdfaefa20b4df
3bff096b1cb6a8abc887c6de36beb92bd0ee4fc3
refs/heads/master
2022-04-20T17:08:33.413691
2020-04-18T17:58:56
2020-04-18T17:58:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# https://leetcode.com/problems/reverse-words-in-a-string-iii/ class Solution: def reverseWords(self, s: str) -> str: return ' '.join(word[::-1] for word in s.split())
[ "you@example.com" ]
you@example.com
7dd4464fdcffe881ff7e78bbd9d0185e32a1e30d
574af23550bed50fdf9cfa205d7a063131f332a0
/scripts/migrate_to_json_graph.py
6d7d5b9a36c5ec3754c1069a6b7165ecd09eeb5d
[ "MIT", "BSD-3-Clause" ]
permissive
setu4993/cf-scripts
db8015b499090dd0923dcf0192ee85ec29ee037f
315187e2f25de4e3bc157ea1ac0f7f4d9b22a680
refs/heads/master
2020-09-25T13:34:47.659245
2019-12-11T17:04:48
2019-12-11T17:04:48
226,014,246
0
0
NOASSERTION
2019-12-05T04:13:44
2019-12-05T04:13:43
null
UTF-8
Python
false
false
132
py
import networkx as nx from conda_forge_tick.utils import dump_graph gx = nx.read_gpickle('graph.pkl') dump_graph(gx, 'graph.json')
[ "cjwright4242@gmail.com" ]
cjwright4242@gmail.com
824b5ecadedca94aef264f6fdec1628f4f0cb0ae
07570ec33eb49effd9ed6af73214bac1b607038f
/client/swagger_client/models/certificate_list.py
2586693e77e82e23c1bdd2d6d8c8954090aea0de
[ "MIT" ]
permissive
kakwa/certascale
d9998a66ba6a239ba5b5e537f12dabdd5876996c
0df8da0f518506500117152fd0e28ee3286949af
refs/heads/master
2020-03-29T09:24:32.794060
2019-01-30T14:06:10
2019-01-30T14:06:10
149,756,729
0
2
null
null
null
null
UTF-8
Python
false
false
3,618
py
# coding: utf-8 """ certascale API Certascale API documentation # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.certificate import Certificate # noqa: F...
[ "carpentier.pf@gmail.com" ]
carpentier.pf@gmail.com