blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
65b0d2f29c02796c886ccf4f3f1113eb0bb68c3c
6a42be86d02c4fbb28eed462053645ecf89a13b4
/python/leet/784-letter-case-permutation.py
b32d3d561bb39273ef0b7d53fe6421df2f928dad
[]
no_license
d4rkr00t/leet-code
ac9d896ba7bd6abca68ed136972a83a5930b1dbd
d557855bcaa90f066788b7472e0295694f532e24
refs/heads/master
2021-07-18T22:24:38.127291
2020-05-29T03:33:41
2020-05-29T03:33:41
172,479,313
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
# Letter Case Permutation # https://leetcode.com/problems/letter-case-permutation/ # easy # # Time: TBD # Space: TBD # # Solution: # Recursion def letterCasePermutation(S: str) -> [str]: res = [S] def recur(str, pos): res = [] if pos >= len(str): return res res.append(s...
[ "d4rkr00t@gmail.com" ]
d4rkr00t@gmail.com
dd52e9f7af313c6feab5b12c58105a1714296e72
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_punishing.py
fbc2816e8cfd6c1394da00505c49f00324c9bbec
[ "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
328
py
#calss header class _PUNISHING(): def __init__(self,): self.name = "PUNISHING" self.definitions = [u'to be damaged because of rough treatment: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.j...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c2860fe5d4aa5449fe4d6aabc449f9c8721bea65
a26a3605f8055a28083107b98800d72bfcc11fd9
/daraz_mobiles/daraz_mobiles/settings.py
cbc7d9847a4a44ee932b8b81f40da3891603faac
[]
no_license
huzaifabaloch/Modern-Web-Scraping
521c3bd9302c3be0743a16cb65a02bf5a6666d9e
021c5f987d7c150118340ccbf986be51ecdca349
refs/heads/master
2020-09-26T23:40:46.306998
2020-06-30T17:10:49
2020-06-30T17:10:49
226,367,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,366
py
# -*- coding: utf-8 -*- # Scrapy settings for daraz_mobiles project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest...
[ "huzbaudi3@gmail.com" ]
huzbaudi3@gmail.com
23cdf9f2ea09ec008053562226fa46639a195232
675810f0f32e37efe193bcf30566dc843d1bd485
/tasks/migrations/0002_task_raw.py
9e5a3d4f78db923d318bdcae38f7a2527f780de3
[ "MIT" ]
permissive
pddg/task_categorizer
abfa15d8354113eab7dea2878ed76de8345c1aea
7716802ae7c50a091d666f45beac59ac3fcb2d03
refs/heads/master
2021-09-23T18:54:45.022341
2020-01-13T15:35:20
2020-01-13T15:35:20
228,353,027
0
0
null
2021-09-22T18:15:35
2019-12-16T09:44:02
JavaScript
UTF-8
Python
false
false
422
py
# Generated by Django 3.0 on 2019-12-17 02:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AddField( model_name='task', name='raw', field=models...
[ "s.kokuryo@gmail.com" ]
s.kokuryo@gmail.com
a31b456d03f69b283d1a84a964651bd6b2e5cc52
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L35/35-31_wat_20Abox/set_1ns_equi_m.py
e576862c994f2e9bea327318a95d90794067cd70
[]
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
923
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L35/wat_20Abox/ti_one-step/35_31/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_m.in' temp_pbs = filesdir + 'temp_1ns_equi_m.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...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
044aff3f9ea9f8628d00f4ddd3e72485dde276ea
751d837b8a4445877bb2f0d1e97ce41cd39ce1bd
/poj/1942-paths-on-a-grid.py
68c4c5725a550f3fe42e9ef0d4de2fd324ebcf0c
[ "MIT" ]
permissive
qeedquan/challenges
d55146f784a3619caa4541ac6f2b670b0a3dd8ba
56823e77cf502bdea68cce0e1221f5add3d64d6a
refs/heads/master
2023-08-11T20:35:09.726571
2023-08-11T13:02:43
2023-08-11T13:02:43
115,886,967
2
1
null
null
null
null
UTF-8
Python
false
false
1,744
py
#!/usr/bin/env python """ Description Imagine you are attending your math lesson at school. Once again, you are bored because your teacher tells things that you already mastered years ago (this time he's explaining that (a+b)^2=a^2+2ab+b^2). So you decide to waste your time with drawing modern art instead. Fortunat...
[ "qeed.quan@gmail.com" ]
qeed.quan@gmail.com
fe73504c22ba5697a38fc8c7bc37ee4f2737e282
3996539eae965e8e3cf9bd194123989741825525
/RecoBTag/ONNXRuntime/pfDeepDoubleBvLJetTags_cfi.py
6d5927660d79bdc69353daeda4e6d35fd357b012
[]
no_license
cms-sw/cmssw-cfipython
01990ea8fcb97a57f0b0cc44a8bf5cde59af2d98
25ee4c810103c4a507ca1b949109399a23a524c5
refs/heads/CMSSW_11_2_X
2023-09-01T16:56:00.658845
2022-06-20T22:49:19
2022-06-20T22:49:19
136,184,115
1
0
null
2022-10-19T14:04:01
2018-06-05T13:47:28
Python
UTF-8
Python
false
false
527
py
import FWCore.ParameterSet.Config as cms pfDeepDoubleBvLJetTags = cms.EDProducer('DeepDoubleXONNXJetTagsProducer', src = cms.InputTag('pfDeepDoubleXTagInfos'), input_names = cms.vstring( 'input_1', 'input_2', 'input_3' ), output_names = cms.vstring(), version = cms.string('V1'), flavor = cms.st...
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
0f8b81ce84d0f3606e4057b1da7609132d714d9f
64ab5b65afdf8d950c4b56ad2259133b95fc2fec
/zeus/vcs/api.py
48850a82a6d599aedbb6e650a867e744005e0d4c
[ "Apache-2.0" ]
permissive
getsentry/zeus
3e88895443b23278fdb4c25121422ee214630512
6d4a490c19ebe406b551641a022ca08f26c21fcb
refs/heads/master
2023-09-01T14:20:11.396306
2021-04-30T17:08:33
2021-04-30T17:08:33
96,131,433
222
27
Apache-2.0
2022-06-01T03:17:16
2017-07-03T16:39:35
Python
UTF-8
Python
false
false
6,989
py
from aiohttp.web import Response, json_response from functools import wraps from flask import current_app from uuid import UUID import sentry_sdk from zeus import auth from zeus.exceptions import InvalidPublicKey, UnknownRevision from zeus.utils.sentry import span from .utils import get_vcs, save_revision def log_...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
8cc2229a3159de997c5d6a19ca292ad6959f720c
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC300~ABC399/ABC305/F.py
e17c92734b6143d19005f92fed68997e388d2f9e
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
N, M = map(int, input().split()) leave = set() seen = [False]*(N+1) seen[1] = True now = 1 parent = [-1]*(N+1) while 1: if now == N: print('OK') exit() info = input().split() info = list(map(int, info)) seen[now] = True k = info[0] edge = info[1:] for e in edge: if e ...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
a9d2d5ce2edd5c6e444482df5de13ae780004eaa
5ecfa1bf82a7a9fcb542f5063e0ef1c439e0607d
/chapter_13/mnist_cnn_exp8.py
cc5d8fcd6114f2952ee0a1bc5a13c27d2a4b163b
[ "MIT" ]
permissive
alexiewx/PracticalDeepLearningPython
54256e1e973d30d4290ae9346ee2d314ab6f59c8
7466bac89e6e8e1e491dcacc5172598a05920d79
refs/heads/main
2023-08-30T22:39:04.848840
2021-10-24T17:47:39
2021-10-24T17:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
from __future__ import print_function import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D, MaxPooling2D, Activation from keras import backend as K N = 1000 batch_size = 128 num_classes = 10 epochs = 12 # in...
[ "oneelkruns@hotmail.com" ]
oneelkruns@hotmail.com
51acae53ac0c7c5e15b24f1980907bd060823aed
9e30a239886210dc57e6c7cb9a71ad95a840712e
/views/comment_post/tests/snapshots/snap_test_case_01.py
7cb8502bbd908721fe6f4ddcdf5c848b5a61d9c1
[]
no_license
sridhar562345/fb_post_v2
0a26d661a3f335d9a9cf129c24265d7674b3fb22
dfd150ab5521f05291f66944d7a8686a00477547
refs/heads/master
2022-11-08T00:32:35.752419
2020-06-23T15:32:02
2020-06-23T15:32:02
274,440,245
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['TestCase01CommentPostAPITestCase::test_case status'] = 404 snapshots['TestCase01CommentPostAPITestCase::test_case body'] = { 'http_statu...
[ "=" ]
=
8b22166db0872e39df7d5dba16458e4002b8d84b
6acdc11c60e874e85adba173abb90f279049ab89
/pondy.py
401385269e6ba0be34fe34c2f4c6eee38d0d97ba
[]
no_license
bala977/balaji
3ce9123709b1be1a24b8fd2235405e9a9be68382
ba73e7591e7c86daef86081a15a19760dcac16b8
refs/heads/master
2020-06-11T16:58:56.256340
2019-08-05T10:03:27
2019-08-05T10:03:27
194,030,685
0
4
null
null
null
null
UTF-8
Python
false
false
171
py
h5,m15= map(int, input().split()) h25,m25= map(int, input().split()) if(h5>h25): z=h5-h25 y=m15-m25 print(z,y) else: t=h25-h5 s=m25-m15 print(t,s)
[ "noreply@github.com" ]
bala977.noreply@github.com
ece7d5ab080e95964a2f8a6b0e2798bcd5d7434f
4e8876d7b29cf9fb05849da77553b8a7e3783bdc
/src/plugins/processing/algs/gdal/ogr2ogrdissolve.py
e05071790c6fb943ffe5740f55d20abdb9040030
[]
no_license
hydrology-tep/hep-qgis-plugin-lite
48477f504b6fc1a9a9446c7c7f5666f4b2ccfee7
781cbaa1b3e9331de6741dd44a22322048ab176c
refs/heads/master
2021-03-27T17:01:18.284421
2018-06-27T12:09:58
2018-06-27T12:09:58
70,825,462
0
0
null
null
null
null
UTF-8
Python
false
false
6,516
py
# -*- coding: utf-8 -*- """ *************************************************************************** ogr2ogrdissolve.py --------------------- Date : Janaury 2015 Copyright : (C) 2015 by Giovanni Manghi Email : giovanni dot manghi at naturalgis do...
[ "joaa@localhost.localdomain" ]
joaa@localhost.localdomain
8b633ffc9cd12bb1a130b1a0d363f81d9832c30d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03402/s336943732.py
d65fc16bf7aaca585904573ab6290cb183fd8edf
[]
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
611
py
a, b = map(int, input().split()) s = [[0 for _ in range(100)] for _ in range(100)] for i in range(100): for j in range(100): if j == 0: s[i][j] = "." elif j == 99: s[i][j] = "#" else: if i % 2 == 0: s[i][j] = "#" else: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6ffd7ab35e636fa58c161ba74c75f280661bc797
8cc72f1e6a0162e37e2a093916b100db5dcf2997
/csf_tz/fleet_management/doctype/trip_location/test_trip_location.py
953718efd337dcec2c2997e9bd47db226fe1cd15
[ "MIT" ]
permissive
questerp/CSF_TZ
c6f9b8fa2022e833ccf4c267c7d088d9647cb6da
38127a5f2d2127b54b29194b2f082f39012d9424
refs/heads/master
2023-07-12T07:05:03.498285
2021-08-20T07:30:35
2021-08-20T07:30:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Bravo Logistics and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest # test_records = frappe.get_test_records('Trip Location') class TestTripLocation(unittest.TestCase): pass
[ "info@aakvatech.com" ]
info@aakvatech.com
f90d0698ea599033fa18b46d3c7bd1d26234948f
60530f3e1d22fcb3b51be0b9f482a912c8203bb0
/Python_Workbook/J02.py
c09ebbf9cf29ef160fc93f2a025cdcc8daa741b5
[]
no_license
cinxdy/Python_practice
1afb2aca1c92d16d98459407ae02ca2ed7f7832c
8a2642b51c6ad73840dae964b1a55cbb53f7b9f7
refs/heads/master
2022-05-09T00:10:15.849881
2022-04-03T09:38:53
2022-04-03T09:38:53
180,339,041
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
def Max(num): max = num[0] for i in range(1,10) : if num[i] > max : max = num[i] return max def Min(num): min = num[0] for i in range(1,10) : if num[i] < min : min = num[i] return min num = [ 0 for i in range(10) ] for i in range(10): num[i] = float(input("%dth number : "%(...
[ "cinxdys2@gmail.com" ]
cinxdys2@gmail.com
4223549d68ae8cad68a90edd74e550be55c7b88c
9848a719ddfdd21b5fe1fa2f55da290c0f6952dc
/largest-divisible-subset.py
bf0c64e0e488e310421fc554211283559853f2dc
[]
no_license
maomao905/algo
725f7fe27bb13e08049693765e4814b98fb0065a
84b35ec9a4e4319b29eb5f0f226543c9f3f47630
refs/heads/master
2023-03-13T12:38:55.401373
2021-03-25T01:55:48
2021-03-25T01:55:48
351,278,248
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
""" DP if nums[i] % max(subset) == 0, news[i] can be included new element is 8 and current subset [2,4] """ from typing import List class Solution: def largestDivisibleSubset(self, nums: List[int]) -> List[int]: nums.sort() N=len(nums) memo = {} ans = [] def helper(i):...
[ "maoya.sato@gmail.com" ]
maoya.sato@gmail.com
4b70a4e386052e8fb4e3de8cc02295527911f905
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/201/48822/submittedfiles/testes.py
682bfe9ae486f2b22a92285bae11823daee2ea2e
[]
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
307
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO sm=float(input('Digite um valor:')) if 0<=sm<=500: print('Nunhum crédito') if 500<sm<=1000: i=sm*0.3 print('30% do saldo médio') if 1000<sm<=3000: i=sm*0.4 print('40% do saldo médio') if sm>300: i=sm*0.5 print('50% do saldo médio')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5c9c52e20aa8e0b6f3598d5627925db16b1ea166
8fb70fa7c1a3a9aa6ab10ca040e93c4e67eb3bc2
/{{cookiecutter.project_parent_dir}}/{{cookiecutter.project_slug}}/release.py
9d58d7895b87b6785eab51219c2faa1b7d0534ea
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
mrlesmithjr/cookiecutter-python-project
0f3489aa3ec90e476596f7699b47815c43a38a96
8ea1053376b5fb775f9067ad892a74a53611c227
refs/heads/master
2023-08-08T08:38:53.145127
2023-05-26T05:29:26
2023-05-26T05:29:26
243,688,346
3
0
MIT
2023-07-25T17:18:07
2020-02-28T05:49:27
Python
UTF-8
Python
false
false
211
py
"""{{cookiecutter.project_slug}}/release.py""" # Version tracking for package. __author__ = '{{cookiecutter.author}}' __version__ = '{{cookiecutter.version}}' __package_name__ = '{{cookiecutter.project_slug}}'
[ "mrlesmithjr@gmail.com" ]
mrlesmithjr@gmail.com
4d7edb66cd8a4d63fc06710cc9a6726d07c19af7
a406a0d9f8d0654e78b98399d0a4a99469abe6e0
/httpd/sock/server.py
5fd3673baba570031cd58845f7c91177beb5c013
[]
no_license
bethewind/pylite
ad4719151490e972beca555426b69da74cd76174
6d4ba6a894ab7d858bb3a15cedbfb956cfbb15db
refs/heads/master
2023-03-31T05:06:13.885429
2021-04-03T07:39:10
2021-04-03T07:39:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import socket import os HOST = "localhost" PORT = 8080 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) server.bind((HOST, PORT)) server.listen(64) while True: (client, address) = server.accept() data = client.recv(1024) print data client.close()
[ "zhu_guang_wei@qq.com" ]
zhu_guang_wei@qq.com
475e940aa4765508f4d3375009c638344ae52d08
426aed70aa6925105f10c7fcb7b611b277bf8b84
/examples/tensorflow/gcn/train.py
27bce76525b97b63c79bf158845b0991a3398d6c
[ "Apache-2.0" ]
permissive
hengruizhang98/dgl
0ce7201ca7380482440f031cb8ced6ca0e8c8dc1
195f99362d883f8b6d131b70a7868a537e55b786
refs/heads/master
2023-06-10T22:21:45.835646
2021-04-13T12:29:43
2021-04-13T12:29:43
336,804,001
3
0
Apache-2.0
2021-02-07T14:16:20
2021-02-07T14:16:20
null
UTF-8
Python
false
false
5,171
py
import argparse import time import numpy as np import networkx as nx import tensorflow as tf import dgl from dgl.data import register_data_args from dgl.data import CoraGraphDataset, CiteseerGraphDataset, PubmedGraphDataset from gcn import GCN def evaluate(model, features, labels, mask): logits = model(features, ...
[ "noreply@github.com" ]
hengruizhang98.noreply@github.com
5822c84094d8efbf7af75583cf819e876561bdb2
3f53e38076713ab49fd03a54c7c9d3e21de5eb14
/Pyrado/scripts/hyperparam_optimization/hopt_tspred_nf.py
49960023f4aa028340855a5ae176a30a940b4c67
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
arlene-kuehn/SimuRLacra
4510473789d1c8927c8d5969a9606238523d5dd7
15901f70f0538bce19acdda2a0018984f67cc0fe
refs/heads/master
2023-01-28T13:10:05.607575
2020-12-04T14:47:01
2020-12-04T14:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,756
py
# Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and # Technical University of Darmstadt. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source ...
[ "fabio.muratore@famura.net" ]
fabio.muratore@famura.net
7226746ffe47220e01904de693cd833cd4c8e01b
6679fd1102802bf190294ef43c434b6047840dc2
/openconfig_bindings/bgp/neighbors/neighbor/afi_safis/afi_safi/l3vpn_ipv4_multicast/__init__.py
c72d56ed731c5f59b1d118341f79f6aea1640c15
[]
no_license
robshakir/pyangbind-openconfig-napalm
d49a26fc7e38bbdb0419c7ad1fbc590b8e4b633e
907979dc14f1578f4bbfb1c1fb80a2facf03773c
refs/heads/master
2023-06-13T17:17:27.612248
2016-05-10T16:46:58
2016-05-10T16:46:58
58,091,515
5
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "rjs@jive.com" ]
rjs@jive.com
78196ea42ee35e1f64b72b15133de559e65d446b
b2a72c68252a80764554ca2ba1e372f82f4fc2ad
/lib/datasets/json_dataset_cityscapes.py
9a591c23222add384c2a5173a6432be0c8fb2a98
[ "MIT" ]
permissive
manmanCover/multi-task-pytorch
f320bfd60dd121b897e6d521944f2fb9d7669b47
7d57645ec8be0ca0c258cfa99fb788e3cd37f106
refs/heads/master
2020-06-03T03:01:40.554172
2019-01-30T16:44:52
2019-01-30T16:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,881
py
# Copyright (c) 2017-present, Facebook, Inc. # # 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...
[ "729622788@qq.com" ]
729622788@qq.com
9b28bac42080722c5a67691e653e9e593cef409f
70611d6a16cbb7a90a8e2b9f793e462640cd9ac7
/hsreplaynet/api/urls.py
4e85cca706ebf593f19324600fea52189be00220
[]
no_license
smikula/HSReplay.net
990d2dc12af4053a34024b8b73abf86aa18c884c
384872de472d66425e7f6daed5aff7b421f7c1d0
refs/heads/master
2021-01-22T00:28:51.593392
2016-08-05T18:27:48
2016-08-05T21:13:13
64,862,023
0
0
null
2016-08-03T16:37:03
2016-08-03T16:37:03
null
UTF-8
Python
false
false
685
py
from django.conf.urls import url, include from rest_framework.routers import DefaultRouter from . import views router = DefaultRouter() router.register(r"agents", views.APIKeyViewSet) router.register(r"tokens", views.AuthTokenViewSet) router.register(r"uploads", views.UploadEventViewSet) urlpatterns = [ url(r"^v1/"...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
d1df74ee9bb174c2aa208a15a672156d66257f0f
bb54c1e045db1993de6e7cbaf62a232b8b82d895
/producto_marca_app/serializers/__init__.py
97d62b76f371e0d047e0a29dd36a001bde704adc
[]
no_license
AndresOsorio95/BackendMarca
1037f1db6e4ecb3949df9defeda3c0dc4a1c0cd5
a1bbfcdab70dc7a7ee80c0699c6d80286e93195d
refs/heads/main
2023-06-07T09:02:41.819850
2021-07-02T18:47:05
2021-07-02T18:47:05
382,433,965
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from .producto_marca import ProductoMarcaSerializer, GetShortProductoMarcaSerializer, GetLiteProductoMarcaSerializer, SaveProductoMarcaSerializer
[ "andres.osorio0710@gmail.com" ]
andres.osorio0710@gmail.com
87f0c3e780ad11f493a2dbd98d3cfb188a740a74
e8b839063a3455d57a557de8df6442213b3bc724
/spider_op/export_data.py
fdb328cda04bc0da0c6c9d93e7246d8666d7a39c
[]
no_license
logonmy/internet-content-detection
7d52502c58bd2bf448c31cfb61569f59fa3f729c
9470fbf6e856706a202309b2629d511d4b3ac805
refs/heads/master
2020-04-25T08:25:12.726134
2017-10-24T08:11:44
2017-10-24T08:11:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import sys sys.path.append('../') import init from utils.export_data import ExportData import time def main(): # 导出数据 export_data = ExportData() key_map = { 'id': 'int__id', 'name': 'str_name', 'url': 'str_url', } export_data.export_to_oracle(source_table='op...
[ "boris_liu@foxmail.com" ]
boris_liu@foxmail.com
f85da874f4344823b736f1b8bf2a25914831c972
74482894c61156c13902044b4d39917df8ed9551
/test/test_get_transaction_details_by_transaction_id_response_item_blockchain_specific_bitcoin_script_sig.py
67d0e621a729765dd5603286a4d7c447e89de33a
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
1,660
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
376a7588d160c01c14aa93766aa7ce1e747c9237
5982cd8db693927e83cd99f8ea1acf4fc90b8b9b
/Configurations/ControlRegions/WW/configuration.py
b2c90cbf24575f0c26db684960ee4dcab01c2ffd
[]
no_license
cedricpri/PlotsConfigurations
61fc78ce9f081fd910a25f8101ea8150a7312f25
5cb0a87a17f89ea89003508a87487f91736e06f4
refs/heads/master
2021-01-17T09:46:55.026779
2016-09-01T09:30:09
2016-09-01T09:30:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# example of configuration file tag = 'WW' # used by mkShape to define output directory for root files outputDir = 'rootFile' # file with list of variables variablesFile = 'variables.py' # file with list of cuts cutsFile = 'cuts.py' # file with list of samples samplesFile = 'samples.py' # file with list of sa...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
34c2eb525c534ecc41426972c869ce65172c80f5
f146cef3f2172275c8d7f526dab92951fa50eb2c
/COURSE/droplet_dockerized/app/app.py
91669525a628b44c65ff4eb242ab486e87a9c26a
[]
no_license
mehranj73/Bootcamp
fed04d3858d6d0bc1cdad94e1f05bd4f7a47c0ec
bd575cd02329ad1ce21b05350380dfbf17cbdd89
refs/heads/master
2023-02-09T06:50:00.590751
2019-08-22T18:56:02
2019-08-22T18:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import random import string from flask import Flask from flask_migrate import Migrate from models import TodoItem from database import db from models.todo_list import TodoList from urls import todo_list_api, todo_items_api, tags_api app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://postgres...
[ "rachovsky@gmail.com" ]
rachovsky@gmail.com
fd20de92110798456b496ff74784f90b35d95924
51108a50ffb48ad154f587c230045bb783f22240
/scenes/charactercreation/classes.py
3e28a94348c252931ab823d41920b3e5cff71e8e
[ "MIT" ]
permissive
ChrisLR/BasicDungeonRL
c90bd0866c457557cccbad24e14689d5d6db7b00
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
refs/heads/master
2021-06-15T13:56:53.888646
2019-08-05T16:33:57
2019-08-05T16:33:57
104,269,987
3
0
MIT
2019-08-05T16:28:23
2017-09-20T21:35:19
Python
UTF-8
Python
false
false
3,998
py
from functools import partial from clubsandwich.ui import ( ButtonView, LayoutOptions, WindowView, ) from bflib.characters import classes from core.ui import CoreUIScene from core.ui.views import SelectableButtonView, KeyAssignedListView class ClassSelection(CoreUIScene): _inactive_fg = '#ffffff' ...
[ "arzhul@gmail.com" ]
arzhul@gmail.com
a51a4c660a1f8d9db639e0df7bcb0da70a8a992b
090b8ab6d3e6c4b48bd697520e6538f22e3c3791
/tests/api/test_fulfillment.py
80d16e65a16a03d191b2bf9872d94af5415b85a0
[ "BSD-3-Clause" ]
permissive
pilotbe2man/saleor
4e887f7bde83e4f1cddf93d3b6c52736a07e2164
c14de2dbe00b4df90c6385feb75d0a4c862e2b0d
refs/heads/master
2022-12-24T14:55:31.031047
2018-09-30T15:05:46
2018-09-30T15:05:46
150,977,187
2
2
BSD-3-Clause
2022-12-08T02:51:42
2018-09-30T15:01:59
Python
UTF-8
Python
false
false
6,530
py
import json import graphene import pytest from django.shortcuts import reverse from tests.utils import get_graphql_content from saleor.order import OrderEvents, OrderEventsEmails from saleor.order.models import FulfillmentStatus CREATE_FULFILLMENT_QUERY = """ mutation fulfillOrder( $order: ID, $lines: [F...
[ "be2man@hotmail.com" ]
be2man@hotmail.com
afafb068fb3aa5bbc36eb2de4a49e6c1bb037399
8f100cb7e5d6b2024e923f8a220c96f703c7172b
/costar_task_plan/python/costar_task_plan/needle_master/actor.py
ad7f71ce157e480b395dfa83a96afd211ab600a5
[ "Apache-2.0" ]
permissive
lk-greenbird/costar_plan
c862eab2e5ca34bd93f5364d4baab7138d897194
be5c12f9d0e9d7078e6a5c283d3be059e7f3d040
refs/heads/master
2022-02-09T17:45:46.403376
2019-07-23T14:41:43
2019-07-23T14:41:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
from costar_task_plan.abstract import * import numpy as np ''' Tracks the player's progress in the game so far ''' class NeedleState(AbstractState): vec = np.array([0,0,0]) def __init__(self,env,vec): self.vec = vec self.gates = [False]*len(env.gates()) def x(self): return self.vec[0] def y(self...
[ "cpaxton3@jhu.edu" ]
cpaxton3@jhu.edu
cc774a408abbf63e6a8833e7858c849afc24dca0
c0c8aeb5aaf08925d8c9e1d660b02c89cbc7ad71
/Algorithms/Medium/24. Swap Nodes in Pairs/answer.py
354a795b327966313009d7e0ef475a157a9d5bbf
[ "Apache-2.0" ]
permissive
kenwoov/PlayLeetCode
b2fdc43d799c37683a9efdc31c4df159cf553bf5
4012a2f0a099a502df1e5df2e39faa75fe6463e8
refs/heads/master
2022-12-17T05:54:22.775972
2020-09-26T14:08:43
2020-09-26T14:08:43
214,839,611
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
from typing import List class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def swapPairs(self, head: ListNode) -> ListNode: if not head: return head f, s = head, head.next while f and s: f.val, s....
[ "kenwoov@outlook.com" ]
kenwoov@outlook.com
1578efffce1ae8b4120cee9ef4aa1cd3987c9bfd
f66a33f8cdd8286320da730be67c89ee00d83d8d
/configs/example/gpufs/hip_samples.py
0d9263e128ec6ceb7672a44eae5ad9ba3af16173
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
H2020-COSSIM/cgem5
0d5812632757e6146f7852c9bf4abe4e9628296a
1222cc0c5618875e048f288e998187c236508a64
refs/heads/main
2023-05-13T14:08:01.665322
2023-05-08T08:39:50
2023-05-08T08:39:50
468,039,890
3
2
BSD-3-Clause
2022-10-12T14:29:33
2022-03-09T18:05:40
C++
UTF-8
Python
false
false
4,533
py
# Copyright (c) 2022 Advanced Micro Devices, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of condi...
[ "ntampouratzis@isc.tuc.gr" ]
ntampouratzis@isc.tuc.gr
65e2d344b93c069bb60333e213b3e3bd14565b4a
53c3462ff265b6273f4a4fa17f6d59688f69def0
/LeetCode/324_wiggleSort.py
e86a744f77eee84b07f5235ccb95dd355f0bf033
[]
no_license
17764591637/jianzhi_offer
b76e69a3ecb2174676da2c8d8d3372a3fc27b5c4
27e420ee302d5ab6512ecfdb8d469b043fb7102d
refs/heads/master
2023-08-03T01:32:51.588472
2019-10-13T07:56:21
2019-10-13T07:56:21
197,692,548
2
0
null
null
null
null
UTF-8
Python
false
false
796
py
''' 给定一个无序的数组 nums,将它重新排列成 nums[0] < nums[1] > nums[2] < nums[3]... 的顺序。 示例 1: 输入: nums = [1, 5, 1, 1, 6, 4] 输出: 一个可能的答案是 [1, 4, 1, 5, 1, 6] 示例 2: 输入: nums = [1, 3, 2, 2, 3, 1] 输出: 一个可能的答案是 [2, 3, 1, 3, 1, 2] 说明: 你可以假设所有输入都会得到有效的结果。 进阶: 你能用 O(n) 时间复杂度和 / 或原地 O(1) 额外空间来实现吗? ''' class Solution: def wiggleSort(se...
[ "17764591637@163.com" ]
17764591637@163.com
8f99c87c8520ee7d0904b829801d8c7d1845d76f
a34507bee8dc5502c663a71f3e98257f8ff0334d
/16_剑指offer二刷/剑指offer一刷/87-把字符串转换成整数.py
018a73950b5c1d5f63234a69ce5c3ccd7bf7800c
[]
no_license
michelleweii/Leetcode
85b7876a3e283f3982dd86de01ccc5470e63388f
0c09b5a018e7334bd49dd251834fc8e547084cc1
refs/heads/master
2022-05-17T07:28:23.684720
2022-04-28T12:40:48
2022-04-28T12:40:48
149,776,312
3
2
null
null
null
null
UTF-8
Python
false
false
618
py
# -*- coding:utf-8 -*- class Solution: def StrToInt(self, s): if not s:return 0 k = 0 while k<len(s) and s[k]==' ':k+=1 num = 0 is_minus = False if s[k] == '+': k += 1 elif s[k] == '-': k += 1 is_minus = True while k<len(s) and ...
[ "641052383@qq.com" ]
641052383@qq.com
5fdcb080a670356754eee3611bfbfaab6a522cad
aba442afba026d2130c4aeca863308ca26e7e472
/examples/automm/kaggle_california_house_price/example_kaggle_house.py
5f54890884e727b375ee4c87f933584d56b7bdcf
[ "Apache-2.0" ]
permissive
stjordanis/autogluon
c8fd03a9bf7624911b13e90239e9260dd8885ddf
6af92e149491f6e5062495d87306b3625d12d992
refs/heads/master
2023-08-21T15:16:53.202431
2023-08-11T20:15:31
2023-08-11T20:15:31
228,360,888
0
0
Apache-2.0
2019-12-16T10:25:32
2019-12-16T10:25:30
null
UTF-8
Python
false
false
6,122
py
import pandas as pd import numpy as np import argparse import os import random from autogluon.tabular import TabularPredictor from autogluon.multimodal import MultiModalPredictor import torch as th def get_parser(): parser = argparse.ArgumentParser( description='The Basic Example of AutoGluon for House Pr...
[ "noreply@github.com" ]
stjordanis.noreply@github.com
203e8570b936c449cca86810439450d45acefc74
b9878c92b857f73ff0452fc51c822cfc9fa4dc1c
/watson_machine_learning_client/libs/repo/mlrepositoryartifact/spark_pipeline_model_loader.py
53c00b96dbea8146a7aa24d18af94fae8a1a36cd
[]
no_license
DavidCastilloAlvarado/WMLC_mod
35f5d84990c59b623bfdd27369fe7461c500e0a5
f2673b9c77bd93c0e017831ee4994f6d9789d9a1
refs/heads/master
2022-12-08T02:54:31.000267
2020-09-02T15:49:21
2020-09-02T15:49:21
292,322,284
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
################################################################################ # # Licensed Materials - Property of IBM # (C) Copyright IBM Corp. 2017 # US Government Users Restricted Rights - Use, duplication disclosure restricted # by GSA ADP Schedule Contract with IBM Corp. # ######################################...
[ "dcastilloa@uni.pe" ]
dcastilloa@uni.pe
e9d2d7c26fbea1f0ac4aeee2bb001a51e4ec71bb
6d0961eb42567764d84d59f11c2ef5819668f007
/lib/implements/flask_app.py
401d72615b1b54103d7a2ccf6bf02490781ce35d
[ "MIT" ]
permissive
iswenhao/Panda-Sandbox
c454177ae6b6cbaf1196db8230d6080bdac46e8a
a04069d404cb4326ff459e703f14625dc45759ed
refs/heads/master
2020-09-07T20:43:01.849284
2019-06-20T15:10:51
2019-06-20T15:10:51
220,908,393
2
0
MIT
2019-11-11T05:33:51
2019-11-11T05:33:51
null
UTF-8
Python
false
false
502
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ================================================== # @Time : 2019-06-20 14:40 # @Author : ryuchen # @File : flask_app.py # @Desc : # ================================================== from apps.apis.router import app from lib.base.Application import Application class F...
[ "chenhao@geyecloud.com" ]
chenhao@geyecloud.com
f26f231c03bade4de4b004f8de3d53aed8f984ba
f30154601c37eaee19fd7c490c7f5fbe72f0f635
/PacketHookModify/mitm/packet_monitor.py
0a47b22fb805fc050fb62738cf40fb7a37c9fc64
[]
no_license
pondelion/Security
2606c33a2c75c0461f0d591cac13c44fe172ce3a
2bc2bef32db059df43002a63f362da803b7f3351
refs/heads/master
2023-03-08T23:43:35.057248
2022-08-14T20:35:11
2022-08-14T20:35:11
158,054,912
3
0
null
2023-03-07T13:50:21
2018-11-18T06:02:29
Smali
UTF-8
Python
false
false
543
py
import os import sys from scapy.all import * from netfilterqueue import NetfilterQueue TARGET_SERVER_IP = '192.168.111.2' TARGTE_CLIENT_IP = '192.168.111.10' TARGET_PORT = 5000 def packet_callback(packet): print(packet) packet.show() try: raw = packet[Raw] print(f'raw : {raw}') p...
[ "programming.deve@gmail.com" ]
programming.deve@gmail.com
e71e02cc15d149ab3f7fc57097d7e5aa4c0225fa
dc6287440e136f76d4b6308e410ebf101ed9e2a9
/ElectionPortal/settings_config.sample.py
cd04284a5a4503543441a6aab0a371a43faaf714
[]
no_license
DheerendraRathor/ElectionPortal
479df5f2663fbae85a5d0b24753f46aeda5c7867
f163ebd9087fe8db0272acc39b1186a3f7022cae
refs/heads/master
2021-01-19T15:06:15.142481
2017-07-18T08:55:21
2017-07-18T08:55:21
50,679,575
2
2
null
2017-07-18T08:55:21
2016-01-29T17:44:13
Python
UTF-8
Python
false
false
808
py
# SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '<SECRET KEY>' DEBUG = False ALLOWED_HOSTS = ['*'] # Voter Key Length VOTER_KEY_LENGTH = 6 # Email server settings EMAIL_HOST = "smtp-auth.iitb.ac.in" EMAIL_PORT = 25 EMAIL_HOST_USER = "" EMAIL_HOST_PASSWORD = "" # Email Id which wil...
[ "dheeru.rathor14@gmail.com" ]
dheeru.rathor14@gmail.com
f14f31ed93fd06c1d5cf979951f569f8d6423c34
ab84edd7474704e14d8003587300d0b3ed39e16b
/9999_some_tiny_program/VideoProgram/api_main.py
5efac5d918da1fdfc09922d518785720431ed8de
[]
no_license
huntercode1905/silenter_read_story
81d5600c9e2fa6d5f9f132ee296122bd50bc6b8e
eb14f37a40eac584d1a9fe287509a2f3c78210fd
refs/heads/master
2023-08-18T02:04:38.888136
2020-10-23T08:29:35
2020-10-23T08:29:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,614
py
from flask import Flask, jsonify, request from config import SQLALCHEMY_DATABASE_URI from flask_sqlalchemy import SQLAlchemy import pymysql import requests import json app = Flask(__name__) app.config['JSON_AS_ASCII'] = False # app.config.from_object(config) app.config['SQLALCHEMY_DATABASE_URI'] = SQLALCHEMY_DATABAS...
[ "silenterofsea@gmail.com" ]
silenterofsea@gmail.com
03ee6fef65bbecbcfb72a1edbca2a4ffdc375464
6e95e9b6a1fc996ebcb46c44d4ef7678f762e4f7
/others/taobao_spider/mall_spider/dao/stream_risk_dao.py
e17df8126a46bc1bddc641d35ae14a29a1e88304
[ "Apache-2.0", "Unlicense" ]
permissive
625781186/lgd_spiders
3a4d6917a01e446136e7aef4c92b9b7a1f8e498d
1c8680115beb42f4daaf6be71bf3fb14fcc2c255
refs/heads/master
2020-08-29T13:21:12.116395
2019-10-21T14:28:00
2019-10-21T14:28:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# coding: utf-8 from mall_spider.dao.abstract_dao import AbstractDao from mall_spider.model.cmm_sys_stream_risk import CmmSysStreamRisk class StreamRiskDao(AbstractDao): def __init__(self, session): super(StreamRiskDao, self).__init__(CmmSysStreamRisk, session) def get_stream_risk_dao(session): retu...
[ "lgdupup" ]
lgdupup
6b6cdf44a91d1751f840441b39d2145aa1c179ac
17e3234ab01fd93233cc453f1495d50424c3bd8f
/latte/model/document.py
8419105d4b744bd76767d78278b973d54cda5eff
[ "MIT" ]
permissive
sunnyakaxd/latte
8943dbf70ce934e04e51b147a54e6dd02dfe43db
de74065122a1f858bd75f8e1a36fca3b23981f4c
refs/heads/master
2023-06-11T10:25:31.217047
2021-07-06T06:40:19
2021-07-06T06:40:19
383,363,137
0
0
NOASSERTION
2021-07-06T06:26:49
2021-07-06T06:26:49
null
UTF-8
Python
false
false
1,117
py
import frappe from latte.utils.caching import cache_in_mem from frappe.model.document import Document from frappe.modules import get_module_app core_doctypes_list = {'DocType', 'DocField', 'DocPerm', 'User', 'Role', 'Has Role', 'Page', 'Module Def', 'Print Format', 'Report', 'Customize Form', 'Customize Form Field',...
[ "himanshu.mishra@elastic.run" ]
himanshu.mishra@elastic.run
61c630c46586944235dd0849ee23b9c1d6aaf0fa
80fde3202f307907f47942ab634e687ba134f8f6
/numDivisors.py
5ebaa3eca2ca5a8b313df4352cc573234777d668
[]
no_license
wuhao007/CS005
f36e1db20c9ba6ffa6f9cad3f9c8a2d0d5e29d86
356fe7c765bb0320012fefcad6802d01034c8d6e
refs/heads/master
2021-01-10T01:17:52.407826
2015-10-02T18:32:18
2015-10-02T18:32:18
43,552,241
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
def numDivisors(N): cnt = 0 for i in range(1, N + 1): if N % i == 0: cnt += 1 return cnt print numDivisors(42)
[ "tohaowu@gmail.com" ]
tohaowu@gmail.com
4e3679bb808d207156fbd15843185f01538c7e43
d1ad7bfeb3f9e3724f91458277284f7d0fbe4b2d
/django/010-django-reset-password/reset_project/wsgi.py
8297cf0f353e71fb8f4c7087b49ac0c83e415055
[]
no_license
qu4ku/tutorials
01d2d5a3e8740477d896476d02497d729a833a2b
ced479c5f81c8aff0c4c89d2a572227824445a38
refs/heads/master
2023-03-10T20:21:50.590017
2023-03-04T21:57:08
2023-03-04T21:57:08
94,262,493
0
0
null
2023-01-04T21:37:16
2017-06-13T22:07:54
PHP
UTF-8
Python
false
false
403
py
""" WSGI config for reset_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO...
[ "qu4ku@hotmail.com" ]
qu4ku@hotmail.com
a4200c57dae36d5af30cee1b8c81e3c92d7571e0
f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41
/starrez_client/models/transaction_link_item.py
922c4f9ce7526c09ef8bf88113ddd2e06c2be328
[]
no_license
CalPolyResDev/StarRezAPI
012fb8351159f96a81352d6c7bfa36cd2d7df13c
b184e1863c37ff4fcf7a05509ad8ea8ba825b367
refs/heads/master
2021-01-25T10:29:37.966602
2018-03-15T01:01:35
2018-03-15T01:01:35
123,355,501
2
1
null
null
null
null
UTF-8
Python
false
false
7,379
py
# coding: utf-8 """ StarRez API This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501 OpenAPI spec version: 1.0.0 Contact: resdev@calpoly.edu Generated by: https...
[ "fedorareis@gmail.com" ]
fedorareis@gmail.com
4395fe834aa754dcda8bbe4e55a02a11bded8ecb
0d6acb47bb8c210a2dacab8f4b75c453eab367fc
/windflow/web/__init__.py
a1d664d66a2a33baf05542209bc0c0a224cc29a9
[ "Apache-2.0" ]
permissive
hartym/windflow
b4646e1f5c8cbb69572960b6d3ba3e38cd59c7b4
69a2aeb3ab9d5bdfcd1d2ce8d5c9af14876cba23
refs/heads/master
2022-12-10T07:07:35.200253
2018-04-24T06:34:20
2018-04-24T06:34:20
68,578,411
2
0
Apache-2.0
2022-12-08T02:17:35
2016-09-19T07:04:13
Python
UTF-8
Python
false
false
318
py
from .application import ApplicationFactory from .handler import ErrorHandler, FallbackHandler, RedirectHandler, RequestHandler, StaticFileHandler from .package import PackageConfig __all__ = [ ApplicationFactory, PackageConfig, ErrorHandler, FallbackHandler, RedirectHandler, RequestHandler, StaticFileHandler ]
[ "romain@dorgueil.net" ]
romain@dorgueil.net
fa66c369bb508c4712b185cfe27f55431ee02682
84d581219b8065cf8936070a7f1e1766000378df
/code/analysis/pooled_cutting_probability.py
8bfc11fed5069c39bbf8c174ae14209e22bc7993
[ "MIT", "CC-BY-4.0" ]
permissive
RPGroup-PBoC/vdj_recombination
939e72539a134a61cc5aa8386b3a31f6de954d26
a59214f878968e5958915b56983b0f52a0a0483e
refs/heads/publication
2023-07-18T22:52:07.149767
2020-05-19T18:12:11
2020-05-19T18:12:11
187,516,995
0
0
MIT
2023-07-06T21:42:29
2019-05-19T19:05:04
HTML
UTF-8
Python
false
false
2,438
py
# -*- coding: utf-8 -*- #%% import numpy as np import pandas as pd from scipy.special import gammaln, logsumexp import vdj.io # Define the posterior distribution def log_posterior(N, n, p): binom_coeff = gammaln(N + 2) - gammaln(n + 1) - gammaln(N - n + 1) bernoulli = n * np.log(p) + (N - n) * np.log(1 - p) ...
[ "gchure@caltech.edu" ]
gchure@caltech.edu
d79c8d41011aff3cb8f7555f1996b1140bae156e
3dc7476dc7c77e2db6d6def77656fa7d9fbfd70b
/es_search_server/utils/response.py
6ec5d60cdca47b546e4057f2bc1385aa1438367b
[]
no_license
PrimaryCY/es_search
df76608554acb7d3de664a6d696b737c84043df2
0f0f0095c6f8bcb70363a08859143788cde595ae
refs/heads/master
2022-05-01T13:42:37.177546
2019-09-20T01:58:11
2019-09-20T01:58:11
206,211,180
2
0
null
2022-04-22T22:17:07
2019-09-04T02:13:49
Python
UTF-8
Python
false
false
177
py
# -*- coding: utf-8 -*- # author:CY # datetime:2019/9/2 14:38 from rest_framework.response import Response as rest_response def Response(success): return rest_response()
[ "907031027@qq.com" ]
907031027@qq.com
bc90649f5ec543016a3d07ddbf7a015e6afdcbab
64d8d80c9a292f1552190af17cf1fe984968d5dc
/python/8kyu/8kyu - Find the Integral.py
b1f0f30f7ff3dbe1ca3eb419b49842861579a738
[]
no_license
zurgis/codewars
3acc880e0f3a40fc77532bcac537452d419fc268
045d74d6a36f4bc8a69a76dd3f21fef22c338ca2
refs/heads/master
2021-04-20T22:47:45.833147
2020-05-19T14:01:55
2020-05-19T14:01:55
249,723,171
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# Create a function that finds the integral of the expression passed. # In order to find the integral all you need to do is add one to the exponent (the second argument), and divide the coefficient (the first argument) by that new number. # For example for 3x^2, the integral would be 1x^3: we added 1 to the exponent,...
[ "khdr437@gmail.com" ]
khdr437@gmail.com
4ba9fe01657cd40cc9d5b981851b0865b33f009c
7ae20e08e736e6df546cb5a80df2baf067686b52
/tasks/sprint-7/I - Difficult Flower Field/difficult_flowers_field.py
eb6d20053b6ffcf096f0495be298410867927884
[]
no_license
Grey2k/yandex.praktikum-alghoritms
faf466374c932733cc1c5049a2df719d8fd33ac7
97b1b4858265b44266a33b834e1e9a1349739048
refs/heads/master
2023-08-28T02:46:16.502298
2021-09-28T19:08:35
2021-09-28T19:08:35
334,646,281
10
1
null
null
null
null
UTF-8
Python
false
false
763
py
def main(): m, n = map(int, input().strip().split()) field = [[0] * (n + 1) for _ in range(m + 1)] for i in range(m): field[i] = [0] + list(map(int, list(input()))) max_flowers = [[0] * (n + 1) for _ in range(m + 1)] for i in range(m - 1, -1, -1): for j in range(1, n + 1): ...
[ "grey2k@gmail.com" ]
grey2k@gmail.com
2d978348ee4672b0963e7c7d9958a80a88450a58
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/__init__.py
d495612cfc615c2f763751db409c7c0b573545a1
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:62b2d744bbb662483493f43c82f3f51e92288172594a1856399233b206330aee size 1977
[ "github@cuba12345" ]
github@cuba12345
cdfb37ec62efdee948d97737c5a052752f994c33
bb1c30864fc963f61bbab0a71d206fbe6447fd09
/test_autolens/integration/tests/features/aggregator/meta_dataset.py
f30255e6da92ac4286275157b74a8dc88dc268bf
[ "MIT" ]
permissive
pranath-reddy/PyAutoLens
c39c1aa413985c0a280da1b95e6cb55537f769cc
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
refs/heads/master
2022-05-28T15:41:26.881648
2020-05-04T20:02:45
2020-05-04T20:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
import autofit as af import autolens as al from test_autolens.integration.tests.imaging import runner import os test_type = "features" test_name = "agg_meta_dataset" data_type = "lens_light_dev_vaucouleurs" data_resolution = "lsst" def make_pipeline(name, phase_folders, non_linear_class=af.MultiNest): phase1 = ...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
c075158d140a9be2b70d92ffc5bc259d8db9447c
60d1a67f71d87db55feaa9424081ba74e5c4da0c
/third_party/spider/preprocess/get_tables.py
a8b36f0a61d57b01836cf0b64539c442769f80b6
[ "MIT" ]
permissive
ashutoshbsathe/tensor2struct-public
4313308398164f2f2576aec9d55b48c834c0325b
cfcafa94f10565bc25a72c172a9e58dfa4170fe7
refs/heads/main
2023-08-03T09:04:29.269648
2021-09-18T09:34:13
2021-09-18T09:34:13
407,810,567
0
0
MIT
2021-09-18T09:03:56
2021-09-18T09:03:55
null
UTF-8
Python
false
false
5,440
py
import os import sys import json import sqlite3 from os import listdir, makedirs from os.path import isfile, isdir, join, split, exists, splitext from nltk import word_tokenize, tokenize import traceback EXIST = {"atis", "geo", "advising", "yelp", "restaurants", "imdb", "academic"} def convert_fk_index(data): fk_...
[ "bailin.wang28@gmail.com" ]
bailin.wang28@gmail.com
7fdfb3db67ff04f4dce3756492f0cfb73cdcdfd3
4cd9f5714b8a1aab06150d176d81e37edb763ccc
/scale_den.py
6ab138db8bcf9984f0bee400a3765a2433a776a9
[]
no_license
SENSEI-insitu/IAMR_write_back
b53f9b3148bb09832df653cbba786f359a523bbd
1d5f7dcb69451289e085f5f1dce43c58d61cf522
refs/heads/master
2022-10-09T07:07:10.824237
2020-06-11T20:17:01
2020-06-11T20:17:01
267,128,442
1
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import sys import numpy as np import vtk.util.numpy_support as vtknp from vtk import vtkDataObject, vtkCompositeDataSet, vtkMultiBlockDataSet # set default values of control parameters # these can be modified by the XML meshName = 'mesh' arrayName = 'density' arrayCen = vtkDataObject.CELL threshold = 1.5 multiplier = ...
[ "bloring@lbl.gov" ]
bloring@lbl.gov
94a274d233d7574dfc211a995137ab7684b7f732
c9f1fc59cf8f41438fef7dcb0552b437c746b3a4
/pulsar/scripts/_configure_galaxy_cvmfs.py
e732230a29fd60eeae90fd028ed724284be5b294
[ "Apache-2.0" ]
permissive
galaxyproject/pulsar
dccaa6d66855fb27d3ef3abe32d65b801cab5b25
9b86949aebc17a86318c582e8d8a969d076cb83d
refs/heads/master
2023-09-01T07:10:37.342797
2023-08-29T17:33:18
2023-08-29T17:33:18
21,017,585
35
42
Apache-2.0
2023-09-14T17:43:55
2014-06-19T22:20:08
Python
UTF-8
Python
false
false
514
py
import shutil import pkg_resources def main(): config_path = pkg_resources.resource_filename('pulsar.scripts', 'cvmfs_data/default.local') key_path = pkg_resources.resource_filename('pulsar.scripts', 'cvmfs_data/data.galaxyproject.org.pub') domain_path = pkg_resources.resource_filename('pulsar.scripts', ...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
314ab1deef87c539704913e18425e02e198c27d7
f71aecb0e91fe877af3ec652c7f6753a1e7b5ccd
/SortArrayByParityII_922.py
6dfde1d2b3a07de5b4fa52241462c6b74295cb1d
[]
no_license
953250587/leetcode-python
036ad83154bf1fce130d41220cf2267856c7770d
679a2b246b8b6bb7fc55ed1c8096d3047d6d4461
refs/heads/master
2020-04-29T12:01:47.084644
2019-03-29T15:50:45
2019-03-29T15:50:45
176,122,880
2
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
""" Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever A[i] is odd, i is odd; and whenever A[i] is even, i is even. You may return any answer array that satisfies this condition. Example 1: Input: [4,2,5,7] Output: [4,5,...
[ "953250587@qq.com" ]
953250587@qq.com
52bcf7958afe08d44c4d2d9bbe17016058034612
c0ec0437d945e792cb581c6fb47381394d1cf174
/docs/conf.py
4caf1b905cbc73aaff685e131a569165518dda4f
[ "MIT" ]
permissive
pombredanne/javaproperties
6fee424034532a611dff34f4b94fe4e8cf171dc8
aa1fe631299885a6b6843366ab070b2dc5742775
refs/heads/master
2022-06-23T03:32:28.658054
2022-05-28T09:58:46
2022-05-28T09:58:46
79,591,439
0
0
MIT
2021-06-01T11:47:27
2017-01-20T19:39:13
Python
UTF-8
Python
false
false
1,147
py
from javaproperties import __version__ project = "javaproperties" author = "John T. Wodder II" copyright = "2016-2021 John T. Wodder II" extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx_copybutton", ] autodoc_default_options = { ...
[ "git@varonathe.org" ]
git@varonathe.org
06591b700aa4c660f8c204254c191920c75efd68
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/tests/test_best_time_to_buy_and_sell_stock_iii.py
9af3ab0fea4b80bf848ad92cd641ccb035ff609b
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
347
py
import pytest from puzzles.best_time_to_buy_and_sell_stock_iii import max_profit @pytest.mark.parametrize( "prices, expected", [ ([1, 2, 3, 4, 5], 4), ([3, 3, 5, 0, 0, 3, 1, 4], 6), ([7, 6, 4, 3, 1], 0), ([1], 0), ], ) def test_max_profit(prices, expected): assert max_...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
cff93d17753f89ee43b452e3160f5515d579820e
f6bba50fccc6fb0dae2f046193434cfb4b9d32d5
/abc112/a/main.py
57ccabd3c6a116f586b862e9f7f29d99c8b06aa1
[]
no_license
seven320/AtCoder
4c26723d20004fe46ce118b882faabc05066841c
45e301e330e817f1ace4be4088d3babe18588170
refs/heads/master
2021-11-22T22:57:32.290504
2021-10-24T09:15:12
2021-10-24T09:15:12
162,827,473
2
0
null
null
null
null
UTF-8
Python
false
false
580
py
#!/usr/bin/env python3 # encoding:utf-8 import copy import random import bisect #bisect_left これで二部探索の大小検索が行える import fractions #最小公倍数などはこっち import math import sys import collections from decimal import Decimal # 10進数で考慮できる mod = 10**9+7 sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000 d = collections.deque() def LI()...
[ "yosyuaomenw@yahoo.co.jp" ]
yosyuaomenw@yahoo.co.jp
26d1ef2d6854cced8beb7ef608d3ac0d91b118f0
79c7a0783c302c9fa7dc6dfdc4edd5f7af3d4687
/app/models.py
de5f67bbcba912af0f1ae4b7f059f1983951a06f
[]
no_license
IngabireTina/News_App
2de457bc612ccd71fd020fa0e211915aa3a154e7
adfb3d3dcae74b7df455952b329e83f2d91c3f57
refs/heads/master
2023-04-08T18:17:27.747912
2021-03-22T13:46:05
2021-03-22T13:46:05
348,629,779
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
class News_Source: #newssource class to define news objects def __init__(self,id,name,url,category): self.id = id self.name = name self.url = url self.category = category class News_Article: #newsarticle class to define article objects def __...
[ "ingabire067@gmail.com" ]
ingabire067@gmail.com
9ac62afd1ddf55385fd58953c891e442a22ebeb5
bd185738ea6a74d1e76d9fc9d8cbc59f94990842
/onadata/apps/restservice/signals.py
b6b9d932cb38e849be05661b005efd6b8d63d244
[ "BSD-2-Clause" ]
permissive
aondiaye/myhelpline
c4ad9e812b3a13c6c3c8bc65028a3d3567fd6a98
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
refs/heads/master
2020-12-22T05:32:59.576519
2019-10-29T08:52:55
2019-10-29T08:52:55
236,683,448
1
0
NOASSERTION
2020-01-28T07:50:18
2020-01-28T07:50:17
null
UTF-8
Python
false
false
779
py
# -*- coding=utf-8 -*- """ RestService signals module """ import django.dispatch from django.conf import settings from onadata.apps.restservice.tasks import call_service_async ASYNC_POST_SUBMISSION_PROCESSING_ENABLED = \ getattr(settings, 'ASYNC_POST_SUBMISSION_PROCESSING_ENABLED', False) # pylint: disable=C0103...
[ "patrickmithamo@gmail.com" ]
patrickmithamo@gmail.com
2330c64f52c0e3239b0ac0363079bd774f0f079c
e1be98f0427b07fac1bb852bdf34898c01f987ee
/2three_layer/forward_neural_network.py
c03d8daee4ea2f02dfcefc5a8097066903e46970
[]
no_license
darr/neural_network
d73aef008a72bf57d9ab995e351958d7243d3886
94d5215af5b3c640015103a9209fd47c8059b4fe
refs/heads/master
2020-04-14T04:33:06.901938
2019-01-12T08:02:13
2019-01-12T08:02:13
163,638,613
0
0
null
null
null
null
UTF-8
Python
false
false
2,730
py
#!/usr/bin/python # -*- coding: utf-8 -*- ##################################### # File name : forward_neural_network.py # Create date : 2018-12-25 20:04 # Modified date : 2019-01-12 15:20 # Author : DARREN # Describe : not set # Email : lzygzh@126.com ##################################### from __future__ import divisio...
[ "lzygzh@126.com" ]
lzygzh@126.com
a72f1917eccfcd2714906e76e0dd621c6a307a7b
59de7788673ade984b9c9fbc33664a7cbdba67d3
/res/scripts/common/dossiers2/common/__init__.py
1467e75c9d53270f4c39a510e7e20173da1fa15a
[]
no_license
webiumsk/WOT-0.9.15-CT
3fa24ab37a6c91b7073034afb2f355efa5b7fe36
fbd194fbaa6bdece51c7a68fc35bbb5257948341
refs/heads/master
2020-12-24T21:27:23.175774
2016-05-01T13:47:44
2016-05-01T13:47:44
57,600,180
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
341
py
# 2016.05.01 15:26:21 Střední Evropa (letní čas) # Embedded file name: scripts/common/dossiers2/common/__init__.py pass # okay decompyling c:\Users\PC\wotsources\files\originals\res\scripts\common\dossiers2\common\__init__.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2016.05.01 15:26:21 Střední Evropa...
[ "info@webium.sk" ]
info@webium.sk
96fe6ac6b4c92a2dffa4420cef11ff7fbd54124b
35b6013c1943f37d1428afd2663c8aba0a02628d
/functions/pubsub/main.py
1fb706fd3964de8fb235402016c3afa4ccd92ebc
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
2,051
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
907abfa0dc525105f1d7f3e417a1697680588273
f7b1e7ea069908eece4821a8fffc87f148940976
/old_examples/sac_agent.py
eadcefbb637faf2cd5859392fa74d4287a31d33d
[]
no_license
benblack769/rlflow
5451fbc53000c7ee2bd8ec571df876275209d9dd
4d504b91556f23c522915f3d6390ea5a3a6169a7
refs/heads/master
2023-03-07T18:24:04.957426
2021-02-23T00:12:52
2021-02-23T00:12:52
271,938,665
4
0
null
null
null
null
UTF-8
Python
false
false
6,317
py
from torch.optim import Adam from torch.optim.lr_scheduler import CosineAnnealingLR from torch import nn import torch import torch as th from torch.nn import functional as F from stable_baselines3.common.utils import polyak_update def mean(items): return sum(items)*(1./len(items)) def convert_size(space): ass...
[ "weepingwillowben@gmail.com" ]
weepingwillowben@gmail.com
9e4ee3960754e904198526a8c805b4f7bbcf9a8e
0fc4f615115fe2da514f17530cc46555dd0f14c3
/flex/loading/schema/__init__.py
38a2463fdde84789b376972f458e8b05f0ac9080
[ "MIT" ]
permissive
ossdev07/flex
c63469e00412a070bea2acaa6b652792bf891280
7486c2295dee87ae0663a35820c749ce4cf42989
refs/heads/master
2020-11-27T01:51:16.238689
2019-12-05T05:40:53
2019-12-05T05:40:53
229,262,607
0
0
MIT
2019-12-20T12:39:54
2019-12-20T12:39:53
null
UTF-8
Python
false
false
1,545
py
from flex.constants import ( OBJECT, ) from flex.datastructures import ( ValidationDict, ) from flex.validation.common import ( generate_object_validator, ) from flex.loading.common.mimetypes import ( mimetype_validator, ) from .info import info_validator from .swagger import swagger_version_validator f...
[ "piper@simpleenergy.com" ]
piper@simpleenergy.com
ff499a6600f7a986d6cccf34a2140ac352fc5ef0
b3f6daa5d6c987eb8a61d5fe125bf2a98997e259
/6kyu/One down/index.py
c3e10918994d01845e467447c7fe801c80ac4ade
[]
no_license
krnets/codewars-practice
53a0a6c9d2d8c2b94d6799a12f48dd588179a5ce
5f8e1cc1aebd900b9e5a276884419fc3e1ddef24
refs/heads/master
2022-12-20T19:33:43.337581
2022-12-16T05:32:39
2022-12-16T05:32:39
217,464,785
1
0
null
2020-07-20T08:36:31
2019-10-25T06:20:41
JavaScript
UTF-8
Python
false
false
2,355
py
# 6kyu - One down """ A very passive-aggressive co-worker of yours was just fired. While he was gathering his things, he quickly inserted a bug into your system which renamed everything to what looks like jibberish. He left two notes on his desk, one reads: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" wh...
[ "cmantheo@gmail.com" ]
cmantheo@gmail.com
e6d9b1b2a93749c5c254b4cc7b037622251cd055
26f6313772161851b3b28b32a4f8d255499b3974
/Python/284_PeekingIterator.py
2c99c4ed46b617564c046ccc21ffa25eebb08327
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
""" Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it essentially peek() at the element that will be returned by the next call to next(). Example: Assume that the iterator is initialized to the beginning of the list: [1...
[ "here0009@163.com" ]
here0009@163.com
d17b3489a5e89c45e95dafc37dc8cb6a4298b618
9431bba2d148f8aef9c0a8f3ca16fcf875890757
/thread/daemon.py
749bae2d93265f45296c531c43d2cfe6cbb318a2
[ "MIT" ]
permissive
terasakisatoshi/pythonCodes
fba0b78414b2c85f4a738200354ea583f0516768
953210c06e9885a7c885bc01047715a77de08a1a
refs/heads/master
2023-05-14T12:30:22.201711
2023-05-07T13:41:22
2023-05-07T13:41:22
197,893,702
2
1
MIT
2022-11-25T10:59:52
2019-07-20T07:09:12
Jupyter Notebook
UTF-8
Python
false
false
496
py
import threading import time import logging logging.basicConfig(level=logging.DEBUG,format='(%(threadName)-10s) %(message)s',) def daemon(): logging.debug('starging') time.sleep(5) logging.debug('exiting') d=threading.Thread(name='daemon',target=daemon) d.setDaemon(True) def non_daemon(): logging.de...
[ "terasakisatoshi.math@gmail.com" ]
terasakisatoshi.math@gmail.com
8b9281dd4f78054529ebc467617596a292e75853
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/84/usersdata/197/51696/submittedfiles/lista1.py
a922fb8e25e53c15dff2aead0f76ffbf600196b5
[]
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
210
py
# -*- coding: utf-8 -*- n=int(input('Digite o numero de elementos da lista:')) lista=[] for i in range (1,n+1,1): valor=int(input('Digite um numero da lista:')) lista.append(valor) print(lista)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
18a04d0d8b9288db86cecb4db408ed1d72ea1926
8b5d68c9398186cae64dbcc5b293d62d69e1921d
/src/python/knowledge_base/serializers/pickle_serializer.py
b5683f4082540af8d6415a3b87105e7959ff5f04
[ "Apache-2.0" ]
permissive
reynoldsm88/Hume
ec99df21e9b9651ec3cacfb8655a510ba567abc9
79a4ae3b116fbf7c9428e75a651753833e5bc137
refs/heads/master
2020-07-24T21:28:39.709145
2019-07-10T15:43:24
2019-07-10T15:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
from elements.kb_mention import KBMention from elements.kb_value_mention import KBValueMention, KBTimeValueMention, KBMoneyValueMention import pickle import os class KBPickleSerializer: def __init__(self): pass def serialize(self, kb, output_pickle_file): dir_path = os.path.dirname(os.path.re...
[ "hqiu@bbn.com" ]
hqiu@bbn.com
1f14987ae764c6a1758407eb891b9934472bb315
3bbe4603431578dcd7f7598d5c73abf459ac51ca
/sessions/20181107/test-slide-example.py
f424913baf40c163419b4aafafc1979919edb355
[]
no_license
MingfanChang/LabSessions
de2b9648462d23fcd4ed4662938115f91c13c13b
74001568be21c9879e56d7647045d43ff1d835f4
refs/heads/master
2020-04-06T08:16:24.237495
2018-11-07T21:31:14
2018-11-07T21:31:14
157,300,153
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
import unittest def fun(x): return None if x is None else x + 1 class MyTest(unittest.TestCase): # Tests are methods that start with "test", when you do unittest.main() # these methods will run. def test1(self): self.assertEqual(fun(None), None) def test2(self): self.assertEqu...
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
194decae75c581bd45da73026fc8038f0bcd2f57
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/interview_bits/level_3/03_stacks-and-queues/03_cleverstack/02_sliding-window-max.py
7514d9bd5c24d5af96d9e1753985e0ad9204c1de
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
# https://www.interviewbit.com/problems/sliding-window-max/ # http://stackoverflow.com/a/17249084/1090562 # http://stackoverflow.com/a/8499392/1090562 # http://stackoverflow.com/a/4802260/1090562 def maxSliding(arr, k): if len(arr) == 0: return [] if len(arr) <= k: return [max(arr)] maxL, ...
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
386e0452fcbebcd88ed522f8d9fc6dfacd970181
cfa3f958c8b4c7f8617731c6580c16e8daee6218
/EitherForm/either/urls.py
453ba86a982377168f59e3f667683fd2e9a39523
[]
no_license
cdh3261/Django
dd01f9c07c8b501c95445748e5d590565ca68352
0003b617ae500cf191e4af5cc8ab5fd06f02f76e
refs/heads/master
2022-12-22T23:12:41.271650
2019-11-04T07:57:46
2019-11-04T07:57:46
217,967,586
0
0
null
2022-11-22T04:46:53
2019-10-28T04:43:09
Python
UTF-8
Python
false
false
947
py
"""either URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "cdh3261@naver.com" ]
cdh3261@naver.com
2bce7f4a99540988406dba03d4e79509bc6bbd8c
85b2f4b9b3d07088d5ffd5a633f20ffeb15773b8
/python/emptygit/others/addwatermark.py
c62d038f940ba11a78bbab3569863cd2735a18b8
[]
no_license
wujunke/pythons
85344dff44a2ff8bb8e79344dd967f59b1a5b2b4
eb9f181664f1e055170f53907994750cd721c771
refs/heads/master
2020-03-13T18:13:02.741642
2018-12-26T06:41:03
2018-12-26T06:41:03
131,231,712
1
2
null
null
null
null
UTF-8
Python
false
false
2,539
py
#coding=utf8 import os from PyPDF2 import PdfFileReader from PyPDF2 import PdfFileWriter from datetime import datetime from reportlab.pdfgen import canvas from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from reportlab.lib.units import cm from reportlab.lib.pagesizes import A1,A0, ...
[ "wjk1397@sina.com" ]
wjk1397@sina.com
969d7650f27bb39ac969fbf4f243b04a9a18164c
16aadc44ba8a0f975476137e3b0993363c5463dc
/genice2/molecules/one.py
13251ae0fd09cc1c937837ff6d2faf8f87ea4c81
[]
no_license
rusl2019/GenIce
072c4896c3501679a11c5fcd7f5d6c06c16b673b
51df0c850dea20c7757c659ae089147aa674dfa7
refs/heads/main
2023-06-22T18:47:10.842424
2023-06-19T15:54:12
2023-06-19T15:54:12
404,446,797
0
0
null
2021-09-08T18:01:43
2021-09-08T18:01:42
null
UTF-8
Python
false
false
507
py
# coding: utf-8 import numpy as np from logging import getLogger import genice2.molecules class Molecule(genice2.molecules.Molecule): def __init__(self, **kwargs): # placeholder for 12-hedral cage self.sites_ = np.array([[0, 0, 0]]) self.labels_ = [ "X", ] self....
[ "vitroid@gmail.com" ]
vitroid@gmail.com
692f5a70dfdf8a4a4f42b96fbf46910fb1050c07
51e77e985d9b6c6bb0972ccee14b867e289aae61
/fundamentalsOfComputing/interactiveProgramming/notes_sets.py
8edfbee8aa633c61280f92debedef3d7fd2999e4
[]
no_license
ErhardMenker/MOOC_Stuff
7c397059f62ba39f21a877c7fcf71a97751dda4b
7cdd581e9f9dcdd0b0c27dbbb9216bc76df8fff5
refs/heads/master
2021-01-17T10:38:06.805197
2017-03-29T23:50:18
2017-03-29T23:50:18
84,018,124
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
# A set is an unordered collection of data with no duplicates. # Sets are faster to process than lists, which are ordered and allow duplicates. # Sets are created by declaring set() and storing a list within the parenthesis. # In Python 3, sets can also be created by open curly braces, {}, and inputting elements within...
[ "ejmenker@gmail.com" ]
ejmenker@gmail.com
5cd92ef79c0763ea445fdc8a9e248ae308ea182e
420d4cf595fc8f28be0415aec70a4087e157555c
/Fluent_Python/Day38/context_matters.py
577f22724ed6ddbb4d0cdc24e11c27fb46c88780
[]
no_license
davidbegin/python-in-the-morning
8cf89e62e7e8a2df5b8f875aae3cc7815545ad61
aa4a271d1df0ce0a82d776c0955c1f20deb50937
refs/heads/master
2020-09-28T09:55:50.723066
2020-08-06T01:17:24
2020-08-06T01:17:24
226,753,142
23
3
null
2020-03-04T06:36:30
2019-12-09T00:31:09
Python
UTF-8
Python
false
false
508
py
print("\033c") # If we build a Twitch Chatbot class CoolClass: def another_method(self): print("Im cool class") class ContextMatters(): def another_method(self): print("I can do more work!!") def __enter__(self): print("A long time ago") return CoolClass() def __exi...
[ "davidmichaelbe@gmail.com" ]
davidmichaelbe@gmail.com
ec88275e5702dbed40e4679c84703d701557f9c2
9788205bae2aa16de61e301bd7ff6f34c7a6dbb0
/diabetes/code/data_pre.py
894c248931d1cf1297af7ccd57985fc7ce1a857a
[]
no_license
pkusp/TianChi
03775b1087c6170f0a1546770cebb0ae6d77056c
07014b7dba18333265c048f913c3af93db47375c
refs/heads/master
2021-05-06T03:43:29.615421
2018-03-09T15:44:19
2018-03-09T15:44:19
114,882,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
######## # # 20180105 # ######## import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import RobustScaler #四分位缩放 from sklearn.preprocessing import Normalizer # Normalizer(norm='l2').fit_transform(data) from pandas import DataFrame def num_missing(x): re...
[ "pkusp@outlook.com" ]
pkusp@outlook.com
206debf75711702657e94e8b4ba10bb4522f6fbe
dbd3f562768ded628d5d8d7ee3e05a3e88970a8d
/sk/smart-panda/table.py
07252a031c400c5b5470edbef4b2fd0c15e37a73
[ "Apache-2.0" ]
permissive
East196/hello-py
ff51044494399c01d2c2c82ce6d753fb2258d944
a77c7a0c8e5e2b5e8cefaf0fda335ab0c3b1da21
refs/heads/master
2021-07-23T23:28:26.096703
2021-06-11T13:30:13
2021-06-11T13:30:13
97,002,099
1
1
null
null
null
null
UTF-8
Python
false
false
334
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt import pandas as pd df = pd.read_csv("food.csv") df["day"] = df["time"].apply(lambda time: time.split(" ")[0]) df2 = df[df.type == "milk"].groupby(by=["day"])["size"].agg({"size": np.sum}).reindex() df2.plot() plt.show() ...
[ "2901180515@qq.com" ]
2901180515@qq.com
39e0de3e29fcb9b964eec7d54e91a05ae25ffb75
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/work_item_tracking/v4_0/models/work_item.py
a14fa5e64576576c8c5921bc3779f87674533e86
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
c85dc35ae573d90e112f4e85fee5c6f2ef6df51d
2d5d13c4bdc64202a520f32e7d4a44bb75e2004f
/week-05/game.py
fe365ad33232ff983954cb29f5e10e8051570553
[]
no_license
green-fox-academy/andrasnyarai
43b32d5cc4ad3792ef8d621328f9593fc9623e0b
19759a146ba2f63f1c3e4e51160e6111ca0ee9c3
refs/heads/master
2021-09-07T16:19:34.636119
2018-02-26T00:38:00
2018-02-26T00:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
from render import * def happenings(): t = Label(root, text="____\n" + box.name + "\n <lvl " + str(box.lvl) + ">\n\u2665 " + str(box.hp) + "/" + str(box.max_hp) + "\n\u26E8 " + str(box.dp) + "\n\u2694 " + str(box.sp),height=7) t.grid(row=0,sticky=N,pady=95) if box....
[ "andrasnyarai@gmail.com" ]
andrasnyarai@gmail.com
43596e733ee8f4c17d594715c0ecb639a769b434
2d54ab7a1e829f89b554d6abc27527fdb38539ff
/zhenguo/settings.py
6b131b6464edaa28337532a7f80b90c557fc06ed
[]
no_license
zhtjtcz/Software-Backend
1c3c73d8863d0d0df9cdfa08e4900f878127ed6c
ca865f1fe75493098050b236634f776f7b97d04d
refs/heads/main
2023-06-07T06:28:05.345830
2021-06-17T16:30:47
2021-06-17T16:30:47
367,622,524
8
0
null
null
null
null
UTF-8
Python
false
false
4,850
py
""" Django settings for zhenguo project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib i...
[ "18377221@buaa.edu.cn" ]
18377221@buaa.edu.cn
2158c0d94b6861427b39a64775657f3bc2c2ecc9
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/HOps/operators/grease/gp_surfaceoffset.py
1b8d54a8ebf5463e9aad54a8a980ebed9ecb6ce4
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
import bpy from mathutils import Vector from bpy.types import Operator from bpy.props import FloatProperty class HOPS_OT_GPCSurfaceOffset(Operator): bl_idname = 'hops.surfaceoffset' bl_label = 'GP Surface Offset' bl_description = 'Sets Grease Pencil to offset from surface' bl_options = {...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f9bc2735774b8031f1e174d3a4fa317dc48e6e79
7f80554c5013ba7bc66a3ec98f804156d977c277
/bin/imageio_download_bin
3c9c30e9b7274d99c0dd207767423084c17a052f
[]
no_license
akrahdan/LearnAI
fa89c133dbe3b0c06bfdce720ea6dcb429d1dc57
fbea836a7fc78c8ab92b313c2afa4bdeef59c362
refs/heads/main
2023-07-24T15:07:15.692045
2021-08-20T16:39:44
2021-08-20T16:39:44
376,688,774
0
0
null
null
null
null
UTF-8
Python
false
false
272
#!/Users/akrah/Documents/dev/readux/bin/python3.9 # -*- coding: utf-8 -*- import re import sys from imageio.__main__ import download_bin_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(download_bin_main())
[ "akrahdan@gmail.com" ]
akrahdan@gmail.com
43f11d1419a5f5787928c49a9085d4d2579738c8
099da16d748e89106b6abea62e49641afe68d04b
/migen/build/platforms/mystorm_blackice.py
d68345fc5bba868337f221a7a3280df694b66fa6
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
chipmuenk/migen
a191db2e0bbe8f6e1dfc87e54acf2ded13ce69a0
a7eb394f46ac9d71f4598919294aa9efd1137bfe
refs/heads/master
2020-05-18T23:29:09.950066
2019-11-01T18:56:14
2019-11-01T18:56:14
184,712,987
3
0
NOASSERTION
2019-05-03T07:08:37
2019-05-03T07:08:36
null
UTF-8
Python
false
false
2,603
py
from migen.build.generic_platform import Subsignal, Pins, IOStandard from migen.build.lattice import LatticePlatform from migen.build.lattice.programmer import MyStormProgrammer _io = [ ("sram", 0, Subsignal("adr", Pins("137 138 139 141 142 42 43 44 73 74 75 76 115", "116 117...
[ "sb@m-labs.hk" ]
sb@m-labs.hk
52ea0dacf6b53a412b8a3094fa1603d6923edb49
9eb4da8fe0eb56a0b0e4c4d660f52f52838c91da
/bumblebee_status/modules/contrib/deezer.py
cca6d5a7b3ac3f17b322bc7effd4679a3a2fe7b5
[ "MIT" ]
permissive
tobi-wan-kenobi/bumblebee-status
bf53b44341f4d84c4684675af3dcb8c675579f23
d03e6307f5e8c0b1c0451636ac9b1e84f3529a73
refs/heads/main
2023-08-31T11:52:12.140284
2023-07-21T12:18:17
2023-07-21T12:18:17
72,353,166
1,345
361
MIT
2023-09-13T19:25:17
2016-10-30T14:07:20
Python
UTF-8
Python
false
false
3,177
py
# pylint: disable=C0111,R0903 """Displays the current song being played Requires the following library: * python-dbus Parameters: * deezer.format: Format string (defaults to '{artist} - {title}') Available values are: {album}, {title}, {artist}, {trackNumber}, {playbackStatus} * deezer.previous: ...
[ "tobi-wan-kenobi@users.noreply.github.com" ]
tobi-wan-kenobi@users.noreply.github.com
e19153ca539e6bdc1ce36d5e6ebc35e7cca821a9
6f6180fe215edad3a1842f61ba76e80906cb860a
/tricircle/tests/functional/api/controllers/test_root.py
db0715216f7876b5166a9f93f57968eca9f33b7a
[ "Apache-2.0" ]
permissive
OpenCloudNeXt/tricircle
39a1b5fb2b2c162dab4b4141b4a550b28cebed2e
4b5b0b7ce40bf8febf98c8066311adf2953d23ee
refs/heads/master
2020-03-14T03:26:08.646754
2018-04-11T16:06:40
2018-04-11T16:06:40
131,419,803
1
0
Apache-2.0
2018-04-28T15:08:40
2018-04-28T15:08:40
null
UTF-8
Python
false
false
5,206
py
# Copyright (c) 2015 Huawei Technologies Co., Ltd. # 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 # # ...
[ "joehuang@huawei.com" ]
joehuang@huawei.com
22645955a6ff186b8600f08cabf3eb20e5c2b145
2316ce8a21d44a5d09284968ef42530633dc10d2
/sample_code/ep050/rev04/t.py
7a709323c0eb7a421cbf4c9a675c4f47e44c1611
[]
no_license
AlexanderWinkelmeier/explains
160de2c41fc5fc0156b482b41f89644dc585c4f3
d47ec53e384e4303a2d8e71fab9073a1a8d2d6bc
refs/heads/master
2023-07-30T04:55:31.234482
2021-09-15T02:59:42
2021-09-15T02:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
import sys print('this goes to stdout') sys.stdout.write('this also goes to stdout\n') print('this goes to stderr', file=sys.stderr) sys.stderr.write('this also goes to stderr\n')
[ "int3l@users.noreply.github.com" ]
int3l@users.noreply.github.com
1f71b5426bb148913264004ce0d9593214e199d6
0689ad04900b45e6ffb85756e65e96f30781558b
/python2/project/zidian/daan/tong.py
27239d20a2ede586ba1b13618f6e02cbbe78987d
[]
no_license
lizhihui16/aaa
a5452b5d0de4c2ad6342fce1b8aef278d2d2943e
e8c38e012f6aa0bc05ac6481d6c3e2b4e9013b56
refs/heads/master
2020-04-24T01:05:19.266060
2019-02-20T01:43:51
2019-02-20T01:43:51
171,586,359
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
#coding = utf8 from socket import * import sys import getpass #网络连接 def main(): if len(sys.argv) < 3: print('aaaaaa') return HOST = sys.argv[1] PORT = int(sys.argv[2]) s = socket() try: s.connect((HOST,PORT)) except Exception as es: print(e) return ...
[ "tarena@tedu.cn" ]
tarena@tedu.cn
f799f9df9e8c5f4e0c523868952b41400d396c2f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_103/ch4_2020_03_09_20_26_11_150473.py
925a7311c9e4d6b141cc65f8933806e1326531e0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def classifica_idade(x): if x<11: return 'crianca' elif 12<=x and x<=17: return 'adolescente' else: return 'adulto'
[ "you@example.com" ]
you@example.com
cb95fe702e1b9104a1930bea23519f87f2d252b9
68720ce7e968133614b9345898780bd80dbb8595
/code/UI/OpenAPI/python-flask-server/swagger_server/models/q_edge.py
87cfea0b3c0e875e595d77ca03e61928abb53877
[ "MIT", "Apache-2.0" ]
permissive
RichardBruskiewich/RTX
82a2ec6d129250ae0440eac8b91867fc8b044c1d
ce126fdc5df6b5b13cc3ac2857ffee23954a0a7f
refs/heads/master
2022-12-27T05:00:28.901542
2020-09-08T19:06:32
2020-09-08T19:06:32
294,197,551
0
0
MIT
2020-09-09T18:34:06
2020-09-09T18:34:05
null
UTF-8
Python
false
false
5,934
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from swagger_server.models.base_model_ import Model from swagger_server.models.biolink_relation import BiolinkRelation # noqa: F401,E501 from swagger_server import uti...
[ "edeutsch@systemsbiology.org" ]
edeutsch@systemsbiology.org
078e61c898d20f1b9c6eda632b47fdd4d44f4fd5
b648a0ff402d23a6432643879b0b81ebe0bc9685
/benchmark/esmrc/thrift/schema/ttypes.py
98dc95fabd36c9c53dfaa02c6fc837f40a392b8b
[ "Apache-2.0" ]
permissive
jviotti/binary-json-size-benchmark
4712faca2724d47d23efef241983ce875dc71cee
165b577884ef366348bf48042fddf54aacfe647a
refs/heads/main
2023-04-18T01:40:26.141995
2022-12-19T13:25:35
2022-12-19T13:25:35
337,583,132
21
1
Apache-2.0
2022-12-17T21:53:56
2021-02-10T01:18:05
C++
UTF-8
Python
false
true
5,945
py
# # Autogenerated by Thrift Compiler (0.14.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException from thrift.TRecursive impo...
[ "jv@jviotti.com" ]
jv@jviotti.com
9b9b47d4bb6b671161de733e4809852702e1cfbf
8636c0fba825b4b7c5ca30c202e2e09afaf05e95
/practicing_apps/turtleRacePyGame/anotherMain.py
472409d899f495a7e77f00761dbc1d63589096a2
[]
no_license
manuetov/m02_boot_0
33fe5876ab0fbbcfcb08e2ccaee5144a57d71c57
04d3dceffda78b37a709cd08ef7a1dc1d31478b4
refs/heads/master
2021-10-12T02:45:55.161385
2019-01-31T20:27:14
2019-01-31T20:27:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,418
py
import pygame, sys from pygame.locals import * class App: ''' Constructor ''' def __init__(self, weight, height, title="pygame window"): self._running = True self.__screen = None self.size = self.weight, self.height = weight, height self.title = title s...
[ "monterdi@gmail.com" ]
monterdi@gmail.com
5d929c8882e42d31af7052c5127340cb828fed5f
379ad926bb76a7732f5d43e15cc5b254ad608a8a
/runtime/translation/models/gnmt_large/gpus=16/stage8.py
6299c8b8459fb6a392cbf7aede83046084021951
[ "MIT" ]
permissive
msr-fiddle/pipedream
ed5ff9a823779ba63b64edc8955edc88b989e381
7db6a1c3e64996d5b319faec6ca38cb31bfea1c4
refs/heads/pipedream
2022-11-20T21:35:17.056988
2021-07-22T18:59:30
2021-07-22T18:59:30
203,689,837
356
125
MIT
2022-11-04T14:51:26
2019-08-22T01:18:23
Python
UTF-8
Python
false
false
1,251
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import torch class Stage8(torch.nn.Module): def __init__(self): super(Stage8, self).__init__() self.layer5 = torch.nn.LSTM(2048, 1024) self.layer8 = torch.nn.Dropout(p=0.2) def forward(self, input1, input2, inpu...
[ "deepakn94@gmail.com" ]
deepakn94@gmail.com
9f7917172ac5d9ea0f8b26ed9c3c259ba1cd1511
ff91e5f5815b97317f952038e19af5208ef12d84
/drawShape.py
fd482ceab712ef9b4193bd52b3c79af1b306c0ce
[]
no_license
BryanPachas-lpsr/class-samples
c119c7c1280ca2a86f24230d85f6c712f18d9be8
a194201dce28299bd522295110814c045927ef5b
refs/heads/master
2021-01-17T07:03:42.968452
2016-06-12T22:35:54
2016-06-12T22:35:54
48,007,820
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
import turtle def drawSide(myTurtle): count = 0 while count < 4: drawVee(myTurtle) myTurtle.left(180) count = count + 1 def drawVee(myTurtle): myTurtle.forward(10) myTurtle.right(90) myTurtle.forward(10) myTurtle.left(90) shawn = turtle.Turtle() count = 0 while count < 4: drawSide(shawn) shawn.right(90...
[ "lps@lps-1011PX.(none)" ]
lps@lps-1011PX.(none)
6103b2d65b454ecbcfba61c17966e794b04b7f1b
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/tower/lib/python2.7/site-packages/M2Crypto/PGP/RSA.py
28c140911fe3dfa18cce4951004788a44ffa32ab
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
906
py
"""M2Crypto PGP2 RSA. Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.""" from M2Crypto import m2, util from M2Crypto.RSA import RSA, RSA_pub # noqa if util.py27plus: from typing import Tuple # noqa def new_pub_key(e_n): # type: (Tuple[int, int]) -> RSA_pub """ Factory function that in...
[ "admin@example.com" ]
admin@example.com