blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
d2390f10db9d9c5d0511908207ac27b12a272d7c
dae3ceb4affd5b77649d66a979ccd7a4dfc98008
/weekTwelve/Module12/pageRankPointDisFinal.py
bb538866a2b7b542d0d869c2ac05a7697e01fafa
[]
no_license
SubalakshmiShanthosi/JOC-Python_NPTEL
84a47919b74c4a18e253b9d8fe94dfab4838b13f
744df05836417be2e8a4a2f4237a18d7262b90eb
refs/heads/master
2020-07-08T15:45:31.925353
2019-11-16T10:42:27
2019-11-16T10:42:27
203,716,559
3
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
# @Author: subalakshmi # @Date: 2019-11-16T15:59:29+05:30 # @Last modified by: subalakshmi # @Last modified time: 2019-11-16T16:09:50+05:30 import networkx as nx import random import matplotlib.pyplot as plt def add_edges(aGraph): nodes=list(aGraph.nodes()) for source in nodes: for target in nodes:...
[ "=subalakshmicv@gmail.com" ]
=subalakshmicv@gmail.com
e985e7b3fffd47e584ad67ba886f81c66f322d7a
0fbca6a8b6458b78bc3521679797fc1b160e3c82
/furnace_pb2_grpc.py
499829c0cad359595fafc4ab957822b2c7e8931d
[]
no_license
go-furnace/python-plugin
6fbbe469ffca12c491885b1245524b0e430cf5e0
c3eaf254b06d5aae45c931bb5df31b004b6bc6b4
refs/heads/master
2020-03-28T19:59:30.669048
2018-10-16T20:12:48
2018-10-16T20:12:48
149,028,372
0
0
null
null
null
null
UTF-8
Python
false
false
5,140
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import furnace_pb2 as furnace__pb2 class PreCreateStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ ...
[ "skarlso777@gmail.com" ]
skarlso777@gmail.com
7d76fb490c6658151c003119e291d6865091f624
1e3b7d8f62099cfc412e80672f95ea809a4adf04
/Taurus/script/velocityfield0.py
b6b6be141eec2940b8390088a03e2033e9f16d7a
[]
no_license
qianlivan/Catalog
945e86799a37159c88c5dc6325c365ed5e27d064
1f2f152c19a77b223d5aac351de4e34f9636d34d
refs/heads/master
2021-01-11T20:44:15.500483
2017-01-20T04:50:25
2017-01-20T04:50:25
79,174,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
import pyfits from pylab import * import math import os,sys import numpy as np import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt import mpl_toolkits from matplotlib.patches import Ellipse hdulist = pyfits.open('t13_new.fits') image = hdulist[0].data nx = hdulist[0].header['nax...
[ "lqian@nao.cas.cn" ]
lqian@nao.cas.cn
b675902d1cbee77e803006d28e864e9893d6c010
46666c91b55311dad15b59e805cf42ea6a15d970
/demo.py
382feb4475d0ac133fab511c97e8ec2851109765
[]
no_license
zyjImmortal/LeetCode
a411756481c4d7c3d08a475cc32cde637ae8c504
33b1c6384f67527bba5499c013ccddfed92809eb
refs/heads/master
2020-03-22T19:30:24.388741
2018-12-01T13:07:48
2018-12-01T13:07:48
140,533,740
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# -*- coding: utf-8 -*- # @Time : 2018/7/24 上午10:20 # @Author : zhouyajun import os path = '/Users/mac/PycharmProjects/LeetCode' def print_directory_contents(path): for child in os.listdir(path): print("===="+child) child_path = os.path.join(path, child) if os.path.isdir(child_path):...
[ "zhouyajun@didapinche.com" ]
zhouyajun@didapinche.com
6511592e6810655b1bf0ef09338b91728067e6fe
31e113e0baa03ccc7b58ecef8a1116ad6501e33a
/tensorflow_probability/python/experimental/mcmc/preconditioned_hmc_test.py
d13b3d5d494cf099bbc7be9fd385bbe34bc6cde2
[ "Apache-2.0" ]
permissive
ksachdeva/probability
9dbb771ec4da8094dea1c31d6cd5d514c2fe2c6f
dd24b7a6495e8801b7e7852aab16d6704993147c
refs/heads/master
2021-07-19T12:40:09.133886
2021-02-09T16:29:17
2021-02-09T16:31:18
241,638,637
2
0
Apache-2.0
2020-02-19T14:12:55
2020-02-19T14:12:54
null
UTF-8
Python
false
false
28,713
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
65d30851b539ee325140e006a3d8b45ecb45b9d1
3dee458122b8abcf09e361f41cb5b40978bcda63
/leetcode/python/Pascals_Triangle.py
48adbc67cc6d3da7c554d3cdc5cb7f7e36755975
[]
no_license
xuedagong/hello
ac39021e5c618a839e4068650a395373aec34dbc
2e73b1a381f58e4e4f8d274ec5247ff20424dc24
refs/heads/master
2016-09-06T00:51:48.544894
2015-12-11T15:52:06
2015-12-11T15:52:06
41,428,537
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
#coding=utf-8 ''' Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] ''' class Solution(object): def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] ...
[ "xue_dagong@sina.com" ]
xue_dagong@sina.com
e1059ae6e9b86f602d1bc6205a6ed704ffdc4962
5845ee6d82d9f691e846360fa267b9cca6829d99
/supervised_learning/0x0F-word_embeddings/0-bag_of_words.py
637623c05195091bb4a31ba366e5d15fe022ab76
[]
no_license
jlassi1/holbertonschool-machine_learning
6e8c11ebaf2fd57e101bd0b20b7d83358cc15374
d45e18bcbe1898a1585e4b7b61f3a7af9f00e787
refs/heads/main
2023-07-02T20:25:52.216926
2021-08-11T14:19:49
2021-08-11T14:19:49
317,224,593
1
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!/usr/bin/env python3 """ 0. Bag Of Words """ from sklearn.feature_extraction.text import CountVectorizer def bag_of_words(sentences, vocab=None): """function that creates a bag of words embedding matrix""" vectorizer = CountVectorizer(vocabulary=vocab) X = vectorizer.fit_transform(sentences) feature...
[ "khawlajlassi1990@gmail.com" ]
khawlajlassi1990@gmail.com
b198a7d3151111774b4e4c73c66f16b200b02e69
cad54a387f0fbeadbb195b186fa2fdf0816eafcd
/src/lars.py
77c7d47c09e5fbc9fb29ba7e09dd728d7f17c984
[]
no_license
diegoirra/San-Francisco-Biking-Machine-Learning
0583675da61441f1df7ea62d856c0efe609cda2a
074804eb3880aac4e0cbcdc623e4e9f29c8d7491
refs/heads/master
2020-05-31T15:15:35.353236
2017-06-22T20:04:56
2017-06-22T20:04:56
94,035,311
1
0
null
null
null
null
UTF-8
Python
false
false
450
py
from sklearn.linear_model import Lars from my_machine_learning import train_model, make_prediction import os os.chdir('..') model = Lars() model_name = 'lars' print "EXECUTING: "+ model_name model, X_test, y_test = train_model(model, model_name, filtered=False) if raw_input('Training done. Make prediction...
[ "dgirra@hotmail.com" ]
dgirra@hotmail.com
24f3226e98104542eb3275543b7427e3cf3958dc
bfe4a60a111409a2db4ff7ba2f21fff7c94d920e
/alien_invasion/settings.py
da96f9ec8b5daa9a4a7ea1a7c80083b9367d68f2
[]
no_license
bindas1/alien_invasion
086ab3bc9d9cee820fc6bae71c6c0b2fdd931c63
b7e3173c36db277381daf6027d02e25306e25573
refs/heads/master
2022-04-07T03:20:01.399915
2020-02-27T11:17:45
2020-02-27T11:17:45
155,073,033
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
class Settings(): def __init__(self): """Initialize the game's settings.""" # Screen settings self.screen_width = 1024 self.screen_height = 640 self.bg_color = (230, 230, 230) # Ship settings self.ship_speed = 5.0 self.ship_limit = 3 # Bullet...
[ "noreply@github.com" ]
noreply@github.com
2198faf9b1e2103c7296e6c8f8e6872747b322eb
19580fbbbe58e4290e2a0d1792515abe3417f336
/2021/aoc/day08/part1.py
3aadac8a389a49f14894caf25f04653586aeed90
[ "MIT" ]
permissive
GarmOfGnipahellir/advent-of-code
f95b17a9778faf8a3467408fdc2f88275d133dec
f6d0efca4c2f2b2820ac38a9be6a91875ef3930d
refs/heads/master
2023-01-12T10:34:35.170598
2022-12-25T11:30:22
2022-12-25T11:30:22
229,446,207
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
# Advent of Code - Day 8 - Part One def result(input): input = [(*[spl.split() for spl in ln.split("|")],) for ln in input] count = 0 for entry in input: for output in entry[1]: loutput = len(output) if loutput == 2 or loutput == 4 or loutput == 3 or loutput == 7: ...
[ "melsom.henrik@gmail.com" ]
melsom.henrik@gmail.com
81e799321bbe281000076b4713feae9f8f8cea2c
a751df876004c6ea0b1d35222f25128ee55dba6e
/commands/circle.py
d1afc737cf44691e3428d26bdcfdc50f32057bd2
[]
no_license
brennand97/DependencyManager
78ad0bcb222f3566bcc4ba49462872753e179879
95fdacc60beac8ebe8d867deb0c9010976cd87cf
refs/heads/master
2020-12-02T16:42:23.967021
2017-08-23T19:57:44
2017-08-23T19:57:44
96,572,472
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
__help__ = " Name: Circluar\n" \ " Syntax: circle [-df | --delete-forward] [-db | --delete-backward]\n" \ " Description: Displays/Deletes existing circler references" __arg_list__ = { "-df" : 0, "--delete-forward" : 0, "-db" : 0, "--d...
[ "brennand97@gmail.com" ]
brennand97@gmail.com
19306f52a11478a632131ee63f1ab9e692f9c075
544c4d9822ca42764a60d55b804e8eaabc345cab
/account/roleop.py
677d752b3e92cca441daf074bcf692079a62b00b
[]
no_license
lxguidu/parkhero
24a3cf28ed3f9ed594137080c36bc317453f66ba
b5f5e2d13ac46812666c0e9d20bfd35b335a4994
refs/heads/master
2021-01-12T14:49:29.404775
2016-10-27T10:57:45
2016-10-27T10:57:45
72,099,407
0
0
null
null
null
null
UTF-8
Python
false
false
8,623
py
#-*- coding: utf-8 -*- import logging from django.contrib.auth import authenticate, login from django.contrib.auth.models import User, Group, Permission from rest_framework.authentication import ( SessionAuthentication, BasicAuthentication, get_authorization_header ) from rest_framework.decorators import ( ...
[ "root@work.linxg.com" ]
root@work.linxg.com
e0496f50c98467811842743bdcac4c7f1dc14c9e
c424ffe3c31422e72810b4865f482d505d145e87
/fliermailses/models.py
7eaea73f99fb1b029fe3303c6f16d0ab41e0e949
[ "BSD-2-Clause" ]
permissive
hdknr/fliermail-ses
d49724b7f1eb648a806e4301738db96a50e098ca
91366535b1a0890b4766c09d70aee1ec5387f7f0
refs/heads/master
2020-06-19T04:57:02.261919
2018-03-15T05:18:16
2018-03-15T05:18:16
94,177,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from . import defs, methods, querysets class Service(defs.Service, methods.Service): class Meta: verbose_name = _('SES Service') verbose_name_plural = _('SES Service') def __str__(self): return self....
[ "gmail@hdknr.com" ]
gmail@hdknr.com
7749a20ff656dbbda22f40e4a465a5a5fa242f1f
d3e5c67e0fe89d25175f82c9eb2402f606411d25
/mariadb_connection.py
4998a2d489ec0e5354d196320a85a8b32390a492
[]
no_license
hcorrea4/pythoncodes
eff42b82f38ad8e99cd8daa26c594cfeb22796d0
3f9b114f15a1f452858d8450e176621a6834c8ef
refs/heads/main
2023-04-01T05:17:18.180147
2021-04-06T00:32:51
2021-04-06T00:32:51
352,216,731
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
#importar modulos sql import mariadb import sys #Conectar hacia MariaDB try: conexion = mariadb.connect( user = "hefesto", password = "hefesto", host = "192.168.1.69", port = 3306, database = "decode_encode_db" ) except mariadb.Error as error: print(f"Error de Conexi...
[ "noreply@github.com" ]
noreply@github.com
e872d8089a62b5d92696f6668390f4ab68945df9
6547d657706c041f2a87b0680936dd3d473ad328
/httprunner/cli.py
f60004271687446d2bcfb3af3c86d5de03b91a41
[ "Apache-2.0" ]
permissive
lixiaofeng1993/httprunner
62c01f6b5adb8e3eded564947ac196938e3c88fb
15c5d89605dc2d54fc624c3468be85eebcc8446e
refs/heads/master
2020-07-26T09:18:35.310008
2019-10-21T16:03:50
2019-10-21T16:03:50
208,601,514
1
0
Apache-2.0
2019-09-15T13:54:13
2019-09-15T13:54:13
null
UTF-8
Python
false
false
6,813
py
# encoding: utf-8 def main_hrun(): """ API test: parse command line options and run commands. """ import sys import argparse from httprunner.logger import color_print from httprunner import __description__, __version__ from httprunner.api import HttpRunner from httprunner.compat import ...
[ "mail@debugtalk.com" ]
mail@debugtalk.com
f8889bbc3c0079be40ed9a3f6a488ec763b9bdc7
82c73b70c2002f647bdc254125f0bdb18f0b79d2
/hav-gclient-3.2_newton/LoginFrame.py
4c2962aa59dbe33fe4c098fceb1ef2d4cb084ea8
[ "Apache-2.0" ]
permissive
xuweiliang/Codelibrary
cfb5755ced54c65cacdb3e35ab2b98385f8d5f8e
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
refs/heads/master
2021-05-04T00:31:42.025238
2018-03-20T07:05:20
2018-03-20T07:05:20
71,852,078
0
0
null
null
null
null
UTF-8
Python
false
false
11,772
py
#!/usr/bin/env python # coding=utf8 ''' Created on Jun 6, 2012 @author: gf ''' import wx import os import threading from time import sleep import Setting import SettingDialog import Resource import Session import MainFrame import Logger import ProgressDialog import ShutdownDialog import Util from Setting import Firs...
[ "xu.weiliang@junesh.com" ]
xu.weiliang@junesh.com
1de851ae7e9d05355b3575b0e672336f59399b10
760fbcc2258ca5318410b0e18324bd1fa6d7068d
/deep/din_estimator/train.py
e6a17dd2d967816818660321f9432e0e52154588
[]
no_license
liukanglucky/deep_ctr_practice
cbf954f77d91f0959671d781fe508bf259fedb92
e305cf97e002c46c5e17903f50798fb7a8d6496a
refs/heads/master
2020-09-11T21:40:14.627823
2020-03-27T09:46:23
2020-03-27T09:46:23
222,198,614
2
2
null
null
null
null
UTF-8
Python
false
false
3,465
py
#!/usr/bin/env python # encoding: utf-8 """ @author: liukang @file: train.py @time: 2019/12/10 上午10:53 @desc: """ import os import sys import random sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + '/') import tensorflow as tf gpus = tf.config.experimental.list_physical...
[ "luckyliukang@didiglobal.com" ]
luckyliukang@didiglobal.com
a1eb0a446c826ab2870899d66a5832e63332eec9
50d1a8c332df2f40c37c2d0d778a783fdedbc01a
/arena_navigation/arena_local_planner/model_based/sensor_simulator/scripts/scenario_police.py
acc5d2ea7e1401ebb982d73a0c7ec18c0caff851
[]
no_license
ignc-research/arena-fsm-ego-planner
b801433bb9f4223346ef63e0fc76859dc78fdf81
c6ee3616b814d213c1359a41c56afe6cf7aa49d2
refs/heads/main
2023-08-25T03:42:22.519463
2021-10-12T07:33:57
2021-10-12T07:33:57
406,738,681
34
3
null
null
null
null
UTF-8
Python
false
false
4,909
py
#!/usr/bin/env python import numpy as np import math import rospy from sensor_msgs.msg import LaserScan from std_msgs.msg import Int16 from visualization_msgs.msg import Marker from nav_msgs.msg import Path, Odometry from ford_msgs.msg import Clusters from geometry_msgs.msg import PoseStamped # class police(): def...
[ "duc.pichel@gmail.com" ]
duc.pichel@gmail.com
29af7ecd0175995ce0c75d9ff4594e44b5ba71ad
c0b3fe8f61d968be0018fe011775c1863a91c91b
/5/5_1d.py
e7c2a302bc11d6bfe5b1aa2417277efd1a8b4149
[]
no_license
Alval2001/Valiavskiy_191_352_web
c697c04b187bcd7201e0aad1861504fd6426adc9
e78a019aca10a2773140f8d035f7782b339d523c
refs/heads/master
2023-04-23T00:25:24.846703
2021-05-11T20:40:58
2021-05-11T20:40:58
353,090,169
0
0
null
null
null
null
UTF-8
Python
false
false
1,588
py
""" Задание 5.1d Переделать скрипт из задания 5.1c таким образом, чтобы, при запросе параметра, пользователь мог вводить название параметра в любом регистре. Пример выполнения скрипта: $ python task_5_1d.py Введите имя устройства: r1 Введите имя параметра (ios, model, vendor, location, ip): IOS 15.4 Ограничение: нельзя...
[ "75988110+Alval2001@users.noreply.github.com" ]
75988110+Alval2001@users.noreply.github.com
b2f932585355ebed8f89d4fa71b69a7c268a89a8
2bb40bd455bbfb1d7b128b6962828db66b696862
/main.py
84d9337a47582326d7b5e3f790234993c6fa023a
[ "MIT" ]
permissive
kimmypracha/CCG-Fighting-Simulator
9805661bdea58bb13ca94ee63c0ac9508a31aafc
6bfd06810afed221bcc9d0dca57dedcf63e74cf7
refs/heads/main
2023-05-28T01:57:10.384613
2021-06-17T20:42:43
2021-06-17T20:42:43
377,942,479
2
0
MIT
2021-06-17T20:42:44
2021-06-17T19:37:13
Python
UTF-8
Python
false
false
1,145
py
import random from Player import Player from Game import CodeConquerorGame as ccg from config import game_conf userList = [Player(name = "A" + str(i), display_mode = game_conf.display_mode) for i in range(100)] game = ccg(userList) silent_table = [] # simulation for i in range(100...
[ "pracha.promtaow@gmail.com" ]
pracha.promtaow@gmail.com
373a89176f87953ea1fc5560dbe263b64ad63fd3
0d0a895744f4d2681f93a99dd3d607e92d4707f1
/stacks/stack.py
8705decf7a21c0b97730c94c90d4a3aa356c6e38
[]
no_license
JinaZhu/Code-Challenges
41cb88915fe297ac3aaa47600f15a83746e6777e
f3c73e6afef7fc0785822ddaed27ed79581c85fb
refs/heads/master
2021-03-16T13:53:37.998939
2021-03-05T01:12:08
2021-03-05T01:12:08
246,913,504
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
# We are given an array asteroids of integers representing asteroids in a row. # For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. # Find out the state of the asteroids after all collis...
[ "jinazhu87@gmail.com" ]
jinazhu87@gmail.com
a598ad149855a6d0542afc2bad8bc7c4733e4330
3554e9e4ac99a24e01d99bc0a86a9b6b0023f9bd
/cycleGAN/attention/atten_Unet_5.py
087178b65f2ac1b79f5e94daadf0b0a3757a5be8
[]
no_license
stevebong31/endoscopy_stomach_recon
c6d7dbd8ee9cdab8b8b7640ba1b41559222d9bd8
da596e82c120e159cfb363ed59e975e14fe57f21
refs/heads/master
2023-06-17T14:35:54.003221
2021-07-13T05:58:53
2021-07-13T05:58:53
380,897,726
0
0
null
null
null
null
UTF-8
Python
false
false
4,272
py
# To add a new cell, type '# %%' # To add a new markdown cell, type '# %% [markdown]' # %% from tensorflow.keras.layers import Conv2D, MaxPooling2D, UpSampling2D, BatchNormalization, Reshape, LeakyReLU, Activation, Input, add, multiply from tensorflow.keras.layers import concatenate, Dropout from tensorflow.keras.model...
[ "qhdgur3410@gmail.com" ]
qhdgur3410@gmail.com
ee864bf4f45435d16fd37093d8533828dfc9fe61
ad469d0ca144c485fc0cdcfb2ebfdd0bddf86271
/src/models/base.py
54694b4039a9f44b73fa58b3fa5fc83c93fa823d
[]
no_license
ngxbac/Kaggle-Google-Landmark-2019
3e8a29e83e835b29262df439b9af12ca27cee768
274864e2778acde9007c096607c113c268882343
refs/heads/master
2020-05-31T04:37:32.003023
2019-06-04T00:41:51
2019-06-04T00:41:51
190,102,248
3
0
null
null
null
null
UTF-8
Python
false
false
2,154
py
import torch import torch.nn as nn import torchvision.models as models class Net(nn.Module): def __init__(self, num_classes=100, norm=True, scale=True): super(Net,self).__init__() self.extractor = Extractor() self.embedding = Embedding() self.classifier = Classifier(num_classes) ...
[ "ngxbac.dt@gmail.com" ]
ngxbac.dt@gmail.com
36062c442c4ba39c3735cc883790c87297d14df7
4e71725de98b539bdf13ce61ce976be490595d86
/Project 3 - Barcode Generator/Project 3.py
aba0a1420927c1633442ae31adddd3e903930cad
[]
no_license
ivanaairenee/Foundations-of-Programming-1
d9ae9abc7538413db506991ab82baceff4ace03b
dbde3a403d751497aed687b4b33e5c7b9ba6f3f5
refs/heads/master
2021-01-19T03:34:35.177333
2017-04-08T02:09:47
2017-04-08T02:09:47
87,323,360
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
from tkinter import * #import all tkinter modules invalid_chars = "/?<>\:*|\"" #define invalid chars for further use in file name's character exception #make a dictionary for the pattern of barcode, and the decoding of every digit LcodeDict = {"0":"0001101", "1":"0011001", "2":"0010011", "3":"0111101", "4":"0100...
[ "zirenely@gmail.com" ]
zirenely@gmail.com
df2ffa0accf83f4363cc11f2b219eb6f5a74b0c3
dd834845a2ab346dafd04f3beb4ba0916b64dc51
/test_case/task/test_200smart_sanity_clear_001.py
fc61417bcb137b08429c8f21631cfea146deaf4b
[]
no_license
Lewescaiyong/auto_test_framework
ae51726b705fbf125c30fce447c7c75510597047
2d3490393737b3e5f086cb6623369b988ffce67f
refs/heads/master
2020-11-25T09:18:29.209261
2020-02-10T13:48:12
2020-02-10T13:48:12
228,590,729
1
0
null
null
null
null
UTF-8
Python
false
false
2,443
py
#!/usr/bin/env python from lib.exceptions.check_exception import CheckException from lib.base.script.integration_test.case_mw import CaseMW class Test200SmartSanityClear001(CaseMW): """Clear OB No.: test_200smart_sanity_clear_001 Preconditions: 1. Open Micro/WINr; 2. Set up connection w...
[ "1351153527@qq.com" ]
1351153527@qq.com
0fff791c138c950914f0c75883bdd5e4cf0a35ee
83b60dc1342577d84005864429306abd34f6546a
/course1/week3/week3.py
b5574893cd3c89c253b07441b9f6cc13a9de943c
[]
no_license
xuxinhang/Bobs_deeplearning.ai_course_practice
733ac723ef750c92154230601a8830e01ee16b3e
3b17e9ceb52beb8a47e4f50fee39f01af24ecbc0
refs/heads/master
2020-03-07T18:22:02.585659
2019-10-01T10:08:48
2019-10-01T10:08:48
127,636,132
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
import numpy as np from testCases import * from planar_utils import plot_decision_boundary, sigmoid, load_planar_dataset, load_extra_datasets def sigma(x): return 1/(1+np.exp(-x)) def tanh_d(x): return 1-(np.tanh(x))**2 # 导入数据:花瓣数据/其他数据 planar = load_planar_dataset() noisy_circles, noisy_moons, blobs, gaussian_quan...
[ "xuxinhang4567@126.com" ]
xuxinhang4567@126.com
e8b4ca2669f82d1b25da94d71c3df86149eb927e
16232db3867ef7c87e3dad0ba9b328de3eee96d2
/Linux/pyxhook.py
ff947ba71efbb092226e51579773619ab5ed3cfc
[]
no_license
ganeshkumartk/keylogger
f0f0af3033988159757709385a827a7797e5298e
8c775408b8ffe71ffbcfc4b6855e8145f399087b
refs/heads/master
2022-05-05T03:24:46.993957
2019-06-18T17:47:29
2019-06-18T17:47:29
191,026,654
1
0
null
null
null
null
UTF-8
Python
false
false
16,309
py
#!/usr/bin/env python # modified version of pyxhook.py # Reformatted/modified to work with Python 3+. # pyxhook -- an extension to emulate some of the PyHook library on linux. # # Copyright (C) 2008 Tim Alexander <dragonfyre13@gmail.com> # # View the repo: https://github.com/JeffHoogland/pyxhook # # This progr...
[ "noreply@github.com" ]
noreply@github.com
96ed1d46dc681ab9450c3dc3b2f8bba55c34bf12
2c53e69fedd597914c745102e4e71f1a4657ac51
/flask/image_classification/web/app.py
fc4f24ce6eaf303310abfe9a4b5715e8d72709f8
[]
no_license
arjunrm/python
1fa0d736c2341c82f25bbe56efde3ce6669d664c
0b67822fa01fd2ef943e8fda26f27fef7857aa57
refs/heads/master
2020-04-05T15:35:45.248447
2019-01-08T17:23:38
2019-01-08T17:23:38
156,975,420
0
0
null
null
null
null
UTF-8
Python
false
false
5,953
py
""" Resources Address Protocol Params Return codes Register /register POST username, pwd 200 OK, 301 Invalid username Classify /classify POST username, pwd, url/*.jpeg 200 OK, 301 Invalid username, 302 Invalid p...
[ "arjun.r.m@gmail.com" ]
arjun.r.m@gmail.com
244a28682c43ecd69013198d26c87517bb559d89
ed7412b75887753c4b4a37b134e7b869d183514b
/taxProject/tax/resources.py
606a5304df01ff9689e8866be5e2871f72f2e743
[]
no_license
alison990222/pwc-tax-project
4ad73dbcc3f2330bf6d4919ee515887b97fa3b2b
c065ad4d1468262ffbdbd2e959cbcf1231dc2a69
refs/heads/master
2023-02-24T23:36:07.836691
2021-01-17T15:34:58
2021-01-17T15:34:58
278,887,740
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from import_export import resources from .models import TaxDatabase,itemDatabase class taxResource(resources.ModelResource): class Meta: model = TaxDatabase class itemResource(resources.ModelResource): class Meta: model = itemDatabase
[ "zhangxt0222@163.com" ]
zhangxt0222@163.com
27226416850f2fe28cb2a86260e79f51dcd60fbb
8e71da707818ae4845a612caa488abba7cd62c60
/index.spec
ce553e2e559b9268534351242d4181f0c8a95d0c
[]
no_license
etheral12138/Auto-Vscode-Cpp
8e94a38773c5beb2934b1bfddc3ec1bd51163d74
7ac6dbef330955ffa4efaf38db76f4237118fce6
refs/heads/main
2023-07-16T00:21:34.015366
2021-08-25T15:08:17
2021-08-25T15:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
884
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['app.pytic\\index.h'], pathex=['D:\\Project\\auto-vscode-cpp'], binaries=[], datas=[('static', 'static')], hiddenimports=[], hookspath=[], runtime_hooks=[], ...
[ "318483724@qq.com" ]
318483724@qq.com
8dff938bdff7afd9c4ad0cc6ec46696b77ba446a
ea24a5114db3d40dfc290bcfbc30e5a9f24541c1
/project/site02/forms.py
77636ae21c580f9ef5d619889bd8b02180a6c1fa
[]
no_license
pawan-quovantis/Goals
1c070015f871c1190c6b25b119e25e00c81c2abe
317012c10e6eca875837f84bc574dded780c5433
refs/heads/master
2021-01-20T19:13:10.982332
2016-10-01T19:28:22
2016-10-01T19:28:22
65,194,826
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from django import forms PHONE_FIELD_REGEX = r'^\+?1?[\d\- ]{8,23}$' class SignupForm(forms.Form): name = forms.CharField(label="Name") email = forms.EmailField(label = "E-Mail") phone = forms.RegexField(regex=PHONE_FIELD_REGEX, label="Phone Number") dob = forms.DateField(label = "Date Of Birth") ...
[ "pawan.uppal@quovantis.com" ]
pawan.uppal@quovantis.com
44b75915d885184414c8aaa8c6bc76eebca0c7ea
09c62e251c7ca035ce7bc61e0630271552082b32
/torch_connectomics/utils/vis/visualize.py
f844c87f73c95730f4c26adabc95d33ac0afb40b
[ "MIT" ]
permissive
HoraceKem/pytorch_connectomics
5a9994b40e49040826a4427a39af209cb6fcd696
2cd4e17b6fa83005a13c1347a01b8b6964e746c3
refs/heads/master
2020-06-12T09:40:38.341103
2019-06-14T01:29:08
2019-06-14T01:29:08
194,261,646
1
0
MIT
2019-06-28T11:21:51
2019-06-28T11:21:51
null
UTF-8
Python
false
false
2,180
py
import torch import torchvision.utils as vutils N = 8 # default maximum number of sections to show def prepare_data(volume, label, output): if len(volume.size()) == 4: # 2D Inputs if volume.size()[0] > N: return volume[:N], label[:N], output[:N] else: return volume, label...
[ "linzudi@g.harvard.edu" ]
linzudi@g.harvard.edu
aee42854a395b4d61d8ce51c1e221373732792c1
ab102e0a4849708cf7635cdf241755b933cb6f11
/test_1/test/2.py
5077d38571fbd82f8be1613075a5315fe1c6b81a
[]
no_license
onioned/python_program
1e6a21992fbe549b0ce4f88694398d721fb23f13
c8b7859d1a909fd9b26947ed8f09d10a265eb351
refs/heads/master
2022-11-15T18:01:41.347279
2018-02-07T16:07:25
2018-02-07T16:07:25
116,539,362
0
1
null
2022-10-23T02:21:46
2018-01-07T05:11:02
Python
UTF-8
Python
false
false
86
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- a='222222' print('这是模块test.2');
[ "870666103@qq.com" ]
870666103@qq.com
1106bfe166779ee20fd33f2cb5b54e81739b2933
3ef333f6fd14aa7081883fa02459eb0e98b47274
/cmssw_changed_files/DoublePhoton_closeECAL.py
4268a98209ea1ef7c38ee6b9754e7b22c66ede86
[]
no_license
pfclustering/ECALGen
91c2121dd216691f5a059f346582fe494d3d8aba
650f1d90a8c7631faab41e1ea0e05ef191e3ef40
refs/heads/master
2020-03-22T11:47:32.967328
2019-07-19T09:15:08
2019-07-19T09:15:08
139,996,395
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
##### TO DO: check the parameters import FWCore.ParameterSet.Config as cms process.generator = cms.EDProducer("CloseByParticleGunProducer", PGunParameters = cms.PSet(PartID = cms.vint32(22, 22), NParticles = cms.int32(2), ...
[ "maria.giulia.ratti@cern.ch" ]
maria.giulia.ratti@cern.ch
0614aa941c80c6a29b4d064d90bb192943fb19fa
2d95bc422b3cbd01a5fafbb017996e9588d50fc3
/utils/hash_utils.py
2726a261f54e5168ca20671c1c968a27ecebdb1c
[]
no_license
nroshni/block-chain
91f86d40bbfae011cba1995e9a4a9aa44bae01c5
0a435c6df3c094c8986e9046967c5c2dede83688
refs/heads/master
2021-04-24T07:20:47.081022
2020-04-09T22:01:51
2020-04-09T22:01:51
250,090,637
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import json import logging import hashlib logger = logging.getLogger(__name__) def hash_string_sha256(sstring): return hashlib.sha256(sstring).hexdigest() def hash_block(block): """ Returns the hash of the block """ logger.info("Computing hash of the block") hashable_block = block.__dict__.copy() ...
[ "roshni.navinchandra@gmail.com" ]
roshni.navinchandra@gmail.com
a89d9222bee0ded8bd36c1c69d2dacb9bfb28e01
7a6a2076cffbbd47316818b37ddf22a932002065
/python/702 - Search in a Sorted Array of Unknown Size/main.py
f23ffb8bc239c9335e262a01b41c66efce7866a5
[]
no_license
or0986113303/LeetCodeLearn
6bd0aa16c8c80581e1c85032aca0f7a055f5e234
96fdc45d15b4150cefe12361b236de6aae3bdc6a
refs/heads/develop
2023-06-14T01:30:41.103572
2021-07-01T08:59:08
2021-07-01T08:59:08
291,066,699
0
0
null
2020-08-31T02:44:26
2020-08-28T14:25:53
Python
UTF-8
Python
false
false
1,577
py
# """ # This is ArrayReader's API interface. # You should not implement it, or speculate about its implementation # """ #class ArrayReader(object): # def get(self, index): # """ # :type index: int # :rtype int # """ class Solution(object): def fibosearch(self, source, target): ...
[ "or0986113303@gmail.com" ]
or0986113303@gmail.com
d47c6227ad427320d5ded50f108c7fa022711e39
4e6e4e91dd104d7505dbbf50b5171f19a72c3b3d
/pix2pix.py
8add4839b20b78d7f82f3bfa3c29014c2bc9074f
[]
no_license
nnUyi/pix2pix
ad0e5d0ee1e2868c420f3ab3459b584d4415152c
9c51c4a7f6e09c10906692e155d09f4265ffef7b
refs/heads/master
2021-05-06T16:30:26.287155
2017-12-10T14:59:23
2017-12-10T14:59:23
113,755,616
6
0
null
null
null
null
UTF-8
Python
false
false
14,942
py
import tensorflow as tf import tensorflow.contrib.slim as slim import numpy as np import os import time from ops import * from glob import glob from utils import * class pix2pix(): model_name = 'pix2pix' def __init__(self, config, batch_size=1, input_height=256, input_width=256, input_channels=3, df_dim=6...
[ "noreply@github.com" ]
noreply@github.com
c0b10673a6a1226da1e5ccff546ad69cad5d823f
62bd80c2a30d90dc491d90872de5addab8773ef8
/insitu/analysis/generate_dax.py
77db7d4c9535f8bb9585e9f2f0e3c89c371020ba
[]
no_license
tumaianhdo/LLNL-HPC-BigData
ad81fdab14747a66e3272096995122f22045f806
5c2f7096b9c5179c2aed52176d81e26fe14c5cbb
refs/heads/master
2020-03-25T05:28:24.570543
2019-07-11T22:51:51
2019-07-11T22:51:51
143,448,526
1
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
#!/usr/bin/env python import sys import os import json # Import the Python DAX library from Pegasus.DAX3 import * # The name of the DAX file is the first argument if len(sys.argv) != 4: sys.stderr.write("Usage: %s DAXFILE SPARK_CYCLE_NUMBER CONFIG_FILE\n" % (sys.argv[0])) sys.exit(1) # Get input arguments d...
[ "do7@catalyst159.llnl.gov" ]
do7@catalyst159.llnl.gov
015a8e9ef9d42e0845eedd82384f1664674a5957
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/tensorflow_probability/python/mcmc/legacy_random_walk_metropolis_test.py
cc0e6d73a93c859b63903599869a1b5536077d7b
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
6,468
py
# Copyright 2018 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
f812c4bd4a39c7b4c82a80a8072a3e21f1466daa
9c9c79b2fcb993b96ba81a4c889515f474662ceb
/src/lang_models/cat_squad_files.py
a6db763ba397f6ea902879bfca7bf9762c1ed5db
[]
no_license
hhhhzy/AmazonQ-A
6121aaf2391681ff2ef53dd4d6dfdc3b753b666d
25c65bd8dc3675ca2fbf1e4eaf56ccd2cd34fdf3
refs/heads/main
2023-07-24T04:30:27.258291
2021-09-07T16:01:33
2021-09-07T16:01:33
404,034,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import convert_squad import config import constants as C import json TEMPFILEPATH = './temp' def cat_files(category, mode, max_review_len, max_num_spans, max_num_products, seed, num_processes): paragraphs = [] for process_idx in range(num_processes): filename = convert_squad.process_filepath(category...
[ "zheyuanh@uci.edu" ]
zheyuanh@uci.edu
6c3ac720caf953775a53c2ce3a8b01e4afa2085d
c35d5157450c62f713e0521eb114c7d9c02463f9
/r_debit/r_debit/asgi.py
394bb7f9633ca56f2674d06cdbcad120815db361
[ "MIT" ]
permissive
AshishMadhu/r-credit
e6acda68f7d210a9f6ce16a58f1360a916f5ac73
113c185bfc50192e6aade2387c6ba51ca4eeb03f
refs/heads/main
2023-09-02T13:45:15.670284
2021-11-07T04:01:00
2021-11-07T04:01:00
339,771,012
0
1
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for r_debit 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('DJANGO_SETTI...
[ "ashishmadhu26@gmail.com" ]
ashishmadhu26@gmail.com
79f998c1ae08f5eac4dccac29ea00bf209c906d0
60044c76b631e622edb28f3a74971ce06211fac5
/Python-for-Everybody/Python-Data-Structures/list.py
fa31bc357f500aa7cefac067eb8f807c1c0089d0
[]
no_license
NestorMonroy/Courses-coursera
8d45a858c79567d74f013ac27ac33d47e43abb96
98ac1aa5bb0cd9da5cea5be02995d5b65c779201
refs/heads/master
2023-08-14T13:36:07.348994
2021-09-22T06:13:57
2021-09-22T06:13:57
327,753,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
""" List are mutable String are "inmutable" - we cannont change the contents of a string- we must make a new string to make any change List are "mutable" we can change an element of a list using the index operator """ fruit = ['Banana'] fruit[0]= 'b' # error x = fruit.lower() print(x) lotto =...
[ "nestor.monroy.90@gmail.com" ]
nestor.monroy.90@gmail.com
c2425a23eaa6ba2b413691f0ece1d0c6de00d2c8
6701fa31a19cf8e30a77ae3f2076dffbf2c0f697
/cooperation_level/PGGw_epS01/sigmaRECIactGRIMw.py
938bb5a556adeac7a41bc8e208012d6c4ad7030a
[]
no_license
l5d1l5/signalling-reciprocity
e94e5408d30ad6a4ae0ceb378f96d1618920e98d
f01a24e9971f20886f081a2bff8cf8d157ce564d
refs/heads/master
2023-01-08T10:00:57.654948
2020-11-19T06:05:28
2020-11-19T06:05:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
132,241
py
# -*- coding: utf-8 -*- def declareSTR(eps): # Strategy: (sig_PGG, sig_0, A_sig0_T, A_sig0_noT, A_sig1_T, A_sig1_noT ) # if eps is scalar, it is just noise # if eps is a list/array: eps[0]:noise, eps[1]:error in perception of the state of the nature if isinstance(eps, (list, tuple, np.ndarray)): noise=eps[...
[ "psiquefnx@yahoo.es" ]
psiquefnx@yahoo.es
ae83c609dc422c29cbce9d62bb41510d5452457c
67baa6d2d6db9dc4c1208223f4cc5e72554acc49
/backend/apps/profiles/api/serializers.py
260e4c67286292ce5d351092e0a60c17a0d1452f
[]
no_license
emanulz/iFact3
7d306cb4840c89e28be9f993316f3bb2cfe3bf36
a5d3383e028295affb7a0fb2f5ced4b5c96c0e0e
refs/heads/master
2021-05-09T15:17:26.380561
2018-04-18T04:06:45
2018-04-18T04:06:45
119,082,502
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rest_framework import serializers from ..models import Profile from django.contrib.auth.models import User, Permission class ProfileSerializer(serializers.ModelSerializer): class Meta: model = Profile fields = ('id', 'user', 'a...
[ "emanuzuniga@gmail.com" ]
emanuzuniga@gmail.com
7dc9d98ac0c20aba2f104d226f51b7223a263ef2
a931da87e41aac7ceb1b388b7384a16c17b8099b
/part02-e02_file_listing/src/file_listing.py
fbaf0111d5c78bcf149f33e0be773af3a8ae5e56
[]
no_license
Dolj0/Data-Analysis-with-Python-2021
8d8b2cfe3a7faca5c86dc1e1e8f21bae6f5419dd
3a911055f59493dcd7e62013bc62e6189ef11490
refs/heads/main
2023-06-02T12:41:08.541182
2021-06-28T09:35:25
2021-06-28T09:35:25
380,969,285
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
#!/usr/bin/env python3 import re def file_listing(filename="src/listing.txt"): l =[] regExpression = r'(\d+)\s+(\w+)\s+(\d+)\s+(\d+):(\d+)\s(.+)' with open(filename, 'r') as f: for line in f: size, month, day, hour, minute, filename = re.search(regExpression,line).groups() ...
[ "74183085+Dolj0@users.noreply.github.com" ]
74183085+Dolj0@users.noreply.github.com
5237cad8961254c8b400da29a2b4de2d22e27c70
585d27de175381f291623a5a7c41a86ef54a8f75
/day_16.py
7352e4344412bb7ea64bbdda39b4dbc68d0d4a80
[]
no_license
anvt/advent-of-code-2019
6e6dd7574693ac59072aa4227cea27fa9fe5b6e4
4396034588c6a6cd5aae468640143ab143e0c61e
refs/heads/master
2021-01-04T02:09:39.161661
2019-12-26T09:49:08
2019-12-26T09:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
from itertools import cycle, accumulate def read(file): with open(file, "r") as f: return f.readline() def get_pattern(n): def inner(): for i in cycle([0, 1, 0, -1]): for _ in range(n): yield i iterator = inner() next(iterator) yield from iterator d...
[ "kerwin.connolly@thehutgroup.com" ]
kerwin.connolly@thehutgroup.com
954e1b053a8d302f64f191297523388708ecdaf0
3170fe0fe45571867c4cec61b9e1115f255c7dab
/S4/decimo_quinto_programa.py
04e5090aa8ab4f045131920f1095ed68bb207635
[]
no_license
marcelopontes1/Estudos-Python-GUPPE
de3bcb99c99fd3a10e22171857aaeaadac9f3dfe
c7c2a51bd703f436a4f210943fe041dbd50152f8
refs/heads/master
2023-08-16T14:25:00.070383
2021-10-07T08:36:10
2021-10-07T08:36:10
389,924,504
0
0
null
2021-09-10T10:33:11
2021-07-27T09:31:39
Python
UTF-8
Python
false
false
220
py
angulo_radianos = input('Digite aqui o ângulo em radianos: ') angulo_radianos_real = float(angulo_radianos) angulo_graus = (angulo_radianos_real * 180)/3.14 print(f'O valor do ângulo em graus é de {angulo_graus}')
[ "marcelopontes.tele@gmail.com" ]
marcelopontes.tele@gmail.com
d1bc37e3df64589881bf810be6fcb173012c508a
f8478f77d3bc81b8f7e7c0fa1a477f9c27005be1
/1. Algorithmic ToolBox/week2_algorithmic_warmup/5_fibonacci_number_again/fibonacci_huge.py
09d32a1825cafa5c62d4db1150e8d4c7e65b4135
[]
no_license
princeofpython/UCSD-DSA-specialization
258f2ba9ee26631d90895bd0bbc2d5e8472b21ab
ae0a4fef2fa1c1b4758973161c3b8cd34b9eb1cf
refs/heads/master
2020-06-13T05:05:19.699080
2020-04-06T16:36:10
2020-04-06T16:36:10
194,545,239
5
5
null
null
null
null
UTF-8
Python
false
false
864
py
# Uses python3 import sys def get_fibonacci_huge_naive(n, m): if n <= 1: return n previous = 0 current = 1 for _ in range(n - 1): previous, current = current, previous + current return current % m def get_fibonacci_mod_m(n,m): if n <= 1: return n previous = 0 ...
[ "47978078+princeofpython@users.noreply.github.com" ]
47978078+princeofpython@users.noreply.github.com
487a05afa21a97e164c32d773edcfbfc3a9c5770
b761a9b2e92832d18127e3e23c728afe8c9be2c4
/simple-talos/config.py
c6a92251b3d5816732bd7c9c13de82e86dcacc0c
[]
no_license
jhopkinsmoz/buildbot-configs
2b88567df7a17f117cc639d5a84ca96ca34fc2de
7755fa3b2efa2b9bd5e1055e58b51dd19d563756
refs/heads/master
2021-01-20T23:27:03.844637
2012-07-05T18:52:15
2012-07-05T18:52:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
platforms = { 'leopard-o': { 'slaves': ['leopard-o1'], 'env': 'mac-perf' }, 'leopard': { 'slaves': ['leopard1'], 'env': 'mac-perf' }, 'snowleopard': { 'slaves': ['snowleopard1'], 'env': 'mac-perf' }, 'snowleopard-r4': { 'slaves': ['snow...
[ "bhearsum@mozilla.com" ]
bhearsum@mozilla.com
f241451248b2068a4e530d4141bb6ad1821d7639
6b7c9f1909093c5be55572f1fa4bec60679c3443
/optimization_Algorithm.py
29d9af24d26a33fff9df20f0777d56a41f75b664
[ "Apache-2.0" ]
permissive
blitzpaal/Lightweight_Construction_Seminar
f54ee63c7645930cbd1a6975f277118a34ed0be9
f533623e9a3efe21f91333d1bf13f57efc3c5474
refs/heads/main
2023-03-02T17:57:04.269763
2021-02-08T16:13:56
2021-02-08T16:13:56
328,729,480
1
0
null
2021-02-08T16:13:57
2021-01-11T16:45:40
Python
UTF-8
Python
false
false
1,817
py
from scipy.optimize import NonlinearConstraint, Bounds, differential_evolution, shgo, dual_annealing, minimize import numpy as np from Shaft_dimensioning import calculate_shaft_strength, compose_stack from CLT_calculation import calc_Q_0, CLT_ABD # Material data t_ply = 0.125 # ply thickness in mm E_11 = 126000 # Lo...
[ "39123245+blitzpaal@users.noreply.github.com" ]
39123245+blitzpaal@users.noreply.github.com
81bf3c105d1a1393058d90b3633bcebdd5ae4fbf
9b1446b26e81a79c303f9799fb6a91785c7adb03
/.history/Code/histogram_20200120113537.py
4f52929b9fac6bf129f57f7e695e94974d77475a
[]
no_license
SamirIngley/CS1.2-Tweet-Gen
017ea15b1113881a156ff24682828bc654eb6c81
bcd95fa63e05849cbf8e36230d8e31032b99daaa
refs/heads/master
2020-12-14T20:19:57.733290
2020-08-04T23:19:23
2020-08-04T23:19:23
234,856,234
0
0
null
2020-06-05T21:13:04
2020-01-19T07:05:55
Python
UTF-8
Python
false
false
696
py
def list_histo(source): ''' Takes text. Stores each item in text compares each item to the rest of the words in text and keeps a running total. Used list account for no repeats. ''' histo = [] used = [] text = source.split() print(text) for word in text: counter = 0 ...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
53ea762cb4cce7b48be34a7a9898a99384f751ed
236c603ca9fb2eb008eb92c1cd37fc796d1fa50b
/ap/houses/admin.py
86a752b9fea0fceb9e8350e7a5932f6313154adc
[]
no_license
lifedispenser/djattendance
7c3366c9cd34b44c86931f584668fca591fad79e
e765d0f31c8cde8a4795d8037684dd8faa7d5145
refs/heads/master
2020-04-06T07:11:03.816217
2014-07-07T21:43:17
2014-07-07T21:43:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
from django import forms from django.contrib import admin from houses.models import House, Room, Bunk from aputils.models import Address class HouseAdminForm(forms.ModelForm): address = forms.ModelChoiceField(queryset=Address.objects.order_by('address1')) class Meta: model = House class HouseAdmin(...
[ "fermat200pg@gmail.com" ]
fermat200pg@gmail.com
4d9b2f72046bbd70aa3f3e6a4be43d3cb9c3e5cb
cdb9b079d0d21ed70e8a2d49d5f98be5c40aaca0
/Signature_Creator.py
dbe4ca0415dabcc66d34d06b3e8239b6e12f5aa6
[]
no_license
devu-62442/AASC-Android-Application-Signature-Creation-Through-Graphs
8df5e3bfcbbe16a7248f361c56402446bf99756d
5a29b0da7e5070ca5934fd91b0106641f33f00dd
refs/heads/master
2022-05-13T18:06:41.521095
2022-03-07T12:22:09
2022-03-07T12:22:09
216,142,171
2
0
null
2022-03-07T12:24:05
2019-10-19T03:15:50
Python
UTF-8
Python
false
false
3,931
py
#Android Application Graph Signature # © Created By - Devyani Vij #Header Files import optparse import networkx as nx import re import matplotlib.pyplot as plt import pylab import warnings import os import glob import fnmatch import pyfiglet import warnings warnings.filterwarnings("ignore") #Android Application Grap...
[ "noreply@github.com" ]
noreply@github.com
3b97d98cc204f758f37eb76c8521f749d6b32beb
c5ab3e122bc014427ddf7198ee6648b5660a26d5
/install/lib/python2.7/dist-packages/opencv_apps/cfg/SmoothingConfig.py
f8d04bf5fdcd665792d194783be4c97d97042580
[]
no_license
edwardwterry/lfm_project
3c631747135d3a347bbe4b08e2e5f96df93e4e2a
2b208cda6de47e66b0c42e627d40a0bb08a84dda
refs/heads/master
2020-04-06T07:57:54.977826
2018-11-24T00:49:22
2018-11-24T00:49:22
157,290,676
0
0
null
null
null
null
UTF-8
Python
false
false
3,471
py
## ********************************************************* ## ## File autogenerated for the opencv_apps package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') co...
[ "edward.william.terry@gmail.com" ]
edward.william.terry@gmail.com
ccaea6d0f8d0575b21950f01102024d99e163720
aec4ec0d25dc087087ee468cc066a46cc027314c
/[Black Watch 入群题]PWN.py
8a5b8d006cab8186106bb9c88597cef0abea55c0
[]
no_license
ShawRo0t/buuctf_pwn
0305cad3d43998b695b19401cc9aaa5520c14f6b
6019a384d8e8dda6080c7cff7101883a29ace012
refs/heads/main
2023-08-10T22:01:48.417090
2021-09-18T07:53:39
2021-09-18T07:53:39
405,001,504
1
0
null
null
null
null
UTF-8
Python
false
false
909
py
from pwn import * elf = ELF('./spwn') local = 0 if local == 1: io = process('./spwn') #gdb.attach(io,'b * 0x08048511') libc = ELF('/lib/i386-linux-gnu/libc.so.6') else: io = remote('node4.buuoj.cn',26203) bss = 0x804a300 leave_addr = 0x08048511 write_plt = elf.plt['write'] write_got = elf.got['write'...
[ "noreply@github.com" ]
noreply@github.com
2b8777bfaeb28b13636578e33ff279714e3a5800
32542f04e8f20d1dde7577b57fe5967ea5850a0c
/app/src/handlers/Managment.py
4382d6a50af523125b1ca2de6c4fe66bb1f3ad77
[]
no_license
miner34006/recruiter_bot
15a3422f1a95825ac96f76fd04a1f58df1cd449e
aa7f2c08a8378f58d656e771393a7a8cc15590c8
refs/heads/master
2022-02-25T22:43:30.349239
2019-10-05T05:52:09
2019-10-05T05:52:09
207,090,965
1
0
null
null
null
null
UTF-8
Python
false
false
24,013
py
# -*- coding: utf-8 -*- from functools import partial from datetime import datetime, timedelta import logging from telegram import ReplyKeyboardMarkup, ReplyKeyboardRemove from telegram.ext import CommandHandler, CallbackQueryHandler, \ ConversationHandler, MessageHandler, Filters from app i...
[ "miner34006@gmail.com" ]
miner34006@gmail.com
ab449a29ef494fce19d11effb4c553b6278f4b3c
c72a5db9d6059b62ca258655f719ff5f1e14e58a
/mustache/stack.py
3b5da799ca4fa4d73ad4223e5168959b95a97134
[ "MIT" ]
permissive
ymloac/python-mustache
0671d476dd868f397eb39f5fa8f8853e1a1367bc
ea3753696ea9886b6eb39cc5de27db7054adc069
refs/heads/master
2020-06-18T05:52:43.942232
2015-06-03T15:05:11
2015-06-03T15:05:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
# coding: utf-8 from copy import copy class Nothing(object): """ A sentinal object for when things don't exist. """ pass class Stack(list): """ A simple wrapper for lists, providing nicer semantics for accessing the last element and alternate syntax for appending items. """ def __init__(self, obj=...
[ "peterldowns@gmail.com" ]
peterldowns@gmail.com
681efd02151a09f2dd8421793f8f2066192e2527
beb37be1e0712a5401fcaca4749a85b7870ea2d0
/parablew.pyw
cc82baa449833304a6d664af1f05498ca0636e9f
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
designscience/parable_trinity
d3e27b668a8c68de123986c68617eb6d72bbf6ec
75f5339aab47d72e0cefb73cb710c4b59dc110af
refs/heads/master
2021-01-01T06:56:30.820919
2018-06-21T23:53:32
2018-06-21T23:53:32
97,554,349
0
0
null
null
null
null
UTF-8
Python
false
false
38,469
pyw
#!/usr/bin/python from PythonCard import model, timer, dialog import parclasses import parthreads import sequenceimport import random import time import threading import Queue import wx from os import path import winsound import pygame import vlc # import logging # save to a log """ __version__ = "$Revision: 1.3 $" ...
[ "studa@design-sci.com" ]
studa@design-sci.com
a4627d0ae60aa09a0862fc95b1b1f89531f6b959
65ad9ec657c86528e0c8b2910fd2924eb02ba51e
/tests.py
8e9c6121ecc43784938a0f2710f1eb3862e35325
[ "MIT" ]
permissive
duchri66/openshift-sandbox
c81a8bc41b103634601d6a4bf9cfc4c14a4e9a04
a70d90870f325e1ec10fe94db6e75fa018b2b155
refs/heads/master
2020-11-25T03:11:05.106281
2018-07-25T08:24:08
2018-07-25T08:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# An example test script. # Run this with # pytest tests.py from wsgi import hello def test_default_route_method_says_hello(): assert hello() == "Hello World!"
[ "noreply@github.com" ]
noreply@github.com
ded3dd38c264f610a411c333630b35c531493ddd
0fc48ca162a66163e26e0d0c7949fc07323d41a6
/checkbox451_bot/handlers/auth.py
a1ec3c2a133ad28a20bec98b4c66fc5a4849f50c
[ "MIT" ]
permissive
wingsergey/checkbox451_bot
0a471ec75fc13c120016d3e9c31d3ea512406e80
bba01df0243947f29623601308fc778b47881a21
refs/heads/master
2023-04-03T07:05:16.541605
2021-03-28T17:02:26
2021-03-28T17:02:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
from aiogram.types import Message from checkbox451_bot import auth, bot, kbd from checkbox451_bot.handlers import helpers def init(dispatcher): @dispatcher.message_handler(content_types=["contact"]) @helpers.error_handler async def contact(message: Message): if message.contact is not None: ...
[ "mm@m10e.net" ]
mm@m10e.net
226191874c0df731d564c4a262b4ade01dcfb8b8
4d44d6b3918f8a731566551a9524294f02aeb1de
/Projects/solution/code/rv2coe.py
e5907dba3ef3f4a7185e4dcf9b19ab9e93c12a1f
[]
no_license
skulumani/MAE3145
6347a196f3db23c7d5a7d4e2ec02d7ec8f6c6b3c
a0f4eaf51e8ececbd0500279df31f5952651eecc
refs/heads/master
2021-10-11T00:27:31.535750
2019-01-19T19:50:32
2019-01-19T19:50:32
93,906,485
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
"""This script will input RV1.txt and print to another text file the output that the students should generate """ from astro import kepler, constants, tle, time import numpy as np import pdb def solution(infile='./data/RV1.txt', outfile='./data/RV1_solution.txt'): """Generate the solution that the students sh...
[ "shanks.k@gmail.com" ]
shanks.k@gmail.com
123b813e7965accab206ba33a2504c62cda076c9
251116375baffdf0a60ab469d6a0a06b739044fc
/src/Display/ConsoleInputs.py
09cb38c555b03405cc3c87d9abd6ebcf2a9d6b16
[]
no_license
rosspow49/GroupSixProject
24939dc1f48cc08c8f37e5f43cab583f6717c495
cf5479592bcc56a1fcc00e85e0595239ef6be388
refs/heads/main
2023-03-30T14:00:27.872928
2021-03-31T14:54:23
2021-03-31T14:54:23
346,412,515
0
0
null
2021-03-31T14:54:24
2021-03-10T16:04:00
Python
UTF-8
Python
false
false
521
py
def getFileToPlay(fileList, logger): validFileIdentifier = False while not validFileIdentifier: fileIdentifier = logger.takeInput("Please enter the track number:") try: fileIdentifier = int(fileIdentifier) if fileIdentifier not in range(len(fileList)): rai...
[ "2538781I@student.gla.ac.uk" ]
2538781I@student.gla.ac.uk
7c3c8a7192a94802f247915a4206093631f27e17
dd1ab4751e34f200c1b6928d310ade448c73d7e4
/tools/training.py
ad7e81681d12f59e7d3f86fabf92317ea01fda30
[ "MIT" ]
permissive
zfang92/transfer-learning
8a92699cdcde56eba222acf3378652e7be31a195
0efcf447449995e8a589c0b6e6bfccd2a7791193
refs/heads/master
2021-06-11T19:23:20.834990
2017-02-19T22:08:01
2017-02-19T22:08:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
import os import h5py from tools import build_transfer_net from tools.datasets.urban_tribes import load_data class Session(object): """Training session. This is a helper class to bundle model and history together and make it easy to resume training and recording history. """ def __init__(self, ...
[ "qobilidop@gmail.com" ]
qobilidop@gmail.com
031f86b63261ef4c68f89508bf5043cbc1b24e8b
df433b748bf16cce7453b1975dfd0ca0cae50bdb
/homeworks/kate.chepurna_niampire/Homework-5/Apple.py
da649b0b679269d8eab7411f555f3bac983fe464
[]
no_license
MastersAcademy/Programming-Basics
cce3ce7cba05ee68b40da8b2087557dd13997860
d8d7f83e586c8b55fdb584c06f478cf83d9d8098
refs/heads/master
2021-01-13T08:58:57.838431
2017-01-19T21:09:00
2017-01-19T21:09:00
71,988,316
62
376
null
2017-02-09T15:27:47
2016-10-26T09:35:12
Python
UTF-8
Python
false
false
170
py
from Product import Product class Apple(Product): def __init__(self, name, weight, last_day, price): Product.__init__(self, name, weight, last_day, price)
[ "niampiriatko@gmail.com" ]
niampiriatko@gmail.com
1ecb996f4097f56f0ce63ab0d6dedf6b7f3b0ff8
80a3d98eae1d755d6914b5cbde63fd10f5cc2046
/autox/autox_video/mmaction2/configs/recognition/slowonly/slowonly_imagenet_pretrained_r50_8x4x1_64e_ucf101_rgb.py
48df87cc320b51fd2cd980cd78eade24f3d1d968
[ "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
3,034
py
_base_ = [ '../../_base_/models/slowonly_r50.py', '../../_base_/schedules/sgd_150e_warmup.py', '../../_base_/default_runtime.py' ] # model settings model = dict(cls_head=dict(num_classes=101)) # dataset settings dataset_type = 'RawframeDataset' data_root = 'data/ucf101/rawframes/' data_root_val = 'data/uc...
[ "caixiaochen@4ParadigmdeMacBook-Pro.local" ]
caixiaochen@4ParadigmdeMacBook-Pro.local
be16954d0a750987370b7f380fc7e6db042b31ae
20428cab3a57ddabbb94910b437e6666fcaa75f2
/Chapter9_PriorityQueue/SortedPriorityQueue.py
300c078787caf4eaaeadefc5ae815a90b6b948a2
[]
no_license
RuichengGeng/PythonDataStructure
5a0a48b1a91506f911613c8cc7128c77fd7b9972
cf1449cd4bcad1edfa8eac1ab122b4398496a0b7
refs/heads/main
2023-09-06T00:07:55.757923
2021-11-07T08:44:26
2021-11-07T08:44:26
418,759,818
0
0
null
null
null
null
UTF-8
Python
false
false
3,966
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 1 09:00:09 2021 @author: Ruich """ '''sorted priority queue implement by double linked list''' from PriorityQueueBase import PriorityQueueBase from PriorityQueueBase import _Item import random class Empty(Exception): pass class _DNode: '''double linked node'''...
[ "ruicheng.geng@hotmail.com" ]
ruicheng.geng@hotmail.com
5b18fbd4b0a8183ff967c046a05f8f8ac468e3eb
2711e7408e590648ac6a51725c2177a56c566403
/smilebuddies/urls.py
ea9397e69f37780d921d593336f630dad2ff758f
[]
no_license
SeedyROM/smilebuddies
457415c1c843b495d92bdb925b0597411f1222c2
6ba4827205ce48c1b19786c9e32b9993cf8b43aa
refs/heads/master
2020-03-21T15:29:13.592031
2018-06-26T10:38:38
2018-06-26T10:38:38
138,715,243
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
"""smilebuddies URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "rallokkcaz@gmail.com" ]
rallokkcaz@gmail.com
ecf0282f4a1d470d9299507c2e8d1820382891e7
fd7e8aab67366f7087265279d7f41038cdeceeaf
/Python_Crawler/thread_demo/demo5.py
07632a7bd3229ec34e0a1e52f5ec7822a5e17dec
[]
no_license
pzhren/Python
e9aef0ad983c81249c3aafec22fe9375fd1dbe70
6b0c1ed68984889395c4270213afa20dac497f27
refs/heads/master
2021-05-24T08:47:30.834486
2020-06-05T10:39:57
2020-06-05T10:39:57
253,477,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
#encoding: utf-8 import threading import random import time gMoney = 1000 gCondition = threading.Condition() gTotalTimes = 10 gTimes = 0 class Producer(threading.Thread): def run(self): global gMoney global gTimes while True: money = random.randint(100,1000) gCond...
[ "34993251+bensange123@users.noreply.github.com" ]
34993251+bensange123@users.noreply.github.com
0a41f9fba4940a599b729686b089dc887ef437ee
57ff13f8da5b581547d51fb829154d9153aaf53c
/src/custom_exceptions.py
b7f3824af16fe7aca45ccafcebc86f39ae5c94b9
[]
no_license
blawney/mycalc
e777aecb97131b4596b8d0cbab3207e3aebf98a3
4a625b0b00040a06f2b52ac74d60c636012f1dd4
refs/heads/master
2021-01-19T17:16:42.216373
2017-11-27T18:06:17
2017-11-27T18:06:17
82,431,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
__author__ = 'brian' class FileSourceNotFound(Exception): pass class NoReactionParser(Exception): pass class MissingRateConstantException(Exception): pass class RateConstantFormatException(Exception): pass class ExtraRateConstantException(Exception): pass class MalformattedReactionDirecti...
[ "blawney@jimmy.harvard.edu" ]
blawney@jimmy.harvard.edu
51b10688eabd91f7155fc07e13ea362d19c0cc8d
0389e0bf1e2942089fa84ce8ab79ef859f5d8215
/parents/migrations/0001_initial.py
ce9cbb250fd38c26df3efa680e2059468590c7b8
[]
no_license
jitin2707/SchoolManagement
89f78e35b2b1f387083115064b0a54423de09cc7
7024d84dc0dfed4864a0ff9c58d045a1453bdb06
refs/heads/master
2020-08-05T11:39:56.958757
2019-11-23T03:57:01
2019-11-23T03:57:01
212,488,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# Generated by Django 2.0.6 on 2019-11-12 06:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('myUser', '0006_loginrecords'), ] operations = [ migrations.CreateModel( nam...
[ "truepx247@gmail.com" ]
truepx247@gmail.com
0eaa98f37052fd6356edfee0721ca64abf89bf44
7657b23db44741ffecd39795aaafcca51b78570f
/bootstrapproject/questions/urls.py
a71c7330b90581cdd954088ece8e1271e25f0662
[]
no_license
Sky-Akash001/Learning-Portal
c18bf7393cb27bc0593cb1a1d027f6486116f0f1
250bf36de376dcc60c71d273ebaa656855213e42
refs/heads/main
2023-05-21T20:59:56.988106
2021-06-13T12:38:35
2021-06-13T12:38:35
376,540,699
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
from django.contrib import admin from django.urls import path from .views import * urlpatterns = [ path('quizhome/' , quizhome , name="quizhome"), path('view_score/' , view_score , name="view_score"), path('api/check_score/' , check_score , name="check_score"), path('<id>/' , take_quiz , name="take_quiz"),...
[ "akashvardhan108@gmail.com" ]
akashvardhan108@gmail.com
69e17f4c855e3719a67fb44ed072035427f7e853
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/glue_read_2/workflow-run_get.py
eb26a1136104d518e28d211b93a913de8e86b4f2
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-workflow-run.html if __name__ == '__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
e5850cab963a2bed4094268fcad193eda0cd489c
717171ed7a14ad60dd42d62fe0dd217a0c0c50fd
/19年7月/7.18/url编码和解码.py
44e1a5f421f2f103c0c08b57f4de71423a436f54
[]
no_license
friedlich/python
6e9513193227e4e9ee3e30429f173b55b9cdb85d
1654ef4f616fe7cb9fffe79d1e6e7d7721c861ac
refs/heads/master
2020-09-04T14:34:48.237404
2019-11-18T14:54:44
2019-11-18T14:54:44
219,756,451
1
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
# Python进行URL解码 # 所用模块:urllib # 所用函数:urllib.unquote() from urllib.request import quote, unquote # import urllib # 这样不行 rawurl = "%E6%B2%B3%E6%BA%90" url = unquote(rawurl) print(url) print(quote("河源")) print(type(quote('河源'))) # URL为何要编码、解码? # 通常如果一样东西需要编码,说明这样东西并不适合传输。原因多种多样,如Size过大,包含隐私数据。对于Url来说,之所以要进行编码, # 是因为Url中有些...
[ "1164166295@qq.com" ]
1164166295@qq.com
ba82e0e343037ba03d836effb34bfca835a40faa
a8dc8df49b76bde4bb88de0556a606938f7b764a
/staramr/blast/results/BlastHitPartitions.py
ce3dee86aa3b02d8d1050bce98c4a3bb3f636627
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
mjram0s/staramr
e06c3b98f81b2a66599134ee3c2d08511d35b6a3
d8bc1f71dfb9534b2c559f3e39635f462cc5107a
refs/heads/master
2020-04-06T16:05:37.652033
2018-11-14T19:15:28
2018-11-14T19:15:45
157,605,130
0
0
null
2018-11-14T20:12:35
2018-11-14T20:12:34
null
UTF-8
Python
false
false
3,802
py
import logging from typing import Dict from typing import List from typing import Optional from typing import Tuple from typing import Union from collections import OrderedDict logger = logging.getLogger('BlastHits') from staramr.blast.results.AMRHitHSP import AMRHitHSP from staramr.exceptions.InvalidPositionExceptio...
[ "aaron.petkau@canada.ca" ]
aaron.petkau@canada.ca
5a34493171c954272acc41e2ff53aee86c0742c4
702ec4ccc0d809fe3469ac262be159eabe6e356f
/DQN/CirTurtleBot/dqn_cirturtlebot2.py
36d113427513948a07c588a3f0b0285cbb468afd
[]
no_license
porterpan/CSN-RL
fad3588120f67af3a4e07126fe73d817d39d44ed
e027629acefa66ac39ec65e027e7cd9f635f4c9c
refs/heads/master
2020-04-27T16:54:33.091694
2018-08-03T13:01:30
2018-08-03T13:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,438
py
#!/usr/bin/env python import time import numpy as np import gym import json from keras.models import Sequential from keras.layers import Dense, Activation, Flatten, Input from keras.optimizers import Adam, RMSprop # from rl.agents.dqn import DQNAgent from DQN.dqn import DQNAgent from common.policy import BoltzmannQP...
[ "shengnan0509.chen@gmail.com" ]
shengnan0509.chen@gmail.com
369ed9d347ffcacbe951e57fc6c86852bb45626d
83402cc9327dd7899d91889bb814ecddfbbcdee3
/scraping.py
e68a0fd3a0dbdabdb9a0ad25ecb521696002f285
[]
no_license
PaigeSpiller/Mission_to_Mars
5ff8e60949eaf9bb0a55b9a0d15d387c30b73224
ca0b54a767ceb87bf7d256e7443ed7939d9bf02b
refs/heads/main
2023-04-22T04:56:43.286901
2021-05-06T23:19:10
2021-05-06T23:19:10
354,395,527
0
0
null
null
null
null
UTF-8
Python
false
false
3,650
py
# Import Splinter and BeautifulSoup from splinter import Browser from bs4 import BeautifulSoup as soup from webdriver_manager.chrome import ChromeDriverManager import pandas as pd import datetime as dt def scrape_all(): # set up splinter executable_path = {'executable_path': ChromeDriverManager().install()} ...
[ "paige.spiller2@gmail.com" ]
paige.spiller2@gmail.com
994cf62781e7659e046c4469ef816947c9e4ce38
b4254d6e1704750a9698e912b3ceaf8feb905361
/tests/test_transaction_util.py
154f8c2f40bbc91c106cc5a2027694e4694d6e15
[ "Apache-2.0" ]
permissive
pacoxu/etcd3-py
d71ccc15321eacc1cec67e7a498d05d0288c15d0
0c12f315d4e4f1b780df23ad2dd7ab02ef422e44
refs/heads/master
2020-05-03T09:35:42.256366
2019-03-28T14:59:36
2019-03-28T14:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,346
py
import pytest from etcd3 import Client from tests.docker_cli import docker_run_etcd_main from .envs import protocol, host from .etcd_go_cli import etcdctl, NO_ETCD_SERVICE @pytest.fixture(scope='module') def client(): """ init Etcd3Client, close its connection-pool when teardown """ _, p, _ = docker_...
[ "revol.cai@daocloud.io" ]
revol.cai@daocloud.io
b4a9c9a8fdf8976a5bb862a97961be30bd9f8263
23d512bc45f45f259168f47a5be47f36771580d4
/userbot/plugins/hack.py
94bb0191d23aa71825c254add30f32b71ad89c3f
[ "MIT" ]
permissive
ashan890/X-tra-Telegram
e939261893276317334911bae5712a9f49d255d3
1842234d8c1e5a180660df2699a6674fcc80c7dd
refs/heads/master
2020-12-03T19:21:46.373652
2020-01-13T12:51:35
2020-01-13T12:51:35
231,449,450
0
0
MIT
2020-01-02T19:52:22
2020-01-02T19:52:21
null
UTF-8
Python
false
false
1,755
py
"""Emoji Available Commands: .emoji shrug .emoji apple .emoji :/ .emoji -_-""" from telethon import events import asyncio @borg.on(events.NewMessage(pattern=r"\.(.*)", outgoing=True)) async def _(event): if event.fwd_from: return animation_interval = 2 animation_...
[ "noreply@github.com" ]
noreply@github.com
b2d0262bbe3abdb54226b297d4b7d8985cbe3cbc
baa2a9eb29b373a9c630d9123a65e1be7852b9b1
/janaganana/templatetags/india_format.py
a63fb64d5b0376e82eab378b74a26d073b2d93c4
[ "MIT" ]
permissive
factly/janaganana
1570f41db82b74063003886beb7b34b6a7029aaa
e9e285d7642a23c50c04cb64ec9f66b6db8244e6
refs/heads/master
2022-08-07T22:57:12.698781
2021-04-09T13:56:08
2021-04-09T13:56:08
82,102,427
14
15
NOASSERTION
2022-07-01T22:16:21
2017-02-15T20:17:28
JavaScript
UTF-8
Python
false
false
1,018
py
from django import template import locale import decimal register = template.Library() # {% load insint %} load in template # @register.filter(name='insint') # def insint(value): # Only one argument. # """Formats a number into Indian Numeric System""" # locale.setlocale(locale.LC_NUMERIC, "en_IN") # ret...
[ "mahesh.thipparthi@gmail.com" ]
mahesh.thipparthi@gmail.com
70d3484be49be888d5d7d90e2b95c5ebb9a3eb03
fb255218941b3173eed5792b91203edb162c4303
/app/celery_extention.py
2f4276ccd0475d69f11b7f42d8fc72ccf9d4a6e0
[]
no_license
Colaplusice/hello_flask
8291b5ce4ea25513cf04756ad6454f76fda2cf12
4d67924eed921f660ae455e2db5d03cfd9a91ca0
refs/heads/master
2020-03-17T16:17:52.203938
2019-02-22T15:35:21
2019-02-22T15:35:21
133,743,148
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
import celery class Celery(celery.Celery): def init_app(self, app): self.config_from_object(app.config.get_namespace("CELERY_")) # # def buses_route(name, args, kwargs, options, task): # if name.startswith('buses.'): # app = get_current_app() # conf = app.config.get_namespace('CELERY...
[ "jialiang.fan@shanbay.com" ]
jialiang.fan@shanbay.com
cec5aa3ccde2e96a09802b9fd5c0f9627c82ab72
eb6147c14dc11557cd0f2bc4407925d0c2c6d2e1
/problems/stackOfPlates.py
91cf8f85062247efce29c431d9c4b5fae7e52938
[]
no_license
Lobarr/interview-practice
cb58341a0ac16b48e2289eaddab0807fa78648b8
4cb02a9f89ecd66721034566fff29e53d954826d
refs/heads/master
2023-03-15T00:17:56.011495
2021-03-17T12:27:18
2021-03-17T12:27:18
228,081,991
1
1
null
null
null
null
UTF-8
Python
false
false
1,559
py
class StackOfPlates: def __init__(self, stackLimit: int): self.stacks = [] self.stackLimit = stackLimit def _isFull(self, stack: list): return len(stack) >= self.stackLimit def push(self, data): if not self.stacks or self._isFull(self.stacks[-1]): print('creatin...
[ "jesulobaegunjobi@hotmail.com" ]
jesulobaegunjobi@hotmail.com
00034604309fa890c7df981fc0b4ec9a5184f3c4
59d85c2eb13d80d26eeb966ae8d3e400cb75c7f3
/jvd/feeds/benign.py
3403bd5ba9f0d67bcdbd5da5505c72c6f2a604d5
[ "Apache-2.0" ]
permissive
jon1scr/JARV1S-Disassembler
34e5257a734dda3c2f075d6a2d6b1fdb78fcc615
36121628525f9cbc704e0a8d0603e4b065b0b50c
refs/heads/master
2023-02-02T18:02:03.662737
2020-12-20T08:12:36
2020-12-20T08:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,124
py
from pathlib import Path import os import requests from lxml import html from tqdm import tqdm import urllib.request as ur from zipfile import ZipFile from jvd.ida.ida import IDA import hashlib import sys def sha256sum(filename): if isinstance(filename, str): h = hashlib.sha256() b = bytearray(128...
[ "steven.h.ding@mail.mcgill.ca" ]
steven.h.ding@mail.mcgill.ca
bf7a2ac208c91d74eabad8f86baad8cc5bea1afc
e1e7db1eb2f07dc5421f98bb1ce941aab0165b39
/ParseDAD/trade_day.py
dc3e9f74315d3352028104b464d584e614142405
[]
no_license
muqingliu/trade_tool
baae112c780e941e100e677dfe2e6367f3378383
d295f1c484b5eb5832850b35ba4b6912ec11f0f8
refs/heads/master
2022-12-02T07:15:52.625980
2020-08-17T22:04:47
2020-08-17T22:04:47
288,291,843
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
def make_trade_days(): days = [] f = open("days.txt", "rt") l = f.readline() while l: days.append(int(l)) l = f.readline() f.close() return days def get_days(start): days = make_trade_days() for x in xrange(0,len(days)): if start == days[x]: return days[x:] return []
[ "tidusfantasy2008@sina.com" ]
tidusfantasy2008@sina.com
16661322b8d82abf0d33cbcad7bf66415a5a8f7b
413b75a60553d1067cb10970a66175bfd8eaad47
/from_introduction_to_practice/my_car.py
ebc594c9a6cc8f9482e6c933b7e7ac5e8fa2a762
[]
no_license
Ygritte0/blog
45d5f50b2b27599cc7a102e9ccb4a6cc8c2e0c9d
d09d965eaa7ef44545acdaaa9a76b7db58537107
refs/heads/master
2021-04-26T23:51:30.372063
2019-10-13T09:16:28
2019-10-13T09:16:28
123,868,956
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
#-*-coding:utf-8-*- from car import Car my_new_car = Car('audi','a4','2016') print(my_new_car.get_descriptive_name()) my_new_car.odometer_reading = 23 my_new_car.read_odometer()
[ "1624849952@qq.com" ]
1624849952@qq.com
daac0b6f67d632b4fc2f3411cbad6e534cc6ba0c
c53789912c13e9671b1e30dfba2829834da0b0b7
/backend/test_set_order_status.py
f0b70ff52f50490b3e20fc6fbfab1b36f9351b08
[]
no_license
metallicOxide/BurgerWebsite
94ee09771fb689dfe051df162669298d8ff7d5c5
ed20c140f4f585d6bcf825e869d6ebf531f477b6
refs/heads/master
2021-06-16T08:56:57.465899
2019-07-12T10:49:44
2019-07-12T10:49:44
195,658,700
1
0
null
2021-04-20T18:20:37
2019-07-07T14:07:59
Python
UTF-8
Python
false
false
3,176
py
from backend.Ordering_system import OrderingSystem from backend.Ingredient import Bun, Patty, MainsIngredient, Side, Drink from backend.Order import Order from backend.Inventory import Inventory from backend.order_interface import DrinkOrder, SideOrder, MainOrder, Burger, Wrap from backend.errors import StatusError im...
[ "jerrylu1987@hotmail.com" ]
jerrylu1987@hotmail.com
f8ad4a989e47ceddb51c6c45cee9f9a6fa711be2
dd5b38d23d71ca9f95f53bb00ec9049cdce892e4
/corpus/retrieval/webdriverwrapper/page.py
ca0addf89e2904b74736900304da3ad9bc1b54cb
[]
no_license
lmiguelmh/selenium-web-mining
27d7428c04c8ae2582e984042db0f88fff02e698
d64ebf3011fcc762a77aea31a76891d698c49319
refs/heads/master
2021-01-19T00:36:06.701132
2016-12-06T20:45:20
2016-12-06T20:45:20
73,046,587
2
1
null
null
null
null
UTF-8
Python
false
false
3,629
py
# based on https://github.com/dakotasmith/page-object-examples import time from selenium.common.exceptions import NoAlertPresentException, NoSuchElementException, StaleElementReferenceException from selenium.webdriver.support.wait import WebDriverWait from .errors import WaitForElementError class Page(object): ...
[ "lmiguelmh@gmail.com" ]
lmiguelmh@gmail.com
a387e40ab96f93e4f85d141be0fc88027481c749
66fbe675f9bf45387513e49893a0c91a64755c8b
/routes/main.py
da1fb671376c291f8e0e3e3a6802418e4d3e745b
[]
no_license
Maxximl/cyber-pets
f9a1b76284fd3e21abaad54732b410f14c920943
cb710318de8b14175ea4678ff0c55bf894ec9224
refs/heads/master
2023-05-31T04:29:58.162170
2020-11-01T08:58:15
2020-11-01T08:58:15
379,866,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
from docxtpl import DocxTemplate from docxtpl import InlineImage from docx.shared import Mm import sys import json from datetime import date print(sys.argv[1]) data = json.loads(sys.argv[1]) print(data) today = date.today() print("Today's date:", today.day,today.month,today.year) doc = DocxTemplate("./files/cardTe...
[ "fearmax3d@gmail.com" ]
fearmax3d@gmail.com
846caeb31f010fb1433c159129af174cdbd52294
ffbe3405c34fd63d176c9fe21d3815be2aa0c91f
/Sunshine-2019/Entry-Exam/run.py
158cae4cae374ea8519b651f60a9f4f4ec4e855e
[]
no_license
D1r3Wolf/CTF-writeups
33464d871dda24d3ccda36da8c02208f83d3ac2f
ab8e0c3f38411241b03b230fa88604905dd1ac3d
refs/heads/master
2020-04-19T15:49:01.500010
2019-10-17T05:46:48
2019-10-17T05:46:48
168,284,838
7
1
null
null
null
null
UTF-8
Python
false
false
1,701
py
from PIL import Image from requests import session from bs4 import BeautifulSoup from time import sleep Coords = { 1 : (330,430), 2 : (330,520), 3 : (330,610), 4 : (330,700), 5 : (330,791), 6 : (330,880), 7 : (330,974), 8 : (330,1064), 9 : (330,1154), 10: (330,1244), 11: (820,430), 12: (820,520), 13: (820...
[ "d1r3wolf.aj@gmail.com" ]
d1r3wolf.aj@gmail.com
1cdef2efca5b6c72f28e2bd56aee45c125d3e2e9
21cfc943bf4989362fe4b1063ee9451a44175098
/kitsune/kbadge/__init__.py
24d06aa6bd2f1657367f5d85448c307b3bbb3212
[]
permissive
feer56/Kitsune1
6230a8f01b554c3bb6b4a7016edf198f7b2d74dd
0b39cbc41cb7a067699ce8401d80205dd7c5138d
refs/heads/master
2023-01-07T14:34:24.046353
2014-11-23T04:38:04
2014-11-23T04:38:04
27,058,591
1
0
BSD-3-Clause
2022-12-27T14:53:52
2014-11-24T03:14:18
Python
UTF-8
Python
false
false
28
py
BADGER_BADGE_PAGE_SIZE = 12
[ "rehandalal@gmail.com" ]
rehandalal@gmail.com
086cf4701861fad4be6c1fddbec68a164965c6b3
77db2d2381cd5d09ba97e710a1b42fee4fd2546c
/1-array-and-strings/1_isUnique.py
cb8625dc8b2bbc8c804e36d2e0a7712a082d32bd
[]
no_license
jinshunlee/ctci
08a1ca38b26a1309e81ab51a69fa10bb9009e557
e2a56c7cd57f1a9eb8a423a7b0daa6f9f6f73ea1
refs/heads/master
2020-03-27T07:00:31.934649
2018-10-12T15:47:34
2018-10-12T15:47:34
146,155,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
# Is Unique: Implement an algorithm to determine if a string has all unique characters. What if you # cannot use additional data structures? # Questions to ask interviewer: # Is the String ASCII or Unicode # - ASCII has 128 characters # - Unicode has 2^16 65536 characters # we can do a check if len(str) > no. of possi...
[ "ljsrockz@gmail.com" ]
ljsrockz@gmail.com
dc4ab926f4640d2dca2e0f151e6964d71b572b33
975b2d421d3661e6770b601929d5f11d981d8985
/msgraph/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/count/count_request_builder.py
6ef96315893f33a545c0a998df7bfd82d1d74ac8
[ "MIT" ]
permissive
microsoftgraph/msgraph-sdk-python
a7c551b85daadeebf76ec4ae12668664ea639b42
27de7ccbe688d7614b2f6bde0fdbcda4bc5cc949
refs/heads/main
2023-09-03T21:45:27.989672
2023-08-31T06:22:18
2023-08-31T06:22:18
534,665,999
135
18
MIT
2023-09-14T11:04:11
2022-09-09T14:00:17
Python
UTF-8
Python
false
false
4,755
py
from __future__ import annotations from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAda...
[ "GraphTooling@service.microsoft.com" ]
GraphTooling@service.microsoft.com
f7fd0940f186d71b367064d0d5edb6e5e5126639
c228f73222f0a29b06210bddf6ed1364353d93aa
/LeetCode/p0143/III/reorder-list.py
fd6d2498624ba493b9f9427708d6f7e67296af06
[]
no_license
Ynjxsjmh/PracticeMakesPerfect
40e2071e7f34ea7ae02a11f93af21e89947001c6
860590239da0618c52967a55eda8d6bbe00bfa96
refs/heads/master
2023-04-30T00:35:14.530113
2023-04-14T15:06:41
2023-04-14T15:06:41
167,309,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
# -*- coding: utf-8 -*- # ******************************************************************************** # Copyright © 2023 Ynjxsjmh # File Name: reorder-list.py # Author: Ynjxsjmh # Email: ynjxsjmh@gmail.com # Created: 2023-04-14 15:20:00 # Last Updated: # By: Ynjxsjmh # Description: # ******************...
[ "ynjxsjmh@gmail.com" ]
ynjxsjmh@gmail.com
c6074cb5f36958ef66d7d67d94fb9fec5cc148c8
3db21b1fc8998ef51918c7ae76961c6decb26853
/app/settings.py
9c3612ed292f8b032b36cbbb08d17554ac563c4d
[ "MIT" ]
permissive
devdazed/django-docker-template
c59f0e4d561fa8cc889f7c29682b169a77fd4e4f
520968ac5cd54070885de41f0e725c310f1cf380
refs/heads/main
2023-01-28T01:18:06.724011
2020-12-03T23:27:48
2020-12-03T23:27:48
318,345,970
0
0
null
null
null
null
UTF-8
Python
false
false
5,137
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.1.1. 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 os import ...
[ "devdazed@users.noreply.github.com" ]
devdazed@users.noreply.github.com
ef1f17171644bd371ed1ca300b535c4846c8caf0
85d992386122ac1d7fe6f1a45c6ac0bb27951fae
/SynGuar/helper_eval/eval_invoke.py
b3256ed66d650388006ff70e87551614177e24e8
[ "MIT" ]
permissive
HALOCORE/SynGuar
44765206fbba5bea255db1c59ba23b50c950bd77
8f7f9ba52e83091ad3def501169fd60d20b28321
refs/heads/master
2023-07-16T02:05:23.131685
2021-08-24T06:53:03
2021-08-24T06:53:03
347,832,622
2
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
import os import requests import random from .eval_consts import * def invoke_strprose_evaluation_requests(): strprose_example_files = [x for x in list(os.listdir(EXAMPLE_STRPROSE_FULLDIR)) if x.endswith(".csv")] print("#strprose_example_files", len(strprose_example_files)) random.shuffle(strprose_ex...
[ "wbprosci@outlook.com" ]
wbprosci@outlook.com
336758b25cd6431a76d65e10428c7ffdd76061a4
956270ab378baf0386015f9b1aae6f3702ebfe01
/lection4/code/ui/fixtures.py
bfcf340b6d2653e89b1f2437679eefd643db44ec
[]
no_license
nekitvand/qa-python
4bf5daac8d2f08373f8f7efd767a2b9d8c4489eb
7956d172a8b30ab5dfd658765531446b441d9700
refs/heads/master
2022-06-23T04:26:33.252883
2020-05-14T11:40:09
2020-05-14T11:40:09
282,399,084
0
2
null
2020-07-25T08:01:41
2020-07-25T08:01:40
null
UTF-8
Python
false
false
2,771
py
import pytest from selenium import webdriver from selenium.webdriver import ChromeOptions from webdriver_manager.chrome import ChromeDriverManager from webdriver_manager.firefox import GeckoDriverManager from ui.pages.base import BasePage from ui.pages.main import MainPage from ui.pages.python_events import PythonEve...
[ "cherednichenko.ya@gmail.com" ]
cherednichenko.ya@gmail.com
1c4a287283f0584e7a1b97de9d088876b897084d
e280eb99dcc23a512c7c1963c489a74dd2a52220
/tests/__init__.py
12f42d1035f7d7a3da724bc3f5d7f1260260c577
[ "MIT" ]
permissive
Zwork101/Clamor
63669967759624570779c581812686646004c846
13222b90532938e6ebdbe8aea0430512e7d22817
refs/heads/master
2020-06-23T03:02:02.803982
2019-07-21T08:37:14
2019-07-21T08:37:14
198,487,734
0
0
MIT
2019-07-23T18:32:35
2019-07-23T18:32:35
null
UTF-8
Python
false
false
381
py
# -*- coding: utf-8 -*- import os import sys import unittest.runner _dir = os.path.dirname(__file__) def suite(): test_loader = unittest.TestLoader() test_suite = test_loader.discover(_dir, 'test_*.py') return test_suite if __name__ == '__main__': runner = unittest.TextTestRunner() result = r...
[ "valentin.be@protonmail.com" ]
valentin.be@protonmail.com
aaad7a9ee22293811ac818e5834ec90629ab5074
6e9d9b9cf4726acf87974897d84ef6f64b651493
/api_gitlab/gitlab.py
c0c6c762d871927ef91ac0267df6a3a498fa43d4
[]
no_license
alalek/common-pullrequest-plugin
072a6e1fe1f8f3390a2d67804c2b6aa8c44aaab5
04dba1c5dbbf4d69c2d0dda9d5aad4eaed7beed3
refs/heads/master
2021-01-22T21:13:23.727184
2015-10-01T22:06:58
2015-10-01T22:45:54
28,002,096
0
0
null
null
null
null
UTF-8
Python
false
false
6,539
py
#!/usr/bin/env python ''' Client for GitLab API v3 ''' import json, urllib, urllib2 from twisted.web.client import Agent, readBody from twisted.internet import defer, reactor from twisted.web.http_headers import Headers from twisted.web.iweb import IBodyProducer from zope.interface.declarations import implements TI...
[ "alexander.alekhin@itseez.com" ]
alexander.alekhin@itseez.com
678e6f4f6eccac9411530829287f031a5e9e7553
712eba52393391a408e816dab577ea898fac9033
/fixkori_api/apps.py
bd678f6601f41033797e64c2f74e52db717fd535
[ "MIT" ]
permissive
ShovanSarker/fixkori
9076942423b36cdda1d600f58839741a6491ccee
3b4415de28e774729dd84c16bc12385a1c9393e4
refs/heads/master
2020-05-07T17:56:32.473041
2019-08-01T15:30:40
2019-08-01T15:30:40
180,747,562
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class FixkoriApiConfig(AppConfig): name = 'fixkori_api'
[ "exorcist.shovan@gmail.com" ]
exorcist.shovan@gmail.com
045b679f8ed8927925361cefafd32726512871b8
1387aeea3b4e224bb906348f6ec3ec1f2111e80e
/resources/2019-06-10/train.py
3a8205d3c48a0cde0f3955632d75adc445d8ae93
[]
no_license
openscoring/openscoring.github.io
2594cbd68dbd7871e3df4e9b055242eb04b6d538
33b2b6269c1102b6dd9a21f7e2d4634c579346b7
refs/heads/master
2023-07-20T06:06:14.742950
2023-07-17T18:06:25
2023-07-17T18:06:25
17,081,773
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
from sklearn_pandas import DataFrameMapper from sklearn.pipeline import Pipeline from sklearn.preprocessing import LabelBinarizer from sklearn2pmml.decoration import Alias, CategoricalDomain, ContinuousDomain from sklearn2pmml.preprocessing import ExpressionTransformer import pandas df = pandas.read_csv("audit.csv") ...
[ "villu.ruusmann@gmail.com" ]
villu.ruusmann@gmail.com
4d7fbb683f749be440f1e3f86814a797b247768e
47fc606bcdfe5b563409386c94f745f920408851
/src/python/twitter/common/python/marshaller.py
b5c29a06a99c6afbea083559b3636740c63a4085
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ewhauser/commons
2ef443c4f0be2fbbf1ff3226ed35058a7cc8254a
0777b346cf1b32722b7b5f6ae9e6593fe185de22
refs/heads/master
2021-01-18T06:00:06.901691
2013-06-11T22:14:55
2013-06-11T22:14:55
1,741,747
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
from imp import get_magic import marshal import struct import time from twitter.common.lang import Compatibility class CodeTimestamp(object): TIMESTAMP_RANGE = (4, 8) @classmethod def from_timestamp(timestamp): return CodeTimestamp(timestamp) @classmethod def from_object(pyc_object): stamp = time....
[ "jsirois@twitter.com" ]
jsirois@twitter.com