blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
b86e463a6a2108dfe21ca80c7e8b527eaec9ddae
463e0d3a5eb8e993e75ee99cf6c86c21179fe7ed
/venv/Lib/site-packages/xld/__init__.py
38e97808e0a8df36a22089bc335ad4891b72b544
[]
no_license
gmh125522/-
2762b063dadffc184a5d830997b3b6b410de7042
feb890d2d01bc9b1105cb61f66aa83e6e069530a
refs/heads/master
2020-04-10T12:02:29.391597
2018-12-09T06:04:35
2018-12-09T06:04:35
161,009,723
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
import fire from xld.xld_commands import XldCommands def main(): fire.Fire(XldCommands)
[ "1169952123@qq.com" ]
1169952123@qq.com
4aee1bac154de90cca3b770263875f040cc3e1a3
425dd894e776e9cd9ae8320d559f1f931475dcf0
/main.py
91bbb5e73ebdfdaf777ad4f047372eda1a81a809
[]
no_license
mickreb56/NeuralNetwork_1.0
333639cfb3ff30b6eebdade3492538224eb9e80a
6e93effabac1dd6e3f3e3fcd4804d53ca56cabee
refs/heads/main
2023-03-08T09:07:50.454796
2021-02-18T19:20:40
2021-02-18T19:20:40
340,128,338
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
import numpy as np inputs = [1, 2, 3, 2.5] weights = [[0.2, 0.8, -0.5, 1.0], [0.5, -0.91, 0.26, -0.5], [-0.26, -0.27, 0.17, 0.87]] biases = [2, 3, 0.5] output = np.dot(weights, inputs) + biases print(output)
[ "56707357+mickreb56@users.noreply.github.com" ]
56707357+mickreb56@users.noreply.github.com
081c55968366a11020fc603644c0318451185b82
244e9e41eb76c8103b083cf3561b9faebd9eee49
/bias-exchange/vacuum/get_LG_params.py
891d835665b3903095649f745f0b85131a178ba7
[]
no_license
pratimasatish/Replica-Exchange-Slab
367fb85f85a6ba3443e8e0cd7235fef054ffb781
dbbf40e76db78c1fc6bb645ef85892f278ecb14f
refs/heads/master
2021-06-02T07:31:39.890179
2020-07-14T19:13:04
2020-07-14T19:13:04
90,772,745
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
import numpy as np # in K temp = np.array([370, 380]) # in rad ord_min = np.array([-0.727, -0.714]) disord_min = np.array([-0.326, -0.287]) # in kcal/mol-K del_S = np.array([1.313, 1.418]) d0 = -3.0 * del_S / (disord_min**2 - ord_min**2) avg_d0 = np.mean(d0) print "d0 at 370 K: {} kcal/mol-K-rad^2".format(d0[0]) p...
[ "pratimasatish@berkeley.edu" ]
pratimasatish@berkeley.edu
52ac11dda82d4ba41b4146faa82eb431d653c886
6ad5662df5e662521a2e5c4ee84a0c74d36296c4
/n_power.py
3b9d4c0394754d5785b05e1a5076b6249b803d58
[]
no_license
ankitajds/PyCode
1b9b5b161b43633f5c7c47b9c594f0966e07f195
24a51a07b421524b166c1c59e57a74f29aa8783f
refs/heads/main
2023-07-31T08:05:45.729657
2021-05-23T16:26:54
2021-05-23T16:26:54
393,125,655
0
0
null
2021-08-05T17:36:16
2021-08-05T17:36:16
null
UTF-8
Python
false
false
398
py
#Enter column names in the list defined below columns=[] # pass the integer value in n variable for find square n= import _helper import pandas as pd import math import json def main(): df = _helper.data() for col in columns: if col in df.columns: df[col+"_n_power"]=df[col]**n ...
[ "noreply@github.com" ]
noreply@github.com
1751b517c841ade6dc2d3f91a58156726d5fe69b
762f723eab7fd4e58264f0a2f08d76a3a9da5ead
/scrapy/pipelines.py
9f1528845c5960530da2b557691edf0822eaec59
[]
no_license
czgonroad/Scrapy
815cdb24882a000a57ffdca082cddfc3516762b9
a0caeccfb7941b6c32b08ddd27902ba219d9f5ce
refs/heads/master
2020-03-15T21:14:34.665622
2017-03-11T09:46:02
2017-03-11T09:46:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
# -*- coding: utf-8 -*- from scrapy import log from twisted.enterprise import adbapi from scrapy.http import Request from scrapy.exceptions import DropItem from scrapy.contrib.pipeline.images import ImagesPipeline import time import MySQLdb import MySQLdb.cursors import socket import select import sys import os import...
[ "563078785@qq.com" ]
563078785@qq.com
8c0567777b20266479adfafbd249ef3fad45de0a
43d4107fd28a306477d5802872eedcc41861c1ef
/tests/linear_supervised_dim_reduction/gauss.py
daa9d199ca6c02329c3b1e407284067f54ed3691
[]
no_license
endsley/HSIC_for_ML
dde222991b68622ab662374c2dba3e0289335e2b
b22b4b2e755307d46b7b9ce5d9c6f953e9baddcc
refs/heads/master
2023-08-25T10:51:59.943506
2021-10-29T19:24:58
2021-10-29T19:24:58
422,688,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
#!/usr/bin/env python3 from test_base import * import sklearn.metrics import numpy as np from subprocess import call from basic_dataset import * from linear_supv_dim_reduction import * from ism import * from orthogonal_optimization import * from DimGrowth import * class test_obj(test_base): def __init__(self): db ...
[ "chieh.t.wu@gmail.com" ]
chieh.t.wu@gmail.com
44da06eb51574b41af6813f5e6252a5a2750e648
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03767/s866081759.py
cf66b2ce220f7faa16d298b3290bd992eb740c88
[]
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
187
py
import collections n = int(input()) *a, = map(int, input().split()) a.sort() a = collections.deque(a) ans = 0 while n: a.popleft() a.pop() ans += a.pop() n -= 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9c68e91c36a93581f62c5d46e522b9bb8b7c38bb
35f1d3ab93b5de8ed83f7dce534505a2b8b2217b
/backend/new_app_18938/settings.py
4070cff46d149ab3cd53e54c5017494947f10cbd
[]
no_license
crowdbotics-apps/new-app-18938
5b01023da26e48735720ce0ded6bb74bed26ec28
ba2ad11b6820b7561b818d3b7e13875331e03fe9
refs/heads/master
2022-11-16T00:31:11.211998
2020-07-16T16:36:10
2020-07-16T16:36:10
280,161,661
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
""" Django settings for new_app_18938 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d715b72f2b1c8b15cedaf4435c31201338d7a2e3
88c88994f4e211aecb67277b5599cf9bc4d85b80
/contenido/tests/HU035_test.py
de9fa6dd87fd4f3cc4e9112f44e16e2e7fd81cd3
[ "MIT" ]
permissive
dhmahecha/borderlandsoft201620
1252e2b2648fe615bc007850817c59d0a00fec14
cb6f1d4eb0f2efbb222fb809d40a1cf8834b03ef
refs/heads/master
2020-04-25T05:18:53.794059
2016-11-24T04:02:04
2016-11-24T04:02:04
172,538,338
0
0
MIT
2019-02-25T16:05:38
2019-02-25T16:05:37
null
UTF-8
Python
false
false
2,146
py
from django.test import TestCase from django.urls import reverse from contenido.models import Audio from contenido.models import Artista from contenido.models import Denuncia from django.contrib.auth.models import User from rest_framework import status from rest_framework.test import APIClient MODELS = [Denuncia, Audi...
[ "jwsanabria@gmail.com" ]
jwsanabria@gmail.com
dd0dc47bfaa1ecaa7de7e7deb80a50d1a3b9fe7e
7bb9872a2db7a2ae73983c45675003c8cc78b045
/isSubtree.py
e2c0f28b4bec7496a8429b1baa6e58d002ec3f0f
[]
no_license
DemonZhou/leetcode
3e8ed6e0cba2031c0462e9a2fea18a53f43569cb
b6d0e2ff481e26372d0c8e5f15812a8613af6f0b
refs/heads/master
2021-07-11T04:01:50.785547
2020-07-20T03:36:07
2020-07-20T03:36:07
171,972,210
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def isSubtree(self, s: TreeNode, t: TreeNode) -> bool: if not s: return False if self.cmpTree(s,t): return ...
[ "zzhou113@terpmail.umd.edu" ]
zzhou113@terpmail.umd.edu
07ca8a4737780488a73e72da8cc091c18e244d0c
6bdaa85035d9e28bae8549b7e395c3b78a2a8291
/vis_training.py
171fe6b2c69ea48e55c1d76ccd7462099a5139b6
[]
no_license
lasse-steinnes/MachineLearning_Project2
48e831f25d955cc5e7852537ce49f1487755bb6a
0413ecfc029c33c5cdc96a401a67ed894f9df0bc
refs/heads/master
2020-12-14T15:31:33.962321
2019-11-13T17:10:08
2019-11-13T17:10:08
234,789,400
0
0
null
2020-01-18T19:53:25
2020-01-18T19:53:24
null
UTF-8
Python
false
false
2,649
py
""" little script to visualize training beahavior of Logistic Regression optional settings: type setting name and value """ import matplotlib.pyplot as plt import seaborn as sns from LogisticRegression import LogisticRegression as LR from helper_functions import parse_data import pandas as pd import numpy as np impo...
[ "lukas_materne@yahoo.de" ]
lukas_materne@yahoo.de
ad2da7715c7b8974c0ff3bd755aec91c55b6bc75
deeadc81f4dc1c2b37836238dca586a9fe317f64
/pages/basepage.py
c18a3ce438a608366d224412a87889c01eb6732b
[]
no_license
Ananas97/otomoto_tests
dac47c9e34d1ec3579902712ce332720550f59f9
408d6dd6994e039e80d37e69cdf7c51551743683
refs/heads/master
2023-03-14T04:29:58.417098
2021-03-08T16:17:12
2021-03-08T16:17:12
345,702,426
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
class BasePage(object): """This class is the parent class for all the pages in a test application.""" def __init__(self, driver, url): self.driver = driver self.url = url def load(self): self.driver.get(self.url) #def click_element(self): #def wait_until_visible(self): #...
[ "ana.rei.014@gmail.com" ]
ana.rei.014@gmail.com
dbc11c23c1cea1321da00a932b9520c16b11dfe9
ef4463e643685d22215607aebaa685ba1d97d655
/iapopr_ansible/resposcmd/check_datasize
f0c1a42da8096c27acb6f7419403150f174e853c
[]
no_license
henryshue/Python
714ae6eb5e28a9484d8e86c3785cbd7201a217a1
a4cdec60ad98e985bfe13486b3bc4b73606ab078
refs/heads/master
2020-05-19T10:27:28.970240
2019-05-05T02:56:00
2019-05-05T02:56:00
184,970,576
0
0
null
null
null
null
UTF-8
Python
false
false
3,892
#!/usr/bin/env python #----------coding:utf-8---------------- #===================================== #--------author: hfxu.oth(iapopr) #-------created:2018-05-07 #-------version:1.0.6 #----------code:utf-8 import sys,traceback,os,time from lib.logsdeploytools import DeployLogger from lib.configdeploytools ...
[ "henryshue@163.com" ]
henryshue@163.com
960068c04c694a88801ae034efa1de38ce51e9f9
34518d005c0b2672861804d98c482ffab93b750b
/trainer/sintel_trainer.py
e53c6e0503f079a5aa41b77c56bba9861ab53fe6
[]
no_license
soulslicer/probabilistic-depth
bdc64670ae03c89cd2c3fdbe46a2dc95633cc6ff
d331aaf8a15d4c0ee337eaf0cb5640bf52e9ac35
refs/heads/main
2023-02-05T21:34:40.765766
2020-12-23T08:13:32
2020-12-23T08:13:32
323,797,635
14
1
null
null
null
null
UTF-8
Python
false
false
5,821
py
import time import torch from .base_trainer import BaseTrainer from utils.flow_utils import evaluate_flow from utils.misc_utils import AverageMeter class TrainFramework(BaseTrainer): def __init__(self, train_loader, valid_loader, model, loss_func, _log, save_root, config): super(TrainFram...
[ "yaadhavraaj@gmail.com" ]
yaadhavraaj@gmail.com
34c043a7e559a5c074d9ddaff87dcaee359ac20e
26b16293d9713d58e027ca06e4d9aea7390fd8ce
/userscripts/print_cookies
85512d9b74b3794913a4f2085b57ef9c0930bf61
[]
no_license
erikvader/qutebrowser-config
13282df5af6df751c3fe0c9e8ee2f39ba2cca2ec
8d6e73c62ebde0bce328eb12ff54a7625a2f6b1b
refs/heads/master
2023-08-08T14:06:30.346131
2023-07-31T18:50:54
2023-07-31T18:50:54
138,337,758
4
1
null
null
null
null
UTF-8
Python
false
false
1,623
#!/bin/python import sqlite3 import sys from contextlib import closing import time from shutil import copy from tempfile import NamedTemporaryFile from quteprinter import qute_wprint def print_cookies(cookiepath, domain): with closing(sqlite3.connect(cookiepath, timeout=0.5)) as conn: curs = conn.execute('''...
[ "erik.rimskog@gmail.com" ]
erik.rimskog@gmail.com
57a9f2b9be88f5461e551a898116f056e1bcc2ae
75b5e4fdd2c9b45efda677af31b6b5b01d696608
/txconnpool/test/test_basic.py
12f79654203c6e5d9fe207b6de2b1b7fc70fa165
[ "Apache-2.0" ]
permissive
ericflo/txconnpool
3b889e8a347c6460a417be737c6dc7eaeed50348
eb5a080d7f7a0e1e1f128349db1d764371427ff3
refs/heads/master
2021-01-01T19:07:41.042214
2012-04-05T19:56:08
2012-04-05T19:56:08
530,798
9
3
Apache-2.0
2018-08-15T18:45:10
2010-02-22T20:18:50
Python
UTF-8
Python
false
false
12,997
py
## # Copyright (c) 2008 Apple Inc. All rights reserved. # Copyright (c) 2010 Mochi Media, 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/l...
[ "floguy@gmail.com" ]
floguy@gmail.com
7b32a623dbdf8de1c4fb4761cd5898964d6625c6
9ea499b155a7ba3b59ebba6edc5251d343b6bbfb
/test1/migrations/0001_initial.py
9bbbdefddfddb4ecf1c6397128f0d298ad16e0fe
[]
no_license
rupesh7399/Project-sem-7
27f2e15643d18a24e1b7aa90e3b027bf3d9e9a69
b563bdfb6ef80fa60a24494e028905200da28980
refs/heads/master
2020-08-13T19:33:35.964648
2020-01-30T12:10:16
2020-01-30T12:10:16
215,025,947
0
0
null
null
null
null
UTF-8
Python
false
false
3,666
py
# Generated by Django 2.2.3 on 2019-08-02 22:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='university', fields=[ ('u_id', models.AutoF...
[ "student@ITC-21-75.aauint.in" ]
student@ITC-21-75.aauint.in
2cf875620d746104560e353e15e06a33a5657566
2685d72663d803e1e78f3852e2f0c1976fb88155
/main.py
43eabbc522256538503daee883d5bad86ee8de38
[]
no_license
lihsintseng/tictactoe-API
98660d2334d67610e1acba85626ce26464399020
83e7c0402f0c1e1ed526986e0a8bbb1846d3f047
refs/heads/master
2021-01-20T14:02:45.912986
2017-05-07T18:11:57
2017-05-07T18:11:57
90,552,043
0
0
null
null
null
null
UTF-8
Python
false
false
8,432
py
from flask import Flask, jsonify from db import DataBase import datetime, json, math import numpy as np from flask import request app = Flask(__name__) # Initializes the database. def init_db(): ''' Check if 'games' and 'movements' table exist If the tables do not exist, they will be created. ''' ...
[ "amlily04@yahoo.com.tw" ]
amlily04@yahoo.com.tw
fd2299064cdb5b26bd595348ca1902f794c5e968
66c68ab7a6b62c4a94ddf4cdda64dc7f2181f6f7
/samples/crater/crater.py
4c20dc702a93465e1b15bd734aff41608960e0f7
[ "MIT" ]
permissive
ZhiangChen/Mask_RCNN
bfaeebbc32bdd2eef40f77ffe385437c6d9e60e0
040611909c140a98ab09ae09b511ce2a47b5f195
refs/heads/master
2020-03-27T10:04:52.300122
2019-02-25T00:42:17
2019-02-25T00:42:17
146,393,525
1
0
null
2018-08-28T04:51:42
2018-08-28T04:51:42
null
UTF-8
Python
false
false
4,235
py
""" classes for lunar crater dataset Zhiang Chen Sep 13, 2018 zch@asu.edu """ import os import sys import numpy as np import skimage.draw import pickle import argparse import matplotlib.pyplot as plt from mrcnn import visualize from mrcnn.config import Config from mrcnn import model as modellib, utils ROOT_DIR = os....
[ "zxc251@case.edu" ]
zxc251@case.edu
31e431da6f3792207879669b3ab90c80a53e57f4
1bb42bac177fb4e979faa441363c27cb636a43aa
/generalization/synthesization/cifar_synthesis.py
988e89282aea8d759288af356198101494572410
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
google-research/federated
a6040e80fa0fbf533e0d665c66a9bc549d208b3d
329e60fa56b87f691303638ceb9dfa1fc5083953
refs/heads/master
2023-08-28T13:10:10.885505
2023-08-22T23:06:08
2023-08-22T23:06:40
295,559,343
595
187
Apache-2.0
2022-05-12T08:42:53
2020-09-14T23:09:07
Python
UTF-8
Python
false
false
11,222
py
# Copyright 2021, 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
baafd69db114177841e6421288a2bc18b1163c5d
d3bc6412f9126110b7a6795cc78df39154f350ed
/src/queue.py
7796f202acc8e313040d909e582f7d8c63dfbec9
[ "MIT" ]
permissive
Darren-Haynes/Data_Structures
2a24e5167a4b2ba4d69dca49db5954d15326ef8a
640f9ae8de58fbb034058f410ac70c0af14d7b60
refs/heads/master
2021-09-05T06:15:51.011596
2018-01-23T02:07:18
2018-01-23T02:07:18
109,607,641
0
0
MIT
2018-01-23T02:07:19
2017-11-05T19:06:26
Python
UTF-8
Python
false
false
1,479
py
"""The Queue Data Structure.""" class Node(object): """Node class for the Queue.""" def __init__(self, value=None): """Instantiate a node.""" self.next_node = None self.value = value class Queue(object): """Queue class.""" def __init__(self): """Instatiate an empty ...
[ "darrenhaynes@zoho.com" ]
darrenhaynes@zoho.com
66f2944fa087749e24bbe4b96ad33672b7d3cf3d
821f012dd1ecad0bbbfb28b031741a5bee4ce771
/root/.PyCharmCE2019.1/system/python_stubs/1949293853/gi/_gi/VFuncInfoFlags.py
9847fbb88ae164785e8f89f59685e9a916d2ddaa
[]
no_license
amiravni/MyFirstDocker
67c7058989270f2620c3f14450a369737c765e5c
90fab7e2d388f0bd5c01baa9b6ec4b432c703fd7
refs/heads/master
2020-05-29T09:34:16.076184
2019-06-08T20:09:31
2019-06-08T20:09:31
189,067,184
1
4
null
null
null
null
UTF-8
Python
false
false
493
py
# encoding: utf-8 # module gi._gi # from /usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so # by generator 1.147 # no doc # imports import _gobject as _gobject # <module '_gobject'> import _glib as _glib # <module '_glib'> import gi as __gi import gobject as __gobject from .type import type class...
[ "" ]
1644ad424c44b942726f5c61529f50629807305a
1d7cb6d730fc981e8ca91c8c48537cc1e0970566
/ai.py
127daf77cc780e8013957235af672f0a15aa3f53
[]
no_license
nikhilsaldanha/2048AI
bd9071085da25b49ad89dbdc7644cc7f3a3a13ce
dd18f6f5bdd0dc919aeec7f7f866e07b55ce5606
refs/heads/master
2021-01-01T04:29:35.606065
2016-10-14T10:24:38
2016-10-14T10:24:38
59,691,270
8
1
null
null
null
null
UTF-8
Python
false
false
725
py
import math,copy def manhatDist(cell1): x1 = cell1[1] y1 = cell1[2] if x1<2: x2 = 0 else: x2 = 3 if y1>=2: y2 = 3 else: y2 = 0 return abs(x1-x2)+abs(y1-y2) def scoreWeight(diff): return 0.2*diff if diff<50 else diff # return 0 def atEdge(highest_old, highest_new): score ...
[ "nikhil.saldanha691@gmail.com" ]
nikhil.saldanha691@gmail.com
8b456e6fb6f0a1f5269d90458ed44dcde1bae56f
24795b00b8aaf097bef2c8547cf44325f3730ee1
/Yelp_KNN/ml_category.py
9f5f98b385c2032b35f42b8948ba5af6ccb60052
[]
no_license
hilaryp/DS_Projects
55af2ee3c411d1c5ece8e72073016c9c79331944
dc5fd4c8f55e578a87b9ad70c80d7396ab608481
refs/heads/master
2021-06-22T16:02:32.205046
2017-08-04T00:06:04
2017-08-04T00:06:04
28,791,559
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
import gzip import simplejson as json from sklearn.feature_extraction import DictVectorizer from sklearn.linear_model import LinearRegression from sklearn.externals import joblib from sklearn import cross_validation from ml_classes import FeatureDictTransformer def getCategoryModel(X,y): """Extract 'categories' ...
[ "hilary.e.p@gmail.com" ]
hilary.e.p@gmail.com
43ae88a0b1629e2e7b1ee73877ac8e03e6ad97a0
107ebb6d25812d12718d3f0731770318fb0eb2d2
/study_code/Day_15/15展示表格Tree.py
d67b5c4e5773f4cf666b250e592e4924b4ca87ae
[]
no_license
taoranzhishang/Python_codes_for_learning
0c5fa25a5da80e5cbca8cf0b9b3703d488e1af6f
23d12b8c7524f3672ff3baed94dbfed04df821b5
refs/heads/master
2023-03-09T12:16:02.749807
2021-02-26T13:04:08
2021-02-26T13:04:08
315,070,954
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
import tkinter from tkinter import ttk win = tkinter.Tk() tree = ttk.Treeview(win) # 显示表格或树 tree["columns"] = ("Name", "Age", "Height") tree.column("Name", width=100) # 表示列,不显示 tree.column("Age", width=100) tree.column("Height", width=100) tree.heading("Name", text="姓名") # 表头 tree.heading("Age", text="年龄") tree....
[ "taoranzhishang@hotmail.com" ]
taoranzhishang@hotmail.com
1c839c157f06ac377b799639d8ae03cc25682b58
4235ae775f1061217504ea027ef32b533e8dea34
/0x04-pagination/0-simple_helper_function.py
83390a8b4302c52fe4e99a7266d5e60bc08eb3e8
[]
no_license
Leidysalda/holbertonschool-web_back_end
892cda3361a5fc18693f645b5b8f058087f6b9fd
0b8bd14fa018d9480fd31cf300dad2a3ccd439d0
refs/heads/master
2023-08-23T18:19:17.226745
2021-10-18T05:26:30
2021-10-18T05:26:30
387,662,848
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/usr/bin/env python3 """Simple helper function """ def index_range(page: int, page_size: int) -> tuple: """Index range""" return (page - 1) * page_size, page * page_size
[ "leidysalda1@gmail.com" ]
leidysalda1@gmail.com
31b99f77c0ae6772cfdef2260dad07ec24ebc40a
e77a7cc1ed343a85662f0ad3c448a350ab776261
/data_structures/array/dutch_flag_problem.py
f898486c9edeca6b8bfaf519c0fddcb52c4d54b5
[ "MIT" ]
permissive
M4cs/python-ds
9dcecab10291be6a274130c42450319dc112ac46
434c127ea4c49eb8d6bf65c71ff6ee10361d994e
refs/heads/master
2020-08-10T03:40:22.340529
2019-10-10T17:52:28
2019-10-10T17:52:28
214,247,733
2
0
MIT
2019-10-10T17:43:31
2019-10-10T17:43:30
null
UTF-8
Python
false
false
446
py
def dutch(arr): low = 0 mid = 0 high = len(arr) - 1 while mid <= high: if arr[mid] == 0: arr[low], arr[mid] = arr[mid], arr[low] low += 1 mid += 1 elif arr[mid] == 1: mid += 1 else: arr[mid], arr[high] = arr[high], arr[m...
[ "prabhupant09@gmail.com" ]
prabhupant09@gmail.com
d0f5918497fd392711a2b40c87d146917628af1c
8a51b50564fa6bf772914873df27ec0d71e1caa1
/code_and_data/layer.py
994ff8d21b5e99c1d9007bbb477af4d290c0ac60
[]
no_license
fredmana/Deep_Neural_Network_implementation
c5745609c7bd180690fb7b9c338b3b791269574a
c173600e86be3a6fe0b646f2953784f4d7b0b11c
refs/heads/master
2020-07-10T19:07:35.947170
2019-08-26T14:36:44
2019-08-26T14:36:44
204,343,339
0
0
null
null
null
null
UTF-8
Python
false
false
4,377
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jul 7 19:48:10 2019 @author: Asher """ import numpy as np from softmax import Softmax from tanh import Tanh from relu import Relu from sigmoid import Sigmoid class Layer: """ This class represents a layer in the deep network. Each layer has ...
[ "asherfredman@gmail.com" ]
asherfredman@gmail.com
e1b3a00f83df529a938f68e89d93f33f17fd0e27
a3c4e1f71ba336764a3a93cf4e6c80aa74d91275
/HandwriitenDigit.py
ae798a64ade3918b155a1d67206fe3093beae4eb
[]
no_license
shubham-0031-nitkkr/handwritten-digit-recognition
34aaba1957b5cca7ca379f0120ad35398b6c912f
1fe9cf530353a2512831871d55d7c90100a2ebd6
refs/heads/main
2023-06-04T18:09:00.217224
2021-06-30T14:10:47
2021-06-30T14:10:47
381,719,517
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
import numpy as np from matplotlib import pyplot as plt from sklearn.datasets import fetch_openml from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import SVC from sklearn.linear_model import LogisticRegression from sklearn.metrics import accuracy_score def checkAccuracy(test_X, test_Y, clf):...
[ "noreply@github.com" ]
noreply@github.com
c2f55c970e1d27f0897ebd682a717f7ec23b74c2
0d1a9327154690ce246c422d49b0534d9c2dcf40
/part3/part3/settings.py
fa5c5217b91f8d1ca44b57805e863c829b138b3b
[]
no_license
SirGoose3432/Django-Tutorial
2f2ce6f5356b8fd9ef89ebcb551882ec3541fc54
04a3a114872b5bed5cd6fc0bc36828bd93c1dc72
refs/heads/master
2021-01-10T15:45:23.589574
2016-01-13T21:30:44
2016-01-13T21:30:44
48,289,721
0
0
null
null
null
null
UTF-8
Python
false
false
3,167
py
""" Django settings for part3 project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # Bui...
[ "jvoelkening@gmail.com" ]
jvoelkening@gmail.com
dd57e3930fd31049e70350b0d28b251e880f49a7
4bac8a150f1564ff1c7cbb81547c3de5c8f19729
/myapp/old/models_data.py
79c2791277120f9c640b958c15c7b395bc18133e
[]
no_license
ehacinom/jam4change-django
e9f3502f9fd29d93a0496444db312cb7a0c66420
3c7d969553cf53ef5bb37d9243d1768427138d41
refs/heads/master
2021-01-12T00:17:21.592252
2017-01-13T19:32:02
2017-01-13T19:32:02
78,700,591
0
0
null
null
null
null
UTF-8
Python
false
false
2,941
py
CommitteeName,CommitteeType,Link,Header,Chair,CoChair,ViceChair,CommitteeClerk,LegislativeCouncilStaff,Members,OtherMembers,Hearings "Senate Committee on Workforce Development, Public Works, and Military Affairs",Senate,http://docs.legis.wisconsin.gov/document/committee/2015/1381,"2015 Senate Committee on Workforce Dev...
[ "ehacinom@gmail.com" ]
ehacinom@gmail.com
171e5c2dbed1ec67eced3b19ddf7954dfb167246
844a9fc6aac74166640657a54de6ea0978e433d0
/core/losses.py
a96bd13d096c17345953cfc043f3cf24bf7b9868
[]
no_license
TerrisGO/tDBN
441ae76a7b9369ec8e93bfd35f15de615d1c1e57
91644521f0adcc838137523a7a178394e39f4d7b
refs/heads/master
2022-06-04T00:51:08.247125
2020-05-03T04:21:41
2020-05-03T04:21:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,727
py
# Copyright 2017 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 # # Unless required by applica...
[ "xuesong.li@unsw.edu.au" ]
xuesong.li@unsw.edu.au
f5cdd933f7176fa06a5e62295f24e20cc56367d5
e4036f25ac4076f5c8df50b55b5418eec4b60c02
/file.py
7e23c98433c309139eda7f3ea12b4b4064ffd1bf
[]
no_license
ponxu/pxblog
42c43ceb8584b1320b9a248bb04d9dcbb4aad630
cfd21789f763afd226b3299edb845a2229130ee5
refs/heads/master
2020-05-19T16:53:28.995858
2012-12-31T06:06:34
2012-12-31T06:06:34
7,176,492
20
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
# -*- coding: utf-8 -*- from setting import * if is_sae: import sae.storage def save(name, data): s = sae.storage.Client() ob = sae.storage.Object(data) url = s.put(storage_domain, name, ob) return url def read(name): s = sae.storage.Client() ob = s.get(st...
[ "xwz689@gmail.com" ]
xwz689@gmail.com
905bd2fa91b8f2f596253a2ea0da0afae3162704
73c5bc071e496b67677c55dfb9cd8621eac1f34e
/probabilistic_utils/gmm_utils.py
2887862615fb3b85f7da7651fe0e1736afc1d27f
[]
no_license
salt-fly/unsup_temp_embed
55324ffba7b2858ff3c255f2a984d0253ea23dfb
be7fa1fdfb4466673e3d6953924194cdead281a5
refs/heads/master
2020-05-30T19:33:51.311017
2019-04-29T18:07:33
2019-04-29T18:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
#!/usr/bin/env python """ """ __author__ = 'Anna Kukleva' __date__ = 'September 2018' import numpy as np from utils.arg_pars import opt from utils.logging_setup import logger class AuxiliaryGMM: def __init__(self): self.means_ = [0] self.covariances_ = [0] def score_samples(self, features...
[ "kuklevaanna@gmail.com" ]
kuklevaanna@gmail.com
a8dc4dd41c5abc7755f49846ffa67574433c31ea
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/287.寻找重复数.py
e810ef03eb114a003fdd86c50269732634088bba
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
# # @lc app=leetcode.cn id=287 lang=python3 # # [287] 寻找重复数 # # @lc code=start class Solution: # def findDuplicate(self, nums: List[int]) -> int: def findDuplicate(self, nums: List[int]) -> int: '''快慢指针''' slow = fast = 0 while True: slow = nums[slow] fast = nu...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
61f980bf003c11e624b9ddeb7af030e4ce6eeb42
14d6155267916e7be845f90cd39f827cae950866
/Machine-Learning/Classification_algorithm_note/naive Bayes/有.py
6a96294f6470d9c21b66ee260c09ce9a9a12405d
[]
no_license
Tupeng2019/Machine_Learning_algorithm
e50f7239b94f10349b7ba6eedcb35e9487fa6b62
35fbe813cd6f0af93e1f35625d36974a57ab9eb2
refs/heads/master
2020-05-31T17:04:40.727182
2019-06-11T13:17:50
2019-06-11T13:17:50
190,398,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,475
py
import feedparser import random # ny = feedparser.parse('http://newyork.craigslist.org/stp/index.rss') # a = ny['entries'] # print(len(a)) # 函数createVocabList()将创建所有文档中所有唯一单词的列表 def createVocabList(dataSet): # 创建一个空的不重复的列表 vocabSet = set([]) for document in dataSet: # Create the union of two sets创...
[ "820305828@qq.com" ]
820305828@qq.com
a95cff2d9d860046fa74ac94747beb54443c7426
632099ac0d895943cbbeb9048a2cdfcd21102411
/LPD8/__init__.py
854fab1bea8584f563056348a8c3ca56979773b0
[]
no_license
Toniigor/AbletonLive9_RemoteScripts
7f4bbf759a79629584413f6d1797005e8cd7f2ff
fed1e5ee61ea12ea6360107a65a6e666364353ff
refs/heads/master
2021-01-16T21:19:25.330221
2014-06-06T12:33:03
2014-06-06T12:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
#Embedded file name: /Users/versonator/Jenkins/live/Projects/AppLive/Resources/MIDI Remote Scripts/LPD8/__init__.py from _Generic.GenericScript import GenericScript import Live from config import * def create_instance(c_instance): """ The generic script can be customised by using parameters (see config.py). """ ...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
15b938d4100f7d789627cdd8c18f844a41b98930
836312e7ced2d5c5ed43d0e3ad34f2144cf9064e
/APIs/5_SecuringYourApi/models.py
9f1b833e0b49a78a074f3a8471d669f318a8cb51
[]
no_license
muhammad-mamdouh/udacity-fullstack-tools
4342cdca75d88184a095d69b9484a4e50c87f905
a881845042f3706b5e37ea72df645859541c73ab
refs/heads/master
2022-12-15T23:33:20.813201
2019-07-11T21:05:53
2019-07-11T21:05:53
187,712,425
1
0
null
2022-12-08T05:51:53
2019-05-20T20:58:42
Python
UTF-8
Python
false
false
715
py
from sqlalchemy import Column, Integer, String, create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, sessionmaker from passlib.apps import custom_app_context as pwd_context Base = declarative_base() class User(Base): __tablename__ = 'user' id = Column...
[ "mahammad.mamdouh@gmail.com" ]
mahammad.mamdouh@gmail.com
133aaae17e2a073f1ab7d184b097da003604c9e7
6d6841d188a213e75b21a06f4b8bbe8a6ee2e08e
/DP/멀리뛰기.py
a0565710eb9b0d419669c997d54a8051adb0b290
[]
no_license
karockai/Yongorithm
084729459357557af9080ce290dbd6029ccfa134
bf5fd87b6f4c5a02281a028a391375b1401e0baf
refs/heads/main
2023-05-01T13:10:33.060324
2021-05-10T14:31:07
2021-05-10T14:31:07
360,031,251
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# https://programmers.co.kr/learn/courses/30/lessons/12914 n = 4 n = 5 # 1, 2, 3, 5 def solution(n): if (n == 1): return 1 elif (n == 2): return 2 aMap = [0 for col in range(n)] aMap[0] = 1 aMap[1] = 2 for i in range(2, n): aMap[i] = aMap[i-1] + aMap[i-2] re...
[ "75655052+karockai@users.noreply.github.com" ]
75655052+karockai@users.noreply.github.com
2f923e298d43e845edb4b4f5e90e115cd19908e1
866e76dd7189586dfe48cbde8af62b3632206753
/plusOne.py
0d2dfc918f386bca4aca86b2099195eb6fbdd868
[]
no_license
Lisajoy512/python_algorithm
38c3edd73badb14c05c2ff95a616fd6bfbdf27ae
c7badfe5c76bbb543d21c1d57e5e35721a106c54
refs/heads/master
2020-05-07T22:52:36.912815
2019-04-12T08:28:48
2019-04-12T08:28:48
180,964,719
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
def plus_one(digits: [int]) -> [int]: if len(digits) == 0: return [] last_n = int(digits[-1]) if last_n < 9: digits[-1] = last_n + 1 return digits else: if len(digits) == 1: digits.append(1) digits.append(0) return digits[1:] el...
[ "769918579@qq.com" ]
769918579@qq.com
9ef5e4d79b68d360745e38beee748a1e938f098f
7d46c440f416b8c0ef5ad52d68e338920eb248f0
/leaf/weixin/reply/message.py
48e7e3a3178c43a5ce93bae96a889fe09b974bae
[ "Apache-2.0" ]
permissive
guiqiqi/leaf
54bcf267dc4fa63ab02e16d99550f29284503655
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
refs/heads/dev
2021-08-10T08:52:15.096677
2020-12-30T16:04:15
2020-12-30T16:04:15
236,320,314
122
13
Apache-2.0
2020-05-03T09:25:50
2020-01-26T14:04:58
Python
UTF-8
Python
false
false
3,843
py
""" 微信公众平台消息接受与被动回复 """ from collections import deque from typing import Callable, Tuple, Any from . import url from .. import const from .. import settings from ..encrypt import Encrypt from ...core import wrapper from ...core.tools import web from ...core.tools import time from ...core.tools import encrypt cla...
[ "guiqiqi187@gmail.com" ]
guiqiqi187@gmail.com
a06fc5c4de927107934a98e2926e54b640c22983
478de38a95c2729ee2ef8c77b1c5a81f23aedb59
/Programming-Algorithm/Palindrome Partitioning.py
a1578e415d692bf6775851f2802cd87fc34a869b
[]
no_license
shuzhancnjx/leetcode-
0c711f720ef653ddff2af3af697a453122c28403
12093c92ef33707ad8ccdd59ad040c04cad1ee3b
refs/heads/master
2020-12-24T16:32:25.976747
2016-03-03T15:36:44
2016-03-03T15:36:44
37,101,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 16 14:08:57 2015 @author: ZSHU """ ''' 1. the basic idea is to have a list 'temp' formed by each letter in the string, i.e., list(s) 2. combine the components of 'temp' when they are palindrome 3. 'pos' is used to record the center for determing the palindrome ''' clas...
[ "zshu@ets.org" ]
zshu@ets.org
044e9c1e77c89ce1355fb6554c76427ba38d63d1
7f3739a0c5d12a4ac2944be70e21d1dd5d66be5f
/py-chain/app.py
ee5ad577cb6ccdabdd802007f43358c68234cca3
[]
no_license
shehand/Chain
f791f728f7b7325adf719193a132f00f404178f2
cff9da33ee6ebdb6d290ac9cde4accbaa45a1366
refs/heads/master
2020-09-04T14:54:37.135425
2019-11-13T10:03:14
2019-11-13T10:03:14
219,761,146
2
0
null
2019-11-13T09:55:07
2019-11-05T14:11:11
Python
UTF-8
Python
false
false
2,596
py
import requests from flask import Flask, jsonify, request from blockchain import * # Instantiate the Node app = Flask(__name__) node_identifier = str(uuid4()).replace('-', '') blockchain = Blockchain() @app.route('/mine', methods=['GET']) def mine(): last_block = blockchain.last_block proof = blockchain.pr...
[ "sonodewcomplex@gmail.com" ]
sonodewcomplex@gmail.com
cde54a09147bedf311abc8e1fe4d88900bc757e9
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/scipy/optimize/tests/test_linprog.py
a245d4719d083c4e3e039a7d01fc03a1e56ecc28
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:f8b63b53bd829fbc07a8138950ebbc2e32d2b860e947b44b004584abe4170b6a size 69667
[ "business030301@gmail.com" ]
business030301@gmail.com
1c753e13c189d825f461eabc45b5e49284b23651
02f85f71896245343b911a42e0110842389387a1
/telebot/apihelper.py
7647e1278e3e3a1be030bb59f9a9dba2ae0c3a31
[]
permissive
AEscalante26/AlexaUG
b0eb8bf84ce1cffbd657acd90577a50ac73e8cd7
d3a89b3de068a4f43549916ac15827a4aae85ede
refs/heads/main
2023-07-03T22:41:50.349427
2021-08-05T03:51:46
2021-08-05T03:51:46
386,155,336
0
0
MIT
2021-08-05T03:33:48
2021-07-15T03:54:10
Python
UTF-8
Python
false
false
69,195
py
# -*- coding: utf-8 -*- import time from datetime import datetime try: import ujson as json except ImportError: import json import requests from requests.exceptions import HTTPError, ConnectionError, Timeout try: # noinspection PyUnresolvedReferences from requests.packages.urllib3 import fields f...
[ "aescalante737@gmail.com" ]
aescalante737@gmail.com
5970e87ee2061596cca1ae837cf3d8a58cc9226c
ea637e5e28056d0a332a7892bd241aa6a154e57a
/recyclescrollview.py
c3528005902e474677d732e97bfd75ece4cf01c5
[ "MIT" ]
permissive
JesusZerpa/kivy-recyclescrollview
85c4511569ce65e0cecf102238dd36858a6aa92c
50016c313216833b583066ec0a9ed7e5b271da01
refs/heads/master
2022-04-20T21:52:22.862800
2020-04-21T00:54:28
2020-04-21T00:54:28
257,435,919
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
from kivy.factory import Factory from kivy.properties import * from kivy.uix.floatlayout import FloatLayout from kivy.uix.boxlayout import BoxLayout class RecycleScrollView(Factory.ScrollView): viewclass=StringProperty("") data=ListProperty([]) #box orientation= 'vertical' default_height= 1000 cursor=0 max_it...
[ "jesus26abraham1996@gmail.com" ]
jesus26abraham1996@gmail.com
848614b9568aff2a658d60b2321afcea163f00e3
2d647ce5b0acf255b0713304acdb0f0c193df8fc
/doc/conf.py
d526459dffd408e28854f7bbfcccf8efeec1311c
[ "CC-BY-NC-4.0", "MIT" ]
permissive
tonybaloney/pycharm-security
a1ed540f47a0af4cd659c72643f63f800df01702
5c1ceeb1fb2a18478fa7076a81f9f47fd450e592
refs/heads/master
2023-08-17T20:09:22.924182
2023-08-16T02:12:57
2023-08-16T02:12:57
231,985,043
341
27
MIT
2023-09-14T19:03:27
2020-01-05T22:35:55
Kotlin
UTF-8
Python
false
false
2,438
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- project...
[ "anthony.p.shaw@gmail.com" ]
anthony.p.shaw@gmail.com
665a8e3213e3b7055737a64d161f3b9fdc7e85ad
6f9b21447e463219aeb710736a8a53fcccf21a13
/assignment_4/math/server.py
1bcd02f80f8d887a8dcacabef0ae8dda4f8dd52c
[]
no_license
Tollii/TDAT2004
5b60a20d3c499e876d45107de735ddd3f5045d62
5c50404dc3973bdba17de0c4bfe6c8a92c2c822d
refs/heads/master
2020-12-26T11:30:22.162477
2020-03-31T12:12:44
2020-03-31T12:12:44
237,494,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
import socket import threading import json class Server(threading.Thread): def __init__(self, client_address, client_socket): threading.Thread.__init__(self) self.csocket = client_socket print("New connection added: ", client_address) def add(self, num1, num2): return str(num1 + num2) def sub(self, num1...
[ "andreas.tolnes@ymail.com" ]
andreas.tolnes@ymail.com
68ca9762fd012943155b4e292cef1c5cbd9fa5f5
6649efd4a95645938221eca58404db5663cd2491
/official/vision/dataloaders/tf_example_label_map_decoder_test.py
3ff9a8b3c14c70ea2289e9cf6783a02f93db5b72
[ "Apache-2.0" ]
permissive
Dithn/models
8447866855959946358f2e5160b7d31aaafcfc98
36a140b8765eaa07525ac42a00cbd01a8b03b98e
refs/heads/master
2023-09-01T07:41:28.596877
2022-03-16T18:12:00
2022-03-16T18:13:23
228,201,096
1
0
Apache-2.0
2021-09-23T21:19:16
2019-12-15T14:52:24
Python
UTF-8
Python
false
false
7,746
py
# Copyright 2022 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 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a78a3443d3546babaafa6385f7e5ff274f76b398
13a4242ee88f399d5e2687314cba62e29c2761a5
/db/druid/query_client.py
d96c6a90ee98d90418fdcfd287f1d7e600ceb6af
[]
no_license
smithjunior/Harmony
98124285482ca455c69b2d99775199dc2ad4886d
14751792b3d2b663f1184232e3894b672aeeae01
refs/heads/master
2023-01-09T12:51:41.797914
2020-11-12T12:39:55
2020-11-12T12:39:55
306,517,386
0
0
null
2020-11-12T12:39:56
2020-10-23T03:14:21
Python
UTF-8
Python
false
false
6,085
py
from builtins import object import json import logging import os from abc import ABCMeta, abstractmethod import requests from db.druid.errors import DruidQueryError from log import LOG from future.utils import with_metaclass # Create a shared request session that provides connection pooling. Each worker # process sh...
[ "ianw_github@ianww.com" ]
ianw_github@ianww.com
f3e59dfcd2715779397ac61ec7b1c6e8fab83969
63170d7ebccecaaf4f1b7eb0d087eed14bb36a5a
/bin/automount_users_sync.py
10068a6ff6f001bddff4be7f3428b91a82878b04
[]
no_license
ghostjvrmaster/it
79bc7a4b86de832aff1fe29d221c3f188059b4bc
ddc1f95b04bd780e976a0602356d88c2c5cd2ed8
refs/heads/master
2020-09-14T05:42:28.116697
2019-09-12T21:30:32
2019-09-12T21:30:32
223,036,492
0
0
null
null
null
null
UTF-8
Python
false
false
11,224
py
#!/usr/bin/env python import getpass import json import os.path import pwd import requests import subprocess import sys """ This script crawls known mount points containing user home directories and ensures that a Mac automount entry exists for each user. """ MOCK = False USERS_PATHS = ["/net/nas1.corp.jau...
[ "greg@jauntvr.com" ]
greg@jauntvr.com
8247ddf7a63ae3cc954fc819bd2bfa9d3ed5c402
a46fc5187245f7ac79758ae475d4d865e24f482b
/33_search_in_rotated_array/search_in_rotated.py
18c24c01cea4ab774ce6a9b99cb74a3bf1bf59d2
[]
no_license
narnat/leetcode
ae31f9321ac9a087244dddd64706780ea57ded91
20a48021be5e5348d681e910c843e734df98b596
refs/heads/master
2022-12-08T00:58:12.547227
2020-08-26T21:04:53
2020-08-26T21:04:53
257,167,879
0
2
null
null
null
null
UTF-8
Python
false
false
861
py
#!/usr/bin/env python3 from typing import List class Solution: def search(self, nums: List[int], target: int) -> int: left = 0 right = len(nums) - 1 if not nums: return -1 while left < right: mid = left + (right - left) // 2 if nums[mid] > nums[...
[ "farruh1996@gmail.com" ]
farruh1996@gmail.com
68c32ff62791b854ff730c22dae75e86bf993ce2
1a754e8d38286b675e711dab1c1932303850c31c
/app/api/type_resolver/query.py
ea50e616c16d77733e233d1c1dbc8cdf73353896
[ "MIT" ]
permissive
josermarinr/workshop-advertisement
3a996e582f164040aaa9baf933f684fa18dd5b80
f8b61985ba7cee1998b16b4912c170299ebe53dc
refs/heads/master
2022-12-16T08:59:40.591104
2020-09-07T14:19:11
2020-09-07T14:19:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import hashlib from ariadne import QueryType from app.api.ads.ads import ads from app.api.ads.likes import likes query = QueryType() @query.field("advertisements") def resolve_hello(_, info, research): value: int = int(hashlib.sha256(research.encode('utf-8')).hexdigest(), 16) % 3 return ads[value] @query...
[ "fabien.arcellier@gmail.com" ]
fabien.arcellier@gmail.com
d0a47fa1bdf0da6b9209cedf6027bd9c91de543d
0d1fccdf7d4a435bd40ff1125608f2ae2733cc7a
/data_structures/week3_hash_tables/hash_chain.py
be32d95e2439072509edd82d3b6021ec31716d90
[]
no_license
CTingy/DSA-coursera
697fa0fc1f37cf536f84aed641b2a60df399dea4
975ccbe2a67c9908cafa155f809f28663652de35
refs/heads/main
2023-07-16T09:07:09.497447
2021-09-04T15:45:40
2021-09-04T15:45:40
352,017,904
0
1
null
2021-08-16T07:46:56
2021-03-27T08:13:00
Go
UTF-8
Python
false
false
1,757
py
# pass all test cases X = 263 PRIME_NUMBER = 1000000007 class Query: def __init__(self, input_string): s = input_string.split(' ') self.action = s[0] self.content = s[1] class HashChain: def __init__(self, m): self.size = m self.chains = [[] for _ in range(m)] d...
[ "joker1618@livemail.tw" ]
joker1618@livemail.tw
fca3e9b365b932ca8b98dfa606be1b3b4a7cd0db
c602d28de32d559316e3d60d48f1b107fd57905d
/solution/_102_binary_tree_level_order_travel.py
69ce0e2664aa571ab4b47443128072e946e654b7
[]
no_license
zhangda7/leetcode
73b90ccf987b5cd1e7a6bda1cc7546e5d9a8533a
7fea71d92a12659e186b999ae06c06be39a19290
refs/heads/master
2021-01-17T22:29:12.480403
2015-08-24T09:36:35
2015-08-24T09:36:35
38,037,990
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
# -*- coding:utf-8 -*- ''' Created on 2015/8/24 @author: dazhang Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,20,#,#,15,7}, 3 / \ 9 20 / \ 15 7 return its level order traversal as: [ [3...
[ "dazhang@lenovo.com" ]
dazhang@lenovo.com
b6d0c2267d52b5f791315417a324c2657e86e1db
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-dataform/samples/generated_samples/dataform_v1beta1_generated_dataform_list_workflow_invocations_async.py
dde7ff28eefb1bca3666f553e8ef38cb254977af
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,967
py
# -*- coding: utf-8 -*- # Copyright 2023 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...
[ "noreply@github.com" ]
noreply@github.com
215c25ff82445f20287bdd8bbd15f05641fd6053
1201e90015f2e068fe6ee9fb2540687578847ae8
/hostel/docs/views.py
c1c47819f01ce59b9d779d248751fb0c9940a89d
[ "Apache-2.0" ]
permissive
sincere32/hostel
ad33f814bc9f5614d5202dc431615fadfb776bdd
34408e969cedde247b9121934cd531f224ddb1ae
refs/heads/master
2023-01-02T04:54:58.063968
2020-10-21T15:04:15
2020-10-21T15:04:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,920
py
from django.contrib import messages from django.contrib.auth.decorators import login_required, permission_required from django.core.paginator import Paginator from django.shortcuts import render, get_object_or_404, redirect, reverse import hostel.common.helper_functions as h from hostel.clients.models import Client fr...
[ "phylocko@mail.ru" ]
phylocko@mail.ru
460a5f4a032121c254f1e60a432315653fa13d15
10aa9f2d34080a61e26afabde4fd9a6c0a269fed
/ticketbot.py
6e0fb8db840041148f3849755054ff495397ab0a
[]
no_license
chetan1728/ticketbot.py2
cc8e8283ccfac7fa1331707fe1caa4254d93ec4f
3129838a1e8a54dbc1f700a224b2849b25d8dee1
refs/heads/master
2020-04-13T13:36:45.365785
2018-12-27T02:47:40
2018-12-27T02:47:40
163,236,316
0
2
null
null
null
null
UTF-8
Python
false
false
40,060
py
import discord from discord.ext.commands import Bot from discord.ext import commands from discord.ext.commands.cooldowns import BucketType import asyncio import platform import colorsys import random import os import time from discord.voice_client import VoiceClient from discord import Game, Embed, Color, Status, Chann...
[ "noreply@github.com" ]
noreply@github.com
fdc0f41cf2ed69d4d148067fd373352e36deb85e
a1e94de283e5fbb5d7546cf3673101f6df4aee21
/python/tf_seg_model.py
b88f1faec83677ef7b7a653b26cb3b8354d80508
[]
no_license
gongxijun/tfqieci
81a35eb53e928b409459fbbb99083b69cc54eb01
ae9abb200427382b0c3ef09d8eef0ecc1c5538a3
refs/heads/master
2020-04-16T17:31:27.238862
2019-01-15T04:41:23
2019-01-15T04:41:23
165,778,470
0
0
null
null
null
null
UTF-8
Python
false
false
11,739
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ---------------------------------- Version : ?? File Name : tf_seg_model.py Description : Author : xijun1 Email : xijun1@staff.weibo.com Date : 2018/11/13 ----------------------------------- Change Activiy : 2018/11/13 --------------...
[ "1005267096@qq.com" ]
1005267096@qq.com
2a3e7dcabd45c50afa9aaec3c28922e67f7594b5
caceb60f71165772b6d6155f619e79189e7c80a9
/第一期/成都-MFC/task002/selflearn/advance02decorator/decorator/demo0.py
bcaf2abdb66537909eedbbbbfd2e83322255515b
[ "Apache-2.0" ]
permissive
beidou9313/deeptest
ff41999bb3eb5081cdc8d7523587d7bc11be5fea
e046cdd35bd63e9430416ea6954b1aaef4bc50d5
refs/heads/master
2021-04-26T23:06:08.890071
2019-04-03T02:18:44
2019-04-03T02:18:44
123,931,080
0
0
Apache-2.0
2018-03-05T14:25:54
2018-03-05T14:25:53
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '18/1/24 15:14' """ 01.python高级1 02.python高级2-生成器、闭包、装饰器 05-装饰器 01 """ # example 1 def foo(): print('foo') foo # 表示是函数 foo() # 表示执行foo函数 # example 2 def foo(): print('foo') foo = lambda x: x + 1 # foo指向另一个函数 r = foo(...
[ "moneyfromcat@foxmail.com" ]
moneyfromcat@foxmail.com
cec1ff8ea345d786e98431b3d65d0e89ae236165
5cbf2ddb902eb7fb0da3c8b91de768d0848c06be
/pages/pages_project/urls.py
cb52bf5d771a4354bc949b2e398f5dbf824970f3
[]
no_license
conectis360/django-begginer2.0
60b031594ba4f9c359916e3912518bc1e2a3335c
429d352084787d7dd0aca4fd310c75478e497852
refs/heads/master
2022-04-26T18:57:53.591800
2019-08-17T05:02:28
2019-08-17T05:02:28
202,827,107
0
0
null
2022-04-22T22:19:24
2019-08-17T02:50:36
Python
UTF-8
Python
false
false
829
py
"""pages_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home'...
[ "noreply@github.com" ]
noreply@github.com
5730b69a0802e196a75c473d7b494b184765e4a9
20952210ba89eac3e7d74a8a4c35eef48037c659
/eventex/subscriptions/tests/test_admin.py
33e893e5549911f60d871cb733fd6d11f5a3025b
[]
no_license
cpatrickalves/eventex
181491f6ec978597704cc66dbc8f897cb3f9869b
dd8233ef6d9a6b3278d2388d254d8f512c3c0819
refs/heads/master
2020-09-28T05:53:16.635145
2017-01-16T18:17:04
2017-01-16T18:17:04
67,431,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
from unittest.mock import Mock from django.test import TestCase from eventex.subscriptions.admin import SubscriptionModelAdmin, Subscription, admin class SubscriptionModelAdminTest(TestCase): def setUp(self): # Prepara o BD Subscription.objects.create(name='Patrick alves', cpf='123456789...
[ "cpatrickalves@gmail.com" ]
cpatrickalves@gmail.com
b56b95773ecf1e085ce8d479c4276dc62671e7b1
5d77027f93fe251388bfc52d6da553a7f23cafa6
/umm-python/app/domain/composite_solution_map.py
35d93302bb202be074b3e1dc66929b7eab7b14fc
[ "Apache-2.0" ]
permissive
suomitek/cubeai
d86e1d57fec4cb30ac5de38f613d1d0de9bd2808
cc4c0f5f445a552d239910da63944307c1f06e37
refs/heads/master
2022-12-08T13:12:57.279914
2020-08-29T18:12:40
2020-08-29T18:12:40
291,183,681
0
0
Apache-2.0
2020-08-29T02:11:57
2020-08-29T02:11:56
null
UTF-8
Python
false
false
272
py
class CompositeSolutionMap: def __init__(self): self.id = None self.parentUuid = None self.childUuid = None def from_record(self, record): self.id = record[0] self.parentUuid = record[1] self.childUuid = record[2]
[ "huolongshe@126.com" ]
huolongshe@126.com
fa0b4aecc20679a3ec3655aa71d64f4b62bbf0f4
6afd2c59870217ec93d539f812ddfc70c13d5d3a
/src/apps/calificacion/models.py
6ac811ff70282daa27bb0e9d774213785c0d59f5
[]
no_license
heraldmatias/acajef
f03972f09121a05d09e4ca3d6f407d4bf2920ad2
0a47a565110dcc60f79fd7c9e62472c6acf8c38c
refs/heads/master
2021-01-25T12:07:23.878398
2012-04-16T06:49:22
2012-04-16T06:49:22
2,861,815
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from django.db import models from curso.models import CursoDocente from boleta.models import Boleta from campus.models import AlumnoCampus class Nota(models.Model): curso_docente = models.ForeignKey(CursoDocente) alumno_campus = models.ForeignKey(AlumnoCampus) nota = models.IntegerField('Nota')...
[ "themiseck.rock@gmail.com" ]
themiseck.rock@gmail.com
ac9cb79b3dcf49071e853fea387f1c293579dd72
22ad9f0e83cbbe8dc8382d701a6c744a3219b98b
/ls8/cpu.py
207f1649d52e573c09756de2d07747541ac1da70
[]
no_license
Jrive204/Sprint-Challenge--Computer-Architecture
cd9feabb80d86abc077ee764bec0cc1df178d948
9a3dd803b85c32b9b36cee5390fc536d6630cc73
refs/heads/master
2022-11-05T18:43:31.244393
2020-06-19T17:40:06
2020-06-19T17:40:06
273,552,685
0
0
null
2020-06-19T17:38:44
2020-06-19T17:38:43
null
UTF-8
Python
false
false
8,365
py
"""CPU functionality.""" import sys import re # instance = { # "LDI": 0b10000010, # Sets the Value of a reg to an int # "HLT": 0b00000001, # halts the program, "ends it"/"stops it" # "PRN": 0b01000111, # Prints the value at the next reg # "MUL": 0b10100010, # multiply reg at +1 with reg at +2 # } ...
[ "jrivera6869@gmail.com" ]
jrivera6869@gmail.com
0105ae6a0f432e906d8c0f3a428f8f6209277bd8
d5cfc0b983e3f3304dd465eda010c7549e33bcf5
/enneagram/skeleton.py
87723fce65645dca2cc33a1d5c0575278c012218
[]
no_license
jmhossler/enneagram
b83a034099fc064b32274147e396f355b06b0e65
de39c6d1588db6e0110e81c82e75c6b80ba0b957
refs/heads/master
2023-04-01T16:54:47.902439
2020-10-29T03:59:53
2020-11-27T08:56:30
62,271,349
1
0
null
2023-03-16T06:50:31
2016-06-30T02:03:12
Python
UTF-8
Python
false
false
2,871
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following line in the entry_points section in setup.cfg: console_scripts = fibonacci = enneagram.skeleton:run Then run `python setup.py in...
[ "john.m.hossler@gmail.com" ]
john.m.hossler@gmail.com
2afd63762f350a46cd3d44a1180b6360ef64572a
30aba5246cd3c0fb5fe3299cfffd301e4b51db3b
/importData.py
fb15296ccd9d923b55c36088ef227df6b8e9e085
[]
no_license
Brisk-Rui/SpectraReconstruction
bb0b67e6637075186234c20392188d70702acfe4
a40265c8138267f9cfa4ac541fffdf60497668b3
refs/heads/main
2023-07-29T03:14:08.879811
2021-08-31T07:50:20
2021-08-31T07:51:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,452
py
""" SPECTRA PROCESSING Copyright (C) 2020 Josef Brandt, University of Gothenborg. <josef.brandt@gu.se> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opt...
[ "josef.brandt@gu.se" ]
josef.brandt@gu.se
66084b78d97cf842d8272e1d96df1f910dffd84d
07df38b4ab8733c12611397b8de7b9d51015351b
/bienesmuebles/views.py
d52ed2aa57074af35ad3ff70293ba949f57d58af
[]
no_license
bitia1/nuevo
f60bf4985617924d398e9961d97e832f0c2955dc
24d700f6ad866facd4b390925e8246a6b6f14645
refs/heads/master
2020-03-21T08:42:33.801157
2018-06-23T00:49:47
2018-06-23T00:49:47
138,360,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
from django.shortcuts import render from django.http import HttpResponseRedirect from django.views.generic import View from .forms import MuebleForm # Create your views here. def homeview(request): return render(request, 'homeBM.html') class ArtuculoView(View): ''' OrganizacionEstudio ''' form_class= ...
[ "janaiprincipal@gmail.com" ]
janaiprincipal@gmail.com
f928e54f0dac7709a51fa243d1d8ea979e3bc8fd
188f5f04e4c904213727872ea9a2e3f772d9b3af
/constant_variable_example/1509906484_constant_variable_example.py
adfb3d001f0144a65995ca2c54c02ec8ee73eb2e
[]
no_license
KatarzynaSzlachetka/Individual_project
43b2379de96a19bc1bde34cc386928bd61700094
722dc6d7bd882558b50d7d0837a7f53c7b4709a6
refs/heads/master
2021-09-04T06:37:47.141300
2018-01-16T20:02:37
2018-01-16T20:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
def constant(a,b): c = "mut" a = 8.393460901275843 if a<b: b = 1.7542498485112656 else: return 9.268545497053575 if c == "mut": return False constant(6,1)
[ "kasia.haja@gmail.com" ]
kasia.haja@gmail.com
dd103ca7787849a3bf82828cff7fb9713f864637
1ac3359142adf0f508f1f526e90d4d5ac917ebda
/scripts/evaluation_script.py
4da0ce576fbd14c3b3a3a80951b1afe2cf2519d9
[]
no_license
yasminsarkhosh/fyp2021p04g04
6cc5b11a796ddc6d5df3e200f677aa8e58655d7e
cbc0290b091ccd400fb4c27b81111e0ced31668b
refs/heads/main
2023-06-29T11:01:34.287728
2021-06-06T17:38:20
2021-06-06T17:38:20
362,124,047
0
1
null
null
null
null
UTF-8
Python
false
false
4,670
py
# usage: evaluaton_script.py [-h] [--tweeteval_path TWEETEVAL_PATH] # [--predictions_path PREDICTIONS_PATH] [--task TASK] # optional arguments: # -h, --help: show this help message and exit # --tweeteval_path: Path to TweetEval dataset # --predictions_path: Path to predictions files # ...
[ "78597237+yasminsarkhosh@users.noreply.github.com" ]
78597237+yasminsarkhosh@users.noreply.github.com
1ca728aa0a5257ab2f309ad100c10869fffcc888
f272656b91e70f0e514009d70d566dcb390bc277
/ozgun_liste.py
172bdc9e796f305b747145f43ed0102e18354f3e
[]
no_license
mfarukoz/8.hafta_odevler-Fonksiyonlar
65a7024e847b828629add3e4c3d81559099cb3ae
1046062340f40dbb4db314c016d2b8423fee8b7d
refs/heads/master
2020-06-29T13:36:41.096497
2019-08-09T01:16:07
2019-08-09T01:16:07
200,552,385
0
0
null
2019-08-04T23:38:43
2019-08-04T23:38:43
null
UTF-8
Python
false
false
293
py
# coding=utf-8 def ozgun_liste(*arg): #fonksiyon ismi ve sınırsız parametre tanımlama liste=set(arg) #tupel'i set'e dnusturme(tekrarlı elemanlar otomatikman alınmamıs olacak return print(list(liste)) #return ile sonucun listeye donusturulup ekrana yazdırılması
[ "51508821+mfarukoz@users.noreply.github.com" ]
51508821+mfarukoz@users.noreply.github.com
e0e558727efb272b2f35cc42380b49cd5cb301c2
7dd2bac7616b295e0a95538007879595051c8f5c
/DocParser/docparser.py
5819382f43936e594bb4d91ca2f52294c25ef5f5
[ "MIT" ]
permissive
mrchocoborider/smallprojects
40a2b6c338b8a0174d1188e3670ae368fda63441
2335484e1644a8d9ec76e62f1c3b8c6b1d9db93a
refs/heads/master
2021-05-04T20:25:03.533585
2019-01-29T04:58:22
2019-01-29T04:58:22
119,809,625
0
0
MIT
2019-01-29T04:58:23
2018-02-01T08:57:37
Python
UTF-8
Python
false
false
6,349
py
import re import docx from docx.shared import Pt import copy import sys reg = re.compile(r'[a-zA-Z]+') #This was written specifically to help my fiancee who had huge documents of text in #Chinese with English translation, but wanted to remove empty lines, change English font size to 11 #and also change the order of E...
[ "mrchocoborider@gmail.com" ]
mrchocoborider@gmail.com
d0421b44a25e1116f523a219dbfed2dc534f5518
f5485d955fa942711f337286a86f05374ea58a72
/migrations/versions/cbe0f844650d_.py
95626d4f1467e756a549807f7e637093f64f7ef7
[]
no_license
bingfengjiyu/flask_demo
f6245d7e8696b3bc492ed3f922948bd01319be30
3feef9fcee6e3c8f8fae46fb0fb5f5a8bdb82f4d
refs/heads/master
2020-03-24T11:04:03.012486
2018-07-28T12:16:01
2018-07-28T12:16:01
142,674,753
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
"""empty message Revision ID: cbe0f844650d Revises: Create Date: 2018-07-07 12:10:18.303153 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'cbe0f844650d' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
7570a7e69cff44f1cc225814c4f9dba828edaecb
0ba78125ea7ee061511f7dab58bbf2b9284c7fec
/formsfive/tests/forms.py
8e6a539e422af2c55c1dd3845631648ccd3df517
[ "BSD-3-Clause" ]
permissive
iamjstates/django-formsfive
2f8deab8aff736a67fb19edd1e0a5878e1fc1e6f
6eab78ef921724a2be5ce3e8aceb82e4f49d3ff1
refs/heads/master
2021-01-13T02:29:59.727273
2012-07-19T20:00:53
2012-07-19T20:00:53
2,867,652
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#!/usr/bin/env python from django.utils.translation import ugettext_lazy as _ from formsfive.tests.models import Todo import formsfive as forms class TodoForm(forms.HTML5ModelForm): body = forms.CharField(label=_(u'Post or Story Body'), placeholder=_(u'listed'), required=True) sample = forms.IntegerField(max=...
[ "jstates@based.ca" ]
jstates@based.ca
11321f1540a39b69acdb058cfd8d55e5558bdb84
21b2614a048da03f860710399a9c871f1eb2052e
/classes/Guest.py
3f5d4526c07df5b13abc83b48ecb563f489c9a7c
[]
no_license
Naydire007/codeclan_caraoke
72e88b1d5f2df29337b41ade852e24c644ba8121
9832059c09f9b930f18e3b77ea57ddffefdc51f3
refs/heads/main
2023-06-04T19:48:55.882883
2021-06-28T02:46:16
2021-06-28T02:46:16
380,885,969
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Guest: def __init__(self,name,wallet,favorite_song): self.name = name self.wallet = wallet favorite_song = favorite_song def pay_entry(self,amount): self.wallet -= amount
[ "stephania.l.e@gmail.com" ]
stephania.l.e@gmail.com
e33d27a85a6cb1e15658fad8e903d6c2f9211338
fd3750f3830329b10ef20e3b24272cbdbd3b025f
/servidor1.py
50d682394dfd8d8c4809f8178ec3eab4d6ec63d3
[]
no_license
AlvaroCS1023/Cliente-Servidor
208f94d0c8b772ac9a12f63dc8e10d3b64ef957c
7527b427f2041974c5c271aa6277ec7aac277994
refs/heads/main
2023-01-24T19:50:53.147026
2020-12-01T06:05:43
2020-12-01T06:05:43
317,441,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
import socket import threading import sys import pickle class Servidor(): """docstring for Servidor""" def _init_(self, host="localhost", port=9000): self.clientes = [] self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.bind((str(host), int(port))) self.sock.listen(10) self.sock.setb...
[ "noreply@github.com" ]
noreply@github.com
d29b8d8c7da8d36517a6fa5b1025972204040926
84576eeaa849b622735f8310bec2857885608cf8
/game/test_client_message_handler.py
93b5600933378e39be58924e213f7454d64e696e
[]
no_license
Escario/arduino-milestag
2c334a43594c639bade48ede41ab75ab9e89df93
56c9ea23f31360a642d22e773847dd886de8d30e
refs/heads/master
2020-03-20T18:32:41.217270
2018-05-28T21:06:53
2018-05-28T21:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
"Test how the client handles messages from the server" from client import Client, Main import proto def noop(): "No op function for use as a stub" pass def test_ping(mocker): "Test handling of PING message" mocker.patch.object(Client, '_openConnection', autospec=True) client_obj = Client(mocker.M...
[ "andrew@als-bi.com" ]
andrew@als-bi.com
e8fcc78c1879609c22a8e380e5cb5530520e3343
c724a87ccb758398ac333577c637ed6ae9419efb
/DataMining/group_project/main.py
83463d5d78062c8d40ef8bb6c026e490965079dd
[]
no_license
Inkozi/School
9b33028cd2b6d5dffafc652fd4866b77130fed50
e3a878e4f00b9066c2ae9432d7030d3ca3692b12
refs/heads/master
2021-10-23T23:28:37.057769
2018-03-25T02:07:55
2018-03-25T02:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,491
py
import Statistics import numpy as np import pandas as pd import operator import copy def writeToFile(df,s): subs = ['COCAINE_REF', 'ETHANOL_REF', 'HEROINE_REF', 'METHAMPHETAMINE_REF', 'MORPHINE_REF', 'NICOTINE_REF'] for i in range(len(s.pValues)): f = open(subs[i], 'w+') for j in range(len(s.pValues[i])): ...
[ "noreply@github.com" ]
noreply@github.com
ab16cc2ec6de6847a7b06e4883b4b8156aea149b
228b0a0073884ae5e8c1035998e6a8cb9e4a4917
/1. Strings/StringsInPython.py
bd0051dffaf116a3bfe8c8bb5974e4bd8e8a4606
[]
no_license
geekysid/Python-Basics
dd4a6a9a4aae97377182c93b445313af41393995
7cc0a7ad55fdd7633a2d5b806a916af097428f66
refs/heads/master
2022-04-03T13:03:34.958479
2020-01-31T15:32:56
2020-01-31T15:32:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,489
py
# Author: Siddhant Shah # Descp: Understanding and working with strings # In Python we can use strings as below myName = "Siddhant" print(myName) # We can place string literals in between single quotes (') or in between double quotes ("). # If we start a string using single quote then it must end with singl...
[ "siddhant.shah.86@gmail.com" ]
siddhant.shah.86@gmail.com
9c77d1de75a3f39cbe795c825a8d1208e277e1fe
c8b3454cee3ac3107cbd50665db49e1ce5edbe22
/schedules/migrations/0002_auto_20190622_0958.py
d76818f0df4623a361356f02573fbb7ff46dd669
[]
no_license
FerchoGD/Gestion-Monitorias
e1d631f31390b724366badc30b726193af208670
0f85e595268ef9dd358fdc3c2b73ee7498f197a8
refs/heads/master
2020-03-27T01:56:17.000965
2019-08-20T00:56:23
2019-08-20T00:56:23
145,755,040
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
# Generated by Django 2.2.2 on 2019-06-22 14:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('schedules', '0001_initial'), ] operations = [ migrations.AlterField( model_name='timeslot', name='day', ...
[ "ferchogir@gmail.com" ]
ferchogir@gmail.com
3d63334af90eb146e2448b01450835ace0a19062
037969c85708a1964490a6445a5d616c362000e1
/py-misc/prepare_categories.py
f5ed2d69a466f469cc3b7e8fdd40c43a0d582649
[ "MIT" ]
permissive
thehemen/dc-contest-2021-r2
a2e6fe76097b28325137439e606edbca3715a1bd
601ec2dbdf410f91b573e9ad9aee6188b588ec6a
refs/heads/main
2023-09-03T08:19:27.475523
2021-05-02T15:01:57
2021-05-02T15:01:57
429,071,517
0
0
null
null
null
null
UTF-8
Python
false
false
8,804
py
import sys import json import pprint import random import argparse from PySide6 import QtCore, QtWidgets, QtGui from PySide6.QtCore import Qt as qt from data_record import DataRecord def fix_by_newline(s, threshold=110): s_new = '' for line in s.split('\n'): for i in range(len(line) // threshold + 1)...
[ "hemen4815@gmail.com" ]
hemen4815@gmail.com
331941ba245a3efd4bff501824095597344e2597
8b808179d023896c520996abe1e6eae35da1673f
/data/mapper.py
d3b5565403db9308b363ac6e905c7e9832e7b5a2
[ "MIT" ]
permissive
emily-barnes/Barnes_E_DataViz
4d7fa3bfb18bf60247472d3a32e707967ecfe7f7
4e6cdffde1772964ac173b444b68e03198daa9b1
refs/heads/main
2023-02-01T15:21:33.517214
2020-12-20T04:42:49
2020-12-20T04:42:49
320,649,778
0
0
MIT
2020-12-20T04:41:58
2020-12-11T18:13:21
HTML
UTF-8
Python
false
false
326
py
import matplotlib.pyplot as plt years = [1924, 1936, 1952, 1964, 1976, 1988, 1998, 2002, 2010, 2014] medals =[9, 13, 17, 7, 3, 6, 49, 76, 93, 90] plt.plot(years, medals, linewidth=3.0) plt.ylabel("Total Medals Awarded") plt.xlabel("Years") plt.title("Total Medals Won by Canada Over the Years" , pad="20") plt.sh...
[ "emilybarnes@Emilys-MacBook-Pro.local" ]
emilybarnes@Emilys-MacBook-Pro.local
02b8c59f8dd6c7884da2b597847a776eb586f9c6
330cb5350c330887fef9f5a1c9381b60e2e9204b
/todo/test_forms.py
870dcbcdc5722d9f34beb65db05ab457ab8cfaf6
[]
no_license
nealbrophy/CI_hello-django_new
c62b098aaf5f0de538719ac715cf8fbc85631b4b
61498d5710898ad87bd69c6f32f334db99e58899
refs/heads/master
2023-08-12T10:31:43.522740
2021-06-11T15:05:53
2021-06-11T15:05:53
267,389,249
0
0
null
2021-09-22T19:07:30
2020-05-27T17:54:20
HTML
UTF-8
Python
false
false
626
py
from django.test import TestCase from .forms import ItemForm class TestItemForm(TestCase): def test_item_name_is_required(self): form = ItemForm({'name': ''}) self.assertFalse(form.is_valid()) self.assertIn('name', form.errors.keys()) self.assertEqual(form.errors['name'][0], 'This ...
[ "nbrophy@pm.me" ]
nbrophy@pm.me
3cdb1a1be34179b6668f1e9da47a1e17c6f87961
5df755b8dc70c128138c1e6e304a15a8f4d392a1
/ch2/06_pr_02_remainder_of_two.py
60528a59cd2f2a529c75308f78df3116ccd978dd
[]
no_license
atharv4git/pyLearn
bff2c2212aefce8832e94bf7caf19bdd0fd4de8d
d768b23f3f81798892d5caa0ed40ef66565a7ecb
refs/heads/main
2023-06-29T07:24:30.533661
2021-07-30T11:28:55
2021-07-30T11:28:55
391,033,742
0
0
null
2021-07-30T11:28:56
2021-07-30T11:03:07
null
UTF-8
Python
false
false
104
py
a = input("Enter a number:") a = int(a) print("The remainder when" , a , "is devided by 2 is" , a%2)
[ "noreply@github.com" ]
noreply@github.com
56de5b85ec3189cb5b85c474e96d22a39866e6e9
5496f2f8e1e92387fd113d255fc9f484765281b1
/PK/kri6_semoga fix.py
efdfb331cdcf8799fb3c133aebbc6ee201960e7e
[]
no_license
TRUI-GLADIATOS/latihan
01035f8dfc0bba660906693c98f6cf5b90069c7a
6ec5b98f8b14882d4c15ce9973aa85d29a820483
refs/heads/master
2021-07-21T18:39:40.128194
2021-07-11T15:38:12
2021-07-11T15:38:12
157,535,610
0
0
null
null
null
null
UTF-8
Python
false
false
3,473
py
import cv2 import numpy as np import serial from time import sleep import time #oii ser = serial.Serial("/dev/OpenCM9.04", 9600) # Open port with baud rate # data = 0 def B(): cap = cv2.VideoCapture(0) # Set camera resolution cap.set(3, 480) # 3,480 cap.set(4, 320) # 4,320 _, frame = cap.read() ...
[ "armeliaramand@gmail.com" ]
armeliaramand@gmail.com
8c8ebf1b96236c4c10d7bab4940997e6a9ff6d30
3fe31c7f38a785d71d51917020c3022bdd466937
/cpxButtons.py
33a2f2f4a8472604ef5809bd5324132c1b7361d1
[]
no_license
mkiser71/python
8191b063527288d2626f116a08b0414c02de36c2
f485fcfd2f569683acc002cf4ae5a16167d64460
refs/heads/main
2023-04-28T19:50:28.083607
2021-05-21T12:00:49
2021-05-21T12:00:49
338,573,830
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from adafruit_circuitplayground.express import cpx while True: if cpx.button_a: cpx.pixels[2] = (255, 0, 0) elif cpx.button_b: cpx.pixels[7] = (0, 255, 0) else: cpx.pixels.fill((0, 0, 0))
[ "noreply@github.com" ]
noreply@github.com
533876a381911e6ccb0850999d0c0075332f05f4
c3711aa405fb1ad731888ed9b041ef7d287833c8
/app.py
36da1a19e02dadd105c0f1a6b67718189ed14a56
[]
no_license
kims99/VTM_site
d5e2b30fe6fdef9dee1035b222dcc52ada561755
264696fd7523b26195d75eded5ea94b35adda92f
refs/heads/master
2021-07-14T09:54:54.216815
2020-02-18T18:26:04
2020-02-18T18:26:04
241,269,907
0
0
null
2021-03-20T02:55:31
2020-02-18T04:13:13
HTML
UTF-8
Python
false
false
1,274
py
from flask import Flask from flask import render_template, request app = Flask(__name__) @app.route('/') def index(): return render_template('index.html', pageTitle='Flask Server Home Page') @app.route('/about') def about(): return render_template('about.html', pageTitle='About VTM') @app.route('/kim', met...
[ "kimberly-souravong@uiowa.edu" ]
kimberly-souravong@uiowa.edu
c97200edd3289bc742f4771a37ae118ebe0817da
18aca150e55480c15aa49bbcc2e18f1a2d1c91ff
/polls/views.py
2851477e79ae56689b8ea120c9ce38beeaa5b170
[]
no_license
CassioSalvador/Django2.0Tutorial
86bf00c871be96d434f39e735914fcb0f91f5188
50e1771af4eda3a7870756062fed8a9bd9d9e17a
refs/heads/master
2021-05-10T10:00:36.102985
2018-01-25T17:36:23
2018-01-25T17:36:23
118,945,461
0
0
null
null
null
null
UTF-8
Python
false
false
2,158
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse from django.views import generic from django.utils import timezone from .models import Choice, Question # Create your views here. class IndexView(generic.ListView): te...
[ "cassiosalvador90@gmail.com" ]
cassiosalvador90@gmail.com
a9b443fd0f2e781a1c90b3b0906673a657fdb5ff
b4776512598925029ed2784a016f748955318bea
/tests/api_tests/test_api_language.py
0c921cd2c60f1804ed2f5df6ad80453222219b9c
[ "Apache-2.0" ]
permissive
kvtb/dedoc
e95f1b3968c2c1f8cad5a3e015af33c725b7348f
34e4f7011cdcc58bcf37ec90ef07c4841d43b841
refs/heads/master
2023-06-16T19:05:56.134453
2021-07-15T15:11:58
2021-07-15T15:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,359
py
from tests.api_tests.abstrac_api_test import AbstractTestApiDocReader class TestApiDocReader(AbstractTestApiDocReader): def test_en_doc(self): file_name = "english_doc.doc" result = self._send_request(file_name, dict(language="eng", structure_type="tree")) content = result["content"] ...
[ "kozlov-ilya@ispras.ru" ]
kozlov-ilya@ispras.ru
7ae7198fa354aec4c1775a03d319da0d45d323ea
0f07107b016d2aee64788966b9f0d322ac46b998
/moya/testprojects/scratch/blog/py/test.py
2b109b36a4486a66034ed4b3c5ad99d295a37b25
[ "MIT" ]
permissive
fkztw/moya
35f48cdc5d5723b04c671947099b0b1af1c7cc7a
78b91d87b4519f91dfdd2b40dab44e72f201a843
refs/heads/master
2023-08-09T09:20:21.968908
2019-02-03T18:18:54
2019-02-03T18:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from __future__ import print_function import moya @moya.expose.macro("test") def test(): print("Success! :-)") return 10
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
5d59554ebd3eeeb3cc7d1a44287dc99666250f1d
2388cf1916978e4356061182c89226e69546b64f
/mt9001_driver/scripts/runAndShow.py
7d3754a2400354c4f3747c7e90823662b71a93ae
[]
no_license
cnping/BBBcam
dcf1e225e8ee535136c0588d4f4bc8e6a4389cfa
ef94222a1ea79fd31ed442f329df2c3566bbbc48
refs/heads/10bit
2021-01-18T08:53:10.261389
2016-02-18T02:11:00
2016-02-18T02:11:00
52,163,465
0
1
null
2016-02-20T16:40:18
2016-02-20T16:40:18
null
UTF-8
Python
false
false
470
py
import os import numpy as np import sys from matplotlib import cm prefix = sys.argv[1] name= prefix + 'sum.dat' def main(prefix): arr =np.reshape(np.fromfile(name, dtype = 'uint32'), (1024, 1280)) #plt.imshow(arr, interpolation='none') plt.imshow(arr, interpolation='none', cmap = cm.Greys_r) plt.save...
[ "debian@beaglebone.(none)" ]
debian@beaglebone.(none)
9c14abf2141c645825bb3572f94ff19a61281d45
698ad822ff616b86e88784ec4fce08b42c46e870
/torch/_dynamo/allowed_functions.py
67daafc5adac78651457c01de7096eb20617b562
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
puppup420247-org/pytorch
6fa244b817ace397e97e85c553bd315093ef4533
090fce2547ac96730f99877085a7477097c4ad97
refs/heads/master
2023-07-21T03:54:26.234286
2022-11-12T05:59:55
2022-11-12T05:59:55
188,915,637
1
1
NOASSERTION
2023-07-20T11:42:38
2019-05-27T22:20:25
C++
UTF-8
Python
false
false
8,428
py
import builtins import collections import copy import functools import inspect import itertools import math import operator import types import warnings from typing import Dict, Optional, Set import numpy import torch from torch.fx._symbolic_trace import is_fx_tracing from . import config from .utils import is_safe_...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
a0a19a07d37174229a775fc5ab451b3a3396a995
d9e0585e57b482d91e8af7514e683e2488e23381
/padinfo/view/series_scroll.py
8d6a99de4701c691fb50fc7dd9820cae2b135354
[ "MIT" ]
permissive
TrendingTechnology/pad-cogs
d08abb8da8bf2763a4091a29139168d8c1d2333a
b913a4e16a6473b8b53fae4bda564bedcc82c876
refs/heads/master
2023-08-11T01:10:22.088761
2021-09-19T00:41:43
2021-09-19T00:41:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,190
py
from typing import TYPE_CHECKING, List from discordmenu.embed.base import Box from discordmenu.embed.components import EmbedMain, EmbedField from discordmenu.embed.text import BoldText from discordmenu.embed.view import EmbedView from tsutils.emoji import char_to_emoji from tsutils.menu.footers import embed_footer_wit...
[ "noreply@github.com" ]
noreply@github.com
360da2be75d373e79cf00b85bd0f99c57c87e8a5
64dfe7e6a139044799a6a54dfc2ba04c09479c8d
/Machine Learning/linear regression/linear_regression.py
ab3a3db2beffa82628962ffa843e02c5eb9dd684
[]
no_license
chierqj/ML-and-Image
9a1c9956eb90e41b06b0114012c4813dfcf8c9e1
92adc3530167ac1478808770f19baf81a18a086a
refs/heads/master
2021-10-24T05:38:48.266694
2019-03-22T11:38:31
2019-03-22T11:38:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
import numpy as np import matplotlib.pyplot as plt # load data def loadDataSet(fileName): numFeat = len(open(fileName).readline().split('\t')) - 1 # get number of fields dataMat = [] labelMat = [] fr = open(fileName) for line in fr.readlines(): lineArr = [] curLine = line.strip()....
[ "1152591772@qq.com" ]
1152591772@qq.com
f91c694e6c4343a359d8011596dbf65dddee08e7
0f5fadb3b735ff8de20f6c068a2cc52a018c5f4b
/Solicitud/models.py
74acca60d0c98219f3b790791769cf1d9ba55d7b
[]
no_license
NoelChaparro/Siobicx
193c8ed92f905f46f645f5caaa82f0bea31bd608
0d655de3ad6d2c7e3f245ff09d4ea25deb706b7d
refs/heads/master
2021-01-15T23:50:41.930456
2014-12-10T20:05:06
2014-12-10T20:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,305
py
#encoding:utf-8 from ConexosAgropecuarios.models import Persona from Programas.models import Programa from django.db import models # Create your models here. class Solicitud(models.Model): #Clase que genera el modelo para gestionar la solicitud de aseguramiento del socio en la base de datos. DECLARACION_SOLIC...
[ "sidia.jaquez@gmail.com" ]
sidia.jaquez@gmail.com
7511e9b2c84e342591484e8f5d44c2fc8b232f67
183f17993cefb4aea696d949219d7a98e85eeb73
/aes.py
1879d435070d08ba012a3bb0a62f1b4a01305c6e
[]
no_license
putte/PIN-Memory
7a561f4df098f0e448484edbf7a334a4a0a3449b
d541738b4cc4d62fa25d61e77b5912e61ecb178d
refs/heads/master
2016-09-16T00:26:37.699931
2011-07-22T21:33:53
2011-07-22T21:33:53
2,090,868
0
0
null
null
null
null
UTF-8
Python
false
false
22,066
py
#!/usr/bin/python # # AES - Advanced Encryption Standard # # Copyright (c) 2007 Josh Davis ( http://www.josh-davis.org ), # Laurent Haan ( http://www.progressive-coding.com ) # # Licensed under the MIT License ( http://www.opensource.org/licenses/mit-license.php ): # import math class AES: # # S...
[ "patrik.sandenvik@gmail.com" ]
patrik.sandenvik@gmail.com
047c1ebd782e80a602689965078bb65de47b133a
c2d23f201924972e32695e2ae848710836cd3e4d
/0x04-python-more_data_structures/9-multiply_by_2.py
11b45fde03bb8ed0ec68816cf13fb15725c6e8e2
[]
no_license
oangel26/holbertonschool-higher_level_programming-1
8e19ccf01d3933af1248d830d3f02ff8dd7870f2
a49808576ad0b422c10f204f316bd921f9bc1597
refs/heads/main
2023-06-29T13:15:47.430077
2021-08-04T00:06:34
2021-08-04T00:06:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
#!/usr/bin/python3 def multiply_by_2(a_dictionary): result = {} for k, v in a_dictionary.items(): result[k] = v * 2 return result
[ "2159@holbertonschool.com" ]
2159@holbertonschool.com
64ec01ba21f64787427bb5e89548b171ba75b077
dd777c86d22e229841a324adae0c9064a4d59307
/search_engine_project/settings.py
6634c7e0725a316a2a41550f99b85303eb4ff3c3
[]
no_license
JisunParkRea/search-engine
bcec97218f3fec00b6352e6415929464051f4aa3
34a1355ec445ce916b96058fd382478b897cb43e
refs/heads/master
2022-11-09T21:44:55.089291
2020-06-13T14:41:33
2020-06-13T14:41:33
271,531,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,650
py
""" Django settings for search_engine_project project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """...
[ "fpdldk912@gmail.com" ]
fpdldk912@gmail.com
ee130f7ff914a89d881715663eba4f61cc90bcfb
ab4f74d127bfc89813ee359bb9c779eca5426ddc
/script/label_image.runfiles/org_tensorflow/tensorflow/core/framework/tensor_pb2.py
9adcb52c8c3ea21bdcdcb2006d01b4c3f6a19493
[ "MIT" ]
permissive
harshit-jain-git/ImageNET
cdfd5a340b62862ad8d1cc3b9a0f30cccc481744
1cd4c2b70917e4709ce75422c0205fe3735a1b01
refs/heads/master
2022-12-11T12:47:46.795376
2017-12-19T05:47:26
2017-12-19T05:47:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
/home/co/.cache/bazel/_bazel_co/2e35bede1f3fd334ff5ab28da2fc1540/execroot/org_tensorflow/bazel-out/k8-opt/genfiles/tensorflow/core/framework/tensor_pb2.py
[ "harshitjain1371999@gmail.com" ]
harshitjain1371999@gmail.com
ad668f9d86edc435d70bd9c77ada6322c24bcda5
eef0fbd71a3f8f1a3e4bd8a6e9527f220bb52b36
/RoundF/p2.py
721fd50578fb07187af393686e724d4543a01e56
[]
no_license
azanbinzahid/google-kickstart-2020
c609eb9ae7737abc6686b069999a58d6c589d452
ab8aa5e28a696372192bbb8557ba8dadd76f0f38
refs/heads/master
2022-12-28T16:29:12.158826
2020-10-18T15:21:03
2020-10-18T15:21:03
298,944,187
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
import math T = int(input()) for c in range(T): N, K = map(int, input().split()) time = [] for n in range(N): S, E = map(int, input().split()) time.append([S,E]) time.sort(key=lambda x: x[0]) robotCount = 0 robotCurrent = time[0][0] for t in time: ...
[ "noreply@github.com" ]
noreply@github.com