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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
07ddacbb56954526dfc54b49ec898b630b576e55
2d4b7280fac70fd922dc203f07d89241f3c21535
/src/cloudify/aria_extension_cloudify/classic_modeling/policies.py
238124b82d67385d4d632d119bc37bfe4460d753
[ "Apache-2.0" ]
permissive
tliron/aria-ng
602f0cad18df0332e25be03cc834e7a42cb7c674
55cf7af3b0a8fe62d422dd687dd7da3849824524
refs/heads/master
2020-08-02T18:10:30.735677
2016-11-12T14:19:32
2016-11-14T18:23:57
73,556,794
0
2
null
2016-11-12T14:17:45
2016-11-12T14:17:45
null
UTF-8
Python
false
false
676
py
# # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "tal.liron@gmail.com" ]
tal.liron@gmail.com
9aa6e5fb065c69b21645bff657e9fc0394c80395
38cc32a77077c1ebcea939a81969a6f9f4d37dfe
/lekce/lekce_11/json_load.py
4980d23ece4459c57ff977200c2e2778f09f5cc5
[]
no_license
kabezd/pyladies
13ad60c39a6908cc4cd1401aa6c7d1c69546bc39
c6b0a44f86880ea3deb244fd8ec84c4fb6bebccb
refs/heads/master
2021-02-13T16:59:14.144039
2020-07-31T18:18:14
2020-07-31T18:18:14
244,714,800
0
0
null
2020-08-02T14:38:38
2020-03-03T18:45:26
Python
UTF-8
Python
false
false
220
py
import json json_string = """ { "name": "Anna", "city": "Brno", "language": ["czech", "english", "Python"], "age": 26 } """ data = json.loads(json_string) print(data) print(data['city'])
[ "bezdekova.k@seznam.cz" ]
bezdekova.k@seznam.cz
cea3add153f23a7f8860918d7802bf80c33719cf
77dcbefdeabf554a61c0c20882e9f1f34f954132
/venv/Scripts/easy_install-script.py
0bed0bdf5a6df24a4e608cd3af96cc0a5dc203e8
[]
no_license
JacobDuvall/the-summarizer
49c1976b044017c6cd641a30107da5c1479b6df0
4dddeba2b1110da590bb6070f59ec622cc16fd4b
refs/heads/master
2022-07-01T08:26:31.675468
2020-05-13T17:53:45
2020-05-13T17:53:45
258,939,820
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!"C:\Users\jdale\OneDrive\School\Text Analytics\project_2\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(...
[ "jdaleduvall@gmail.com" ]
jdaleduvall@gmail.com
80f796be803c6cbe9307785b3beaf103fdaf5177
52266a44e2aca241707984e3b138775681b3e95f
/一本册子/字符串.py
739ef5576c270d031768b4e1d83d68f15064ac44
[]
no_license
Mr-hongji/pythonNote
91b1252711ce0b919fc365932276b89d85d4c16b
ff5eda0c8f63345de4d98cff8f0f7ab5254c77a6
refs/heads/master
2020-04-11T14:49:39.637983
2019-05-26T09:21:09
2019-05-26T09:21:09
161,869,676
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
print 'hello' print "I'm Shihongji" ''' \被称作转译字符,除了用来表示引号,还有比如用 \\表示字符串中的\ \n表示字符串中的换行 ''' print 'I\'m a \"good\" people' print 'I\'m a "good" people' print '我是良民\\' print '我是良民\n吗' ''' 作业 输出以下文字 1、He said, "I'm yours!" 2、\\_v_// 3、Stay hungry, stay foolish. ---Steve Jobs 4、...
[ "shihongji@xiaoneng.cn" ]
shihongji@xiaoneng.cn
45d56d1354e14bbecd02cb825af9747942a005f9
134502316380ec6e66a23b49fd168a5ce0413d29
/Simulator.py
10b5a14e7d6150d93ceb3875c69d21f4e8b3b27d
[]
no_license
helgejo/cozmo_rl
83cd63e5d2880e29d5a0668f8a7e8a4e8575143e
6e2c6a8a7362684c9bc8b1d7ed00601971a369c7
refs/heads/master
2021-01-15T17:15:30.256995
2017-08-10T12:48:37
2017-08-10T12:48:37
99,742,703
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Aug 8 21:05:44 2017 @author: bjorland """ class Gym: def __init__(self): self.x = 1 self.observation self.action_space self.observation_space def step(self, action): return observation, reward, ...
[ "Helge.Johannessen-Bjorland@telenor.com" ]
Helge.Johannessen-Bjorland@telenor.com
26f644c66a8b92892987b70efed6d22aee3270b8
6160586aa239eada16e735d40d57970dedbe1dfc
/modules/app_additional/app_custom/app_position_update_info.py
b2724f015a7037a4d90534964a519bb0702c5061
[]
no_license
showgea/AIOT
7f9ffcd49da54836714b3342232cdba330d11e6c
fe8275aba1c4b5402c7c2c2987509c0ecf49f330
refs/heads/master
2020-07-23T10:19:37.478456
2019-09-23T12:25:59
2019-09-23T12:25:59
207,525,184
2
0
null
null
null
null
UTF-8
Python
false
false
945
py
import requests from config import readcfg header_Gary = readcfg.header_Gary header_Jenny = readcfg.header_Jenny url = readcfg.url def app_position_update_info(positionId, positionName=None, isDefault=None): url_ = url + "/app/v1.0/lumi/app/position/update/info" json_ = { "positionId": positionId, ...
[ "tangguobing2011@163.com" ]
tangguobing2011@163.com
0aacd4bb5f93f7cde57b903a1aec981ffb433ed5
92827cba7b89fce22f0ffce68fa8a9243127d482
/chapter_8/first_mlp.py
545dd387d4688c24a9682742998fb0da0218dd1c
[]
no_license
pm3310/deep_learning_with_python
c028fff8d6ead45dc5bd5849c474821563ee8235
76da1698742b083698803d19d1bcbb0843f7f840
refs/heads/master
2020-12-25T14:13:40.948359
2016-08-17T18:21:12
2016-08-17T18:21:12
65,931,347
3
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
from keras.models import Sequential from keras.layers import Dense import numpy from sklearn.cross_validation import StratifiedKFold seed = 7 numpy.random.seed(seed) # load pima indians dataset dataset = numpy.loadtxt("pima-indians-diabetes.csv", delimiter=",") # split into input (X) and output (Y) variables X = dat...
[ "pavlos@workable.com" ]
pavlos@workable.com
16e1c2a3227a5d0baee604734564e9d99490428f
bc441bb06b8948288f110af63feda4e798f30225
/monitor_sdk/model/notify/operation_log_with_meta_pb2.pyi
4eb4b81a00e7c4fbc85a45c47c2b95b1eeda8653
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,093
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from monitor_sdk.model.notify.operation_log_pb2...
[ "service@easyops.cn" ]
service@easyops.cn
c05da3b7474a985ebb26bd86f561fd8df1dd8a8e
b5fd4552474f2b55d6c1d3d2a0e6974221cb022a
/build/turtlebot3_msgs/cmake/turtlebot3_msgs-genmsg-context.py
228d0e782b34294a153d343b357471aac543ee3c
[]
no_license
bryceustc/ROS
ea042f96ce36653252c6c8fe2eb89c4ed5a8c61d
073c0261f729ca52da1def63cba14618d41e7741
refs/heads/master
2021-03-21T00:04:43.528576
2020-03-14T09:34:24
2020-03-14T09:34:24
247,245,675
0
2
null
null
null
null
UTF-8
Python
false
false
723
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/SensorState.msg;/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/VersionInfo.msg;/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/Sound.msg" services_str = "" pkg_name = "turtlebot3_msgs" dependen...
[ "bryce@mail.ustc.edu.cn" ]
bryce@mail.ustc.edu.cn
4cd67a0681d367c305de9840035756f49ffbf251
c7eff37821123960716d818f2bbecf54b50a3e80
/HeroloDjango/settings.py
acdaa15979c891a39900a9b476312697ca4ca547
[]
no_license
PazBazak/HeroloDjango
abeaaf3ed6ec6dd7c8d2e4e197cd0ca7fb544958
7b08316337420914d132851a1e69b86c514e9a49
refs/heads/dev
2023-01-30T16:41:19.500980
2020-12-09T15:40:07
2020-12-09T15:40:07
319,662,166
0
0
null
2020-12-09T15:40:08
2020-12-08T14:23:49
Python
UTF-8
Python
false
false
3,635
py
""" Django settings for HeroloDjango project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import o...
[ "yolobazak1@gmail.com" ]
yolobazak1@gmail.com
086f450b7863c94d7a6224d270dac70c108e4121
adc041494866c5fb9e7879c6f3dc28b992310fd2
/Lists and Tuples/Tuples/list to tuple.py
0b8c7617e1d8e907f4476dacaa73acca0070d703
[]
no_license
REGENTMONK97/Python-
8b53dd684b770d7d6d79b352efa3729731047329
ab8987506dbbae2a9660852c85f21535954738c7
refs/heads/master
2020-03-20T20:56:37.708665
2018-06-18T08:01:38
2018-06-18T08:01:38
137,715,560
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
a = input("Enter all data separated by comma") a = a.lstrip() a1 = a.split(',') tuple(a1)
[ "sairaghunath97@gmail.com" ]
sairaghunath97@gmail.com
99c4e44f477c0bac23afd0bd0105f76f1483e7d6
8ae2a6f0e9a9f4ed651f13a63a4124a1c99b4dba
/xmudata/DIV2K2018.py
733dd9bea788782457d040368847d253e9f6401b
[]
no_license
SrWYG/channelPruningXMU
7515950210a32aa78bd04030e7bf2b214cc85583
2f03300cb909c751c73f21452721dddbce33f7fd
refs/heads/master
2020-03-17T06:47:44.939130
2018-05-14T14:21:47
2018-05-14T14:21:47
133,369,763
3
2
null
null
null
null
UTF-8
Python
false
false
1,353
py
from xmudata.data import Data import tensorlayer as tl from xmuutil import utils import os from xmuutil.exception import LargeSizeException class DIV2K2018(Data): def __init__(self, train_truth_dir, train_data_dir, test_truth_dir = None, test_data_dir=None, image_size = 96, scale = 4, train_postfix_len = 3, test...
[ "24320142202497@stu.xmu.edu.cn" ]
24320142202497@stu.xmu.edu.cn
4331fac607aeb690fffb8d9b6f614658cc0f4fe0
e678642002db4882cb4a6641aff40c1b7f1f4348
/chapter3/recommender3.py
37bfb16c88474af1551a41b35685f5439f20976d
[]
no_license
eks5115/DatamingGuideBook-Codes
108260cc09656c59b046b6bb6b54ddbd0040e6da
0048ea13e8e60afe61c791fd2f25d4ee87167c16
refs/heads/master
2020-03-24T23:14:39.112447
2018-08-01T08:21:19
2018-08-01T08:21:19
143,125,289
0
0
null
null
null
null
UTF-8
Python
false
false
13,744
py
import codecs from math import sqrt users2 = {"Amy": {"Taylor Swift": 4, "PSY": 3, "Whitney Houston": 4}, "Ben": {"Taylor Swift": 5, "PSY": 2}, "Clara": {"PSY": 3.5, "Whitney Houston": 4}, "Daisy": {"Taylor Swift": 5, "Whitney Houston": 3}} users = {"Angelica": {"Blues Traveler": 3.5, "B...
[ "eks5115@139.com" ]
eks5115@139.com
e9b5253151a81e420a53c743d91c567e23d8895f
295d62b0d1abe97f8a3d1500c44666040870d4b0
/out/gt/real-reinforcement-learning/v2/actor_critic.py
d7a3a664a84c0034c5b89e1caae3832c9a2c3f56
[]
no_license
adandamudi/hlast
3c5e493e15ce9c64a5644ca1d3138e7c87629cbb
94d3e2b12434c137399546a71da5ad063d32d201
refs/heads/main
2023-02-02T13:56:00.955051
2020-12-18T06:45:17
2020-12-18T06:45:17
311,791,616
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
import argparse import gym import numpy as np from itertools import count from collections import namedtuple import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.autograd as autograd from torch.autograd import Variable import torchvision.transforms as T parser = ar...
[ "gmatute@berkeley.edu" ]
gmatute@berkeley.edu
202431c6183a6dcff01d28a468d59da31fa8c7b1
cb9f5db2cdaa5c85a4c5950e34fa22d931da445e
/seed.py
d94c6e63d50668962053785917432aba4eb825c1
[]
no_license
rmmistry/movie-ratings-
248fdb36a7392cebc8cfc9686cae61a3b0c516c4
89050e4da2dc998ab99fca8537d8df75a650e845
refs/heads/master
2021-01-10T05:13:17.863638
2015-10-23T00:58:23
2015-10-23T00:58:23
44,561,233
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
"""Utility file to seed ratings database from MovieLens data in seed_data/""" from model import User, Movie, Rating # from model import Rating # from model import Movie from model import connect_to_db, db from server import app from datetime import datetime def load_users(): """Load users from u.user into data...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
ab3b457e28589da1217469ef6bbcb0b189d0a23f
69f05b01112c94491c0185b27738f3b4b5906ca2
/libnd4j/include/graph/generated/nd4j/graph/UIOp.py
c6207f9624c6c34d361ebb6f6b298f65c089048b
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
saudet/deeplearning4j
2b55becb2e8b0881d33b2dacd28489d4f23651b4
21254a4d5a3584a480fce71fd678e021edc1498f
refs/heads/master
2020-05-31T23:47:31.786374
2019-06-04T11:33:52
2019-06-04T11:33:52
190,545,263
2
0
Apache-2.0
2019-06-06T08:32:50
2019-06-06T08:32:49
null
UTF-8
Python
false
false
3,752
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: graph import flatbuffers class UIOp(object): __slots__ = ['_tab'] @classmethod def GetRootAsUIOp(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = UIOp() x.I...
[ "noreply@github.com" ]
saudet.noreply@github.com
d3f8274bb3c977361e26de93b6ca096b5273f249
f1a2a34628c67829ee321b1edb40b1f41875d293
/detection_nbdev/metrics.py
4dadc419659b0441f904eb9efd9bb1603124ef63
[ "Apache-2.0" ]
permissive
Sports-AI-Coaching/detection-nbdev
bb09218fe8a418225fc714e6711082a6ea64ae70
331d36aa7ed65492a879d5012c1d6de866ec3519
refs/heads/master
2023-03-05T01:26:35.833951
2021-02-14T23:38:25
2021-02-14T23:38:25
338,741,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
# AUTOGENERATED! DO NOT EDIT! File to edit: 02_metrics.ipynb (unless otherwise specified). __all__ = ['bbox_iou', 'hungarian_loss'] # Cell import torch from scipy.optimize import linear_sum_assignment # Cell def bbox_iou(boxA, boxB): # determine the (x, y)-coordinates of the intersection rectangle xA = max(b...
[ "atom@phi.asura" ]
atom@phi.asura
e2f67ccafad355edc13a17d8c188f2dd33a654a9
268cb0493160b06b1f5d5b33bf0dd80fd58a94f9
/spotify-recommendations/ml/get_feat_playlists_new_albums.py
500cb47eb38407d330a0304bb35a6dd9f044aec2
[]
no_license
restevesd/PROJECTS-DATA-SCIENTIST-TRAINING
1d92c88db700df4e8a067ca02f5d53ec9a85671d
0d3c315594aa6901079650283dc13b866fb98971
refs/heads/main
2023-08-18T09:43:34.489337
2021-10-02T10:21:15
2021-10-02T10:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import django import os import logging from spotipy.oauth2 import SpotifyClientCredentials os.environ.setdefault("DJANGO_SETTINGS_MODULE", "spotify_recs.settings") django.setup() from spotify_app.models import Playlist import spotipy import time logger = logging.getLogger('django') logger.setLevel(logging.INFO) de...
[ "noreply@github.com" ]
restevesd.noreply@github.com
1ad194458a4f64f614b9ac861a9e7623c7eaa041
29345337bf86edc938f3b5652702d551bfc3f11a
/python/src/main/python/pyalink/alink/tests/examples/from_docs/test_alsusersperitemrecommbatchop.py
21104be85c65e675c3b2d8099853b1de16f0fc5b
[ "Apache-2.0" ]
permissive
vacaly/Alink
32b71ac4572ae3509d343e3d1ff31a4da2321b6d
edb543ee05260a1dd314b11384d918fa1622d9c1
refs/heads/master
2023-07-21T03:29:07.612507
2023-07-12T12:41:31
2023-07-12T12:41:31
283,079,072
0
0
Apache-2.0
2020-07-28T02:46:14
2020-07-28T02:46:13
null
UTF-8
Python
false
false
920
py
import unittest from pyalink.alink import * import numpy as np import pandas as pd class TestAlsUsersPerItemRecommBatchOp(unittest.TestCase): def test_alsusersperitemrecommbatchop(self): df_data = pd.DataFrame([ [1, 1, 0.6], [2, 2, 0.8], [2, 3, 0.6], [4, 1, 0...
[ "shaomeng.wang.w@gmail.com" ]
shaomeng.wang.w@gmail.com
5571bc3f500861a21934a71a6330c94ce561521b
db8692575378366957b246a5b5938f67de936386
/26feb/largest_number_possible.py
2b2bed7f39dbc14461f5e1c5f9167e348adbb691
[]
no_license
adarhp0/coding
24f474f2a3ef4ef578e33509dc57514563929956
63db62efdcdeaae934066c337437afcf52a6e28c
refs/heads/master
2021-07-10T20:04:54.375292
2021-04-03T15:11:06
2021-04-03T15:11:06
242,801,385
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
tes=int(input()) for t in range(tes): n,s=map(int,input().split()) if s/n>9 and s!=0: print(-1) else: z={} for i in range(10): z[i]=0 q=9 while s>0: z[q]=int(s/q) s=s-z[q]*q q=q-1 a='' su=0 for i ...
[ "adarshahp0@gmail.com" ]
adarshahp0@gmail.com
81a39a0d1720fe639ac2b59e7861b623c6118af5
2324dea2cb3003c8ab7e8fd80588d44973eb8c77
/Euler_1_17a.py
9a350a6d333f32263cf6731390cfab23de618e79
[]
no_license
MikeOcc/MyProjectEulerFiles
5f51bc516cb6584732dc67bb2f9c7fd9e6d51e56
4d066d52380aade215636953589bf56d6b88f745
refs/heads/master
2021-01-16T18:45:44.133229
2015-05-27T18:28:43
2015-05-27T18:28:43
5,876,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
def p17(): def lowest_digit(n): return n/10, n%10 def words(n): if n > 999: raise ValueError, "Number too big." digits = [None, 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'] teens = ['ten', 'eleven', 'twelve', 'thirteen'...
[ "mike.occhipinti@mlsassistant.com" ]
mike.occhipinti@mlsassistant.com
f36fc9dfdae9c007db292d27d4f13e847e448d2b
93176908770ccfdfcd28849e0344ca8f08433d3e
/MealRunner/__init__.py
148a82d5d9c8dc01e271a367ac3c8d26661c1c5f
[]
no_license
mamutahr/MealRunner
96804943f090e0e6521468aaba7991b6c7414067
038dae2c744b7ec03a68456167fbac8db307bf73
refs/heads/master
2023-05-25T05:07:47.012726
2019-10-13T14:51:14
2019-10-13T14:51:14
214,579,514
0
0
null
2023-05-22T22:30:40
2019-10-12T04:49:57
Python
UTF-8
Python
false
false
1,003
py
""" MealRunner package initializer. """ import flask # app is a single object used by all the code modules in this package app = flask.Flask(__name__) # pylint: disable=invalid-name # Read settings from config module (MealRunner/config.py) app.config.from_object('MealRunner.config') # Overlay settings re...
[ "mamutahr@umich.edu" ]
mamutahr@umich.edu
77a600b8a161271244c70a072a2ad68e0c19c0f9
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/个人项目/weather/venv/Scripts/pip3-script.py
a6ac6cc88412f3e6968662a23c89959c23f69bbe
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
GB18030
Python
false
false
446
py
#!E:\学习文件\python学习资料\开班笔记\个人项目\weather\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
988567162ac57924714584f1b7ec11851c83a23f
c86a7673c4258f78b9a8a20495b53f0a0ec965eb
/selenium_pyPOM/test_dou_pypom.py
6901052233358dba2e82b0414ec0bbd059d80ede
[]
no_license
Brombult/Test_Automation
5bb96a3dbedcf9201d0befb36c26a3d7a029e224
40f956f6e5cf48a8ba17e7837a316db70b9f981a
refs/heads/master
2020-04-27T07:05:00.276716
2019-04-20T08:54:59
2019-04-20T08:54:59
174,126,504
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
from selenium import webdriver import pytest from page import DouMainPage, SearchResultPage base_url = 'https://dou.ua/' COMPANY_NAME = 'DOU' INVALID_NAME = '123efdvdfbgfdbfg' driver = webdriver.Chrome() @pytest.fixture(scope='module', autouse=True) def setup_and_teardown(): driver.implicitly_wait(5) drive...
[ "rickrolled5997@gmail.com" ]
rickrolled5997@gmail.com
4ad7c781ebb466cdf938c49be828e1efbcf43234
e8da76ed3458cc3589c6e02a7088550c799651ac
/8lesson/area_circle.py
7bec204476891e733b27455501d381c5c4ff08ab
[]
no_license
leilahassan/introduction-python-leila
9a8ff8d2d3818c5a3beec15f3a6da9492480faa5
fa86b12e7ff6d2804854c1a17af20dc7a28e4df7
refs/heads/master
2021-01-01T18:13:19.670649
2017-07-25T07:36:45
2017-07-25T07:36:45
98,277,540
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
import math def area_circle(radius): radius = int(radius) area = math.pi * radius * radius return area user_radius = input("What is the radius of the circle?:") calculated_area = area_circle(user_radius) print("The area of a circle with radius {} is {}".format(user_radius,calculated_area))
[ "hassanleila333@gmail.com" ]
hassanleila333@gmail.com
c82b626196c32cb53a26ce7409d33e52aeb8817f
d82efe8ea61a9d391e1444af55bb35c1b95ae7b0
/mainapp/__init__.py
f0be2b2fac1640b58f67d8e2a5d515d8f769813c
[]
no_license
xulongyuan203/leargit
ecbdb46b54d95d6c569ce5e3edb234bff1125e89
40b70ee4d2512d1e5827a9558483bc8c6b4ea761
refs/heads/main
2023-09-04T07:31:06.858491
2021-10-17T03:57:35
2021-10-17T03:57:35
346,919,815
0
0
null
2021-10-17T03:56:18
2021-03-12T03:12:12
Python
UTF-8
Python
false
false
100
py
from flask import Flask import settings app = Flask(__name__) app.config.from_object(settings.Dev)
[ "email@example.com" ]
email@example.com
037a54ca983b23a17ffe063f910d6ead4fb49b1f
a5479f34e87b046d12fdc020bc3652f8b4498484
/scrapy2019/spiders/ASTRO2.py
2de6840a0de131ca820124e40b3c76f8764fe578
[]
no_license
pavankumar-k/Scrapy2019
4a8226c79455234c73d9ac33c72b57e5bdfc8d18
7e82f8ec0ac467712eaae137c1d42871959a2ef8
refs/heads/master
2020-05-04T20:32:12.728899
2019-04-04T07:10:47
2019-04-04T07:10:47
179,441,474
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
# -*- coding: utf-8 -*- import scrapy import logging class AstroSpider(scrapy.Spider): name = 'ASTRO2' url = 'https://www.redjournal.org' # start_urls = ['https://www.redjournal.org/issue/S0360-3016(16)X0010-7'] def parse(self, response): lis = response.css('h2.title > a::attr(href)').extr...
[ "noreply@github.com" ]
pavankumar-k.noreply@github.com
14337940b0714b1dadc8e28c06a38350bf389f9d
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2020/09September/26PandasDataSeries02.py
fb8a0a14ecc6a675d6bea128b69cab3fbaa6b025
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
420
py
#!/usr/local/bin/python # -*- coding: utf-8 -*- ''' # @ Author: june-fu # @ Create Time: 2020-11-20 23:22:57 # @ Modified by: june-fu # @ Modified time: 2020-11-20 23:23:25 # @ Description: # 2.Write a Pandas program to convert a Panda module Series to Python list and it's type ''' import pandas as pd import nu...
[ "june@yeah.net" ]
june@yeah.net
bb31114011aaefceadd2ce293442dbf0b50b6cff
b24012b8e8b4e42600903a04e7740b9e28bc17ac
/utils/DetectClosestColor.py
e63fe8459632ab60fa24e7972866945a859e6d27
[]
no_license
msjun23/Lane-Detection
747e8443a22d0d7d909a2d803d0a601f9095488e
02825a55b684969cda31e061119429d13234cf83
refs/heads/master
2023-08-01T06:54:57.708416
2021-09-20T13:56:37
2021-09-20T13:56:37
288,739,009
1
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
import cv2 import numpy as np from matplotlib import pyplot as plt from numpy.core.fromnumeric import shape delta_h = 30 delta_sv = 75 def DetectYellow(img): hsv_yellow = np.array([30, 255, 255]) hsv_img = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) dist_img = np.sum((hsv_img - hsv_yellow)**2, axis=2)**(1/2) ...
[ "msjun23@gmail.com" ]
msjun23@gmail.com
410d7498c362b982e00c1371ea8e80ffedc787f5
2ecfe0e10d10513917e4f2770e0a56075404c5d8
/oldnumba/tests/test_exceptions.py
80cbe4e56325c6d8248dd39bfb2723c2511aeeb1
[ "BSD-2-Clause" ]
permissive
laserson/numba
84ab7615ea0177b496a63e2a86319f0b12992cd2
35546517b27764a9120f6dfcd82eba7f4dd858cb
refs/heads/master
2020-05-20T23:13:23.011971
2014-12-08T20:16:20
2014-12-08T20:16:20
16,754,385
1
0
null
null
null
null
UTF-8
Python
false
false
632
py
""" >>> boom() Traceback (most recent call last): ... ValueError: invalid literal for int() with base 10: 'boom' >>> boom2() Traceback (most recent call last): ... TypeError: 'object' object is not callable >>> boom3() Traceback (most recent call last): ... TypeError: 'object' object is not callable """ im...
[ "markflorisson88@gmail.com" ]
markflorisson88@gmail.com
159f081af2707fdc632c02abb3f8cfda47e6c305
9a8a58abd169ad6dabd20cf806249faa9e89bf47
/typogrify.py
22c8f23dda4d7f462656dcc918bbc625aa73a0e0
[]
no_license
curiousleo/kardiopraxis-flask
583a25edb4e366b981b20691dc5e0821894e4b3b
d9a7a14b386c5d4415d6b650e503c3c104e5ebaf
refs/heads/master
2021-01-19T03:13:09.666560
2015-05-21T19:58:08
2015-05-21T19:58:08
4,799,515
0
0
null
null
null
null
UTF-8
Python
false
false
12,163
py
# Copyright (c) 2007, Christian Metts # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
[ "curiousleo@ymail.com" ]
curiousleo@ymail.com
c7ebb944709b1acfb824b0d6ecea1065b462c1a3
79588ca7cc97b19940101b69e82e562921f9c254
/Lab/bibtex.py
5a3af0cccbebb0729d0b05df3dee0b43a53694fd
[]
no_license
Yifan-Liu-95/SoftwareTestingPandas
1c40761da518ec5a639def28342b3c0af57b2adc
3030fb6ffe8e26d5491fd0156e0c79c50be6cfde
refs/heads/main
2023-05-01T11:16:49.142108
2020-12-16T09:57:06
2020-12-16T09:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
def extract_author(str): commaSplit = str.split(',') if len(commaSplit) == 1: spaceSplit = str.split(' ') if len(spaceSplit) == 1: result = (str,'') else: result = (spaceSplit[len(spaceSplit)-1],' '.join(spaceSplit[0:(len(spaceSplit)-1)])) else: result...
[ "36402231+dannemarre@users.noreply.github.com" ]
36402231+dannemarre@users.noreply.github.com
945e1f553c53f149a5257df89cfd0aae397e9d11
9430f005c3de2a62962a1351f9d6d4a57264e2d4
/composeTiendita/dockerTiendita/tiendita/tiendita/wsgi.py
19a2123f71a6c0f34a69e8dc0f92b45e797ecb20
[]
no_license
xl666/tiendita
6555f5e480a73fa16e28ef5d38ee033a76b84af9
b067fb45a81c56fe84a3ca7ca4176676ac7e098e
refs/heads/master
2020-04-06T20:37:26.079522
2018-11-22T14:57:34
2018-11-22T14:57:34
157,777,670
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" WSGI config for tiendita 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "xavier120@hotmail.com" ]
xavier120@hotmail.com
f6839df226465c2552f3a1069ffe64e78af771a0
57a9c836d8a933b5e6680dad4711676d0693a5e5
/src/locationAPI.py
38326db19bf750e2d312f6b0efb05c02a8afb94e
[]
no_license
mouseProgrammouse/neighborhood_map
c382588f661a0de31adc0efc3a4dcbab5cab3d9c
1a8d0a0ca114955f1f10682071b5fabf4920de6a
refs/heads/master
2020-03-21T00:40:18.616868
2018-06-27T13:24:55
2018-06-27T13:24:55
137,904,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
import json import os from flask import Flask from yelpapi import YelpAPI from flask import request from flask.json import jsonify from flask_cors import CORS yelp_api = YelpAPI("7LgYxOlDAZm3sQI3jcyxuDnX2KCI1apQAMZkgB1qDlIpjYQgCr-yZ2q1Abeu7C5dE8kxCrPtjbTY_p29v2b2fosjP8evmheO4hDuEoHEkOheEqBBXX5t-Bp8ogYtW3Yx") app = F...
[ "mouse.programmouse@gmail.com" ]
mouse.programmouse@gmail.com
6013abaf1ceca0fccaeea59d0bb1e9949aee08e7
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch8_2020_03_02_19_15_37_237019.py
7d27944df20781e9fb1001e6829337fdf582639c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
def calcula_posicao(tempo): posicao = posição inicial + velocidade*(instante t) return posicao
[ "you@example.com" ]
you@example.com
b54da0a37016d92c2647e2492dc40440cbd11337
bdfe5001eaef25b767615b7fe5cb73c32d08427f
/api/allergen/admin.py
715b2fcae16c8935e4d8f52aa18e71fe04e48f02
[]
no_license
dducluzeaud/Allergen
462afa5d47850d431112da9d9a2cd491711c0672
1073461e8100134d3fd7ad0d296c3f6b71823085
refs/heads/develop
2022-12-25T14:15:57.880666
2019-07-18T19:27:06
2019-07-18T19:27:06
139,955,843
0
0
null
2022-12-10T19:17:23
2018-07-06T08:26:07
Python
UTF-8
Python
false
false
3,874
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from .models import ( Additive, Allergen, Category, Ingredient, Nutriment, NutrimentComposeProduct, Product, Trace, Vitamin, VitaminComposeProduct, Pr...
[ "david.ducluzeaud@live.fr" ]
david.ducluzeaud@live.fr
597d15f9483743209611d978a2f889f859a6aa82
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_put_order_action_trigger_dates_request_type_order_actions.py
f00aa4180e526b79d4133bf03d89dcfe4c1837b8
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,976
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
aef62d376e11b623b10924545474a7345a0d133b
d24bace66da749d30651401e6afa202588751970
/strings/zeroMatrix.py
67787f263dd8f2219e15580eda9a541133de8b51
[]
no_license
roncrisostomo/CrackingTheCodingInterview
16aa227e641b661b8cc6bbea34a8f7dd86749804
bfe36cf48cd047edbe0fe3371444d341c04555ec
refs/heads/master
2020-03-27T17:24:13.376234
2018-09-03T11:37:32
2018-09-03T11:37:32
146,848,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
def zeroMatrix(m): """ m: a matrix If element in m x n matrix is zero, sets entire row and column to zero e.g. 1 2 3 1 2 0 4 5 0 -> 0 0 0 7 8 9 7 8 0 Modifies matrix m Returns nothing """ # Approach: Iterate over all elements of matrix, add...
[ "rlcrisostomo06@gmail.com" ]
rlcrisostomo06@gmail.com
2edd6447fadbc8f2d5d7f0f1999ee008bc0bec11
278e00c80a4ef641a8899a4977ce1e9378d8ffa1
/tensorflow/mnist/tensorflow-mnist.py
c6c44d3c361df41913aba1342a91333112d9551e
[]
no_license
jjjhai/Python
6e570c349822bf770376c3369f86e2dfc8ccfe98
fee2b0b304071d50253b647aa6b4706bd6485fb5
refs/heads/master
2020-03-07T13:52:37.316600
2019-04-30T11:02:35
2019-04-30T11:02:35
127,512,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 25 20:44:01 2018 @author: Administrator """ import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf x = tf.placeholder("float", [None, 784]) W = tf.Variable(tf.zeros([784,10])) b = tf.Variable(tf.zeros([10])) y = t...
[ "1520997976@qq.com" ]
1520997976@qq.com
88328caa01f9345062f6c71ba6ec86c52c2b4132
96c884767f020cffd93e5572b9dfef65e4c29742
/Práctica 7/p7.12a.cuenta.palabras.py
d68f8fe11652a6ba5ab4a7b235781e64f743074e
[]
no_license
a-valado/python
bff790c0119b882b363277f792fa5dbc43a00de2
dfd52058bd5a19db983acd612ed7d4ad45856f78
refs/heads/master
2020-08-28T02:51:48.745396
2019-11-06T17:50:45
2019-11-06T17:50:45
217,566,950
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
#Albert Valado Pujol #Práctica 7 - Ejercico 12a #Escribir un programa que lea una frase, #y pase ésta como parámetro a una función que debe contar el número de palabras que contiene. #Debe imprimir el programa principal el resultado. #Asumir que cada palabra está separada por un solo blanco: print("Este programa cuent...
[ "avalado@cifpfbmoll.eu" ]
avalado@cifpfbmoll.eu
8e75ad0ab217c0a6003d5478916d0b1f69fab144
f455a3bbcf5fbdd7dd684e49b73cc99733da1559
/datacenter/active_passcards_view.py
aeadd06bb7c30ef5ad574eae10f5089b790c6fb1
[ "MIT" ]
permissive
KirillYabl/django-orm-watching-storage
c08541d3b7d68af988ce0ab94b9f61b90fe01da4
f263e37178d027de173794070a4ae507a80fa258
refs/heads/master
2022-09-05T00:16:29.870889
2020-05-31T08:49:49
2020-05-31T08:49:49
268,242,329
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from datacenter.models import Passcard from datacenter.models import Visit from django.shortcuts import render def active_passcards_view(request): all_passcards = Passcard.objects.all() active_passcards = Passcard.objects.filter(is_active=True).all() context = { "active_passcards": active_passcard...
[ "kirill-yablunovskii@mail.ru" ]
kirill-yablunovskii@mail.ru
d315787bb6b8a33384f02df4fd9358fc7f3ae68e
f359c953ef823cc44f7d87a3736c3e4fb1817c0b
/EDBRCommon/python/simulation/RunIIDR74X50ns/TTbar/TTaw.py
71536ff1fd213b3a0b0ae79234018df0b109d56f
[]
no_license
jruizvar/ExoDiBosonResonancesRun2
aa613200725cf6cd825d7bcbde60d2e39ba84e39
b407ab36504d0e04e6bddba4e57856f9f8c0ec66
refs/heads/Analysis76X
2021-01-18T20:00:57.358494
2016-05-30T21:30:19
2016-05-30T21:30:19
23,619,682
1
1
null
2016-04-22T18:38:45
2014-09-03T12:41:07
Python
UTF-8
Python
false
false
1,426
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISpring15D...
[ "jruizvar@cern.ch" ]
jruizvar@cern.ch
457d79392860d7287c6190a1cddadcbd53f1995a
b26406a338263ec6cb6d9391bb628cba0fa9e37b
/summary_ranges.py
930ad9819e1bed87b1cafa1a49f2449508508f25
[]
no_license
nhiggins13/leetcode
096e27d9945439f6b26470a4712102f1c7f290d5
f949a09c6a9251dc167fd807b412b86d5344977f
refs/heads/main
2023-01-29T20:35:41.472210
2020-12-01T23:20:17
2020-12-01T23:20:17
302,689,607
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
class Solution: def summaryRanges(self, nums: List[int]) -> List[str]: if not nums: return start = nums[0] curr_index = 0 results = [] while (curr_index < len(nums) - 1): curr = nums[curr_index] nxt = nums[curr_index + 1] if ...
[ "n.higgins1313@gmail.com" ]
n.higgins1313@gmail.com
3e36c235549137785ce9d51fb36ee188d100364d
bbe7132e45134d015cd96f7ad10f7fd379b8112f
/Functions/TrainingDataCollection/CollectingData_Guided.py
0ed542957cc49c9e5f73e051ff18ec186eacab3b
[]
no_license
lxb1989/DeepClawBenchmark
e8dc770eabe813f87298e3ce9482b1f256f5f331
3f955c9faf82c7c2f20ed8165ef6eb80d1db564d
refs/heads/master
2020-08-25T07:08:50.035336
2019-10-22T09:35:19
2019-10-22T09:35:19
216,980,575
0
0
null
2019-10-23T06:06:27
2019-10-23T06:06:27
null
UTF-8
Python
false
false
3,149
py
import sys sys.path.append('/home/yang/python-urx') sys.path.append('/home/yang/Git/CobotBenchmark/Driver') sys.path.append('/home/yang/Git/CobotBenchmark/Functions') sys.path.append('/home/yang/Git/CobotBenchmark/ToolKit') from fc_predictor import Predictor from realsense_controller import RealsenseController import c...
[ "11510135@mail.sustech.edu.cn" ]
11510135@mail.sustech.edu.cn
61937d51bfde6945241775ba8c469abe3cd44364
19d9fe02d86e70d9106eb6e2f1f4ec4dc1999fc5
/src/estimations/routes/estimations.py
1e49cbca991954bc8975efaf41a3b2a8406cfb08
[]
no_license
arnulfojr/scrum-estimations-api
38f30dfcc31d8f0708e127b5187b8ff8b13862d1
5b9f645d99035982fd0affda42ec99485f0df46a
refs/heads/master
2023-05-10T23:03:23.815010
2021-05-26T13:13:57
2021-05-26T13:13:57
174,892,482
0
0
null
2023-05-01T21:14:21
2019-03-10T23:12:51
Python
UTF-8
Python
false
false
9,021
py
from http import HTTPStatus from typing import Tuple, Union from cerberus import Validator from flask import jsonify, make_response, request from estimations import schemas from users.models import User from ..app import estimations_app from ..exc import EmptyIdentifier, InvalidRequest, ValueNotFound from ..models i...
[ "arnulfojr94@gmail.com" ]
arnulfojr94@gmail.com
068db76603c5e98e0f06eb9aa9ea1e6671dd2e65
d0fb46fb2868089663a4af80ea27509b57f55fce
/puffy/views.py
1b8a20418d8d38cfa26fdf400597c4908599f185
[]
no_license
javad-hub/original-puffy
cb90e44d43b5fb391ce7e8686265f2cefddd3852
caac094d2a60d984d7a2747792a35d2c613148f5
refs/heads/main
2023-04-02T19:52:36.364479
2021-04-13T12:57:55
2021-04-13T12:57:55
357,553,866
3
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.shortcuts import render from django.shortcuts import HttpResponse def about(request): # return HttpResponse('Hello this is puffy network') return render(request , 'About.html') def home(request): # return HttpResponse('Home') return render(request , 'Home.html')
[ "fasanehsepasian@gmail.com" ]
fasanehsepasian@gmail.com
8382bb673699816c9d1b5f3f844adeedc5044dfa
0bdbeac4d853a3e53cfc8237546c784c0f6ddc44
/app/modules/turtleGrapher/turtle_utils.py
2d2e20115683455d293deb8328ee1134e76f308f
[ "Apache-2.0" ]
permissive
jamez-eh/backend
5129e8400193d82f54d81e6008e183a97c752857
bec1a7043c28be6e3ec12b8bc55ae1bb0d1b7699
refs/heads/master
2021-01-25T04:35:47.195251
2017-05-30T22:31:29
2017-05-30T22:31:29
93,452,777
0
0
null
2017-06-21T21:17:20
2017-06-05T22:30:17
Python
UTF-8
Python
false
false
3,475
py
import urlparse import config # this is the config.py from rdflib import Namespace, URIRef, Literal def generate_hash(filename): from hashlib import sha1 # the 'b' isn't needed less you run this on Windows with open(filename, 'rb') as f: # we apply a sort func to make sure the contents are the sam...
[ "kevin.kent.le@gmail.com" ]
kevin.kent.le@gmail.com
8c739165a6e3e1ef886537f46b1820b695a7ead4
039bcc5f447bf636ff68fbfef9ba461c1aa6b7c9
/lab_4/ex1.py
b1b3897bd49feeaf3b6c5330060b3159273ee1b0
[ "MIT" ]
permissive
davve50/d0009e
06439363feeeac95a52b00d9ccf5d40b0042808c
3af55d7fc9dbdb085a27298961557a60f379b773
refs/heads/main
2023-02-22T00:00:31.703467
2021-01-22T09:13:21
2021-01-22T09:13:21
317,813,418
0
0
null
2021-01-22T09:13:22
2020-12-02T09:34:25
Python
UTF-8
Python
false
false
2,352
py
def main(): temp = [] book = [] com = [] while True: ch = input("Phonebook> ") com = ch.split() if "add" in com: add(com,book,temp) elif "lookup" in com: lookup(com,book) elif "alias" in com: alias(com,book) elif "chang...
[ "davarv-7@student.ltu.se" ]
davarv-7@student.ltu.se
ee00695458ca20ce01b296e151090b8079029e0b
d922f18fe53cf7738d6d536e5c9bfd8f3cb7e202
/F20_3900_851_Group5/asgi.py
4030e48797e6a9f32472657de2a2952339cf06e9
[]
no_license
zhcsteven/public
0b4f075c7f42715c1b892afabfeea5bbfdf834eb
94358b7a256167a542c34f92f149dd93610ec1ec
refs/heads/master
2023-01-01T03:46:48.557855
2020-10-23T19:59:07
2020-10-23T19:59:07
306,734,455
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" ASGI config for F20_3900_851_Group5 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('...
[ "zhcsteven@github.com" ]
zhcsteven@github.com
c135d62f920dc56b65ff40f4fbe07eac168328ba
5b6f2b0ff8828d247885204522a7fe4ad7136f7a
/test_arc4.py
fb3574f9ebf651e152ea1554a8cf92cf764e7598
[ "MIT" ]
permissive
manicmaniac/arc4
5fdc292e3ac172a2e2817ff14b2d052604964cd5
6f0706a6f68cb84e419e8652d4196745268c9b3b
refs/heads/master
2023-08-16T04:05:42.398404
2023-04-22T03:58:58
2023-04-22T03:58:58
149,815,580
28
5
MIT
2023-09-12T09:24:09
2018-09-21T20:40:18
Python
UTF-8
Python
false
false
8,405
py
try: from setuptools.distutils.version import StrictVersion except ImportError: from distutils.version import StrictVersion import doctest import functools import multiprocessing import platform import textwrap import timeit import unittest import arc4 import setup KEY = b'PYTHON3' LOREM = b"""Lorem ipsum do...
[ "rito.0305@gmail.com" ]
rito.0305@gmail.com
4c83cd3d6d774829a84cb651754cc866c1ea95be
f9bf72c344413343242ad8a9f6c4b0abc767b334
/scripts/add_book.py
485b3666e9c844f60461b395decc4a2b5f069199
[ "MIT" ]
permissive
gskaggs/Refresh
494957f2e809e6ceb41ce53a35fb1816c8778bd8
f1d0a584b12d8c61db512742f457d8c585f8708e
refs/heads/main
2023-02-27T09:43:23.991791
2021-01-01T07:57:36
2021-01-01T07:57:36
320,148,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
#! /usr/bin/python3 from io_utils import load_data, save_data, json_path, multiline_input from card_utils import note_card, quote_card, flash_card def get_book_data(): title = input('Title:\n') thesis = input('Thesis:\n') defns = [] print('Abstractions') while True: name = inp...
[ "grant.skaggs@outlook.com" ]
grant.skaggs@outlook.com
de0ac5a347c783cdbbd4f0a4d1abc51e230dce90
c3646f146bc5e2478f07da7ec004e1b783f48e99
/Server_Final.py
8e28c0e287d9d43cbd56432848154b1ccb4f8e9f
[]
no_license
comnet14/Chat_Program_Final
c6e0408227ce416c538b5802fbb3c8c0dc556ae4
e12ebe3be5b09e67d1536bc07d978c419fd5b1f5
refs/heads/master
2020-06-05T06:55:40.587548
2015-06-07T16:22:01
2015-06-07T16:22:01
37,023,174
0
0
null
null
null
null
UHC
Python
false
false
2,841
py
# socket 과 select 모듈 임포트 from socket import * from select import * import sys from time import ctime # 호스트, 포트와 버퍼 사이즈를 지정 HOST = '' PORT = 56789 BUFSIZE = 1024 ADDR = (HOST, PORT) # 소켓 객체생성 serverSocket = socket(AF_INET, SOCK_STREAM) # 서버 정보를 바인딩 serverSocket.bind(ADDR) # 요청을 기다림(listen) serverSocket.listen(10) ...
[ "skdbsxir@naver.com" ]
skdbsxir@naver.com
e06d790514e028de8404d51db547b5b990b4f864
4a5d9f129d5129b34c55171c99f83f0893ae5c11
/archives/migrations/0006_categorie_lien.py
1d61623e1a6f57d121b4c3b2cf399d28cc058f6f
[ "MIT" ]
permissive
fromdanut/syndicat-riviere
ec097cf9bf9aec8829069a2a93d4750a36d87a39
0fd099524a2a79d0932dbf8b87f8232d470308ad
refs/heads/master
2018-09-04T19:14:40.490656
2018-06-04T10:52:21
2018-06-04T10:52:21
103,665,673
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-15 06:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('archives', '0005_remove_categorie_lien'), ] operations = [ migrations.AddFie...
[ "remidelannoy@hotmail.com" ]
remidelannoy@hotmail.com
e174afa38ec2ea5f548eadf2273ad23fbf7cb7e9
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_105/324.py
9ddec5819097ba9f1a61905d441b8271fd8d44f7
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
class Item(object): def __init__(self, index=0): self.index = index self.parents = [] self.childs = [] def is_source(self): return len(self.parents) > 1 def is_dest(self): return len(self.childs) > 1 def get_dests(self): if len(self.parents): ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
687a25694621f2e864b8c7dc5e552473ecff1887
241724e83f5c12ed9d7dd3b825dfe4e2b1b0f777
/pde/pdes/base.py
9cf1ac5b1fae6171c9a2c5dc4a00496021f9c523
[ "MIT" ]
permissive
xuanxu/py-pde
d8be358ab76d4060b14afc74bc7d836591c6188e
de33d938aea8680eff872ae1b64569895662a248
refs/heads/master
2021-03-09T21:37:13.920717
2020-03-10T12:18:03
2020-03-10T12:18:03
246,382,909
0
0
MIT
2020-03-10T18:54:22
2020-03-10T18:54:22
null
UTF-8
Python
false
false
11,150
py
""" Base classes .. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de> """ from abc import ABCMeta, abstractmethod import logging from typing import Callable, Dict, Optional, TYPE_CHECKING # @UnusedImport import numpy as np from ..fields.base import FieldBase from ..trackers.base import TrackerCollectionData...
[ "david.zwicker@ds.mpg.de" ]
david.zwicker@ds.mpg.de
4af89df75f31f967c2e9fffac40bba2655d4eac1
7c568ca8675ee507d231dc3ddc2c26db8af81d3f
/app/measurement/migrations/0039_auto_20210423_2203.py
e4770737f85b702259b6e9732f4c900815cf5bca
[ "MIT" ]
permissive
pnsn/squacapi
ccfb458c7230fc5b0a0be7921eb6db611d8c646a
40d9608295daefc5e1cd83afd84ecb5b0518cc3d
refs/heads/main
2023-04-30T22:10:51.651835
2023-04-28T17:01:06
2023-04-28T17:01:06
176,352,115
7
0
MIT
2023-04-28T17:01:07
2019-03-18T19:03:32
Python
UTF-8
Python
false
false
3,213
py
# Generated by Django 3.1.8 on 2021-04-23 22:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('measurement', '0038_auto_20210414_1911'), ] operations = [ migrations.AddField( model_name='archiveday', name='p05',...
[ "jontconnolly@gmail.com" ]
jontconnolly@gmail.com
1c506a903e67d279b3fce475941803929704354b
31312e5019ce3efd927216b737808131ce208265
/PyPoll_Challenge.py
b3cd0b70409cc507bc5187ad17ce29801192f2c1
[]
no_license
sabrinajc/Election_Analysis
32605b9736425ed6bf00b84a499865d4ad940427
4f0f27733dedb3835c8596bd3f8b70a1cad82df1
refs/heads/master
2022-11-29T11:42:52.122278
2020-08-03T02:03:44
2020-08-03T02:03:44
283,359,748
0
0
null
null
null
null
UTF-8
Python
false
false
5,415
py
# -*- coding: UTF-8 -*- """PyPoll Homework Challenge Solution.""" # Add our dependencies. import csv import os # Add a variable to load a file from a path. file_to_load = os.path.join("Resources","election_results.csv") # Add a variable to save the file to a path. file_to_save = os.path.join("analysis", "election_ana...
[ "hewang@hedeMacBook-Pro.local" ]
hewang@hedeMacBook-Pro.local
4921da7ce88afd440d097cc404d7f4dd8e132cd1
fdc75f73274ae55d90e8085100d95c7f3452c1ae
/test_igseq/test_colors.py
03f1274ce616043875d9f9c328d5bb37debf185a
[]
no_license
ShawHahnLab/igseq
dc63b93eb11fecb8376fd5ffba31a7a6263e67d6
539868dab2041b7694c0d53e8e74cf1b5b033653
refs/heads/dev
2023-04-28T09:03:09.404590
2023-04-21T17:11:11
2023-04-21T17:11:11
415,071,017
1
0
null
2023-04-21T17:11:12
2021-10-08T17:20:30
Python
UTF-8
Python
false
false
1,921
py
from igseq import colors from .util import TestBase class TestColors(TestBase): """Tests for color-related helper functions.""" TRIOS = [ ([255, 0, 0], "#ff0000"), ([0, 0, 0], "#000000"), ([0, 136, 0], "#008800"), ([255, 255, 255], "#ffffff"), ] TEXT...
[ "ancon@upenn.edu" ]
ancon@upenn.edu
1966651437f609fc2be290d921ab2809c7cb13b0
a73f9df0b7e797a55aa40ce29ca94e981c33543d
/zxcmovies/movie.py
5b45156ef169449a910e18894d1e7d89a7edcd37
[]
no_license
XinuxC/SpiderMan
c7884de144ad9fbdf9e786798e91bcfa71348eb7
d2b193573b870881520bfed970d5c295eaf69e81
refs/heads/master
2021-09-04T02:56:45.838338
2018-01-15T01:01:18
2018-01-15T01:01:18
104,993,126
2
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
# -*- coding: utf-8 -*- import json import os import time import csv import requests header = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56....
[ "pishit2009@gmail.com" ]
pishit2009@gmail.com
5494e226e3046e745556744498dec3d1c5ebf016
b8b233a47ee590862f3e4e02aabd22c429c34de2
/CLIvmtracker/host.py
8804975187538b5e921fa23e1f40354c433bc7a6
[]
no_license
gskeats/WakeHacks19
91ce7fa0e94cc8eb13492574b98706de5ef2e067
73fc0714df201dd0daea89167bf90596b978e82e
refs/heads/master
2020-05-03T10:28:06.846924
2019-04-04T15:36:12
2019-04-04T15:36:12
178,579,590
0
0
null
null
null
null
UTF-8
Python
false
false
3,960
py
import subprocess class host: def __init__(self, name, key_type_string, key_string, descrip=None): self.names = name if ',' in self.names: name_split = name.split(',') self.domain_name=name_split[0] self.ip_addr=name_split[1] else: self.domain...
[ "gnskeats@gmail.com" ]
gnskeats@gmail.com
aaba80ff9c3f90ecc00e3675665a8f4debca40b3
5047a3f9be0ad269c4a8b9f2a61e537679620f29
/answers/advent-7.py
fc14a9428d727690ce15438fe6bdaffde18e5a36
[]
no_license
thedude42/adventofcode2020
2064b7d54e5fd7a299f361f9703679873998fd4a
56472557698a0bf70234e2b6717fba093882ed8e
refs/heads/main
2023-01-30T00:23:13.544006
2020-12-08T06:28:58
2020-12-08T06:28:58
318,718,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
import sys import re from collections import namedtuple from typing import List, Dict class Bag(): ''' class to hold the 'contains' relationship for a particular bag type ''' BagRule = namedtuple('BagRule', ["count", "name"]) name_re = re.compile(r'(\w+ \w+) \w+') rule_re = re.compile(r'\s*(\d...
[ "sk8rdie42@gmail.com" ]
sk8rdie42@gmail.com
604df648d3c490b01fd3ac766baf552625a98caf
22a863f78432baf0cf28a924e3bc26555bef2e35
/test/testagent/HAagent_info.py
f7b855cb018e9d264722bf7072595e215d75d4c4
[]
no_license
Li-Shiang-Chi/atca-test-agent
be7294a1d9bcc30971abc29d8cb3dab080c417ea
441e352a72e085b5988a794ff731694b56fa8a2f
refs/heads/master
2021-01-23T00:40:07.206358
2017-07-10T11:36:00
2017-07-10T11:36:00
92,830,203
0
0
null
null
null
null
UTF-8
Python
false
false
6,111
py
#!/usr/bin/python #-*- coding: utf-8 -*- ''' @author: lsc ''' import shell_server import cmd_HAagent import file import json import HAagent_terminal def is_add_primary_success(parser): """ check is primary node add in cluster :param parser is a dict get from base.configure """ is_exists = is_nod...
[ "lsc830621@gmail.com" ]
lsc830621@gmail.com
5452fbedf431f88f306ddea67f5dd66c3d794a2a
c3a351afef234e7a4a69e348ab1dc90dd6455f1d
/supplies_control/migrations/0001_initial.py
9a23f860bd46da6d8fd5fa0b86db036810603cec
[]
no_license
ProgrammerBaldy/bunkers_backend
bf9ca170c18c94da5b5daf0f94b45e1d0bd3085e
d9dcfa34f59bf2349e2880ede7aa9e5c5b9c8706
refs/heads/main
2023-03-10T07:00:12.555231
2021-03-02T14:14:13
2021-03-02T14:14:13
337,581,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
# Generated by Django 3.1.6 on 2021-02-10 13:08 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "tauanegri@corpstek.com.br" ]
tauanegri@corpstek.com.br
109a875760f5fc39260fd4abcf0b9b11c346051b
7950c4faf15ec1dc217391d839ddc21efd174ede
/explore/2020/september/Evaluate_Division.1.py
65d4246ab245ebe5ad135c0ae57a97572fd70b22
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
675
py
''' Floyd You are here! Your runtime beats 27.33 % of python submissions. ''' class Solution(object): def calcEquation(self, edges, weights, pairs): graph = collections.defaultdict(lambda: collections.defaultdict(lambda: float('inf'))) for (i, j), weight in itertools.izip(edges, weights): ...
[ "838255715@qq.com" ]
838255715@qq.com
4461735f7bd7281b7b767b8e879ce7b1b19e705a
993ff86a0c3a5fbb4e9e0e93cdb7ff0b40124e00
/wormpose/commands/predict_dataset.py
ccd7d3d8b336f34e609d7f0a86b5fc7dc9c25d64
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
stjordanis/wormpose
e616a3cd3d4da7bf822697bf6578928e89a7a7d9
3e480fcf8eed720d9472b106e09c51c9853536c0
refs/heads/master
2022-11-25T03:27:15.834098
2020-07-14T08:33:54
2020-07-14T08:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,111
py
#!/usr/bin/env python """ Predicts videos using a trained model """ import logging import multiprocessing as mp import os import random import shutil import tempfile from argparse import Namespace from functools import partial from typing import Tuple import numpy as np import tensorflow as tf from wormpose.command...
[ "laetitia.hebert@oist.jp" ]
laetitia.hebert@oist.jp
4c1e07954b7f178a1cd06730975c36d9e49da4c4
b747f3ce4a372acc6079f6aa5e08dc0b4e942a8b
/Candy_135.py
716291e973b1e9a6f5a7a5e67e16f28a777a30cc
[]
no_license
yyang116/Leetcode-Journey
6a65ae7615ba6eb91f6d6a4914619366da47264a
0db77523d3f28a146646c877b7dbbe1c375666da
refs/heads/main
2023-08-10T21:26:32.103999
2021-09-24T12:30:57
2021-09-24T12:30:57
407,548,266
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
class Solution: def candy(self, ratings: List[int]) -> int: l=len(ratings) if(l<2): return l candy=[1 for x in range(l)] for i in range(l-1): if(ratings[i]<ratings[i+1]): candy[i+1]=candy[i]+1 for i in range(1,l): if(ratings[l-i-1]>rat...
[ "noreply@github.com" ]
yyang116.noreply@github.com
7c12aa31b26bf8faa5fa8916f6ea06e98186cba2
f722cfc58ffb73fb336cdbea28eeb264b928b21d
/testwebsite/testwebsite/views.py
c6e387d1d51afd1e3dbc3192827a0606eb18a6fb
[]
no_license
dipeshanandparab/DjangoCertificationProject
46b66626603b71831fcff9a9bdea9fb1ebfc1f76
d046c87d63d5eb1205e2ca189083a6ccd2f58572
refs/heads/master
2020-07-26T09:25:43.890549
2019-09-15T14:13:49
2019-09-15T14:13:49
208,603,238
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from django.http import HttpResponse def blogPage(request): return HttpResponse("Blog Home Page")
[ "noreply@github.com" ]
dipeshanandparab.noreply@github.com
cbfdbf55f91029d39dfebc3f950e4dad9f0a19e1
0525edb3a79a46c73576b149c29ca83464c1e1fb
/finalproy/Scripts/pilfile.py
05d9f79a39f3f9b93b300bd6a1a70847ffcdb237
[]
no_license
alseb4991/proyprogweb1.0
88119407c111a82ede5b9fe23840a551c5a75ca6
5d98b7a34360c8a7fbb5135a4e809b6f9bfb2d82
refs/heads/master
2021-01-18T21:08:52.919164
2016-06-07T18:34:44
2016-06-07T18:34:44
50,890,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
#!c:\users\alan\desktop\finalproy\scripts\python.exe # # The Python Imaging Library. # $Id$ # # a utility to identify image files # # this script identifies image files, extracting size and # pixel mode information for known file formats. Note that # you don't need the PIL C extension to use this module. # # History: ...
[ "Alan Sebastian Fuentes Toscano" ]
Alan Sebastian Fuentes Toscano
50587eb991551487cd46558996781fa84fa73bdb
030437bc949054b0110a4979276ce19dd03c124e
/game_controller.py
4a8d0ca92170380805d3623c46faa3366238047f
[]
no_license
dusanradivojevic/DeepSeaAdventures
439ede65b705bcf2e8bece546023f8fbaf1ab990
7a6f6efa475469a83ec8c1e02c931a31cf079d36
refs/heads/master
2022-12-24T13:07:42.539056
2020-10-03T13:14:34
2020-10-03T13:14:34
253,089,595
0
0
null
null
null
null
UTF-8
Python
false
false
5,793
py
import time import math import pygame from sounds import SoundPlayer import game_data as gd import threading import level_data as levels import npc # Changes time lapsed from number of seconds to hours : minutes : seconds format def time_convert(seconds): min = (seconds // 60) % 60 sec = seconds % 60 hour...
[ "r.dusan97@gmail.com" ]
r.dusan97@gmail.com
5e05b6b9b39006785cc1c655918b72ebd92fe4a6
b7f856717e407c698453b3fddde74dc19cb81ebc
/solve/solver.py
abd766c05f81f527039bc8954dfadcd4ea596b74
[]
no_license
grace0925/sudoku-solver
22702915dbd290c1409d7d0840b93b51772e67f5
7e0a8e94b418dd5a1e3e259828e3b5f545da7369
refs/heads/master
2021-01-09T17:47:50.007917
2020-03-30T04:19:41
2020-03-30T04:19:41
242,395,747
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
board = [ [2,0,3,8,0,0,0,0,0], [0,9,0,4,0,0,3,6,0], [5,0,0,0,6,3,0,2,0], [6,0,7,0,0,0,0,9,8], [0,0,5,9,0,0,0,1,6], [4,0,0,0,7,0,2,0,3], [0,0,0,3,0,4,0,0,0], [0,0,0,0,2,0,0,0,0], [0,0,8,0,0,0,0,0,0] ] def pretty_print_board(board): for...
[ "graceliu0925@gmail.com" ]
graceliu0925@gmail.com
f868eeff27e7b4b07996e98e3f5ae73e36692f8c
f19df7e4cf34af41b17fb636d4c77ab32f93f20f
/Game tutorial/rpg_game/core/Marker.py
0d1bbe0ff377fa34804ba7afd2bb395390e0de79
[]
no_license
Sequd/python
2fcaa60ee0a535619b50ece0eb8bf9a43ad798e2
3a08ab1285b004f57266853384ed9ef4a91163d3
refs/heads/master
2021-07-10T02:19:40.922424
2021-04-04T15:05:15
2021-04-04T15:05:15
55,693,736
0
0
null
2018-05-11T14:39:59
2016-04-07T12:43:40
Python
UTF-8
Python
false
false
1,051
py
import pygame import random from Constants import * class Marker: def __init__(self, screen, x=250, y=250): self.screen = screen self.x = x self.y = y def update(self): pass def render(self): surface = pygame.Surface((160, 120), pygame.SRCALPHA) shift = ...
[ "e.korunov@gmail.com" ]
e.korunov@gmail.com
7726a4a36d1e204ff71e6eba409b084dffa76440
b0be938d9a8059709d1f7f411c561773e52648bd
/doclink/clients/requests_.py
aca1c0057270ef3c7589edc276ff4d60d077080d
[ "MIT" ]
permissive
Luoyufu/doclink
83c10f485675e0c6ba4cf8c3a2be9ffc0512414d
41e57f7e9891f47579cf9131000d87bb8cc09d05
refs/heads/master
2022-12-10T06:49:45.177895
2018-03-04T15:06:17
2018-03-04T15:06:17
118,544,658
4
0
MIT
2022-12-08T14:59:06
2018-01-23T02:18:12
Python
UTF-8
Python
false
false
5,319
py
# -*- coding: utf-8 -*- import atexit import os import requests from requests_toolbelt import MultipartEncoder from six import string_types class RequestsClient(object): optional_args = ( 'params', 'data', 'headers', 'cookies', 'files', 'auth', 'timeout', 'allow_redirects', 'proxies', '...
[ "yufu_luo@163.com" ]
yufu_luo@163.com
10f058e9cf7828acf4110b55d6c7158a21525c0c
eeee463b73fe69972401e28ae856e551f4c30567
/Digit Classification/custom_knn_implementation.py
ffccdf770bedcf5d20a3cd04a46c218c67b59b63
[ "MIT" ]
permissive
pushprajsingh14/Digit-classification-knn
828e2823809eb4795b9412bd00a2f315ddc2d7d7
65ae68c764159c8eb49358828e177df47e2b2ee5
refs/heads/master
2022-11-22T07:51:10.314289
2020-07-26T18:31:56
2020-07-26T18:31:56
282,705,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
import numpy as np from sklearn.model_selection import train_test_split data = np.load('./datasets/mnist_train_small.npy') x = data[:, 1:] y = data[:, 0] x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.33, random_state=42) class CustomKNN: # constructor def __init__(sel...
[ "noreply@github.com" ]
pushprajsingh14.noreply@github.com
c158869c44fbf7dbcc2976dabe27d6ba3b090513
615593c9b15afe1219bed38efe3adc32b947b6d2
/FaceRecognition-Webapp/DnnRecognizer.py
5691d7d1394151210e780ce5475fbdd895446512
[]
no_license
jbkarle/PyImageConf2018
7bc11f93f4a79195373eddd41deb21b9851bf597
be7f080487dbdb99e6f52941cc26b41123882caa
refs/heads/master
2021-09-22T06:57:34.313260
2018-09-06T05:18:29
2018-09-06T05:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
# License Agreement # 3-clause BSD License # # Copyright (C) 2018, Xperience.AI, all rights reserved. # # Third party copyrights are property of their respective owners. # # Redistribution and use in source and binary forms, with or without modification, # are perm...
[ "spmallick@gmail.com" ]
spmallick@gmail.com
91bb39e87b153c78a084acbdc38998fcc5de7e04
5a01774b1815a3d9a5b02b26ca4d6ba9ecf41662
/Module 2/Chapter03/django-myproject-03/quotes/models.py
1659b30889e4e5de96390dfb7a8897a216d15bfe
[ "MIT" ]
permissive
PacktPublishing/Django-Web-Development-with-Python
bf08075ff0a85df41980cb5e272877e01177fd07
9f619f56553b5f0bca9b5ee2ae32953e142df1b2
refs/heads/master
2023-04-27T22:36:07.610076
2023-01-30T08:35:11
2023-01-30T08:35:11
66,646,080
39
41
MIT
2023-04-17T10:45:45
2016-08-26T12:30:45
Python
UTF-8
Python
false
false
3,578
py
# -*- coding: UTF-8 -*- from __future__ import unicode_literals import os from PIL import Image from django.db import models from django.utils.timezone import now as timezone_now from django.utils.translation import ugettext_lazy as _ from django.utils.encoding import python_2_unicode_compatible from django.conf import...
[ "bhavinsavalia@packtpub.com" ]
bhavinsavalia@packtpub.com
266eadfc88787d8d8f35a8ad5c254af232377ec2
54cc98e87d96119571f0d8689d26c4d62d1f84dc
/mywebsite/settings.py
c9d0c7ef9c9819197f8c98ddc1d348acd336a876
[]
no_license
Midnight1/django1
39ae231a5eccf8feae875c7a65c7d6c16de91ffc
a5f3e90a3b5c18b5339296e33a590e118ff0aa9a
refs/heads/master
2021-01-10T20:00:56.007776
2015-09-17T14:43:07
2015-09-17T14:43:07
42,661,114
0
0
null
null
null
null
UTF-8
Python
false
false
2,743
py
""" Django settings for mywebsite project. Generated by 'django-admin startproject' using Django 1.8.4. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build pa...
[ "hellghost_1@hotmail.com" ]
hellghost_1@hotmail.com
9d97806e7191bf98ae9da511e9ccb752b0504f37
005d4c68695bacbab7a90d2e55567c1b6eeb2881
/tweet_EMR.py
0e67a53e2e688c473bc60037e7bea7e8541cf24a
[]
no_license
nishuranjan/kinesis-tweet-streaming
6c5f84e228ab0fb6cb05edd2f4a42a1df520432a
9676ccd9f1ac82d3db1862f26f4811adfeb0d3fe
refs/heads/master
2022-11-28T23:47:20.896421
2020-08-16T16:15:26
2020-08-16T16:15:26
277,126,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
from __future__ import print_function import sys import json import time from pyspark import SparkContext from pyspark.streaming import StreamingContext from pyspark.streaming.kinesis import KinesisUtils, InitialPositionInStream if __name__ == "__main__": applicationName = "PythonStreamingKinesis" ...
[ "noreply@github.com" ]
nishuranjan.noreply@github.com
da8ab0b242ac7d0fd2aff929e11c271cf5e4f784
94a9c4765e245ad1a12a52e28de919bdbe0cb3b8
/HolaMundo_Channel/remove_unuseless.py
db84d9e3c99e9081f5970eda03edf0966160bb29
[]
no_license
je-castelan/Algorithms_Python
d2b86e7300c8d9a877eb5b4bb507f901e8507967
9056ddebb0c73839430d54d19fcdc5588263cfd4
refs/heads/master
2023-02-26T00:45:30.812225
2021-01-21T06:16:10
2021-01-21T06:16:10
301,629,472
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import functools def removeUnuseless(arr): # Remove null or zero elements. Note than filter require to be saved on list initializtion # Challenge of Hola Mundo Channel on https://www.youtube.com/watch?v=MXmQM_Uehtk&t=584s lista = list(filter(lambda x: x ,arr)) return lista if __name__ == "__main__": ...
[ "ingkstr@gmail.com" ]
ingkstr@gmail.com
8b42f06cdb8dea1438828f56a84250f25597c83e
4698d0fae98b892a935e2b19ec01e60af077723c
/finalproject/bin/rst2html4.py
322b3298dbe4ce5fcca08892b8ff7e31492a0c96
[]
no_license
sujithksam92/SearchEngineProject
8cee78349b8b118456f91f93b7e63587ae5a21d3
8182e12a64bc69403940127eeeaa353c405db127
refs/heads/master
2020-05-17T13:53:35.289657
2019-05-07T21:28:10
2019-05-07T21:28:10
183,740,225
1
0
null
null
null
null
UTF-8
Python
false
false
816
py
#!/Users/sujithsam/Documents/Studies/Stevens/Sem-2/BIS-660-Web-Mining/Research_Engine_Project/finalproject/bin/python3.7 # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docu...
[ "sujithksam92@live.com" ]
sujithksam92@live.com
fb5d205f628987e7f8e328d80f149b1bf79740ad
52a42437c4f8f978e1d9da1074d487ce8123d228
/path_sum_3.py
c6645a212c8b62dd26108303729a0e5d2240bacf
[]
no_license
iorzt/leetcode-algorithms
22bc987d76c52817dd6fe94e0a8331b3729e36a1
7508201ac7fe057769100f168bb3e5e598137894
refs/heads/master
2021-05-25T12:09:10.172318
2020-03-26T02:31:13
2020-03-26T02:31:13
127,387,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
""" You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need to start or end at the root or a leaf, but it must go downwards (traveling only from parent nodes to child nodes). The tree has no more than 1,000 nodes and the val...
[ "gg.baibo@gmail.com" ]
gg.baibo@gmail.com
6f536a3e58cddf6f23b1f280c0d75a694929f726
476a8b674a76b9925dac4498b2f64cf1dee08910
/deepnet_training.py
5de72a72d09c7cf3e90935fe5490c9ea9f6f64d5
[ "MIT" ]
permissive
jacenfox/pytorch-framework
24905de58352604e24f7ceb6f7a705cb5ad72a5b
771642a6f40b1fa4f4c90ffa40e2cb90c3fd42d4
refs/heads/master
2020-04-30T02:08:35.579186
2019-06-27T17:25:05
2019-06-27T17:25:05
176,551,018
0
0
null
null
null
null
UTF-8
Python
false
false
8,254
py
import torch import os import sys import numpy as np import time import glob from utils import time_elapse_parser import colorama class TrainDeepNet(object): """docstring for TrainDeepNet""" def __init__(self, model_path, model, domain_adapt, learning_rate, callbacks, model_name='LDR2HDR', device='cuda'): ...
[ "jacenfox@gmail.com" ]
jacenfox@gmail.com
c102dd6c9dfdf2f28e8ea302f8887e73f5fa32c8
59fdbd2c22f8489c493dd71fe5fe18927ed7c040
/Chapter2/Example8.py
92afb01e005dcfb16422abc34da7ffe9dfb9cecc
[]
no_license
lzr2006/PythonStudy
8d96fceb5fa13b5955071304bda342d8f19a9808
e4db9852bfca95398cad51ff529af77e4f68c3c6
refs/heads/master
2022-12-21T20:24:55.960089
2020-10-09T11:20:33
2020-10-09T11:20:33
298,911,342
0
0
null
2020-09-26T22:49:08
2020-09-26T22:40:20
null
UTF-8
Python
false
false
43
py
#Chapter2/Example8.py a=10 b=3 print(a//b)
[ "noreply@github.com" ]
lzr2006.noreply@github.com
2b062e03f669e6aaead91edb14be24e5af00d892
0d76013f6e1ee69713690d6d6e65ce05a3c94de1
/account/urls.py
e37b608b6be1c0e5f060818a1a26f890b42c089d
[]
no_license
rafiulgits/law
8f8576980a47dc27ef744a9c32447e69630d3eca
42e6e6ac79229b648e023b3ae9c3252919045453
refs/heads/master
2023-03-05T22:05:25.854131
2021-02-20T04:02:52
2021-02-20T04:02:52
177,262,688
1
0
null
null
null
null
UTF-8
Python
false
false
733
py
from account.views import auth, manage from django.urls import path from django.contrib.auth import views as resetviews from rest_framework_simplejwt.views import TokenRefreshView urlpatterns = [ path('signup/', auth.SignUp.as_view()), path('signin/', auth.SignIn.as_view()), path('access-renew/', TokenRefreshView....
[ "avoidcloud@gmail.com" ]
avoidcloud@gmail.com
339c8b280925bb5e86c2c9103ccc84f62736179d
6358146a22e015791c136f9b018847008ed69d1c
/data_Structure.py
bd583bcc7971bac6620eea307ee0541a3635f819
[]
no_license
kjrendel/HighSchoolCamp
c3942004a6742562d9f3a2818847f1d98a840a93
1969cf4c012415ccc14a12710a2f8c4ef3e187c0
refs/heads/master
2020-06-03T14:22:56.760619
2019-06-14T19:20:55
2019-06-14T19:20:55
191,602,802
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
""" title: data_Structure author: Kaly date: 2019-06-13 11:32 """ #shakeball # import random # # # def shake_ball(): # inp = input("ask a question") # ans = ("yes definitely","without a doubt",'very doubtful','ask again later',"Don't count on it","Cannot Predict now",\ # "as i see it, yes","No chance...
[ "kjrendel@gmail.com" ]
kjrendel@gmail.com
af69173aac3e75f108dffd3657c7568959902aeb
9a76228ac99d8a1123d290a836a3252c11060547
/Utilities/Talon.py
25a640280502e80dfcc002ea8865298ffd9d162c
[ "MIT" ]
permissive
rohith8272/OpenFlightSim
b8501c94483faf74f1884a547fbf4fd94a13e053
9638c996fdb78c85d71c0e6faa0e64eb48cc96fa
refs/heads/master
2020-05-15T12:44:47.957707
2019-03-16T16:34:12
2019-03-16T16:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,972
py
""" University of Minnesota Aerospace Engineering and Mechanics - UAV Lab Copyright 2019 Regents of the University of Minnesota See: LICENSE.md for complete license details Author: Louis Mueller, Chris Regan """ import numpy as np import copy import VspParse import OpenFdm #%% Constants in2m = 0.0254 #%% Aircraf...
[ "rega0051@umn.edu" ]
rega0051@umn.edu
735451bc26fda37c9409923a75403a3041875b67
5e4fb830992c0180bf400e6993b1a491087c8c42
/instance/config.py
6aafcafca87812264fb088299b0d1c8c0e931bca
[]
no_license
Partck/SendITAPI
3bbbf3c57c1611db08b1d311b27d15058ecb368c
01cbe2e3c0e2538a35280c2ed3c06811cb0028d2
refs/heads/develop
2022-12-14T22:14:51.275474
2018-11-30T04:59:30
2018-11-30T04:59:30
156,836,938
0
1
null
2022-12-08T01:17:36
2018-11-09T09:05:36
Python
UTF-8
Python
false
false
499
py
import os class Config(object): SECRET_KEY = os.environ.get("JWT_SECRET_KEY") class TestingConfig(Config): DEBUG = True url ="dbname = 'dfhkvc5kqeh9bi' host = 'ec2-54-235-156-60.compute-1.amazonaws.com' port = '5432' \ user = 'ehiewszseuqzyg' password = 'aff8667735390b9eebe291e92f4ad1d75a255aeefc3...
[ "patgachuru@gmail.com" ]
patgachuru@gmail.com
e55983dca1feb96f5b4323bc57bdc755ed4a5c17
ca97dafb6309f4ad0f0026ca8473d7db48120459
/apps/utils/wangediter.py
4d48e445b9f80519e83e1c54e7325c6b063a087d
[]
no_license
ITFengShuiMaster/-DjangoRestProject-
6a1aa9bddefa25761c4c0ae16351bb2cb8d93a37
679cf527d850e3ee087dd7e80c976fd29341c291
refs/heads/master
2022-12-16T00:53:12.593745
2018-10-11T08:12:12
2018-10-11T08:12:12
152,553,011
0
0
null
2022-11-22T02:21:51
2018-10-11T07:54:49
JavaScript
UTF-8
Python
false
false
1,192
py
# -*- coding:utf-8 _*- __author__ = 'luyue' __date__ = '2018/5/28 14:05' import os from flask import Flask, request,Response UPLOAD_FOLDER = '/TmageUploads' ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) app = Flask(__name__) app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER #文件名合法性验证 def allowed_...
[ "wxhzq520@sina.com" ]
wxhzq520@sina.com
61da68c0cc57b787ef11ad937a8ba1a75162869f
f3dc0703f6b57389b95c6b1447efd882e65f11bd
/mysite/vehicle_garage/migrations/0005_alter_boat_boat_hin.py
c1387f895a8fe33b5515cd28eee0bc67e73a06d7
[]
no_license
aku006/bixly-interview-test
4f4b1a84ca8c5511ccec82ee2f153ce7796667ca
5e5b0767b62ddc31128ca3b0205ea34b707c83c6
refs/heads/main
2023-07-12T21:43:15.841469
2021-08-20T22:28:53
2021-08-20T22:28:53
396,119,725
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 3.2.6 on 2021-08-20 20:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vehicle_garage', '0004_alter_boat_boat_width'), ] operations = [ migrations.AlterField( model_name='boat', name='boa...
[ "aku006@ucr.edu" ]
aku006@ucr.edu
2a3a9ed6867c40b4d06206b52ad915c58b2b2ee5
afc39333dab6fb777e7790aa5b06dfd27fdad46d
/bbs/migrations/0005_comment.py
47635bbb154f2d3b629b00cfe1209892662f4358
[]
no_license
SAKUMAISAO130/python_bbs
4709460290680987de289f88bd1b4b16ffb3dfbb
14028a1f7ca216015089f2c0c549f91e11c21c25
refs/heads/master
2022-09-05T10:31:36.234827
2020-05-27T11:49:35
2020-05-27T11:49:35
266,765,206
0
0
null
2020-05-26T12:45:46
2020-05-25T11:46:50
Python
UTF-8
Python
false
false
840
py
# Generated by Django 2.1.5 on 2020-05-27 00:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bbs', '0004_auto_20200526_1302'), ] operations = [ migrations.CreateModel( name='Comment', fields=[ ...
[ "colorfullweb@gmail.com" ]
colorfullweb@gmail.com
78c967718b00bbe41546036f801047647978a636
aeb8d8e1a25482b1f913aa0b29666d9c024a4bcf
/ccnuoj_webapi/src/__init__.py
b904aca48a97e2b007ee2d713e28bb444d58c55d
[]
no_license
OutOfCage/CCNUOJ
8d46fe5d6072189f2ad38b27ec089c3ce9ee2cb2
f2b07daab6132390ab6fc4d53b01eb528921c244
refs/heads/master
2020-04-01T13:08:05.406472
2018-10-15T17:19:59
2018-10-15T17:19:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from .global_obj import * from . import model from . import authentication from .authentication import init as authentication_init from . import user from . import judge_scheme from . import problem from . import judge_command from . import judge_request from . import submission
[ "fybmain@gmail.com" ]
fybmain@gmail.com
ade3665c82f66c2282de4139af95b6d5e566ae0b
d98fcc71d992c71838eff77c93fba85d2a111e8e
/blog/migrations/0002_comment.py
23dfc71ee25ce73e00d0323ae56562b2584b47d5
[]
no_license
yeimermolina/blog
2a9ae31da35db021abfac233baed93ee0fe7e8b1
900dc89b47aa118089a0aa994058b945e305b5c0
refs/heads/master
2021-05-07T22:14:38.033072
2017-11-01T21:22:56
2017-11-01T21:22:56
109,179,291
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Comment', fields=[ ...
[ "yeimer.molina@gmail.com" ]
yeimer.molina@gmail.com
7278426f46e6ad4358202385753eb0788391aa02
fca96796d913a57b60e5525d0392543c8e5cec24
/node_modules/bcrypt/build/config.gypi
6b7b118899d9539b36b8a36a79d2db03446290cd
[ "MIT" ]
permissive
Sathya4488/login-page-MEAN-stack
817299bd9cafcbad46843a5bb347537c75165598
46fd4388c8a91096616cce8278245208d21a134e
refs/heads/master
2020-05-04T09:57:04.665542
2019-04-24T13:13:57
2019-04-24T13:13:57
179,079,011
0
0
null
null
null
null
UTF-8
Python
false
false
5,747
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_ngh...
[ "sathyamsb91@gmail.com" ]
sathyamsb91@gmail.com
9040725fac22694501f3f81751cda539d3ce2333
6c6790ff1f940d7bcb35d5b3adec4c8feb0adffd
/url_services/tests/recipes/mommy_recipes.py
c9be044997cbfcb92db83eb7e6907c01caebb811
[]
no_license
alexrosa/django-urlshortener-api
102ea5e16e32c877ed7d3f8469ee3174b0353c9a
eeccb96dccfb8da82052b3899b41bdce2be76662
refs/heads/master
2020-04-17T16:48:14.460993
2019-01-21T13:29:58
2019-01-21T13:29:58
166,756,420
1
0
null
null
null
null
UTF-8
Python
false
false
278
py
from model_mommy.recipe import Recipe, seq from url_services.models import UrlShortener url_shortener = Recipe(UrlShortener, url_shortener_id=seq(1), absolute_url='www.smartbeans.com.br', short_url='a3b4c5')
[ "alexrosa@gmail.com" ]
alexrosa@gmail.com
992eaf158afa97f9840995f5325e13ed645e30f9
6d41b6f01dc7a635424775efbe816f8f835a4287
/programmers.co.kr/Greedy/체육복/main.py
e39a021acd0868db514fcc8a8bdab4197fbe51d7
[]
no_license
Kitsunetic/coding-test
c3a27df19f5816c79aef8823c8a7a04b5dd8114d
0fff44440883d025b1a98f727d1b28a5dbf412e6
refs/heads/master
2023-04-08T06:39:59.174049
2021-04-29T16:01:11
2021-04-29T16:01:11
358,499,090
1
0
null
null
null
null
UTF-8
Python
false
false
472
py
def solution(n, lost, reserve): p = [1 for _ in range(n + 1)] for i in lost: p[i] -= 1 for i in reserve: p[i] += 1 for i in range(1, n + 1): if p[i] == 0: if i != 1 and p[i - 1] > 1: p[i] += 1 p[i - 1] -= 1 elif i != n and ...
[ "shenhaichenhai@gmail.com" ]
shenhaichenhai@gmail.com
00f3aa777df65829459dc28711a6a5fa5e63b497
514440c0319b0b9bf1ee2a7b5fd128713c68384e
/whyattend/analysis.py
fc88ebc836e0eb0ddaa907e8fa5fe87cfd4d74f5
[ "BSD-2-Clause" ]
permissive
chipsi007/World-of-Tanks-Attendance-Tracker
3af9d68f9b4ea81b61ad35f5a20204c2b098de28
576b32586c402a843b88c49bf432a3e8cb3c62dd
refs/heads/master
2020-03-21T17:02:46.227357
2016-06-19T10:57:39
2016-06-19T10:57:39
138,809,761
0
0
null
null
null
null
UTF-8
Python
false
false
5,514
py
import math from collections import namedtuple, defaultdict from . import replays PlayerPerformance = namedtuple('PlayerPerformance', ['battle_count', 'avg_dmg', 'avg_kills', 'avg_spotted', 'survival_rate', 'avg_spot_damage', 'avg_pot_damage', 'win_rate',...
[ "daniel.diepold@gmail.com" ]
daniel.diepold@gmail.com
41d4be9a41798bf7b2188c2827bb18a60b2d64a8
9a5b3d2ef1fa5c488a0eadb3bbf89df368b82589
/hw12.py
6ca06dd8bd8b0dd4b359cb704de3ed370ba4a6cd
[]
no_license
smax253/cs115
bfb1ef82e10caaa36029cdde5451f47e0e53ef7b
9c670618b274c9c6c883779d6604374c0ba96a4c
refs/heads/master
2022-10-06T09:14:00.406567
2018-12-06T00:22:09
2018-12-06T00:22:09
149,790,258
0
0
null
null
null
null
UTF-8
Python
false
false
4,694
py
''' Created on 11/24/18 @author: Max Shi Pledge: I pledge my honor that I have abided by the Stevens Honor Code CS115 - Hw 11 - Date class ''' DAYS_IN_MONTH = (0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31) class Date(object): '''A user-defined data structure that stores and manipulates dates.''' # ...
[ "smax253@gmail.com" ]
smax253@gmail.com
d62f0bd20e58a2256dc029f276709c0b9900ded3
0007d76b3a0bb4f5427cba4a00ab1ba244ef7eb2
/RSA_Attack_Padding.py
3919c6d705e4a33ef706def804bfeff363046c37
[]
no_license
hassansallam/RSA_Attack
b4dc4fd8c2d153ebd9c561c201ae03f0f94915d7
650a7f868176186fb5d8c24e9ed0401d960954ef
refs/heads/master
2021-05-31T12:26:43.098089
2016-03-15T10:32:20
2016-03-15T10:32:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
''' THIS IS RSA ATTACK SYSTEM THAT WORKS IF THE PLAINTEXT IS PADDED ''' import math import binascii # THIS IS THE MAIN METHOD YOUHAVE TO RUN IT TO RUN THE POROGRAM def run(): print'Welcome to RSA attack system' print'Please enter the number you want to factor' n = input("N: ") factor(n) # THIS METHOD F...
[ "hassansalam@outlook.com.com" ]
hassansalam@outlook.com.com
46d66199b07078ad113d2244608aa0f3dcff80bb
ed8cdcce521b8cab33c66f716c0886e17f035d21
/.history/script/get_cpu_mem_info_20191222122843.py
8d68937cd4d25850ae1c036ceb08d000a04b8098
[]
no_license
deancsdfy/AndroidPerformanceTool_windows
8ac35729bc651c3af551f090d6788b6ee3f17eb5
c4906aa9347e8e5eca68dbb7cf2d66a327c70d1f
refs/heads/master
2020-11-27T20:38:55.014228
2020-01-09T15:55:52
2020-01-09T15:55:52
229,593,460
0
0
null
null
null
null
UTF-8
Python
false
false
3,591
py
#! python3 #coding=utf-8 import sys,os,re print(sys.path) sys.path.append('.') from public import publicfunction as util PATH = lambda p: os.path.abspath(p) #获取当前应用包名 package_name = util.get_current_packagename() # print('本次测试APP为:%s' %(package_name)) #获取men cpu 占用情况 def top(): print('Starting get mem cpu inform...
[ "denacsdfy@gmail.com" ]
denacsdfy@gmail.com
7998661e4b47331b7ada6e2e919fce2cdc61fcdc
a7860b1921e2ecb4d134fb9fd290551705edf90e
/build/universal_robot/ur10_moveit_config/catkin_generated/pkg.develspace.context.pc.py
7d54442ee1dc4b46dd510f0e382b640cc900a3da
[]
no_license
WRuotolo/TRI_dish_hand
c586a9cc93fb69b583755cf7f468b02421434151
52f31fb3e6a6fba89ed4d25e0dc4770d0c191064
refs/heads/master
2020-04-17T01:54:14.026935
2019-01-17T00:23:48
2019-01-17T00:23:48
166,112,607
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ur10_moveit_config" PROJECT_SPACE_DIR...
[ "wruotolo@stanford.edu" ]
wruotolo@stanford.edu
da1c27f4df3f3d42ec1025d9f87a1ffc36a10f25
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/content/test/gpu/gpu_tests/gpu_integration_test_unittest.py
7abe56fc3e5829005d6262afc304c84092b965a5
[ "BSD-3-Clause" ]
permissive
Csineneo/Vivaldi
4eaad20fc0ff306ca60b400cd5fad930a9082087
d92465f71fb8e4345e27bd889532339204b26f1e
refs/heads/master
2022-11-23T17:11:50.714160
2019-05-25T11:45:11
2019-05-25T11:45:11
144,489,531
5
4
BSD-3-Clause
2022-11-04T05:55:33
2018-08-12T18:04:37
null
UTF-8
Python
false
false
6,491
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import os import shutil import tempfile import unittest import mock from telemetry.testing import browser_test_runner from gpu_tests import pat...
[ "csineneo@gmail.com" ]
csineneo@gmail.com