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
5d8d2848ec7318ca69da0add8f29dc27469b7ae0
cb0b8010ee192fba4f7b2f4b09b49689fa7b1a34
/IPython/parallel/apps/baseapp.py
db0e1b44343ce90328b2a21a994026293e88bbae
[ "BSD-3-Clause" ]
permissive
dhomeier/ipython-py3k
8d2641a1b0c343131da47cb0d260b6701822043c
5d607eac8e803c81cbe33f216066a6976dffbd39
refs/heads/master
2021-01-16T19:55:26.587915
2011-06-28T20:25:28
2011-06-28T20:25:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,324
py
#!/usr/bin/env python # encoding: utf-8 """ The Base Application class for IPython.parallel apps Authors: * Brian Granger * Min RK """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under the terms of the BSD L...
[ "takowl@gmail.com" ]
takowl@gmail.com
fb1de4942753ca74426d929c5f9c0ec6a0309f8b
b71a6e7050b0a4368007350d91ee078288a7318c
/examples/issues/issue235_tool.py
25ab58aa13a98c57f251c83bd1983f1e8afd9d13
[ "Apache-2.0" ]
permissive
jarvisteach/appJar
2dfd0da6cb85ea3535379ed000efd97fb42fe4f8
0b59ce041da2197dcff3410e20f298676f1f7266
refs/heads/appJar
2023-08-29T09:42:01.812005
2019-09-28T18:34:06
2019-09-28T18:34:06
39,996,518
696
103
NOASSERTION
2023-02-20T01:01:16
2015-07-31T08:59:20
Python
UTF-8
Python
false
false
203
py
import sys sys.path.append("../../") from appJar import gui def press(btn): print(btn) with gui() as app: app.label('hello world') app.toolbar(["A", "OPEN", "CLOSE"], press, pinned=False)
[ "jarvisteach@gmail.com" ]
jarvisteach@gmail.com
7f725278033e1dce4b75b27d292e60ba496fe711
da1721d2783ea4d67ff4e73cee6eee71292f2ef7
/toontown/minigame/RaceGameGlobals.py
b4ba1f8d781345dcfc0913e77c4d54896781bd4c
[ "BSD-3-Clause" ]
permissive
open-toontown/open-toontown
bbdeb1b7bf0fb2861eba2df5483738c0112090ca
464c2d45f60551c31397bd03561582804e760b4a
refs/heads/develop
2023-07-07T01:34:31.959657
2023-05-30T23:49:10
2023-05-30T23:49:10
219,221,570
143
104
BSD-3-Clause
2023-09-11T09:52:34
2019-11-02T22:24:38
Python
UTF-8
Python
false
false
1,615
py
from toontown.toonbase import TTLocalizer ValidChoices = [0, 1, 2, 3, 4] NumberToWin = 14 InputTimeout = 20 ChanceRewards = (((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0), ((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0), ((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0), ((2, 0), TTLocalizer.RaceGameForwardTw...
[ "jwcotejr@gmail.com" ]
jwcotejr@gmail.com
b849b25bb518ee3de327232ec7cdb96845de64c4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_occludes.py
6ad8831e58385c859b77e4d015f32b66ac16e635
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _OCCLUDES(): def __init__(self,): self.name = "OCCLUDES" self.definitions = occlude self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['occlude']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
656840570a730bb214302a80e4fe4ac83d4a2839
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/head_idea_power.py
09e01cc2f661353f0e06eebc055b2c7cfd16bc0d
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Translator.API; namespace CSharp_TranslateSample { public class Program { public static string traducida; public static void Main(string[] args) { //TranslateAsync().Wait(); ...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
39a6819dbae86bb327dd1daab04a0b1b132759d6
476039e12ab024529dfe49c4bc2b5523dabeb89a
/homeassistant/components/pyscript/__init__.py
4f54c6ed6815e40baa5b656bc3531c82e20e6ae2
[ "Apache-2.0" ]
permissive
xal88/home-assistant-pyscript
44f32316170175ad7614387d3b43d4d0344592e5
398f77d1d36b028d18c90d97b7380f80481af926
refs/heads/master
2023-03-18T06:29:02.210749
2020-08-22T20:27:34
2020-08-22T20:27:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,820
py
"""Component to allow running Python scripts.""" from collections import OrderedDict import glob import io import logging import os import yaml from homeassistant.components.pyscript.eval import AstEval, EvalFunc from homeassistant.components.pyscript.event import Event from homeassistant.components.pyscript.handler...
[ "19445341+craigbarratt@users.noreply.github.com" ]
19445341+craigbarratt@users.noreply.github.com
747e108d758ebf304536b8a84db7674cced224f4
7d3f5e25018c97d46912b7919cd61e2c68ed05f3
/nexrad3_attr.py
97ac93ad7552bbf06698230ef456feab963ae254
[]
no_license
scollis/pyWWA
420722777f18bcbb7308e63ab228ce0e742ca4a3
0f058b43b35f7cf5c03dd97b0a3081e138c1ea01
refs/heads/master
2021-01-17T22:42:49.181866
2013-08-28T00:36:11
2013-08-28T00:36:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,656
py
# Copyright (c) 2005-2008 Iowa State University # http://mesonet.agron.iastate.edu/ -- mailto:akrherz@iastate.edu # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the Licens...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
a398921a35acdfeb36396a8f9f37c82c5e3a76de
57830c1f6725cf74596af116b6f170772167128c
/apps/users/admin.py
03876e2c0db6b1a771d61a2faf0247690c513438
[]
no_license
robertsoh/sales_api
c3965865efc6a63d00050fd3817facd10bbf39b7
0c210f23c5440efcf19ae47bcb62f999e79caa59
refs/heads/master
2020-04-05T14:29:34.185867
2018-12-14T19:26:32
2018-12-15T00:49:42
156,931,718
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.contrib import admin from apps.users.models import User @admin.register(User) class UserAdmin(admin.ModelAdmin): list_display = ('username', )
[ "robertson.ore@gmail.com" ]
robertson.ore@gmail.com
17906c75c8de7cbc681cacca09c593bb8d6320e3
e7c79311c861c29cb16526f326454fbcd7a7377d
/fHDHR_web/pages/tuners_html.py
787076b06e77eddb420b632a5a28417491ddc8f7
[ "WTFPL" ]
permissive
ddarling007/fHDHR_XUMO
bdfb9b6789f253965efa12e74d7fd6fae46d862b
e74079a3a0752e07bde5090ca6c7ce5718fddc74
refs/heads/main
2023-02-03T09:07:10.964663
2020-12-18T15:28:47
2020-12-18T15:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
from flask import request, render_template from fHDHR.tools import humanized_filesize class Tuners_HTML(): endpoints = ["/tuners", "/tuners.html"] endpoint_name = "page_streams_html" def __init__(self, fhdhr): self.fhdhr = fhdhr def __call__(self, *args): return self.get(*args) ...
[ "github@deathbybandaid.net" ]
github@deathbybandaid.net
c5cbdf8cc885f15c50107a387c0a2f8185f72af9
cc5db2422f78e8a088e5642835cd8758e92e99e5
/server/web_servers/django_pywps_framework/processes/old/test.py
c7ee2b7358a2838a5f35fdcaac6bc69e8aee1ed2
[]
no_license
nasa-nccs-cds/cdas
6dba4bd1031d7dd6ae46cae95e8c72c4b6e7047c
26a89ddce138e394273f5c985ec8a83ce554be5e
refs/heads/master
2021-01-10T18:45:56.323701
2016-02-19T18:58:57
2016-02-19T18:58:57
39,521,911
3
1
null
null
null
null
UTF-8
Python
false
false
943
py
from wps import settings from staging import stagingRegistry import time, json handler = stagingRegistry.getInstance( settings.CDAS_STAGING ) if handler is None: print " Staging method not configured. Using celery. " handler = stagingRegistry.getInstance( 'celery' ) data = {'url': '/att/nobackup/tpmaxwel/d...
[ "thomas.maxwell@nasa.gov" ]
thomas.maxwell@nasa.gov
1d4cb80269e6a7e72aab3af43cdd1932cfb0d696
0ec4defa6f83ec044b9e1235cc45964a8145b4d1
/venv/lib/python3.6/site-packages/pybrain3/rl/experiments/queued.py
eac37f466ea37903b304e47b9de71fa8ef945622
[]
no_license
nnarziev/MyWeek_Server
e6f6c10ce813cf3dc3aa644958c31a4d01567b4d
7c51e79224ba48cd1a230536c27f3bd8cec73a21
refs/heads/master
2021-08-19T13:46:56.450003
2017-11-25T16:48:07
2017-11-25T16:48:07
112,080,782
1
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
__author__ = 'Thomas Rueckstiess, ruecksti@in.tum.de' from .episodic import EpisodicExperiment from scipy import arange class QueuedExperiment(EpisodicExperiment): """ This experiment type runs n episodes at the beginning, followed by a learning step. From then on it removes the oldest episode, l...
[ "qobiljon.toshnazarov@gmail.com" ]
qobiljon.toshnazarov@gmail.com
1250da40249d5f3b0a978d38aa145700016c4201
865ee6eb8ee52c8056fbf406059c5481f365de6e
/openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/web/pgadmin/utils/sqlautocomplete/prioritization.py
3956f5e26ce75ff435669db8a3cade2e3d55ddab
[ "LicenseRef-scancode-ssleay", "MIT", "BSD-3-Clause", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "LicenseRef-scancode-pcre", "LicenseRef-scancode-public-domain", "Zlib", "BSD-2-Clause" ]
permissive
nneesshh/openresty-oss
76e119081ea06bc82b184f96d531cc756b716c9d
bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3
refs/heads/master
2022-12-12T21:39:48.917622
2019-05-31T03:14:18
2019-05-31T03:14:18
184,213,410
1
0
MIT
2022-12-06T17:28:59
2019-04-30T07:28:45
C
UTF-8
Python
false
false
1,497
py
import re from collections import defaultdict import sqlparse from sqlparse.tokens import Name white_space_regex = re.compile('\\s+', re.MULTILINE) def _compile_regex(keyword): # Surround the keyword with word boundaries and replace interior whitespace # with whitespace wildcards pattern = '\\b' + re.su...
[ "nneesshh@163.com" ]
nneesshh@163.com
31a2eb6adcef5b31a255ced42a8f151e61171277
3e77a86429ba0f6968f709e77e204cdfe920a041
/python/python/src/python_problems/python_company_exercises/baynote_script1.py
0325c2beb7733636afca02c4ec417afcf3fdcf44
[]
no_license
ramyamango123/test
a2d9bb6cafe8d7406b76eba526ddded2acf2a3b2
85420c9406109a72e1b1d455ea29a5cae9def5a3
refs/heads/master
2020-06-07T23:34:08.344051
2014-03-12T05:19:05
2014-03-12T05:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,323
py
# # This program parses input Baynote_input.txt test results in a (particular # format) and outputs # 1. A sumary of passed and failed tests - test_summary.txt # 2. List of all passed test cases - test_passed.txt # 3. List of all failed test cases - test_failed.txt # # # Import required ...
[ "ramya@Ramyas-MacBook-Air.local" ]
ramya@Ramyas-MacBook-Air.local
6be40e1c70a3dbef76dbb22ea1b5ecc76f14f236
749b13d7e5085e5e16cb35fa3f920f9776eac889
/desktop/libs/libsentry/src/libsentry/api.py
08627eb083655a49929a5121582774a4b63a0ec5
[ "Apache-2.0" ]
permissive
taeyoung-yoon/hue
84c4cbabfe833fc1d8cfe55a4bf48997d388b753
a04cd6e4b414ec35600a8c1263a4f5d2875b15ee
refs/heads/master
2020-12-30T18:51:05.076939
2015-03-05T00:48:18
2015-03-05T00:54:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,584
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "romain@cloudera.com" ]
romain@cloudera.com
cb22e53dab15965f170d86d797a6cc9f439f2953
69281f28d0955b233dfbb2728f1a480410197cd7
/tests/test_server.py
06f14e2986cff086a159b60563a59b58316e0820
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
aellwein/aiocoap
91cfa59bed403c89d030eb9e8eb522c3663b7578
419c88cb7bec693f3c33b188a8e394e6666983c5
refs/heads/master
2022-09-17T21:09:58.577122
2022-08-17T17:38:18
2022-08-17T17:38:18
30,795,438
1
0
null
2015-02-14T12:02:44
2015-02-14T12:02:43
Python
UTF-8
Python
false
false
18,409
py
# This file is part of the Python aiocoap library project. # # Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>, # 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at> # # aiocoap is free software, this file is published under the MIT license as # described in the accompany...
[ "chrysn@fsfe.org" ]
chrysn@fsfe.org
6da34c28ff355cb3b450aff47bf9a407a99948e8
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/compute/v20201201/get_disk_access.py
981b57ef0637910bb008f0205d45331d46e95f31
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,679
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
b817697bc6bdc0335df7c42b0388174a8f8be223
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop255_pad20_jit15/Sob_k19_s001/pyr_2s/L3/step10_a.py
66966b82234c791ba293d6e43844157944f1a455
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
10,228
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
048c873316de2fd5dc07b631f83156b1520b56be
795df757ef84073c3adaf552d5f4b79fcb111bad
/r8lib/r8_acosh.py
e335e0ac03e7ec1fa8a28d1e74b6ff4331de4817
[]
no_license
tnakaicode/jburkardt-python
02cb2f9ba817abf158fc93203eb17bf1cb3a5008
1a63f7664e47d6b81c07f2261b44f472adc4274d
refs/heads/master
2022-05-21T04:41:37.611658
2022-04-09T03:31:00
2022-04-09T03:31:00
243,854,197
3
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
#! /usr/bin/env python3 # def r8_acosh ( x ): #*****************************************************************************80 # ## R8_ACOSH evaluates the arc-hyperbolic cosine of an R8 argument. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 25 July 2014 # # Author:...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
783b1bee4c34b80c563102766e8f40a55abdb190
9d82535388e70d6fa07c57ba56c72ec6e634a752
/example.py
51d8da4b071c3418ccd3e2b2bf80acd2b61ab2f6
[]
no_license
codesharedot/digibyte-price
c410883168d37a2c1dce85f9de7bd7da3d52aa25
f87de7d83646766dfdfb2e5c9ea5dcb7e0713d45
refs/heads/master
2020-07-27T08:54:04.866594
2020-03-05T18:00:00
2020-03-05T18:00:00
209,036,791
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import requests import json from forex_python.converter import CurrencyRates import os c = CurrencyRates() rate = c.get_rate('USD', 'EUR') print(rate) digibyte_api_url = 'https://api.coinmarketcap.com/v1/ticker/digibyte/' response = requests.get(digibyte_api_url) response_json = response.json() print(response_json) ...
[ "codeto@sent.com" ]
codeto@sent.com
c54f799246ff40b2fd41881e6bf869534c43049a
a58695fad399102d58496c1590b3a6b3b0774fbb
/djangoum3/usuarios/admin.py
d63bc798e0ff93c3e7cdc314ed084a481e7b7542
[]
no_license
rodrigojgrande/django
a7f141a92496ccdc40d89eed26b832eef95b69c9
7a95838fac3a95999f0413d00e3640b89500751f
refs/heads/master
2023-06-13T02:22:21.786094
2021-06-30T14:23:59
2021-06-30T14:23:59
369,648,511
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from .forms import CustomUsuarioCreateForm, CustomUsuarioChangeForm from .models import CustomUsuario @admin.register(CustomUsuario) class CustomUsuarioAdmin(UserAdmin): add_form = CustomUsuarioCreateForm form = CustomUsuarioCha...
[ "rodrigojgrande@gmail.com" ]
rodrigojgrande@gmail.com
edcb35b0793393a33792588f49edcb625198eae8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03015/s523069655.py
59e3f8ebc64c631f68c29fe54d0f9e99fa664022
[]
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
458
py
import sys sys.setrecursionlimit(10**9) MOD=10**9+7 def input(): return sys.stdin.readline().rstrip() def main(): L=input() n=len(L) dp=[[0]*2 for _ in range(n+1)] dp[0][0]=1 for i in range(n): dp[i+1][1]=dp[i][1]*3%MOD if L[i]=='1': dp[i+1][0]=dp[i][0]*2%MOD ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2fad0a903076aa03054324498441cd03b0be5b57
b674d2fbcecf0b30af1971046f0244b99001ff9a
/ape/model/seq2seq.py
437df08720576485696bf3e2144b54a276a8c2cd
[ "Apache-2.0" ]
permissive
w121211/pytorch-seq2seq
fe60e494fb98c9560e00db05b6241cad5229f12e
d207e373d90b6de3e741189012d096876204e536
refs/heads/master
2021-09-01T12:46:26.573769
2017-12-27T02:54:38
2017-12-27T02:54:38
106,993,825
0
0
null
2017-10-15T07:55:09
2017-10-15T07:55:09
null
UTF-8
Python
false
false
23,311
py
import random import numpy as np import torch import torch.nn as nn from torch.autograd import Variable import torch.nn.functional as F if torch.cuda.is_available(): import torch.cuda as device else: import torch as device from seq2seq.models.attention import Attention from seq2seq.models.baseRNN import Bas...
[ "w121210@hotmail.com" ]
w121210@hotmail.com
b88035f89cb1bc72cd54f3795e7783c6d521f371
abacbf9798f089cd43fd50c2d577de50cca806d8
/venv/Lib/site-packages/lux/extensions/rest/__init__.py
371c1e60f06259004e484715eaaa7e5e779004f7
[]
no_license
Sarveshr49/ProInternSML
f2bfd82905dd185d82830d4758d69ee2b23f71fb
2ac09e31ebe54dbecd46935818b089a4b8428354
refs/heads/master
2023-08-11T17:36:16.387236
2021-10-16T18:23:04
2021-10-16T18:23:04
373,503,730
0
0
null
null
null
null
UTF-8
Python
false
false
6,403
py
from urllib.parse import urljoin from collections import OrderedDict from pulsar import ImproperlyConfigured, Http404 from pulsar.utils.importer import module_attribute from pulsar.utils.httpurl import remove_double_slash from lux.core import Parameter, LuxExtension from .models import RestModel, DictModel, RestFiel...
[ "sarveshragade@gmail.com" ]
sarveshragade@gmail.com
88d775364d3c5bc6eda6674ccec74e0b23918186
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_41143.py
62ebbe7b573168433e3ee048432c4c98d6ebccf7
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,847
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
6ec496396ffe554e0b6278bd41978f95d7804031
045cb1a5638c3575296f83471758dc09a8065725
/addons/website/models/website_visitor.py
0397b835dfab31ec64cc081f90cffd55516dfeb5
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,846
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from datetime import datetime, timedelta import uuid from harpiya import fields, models, api, registry, _ from harpiya.addons.base.models.res_partner import _tz_get from harpiya.exceptions import UserError from harpi...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
d86604d675c94f4995be651c511ded1c38224e9c
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/oop/destructor_both.py
d610d0467a48c419330c61a9fc2c792484819f37
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
321
py
class Thing: def __init__(self, name): self.name = name print(f'__init__ for {self.name}') def __del__(self): print(f'__del__ for {self.name}') def main(): a = Thing('A') b = Thing('B') a.partner = b b.partner = a print('in main - after') main() print('after main') ...
[ "gabor@szabgab.com" ]
gabor@szabgab.com
30b433f5cfa789965f2c3a46c4a08f6e01fd0f92
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/deployment_manager/operations/describe.py
0d4d62990ba0c4f6f30ed9aae00b502271265c45
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
2,328
py
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
de539da927bddf12b5b18d372e9d7c1008589efe
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/JUNIPER-ALARM-EXT-MIB.py
18bc4d90171ec96891a00e4443c61d1b7fea0144
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
3,803
py
# # PySNMP MIB module JUNIPER-ALARM-EXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/JUNIPER-ALARM-EXT-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:58:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
bf00942869524394e165bedd91c4645b8186892f
52b5773617a1b972a905de4d692540d26ff74926
/.history/sorting_20200624171632.py
244905e52fc9ea03311202d4ef6bc54b2cf54f05
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
def wavesort(arr): # sort the numbers first numbers = sorted(arr) # swap the numbers n = len(numbers) i = 0 result = True print(numbers) while i < n-1: temp = numbers[i] numbers[i] = numbers[i+1] numbers[i+1] = temp i+=2 #check if number at position...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
0f4144d09be309f62dec55a4dededa50e03cd221
d4dc12f5c2ae83a089efc03164a9e768c76467e3
/2/2b.py
ce3164de8c2cb23412534394f55ba254b9886602
[ "MIT" ]
permissive
dzaragoza/advent_of_code_2019
3e8242db6c3411b3cbfe06e27dc8ea03a4f5e08e
62e740c3de7247efa4f79836906aa0597310496c
refs/heads/master
2020-09-30T06:28:16.540755
2019-12-18T22:24:41
2019-12-18T22:24:41
227,228,009
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
f = open('input.txt').read() for n in range(100): for v in range(100): tape = [int(i) for i in f.split(',')] tape[1] = n tape[2] = v for i in range(0,len(tape),4): if tape[i] == 1: tape[tape[i+3]] = tape[tape[i+1]]+tape[tape[i+2]] elif tape[i]...
[ "a@a.com" ]
a@a.com
74355c13b35ff998b254b37dcc4ceea0bbda27e2
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_str-7.py
8cfb83293bde3cbcc21c3e7ea557ae9142f86618
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
x:$ID = "" z:str = "abc" for x in z: print(x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5d68517eae51ed80a69c9ff2420b59441afa5312
d74b03fb5cb5e63daf0a925c6ffd3a402864f4d9
/app/main/WebUser.py
199c20640b9f22fc0cb599de005e0b31fda5dae3
[]
no_license
1840521596/webapi
c31fb0f59478c38cbce60407db1d379c084a6e02
3b3b9485f1f18aac31d723f9e0b4019033404d1a
refs/heads/master
2022-11-08T20:13:50.940891
2019-12-18T08:02:32
2019-12-18T08:02:32
273,469,329
0
0
null
null
null
null
UTF-8
Python
false
false
3,087
py
#!/usr/bin/python #-*-coding:utf-8 -*- from app.main import user from flask import render_template,request,flash,redirect,url_for,session,g from flask_login import login_user,logout_user,login_required from app.config.login_form import LoginForm from app.config.user_models import User,DeptName from app import login_man...
[ "guohongjie@yunshuxie.com" ]
guohongjie@yunshuxie.com
581d87021ed936cda8b502214c63d7c8efba5fc0
870f94dd167d5aa11f66979782af2f35f7c3ed34
/codecademy/cacf15.py
c9548e3778bd2640233934f5362f7d5ed5171532
[]
no_license
alblaszczyk/python
52f993844e681fbb455b924cf733923f3b377177
02504c066d0f2d1b8cca08a17f25f383df6247ad
refs/heads/master
2021-09-20T00:57:12.299353
2018-08-01T20:23:44
2018-08-01T20:23:44
108,529,581
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
# Make sure that the_flying_circus() returns True def the_flying_circus(): if (5 > 4) and (5 >= 5): return True elif 6 > 5 and not 10 == 10: return True else: return False return the_flying_circus()
[ "stuff@alblaszczyk.oib.com" ]
stuff@alblaszczyk.oib.com
1cdeb7ef4eca4b1669438aa5276a8270cdcb517a
6a5270a120491888d6c9dbda65ec9479ffa2374f
/backend/manage.py
c7f2fbe1adc6c55ace74aa4fafa7c132a7de56c5
[]
no_license
crowdbotics-apps/msm-sgf-4717-dev-14480
900f3503768377589593d50dfd4f5905d659e189
0580bd3f902313b470fe0f516a28835f2b984e51
refs/heads/master
2023-01-07T18:00:33.092568
2020-11-03T07:01:01
2020-11-03T07:01:01
309,593,621
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'msm_sgf_4717_dev_14480.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7fe14f588b9e9af7028e9b82b545ba26e46eca05
31aff865cde04c6ed169062c38838da62837d1f3
/scripts/task2.py
d20eac944612262536ae8351cf75e0e7a11a7124
[ "MIT" ]
permissive
ymyzk/ex4cg
54c5ad3bc247a8607e2eeef17e34f3b3c34a654f
2dba1959e0c32b02ff7f40d3859ca4561f6ea9af
refs/heads/master
2016-09-05T12:38:28.139656
2014-11-20T10:26:33
2014-11-20T10:26:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,862
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import argparse import os import sys import numpy as np from cg.camera import Camera from cg.ppm import PpmImage from cg.renderer import Renderer from cg.shader import DiffuseShader, RandomColorShader, ShadingMode from cg.vrml import Vrml def main(args): # VRML ファイ...
[ "miyazaki.dev@gmail.com" ]
miyazaki.dev@gmail.com
df03001e3713638ab70c5a587f6823dd664811a5
3c38febb2f7a42fb72b543eb23caa9f46580f06b
/Python/Old/Python Basic/Loop/84.py
f7f3f119b754a12db04c065229e59128e83417f9
[]
no_license
joyonto51/Programming_Practice
479b8e84862e35f29a3904bd3556edb6532efb4b
1d6ff08cf63011cfde6b73988bc1686a12e70a79
refs/heads/master
2020-03-09T05:34:39.502942
2018-10-01T14:34:17
2018-10-01T14:34:17
128,617,218
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
n=int(input("Enter a number:")) for a in range(1,n+1): if(a%2!=0): print(a)
[ "meghla1609" ]
meghla1609
340b095ec4062dde8148adabe8d7ebd8d2a943ef
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-7656.py
10937f95c28b3285eca774c387abc68a7bd677dd
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,506
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
51950844b2630036ff9b584784e2a4469b8eb0c3
69146cad3095676e201ea6d72b01443ef84619ed
/Approval/admin.py
dba6b44c3dd92090a7344da462d53dbc9968f45d
[]
no_license
import-keshav/Rassoi
318b17d95aba2624b8049036c5a0dc093ff47bce
02bd06f083eea89eed4985eeb1b2a6983464a731
refs/heads/master
2022-12-30T05:55:56.335480
2020-10-19T16:40:32
2020-10-19T16:40:32
267,375,275
1
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
from django.contrib import admin from .models import * @admin.register(GroceryApproval) class GroceryApprovalAdmin(admin.ModelAdmin): list_display = ('grocery', 'get_shop_name', 'is_approved', 'action', 'id') search_fields = ('id',) def get_shop_name(self, obj): return obj.grocery.shop get_shop_name.short_descr...
[ "keshavbathla2017@gmail.com" ]
keshavbathla2017@gmail.com
11aa8ba94880d3ca240a6a2b0fb9845f607b9917
deec07f78bcca329003ccab462fc3038e699deff
/234/234.palindrome-linked-list.python3.py
40c3e5ee3488b13e8453d5885b6a005a2fb93908
[]
no_license
Zihua-Liu/LeetCode
98d417ebf799d9610bbca97c8e3f5a37625b654b
a4b945d2732746b3c76a212993ed6a4d612e0614
refs/heads/master
2021-01-18T16:50:04.838751
2019-02-19T01:08:49
2019-02-19T01:08:49
72,458,445
1
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
# # [234] Palindrome Linked List # # https://leetcode.com/problems/palindrome-linked-list/description/ # # algorithms # Easy (34.19%) # Total Accepted: 189.8K # Total Submissions: 555.1K # Testcase Example: '[1,2]' # # Given a singly linked list, determine if it is a palindrome. # # Example 1: # # # Input: 1->2 ...
[ "liuzihua0911@gmail.com" ]
liuzihua0911@gmail.com
b5a2b2e4430ab5eb053e9f0cf4223e8eb66506eb
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L3FW/3FW-2Z_wat_20Abox/set_5.py
a1b7ba69340eee8b9fe3474ed01932af95f6623c
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L3FW/wat_20Abox/ti_one-step/3FW_2Z/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
1ea123c26123c1b01eee8b452d03035bac4e2883
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_24/models/new_name.py
e0339e06fa8b7720f6e18f2ec8211a147550cbec
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,712
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.24 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
beb468ec10c8ee3c67b57f0ad4ce9331b006f056
0f2290ba2dc722c93addbfefd58606556bc4b31d
/scripts/rsyslog-impstats.py
f1a84c1d2eadf332c59d40e7029f887f6237a0f5
[ "MIT" ]
permissive
xiaomatech/zabbix
e6020e8ea51fde2b4244956380520ea047dd115b
d306ba996e425ff280dee3232dba0c17c8e542bd
refs/heads/master
2020-04-01T22:35:38.034706
2016-11-09T15:50:43
2016-11-09T15:50:43
64,374,672
8
6
null
null
null
null
UTF-8
Python
false
false
2,964
py
#!/usr/bin/python -u # -*- coding: utf-8 -*- # File managed by puppet import os import re import json import sys import argparse import subprocess log = "/var/log/rsyslogd-impstats.log" pid_file = '/var/run/rsyslog-impstats.pid' def tail(f, n): process = subprocess.Popen( ("tail -n " + n + " " + f + " |...
[ "xianhua@meizu.com" ]
xianhua@meizu.com
e2551c41d10bbe4453082dafb7e3e526fff9c712
553fb249e513eadf6ad7444fba0babc0e5dd50f9
/graphgallery/functional/adj_matrix/add_selfloops.py
edb9b0cf1b62df56f7be269032e23d61b14b94de
[ "MIT" ]
permissive
gsn-180/GraphGallery
4b1a7c9f9ba82f4bf577972007af6653a83ad60c
104ee3aff80fa44bbc519dd6f984c1a8486cfb70
refs/heads/master
2023-01-30T16:19:44.840433
2020-12-11T08:32:39
2020-12-11T08:32:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
import numpy as np import scipy.sparse as sp import graphgallery as gg from ..transforms import Transform from ..functions import repeat from ..decorators import multiple class AddSelfLoops(Transform): """Add self loops for adjacency matrix.""" def __init__(self, fill_weight: float = 1.0): """ ...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
e9d5c69db42d412f06f10d82227b9680ca778823
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_10/models/target_post.py
1f4be72ebe76d6d52157c41830e4d360e62c161e
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,115
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.10, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.10 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import t...
[ "azaman@purestorage.com" ]
azaman@purestorage.com
7997249126085fbb769278c4bba7fea33e13d852
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/WW/FullRunII/Full2017_v7/sublepPT/TheoUnc/configuration.py
5dd32d286efe1d7a2ab148f97a42075a26d95e85
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
571
py
# Configuration file to get normalizations of WW theoretical uncertainties treeName = 'Events' tag = 'WW2017_v7_sublepPT_TheoUnc' # used by mkShape to define output directory for root files outputDir = 'rootFile' # file with TTree aliases aliasesFile = 'aliases.py' # file with list of variables variablesFile = 'va...
[ "saumya.phor4252@gmail.com" ]
saumya.phor4252@gmail.com
255c91610ac384d8148cb17762845562e704b796
728d1aeeb788a87c2d1b442a83d0045a6d85515f
/backend/manage.py
511d7e4d37b1a4f7e3bc341d94409e5f3010e5ee
[]
no_license
crowdbotics-apps/aicheat-28775
c95b35d7d13bd6512ae71b49bb2722cd1317b88b
37a551c66f0c97a098dfd3b196224cb62b1ae194
refs/heads/master
2023-06-06T16:10:10.223056
2021-07-12T19:43:04
2021-07-12T19:43:04
385,364,298
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'aicheat_28775.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
945f03258f746c5b3b06dc420dcf07bb6397636a
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayOpenMiniInnerversionPackageCreateModel.py
cabffe8da9973f26eddbbef6aae8db26f25384f1
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
3,380
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenMiniInnerversionPackageCreateModel(object): def __init__(self): self._app_origin = None self._app_version = None self._bundle_id = None self._mini_app_id...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
95ce0ea8a8fe216ff02508657de06e8b20fafd3a
f1ddac68280cf55252ab4925f13843517caffc0f
/lepidoptera/context_processors.py
d69704d0d4454f3f48b4570745297481c7589854
[ "BSD-2-Clause" ]
permissive
BelgianBiodiversityPlatform/catalogue-lepidoptera-belgium-webapp
b5d5af5796fbcc2caedc193bd56ee08fb957a276
c0ed7fde78f9af5afbd91c53ed3f543046e8dd41
refs/heads/master
2022-12-02T11:37:28.897214
2019-09-17T11:26:18
2019-09-17T11:26:18
149,598,470
2
0
NOASSERTION
2022-11-22T02:21:23
2018-09-20T11:26:21
Python
UTF-8
Python
false
false
1,225
py
from .models import Family, Subfamily, Tribus, Genus, Subgenus, Species, HostPlantSpecies, HostPlantFamily, \ HostPlantGenus, Substrate, Publication, Journal, SpeciesPicture, Photographer def stats_processor(request): return { 'family_counter': Family.objects.count(), 'subfamily_counter': Subf...
[ "nicolas@niconoe.eu" ]
nicolas@niconoe.eu
3cbeaa7ce217660883887829034ac9b098567d1a
b993df6e8d563a75ea6f6ce40a41aa3e59675dbf
/20190917/백준 2439.py
8a5b0915808e150862963a705ce5c75011a55e3a
[]
no_license
BuankerC/projectswea
7d6a5f35b73e553037efd01d6a57811a9778834d
ea169d2352f3785ff2ce47475d203c3f751716cb
refs/heads/master
2020-07-03T11:31:43.283821
2020-01-04T03:19:25
2020-01-04T03:19:25
201,892,552
1
0
null
null
null
null
UTF-8
Python
false
false
80
py
T = int(input()) for tc in range(1, T + 1): print(' ' * (T - tc) + '*' * tc)
[ "ergaster91@gmail.com" ]
ergaster91@gmail.com
bfa3eafdee11ca666c132f331a0185d031ea95b1
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/network/v20190901/virtual_wan.py
33494abe97375e6051d859773daf368ab80dcc41
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,122
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
59dc64277acd8e14000a3489effaf4146ce265af
3bae1ed6460064f997264091aca0f37ac31c1a77
/apps/cloud_api_generator/actor/tasklets/application/reload/application_reload.py
13e68484a042ac8a025f2e2a4c6de7b9a0608fb6
[]
no_license
racktivity/ext-pylabs-core
04d96b80ac1942754257d59e91460c3a141f0a32
53d349fa6bee0ccead29afd6676979b44c109a61
refs/heads/master
2021-01-22T10:33:18.523799
2017-06-08T09:09:28
2017-06-08T09:09:28
54,314,984
0
0
null
2017-06-08T09:09:29
2016-03-20T11:55:01
Python
UTF-8
Python
false
false
181
py
__author__ = 'aserver' __tags__ = 'application', 'reload' __priority__= 3 def main(q, i, params, tags): params['result'] = '' def match(q, i, params, tags): return True
[ "devnull@localhost" ]
devnull@localhost
8c607f8254d519659e3e5a8ead0615999f0ee951
b7f4d00f369d4d2629842d49ff58cfed0a748b25
/es.py
b0f834865aebf7f593e325ae521139b6a9c99d1c
[]
no_license
news-ai/email
f974598577a2127be2520c14f6512263575223a8
8460ae67b2da3c6ec43be16e5f9c886ec5db29e7
refs/heads/master
2023-01-13T17:51:35.111228
2018-07-06T20:56:10
2018-07-06T20:56:10
71,025,707
0
0
null
2022-09-23T21:54:55
2016-10-16T02:28:21
Python
UTF-8
Python
false
false
8,361
py
# -*- coding: utf-8 -*- # Stdlib imports import json import os # Third-party app imports import moment import certifi from elasticsearch import Elasticsearch, helpers # Elasticsearch ELASTICSEARCH_USER = os.environ['NEWSAI_ELASTICSEARCH_USER'] ELASTICSEARCH_PASSWORD = os.environ['NEWSAI_ELASTICSEARCH_PASSWORD'] # El...
[ "abhi@younow.com" ]
abhi@younow.com
9a1d82fe0a64c95448851df171e4d545dd597ffa
186a60582ff2513a3906a0df479c5d1c542ce02e
/python03/main.py
22bb69d962b9c0ec78edddca1ef193b0e05b7fbf
[]
no_license
ss820938ss/pythonProject
1c86866a44e4d9948a86e96096fde6d7f629cf98
237cb3c74ff193557addcf5bb43af4b87cb8df4e
refs/heads/master
2023-06-23T05:55:45.856598
2021-07-23T07:48:37
2021-07-23T07:48:37
388,368,723
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# print("안녕하세요") # print("fdfdfd"); print("tlfgod") # print("dfdfd"); print("rerrr") # # a = 10 # if a == 10 : # print("a에 10이 있네용") # if a > 10 : # print("dldldl") # print("====================") # # print(1+2) # # quotient, remainder= divmod(5, 2) # print(quotient, remainder) # # print(0b110) # # prin...
[ "ss820938ss@gmail.com" ]
ss820938ss@gmail.com
06e82ddabea0e9c243964e49eff8689b5f205add
98e1716c1c3d071b2fedef0ac029eb410f55762c
/part9-Manipulating-DataFrames-with-pandas/No36-Locating-suspicious-data.py
0f1a6efe43e34dc0090d274cbafc4cfb5bce64d3
[]
no_license
iamashu/Data-Camp-exercise-PythonTrack
564531bcf1dff119949cbb75e1fd63d89cb2779f
c72a4e806494f0e263ced9594597dc8882c2131c
refs/heads/master
2020-07-22T00:23:12.024386
2019-04-12T09:24:42
2019-04-12T09:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
#Locating suspicious data ''' You will now inspect the suspect record by locating the offending row. You will see that, according to the data, Joyce Chepchumba was a man that won a medal in a women's event. That is a data error as you can confirm with a web search. Instructions 100 XP Create a Boolean Series with a c...
[ "beiran@hotmail.com" ]
beiran@hotmail.com
4db6a4eaee367c7d162b5d0bd535ffb9fff876f0
eeee5415490822b06d4d75061f30b46b0ea7086d
/basic/xpath.py
e92477e1e8ce95188d51833efe3c171fdfb47aac
[]
no_license
nearxu/python-exercise
891784380abfc0af16555f1a8f8bc3efc60be5e9
8d11a25cfbbd271e593846c18265aaaafead62fe
refs/heads/master
2020-03-28T10:42:38.878811
2019-05-07T08:20:49
2019-05-07T08:20:49
148,136,835
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/usr/bin/env python # coding=utf-8 # Python中利用xpath解析HTML # https://zhuanlan.zhihu.com/p/29436838 # 多个属性匹配 #xpath('//li[contains(@class, "li") and @name="item"]/a/text()') import codecs from lxml import etree html = etree.parse('./a.html', etree.HTMLParser()) result = html.xpath('//ul/li/a/text()') print(resul...
[ "2448895924@qq.com" ]
2448895924@qq.com
98db372d02a3eaecb4c259916033c46df4953521
79e45a6e4846927da432087aba845036b11c5622
/UAT/bin/MarketData/Daily/AVYdailyOHLC_withvol.py
77a56ba26b103e22e54a842f7867986aff1a734e
[]
no_license
mjserpico/Scarlett-Trading
cba2bcfaacf886b9d851d978683b4ce641c8f6ad
9778717393dbb0818ee026356996d1806345a6c2
refs/heads/master
2020-03-21T21:39:51.108503
2019-05-09T02:06:26
2019-05-09T02:06:26
139,076,454
0
0
null
null
null
null
UTF-8
Python
false
false
13,162
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 08 09:16:43 2017 @author: Michael """ import mysql.connector from ib.opt import Connection from ib.ext.Contract import Contract import time import logging import datetime import datalink #universal logins for environment import math Flag = 0 CCY1 = "AV" CCY2 = "Y" Table ...
[ "mjserpico@gmail.com" ]
mjserpico@gmail.com
6c34f43cbf968040245338a8dcacb99ce12c1919
9be1120cf3c2761bf1b96553b5facebc2ccd6c48
/import/parus_id_to_odoo.py
cc557dcdc78d40e5762e109896e98d1b8f21cc23
[]
no_license
shurshilov/Tabel
b453804050ebe0d079fac5e02461e0d01cced145
98fd117712a5e13665a45735f9cb2a522d050b41
refs/heads/master
2021-01-10T18:45:03.938387
2015-10-21T09:44:10
2015-10-21T09:44:10
33,519,135
4
5
null
null
null
null
UTF-8
Python
false
false
2,372
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- charDict = { '1': 1, '2': 2, '0': 0, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, 'A': 10, 'B': 11, 'C': 12, 'D': 13, 'E': 14, 'F': 15, 'G': 16, 'H': 17, 'I': 18, 'J': 19, 'K': 20, 'L': 21, 'M': 22, 'N': 23, 'O': 24...
[ "shurshilov.a@yandex.ru" ]
shurshilov.a@yandex.ru
9aa1072619ff28910eb25de8025ed58305f10edd
887f86963badac6d18c7aff8a3c421a104c27553
/tests/parallel_compile_test.py
31442343a507cc7badd89e4dd73288d44d9843f9
[]
no_license
monperrus/ProgramFix
3c63e69325f7f62e188bc39364732b8d01eb0635
64f7c943775664147333d1a3e73a3cb10d7d4aa4
refs/heads/master
2022-04-19T16:30:11.213078
2020-04-01T07:27:43
2020-04-01T07:27:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
import time import torch import torch.multiprocessing as mp from common.util import compile_c_code_by_gcc, add_pid_to_file_path code = r''' #include<stdio.h> int main(){ int a=0, b=0; printf("a %d, b %d", a, b); return 0; } ''' def single_compile(t, t2, t3): file_path = '/dev/shm/main.c' targe...
[ "lfsoftware13@gmail.com" ]
lfsoftware13@gmail.com
2d04fbbdf66c4e5920da4c8623add2101420dde2
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/client/postprocessing/effects/registrationtest.py
5c3fb643caa01e1e30ebf134795f6a69928f4cc7
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,561
py
# 2015.11.10 21:32:33 Střední Evropa (běžný čas) # Embedded file name: scripts/client/PostProcessing/Effects/RegistrationTest.py from PostProcessing.RenderTargets import * from PostProcessing.Phases import * from PostProcessing import Effect def registrationTest(): """This method creates and returns an effect that...
[ "info@webium.sk" ]
info@webium.sk
e79f14f557dacbb908035fe7ca6e7a047a415e2d
52b5773617a1b972a905de4d692540d26ff74926
/.history/fractions_20200802113728.py
a05bcf450aad3a1bc0890373f1e60c53efc7bcf9
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
def fractions(numerator,denominator): if denominator == 0 : return str(numerator) number = numerator / denominator if numerator % denominator == 0: return str(numerator // denominator) newStr = str(number) print(newStr) largeStr = newStr.split(".") if len(largeStr[1]) > 1: ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
02b10140e8cfe27df2be4a78356cb75de1df799c
ce0a92171137659d6d86d23d331ef577def1818d
/project/project/urls.py
9baf76918a1edb01261977ccb2eea93b5397f08f
[ "Apache-2.0" ]
permissive
jprsurendra/assignment
a202924541b781b8ccd35f9d943084fb7b8a972c
136be6da1da346dc9fdf5e6c1a5c5cb071f441be
refs/heads/main
2023-08-29T05:28:58.598006
2021-10-12T14:37:39
2021-10-12T14:37:39
415,862,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "jpr_surendra@yahoo.co.in" ]
jpr_surendra@yahoo.co.in
159796deaeb05034f4d4c49053556add18cc25fd
46018865ffe257281aa1c43885e827f173ff9226
/detectron/modeling/balanced_positive_negative_sampler.py
bb72a4c97af8d8bcad50ffc73656deac319eac09
[]
no_license
CzzzzH/detectron.jittor
c7218b1d5762509d3829f1d5598c3283919a91cc
4833beadace973943d44506f8d6ac6c78fc4ecdc
refs/heads/master
2023-03-16T22:07:33.263609
2021-03-23T11:04:43
2021-03-23T11:04:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import jittor as jt class BalancedPositiveNegativeSampler(object): """ This class samples batches, ensuring that they contain a fixed proportion of positives """ def __init__(self, batch_size_per_image, positive_fraction):...
[ "1905692338@qq.com" ]
1905692338@qq.com
9d9ba66ff8584c9faaef63f1a477dfda15bc3d11
9d8df81dbf36f8d0055f9fedddc9de96ef7176a5
/onmt/train_single.py
f1ad1839568c2e86b1d7f29ded85b7d91f6851e6
[ "MIT" ]
permissive
UKPLab/dlg19-dualgraph2text
a729959e011f41a3a7518d170a8b76ff16627315
bcee8a54e0b2d5c426769e5f0790751f1d64d430
refs/heads/master
2020-06-06T07:58:09.823963
2020-05-12T11:57:52
2020-05-12T11:57:52
192,684,276
0
0
null
null
null
null
UTF-8
Python
false
false
4,288
py
#!/usr/bin/env python """Training on a single process.""" import os import torch from onmt.inputters.inputter import build_dataset_iter, \ load_old_vocab, old_style_vocab from onmt.model_builder import build_model from onmt.utils.optimizers import Optimizer from onmt.utils.misc import set_random_seed from onmt.tr...
[ "ribeiro@aiphes.tu-darmstadt.de" ]
ribeiro@aiphes.tu-darmstadt.de
57331d7809d058a94f2c0824be6d9e3d9ea9aa1c
3d63fa8d216a497eccc925d3c867f35c29558e62
/teerace/blog/feeds.py
112ee61e085bb57472e5e36d9f7ce338e65ff704
[ "BSD-3-Clause" ]
permissive
SushiTee/teerace
4cfc8b099ce16a92bf6e4ab182825ac8468bb501
882fa50ab32ab0a17f79de94be449a9e1df1ee0c
refs/heads/master
2020-04-05T22:44:58.602778
2016-10-30T23:05:54
2016-10-30T23:05:54
1,143,437
4
1
null
null
null
null
UTF-8
Python
false
false
964
py
from django.contrib.syndication.views import Feed from django.utils.feedgenerator import Atom1Feed from blog.models import Entry class LatestEntriesFeed(Feed): feed_type = Atom1Feed title = "Teerace blog" link = "/blog/" subtitle = "Updates on changes and additions to Teerace." def items(self): return Entry.o...
[ "ksocha@ksocha.com" ]
ksocha@ksocha.com
40b264a2a7a42fa7994ebb73587882fbef85d153
99550e545d3f97fe3857ef9174dc96b162734305
/setup.py
ba3affe634a7eb7af30255195bc5c104d5817b47
[]
no_license
acorbat/earm
737f8f3c49a142cb17d565f82052718a745a1c1e
957d910aef856f62486898b29254339151c125aa
refs/heads/master
2021-05-17T05:14:52.950139
2020-10-28T01:07:17
2020-10-28T01:07:17
250,642,750
0
0
null
2020-03-27T20:42:21
2020-03-27T20:42:20
null
UTF-8
Python
false
false
778
py
#!/usr/bin/env python from distutils.core import setup def main(): setup(name='earm', version='1.0', description='Extrinsic Apoptosis Reaction Model', author='?', author_email='?', packages=['earm'], requires=['pysb'], keywords=['systems', 'bio...
[ "jmuhlich@bitflood.org" ]
jmuhlich@bitflood.org
97de15e456c355ec9f40b466da3dee64e2565326
994e5b7156a8c1429238facc1463ad1846f1a89a
/models/official/nlp/nhnet/trainer_test.py
93f38b1310743e914d541f3b2c92c837735a5a29
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/Felect_M46O
f0c2a9a6c48695705e0b68c92c3a414bacfaa599
6d8b80e216c40233d2c1b9e51fe6f605a3b5ef4b
refs/heads/main
2023-04-22T11:33:59.448117
2021-05-06T13:01:12
2021-05-06T13:01:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
# Lint as: python3 # Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
[ "noreply@github.com" ]
TrellixVulnTeam.noreply@github.com
df7160f60ce1dc8e7428d20bd95fcd302786a423
1da91735d1a4d19e62b2d19826d9a1e85d88d690
/dxpy/dxpy/utils.py
595b60955a6d9daac1886ebee086056f6762d58f
[]
no_license
Hong-Xiang/dxl
94229e4c20f0c97dfe21f8563889c991330df9c3
29aed778d1c699cc57d09666a20b4ca60196392f
refs/heads/master
2021-01-02T22:49:20.298893
2018-05-22T13:42:20
2018-05-22T13:42:20
99,401,725
1
1
null
2018-05-22T13:42:21
2017-08-05T05:34:35
Python
UTF-8
Python
false
false
1,382
py
import yaml import rx import logging from enum import Enum logger = logging.getLogger(name=__name__) class Tags: undifined = '<undifined>' def with_default(x, default=None): return x if x is not None else default def add_yaml_support_enum(cls, tag): fmt = 'YAML support added for {cls} with tag: {tag...
[ "hx.hongxiang@gmail.com" ]
hx.hongxiang@gmail.com
62399c895c41e76bdaddc4d7a707adedec85841e
94a511b7b31858d383be63ee5a3c1d3272bb6bf3
/global_vars.py
49969eaf4d16a8a3857e1ec156e462d0ce1d3199
[]
no_license
kolevatov/python_lessons
90bb3c2139e23cfc0f25f993c4ee636737e7daa8
ff9290d87a5bdc20ddfb7109015ddb48429a4dd8
refs/heads/master
2021-01-13T01:18:15.997795
2018-03-06T15:03:03
2018-03-06T15:03:03
81,450,169
1
0
null
null
null
null
UTF-8
Python
false
false
278
py
# How to read global variable, change and hide variable def read_global(): print (gl_var) def change_global(): global gl_var gl_var += 1 print(gl_var) def hide_global(): gl_var = 0 print(gl_var) gl_var = 100 read_global() change_global() hide_global()
[ "kolevatov@bpcbt.com" ]
kolevatov@bpcbt.com
70e75e62ddea6caf6230a2530294b2bb7f604572
802c002ecd90be6b489e0250ec4454a11c17ed1d
/src/assignments/assignment11/invoice.py
5780721e0e39370b05c9750f464757c8d72f0e77
[ "MIT" ]
permissive
acc-cosc-1336/cosc-1336-spring-2018-EricScotty
3a088285ae853a9ff5d747f2301f755c5e3749b3
80c0249a583dc178cfc7bb95b851d7f3240dc3e9
refs/heads/master
2021-09-14T05:54:02.132705
2018-05-08T23:27:04
2018-05-08T23:27:04
118,071,042
0
0
MIT
2018-04-23T02:51:05
2018-01-19T03:22:13
Python
UTF-8
Python
false
false
2,432
py
from customer import Customer class Invoice: def __init__(self, customer, date): #change bill_to parameter name to customer and modify code below to use customer class that self.customer = customer self.date = date self.invoice_items = [] self.invoice_total = 0...
[ "noreply@github.com" ]
acc-cosc-1336.noreply@github.com
bf2c09eb74705cbcef294571164f75eaaaa7e1d4
3663eb777d1007eeee4ad674df203a6afbfa9953
/_peuler/001-100/049.py
25f46ca6d8873d11a661109d06acb3773b00becb
[]
no_license
lhr0909/SimonsAlgo
5eeffa4048728e8bd9f1cae095b2fc6748d9f14c
fdfa18e33f5ff8e26e1832ea29216490d3c5973c
refs/heads/master
2016-09-06T20:18:38.627126
2015-04-18T03:30:22
2015-04-18T03:30:22
19,721,896
1
0
null
null
null
null
UTF-8
Python
false
false
599
py
def sieve(n): li = [True] * n li[0] = False li[1] = False for i in range(2, n): if li[i]: for j in range(i*i, n, i): li[j] = False return li primes = sieve(10000) for i in range(1000,10000): if primes[i]: for j in range(1, 10000): if i+j<1...
[ "no.lhr0909@gmail.com" ]
no.lhr0909@gmail.com
1276c568ee25e18f0439fb1b28c8d82559c15000
10abe784a87ce1f9b37383471af15c69db7087ed
/snippets/my_matplot.py
fabbee31624737bba7f20ff4848b99d90fad512b
[]
no_license
The-Cooper-Union-CS102/Lesson-7-Introduction-To-Python
e5f27dadbea27dda83bde7893771d39c0d4cb064
e663bb2e5373b19fd79553757c0ab52e9600518a
refs/heads/main
2023-01-24T13:03:21.161831
2020-11-24T22:51:54
2020-11-24T22:51:54
303,213,874
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
import numpy as np import matplotlib.pyplot as plt # Time from 0s to 5s in 0.2s intervals t = np.arange(0.0, 5.0, 0.2) plt.plot(t, t, 'r--', t, t**2, 'b--', t, t**3, 'g--')
[ "cory.nezin@gmail.com" ]
cory.nezin@gmail.com
724af356c6f624f63181da850e9d8be95e0fc152
74853c22225a6364adf218bc1509f66e47e10b5b
/config/renderman_subtasks_for_freq.py
12b35873f4317dffa008c96ab4ebf731b366914f
[]
no_license
yamins81/v1framework
6fe571a76419760503e27bb1ea9df6e07f4ce0e2
723737ad2b96a29f616370be7cbadf2acaabb5c3
refs/heads/master
2020-06-03T23:36:24.704693
2011-11-03T15:06:10
2011-11-03T15:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
from bson import SON import model_categories as mc def combine_ors(ors): import copy import itertools def combine_dicts(d): y = copy.deepcopy(d[0]) for dd in d[1:]: y.update(dd) return y return map(combine_dicts,itertools.product(*ors)) config = { 't...
[ "dyamins@gmail.com" ]
dyamins@gmail.com
3419a56a871f43d83226eec723da20f32dd1285e
7e27f55e562599e9c60dc879dbd31eb6f572c56f
/src/odin/odin/client/events.py
ddc612a0ab835b3b55fa2ce1b37c1c9c477224e6
[ "Apache-2.0" ]
permissive
cruelfate/odin
78cdf7fbf9235c02da51c275ad8f7c680482a9c3
3100d9529ffd383eba701e6cefb98b20e18123cc
refs/heads/master
2023-01-30T02:16:48.030192
2020-12-15T16:23:19
2020-12-15T16:23:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,860
py
"""Websocket client to get the k8s events that act on some resource.""" import json import asyncio import argparse import requests import websockets from odin import LOGGER, APIField, APIStatus from odin.k8s import Event from odin.client import ODIN_URL, ODIN_PORT from odin.utils.formatting import print_table async ...
[ "dpressel@gmail.com" ]
dpressel@gmail.com
62cda59afee099d2e9fbcb2f49da62a83972a3cd
2faf152deabb0476ac43d4754f3b529fd678a36d
/ch_15.py
2249e4bfe2616dfd5d547ae2ad2e5bf112c8c4c7
[]
no_license
Sakartu/matasano
46cba1325a01c41f6272f80b9fa698c6338c2e50
b42e5a2ce5daa2fcc6691873e995a4b0d05e03d2
refs/heads/master
2021-01-23T09:51:50.305296
2015-08-10T15:37:59
2015-08-10T15:37:59
32,535,769
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
#!/usr/bin/env python3 # -*- coding: utf8 -*- """ Usage: test_pkcs7_depad.py """ import util __author__ = 'peter' def main(): cases = [ (b"ICE ICE BABY\x04\x04\x04\x04", True), (b"ICE ICE BABY\x05\x05\x05\x05", False), (b"ICE ICE BABY\x01\x02\x03\x04", False), (b"ICE ICE BABY", F...
[ "sakartu@gmail.com" ]
sakartu@gmail.com
2e3a3b4b3eac47c42d6158ea9a62827f18da3a3b
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/test_inverse_op.py
fd540dcd741eef4c007eae19a982bc186c09d7d7
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
5,948
py
# Copyright (c) 2020 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" ]
hutuxian.noreply@github.com
1b0ffe2dd55c9b0374bf8b13e2b64478b49dc350
5e76a420178dcb9008d6e4c12543ad0e3a50c289
/python/414.py
c1581b3f878959a987096683ca0c3d84f460a233
[]
no_license
LichAmnesia/LeetCode
da6b3e883d542fbb3cae698a61750bd2c99658fe
e890bd480de93418ce10867085b52137be2caa7a
refs/heads/master
2020-12-25T14:22:58.125158
2017-07-18T06:44:53
2017-07-18T06:44:53
67,002,242
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
# -*- coding: utf-8 -*- # @Author: Lich Amnesia # @Email: alwaysxiaop@gmail.com # @Date: 2016-10-19 20:03:27 # @Last Modified by: Lich Amnesia # @Last Modified time: 2016-10-19 20:03:29 class Solution(object): def thirdMax(self, nums): """ :type nums: List[int] :rtype: int """...
[ "lich@D-10-157-202-8.dhcp4.washington.edu" ]
lich@D-10-157-202-8.dhcp4.washington.edu
1e54ed6caa92737d6ee65aa5d86503d3a9446bff
5a7a3447d434a458a7bb63f2aa11b64c284d5492
/GUI/Pyqt5/watch-test_QTime.py
f07c68dbdb703a3f82498b7d3c7c8d9a4922beba
[]
no_license
woshimayi/mypython
35792e12036a7a05f12d3ef7006637b2b03f0e2e
7f1eb38e8585bf6d2f21d3ad0f64dace61425875
refs/heads/master
2023-09-01T08:59:12.301836
2023-08-30T05:30:54
2023-08-30T05:30:54
130,017,052
4
0
null
2018-12-02T16:18:14
2018-04-18T06:50:36
HTML
UTF-8
Python
false
false
2,107
py
import sys from PyQt5.QtWidgets import QWidget, QPushButton, QApplication, QListWidget, QGridLayout, QLabel from PyQt5.QtCore import QTimer, QDateTime class WinForm(QWidget): def __init__(self, parent=None): super(WinForm, self).__init__(parent) # 设置标题 self.setWindowTitle('QTimer ...
[ "woshidamayi@Gmail.com" ]
woshidamayi@Gmail.com
f192d223a1b44ec375e8f27b9d67b1fa237867a5
67a0edf1f41c33c8167e7f45e30b675cc48efdbd
/adm_uni/models/res_partner.py
62658e6c197177fc65a576b84329f287baadb915
[]
no_license
sgcalle/hhrr
bfe8ff3b4cfa23a4f26191a1c594bf91c1f9427d
3f1e5f5357f530cb78b422f4ba4f74eb8ac5d05e
refs/heads/master
2021-07-16T18:53:06.580329
2021-03-17T08:28:35
2021-03-17T08:32:24
240,117,974
0
0
null
2021-03-17T08:32:24
2020-02-12T21:21:57
Python
UTF-8
Python
false
false
380
py
''' Created on Feb 1, 2020 @author: LuisMora ''' from odoo import models, fields class ResPartnerExtended(models.Model): _inherit = ["res.partner"] uni_application_id = fields.Many2one("adm_uni.application", string="Application") uni_inquiry_id = fields.Many2one("adm_uni.inquiry", string="Inquiry") ...
[ "LuisAngelMalaveMora@gmail.com" ]
LuisAngelMalaveMora@gmail.com
4c94d341c7ed9394e6f892660ce26e800e02880c
3f2b2c885e81a15ed22b4a781bc2e8f5f264b336
/common/utilities/tests/test_secrets.py
21b6603fe9128e9f67ac8e11586a641529f85dee
[ "Apache-2.0" ]
permissive
nhsconnect/prm-deductions-integration-adaptors
9c947dbca3c5bf22874efb35364cd22b52acd795
17c78a2b2df3755736500d8b10f3e09c99263ef2
refs/heads/deductions
2021-07-20T11:13:59.339647
2020-12-22T09:48:09
2020-12-22T09:48:09
246,785,891
0
2
Apache-2.0
2021-04-30T21:57:17
2020-03-12T08:50:37
Python
UTF-8
Python
false
false
2,701
py
import io import logging import unittest from unittest.mock import patch import utilities.config as config from utilities import integration_adaptors_logger, secrets @patch.dict(secrets.secret_config) @patch("os.environ", new_callable=dict) class TestSecrets(unittest.TestCase): def test_setup_secret_config_popu...
[ "noreply@github.com" ]
nhsconnect.noreply@github.com
9b0e41372b6fef73857badc1672fa79018a0bf18
54d2887e3c910f68366bd0aab3c692d54245e22a
/others/bitFlyer/probA/main.py
6f3114cff90815547fc89080eb5286c598cba47f
[]
no_license
Kevinrobot34/atcoder
7aec367fd2c6b589e9d583dae7b3c7520ce9fa12
482ea508f098f81e4f19522fe518dd22c781aca9
refs/heads/master
2022-07-10T23:44:45.290022
2022-06-29T11:30:26
2022-06-29T11:30:26
158,081,477
1
1
null
null
null
null
UTF-8
Python
false
false
53
py
a = int(input()) b = int(input()) print(int(a/b)*b)
[ "kevinrobot34@yahoo.co.jp" ]
kevinrobot34@yahoo.co.jp
18d53e49d61d0602be8dee1366c6c59de0558569
f942f82fb1b9c2eb0c4cf03ca2254f4207fd08d2
/Maintenance/views.py
b80a192c9e67a82af6cfc7a4c0e7328d059f86a9
[]
no_license
mahdy-world/Fatoma-Restaurant
2b6aec149c20d5526d5d7a505479cc29c811d666
a500397741e72d0cf28dbb8f64c914144835d6c2
refs/heads/master
2023-06-27T19:27:35.606292
2021-07-31T13:53:18
2021-07-31T13:53:18
391,366,717
0
0
null
null
null
null
UTF-8
Python
false
false
20,052
py
from django.shortcuts import HttpResponseRedirect, redirect, get_object_or_404, render, HttpResponse from django.urls import reverse_lazy from django.views.generic import * from django.contrib.auth.mixins import PermissionRequiredMixin, LoginRequiredMixin from .forms import * import xlwt # Create your views here. cla...
[ "salmazidan1997@gmail.com" ]
salmazidan1997@gmail.com
706ea25ecefebafa8f062e4adc7a616da5f682dc
1511782b2cc3dcf1f7e058e5046ec67a5561ba51
/AVC/NAIST/0501/b.py
006e7fd87291ef69b247c5f3c43408584879399c
[]
no_license
keiouok/atcoder
7d8a053b0cf5b42e71e265450121d1ad686fee6d
9af301c6d63b0c2db60ac8af5bbe1431e14bb289
refs/heads/master
2021-09-07T11:48:55.953252
2021-07-31T15:29:50
2021-07-31T15:29:50
186,214,079
4
0
null
null
null
null
UTF-8
Python
false
false
780
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii...
[ "ko.yuka.kp2@is.naist.jp" ]
ko.yuka.kp2@is.naist.jp
95faf1ba3d1483bae707e17a168e975984e741eb
d4160cd906a4e3fa4173c09e1067b8d6e66dd207
/final_project/data_exploration.py
ea3e29f9d645a2aa3998936284437af6295404e9
[]
no_license
LevinJ/ud120-projects
8d0492207f249b83c5868a0ca3d43807984a435f
71669549ee0520a4142a24c66744ec86a6c5baea
refs/heads/master
2021-01-21T09:34:42.287718
2016-02-05T05:33:53
2016-02-05T05:33:53
49,031,047
0
0
null
2016-01-05T00:08:24
2016-01-05T00:08:24
null
UTF-8
Python
false
false
3,797
py
#!/usr/bin/python import sys import pickle sys.path.append("../tools/") import matplotlib.pyplot as plt from feature_format import featureFormat, targetFeatureSplit from tester import dump_classifier_and_data import tester import numpy as np import pandas as pd class Data_Exploration_Proxy: def __init__(self,da...
[ "jianzhirong@gmail.com" ]
jianzhirong@gmail.com
1e6758963cb17a36277cd799c1d4d2beea8ec192
3e07bd338a0103d9cd2b1ee578d1598119a2e9d7
/kattis/owlandfox.py
020849bc7411a25e58b20e7b0c078ac765ebf695
[]
no_license
CianLR/judge-solutions
1b6f05ee099237b26df6cce0880e5acea24b525e
96a2a3e9080bc532d87b194074cc0ddf9a51d8e9
refs/heads/master
2023-07-20T00:08:21.021733
2023-07-18T13:58:52
2023-07-18T13:58:52
84,674,947
8
3
null
null
null
null
UTF-8
Python
false
false
226
py
N = int(raw_input()) for _ in range(N): num = list(raw_input()) for i in range(len(num) - 1, -1, -1): if num[i] != '0': num[i] = str(int(num[i]) - 1) break print int(''.join(num))
[ "cian.ruane1@gmail.com" ]
cian.ruane1@gmail.com
363d2aaa16bc180f6037b22453a3f7b2605ca3fc
29eacf3b29753d65d8ec0ab4a60ea1f7ddecbd68
/lightly/openapi_generated/swagger_client/models/selection_input_predictions_name.py
b7864f0b30ad689c3f21528a65285f124798fed9
[ "MIT" ]
permissive
lightly-ai/lightly
5b655fe283b7cc2ddf1d7f5bd098603fc1cce627
5650ee8d4057139acf8aa10c884d5d5cdc2ccb17
refs/heads/master
2023-08-17T11:08:00.135920
2023-08-16T12:43:02
2023-08-16T12:43:02
303,705,119
2,473
229
MIT
2023-09-14T14:47:16
2020-10-13T13:02:56
Python
UTF-8
Python
false
false
1,037
py
# coding: utf-8 """ Lightly API Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: ...
[ "noreply@github.com" ]
lightly-ai.noreply@github.com
7e601aeea3eb8b63f6a1bfb1a0dc2897cae72324
5d9932a1abeae21b8201368e5cf465680f106761
/data_ccxt/bitstamp.py
e8dfa09e970293f727d7ef5c610a600bffd3089e
[]
no_license
qqzhangjian789/text
5dc6086e55d8a9494b889fa40cc9730da6bf5940
938be0df0a965aacf13cfb942548b8d2a1c7cec0
refs/heads/master
2023-05-04T11:38:47.178345
2021-05-21T17:44:13
2021-05-21T17:44:13
286,178,737
1
6
null
null
null
null
UTF-8
Python
false
false
57,527
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from data_ccxt.base.exchange import Exchange # ----------------------------------------------------------------------------- try: bas...
[ "qqzhangjian000@163.com" ]
qqzhangjian000@163.com
67f8544e8ebeca35cf45d8b94c5ac24a33614c5f
74951991a9e1dbe92d4999da9060409a9492bdc3
/fibonacci-number/fibonacci-number.py
6a9d97dfae5a7a87580fa33b234cda1313bb5ad2
[]
no_license
drpuig/Leetcode-1
fd800ee2f13c7ce03fa57c8a1d10b3aa6976d7c0
4ee104f3069c380e1756dd65f6ff6004554e6c0e
refs/heads/main
2023-07-15T08:57:32.971194
2021-08-21T08:29:24
2021-08-21T08:29:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
class Solution: def fib(self, n: int) -> int: if n <= 1: return n prev, cur = 0, 1 for _ in range(2, n + 1): prev, cur = cur, prev + cur return cur
[ "32110646+trungnguyencs@users.noreply.github.com" ]
32110646+trungnguyencs@users.noreply.github.com
fab7013c9aeb9caa8c8f5cef2e80f81831cf817d
c07380914a44df334194f234c33858f357365c19
/ENV/lib/python2.7/site-packages/sympy/integrals/trigonometry.py
ea5161745c8ba839c81db6e94161fd60ade6a3a4
[]
no_license
damianpolan/Music-Genre-Classification
318952ae7de5d0b0bdf5676e28071c7b38d0e1c5
acd723ae1432ce798866ebb97ef3c484db37e971
refs/heads/master
2022-12-24T09:23:55.514337
2016-03-22T14:49:28
2016-03-22T14:49:28
42,965,899
4
4
null
2022-12-12T20:26:24
2015-09-22T23:05:37
Python
UTF-8
Python
false
false
10,608
py
# -*- coding: utf-8 -*- from __future__ import print_function, division from sympy.core import cacheit, Dummy, Eq, Integer, Rational, S, Wild from sympy.functions import binomial, sin, cos, tan, sec, csc, cot, Piecewise # TODO sin(a*x)*cos(b*x) -> sin((a+b)x) + sin((a-b)x) ? # creating, each time, Wild's and sin/co...
[ "damian.polan@gmail.com" ]
damian.polan@gmail.com
6be194121dc332e7d39c6e8afb9d1a84c45efaed
3903b6df1b2ddaaf298a038d369cbbfe9559dcc9
/tensorpack/utils/timer.py
95d7678a5cf784eafcc55b84f78d362d90a0d6db
[ "Apache-2.0" ]
permissive
YongyiTang92/tensorpack
36fa87eb2d30a447445d01553aaa9d6cd397b84c
fed46d9186450d9d3764231e5bdf0bbc4a173c15
refs/heads/master
2020-04-17T06:47:12.563406
2019-01-18T03:48:57
2019-01-18T03:48:57
165,588,185
0
0
Apache-2.0
2019-01-14T03:18:29
2019-01-14T03:18:29
null
UTF-8
Python
false
false
2,695
py
# -*- coding: utf-8 -*- # File: timer.py import atexit from collections import defaultdict from contextlib import contextmanager from time import time as timer import six from . import logger from .stats import StatCounter if six.PY3: from time import perf_counter as timer # noqa __all__ = ['total_timer', 't...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
c4936708a22957e707c7cdbeb6e6a523bc2c89f7
8db5940186f1c8d9823de481644203e0041061d5
/Serial/模型搭建/(UnParallel)TSS-T6-Random/3.result_handling_valiation(Pluto32)_6_dsyr2k.py
31ceb491eb163c9a99333d05324c427f9bfb3b02
[]
no_license
CharlieCurry/TSS2.0
a2233d8066dd9326fdb45433fdfbd7f95d93db44
d3466de435b98bad459bdfa9556a8e18af40a643
refs/heads/master
2023-05-12T05:44:49.243273
2021-06-02T06:14:27
2021-06-02T06:14:27
372,784,146
1
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
import numpy as np import pandas as pd #在加载csv文件之前,先手动把表头给去掉 # src = '_data_32' # # val_pre_data = np.loadtxt('prediction/valiation_prediction'+src+'.csv', delimiter=",") src = 'dsyr2k' val_pre_data = np.loadtxt('prediction/valiation_prediction_32'+src+'.csv', delimiter=",") #tmp现在是128*8的矩阵 print(val_pre_data.shape) ...
[ "2209832406@qq.com" ]
2209832406@qq.com
419eb37c29dbe3e80720e6f8f30de73aca9cd699
20eb522fca572d7d41d10690a2cef0c163532bd9
/generators/learning/learning_algorithms/PlacePolicyMSEFeedForward.py
a3cee3f15dd3772cc47fe001707c763f78029333
[]
no_license
beomjoonkim/guiding_gtamp_light
b5e0357a6996895b0d557f68686671e188c23446
a060f6c76574ed8c399913851d3a0edc13c98fab
refs/heads/master
2020-08-15T16:11:08.765550
2020-04-17T19:36:48
2020-04-17T19:36:48
215,368,489
0
2
null
null
null
null
UTF-8
Python
false
false
2,083
py
from keras.layers import * from keras.layers.merge import Concatenate from keras.models import Model from PlacePolicyMSE import PlacePolicyMSE import tensorflow as tf class PlacePolicyMSEFeedForward(PlacePolicyMSE): def __init__(self, dim_action, dim_collision, dim_pose, save_folder, config): PlacePolic...
[ "beomjoon@mit.edu" ]
beomjoon@mit.edu
9800244d0e15eda98d45acbc2a1281ae4922154a
4c331f04770529db05a212c3e374e276e58b1292
/myproject/myproject/settings.py
94aca1dde956ae1a73894e5b922ee05898a41c62
[]
no_license
KinyaElGrande/django_journey
e29f6a7c2cbea38550c9d218be685cc40b72f768
be8047a1f7d7bf8f95ba30b26e7b65c909379f0e
refs/heads/master
2020-03-23T14:22:20.708603
2018-07-20T06:24:41
2018-07-20T06:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,155
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 1.11.4. 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 ...
[ "you@example.com" ]
you@example.com
4f167df729994f16f807b64d90eecd2aac161ea9
7426522061b222e8d3336b18ff941bb98ff9626c
/qtoggleserver/core/events/base.py
a6706fb74611aec54c1fc695d79548d29ac18f9c
[ "Apache-2.0" ]
permissive
DigitEgal/qtoggleserver
82833aaeb6f0bdad5f28243f132a639f4b406001
54b6ac53742af9529fd349d4fc207b0dc8a38d3b
refs/heads/dev
2023-05-07T14:49:11.273023
2021-04-30T20:40:08
2021-04-30T20:40:08
360,039,836
0
0
Apache-2.0
2021-04-21T05:18:08
2021-04-21T05:13:07
null
UTF-8
Python
false
false
2,305
py
from __future__ import annotations from typing import Optional import abc import logging import time from qtoggleserver import system from qtoggleserver.core import api as core_api from qtoggleserver.core.typing import GenericJSONDict from qtoggleserver.utils import logging as logging_utils logger = logging.getLo...
[ "ccrisan@gmail.com" ]
ccrisan@gmail.com
ce3cec0de68dae11308692b07fb76da1831af262
97062249c6eb04069c6fb01e71d06bc334c828e1
/apps/sqoop/src/sqoop/api/link.py
60d617562d77116559cc5bf417e01d64299c65d8
[ "Apache-2.0" ]
permissive
Albertsss/hue
1c8b31c64cc420a029f5b5b80712fb3d0c6cbd6e
454d320dd09b6f7946f3cc05bc97c3e2ca6cd485
refs/heads/master
2021-07-08T17:21:13.237871
2018-05-30T06:03:21
2018-05-30T06:03:21
135,386,450
0
1
Apache-2.0
2020-07-25T13:36:58
2018-05-30T04:06:18
Python
UTF-8
Python
false
false
5,440
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "540227148@qq.com" ]
540227148@qq.com
f68e1ade572f958f306020e65b69207cfd3d76dc
4546398a18590e4e182629fb55d185547dd6df0a
/2019/problems/minesweeper/data/random_generator.py
6294fe5a290e2ab1b02767ab38464f7a670b51ca
[]
no_license
ForritunarkeppniFramhaldsskolanna/Keppnir
352341fa97c6349af65b513c03171f3e706f7db2
65c8eb5358d8a49f956edf76c2d47b9372accc3c
refs/heads/master
2023-04-28T15:33:36.396225
2023-04-23T15:00:15
2023-04-23T15:00:15
78,303,702
1
2
null
null
null
null
UTF-8
Python
false
false
611
py
import sys import random # Type of testcase: # 1: specific # 2: specific # 3: Given values st = int(sys.argv[1]) n = 0 m = 0 k = 0 if st == 1: n = random.randint(2,15) m = random.randint(2,15) k = random.randint(2,n*m) elif st == 2: n = random.randint(2,250) m = random.randint(2,250) k =...
[ "bjarki.agust@gmail.com" ]
bjarki.agust@gmail.com
e94498585a0c71538016b8068aed16f696053d7b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/automl_HPOlib/HPOlib-master/HPOlib/benchmarks/logreg_on_grid.py
b993fac0fa049ab697a24adea26f4348158f0063
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
816,361
py
import sys def save_logreg_on_grid(params, ret_type='validation', **kwargs): if "lrate" not in params or "l2_reg" not in params or "batchsize" not in \ params or "n_epochs" not in params: sys.stderr.write("No params found ['lrate', 'l2_reg', 'batchsize', 'n_epochs']: " ...
[ "659338505@qq.com" ]
659338505@qq.com
672489e1ffbf17b0f7b4dc9533f29886af81be3a
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_22/models/protection_group_snapshot_patch.py
561c963a901609246bd040735cf9dedce19ead97
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
6,691
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.22 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
3aeb0b415d39e6de176d2ceeec38a7458ca772e2
9afbb6993450d1e0c3bae68e86844bd06d4419ee
/class_progs/c31_1.py
7d0566894e6451c2a633e7fdcf997a9df42f60b5
[]
no_license
Jigar710/Python_Programs
6f331caac30878655d4cca4ad97d4214c0262088
714a6306487eb6712f32ccb51b6a2407a81873fa
refs/heads/main
2023-02-25T12:24:44.874199
2021-01-28T15:43:24
2021-01-28T15:43:24
332,869,164
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
class Test: def set(self): self.a = 10 t1 = Test() t2 = Test() t1.set() t2.set() print(t1.a) print(t2.a) t1.a = 99 print(t1.a) print(t2.a) t2.a = 999 print(t1.a) print(t2.a)
[ "jigar.shekhat.777@gmail.com" ]
jigar.shekhat.777@gmail.com
5dab2a3ceb3a6f68845a3517f76b730426c79e02
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2251/60787/244962.py
053fc0436c288cac261bf6877c0473ba04fd91be
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
431
py
n=int(input()) points=[] for i in range(0,n): points.append([int(k) for k in input().split(",")]) max=0 for i in range(0,n-2): for j in range(i+1,n-1): for k in range(j+1,n): temp=points[i][0]*points[j][1]-points[i][0]*points[k][1]+points[j][0]*points[k][1]-points[j][0]*points[i][1]+points[k...
[ "1069583789@qq.com" ]
1069583789@qq.com
8bd6b2d83eec8e784eae017c49f4390002124b8d
aec9a1f3d1d36f19724e745ca4d09a20f67208dc
/api/work/inputs.py
c943596ba41c17ce74c29c6dab0a8129bc437194
[]
no_license
endlessor/open-united-backend
b1b1c3411d0d48bc79b35895c70f24d773ac7344
86f6905cce14b834b6bf059fd33157249978bd14
refs/heads/main
2023-04-29T13:35:28.529360
2021-05-17T14:16:39
2021-05-17T14:16:39
368,211,786
1
0
null
null
null
null
UTF-8
Python
false
false
819
py
import graphene class StackListInput(graphene.InputObjectType): stacks = graphene.List(graphene.String, required=False) class TaskListInput(graphene.InputObjectType): sorted_by = graphene.String(required=False) statuses = graphene.List(graphene.Int, required=False) tags = graphene.List(graphene.Stri...
[ "robcoder@hotmail.com" ]
robcoder@hotmail.com