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
01c36473b6a401d07cf95dce5655f46b3112326f
af5a8f872cd8d689c3646376ce80dc69a0bce7b4
/Chapter03/04-flaskdemo.py
73defb37af61ae8cdc8e2f50acd8a07cee5fb352
[ "MIT" ]
permissive
PacktPublishing/NGINX-Cookbook
de66c1544d8baac5a8794d7f6a2fe30f6e3a7a45
2cd497d6899388e3bd0721d4e64be428acc7d168
refs/heads/master
2023-02-06T06:29:57.001116
2023-01-30T08:30:16
2023-01-30T08:30:16
101,969,140
34
28
null
null
null
null
UTF-8
Python
false
false
218
py
from flask import Flask application = Flask(__name__) @application.route("/") def hello(): return "<h1>Demo via Nginx with uWSGI!</h1>" if __name__ == "__main__": application.run(host='127.0.0.1', port=9001)
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
dcfec3f4c8158b231799bb0aa946b45078fcb324
66b1748a1238eda820345f914f60da434c668cf0
/스파르타/week_2/09_factorial.py
a65721c58ea26d7ab8ca00af120f32d77df7c657
[]
no_license
kwangminini/Algorhitm
5d3140021584239e30468d3dcb353b119b935e76
4d9a3b9284c90d141c1a73e14329152455373c53
refs/heads/master
2023-09-03T07:33:51.228150
2023-08-28T13:39:52
2023-08-28T13:39:52
225,879,016
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
def factorial(n): # 이 부분을 채워보세요! if n == 1: return 1 return n * factorial(n-1) print(factorial(5))
[ "rhkdals7362@gmail.com" ]
rhkdals7362@gmail.com
4081b31cf2708adf515b0cd0051c0277648bb564
61699615fab0e91c7dd72d5eff6cd7326e83703c
/python/zheng_ze.py
53c0db168c6c79b4b7656a9be74ffc164644cb3d
[]
no_license
ftZHOU/Pronostics-sportifs
b85cae26068c9bc5f9a95c821b907382d2e64386
a9384f0ba8e41a4fb0ec049c37c97f30aec45e49
refs/heads/master
2021-08-07T14:44:16.267738
2017-11-08T10:42:51
2017-11-08T10:42:51
109,962,567
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
import urllib2 import re request = urllib2.Request("http://www.soccerstats.com/latest.asp?league=france") try: response = urllib2.urlopen(request) content = response.read() #print content table3 = "<td height='22'>.*?<a href='team\.asp\?league.*?op'>(.*?)</a>.*?<font color='green'>(.*?)</font>.*?<td alig...
[ "ftzhou@outlook.com" ]
ftzhou@outlook.com
139ac0068a4db76318adde21dbdcaaf837d4d4e5
2da72c9f9bbb0b5db33710cddbdee28503e5a606
/udacity/artificialIntelligenceForRobots/search3 2.py
3de6f54a8632bb7795501af3baee00dc13da130d
[]
no_license
gddickinson/python_code
2e71fb22b929cb26c2a1456b11dc515af048c441
dbb20e171fb556e122350fb40e12cc76adbb9a66
refs/heads/master
2022-10-26T15:20:40.709820
2022-10-11T16:06:27
2022-10-11T16:06:27
44,060,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,732
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 13 07:19:53 2016 @author: George """ # ----------- # User Instructions: # # Modify the the search function so that it becomes # an A* search algorithm as defined in the previous # lectures. # # Your function should return the expanded grid # which shows, for each element...
[ "george.dickinson@gmail.com" ]
george.dickinson@gmail.com
71980b6881124f741b4171304de8cf80c36a24c4
ca8f2b28353e449c10cf520ee1d7d946163c211e
/grammar.py
1fc7139d3b904220028cf69091fef1a34921e07f
[ "MIT" ]
permissive
zwytop/nlp-2017
e42452d53279fbe4d1af279b3ad5b165a01b1ccb
ecdefc6dc179ef73c981b793673056804f37db51
refs/heads/master
2021-01-23T05:18:33.126936
2017-02-09T10:57:21
2017-02-09T10:57:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
import nltk from nltk.draw.tree import TreeView groucho_grammar = nltk.CFG.fromstring(""" S -> NP VP PP -> P NP NP -> Det Nom Nom -> N | Adj Nom VP -> V NP | VP PP Det -> 'the' Adj -> 'little' | 'fine' | 'fat' N -> 'brook' | 'trout' | 'bear' V -> 'saw' P -> 'in' """) sent = 'the little bear saw the fine fat trout in...
[ "scottyugochang@hotmail.com" ]
scottyugochang@hotmail.com
2fbbba64e4146809c447436783d5bf7bf23032fb
4d83e8ec852194a811cb18cfb3f4b13bd298216e
/egs/word/run_trf_neural_sa.py
36b556740118a3faa7047edeb89ad4a445848c96
[]
no_license
peternara/TRF-NN-Tensorflow
9961dd41195476dd143d45607c8558cae558337e
0b235bebdbfe285873c3bef8e62fe475e13ea70a
refs/heads/master
2021-08-31T16:31:46.097523
2017-12-22T03:01:20
2017-12-22T03:01:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,639
py
import tensorflow as tf import os import sys import numpy as np from base import * from lm import * from trf.sa import * import task class Opt(trf.DefaultOps): def __init__(self, trf_model): super().__init__(trf_model, *task.get_nbest()) self.per_epoch = 0.1 self.next_epoch...
[ "wb.th08@gmail.com" ]
wb.th08@gmail.com
f7858f96013a26b0503c5d0ffa20fc0b9b82059b
e07732e5f37e4ea947692cd5aef54370e6706c1b
/third_party/skia/infra/bots/recipes/ct_skps.py
83fe7f26404542ea68bb7e37047302c42bbd2923
[ "BSD-3-Clause", "MIT" ]
permissive
davehorner/Prelude
5270a7da950fd0cb9d681b2debc4143321160c49
bd005acdcffcb54564597246a6ee613b21fa592f
refs/heads/master
2022-01-06T20:42:51.030436
2019-03-10T22:57:37
2019-03-10T22:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,137
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import math DEPS = [ 'checkout', 'ct', 'recipe_engine/context', 'recipe_engine/file', 'recipe_engine/json', 'recipe_engine/path', 'recipe_en...
[ "xzwang2005@gmail.com" ]
xzwang2005@gmail.com
43ed3032a9d6d8aa4d915e1207566ac1933f96b9
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/Codeforces/ECR67/probD.py
ebbfe5197c9987bb04c7865a228eb39eb2b6054b
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
# instead of AVLTree class BITbisect(): def __init__(self, max): self.max = max self.data = [0]*(self.max+1) # 0からiまでの区間和 # 立っているビットを下から処理 def query_sum(self, i): s = 0 while i > 0: s += self.data[i] i -= i & -i return s # i番目の要素に...
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
75f8d91434a9301e13f3e2bbbdec53876240c65a
5626d2c289e6cc3752f43a0f98c45dd914b9acc8
/shaura/testing.py
2b02deb282fc698b96617f58fc10e74d1dbb74f6
[]
no_license
datakurre/shaura
b9e100b99d19789f69900dbb192bc6a57a7bbd43
b26aef07c880134e780f4e5fbd851c37414273b2
refs/heads/master
2020-04-11T03:33:53.301674
2011-09-14T07:35:32
2011-09-14T07:35:32
2,376,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
# -*- coding: utf-8 -*- """zope.testrunner layers""" from pyramid import testing class PyramidLayer(object): @classmethod def setUp(cls): cls.config = testing.setUp() import pyramid_zcml cls.config.include(pyramid_zcml) cls.config.load_zcml("shaura:configure.zcml") @cla...
[ "asko.soukka@iki.fi" ]
asko.soukka@iki.fi
f3b7d8ddea426fbb7199f1006c6b2961567bed88
294767ff9d1190726a82931e0ac16db83eebc3f6
/chaospy/quad/interface.py
b2191e296f5f3b8125bd53237b24f9c44b8b0ebf
[ "MIT" ]
permissive
FKShi/chaospy
30ee2d4eac07f1ff713480aba6304726bcacae7d
25ecfa7bf5608dc10c0b31d142ded0e3755f5d74
refs/heads/master
2020-05-22T00:52:20.353874
2019-04-21T11:24:54
2019-04-21T11:24:54
186,181,921
1
0
null
2019-05-11T21:14:04
2019-05-11T21:14:04
null
UTF-8
Python
false
false
2,787
py
"""Frontend for the generation of quadrature rules.""" import inspect import numpy as np from scipy.misc import comb from . import collection, sparse_grid def generate_quadrature( order, domain, accuracy=100, sparse=False, rule="C", composite=1, growth=None, part=None, normalize=False, **kws ): ...
[ "jonathf@gmail.com" ]
jonathf@gmail.com
e47fcc515260d699c5c1d37e0c345d4381a585b3
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/python_cookbook/11/simple_authentication_of_clients/server.py
b9b26c99523a936203b19bd4f1f7b7feff3a071e
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
from socket import socket, AF_INET, SOCK_STREAM from auth import server_authenticate secret_key = b'peekaboo' def echo_handler(client_sock): if not server_authenticate(client_sock, secret_key): client_sock.close() return while True: msg = client_sock.recv(8192) if not msg: ...
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
4f620f7dd7a21de6a7e18e9191a7dfa62aa79cf0
dc905bec7c109d82f26bdeca5cd1d503ecfa77c6
/utils/getSize.py
2d439cb5b44c6377e3dfc9306ae2e2e73331b160
[ "MIT" ]
permissive
chjz1024/USTC-CS-Courses-Resource
d739c7b7b07dbc0b15d456b952dd3572df872cde
605d0e704102328aa447a9365446cae45f382d14
refs/heads/master
2023-03-17T03:28:31.293403
2019-01-09T03:14:30
2019-01-09T03:14:30
163,499,702
0
0
MIT
2018-12-29T09:53:27
2018-12-29T09:53:27
null
UTF-8
Python
false
false
826
py
# coding: utf-8 import os import sys def formatSize(size): s = 'BKMGTP' ct = 0 while size>=(1<<ct): ct+=10 if ct>=10: ct-=10 return '{sz:.2f}{a}'.format(sz=size/(1<<ct),a=s[ct//10]) def getSize(path='.'): if os.path.isdir(path): gen = os.walk(path) li = ...
[ "zhuheqin1@gmail.com" ]
zhuheqin1@gmail.com
f8ff84248a0fd4517e75554fa1ca11928afacd36
71cc62fe3fec8441794a725b7ce3037dc2723107
/ifreewallpapers/apps/profile/templatetags/avatars.py
8ed24bb18b20fe8d253a62fe106b8a5cb16962dd
[]
no_license
tooxie/django-ifreewallpapers
bda676dc5a6c45329ad6763862fe696b3e0c354b
75d8f41a4c6aec5c1091203823c824c4223674a6
refs/heads/master
2020-05-21T12:50:36.907948
2011-01-19T04:28:33
2011-01-19T04:28:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,993
py
# coding=UTF-8 from profile import settings as _settings from profile.models import Profile, Avatar # import Image # from PythonMagick import Image from utils.TuxieMagick import Image from django.conf import settings from django.contrib.auth.models import User from django.utils.translation import ugettext as _ from dj...
[ "alvaro@mourino.net" ]
alvaro@mourino.net
1c517421f77ee2869587d51a140c71515ee4dfe5
8bbfb5b937772066ea965058eb29e9f6362847c2
/infobase/tags/Q6_6_0Beta4/build.py
3fd22082bdf504d3080509d6f6bc37d4da7852f7
[]
no_license
QuakeEngines/QuArK_quake_editor-clone
e1aeeb38e7ec8287835d643c3a0bfe5612f0b7f3
412bf28a14d4e369479bf38408bd93e6a2612f87
refs/heads/master
2021-02-15T16:11:17.332239
2020-03-04T14:28:50
2020-03-04T14:28:50
244,911,440
2
0
null
null
null
null
UTF-8
Python
false
false
28,928
py
#! /usr/bin/env python # # $Header$ # import string, htmlentitydefs, time, os, sys EXTENSION = ".txt" OutputPath = "output" # # Text-to-HTML character conversion # TEXT_TO_HTML = { } for c in range(256): TEXT_TO_HTML[chr(c)] = chr(c) for entity, character in htmlentitydefs.entitydefs.items()...
[ "nobody@5419a3ea-6bc3-475c-b79b-167d7c3fbd5f" ]
nobody@5419a3ea-6bc3-475c-b79b-167d7c3fbd5f
1d03f8ab19d1108f3100cb736df9f97204ba0258
a90e5b2f4cf3a3919bd082296834c9f0efa99b71
/code/python/invertTree.py
dd798d65bced2df2badc5643ff9ec2179c1500cd
[]
no_license
yjshiki/leetcode
c6330e53fa3db463909787ca882a702e4952a2a1
628e732c15afe1da7f3aa690bbbc27866fcb1188
refs/heads/master
2020-06-05T00:38:54.136840
2020-05-14T04:29:25
2020-05-14T04:29:25
192,253,725
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
class Solution(object): def invertTree(self, root): """ :type root: TreeNode :rtype: TreeNode """ res = root stack = [] while root or stack: if root: stack.append(root) root = root.left else: ...
[ "noreply@github.com" ]
yjshiki.noreply@github.com
ccb373ceffa902e5f1e9bd4adf964c88e6abf2b0
db5f520bf54122c11640a964bb50a47a6aeef8d6
/readthedocs/projects/search_indexes.py
8ec2d7a8b109aa106b5e28111a3eaf86fc2645aa
[ "MIT" ]
permissive
jasongrlicky/readthedocs.org
4f0f74e2ffc3647f68349aa68dbac5b80633c742
538e9312527c085e665c101d66d37ba44b64e88e
refs/heads/master
2020-12-25T10:08:35.805404
2011-06-24T18:52:10
2011-06-24T18:52:10
1,416,718
2
0
null
null
null
null
UTF-8
Python
false
false
1,767
py
# -*- coding: utf-8-*- import os import codecs import BeautifulSoup from django.utils.html import strip_tags from haystack.indexes import * from haystack import site from projects.models import File, ImportedFile, Project class ProjectIndex(SearchIndex): text = CharField(document=True, use_template=True) aut...
[ "eric@ericholscher.com" ]
eric@ericholscher.com
c6bed9b93e57f2c5b784b15df3dd9cb422697a7a
ba7640cffff3085f045d69f37735de0f759e66c3
/__init__.py
487deef5265afc2b0d3dd4e984777a3440475805
[ "Apache-2.0" ]
permissive
luoqingfu/reudom
f5e88292a7e8cdbb372340795bc5ec5c85a26931
3c52ff4aa2cd772260bbf3575f2844d76bc2f16a
refs/heads/master
2020-12-07T13:23:29.972584
2019-12-24T14:57:05
2019-12-24T14:57:05
232,730,930
1
0
Apache-2.0
2020-01-09T05:38:10
2020-01-09T05:38:09
null
UTF-8
Python
false
false
1,333
py
#!/usr/bin/python # # Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "Li...
[ "2652612315@qq.com" ]
2652612315@qq.com
c93f3061445440c61fac3d56c93db2d8ca6ae38f
171a504d38951da46ac8b6f594477f6798f18d00
/applications/StructuralMechanicsApplication/python_scripts/trilinos_structural_mechanics_implicit_dynamic_solver.py
f173ddd9c60ca0d19eb7cdd8975b30abd6b870c0
[]
no_license
adrigzr/Kratos
e3d385c10e6a9661f95dfbf998dca3844b7d14c1
9a281b74acb00f5590e0fec1bd3caa34255e5d9b
refs/heads/master
2021-07-24T01:18:50.128534
2017-10-20T08:29:02
2017-10-20T08:29:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
from __future__ import print_function, absolute_import, division # makes KratosMultiphysics backward compatible with python 2.6 and 2.7 #import kratos core and applications import KratosMultiphysics import KratosMultiphysics.StructuralMechanicsApplication as StructuralMechanicsApplication import KratosMultiphysics.mpi...
[ "cpuigbo@cimne.upc.edu" ]
cpuigbo@cimne.upc.edu
888d90fbd5a780402d5392e40b30f69a2708ef1a
396841279a035033487b6c9fd5db6fc699b288af
/backend/chat/models.py
07c413103e65923af2fa18a0731c2326de9ffa76
[]
no_license
Shamsulhaq/realtime-chat
b9d9b753252f70e6d682a6f86630474408bebb40
5462bcb1f42787d3c8e4a62037c7ef401bcce077
refs/heads/master
2023-07-06T22:48:14.355157
2021-08-05T11:37:34
2021-08-05T11:37:34
393,011,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
# at chatapp/backend/chat/models.py from django.contrib.auth import get_user_model from django.db import models from django.urls import reverse User = get_user_model() class Conversation(models.Model): user_one = models.ForeignKey( User, related_name='participent', on_delete=models.CASCA...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
b4730082313d847d8b38fedb02dcf83f354fb541
da8471ad2f90a3efa31acb0c986020357cdb5e4c
/confidant/scripts/archive.py
1f93f9e044726de0bdc2c6fdcfd05a0b21cbfc89
[ "Apache-2.0" ]
permissive
lyft/confidant
af18cc7085303ee5bab873c78567e14ae48630ab
8033824e0b3c156ee5588e5b31f8dff8e421a01e
refs/heads/master
2023-09-01T20:46:07.051295
2023-08-21T17:01:49
2023-08-21T17:01:49
42,324,225
1,918
146
Apache-2.0
2023-09-06T21:20:59
2015-09-11T18:02:12
Python
UTF-8
Python
false
false
2,789
py
import sys import logging from datetime import datetime from flask_script import Command, Option from confidant import settings from confidant.models.credential import Credential from confidant.services import credentialmanager logger = logging.getLogger(__name__) logger.addHandler(logging.StreamHandler(sys.stdout)...
[ "noreply@github.com" ]
lyft.noreply@github.com
2b60ca9956c9c1ab4e069b128087a7712afe9fa7
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2652486_0/Python/Nooodles/C.py
d3ac03b56445bbc8e423e2fc1572aa92e94b5711
[]
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,844
py
def Solve( P ): Is3 = False; Is5 = False; K = len(P); New = []; ANS = []; for e in P: New.append(e); if e%3 == 0: Is3 = True; if e%5 == 0: Is5 = True; print New; New.sort(); while New[0] == 1: New.pop(0...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
9c56448ce8d78dda08d50c5e06464a14cce689bd
22ebcc842dbc933bfa8fdad89b8b8ef48ecc91c7
/plots/spread/plot_spread_factors2.py
5d429b0c892e8313c0fa1fbb03e2abb8a10e8d4b
[]
no_license
klikooo/thesis-src
192651c18f243c59cfa588e7052dc1a96ab0a146
64f2ee824afdc2d3fd0f98c6d9fcfda597b9ad9f
refs/heads/master
2020-04-16T18:16:20.638147
2019-08-20T14:59:52
2019-08-20T14:59:52
161,623,404
0
0
null
null
null
null
UTF-8
Python
false
false
6,132
py
from decimal import Decimal import copy import plots.spread.plot as plot import matplotlib.pyplot as plt import util setting = {"experiment": '3', "data_set": util.DataSet.ASCAD, "subkey_index": 2, "unmask": True, "desync": 0, "use_hw": True, "spread_...
[ "rico12978@hotmail.com" ]
rico12978@hotmail.com
2835fc3c17d97c08452787df63f76db069a5df95
e8a87fa14006f1479161293a898e2f73eefc91f7
/Week4/Tarefa 02/Exercicio_01_number_primo.py
459db3bf35bb6448bddfe6e7a3737684cd7193bd
[ "MIT" ]
permissive
WesGtoX/Intro-Computer-Science-with-Python-Part01
7880cc4483662104ecaa3c199826cb129ae00dca
50561e4c104ced2f5e468e382f45e4ca5cb2279e
refs/heads/master
2020-03-21T06:29:10.584323
2018-06-21T21:28:43
2018-06-21T21:28:43
138,223,598
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
n = int(input("Digite um número inteiro: ")) primo = True divisor = 2 while divisor < n and primo: if n % divisor == 0: primo = False divisor += 1 if primo and n != 1: print("primo") else: print("não primo")
[ "wesley_gto_x@yahoo.com.br" ]
wesley_gto_x@yahoo.com.br
494992c771c97a259199b4e2c2478e269a3d2032
fb671897604a99a4c85e912717dd27d9b93a3543
/src/engine/sounds.py
bc5e18335fbbfdd58245daae02d53e2e2782c9c1
[]
no_license
davidpendergast/grovetender
650215063ef57a49e2a185ce695f463032736ee9
384f546af7f76d3826545875c252edaefdd632e3
refs/heads/master
2022-07-11T04:26:02.878880
2022-06-26T05:51:10
2022-06-26T05:51:10
256,640,586
4
1
null
2022-06-26T05:51:11
2020-04-18T00:48:26
Python
UTF-8
Python
false
false
1,782
py
import pygame from src.utils.util import Utils import traceback _MASTER_VOLUME = 1.0 _LOADED_EFFECTS = {} # effect_id -> Effect object _RECENTLY_PLAYED = {} # effect_id -> ticks since last play RECENCY_LIMIT = 4 # if an effect was already played X ticks ago, don't play it again def set_volume(volume): glo...
[ "dlp75@case.edu" ]
dlp75@case.edu
6e8a22680c7a5fb533a518c9e01bd3dbc4e797b5
6e7f45c7a7f5b7a2333c6bfe8a4ae8723537dc62
/pronostico/settings.py
8c476df723d65a4a066e52776e642edcee201abd
[]
no_license
devnandito/pronosticos
8bcacfd7cf3032fb5b831c331ef0719f0c050205
0796562243dc51aa2e5b1e8e51d10497d15aa8e3
refs/heads/master
2021-05-28T04:49:53.532946
2014-08-24T14:36:19
2014-08-24T14:36:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,693
py
# Django settings for pronostico project. import os RUTA_PROYECTO = os.path.dirname(os.path.realpath(__file__)) DEFAULT_CHARSET = 'utf-8' DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.back...
[ "fhersa@gmail.com" ]
fhersa@gmail.com
870e815caf5014255375f8956850095165e7b89b
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/distributed_passes/test_build_cinn_pass_resnet.py
6f608a5299670435d9be93a605837060354b0858
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
1,384
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
dd5091a2cf2790d210743f7a8548f6daf53c1721
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2021/02february/05dialect.py
df530b033aff277696ce9660a95e906229059d3a
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
868
py
#!/usr/bin/python ''' # @ Author: june-fu # @ Create Time: 2021-03-13 22:45:08 # @ Modified by: june-fu # @ Modified time: 2021-03-13 22:45:10 # @ Description: ''' import pandas as pd from io import StringIO data = 'label1,label2,label3\nindex1,"a,c,e\nindex2,b,d,f' print(data) # By default, read_csv uses the ...
[ "fujun1990@gmail.com" ]
fujun1990@gmail.com
d1cb7036a1cf941780faab1c0b64128cb8f1ec78
1070490055b5c981d936038959731134b01ce272
/apps/users/migrations/0005_auto_20170327_1444.py
ee50300c072d68d14bdc022c9266044d9a86412f
[]
no_license
ljingen/MxOnline
401d5be37e11cb866dc8eb78acc9b6de053c5708
1b471dd6b4968f79dd6866bb5e3e6413b760c8a1
refs/heads/master
2021-10-11T08:57:05.304124
2018-02-11T06:59:32
2018-02-11T06:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-27 14:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_banner_emailverifyrecord'), ] operations = [ migrations.Alter...
[ "luojingen@aliyun.com" ]
luojingen@aliyun.com
eeaf814b80f20507a25c829f946883439e8b6ed9
51b4eee3ee70878650cacb24104f4546ae65dd9f
/tests/modules/plugins/another.py
2ff84dacf3da5307d00c3690a99e4cd4563a175f
[]
no_license
gabrielferreira/coveragepy
4d81e283bddd2a05c62e7ebbac09ea15d7e22daa
790fbd51a31d86be6219247c786feee49b10a565
refs/heads/master
2020-05-29T09:33:11.516105
2015-06-22T11:15:10
2015-06-22T11:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
"""A plugin for tests to reference.""" from coverage import CoveragePlugin class Plugin(CoveragePlugin): pass
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
8039502bd646c312cc145afd795a2888c0b371f6
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-baas/aliyunsdkbaas/request/v20180731/DescribeOrdererLogsRequest.py
be856c0d614b151f838c0ed18c1a50a5aca82921
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
a212b30d912750ff9fce5a42e4e78bf0e89cea39
dc18846eb4e956e3067b187c17eec203ad02b732
/Web Scrapping/html/lucky.py
5fbfee4cc9ed6bc9221a0ad5ef2a614573aef13e
[]
no_license
rafal-mizera/automate_the_boring_stuff
53e46e2f5668b3f64f67297c997f2a44695d765b
966e9d04546f33f7fcd12c569e19c4d736a4eb44
refs/heads/master
2023-07-17T08:41:03.235120
2021-09-01T16:28:57
2021-09-01T16:28:57
402,127,057
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
#! python3 # lucky.py - Opens several Google search results. import requests import webbrowser import bs4 import sys print('Googling...') # display text while downloading the google page # searched = sys.argv[1:] searched = "polska" res = requests.get(f"http://www.google.com/search?q={searched}") # res.raise_for_stat...
[ "rafalmizera11@gmail.com" ]
rafalmizera11@gmail.com
a3f5e078854a80495877e17b416a7359c6c94591
d305e9667f18127e4a1d4d65e5370cf60df30102
/tests/ut/python/dataset/test_callbacks.py
4ccbe659ee3020e9e667a00ce96b9115ea4a12ef
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
16,116
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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 agreed to...
[ "513344092@qq.com" ]
513344092@qq.com
6ff608ee85a894cbca04ef671a0f5e95b6ee2d32
9a6b66106e369d462bbd6fa60b60ad173562704a
/app/views/__init__.py
54c19cadc19bbcc52a9189db06efc3f41c9cf54f
[ "MIT" ]
permissive
msmmi/pulp
5cc0161ac6e7486e56f42e4a07786a604b61f5c3
506fe310b6835ae52a3a024c49fe8d5ee8c755d2
refs/heads/master
2020-03-29T22:46:32.097884
2018-09-24T05:06:10
2018-09-24T05:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
from . import load_views
[ "pwgraham91@gmail.com" ]
pwgraham91@gmail.com
8688a6e2cbff4ef628c50804024f8b9dea0c3e0e
f38e02b7f5cd7b67e672045f3b45823ecd7d158c
/sum.py
bcf7ae04bd78997c272e70336ab016b0278704a8
[]
no_license
liberbell/basepy1
f8a70cff4295cd758ff86556f6e05b7e34899d36
67052719ec5ecb8de1fb0a07b59d1f565b4b83bf
refs/heads/master
2020-03-28T09:00:07.469151
2018-09-19T08:18:36
2018-09-19T08:18:36
148,006,137
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
a, b = 0, 1 while b < 10: print(a, b) a, b = b, a + b print(a, b)
[ "liberbell@gmail.com" ]
liberbell@gmail.com
dc0f826e0cf4a9785e43d13f6a9f9043383d8525
6d1b3f61524e06d22074d170f41dec20b5c466c1
/research/qtopt/t2r_models.py
0aff74c4151f27790ab3584add36101cbe17853c
[ "Apache-2.0" ]
permissive
omprakash58/tensor2robot
a7b8cb022886f5f4fff1ced83e7a601cff8c5de6
96c885688a5738ebb6772a20efc08fb70f98a55a
refs/heads/master
2022-12-24T05:41:28.617489
2020-09-29T17:56:59
2020-09-29T17:57:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,562
py
# coding=utf-8 # Copyright 2020 The Tensor2Robot Authors. # # 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 ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
224346578cbb7fb74119a3175e7fac840954cc3e
bf60236048450e951b994d66666edd4f73be5101
/application/frontend/views.py
80bfb6ac9c738a29fa388e03e36b2a262d0f01d2
[ "MIT" ]
permissive
DBeath/testing-flask-tutorial
0fe756beffc44ef49e55493e337022a263350f20
1eecb2c49c19d0ced001f164c11f3d0dfe5b9d7a
refs/heads/master
2021-01-12T02:50:22.130064
2017-04-26T15:09:28
2017-04-26T15:09:28
78,115,654
2
1
null
null
null
null
UTF-8
Python
false
false
1,620
py
from flask import request, make_response, abort, Response, jsonify from application.frontend import frontend_blueprint as bp from application.frontend.models import User, user_schema from application.database import db @bp.route('/') def index(): return 'Hello World!' def add(a, b): return int(a) + int(b) ...
[ "davidgbeath@gmail.com" ]
davidgbeath@gmail.com
a03a4f8c39aa405e97e2e3b48f55af9f1dcf2cb6
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/ether/EtherSwitchIntFIo.py
87672b94c32dcffbd4ebf9a682a5a834eb655104
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
18,333
py
"""This module contains the general information for EtherSwitchIntFIo ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class EtherSwitchIntFIoConsts(): ACK_ACK_IN_PROGRESS = "ack-in-progress" A...
[ "test@cisco.com" ]
test@cisco.com
ff118d7c1264b48508950a512dfbf4c0577d567f
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/operators/python.py
920a75d08f7661a8ee7f409581b29eb96a52f62e
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
23,492
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...
[ "noreply@github.com" ]
ishiis.noreply@github.com
fa8fd1e5e8b9ef6df7d8391d8581f2b663c17a64
21e6fd368aee8acb80747141291a00f83fb67d1e
/python/WoT/SourcesRes/9.10/client/messenger/proto/xmpp/xmppserversettings.py
db4502d71aa9092ff1e3783f2c8d59a2f969d7d8
[]
no_license
Infernux/Projects
e7d1eab9b25471c543aa82985ec0bfcca2cfe05e
da7a9f71231b76dafbc4c7348065f1fc2dead854
refs/heads/master
2023-08-24T09:17:23.834855
2023-08-05T14:18:46
2023-08-05T14:18:46
23,395,952
1
0
null
null
null
null
UTF-8
Python
false
false
5,157
py
# 2015.01.14 22:41:28 CET import types from debug_utils import LOG_ERROR from messenger.proto.interfaces import IProtoSettings from messenger.proto.xmpp.gloox_wrapper import CONNECTION_IMPL_TYPE from messenger.proto.xmpp.jid import JID import random _NUMBER_OF_ITEMS_IN_SAMPLE = 2 def _makeSample(*args): queue = []...
[ "mrnux@nux.com" ]
mrnux@nux.com
26ac13b6fb750d4aaa746aaca2f2568788d5d99b
e61749d3dd1999e938d494b8181753c3552f21de
/HW6/P3b.py
f2de3ec5ac9398e591ba37ef5a6bfbe953ee7c01
[]
no_license
arsalan2400/HWSolutions
6b3f95b924769dd795a1c638d3e0b9d0c055c7ab
790625048f1addf3828a9f415e3237fd76d91a90
refs/heads/master
2020-03-12T18:18:23.685324
2018-04-22T01:23:48
2018-04-22T01:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
import HW6.Classes as Cls import scr.FigureSupport as figureLibrary # create a multiple game sets multipleGameSets=Cls.MultipleGameSets(ids=range(1000), prob_head=0.5, n_games_in_a_set=10) # simulate all game sets multipleGameSets.simulation() # print projected mean reward print('Projected mean reward', multipl...
[ "reza.yaesoubi@yale.edu" ]
reza.yaesoubi@yale.edu
2b01fa0abe56f95d48e2e37f94a8e11566d7f6f9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/17/usersdata/89/6051/submittedfiles/lecker.py
b34824dbc0c001becd11a56724debfad535a0e1b
[]
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
77
py
# -*- coding: utf-8 -*- from __future__ import division import math #entrada
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4c0d32ed51f42bfd3f2e7e885983d382928996d7
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartB/py是否为其他单词的前缀信息.py
9d72ce3ca43c4346a0d144a49300729dbb43f94a
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
''' 给你一个字符串 sentence 作为句子并指定检索词为 searchWord ,其中句子由若干用 单个空格 分隔的单词组成。 请你检查检索词 searchWord 是否为句子 sentence 中任意单词的前缀。 如果 searchWord 是某一个单词的前缀,则返回句子 sentence 中该单词所对应的下标(下标从 1 开始)。 如果 searchWord 是多个单词的前缀,则返回匹配的第一个单词的下标(最小下标)。 如果 searchWord 不是任何单词的前缀,则返回 -1 。 字符串 S 的 「前缀」是 S 的任何前导连续子字符串。 示例 1: 输入:sentence = "i love eating...
[ "2901429479@qq.com" ]
2901429479@qq.com
1a18436938b2026c2e96cf6e849448ee6b385a49
0d701bb4c545c7753266b76e965a40bda93ea4b7
/weppy_bs3/ext.py
e21b0329aaf4ee9da18c9151e71bcea0e8d2c5da
[ "BSD-3-Clause" ]
permissive
johnmahugu/weppy-bs3
a58732974ab87915580a5a644de5cd8d8006edfa
11270ae5bbbd2484db63766248f24d24328b985d
refs/heads/master
2020-04-08T16:03:02.694954
2017-10-23T16:57:58
2017-10-23T16:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,745
py
# -*- coding: utf-8 -*- """ weppy_bs3.ext ------------- Provides the bootstrap3 extension for weppy :copyright: (c) 2015 by Giovanni Barillari :license: BSD, see LICENSE for more details. """ import os import shutil from weppy.extensions import Extension, TemplateExtension, TemplateLexer from wep...
[ "giovanni.barillari@gmail.com" ]
giovanni.barillari@gmail.com
357507b900e424e19a92a66e71c1080beba97bfa
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/fdtd-2d/tmp_files/6239.py
fa47a2670566765c6d603faaaae743187fd6ebde
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/fdtd-2d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/fdtd-2d/tmp_files/6239.c') procedure('kernel_fdtd_2d') loop(0) known(' nx > 1 ') known(' ny > 1 ') ti...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
522aad1fd4649f79eca749cf445bf4427de2ad6b
160a83456fd1d9c79b4995405ca8954c81f5ae47
/my_first_app_22679/settings.py
0ed661f02f55e690e3661bd29d401e7183d8f76d
[]
no_license
crowdbotics-apps/my-first-app-22679
1aeaadde640feb814ecc0ec29812da7d2e5fff21
35ec5e6b1ea1f71fa546cfdf1061c8a9a54cd97e
refs/heads/master
2023-02-04T08:36:29.985627
2020-11-30T18:18:18
2020-11-30T18:18:18
313,410,622
0
0
null
null
null
null
UTF-8
Python
false
false
6,779
py
""" Django settings for my_first_app_22679 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9ca6187c5ae5548d7761cabf96c1ea07cc15a17e
c3432a248c8a7a43425c0fe1691557c0936ab380
/CodePlus_Practice_RE/2021.03.FourthWeek/0326/14395_4연산.py
08550d6f6d30ea04c95e486d19ef4fba1ed9b403
[]
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
1,096
py
from collections import deque from collections import defaultdict s, t = map(int, input().split()) if s == t: print(0) exit(0) q = deque() q.append((s, [])) dic = defaultdict(int) dic[s] += 1 while q: curr, oper = q.popleft() if curr == t: print(''.join(oper)) exit(0) if curr <=...
[ "pyh8618@gmail.com" ]
pyh8618@gmail.com
5df625db90c027af35bc72069fa3e459870d71d7
2ffdd45472fc20497123bffc3c9b94d9fe8c9bc8
/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py
e4d1f678d0a670183e0f08c27d748656a9bc2483
[]
no_license
mbea-int/expense-tracker-app
fca02a45623e24ed20d201f69c9a892161141e0c
47db2c98ed93efcac5330ced2b98d2ca365e6017
refs/heads/master
2023-05-10T14:29:04.935218
2021-06-04T15:10:00
2021-06-04T15:10:00
373,816,157
0
0
null
null
null
null
UTF-8
Python
false
false
17,056
py
import collections import logging from pip._vendor import six from pip._vendor.packaging.utils import canonicalize_name from pip._internal.exceptions import ( DistributionNotFound, InstallationError, UnsupportedPythonVersion, UnsupportedWheel, ) from pip._internal.models.wheel import Wheel from pip._i...
[ "besa8383@gmail.com" ]
besa8383@gmail.com
955105e9389475e6367dc2e9b50e0e8ddacaa43e
45da24ad0793ced3ce4a332486877ebdd9776388
/app/main/docs/schemas/survey_result_schema.py
357b35a9532be93bc86d6d0ed3360f8eb8b6bc82
[]
no_license
luccasPh/clean-python-api
2fce7003646613ad543b9e8e4afd77bd4b49a25e
bc10bdc485bbec1c02c73783109c178d887514f1
refs/heads/master
2023-03-24T11:30:40.380210
2021-03-19T19:11:24
2021-03-19T19:11:24
343,474,537
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
save_survey_result_schema = dict( type="object", properties=dict(answer=dict(type="string")), required=["answer"] ) load_survey_result_schema = dict( type="object", properties=dict( survey_id=dict(type="string"), question=dict(type="string"), answers=dict( type="array", ...
[ "lucas4pinheiro@gmail.com" ]
lucas4pinheiro@gmail.com
3f864156c74165482ab3c52853b2afd55e46a6de
361cb7a3d4add399a57cfe95089ede75bc9d5dae
/Python/tdw/object_init_data.py
1500fbab8b47672c65f4110413b4b71c4cd206b0
[ "BSD-2-Clause" ]
permissive
celich/tdw
e0dc52b590e572ce0b4e3a147daad656f2a47e77
c4c56436b418d3abdd4a3971a391bb119c34602e
refs/heads/master
2023-04-20T19:10:37.934408
2021-05-05T18:22:47
2021-05-05T18:22:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,699
py
from typing import Dict, List, Tuple from tdw.tdw_utils import TDWUtils from tdw.controller import Controller from tdw.librarian import ModelLibrarian, ModelRecord from tdw.py_impact import AudioMaterial, PyImpact, ObjectInfo class TransformInitData: """ Basic initialization parameters for an object. Can be c...
[ "alters@mit.edu" ]
alters@mit.edu
6e316a177a030e3c355047cc7aa62c2a13b91b5f
20a23e195cb41138ea46fae4773444c7d87a51f0
/homeassistant/components/tellduslive/config_flow.py
3373e9cc2f7ca74aebec0c7dc1b69d4c595525e3
[ "Apache-2.0" ]
permissive
poma/home-assistant
37b11a5784a4e7e960bec7bf6ea1f41c66d834ee
203190f705fa280564734ba5a2281592ef535ed4
refs/heads/dev
2020-04-17T17:27:35.244055
2019-01-23T08:06:27
2019-01-23T08:06:27
166,782,737
1
0
Apache-2.0
2019-01-21T09:11:27
2019-01-21T09:11:24
null
UTF-8
Python
false
false
5,279
py
"""Config flow for Tellduslive.""" import asyncio import logging import os import async_timeout import voluptuous as vol from homeassistant import config_entries from homeassistant.util.json import load_json from .const import ( APPLICATION_NAME, CLOUD_NAME, DOMAIN, KEY_HOST, KEY_SCAN_INTERVAL, KEY_SESSION, ...
[ "marhje52@kth.se" ]
marhje52@kth.se
d5a3bdb7ab7125f19315ec09c924533d2f8e7815
c3a4658077c689710abf5ec846c8c59cbda16a51
/fbgemm_gpu/codegen/split_embedding_codegen_lookup_invoker.template
db1b96078a37023682a79053515d5dd67e25b31a
[ "BSD-3-Clause" ]
permissive
jiecaoyu/FBGEMM
6a85c5d2e9ee75e2f62bf428332c83e0366703b3
2c547924deafa1839483d31096de800078c35711
refs/heads/main
2023-03-16T23:29:36.266634
2022-06-03T21:05:49
2022-06-03T21:05:49
237,500,435
0
0
NOASSERTION
2021-11-15T23:46:24
2020-01-31T19:21:59
null
UTF-8
Python
false
false
7,507
template
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import torch from .lookup_args import * {% if is_fbcode %} torch.ops.load_library("//de...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1b37fa5b76c1aa2a32d1eb90b32391cad1c509f5
cc72013ede1b3bb02c32a3d0d199be4f7986c173
/ch10/DieViewColor.py
58b5529ab431c7372c00faa9de35170a11b1cd23
[]
no_license
alextickle/zelle-exercises
b87d2a1476189954565f5cc97ee1448200eb00d4
b784ff9ed9b2cb1c56e31c1c63f3e2b52fa37875
refs/heads/master
2021-01-19T00:33:19.132238
2017-09-14T23:35:35
2017-09-14T23:35:35
87,182,609
1
1
null
null
null
null
UTF-8
Python
false
false
2,375
py
# DieViewColor.py from graphics import * class DieViewColor: def __init__(self, win, center, size): self.win = win self.background = "white" # color of die face self.foreground = "black" # color of pips self.psize = 0.1 * size # radius of each pip hsize = size / 2.0 offset = 0.6 * hsize cx, cy = center....
[ "alexander.tickle@gmail.com" ]
alexander.tickle@gmail.com
5625481302911c3189bc36b544673943c69da279
4d327de5447519d3c00e6572f74362380783006f
/source/res/scripts/client/web_client_api/vehicles/__init__.py
95c17e15dd4bdcde0d9f7fef090313d9995c6676
[]
no_license
XFreyaX/WorldOfTanks-Decompiled
706ac55d919b766aa89f90c97a75672bf2142611
5025466edd0dd3e5e50a6c60feb02ae793f6adac
refs/heads/master
2021-09-21T15:10:32.655452
2018-08-28T07:34:00
2018-08-28T07:34:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/web_client_api/vehicles/__init__.py import nations from items import vehicles from web_client_api import w2c, w2capi, Field, W2CSchema class _VehicleInfoSchema(W2CSchema): vehicle_id = Field(type=(int, long)) @w2capi(name='ve...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ac7c2e6ab2caeed5008a2a2f19cd2c660df5ee43
94d1e805521575afb7b6256af1dd6de65a50ada9
/problem_10/problem_10.py
8fd3318a4bddafb0d3830f22cb0c2895b05fdc79
[]
no_license
John-W-Stevens/Euler100
fe2004786f64172e02ba18fbe33d95ceb68abf59
6f193a47e9e019b99ee9b188d2227587f5a3f4b3
refs/heads/master
2022-11-26T07:23:36.505138
2020-07-28T17:36:39
2020-07-28T17:36:39
274,224,709
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import time from prime_sieve import prime_sieve def problem_10(): return sum(prime_sieve(2000000)) start = time.time() solution = problem_10() print(f"{solution} found in {time.time() - start} seconds.") # 142913828922 found in 0.07372689247131348 seconds.
[ "john.william.stevens1@gmail.com" ]
john.william.stevens1@gmail.com
995600023a7f11305386d13654b30082fec5afdb
c9ece5470d98941a64e5253d17d56a135d89d735
/source/conf.py
bae026a6515a948f92df365243c821c56604b0ca
[ "MIT" ]
permissive
ketgo/ml-notes
33d0f4cea17d1d12ac278fa1dc7afee37a737791
0351a798d36f5a698038e7f7741cc9d8ad881498
refs/heads/main
2023-05-15T05:52:21.157263
2021-06-15T14:25:47
2021-06-15T14:25:47
361,756,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "ketangoyal1988@gmail.com" ]
ketangoyal1988@gmail.com
aacaad190f4ee572df306c9bcfe3bbcada4c13aa
aca209472c7288d69adf57124c197baf98c7a6e7
/OpenCV讀者資源/讀者資源/程式實例/ch17/ch17_17.py
53ef8f1ca63e66e9178e09f7833c2d6e7c58b0fd
[]
no_license
Hank-Liao-Yu-Chih/document
712790325e48b9d8115d04b5cc2a90cd78431e61
fafe616678cd224e70936296962dcdbbf55e38b3
refs/heads/master
2022-09-22T12:40:33.284033
2022-09-08T00:33:41
2022-09-08T00:33:41
102,203,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# ch17_17.py import cv2 import numpy as np src = cv2.imread('hand.jpg') cv2.imshow("src",src) src_gray = cv2.cvtColor(src,cv2.COLOR_BGR2GRAY) ret, binary = cv2.threshold(src_gray,50,255,cv2.THRESH_BINARY) contours, hierarchy = cv2.findContours(binary, cv2.RETR_EXTERNAL, ...
[ "hank.liao@vicorelogic.com" ]
hank.liao@vicorelogic.com
ef3afca60f71a786bd2173251e5ebcc5770444c2
2496bd44a435dbc839b3687d17cc5efdbec8cbdc
/app/templates/app/spiders/politicl_whole_pages_spider.py
e57e404bb4207ac809ce933e6b2999cff647b108
[]
no_license
trujunzhang/generator-djzhang-targets
e1b0655ef6a2e9f46f3d548268ab1657b7947d5e
395b7c3de11bb5104ff6e86672b290267949ec0f
refs/heads/master
2021-01-21T14:29:05.382901
2016-07-20T01:30:40
2016-07-20T01:30:40
59,209,227
0
0
null
null
null
null
UTF-8
Python
false
false
2,822
py
# -*- coding: utf-8 -*- import logging import scrapy class <%= appclassname%>sWatchSpider(scrapy.Spider): name = "<%= appname%>_whole_pages" def __init__(self, name=None, **kwargs): from cw<%= appname%>.database_factory import DatabaseFactory, CollectionTypes database_factory = DatabaseFact...
[ "trujunzhang@gmail.com" ]
trujunzhang@gmail.com
d1c7d9c016e677c1750841c3f81b7d5f6137af08
d6ed05e23faa20beb5e47624870608a9219ea81c
/TuningTools_old/scripts/analysis_scripts/official/Trigger_201801XX_data17_v8/export_tuning.py
05a362cf393f6ed47403b90ba3e57f3436a5e7ff
[]
no_license
kaducovas/ringer
f6495088c0d54d622dcc707333b4c2fbf132d65f
603311caab016ad0ef052ea4fcc605c5ac4e494b
refs/heads/master
2020-06-16T21:37:15.228364
2019-07-08T01:29:57
2019-07-08T01:29:57
195,477,531
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
#!/usr/bin/env python from RingerCore import LoggingLevel, expandFolders, Logger, mkdir_p from TuningTools import CrossValidStatAnalysis, RingerOperation from pprint import pprint import os mainLogger = Logger.getModuleLogger( __name__ ) basepath = 'data/crossval/' crossval = [ [basepath], [basepath],...
[ "kaducovas@gmail.com" ]
kaducovas@gmail.com
9be03fd3eaa84cb66043be2f7fc92759213a1f45
527f721ed6080c29f15e410672ef6c30e7f2dca1
/owllook/spiders/qidian_all_novels.py
f174be9ab66c80592fab0ca3181edb6825ea4f23
[ "Apache-2.0" ]
permissive
PaulPaulYang/owllook
e06b7daddf2c2326cb6ceedd25ef669368637aa4
05e16b69466c1c69b12a195e28163df4f30b35d6
refs/heads/master
2021-04-09T10:17:59.049159
2018-03-13T00:21:36
2018-03-13T00:21:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,488
py
#!/usr/bin/env python """ Created by howie.hu at 25/02/2018. Target URI: https://www.qidian.com/all Param:?page=1 """ from pymongo import MongoClient from talonspider import Spider, Item, TextField, AttrField, Request from talospider.utils import get_random_user_agent class MongoDb: _db = None MONG...
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
173616fa9d03a512d598ed7c89c3962b5cf28731
97cb7589aeb1c5c473301b96ba1c4782608fe7a0
/backend/eleven11_2189/urls.py
f9bfe9afd5639d03eb87d2f687f87ada287e8751
[]
no_license
crowdbotics-apps/eleven11-2189
4e39bf581c43904cdd9638690309e3569ab724af
6ef42908a47a96444ef2db70a3838504b642e9f8
refs/heads/master
2022-12-07T17:57:14.979964
2019-04-11T19:09:53
2019-04-11T19:09:53
180,860,812
0
1
null
2022-12-06T15:23:48
2019-04-11T19:09:49
JavaScript
UTF-8
Python
false
false
1,050
py
"""eleven11_2189 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f038988a23b7f81f82ce721941fcced27304b394
51a0cc11641f572749a23148df5ef735494f979b
/tinysync/persistence.py
a2494c4cc66f2fb3fb548fdf4905944cb2eb6aa9
[ "Unlicense" ]
permissive
mikaelho/tinysync
f6e02acc61119b88c6f1d38a3d7be261294d9d44
70197b8d90723d4793f3039f305241f986430d75
refs/heads/master
2020-01-23T21:42:15.110098
2019-12-11T13:17:37
2019-12-11T13:17:37
74,687,703
0
0
null
null
null
null
UTF-8
Python
false
false
8,523
py
import json import importlib from collections.abc import MutableMapping from contextlib import contextmanager from copy import deepcopy import dictdiffer from tinysync.util import * @contextmanager def do_not_track(obj): previous_value = obj._tracker.handler.track obj._tracker.handler.track = False yield o...
[ "mikael.honkala@gmail.com" ]
mikael.honkala@gmail.com
0706c7aeac1ba92e470ffd84b8d64a2767b38f86
e5a511e346f5be8a82fe9cb2edf457aa7e82859c
/Python/cppsecrets.com/program 51.py
c8ba027af76fa15a1501d402fc650146b31d90eb
[]
no_license
nekapoor7/Python-and-Django
8397561c78e599abc8755887cbed39ebef8d27dc
8fa4d15f4fa964634ad6a89bd4d8588aa045e24f
refs/heads/master
2022-10-10T20:23:02.673600
2020-06-11T09:06:42
2020-06-11T09:06:42
257,163,996
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
"""Python Program to Find the Second Largest Number in a List""" list1 = list(map(int,input().split())) seclarge = max(ele for ele in list1 if ele != max(list1)) print(seclarge)
[ "neha.kapoor070789@gmail.com" ]
neha.kapoor070789@gmail.com
f744e68c36103e0914079f70b40c162e9e20f715
b6c7ff1b2f048d3523b591ae56227be88f701b2c
/preprocess_gisaid.py
10f50d0ea9f1371d72612ea6d263407fcf59b8de
[ "Apache-2.0" ]
permissive
majagarbulinska/pyro-cov
98ef7fc9716692fccb4d9028c81c1e4e47f49e8e
fdbd37843618a3269b24430b8e66536583773046
refs/heads/master
2023-08-23T05:02:17.030999
2021-11-02T14:40:33
2021-11-02T14:40:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,255
py
# Copyright Contributors to the Pyro-Cov project. # SPDX-License-Identifier: Apache-2.0 import argparse import datetime import json import logging import os import pickle import warnings from collections import Counter, defaultdict from pyrocov import pangolin from pyrocov.geo import gisaid_normalize from pyrocov.mut...
[ "fritz.obermeyer@gmail.com" ]
fritz.obermeyer@gmail.com
138fac8d3869d2983222c3b9d013138ed4ff6bbd
9834a788f25842496a5a19f9c6fb49a6123fb131
/neo/SmartContract/tests/test_notify_event.py
bf8b305348a30f3803098657da6a62c6949144a4
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
jseagrave21/neo-python
c35d62c5f25d78ddf024180028e312b1c71ee85a
84c84784daafdd11a8da125c5a8704ab04d874a8
refs/heads/development
2021-06-14T09:00:59.269994
2019-02-17T18:15:02
2019-02-17T18:15:02
139,907,465
0
5
MIT
2022-09-19T15:46:29
2018-07-05T22:40:49
Python
UTF-8
Python
false
false
9,832
py
from unittest import TestCase from neo.SmartContract.SmartContractEvent import SmartContractEvent, NotifyEvent from neocore.UInt160 import UInt160 from neocore.UInt256 import UInt256 from neocore.BigInteger import BigInteger from neo.IO.MemoryStream import StreamManager from neocore.IO.BinaryWriter import BinaryWriter ...
[ "tasaunders@gmail.com" ]
tasaunders@gmail.com
a5423765373db001d6e72a7896e8a2040d1b9c3a
7fbf91c595f3adb67e29ab879a0b215581d260bf
/知识点/04-LiaoXueFeng-master/08-function.py
b768bd1aef41bc822d278fa44ad012d0abe7dc69
[]
no_license
Randyedu/python
69947b3836e62d0081d92591ae2acd9a54eadb9a
5f9e7bec295ae05eadde0f661e7039c2bd08f725
refs/heads/master
2021-04-26T22:20:22.555128
2018-03-02T07:01:27
2018-03-02T07:01:27
124,074,741
1
0
null
2018-03-06T12:23:42
2018-03-06T12:23:42
null
UTF-8
Python
false
false
3,389
py
print(abs(0)) print(max(1,4,5,6)) print(int('2322')) print(int(13.23)) print(int(float('13.98'))) print(float('23.24')) print(str(121)) print(bool(1)) print(bool(0)) print(bool(-1)) print(bool('')) # 函数名其实就是指向一个函数对象的引用,完全可以把函数名赋给一个变量 # 相当于给这个函数起了一个“别名” a = abs # 变量a指向abs函数 print(a(-1)) # 所以也可以通过a调用abs函数 ...
[ "954950195@qq.com" ]
954950195@qq.com
8709663ccf77b94eea9421338c940157369ddfd2
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/plybla001/question2.py
8bf37650e344a8354441a930101703d6225fb85c
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
"""Format Lines B.Player 11/05/2014""" import textwrap #Variables inName=input("Enter the input filename:\n") outName=input("Enter the output filename:\n") width=eval(input("Enter the line width:\n")) paras=[] i=0 inFile=open(inName,'r') data=inFile.read() inFile.close() paras=data.split("\n\n") out...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
ef1fcbe676a4d21f2e0203d263d60155be7e015b
b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/model/uniqueitems_validation.py
93644ef0e5d68fe6ea17ddaf07330762ffafefac
[ "Apache-2.0" ]
permissive
FallenRiteMonk/openapi-generator
f8b98940219eecf14dc76dced4b0fbd394522aa3
b6576d11733ecad6fa4a0a616e1a06d502a771b7
refs/heads/master
2023-03-16T05:23:36.501909
2022-09-02T01:46:56
2022-09-02T01:46:56
164,609,299
0
0
Apache-2.0
2019-01-08T09:08:56
2019-01-08T09:08:56
null
UTF-8
Python
false
false
1,878
py
# coding: utf-8 """ openapi 3.0.3 sample spec sample spec for testing openapi functionality, built from json schema tests for draft6 # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by: https://openapi-generator.tech """ from datetime import date, datetime # noqa: F401 import deci...
[ "noreply@github.com" ]
FallenRiteMonk.noreply@github.com
048e3031fe6ef4f1e0319fdb0ea5bfdbbc6db368
b6472217400cfce4d12e50a06cd5cfc9e4deee1f
/sites/top/api/rest/JipiaoAgentorderSuccessRequest.py
676b4a43ce63c3e49f0980160f008cd5cbf13a17
[]
no_license
topwinner/topwinner
2d76cab853b481a4963826b6253f3fb0e578a51b
83c996b898cf5cfe6c862c9adb76a3d6a581f164
refs/heads/master
2021-01-22T22:50:09.653079
2012-08-26T19:11:16
2012-08-26T19:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
''' Created by auto_sdk on 2012-08-26 16:43:44 ''' from top.api.base import RestApi class JipiaoAgentorderSuccessRequest(RestApi): def __init__(self,domain,port): RestApi.__init__(self,domain, port) self.order_id = None self.success_info = None def getapiname(self): return 'taobao.jipiao.agentorder.success'
[ "timo.jiang@qq.com" ]
timo.jiang@qq.com
57d3d0f895c149d41283f64b93f30b73b305c96c
1db7398d89e70b20bc1d0f0b401c49588d14afc7
/processor/process.py
bde5f1301cc13b014b81fd6003c1a29ea5343ee2
[]
no_license
ypsprimer/3d-segmentaion
4e676e0c2981baaf1fee4269cfab852e415699aa
387d3e813652ab634e0f1dbf162b0cb7acc7d86d
refs/heads/master
2023-02-17T12:48:49.536512
2021-01-06T09:17:30
2021-01-06T09:17:30
327,245,107
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from utils import timerecord class Process(object): def __init__(self): pass @timerecord def start(self): pass @timerecord def validate(self): pass
[ "dyp18@mails.tsinghua.edu.cn" ]
dyp18@mails.tsinghua.edu.cn
c8fec17e5b347c8c924de7503f6a568f1749dc32
11ff14c118240e87c4804d0373e4656d0683d479
/test_case/test_setup_set_number_SSID_Y1.py
81870cae736291ee784a668fa5ff6ce79adf2f7f
[]
no_license
wxmmavis/OS3.1
e3028d9c79d5a1a17449fea6380fcdda902bdec7
26d954344207a82d2298821c3c4f01302393dc7e
refs/heads/master
2020-03-25T20:07:11.225493
2018-08-13T03:20:57
2018-08-13T03:20:57
144,115,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
# -*- coding: utf-8 -*- import configparser import logging import os import time import pytest ######################### # import module ######################### import sys import conftest sys.path.append("..") import modules.login_router import modules.initialize from modules.login_router import * from modules.init...
[ "1475806321@qq.com" ]
1475806321@qq.com
afcf3ac520a9802ad38358b8327d26de164327aa
26f78ba56388765f2fe2dc8fa23ddea097209ec5
/Leetcode/动态规划/474. 一和零.py
dd727fe7fd84c669fd8a61dffce5cfc26c80993c
[]
no_license
johnkle/FunProgramming
3ef2ff32a1a378e1c780138ec9bab630c9ba83c7
a60e0d17a1e9f0bc1959d7a95737fc4a0362d735
refs/heads/master
2023-07-18T16:05:56.493458
2021-09-08T19:01:19
2021-09-08T19:01:19
402,861,226
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
#0-1背包,继续练习 class Solution: def findMaxForm(self, strs, m, n): dp = [[0]*(n+1) for _ in range(m+1)] dp[0][0] = 0 for s in strs: s0 = s.count('0') s1 = s.count('1') for i in range(m,s0-1,-1): for j in range(n,s1-1,-1): dp...
[ "605991742@qq.com" ]
605991742@qq.com
8d859693c383abf39b50819dc10746d43d512812
d5ba475a6a782b0eed5d134b66eb8c601c41421c
/terrascript/data/cobbler.py
f4a918a0abcb0709ac72a20c788773778d0400b9
[ "BSD-2-Clause", "Python-2.0" ]
permissive
amlodzianowski/python-terrascript
ab42a06a5167e53ad8093b656a9bf14a03cb031d
142b1a4d1164d1012ac8865d12fdcc72f1e7ae75
refs/heads/master
2021-05-19T11:59:47.584554
2020-03-26T07:13:47
2020-03-26T07:13:47
251,688,045
0
0
BSD-2-Clause
2020-03-31T18:00:22
2020-03-31T18:00:22
null
UTF-8
Python
false
false
65
py
# terrascript/data/cobbler.py import terrascript __all__ = []
[ "markus@juenemann.net" ]
markus@juenemann.net
6efc9f01d813d133e726173325dab5542ec82946
18c886d2c325094a93c33b4c526adb0ad8490033
/backend/src/file_storage_system/urls.py
d6372f51bd2c39983e5440a0df82842e7449aa34
[ "MIT" ]
permissive
Rezwanul-Haque/file-storage-system
32d9c6636cf928b9056db142aa7fd307da308f51
677023d99098df7609f807463d4c7cea20390b5c
refs/heads/master
2020-08-10T03:00:38.171912
2019-10-12T19:56:27
2019-10-12T19:56:27
214,240,133
1
0
null
null
null
null
UTF-8
Python
false
false
719
py
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include from django.views.generic import TemplateView from .routers import router urlpatterns = [ path('', TemplateView.as_view(template_name=settings.FRONTEND_PATH + '/index...
[ "rezwanul.cse@gmail.com" ]
rezwanul.cse@gmail.com
df73632f1a9dcabdbb2986891435e09b7daa2d9f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s217242852.py
074a9193bfc0ab04d84dca7db41c625c18df6ec3
[]
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
81
py
a,b=[i for i in input().split()] a=int(a) b=round(float(b)*100) print(a*b//100)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
95a1259734b02079f64fbd0116caec9a887bbf13
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba3961.pngMap.py
8aea15f00aeac1a928f75f7f25fd41caf0236335
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba3961.pngMap = [ '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '1111111111111111111111111111111111111...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
86e973af71e61872eeb8ac5d60cae1f947c5e04d
0a74687347990348d798d4647c6bcfaa61b8e901
/mysite/migrations/0005_auto_20161128_2215.py
848a7d1d6547177f7882986f759bfdc7b8448955
[]
no_license
bufubaoni/learndjango
7b0db8c291c8306615d223cf4ca0c190c0fc074a
a4a750eb65f684d189d98b92310e749e9e51f07f
refs/heads/master
2021-01-18T22:30:04.911193
2016-12-06T14:19:40
2016-12-06T14:19:40
72,538,496
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-28 14:15 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import river.models.fields.state class Migration(migrations.Migration): dependencies = [ ('mysite', '0004_remove_customuser_m...
[ "bufubaoni@163.com" ]
bufubaoni@163.com
41669d5377e34fa82c2deb81c173293e150f926a
ddd82d37cea1981d053acda347b654bd6ad44655
/medium/balanced_brackets.py
b2d42ccf7a9a65f5a158961104ca36f9c0788e75
[]
no_license
jriall/algoexpert
e675c73f3005effc6026eeaa20e59d92de06d3b1
76ab8dd7f446fb46ad3742c376b46ad7d65f35cb
refs/heads/main
2023-06-22T10:37:28.988383
2021-07-18T16:21:13
2021-07-18T16:21:13
359,125,430
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# Balanced Brackets # Write a function that takes in a string made up of brackets ((, [, {, ), ], # and }) and other optional characters. The function should return a boolean # representing whether the string is balanced with regards to brackets. # A string is said to be balanced if it has as many opening brackets of ...
[ "jamesrariall@gmail.com" ]
jamesrariall@gmail.com
d59b1696d9b316d38a13becca0d19ec5d48f1ff8
80e152f49b355b3e07faaab6b468ca8dda6aa097
/python/tkinter-mvc/view.py
0937cd75dfe2b0985fe9fe1c4dcba39686577eb6
[]
no_license
Pitrified/snippet
13ad9222f584570b10abb23a122b010b088eb366
1d7e5657014b00612cde87b78d5506a9e8b6adfc
refs/heads/master
2023-05-25T16:14:42.133900
2023-04-19T18:20:32
2023-04-19T18:20:32
174,192,523
2
0
null
2023-05-01T23:48:48
2019-03-06T17:47:16
Python
UTF-8
Python
false
false
758
py
import logging import tkinter as tk from side_panel import SidePanel from plot_panel import PlotPanel class View: def __init__(self, root): log = logging.getLogger(f"c.{__name__}.init") log.info("Start init") self.root = root # setup grid for root self.root.grid_rowconfi...
[ "nobilipietro@gmail.com" ]
nobilipietro@gmail.com
0badc9960b65fd791bebaa445d38fe065c983323
e748e6d96aace1c9149327f384e0de07d743715a
/arcade/python/fixResult.py
413e64fd1cb385c4f5500c3c5feff061bc0588f6
[]
no_license
jorzel/codefights
cdfc4cb32261b064ffc605bfd927bf237885b5d2
28b62a2ae3809f0eb487198044c0fe74be09d4e8
refs/heads/master
2022-04-28T06:54:26.170503
2022-03-23T22:22:20
2022-03-23T22:22:20
110,818,719
3
1
null
null
null
null
UTF-8
Python
false
false
970
py
""" Easy Recovery 100 Your teacher asked you to implement a function that calculates the Answer to the Ultimate Question of Life, the Universe, and Everything and returns it as an array of integers. After several hours of hardcore coding you managed to write such a function, and it produced a quite reasonable result...
[ "jaroslaw.orzel@emplocity.pl" ]
jaroslaw.orzel@emplocity.pl
33a5e14279e69788ae7b7410ebb3830620626b14
d7f223ec944de8ef95304cb3db50be4e46e0d6e5
/unusual/unusual/settings.py
2e320c5edbb28e9cf46ecb645db09029bffce948
[]
no_license
shashisp/mh
f90fb13db4951656dbcc7fa2330ce229e5b4d8fb
01fa451cbd5b7a3080edbc03608997b00a2bfc12
refs/heads/master
2016-09-06T09:33:25.887683
2015-05-13T21:40:13
2015-05-13T21:40:13
34,963,230
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
""" Django settings for unusual project. Generated by 'django-admin startproject' using Django 1.8.1. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build path...
[ "shashiessp@gmail.com" ]
shashiessp@gmail.com
b41f5d1985b55fb07976eb105e68b0c7ea27bfd3
d3f448d238b435b48d8f27f17a34b3e39a70dc29
/python-client/test/test_pay_outs_bankwire_api.py
2f9c2ce64dc7aaa4547dae3eb1e7e642fe99e264
[]
no_license
pedroguirao/swagger
1fc29b6d9bcc193bf8ce85f6d8a6074f4c37150d
5ffea6203b5fcd3f201c2ede76d354302a6fb0ee
refs/heads/master
2020-06-07T16:15:08.659567
2019-06-21T07:51:49
2019-06-21T07:51:49
193,055,538
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# coding: utf-8 """ MarketPay API API for Smart Contracts and Payments # noqa: E501 OpenAPI spec version: v2.01 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.api.pay_outs_...
[ "antonio.canovas@ingenieriacloud.com" ]
antonio.canovas@ingenieriacloud.com
9dfc8507b84a9ac6b1fa0dfd07a24ad87dbdb2a9
0dddc0508138396c740901be4a0f9eebefb8fded
/ax/utils/sensitivity/tests/test_sensitivity.py
41e9271145555e51ade46bd6ed3fdc41d2ec0bd8
[ "MIT" ]
permissive
facebook/Ax
473beb143016f95f4ec381ed1bd95b32c1ca31f8
6443cee30cbf8cec290200a7420a3db08e4b5445
refs/heads/main
2023-09-01T09:29:13.684709
2023-08-31T21:49:30
2023-08-31T21:49:30
169,880,381
2,207
315
MIT
2023-09-14T21:26:51
2019-02-09T15:23:44
Jupyter Notebook
UTF-8
Python
false
false
14,244
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import cast from unittest.mock import patch, PropertyMock import torch from ax.modelbridge.base import ModelBridge from ax.mod...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9e0d43d533ea80c344c09fe7da04441b491f3e53
1fa04a3baf82a2469b1140a7fd350a5df011faf5
/waglee/wagblog/migrations/0005_blogtagindexpage.py
c381938022e9a03738cedc0350f87c7b121859e3
[]
no_license
Serrones/wag_tutorial
8446b33c3b71657402a9af214ae1d9f8f99d9694
f357a8dabf5ade3f6dc80c17795cf6f3e721b381
refs/heads/master
2020-03-23T21:12:20.069601
2018-08-05T01:28:39
2018-08-05T01:28:39
142,089,256
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
# Generated by Django 2.0.7 on 2018-08-05 00:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0040_page_draft_title'), ('wagblog', '0004_auto_20180805_0031'), ] operations = [ mi...
[ "fabioserrones@gmail.com" ]
fabioserrones@gmail.com
91a98cf0b0ec3197205d09b8d01d1dfaf9f62a62
bc48af1e1583bae19311102a327b4bc6d094df2f
/Zadania2/Zad2.10.py
0629cc3161588aa1d7d609efafb3d6bc94bba254
[]
no_license
jakubwida/UJ_Sem5_2016_Python_Course
d90093882213ad900ea937dd2bac2bef0623d818
0e0e612dd1af3ae1ceea926c3c3ab0f8f116fa9f
refs/heads/master
2021-01-10T22:20:37.335498
2017-01-30T20:16:36
2017-01-30T20:16:36
70,318,167
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
line = " jeden \n dw.a \n \n \n trzy \n cztery " print(len(line.split()))
[ "jakub.wida@outlook.com" ]
jakub.wida@outlook.com
ed6c12aa427e645c201da748065b7311809ba026
ea62d65d17eb32915c668f1c8560e570b3454218
/coltrane/migrations/0001_initial.py
fc40ae7eafac48e1b823160be3fdd1c714f0eb50
[]
no_license
arwelsh/palewi.re
11b68a3416aac07843c9f94a9a8cd45e37355514
ba33b0b205e61f8f166d2a10057f6e669c714191
refs/heads/master
2021-01-18T05:07:01.471888
2016-06-27T04:36:13
2016-06-27T04:36:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,052
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Ticker' db.create_table(u'coltrane_ticker', ( ...
[ "ben.welsh@gmail.com" ]
ben.welsh@gmail.com
64ab8a1cb73d26acf8f6970397a240a58e447d17
c70b5f5c87867d692e347e382bdc6723500066b8
/miscellanea/extract_crd_withMP2.py
0ce7e1ff12d6771187a99ea1e738fbfd0a11e128
[]
no_license
Steboss/mdgx_python_api
39f5249f9a0c7b7a5361a29b60910b1d949e96e2
b35311d10d986cafe679ad8ee0f058ce603d627c
refs/heads/master
2021-05-12T19:23:54.946988
2018-02-07T11:52:12
2018-02-07T11:52:12
117,087,085
0
0
null
null
null
null
UTF-8
Python
false
false
5,420
py
#JAN 2017 Stefano Bosisio #Here I extract the mp2 energies from the mp2_output folder import os,sys,re def rst7writer(coords,natoms): #coords is the piece of output with all the coordinate #file_name: the name of the file we have to ave the crd like structure_0.crd #Crd file outputcrd = open("tmp.r...
[ "stefanobosisio1@gmail.com" ]
stefanobosisio1@gmail.com
583d36baee1172132ed3c0eed658f4aa8a7df6ad
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part2/batch/jm/parser_errors_2/293445611.py
10a81ed57c337b5a643dca205553d6da1debcf26
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
3,612
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 293445611 """ """ random actions, total chaos """ board = gamma_new(5, 4, 3, 2) assert board is...
[ "jakub@molinski.dev" ]
jakub@molinski.dev
885060592f2ca151104f0b9dfc2f441d2f441320
420f0b5c7f625b8473fa24716f17be8c7b27fe3e
/darling_ansible/python_venv/lib/python3.7/site-packages/oci/database/models/db_home_summary.py
8b7a7ebe4b2fbc6dd03ca5027ac8dc3456a1e1e6
[ "Apache-2.0" ]
permissive
revnav/sandbox
896d1fab59eee40f8652dff6a0aceb691b47ea4c
f9c8422233d093b76821686b6c249417502cf61d
refs/heads/master
2023-08-17T11:17:20.449740
2021-09-09T00:49:52
2021-09-09T00:49:52
268,660,804
0
1
null
null
null
null
UTF-8
Python
false
false
14,988
py
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
[ "mbpus052015@MBPUS052015s-MacBook-Pro-2.local" ]
mbpus052015@MBPUS052015s-MacBook-Pro-2.local
6babd3556c4d789cc9deff9a19367bcaf4eda064
d7551c200a4859690cc73fb60f8a5cb3c0363478
/XiaoZzi/RequestsLearn/Requests_authen.py
71b5aada064859fe7bc0e75b36c93a33af5ea7cf
[]
no_license
OverCastCN/Python_Learn
8b74ce4027b6ebfdd7af739551b41606bd04ff70
e7bb003e262f82977e8b2b2e14f32ff16fb0bd03
refs/heads/master
2021-01-01T05:58:37.654962
2019-06-26T12:47:38
2019-06-26T12:47:38
97,323,526
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# -*- coding:utf-8 -*- import requests base_url = 'https://api.github.com' def construct_url(end): return '/'.join([base_url,end]) def basic_auth(): """ 基本认证 :return: """ response = requests.get(url=construct_url('user'),auth=('imoocdemo','imoocdemo123')) print response.headers print ...
[ "980850796@qq.com" ]
980850796@qq.com
046541be0496fc236dae614f273af615bdc2f130
4e2d9f918ece774b72848128046787b178f0ee8e
/NAO/MyCode/test_module.py
2ec0990b618d54bad50243ebe61974ac9a99361b
[ "Apache-2.0" ]
permissive
mlzboy/python
de6c210ae34db12e2b3299ce98e084f05954f15f
0006a2f9493008400e89fcc952f9e0a182053b64
refs/heads/master
2020-03-26T01:07:29.747935
2018-06-14T11:43:44
2018-06-14T11:43:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,236
py
# -*- encoding: UTF-8 -*- """ 测试ALSoundLocalization用法 update by Ian in 2017-9-3 14:51:11 解决方法: 1. setParameter设置灵敏度参数 2. subscribe订阅这个事件 3. getData获得订阅的数据 """ from naoqi import ALModule from naoqi import ALProxy from naoqi import ALBroker import sys import time import argparse class Motion(A...
[ "767786685@qq.com" ]
767786685@qq.com
e4e76e5aff929e10786d99463ac91740f4203e29
4b4df51041551c9a855468ddf1d5004a988f59a2
/leetcode_python/Binary_Search/peak-index-in-a-mountain-array.py
af188fdd21026b7c3572007599786f903c62ea64
[]
no_license
yennanliu/CS_basics
99b7ad3ef6817f04881d6a1993ec634f81525596
035ef08434fa1ca781a6fb2f9eed3538b7d20c02
refs/heads/master
2023-09-03T13:42:26.611712
2023-09-03T12:46:08
2023-09-03T12:46:08
66,194,791
64
40
null
2022-08-20T09:44:48
2016-08-21T11:11:35
Python
UTF-8
Python
false
false
3,776
py
""" 852. Peak Index in a Mountain Array Easy Let's call an array arr a mountain if the following properties hold: arr.length >= 3 There exists some i with 0 < i < arr.length - 1 such that: arr[0] < arr[1] < ... arr[i-1] < arr[i] arr[i] > arr[i+1] > ... > arr[arr.length - 1] Given an integer array arr that is guarant...
[ "f339339@gmail.com" ]
f339339@gmail.com
90bbd942185a79a402e133decd2102a506901894
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/enums/offline_user_data_job_failure_reason_pb2.py
f880a390b39fa5c4521bfcfd0452428d2cbd3add
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
4,516
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/enums/offline_user_data_job_failure_reason.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from go...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
4f5233f3264f0115617603c98efc2cfada27bc57
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/algorithm/expert_algo/1_4.py
a1211fd3edb23bc5a84495a1f63b80ed903e29a5
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
10,980
py
Count of subsequences of length 4 in form (x, x, x+1, x+1) | Set 2 Given a large number in form of string **str** of size **N** , the task is to count the subsequence of length 4 whose digit are in the form of **(x, x, x+1, x+1)**. **Example:** > **Input:** str = “1515732322” > **Output:** 3 > **...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
a12dfe975bc42d0d73e84e9188862ac2be40e096
5593b35f326748f18053e7ea042c98fe6b70a850
/tqt/__version__.py
9e07edd14c5281467200b0a4457633f34448cb95
[ "BSD-3-Clause" ]
permissive
sicdl/TQT
7dfe3bce2bb5dace9a467945512e65525a0c3be9
27b73fcf27ddfb67cd28f6ed27e49341f27c9f16
refs/heads/main
2023-04-14T18:28:23.224689
2021-04-22T14:46:46
2021-04-22T14:46:46
362,503,682
0
0
BSD-3-Clause
2021-04-28T14:45:14
2021-04-28T14:45:13
null
UTF-8
Python
false
false
238
py
__title__ = 'tqt' __description__ = 'torch implement of TQT' __version__ = '1.0.1' __author__ = 'Pannenets F' __author_email__ = 'pannenets.f@foxmail.com' __license__ = 'BSD-3-Clause License' __url__ = 'https://github.com/PannenetsF/TQT'
[ "you@example.com" ]
you@example.com
c1c728eb324e6d3190e3c0541dabc42773348998
f58936d3d01b014131b9038616d6f3573dd94f44
/preprocessing_tools/extended_ner/food/api/foodpanda_city.py
14db425c4522951eefdf3a40d8de32d04fbc493b
[]
no_license
niteshsurtani/Personal_Assistant
69f591d03200ad9f8e66533f6968c7fb2a1d8667
363a65b3e3438b5824d8abb6caee53a70eefa024
refs/heads/master
2022-11-20T00:13:09.289399
2017-10-13T17:32:00
2017-10-13T17:32:00
106,283,072
0
1
null
2020-07-23T18:18:29
2017-10-09T12:50:48
Python
UTF-8
Python
false
false
2,007
py
from mysql.connector import MySQLConnection, Error from dbconfig import read_db_config def insertOneCity(city_id, name, data_resource): query = "INSERT INTO city(city_id, name, data_resource) " \ "VALUES(%s, %s, %s)" args = (city_id, name, data_resource) try: db_config = read_db_config() conn = MySQLConnec...
[ "nitesh.surtani0606@gmail.com" ]
nitesh.surtani0606@gmail.com
ce0fbe43952534a1980d29bcfbbed01aa5c538c6
6c137e70bb6b1b618fbbceddaeb74416d387520f
/lantz/lantz/drivers/examples/foreign_example.py
682536c5bd86a50a87407085d922a159115462a4
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
zhong-lab/code
fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15
b810362e06b44387f0768353c602ec5d29b551a2
refs/heads/master
2023-01-28T09:46:01.448833
2022-06-12T22:53:47
2022-06-12T22:53:47
184,670,765
2
7
BSD-2-Clause
2022-12-08T21:46:15
2019-05-02T23:37:39
Python
UTF-8
Python
false
false
2,046
py
# -*- coding: utf-8 -*- """ lantz.drivers.example.foreign_example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Foreign library example. :copyright: 2015 by Lantz Authors, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ import ctypes as ct from lantz import Feat, Action, D...
[ "none" ]
none
868777082c196ad7aceaa2c788c04575c894c324
7af848e1aab6f1c4362fd7588c80efec566ef9f3
/mlinsights/mlmodel/classification_kmeans.py
0417e2bffb55232f10b10ab4e229a5d36b8595fe
[ "MIT" ]
permissive
alexisjihyeross/mlinsights
2e8873645c3e4883aa4ff422b0543fba36712109
74a834714a96e2e78b8dfc3b750a9d605df14834
refs/heads/master
2021-04-14T23:05:22.115689
2020-03-11T11:43:35
2020-03-11T11:43:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,360
py
""" @file @brief Combines a *k-means* followed by a predictor. """ import inspect import numpy from sklearn.linear_model import LogisticRegression from sklearn.cluster import KMeans from sklearn.base import BaseEstimator, ClassifierMixin, clone class ClassifierAfterKMeans(BaseEstimator, ClassifierMixin): """ ...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
de847436be859ecbfdcdf2f2eda99f6677a367d1
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/XML/XML_to_python_objects__lxml.objectify__examples/from_text.py
6b1cf58b002108f1d034790570a56300f1bfc679
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # SOURCE: https://lxml.de/objectify.html from datetime import datetime # pip install lxml from lxml import objectify text = """\ <Response> <Data> <Report> <LeaderList> <Leader ActualDate="2009-12-01" F...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
f2fdd4d9d42fb5073ee6fa1301c3897d15d7f1b5
d833487ba7a78e900ce535d60c123986ab5ebfee
/Linked Lists/6. Shift Linked List/Solution.py
23371037e6dda9955911381ecedcd6a0e8bca809
[]
no_license
ceteongvanness/Algorithm-Python
b71af3bca4d2573f4a0d18dc991012b996746d6a
0151e7bac3f4032bbc76caa209bb63cdfa8a581e
refs/heads/master
2023-01-31T04:17:22.425719
2020-12-14T05:21:15
2020-12-14T05:21:15
263,880,376
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
class LinkedList: def __init__(self, value): self.value = value self.next = None # O(n + m) time | O(1) space - where n is the number of nodes in the first def shiftLinkedList(head, k): # O(n) time | O(1) space - where n is the number of nodes in the Linked List listLength = 1 listTail = h...
[ "ceteongvanness@hotmail.com" ]
ceteongvanness@hotmail.com
ad6c6f5bcb9bf132c2d476669c31b7aa91444dc5
e00d41c9f4045b6c6f36c0494f92cad2bec771e2
/server/database/mariadb/comar/service.py
9552b147c9c78b884a728527fbac16017ea92eb4
[]
no_license
pisilinux/main
c40093a5ec9275c771eb5fb47a323e308440efef
bfe45a2e84ea43608e77fb9ffad1bf9850048f02
refs/heads/master
2023-08-19T00:17:14.685830
2023-08-18T20:06:02
2023-08-18T20:06:02
37,426,721
94
295
null
2023-09-14T08:22:22
2015-06-14T19:38:36
Python
UTF-8
Python
false
false
698
py
# -*- coding: utf-8 -*- from comar.service import * import os serviceType="server" serviceDesc=_({"en": "MariaDB Database Server", "tr": "MariaDB Veritabanı Sunucusu"}) PIDFILE="/run/mysqld/mysqld.pid" DAEMON="/usr/bin/mysqld" @synchronized def start(): startService(command=DAEMON, ...
[ "ayhanyalcinsoy@gmail.com" ]
ayhanyalcinsoy@gmail.com