blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
11f5086df084fdb9fd17777932df230396966728
eba4dde56875d9c02f9a486d5d96c58e5465885e
/python/xviz_avs/server/sessions.py
c3513cfda0d2883385773210a6f4a1e566291b4b
[ "Apache-2.0" ]
permissive
jazzqi/xviz
84d6158c703b49342521ddc8245ad375b46f17d6
9d79fd2c7abe589d6b886249288422f49a99d158
refs/heads/master
2021-07-05T02:59:41.771687
2020-12-21T07:35:37
2020-12-21T07:35:37
211,004,107
0
1
Apache-2.0
2020-11-17T10:45:14
2019-09-26T05:07:02
null
UTF-8
Python
false
false
1,355
py
import logging class XVIZBaseSession: def __init__(self, socket, request, logger=None): self._socket = socket self._request = request self._logger = logger or logging.getLogger('xviz-server') def on_connect(self): ''' This method is called when server is connected and s...
[ "twojtasz@uber.com" ]
twojtasz@uber.com
d89758ecc7f6c66a64fc2ea486b71d42a11cfa90
0fca949535d53c11a9b8e1929f9a3c5ea998976a
/visual_analysis/google_charts/user_certifcate_per_country_normalized_cutoff100.py
85f58c9cc9ead853df2e4e8cb1e6ae3eeef9cd95
[]
no_license
gabrodhic/MOOCdb
1fee9ce681c37eb60e0c1744a9c93fab0b625308
158ad4c6a568e1d3fb14f48a38cf23ccc433829b
refs/heads/master
2021-01-21T02:36:07.863891
2015-03-04T10:00:18
2015-03-04T10:00:18
66,462,568
0
0
null
2016-08-24T12:35:45
2016-08-24T12:35:44
null
UTF-8
Python
false
false
1,876
py
''' Created on Jun 27, 2013 @author: Franck Dernoncourt for ALFA, MIT lab: franck.dernoncourt@gmail.com ''' #!/usr/bin/python # -*- coding: utf-8 -*- import google_charts_wrapper def main(): ''' This function plots the number of edits on the wiki every day from 2012-03-04 ''' preprocess_sql = ''...
[ "francky@mit.edu" ]
francky@mit.edu
5c16b75924631e16619f526fd395ee423d533d5c
05fa0ddf9e1fd105e127f4bab5db110ceb60178c
/0155. Min Stack.py
efc00ba57ff7d55ff7f0348932e6065a63858ff5
[]
no_license
JoaoASousa/LeetCode
e05ac2082cc97d9ecd5ffbe3323e5b4791d05cc1
1557a822691f52b05e9d0abcc840c37523ffd819
refs/heads/master
2023-06-22T03:30:59.662870
2023-06-19T22:44:30
2023-06-19T22:44:30
225,728,595
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
''' Runtime: 77 ms. Beats 39.38%. Memory: 20.5 MB. Beats 22.53%. ''' class MinStack: def __init__(self): self.stack = [] self.minStack = [] def push(self, val: int) -> None: self.stack.append(val) val = min(val, self.minStack[-1] if self.minStack else val) self.minStack...
[ "45333685+JoaoASousa@users.noreply.github.com" ]
45333685+JoaoASousa@users.noreply.github.com
7a5115f9df5dc530ce87c9e24f53b24c53610277
85806794e61e08dc613ecc9f62328bebf687690f
/experiments/run_kernelshap.py
6a3c9582563e29ca55a831d3414547bb3404ee00
[ "MIT" ]
permissive
datajms/COVID19_attribution
78a110b0f0629bb61fc929e29c6689c950369afd
4e3668177d8f0d38fbfa93ed728d2d3307f9b515
refs/heads/master
2022-05-23T15:41:24.397800
2020-05-02T20:24:07
2020-05-02T20:24:07
257,324,461
0
0
null
null
null
null
UTF-8
Python
false
false
2,323
py
import numpy as np import pandas as pd import logging ## 0. Config logger from my_logger import logger logger.setLevel(logging.ERROR) # Silent logger, because SHAP is chatty. ## 1. Load and set-up problem from c19_code.problem import VAR_DICT_NO_MSF, problem_from_var_dict from c19_code.problem import VAR_THRESH_A, ...
[ "jean.matthieu.schertzer@gmail.com" ]
jean.matthieu.schertzer@gmail.com
7a0a47dc0866ee825f01238627523928e0428e20
3e24be2df8c15bd9596c2362233c1ff6baff5043
/ntumlone-002/homework/hw3p6.py
f8fa2caf75d6d8808cc87f842deda801e8540c1c
[]
no_license
doggggie/courses
cf2fe4c452c2f9bc2a879ddd37cb8ddeafdcca22
65be7a1bad733c366ef89da0be8ebe17001dbe73
refs/heads/master
2021-01-10T12:16:51.619346
2015-10-30T00:45:41
2015-10-30T00:45:41
36,337,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
from numpy import exp import numpy as np def E(u, v): return exp(u) + exp(2*v) + exp(u * v) + u*u - 2 * u * v + 2 * v * v - 3 * u - 2 * v def grad(u, v): du = exp(u) + v * exp(u * v) + 2 * u - 2 * v - 3 dv = 2 * exp(2 * v) + u * exp(u * v) - 2 * u + 4 * v - 2 return du, dv def hessian(u, v): ...
[ "xiaogou@gmail.com" ]
xiaogou@gmail.com
64a076192f7de915b98de5c34bd645a80d21f45f
58bfe4544cf43c8fd4e48a95ac87a4f28f075a1f
/shows/VerticalWave.py
d1d1359804ea10222b3b695eecbc98f41551a78d
[]
no_license
dnsco/Triangles
70662d5384e3ed59c7b6d4ccc073de57d48f23c8
46d95fda5e5fa043d78f617861a83346a7babb82
refs/heads/master
2021-05-28T00:22:13.027272
2015-01-01T01:49:27
2015-01-01T01:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
from HelperFunctions import* from triangle import* class VerticalWave(object): def __init__(self, trimodel): self.name = "DiagonalWave" self.tri = trimodel self.time = 0 self.speed = 0.1 self.width = 12 self.color = randColor() self.background = randColor() (self.min_row, self.max_ro...
[ "stevedudek@gmail.com" ]
stevedudek@gmail.com
934eb7bd4816c66b9dfac5e552f2a5d70c91b3e5
9f7e53070a771d3fc182b0d7b0dce68816167920
/chapter09/n80.py
c16ec2ef245639e0833a23dfca8a0d90a72237cb
[]
no_license
chantera/nlp100
cb3b0dfcf6b822bf5d6616bbd3bc4f563834a155
d2871d56559adbeaffa8aa7ec409da328ff011e4
refs/heads/master
2021-01-20T20:42:51.038810
2016-06-11T09:20:28
2016-06-11T09:20:28
60,738,672
0
1
null
null
null
null
UTF-8
Python
false
false
1,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 80. コーパスの整形 文を単語列に変換する最も単純な方法は,空白文字で単語に区切ることである. ただ,この方法では文末のピリオドや括弧などの記号が単語に含まれてしまう. そこで,コーパスの各行のテキストを空白文字でトークンのリストに分割した後,各トークンに以下の処理を施し,単語から記号を除去せよ. トークンの先頭と末尾に出現する次の文字を削除: .,!?;:()[]'" 空文字列となったトークンは削除 以上の処理を適用した後,トークンをスペースで連結してファイルに保存せよ. """ import sys import re ...
[ "jin.aleajactaest@gmail.com" ]
jin.aleajactaest@gmail.com
d72f678d53b6961cf66e12021c6f2d14190a9857
018996e7300a19817d74714c32a9b1988ee06616
/old_trumpov.py
2d40aad69e069289817119b2c868fcb7c8e2596f
[]
no_license
mgd34msu/trumpov
6c90da3da7fd5f8c7de149bbddc9052a00b9a0fc
0aefdda6318fb8037f6e590a9c049faf01555080
refs/heads/master
2021-05-09T10:32:46.732835
2020-07-04T20:21:54
2020-07-04T20:21:54
118,966,322
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
import json import random as rnd chain = {} corpus = [] data = json.load(open('condensed.json')) for line in data: add_word = line['text'].replace('\r', ' ').replace('\n', ' ').replace('\"', '').split(' ') add_word = [word for word in add_word if word not in ['', ' ']] corpus = corpus + add_wo...
[ "noreply@github.com" ]
mgd34msu.noreply@github.com
0002d483929a2213dc78b3654a3d16d500e71d6f
c80ec1805a7e6cb1bd3f4b3e383ef4f4cf164765
/gen/filters/rules/family/_hastwins.py
c2e37d04b70c8905222c5247ba01261e08eced18
[]
no_license
balrok/gramps_addon
57c8e976c47ea3c1d1298d3fd4406c13909ac933
0c79561bed7ff42c88714edbc85197fa9235e188
refs/heads/master
2020-04-16T03:58:27.818732
2015-02-01T14:17:44
2015-02-01T14:17:44
30,111,898
2
1
null
null
null
null
UTF-8
Python
false
false
2,365
py
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2013 Nick Hall # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
[ "carl.schoenbach@gmail.com" ]
carl.schoenbach@gmail.com
13acb432c9022c2ed73e8e1e8c6c55b5a45ce2d3
8ecc01f99f2977dccbec708de05d27c84d5bc832
/stylegan2/modules.py
55c42feb6a93f0684e37d794f1bf5c5463e81abe
[]
no_license
disanda/myStyle2
187fbcefa5caff86c137fea00819f661b046f702
f575c16b6c6a8a21faa46f2228e1fa17c65ce5ba
refs/heads/master
2023-03-13T13:04:04.382831
2021-03-25T09:57:08
2021-03-25T09:57:08
321,574,762
0
0
null
null
null
null
UTF-8
Python
false
false
38,919
py
import numpy as np import torch from torch import nn from torch.nn import functional as F def get_activation(activation): if isinstance(activation, nn.Module) or callable(activation): return activation, 1. if isinstance(activation, str): activation = activation.lower() if activation in [Non...
[ "skyanda1@qq.com" ]
skyanda1@qq.com
e6656c14108867ec2f3b216d7914b6fdd1f61378
9d3d37bd8428d83558ef09fa0a3e0e3a06bca4cf
/pilot_31_dir/mapL31_Tile15.py
0b18cf02ad69936fc17ecafa7783da0232de32db
[]
no_license
jfoster17/ramps
b7b030d09f932bbcf11caf25847ecb1c081be1ab
a8a69eff3f1c33e237b95620b7e58a8da214e77b
refs/heads/master
2021-01-10T21:07:03.342981
2015-03-09T20:39:45
2015-03-09T20:39:45
17,524,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
#RAMPS Astrid script using the KFPA/VEGAS #HISTORY #Oct 5, 2015 (JBF) Comment out blanking values (no longer needed) #April 15, 2015 (JBF) Set blanking values manually to fix a VEGAS problem #March 10, 2014 (JBF) Initial Version Catalog("/home/astro-util/projects/13B312/ramps/pilot_31_dir/Pilot31_Sources.cat") ##...
[ "jonathan.b.foster@yale.edu" ]
jonathan.b.foster@yale.edu
27f31969536a4fb78ce302b26dcad11783bbfed6
54ac9141f54bc65f5660ee7fc7df5ded1ebed62f
/dbHandler.py
b538ef60e945e7abfd1cbad5822574adc5113b54
[]
no_license
Tjccs/Phyton-Scripts
71f1a7215985c9ad23c34f71eb3a033277aa1517
87502813131c60b428a6b9231c8a6f91b801d6b7
refs/heads/master
2021-01-11T08:46:45.809057
2017-04-27T08:22:54
2017-04-27T08:22:54
77,069,522
0
0
null
2016-12-21T16:56:15
2016-12-21T16:47:50
null
UTF-8
Python
false
false
458
py
import sqlite3 from flask import g, Blueprint dbHandler = Blueprint('dbHandler', __name__, template_folder='servidor') with dbHandler.app_context(): def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = sqlite3.connect(DATABASE) return db @dbHand...
[ "noreply@github.com" ]
Tjccs.noreply@github.com
84d916b3b8037b93f1602fe285a1e10a554b8594
4670a34c69e1d951dadf3f0909ad825bd3dc9d55
/LSI-analysis/HIDE/arXiv-score - orig.py
af7e11725bb463adf7e2e750acf38419f907c2f6
[]
no_license
rocksonchang/Science-Trends
4d794ad01ca0b37565d1401c287a667051246196
ff559074755fa0705f301c4be676cb1145237b47
refs/heads/master
2021-01-13T08:39:58.923233
2018-02-04T14:23:51
2018-02-04T14:23:51
71,819,754
2
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
################################################################################################# ################################################################################################# ## load some packages from gensim import corpora, models, similarities try: import xml.etree.cElementTree as ET ex...
[ "chang.rockson@gmail.com" ]
chang.rockson@gmail.com
ac6d114eab5b1ab633aa87f105c7c7323addf638
900779fbbd58369ae191bbdbc838dd337c8504fc
/project1/submit/Task1.py
af889abd1c703a1f87e3469725441f0f98a76420
[]
no_license
yixin0711/udacity-data-structures-and-algorithms
f816815990da5847b3294c8f9aed0e11a31beec8
a3a5005a5c74920668ada3012b6109e25fe9de63
refs/heads/master
2022-11-13T04:57:54.685491
2020-07-01T16:37:49
2020-07-01T16:37:49
271,827,933
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 1: How many different telephone nu...
[ "xinyi@gatech.edu" ]
xinyi@gatech.edu
291709388d2fff63edeb9f40b601dec07b3a51cd
0205b52c9224fd02d5b23b090012ae3559acb316
/finbert/utils.py
0051ec8cd8ce5e434f5b3a08cbabd5d127676ad2
[]
no_license
sauravghoshroy/algo-trading
fee65e423373b1b2c252d15e120e47cc6bc6b96b
3ac53a70bf0a27f37325cd93963764701cf1f549
refs/heads/master
2023-04-13T21:21:08.626010
2021-05-02T13:32:36
2021-05-02T13:32:58
363,494,774
1
1
null
null
null
null
UTF-8
Python
false
false
9,893
py
# The classes used for data processing and convert_examples_to_features are very similar versions of the ones \ # found in Hugging Face's scripts in the transformers library. For more BERT or similar language model implementation \ # examples, we would highly recommend checking that library as well. from __future__ i...
[ "saurav@student.ie.edu" ]
saurav@student.ie.edu
276077a68b8e0a6396fabf17ffb5e8ec2deec013
dd1f671592f535add1ee0d9c5efd364fc6149cd5
/python_code/publish.py
34eeb765e8fe6576b2dc73c3f0f9b568f88600cd
[]
no_license
ittipu/Design_Simple_dashboard_for_Control_LED_With_JS_python_esp32
137134143d4ee42df3c40629ce9b3e8484eab6fa
3a1431f7e20e2dff21e38b02da8891fea6a32bdb
refs/heads/main
2023-05-30T23:56:36.597928
2021-06-23T11:51:11
2021-06-23T11:51:11
379,585,985
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from config import * import paho.mqtt.client as mqtt from main import * import time import json client2 = mqtt.Client(protocol=mqtt.MQTTv311) def on_connect(client, userdata, flags, rc): print("Result from connect: {}".format(mqtt.connack_string(rc))) while True: client2.connect(host=broker, port=port, kee...
[ "tipu3001@gmail.com" ]
tipu3001@gmail.com
98cae8f9b24f64db821c0fc6b69e286620a878bf
ae13a3899126c7429678628d2014dab99b2533c7
/threaded_server/server.py
2f2667a5f3d8853cde4afc253b1d5a621c41f117
[]
no_license
Optixal/BiteSizedPython
65e99342ace20e0dff0217d922f672621d036496
6d6577dea20c3168349c0d6a8f0026ae7b83140f
refs/heads/master
2020-07-06T13:35:33.624374
2017-10-11T15:55:08
2017-10-11T15:55:08
67,928,602
2
1
null
null
null
null
UTF-8
Python
false
false
3,571
py
#!/usr/bin/python3 # Basic Multi-Threaded Server # Optixal import socket, sys, time, datetime import coloredstatus as cs from time import sleep from _thread import * if len(sys.argv) != 2: print(cs.status, "Usage:", sys.argv[0], "[port]") sys.exit(1) host = '0.0.0.0' port = int(sys.argv[1]) log_location = ...
[ "optixal@live.com.sg" ]
optixal@live.com.sg
ab1b72766a5886f432f7ed73a863ec66e1dcc21e
2fd3d7a7c676a89a961cea12167020e5c742761a
/FibonaChicken.1.py
b38581bac298ceafd9f716a5346a53e496e59bd8
[ "CC0-1.0" ]
permissive
Python-Repository-Hub/fibona-chicken-number
773cbde7f269280498c3602dfacd470373c9e718
1158ea27c06487edcf15e28515b04c15118f4e60
refs/heads/main
2023-04-17T01:01:42.287165
2021-05-06T21:18:23
2021-05-06T21:18:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
''' Fibonacci Sequence and Golden Ratio ''' from math import sqrt def FibonacciSequence(n): F = [0, 1] for i in range(2, n + 1): F.append(F[i - 1] + F[i - 2]) return F n = 50 F = FibonacciSequence(n) for i in range(1, len(F) - 1): print(i, ":", F[i], F[i+1]/F[i], F[i]/F[i+1]) phi = (1 + sqrt...
[ "joonion@gmail.com" ]
joonion@gmail.com
6388ca3c702fcf24fc0c58037eb51b8487416be0
6176efac2f93f78c611fb1ecac2483133281c8d6
/1.tutorials/57.oops5.py
ebf31a98ed96ed12eb7bc55f99450c69a5265a7a
[]
no_license
BarinderSingh30/Python_Basic
f10f00e932a6533d1bb8bf9cd9783186fac1d513
64b8689cd9b20d64d6da3905b3752a7c7fb415ea
refs/heads/main
2023-06-23T08:09:33.217233
2021-07-21T16:03:14
2021-07-21T16:03:14
375,288,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
class college: no_of_branches=8 def __init__(self,aname,asid,abranch): #constructor to construct class object and assign their variables easily self.name=aname self.sid=asid self.branch=abranch def printdetails(self): return f'Name is {self.name}.\nSID is {self.sid}.\n...
[ "emailforbarinder@gmail.com" ]
emailforbarinder@gmail.com
31c1779398b3ce2aad134e0fb09067334f0f0976
a9e27f69b8db430252cd29f334f182b9962e22ae
/src/collective/deformwidgets/dynatree.py
2dcec4d7bb40a7798e2a521b94322c3fd90574f1
[]
no_license
collective/collective.deformwidgets
d4b09da0ae935f16437f56f77351e52f3ccace81
fef9e81e5e448de30fcd654a68f1cfd98e7aeb9d
refs/heads/master
2023-03-22T11:55:37.251077
2012-10-11T21:20:53
2012-10-12T06:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,384
py
#!/usr/bin/python # -*- coding: utf-8 -*- from imsvdex.vdex import VDEXManager from Products.CMFCore.utils import getToolByName from zope.app.component.hooks import getSite import colander import deform import json def vdex_to_dynatree(vdex=None): ''' Convert a vdex manager object to something und...
[ "do3cc@patrick-gerken.de" ]
do3cc@patrick-gerken.de
20866e6e3d4dd219bb811aa443c238903384f3ee
e26c16d2243fe5c010a2398779b571c2bd3975f0
/CalenderBot.py
5367c1e3d214c2616f4e373c8dcca927306d7634
[ "MIT" ]
permissive
Unity05/CalenderBot
23825c11ca3a455386c95e723f89e302f25d1e14
7dd8983d0ef495dd4d3a28cdb1f54b0274bc3242
refs/heads/master
2020-03-18T12:28:12.694826
2018-10-06T14:21:30
2018-10-06T14:21:30
134,728,219
5
2
null
null
null
null
UTF-8
Python
false
false
33,509
py
import discord import time import datetime import json import asyncio import os client = discord.Client() currentVersion = "1.3" # var to check if the version of the files is the latest meetingDateSP = 0 helpEmbed = discord.Embed(title="Hilfe für CalenderBot", # helpEmbed for help-message ...
[ "noreply@github.com" ]
Unity05.noreply@github.com
dca37f69ef045346bf166496d0eef89ac630a922
fffded9233122a6034bc48aa2ba90cd9fc74e91d
/train_cifar.py
bcb03e7a366e279a96e795427ab447330534e38d
[ "Apache-2.0" ]
permissive
advboxzoo/Adaptive-Diversity-Promoting
39041629a1810a86897be2576410a53113c0a935
a164d578c4c59ac63d0d62dc794ec01cd89507cd
refs/heads/master
2020-07-06T08:42:38.933862
2019-08-14T10:30:48
2019-08-14T10:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,459
py
from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam, SGD from keras.callbacks import ModelCheckpoint, LearningRateScheduler from keras.callbacks import ...
[ "noreply@github.com" ]
advboxzoo.noreply@github.com
f193b93fe7ed2fb7532ba5e080503c1e75e790b1
abad82a1f487c5ff2fb6a84059a665aa178275cb
/Codewars/8kyu/count-of-positives-slash-sum-of-negatives/Python/test.py
61c68d640b924eca1c079ae4f9c87625028e4368
[ "MIT" ]
permissive
RevansChen/online-judge
8ae55f136739a54f9c9640a967ec931425379507
ad1b07fee7bd3c49418becccda904e17505f3018
refs/heads/master
2021-01-19T23:02:58.273081
2019-07-05T09:42:40
2019-07-05T09:42:40
88,911,035
9
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Python - 3.4.3 Test.describe("Basic tests") Test.assert_equals(count_positives_sum_negatives([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14, -15]),[10,-65]) Test.assert_equals(count_positives_sum_negatives([0, 2, 3, 0, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14]),[8,-50]) Test.assert_equals(count_positives_sum_negati...
[ "d79523@hotmail.com" ]
d79523@hotmail.com
8d666bd97f5421c1264ea7eceaaada6c70d79d20
d4dab65a18429c72dda12f1271ec0b4452cb7aad
/tensorflow/python/distribute/values.py
a2c834f893e2d6376714229bd585502bebe2edf0
[ "Apache-2.0" ]
permissive
chiragmak10/tensorflow
6d486210bebb68f3328853731cdb37fbe6aa9b1a
0e1f4418b84170533b3d388ac29042fe486403ee
refs/heads/master
2020-04-12T08:30:11.229595
2018-12-19T04:56:29
2018-12-19T05:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
82,713
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
fc58fb3b8d6ae5dedc570c4c1adbaf9dc9a404a6
7a98eb53c801471a7528ca3e98127055af506383
/layers/modules/__init__.py
31a161d38029603cef2da7f71d661736f8f58695
[]
no_license
neroxkb/ssd_imbalance
a687460f9b13d68e751478014b5c53b8d5bfe1e1
048975495f451f82752a3091288e919b5a005531
refs/heads/master
2021-07-14T23:42:09.137098
2021-07-10T03:03:01
2021-07-10T03:03:01
227,809,537
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
from .l2norm import L2Norm from .multibox_loss import MultiBoxLoss from .FocalLoss import FocalLoss from .FocalLoss2 import FocalLoss2 __all__ = ['FocalLoss','FocalLoss2','L2Norm', 'MultiBoxLoss']
[ "1799330191@qq.com" ]
1799330191@qq.com
12b99b6543c76c546599fde7bd2fb1f957b0f7a0
de40ce47ba1fc673b8c0d85a4570170548278341
/tests/storage/databases/main/test_lock.py
9ca70e7367b476e494ea7f5b7da82ff92f0827f1
[ "Apache-2.0" ]
permissive
pingponglabs/synapse
3c741fa7604254ca2b443f5b8031f0915d601868
016f085722666ac68d2e4b4f21793db399203ea9
refs/heads/master
2023-06-24T09:30:47.970055
2021-07-22T23:43:53
2021-07-22T23:43:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,632
py
# Copyright 2021 The Matrix.org Foundation C.I.C. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "noreply@github.com" ]
pingponglabs.noreply@github.com
7b8b1e3bf65134928bbed9628517cb616c9a5cb4
9d58c796906c6687241125ee6602cc612cb28735
/FileRstproj/FileRstproj/wsgi.py
18849c0de1d7746d732056d98c0d2fce323e9eb0
[]
no_license
uday99/RestFrameworkUploadfile
29de0929ad7c2af2d4e4a856801467b05ce53829
6b92f0d55893e435f4383a4691a79642be28923f
refs/heads/main
2023-07-10T18:40:27.225900
2021-08-19T15:21:09
2021-08-19T15:21:09
397,986,544
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for FileRstproj 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "udaykumarandolu@gmail.com" ]
udaykumarandolu@gmail.com
88917f1eb0d35ca3116654128275f4646f7c2553
314d7658374b4f168ff8fd6caf0278cd6ea2e492
/todo/migrations/0002_todo.py
446e13439c2b1c5679ed7405026cf311f2bf212f
[]
no_license
sserhiisv/todo
8b2e3b8283903e0b2f7b03748af8e20af8ee38f2
2f59902c50f2f6d311290b6c134a82a684d1371f
refs/heads/master
2021-06-14T05:34:09.740845
2017-05-03T21:25:02
2017-05-03T21:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-28 10:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "zeroproger@gmail.com" ]
zeroproger@gmail.com
49091ce4234bc154634b45910022ebbe90c601af
02b823db43794e5b8069a37a8b7bee1030bb700d
/nemo_simulator/scripts/controler.py
c5621b9f3c85f6bb1f36feafae2a432f122a9ccb
[]
no_license
FelipePicard/Following-Car
13e803b3e6bbce8ba4dd82d3bedaaa091ca17990
d915b5babda0fba13d5974f5150c214817374490
refs/heads/main
2023-06-16T06:29:27.083470
2021-07-08T19:11:20
2021-07-08T19:11:20
325,136,800
0
0
null
null
null
null
UTF-8
Python
false
false
12,307
py
#!/usr/bin/env python import rospy import math from geometry_msgs.msg import Twist from geometry_msgs.msg import PointStamped from geometry_msgs.msg import Pose from nav_msgs.msg import Odometry from tf.transformations import euler_from_quaternion, quaternion_from_euler # Starts a new node rospy.init_node('controler',...
[ "noreply@github.com" ]
FelipePicard.noreply@github.com
3580008934feddc279f08ed0aa8247a1544c764e
a519c248ccac7cfb4c934b5ad1159f4937117fba
/More_String_Manipulation/correct_password.py
c97737688bac4ff84491704a13c359e3ebae10d0
[]
no_license
kaci65/Nichola_Lacey_Python_By_Example_BOOK
1ae5654b82c01e320eaf8d1e41fb03804c0786fc
2cc18d2d8351a990cee31e253c4bcb298ba4c266
refs/heads/main
2023-04-12T18:16:03.663399
2021-05-02T14:34:00
2021-05-02T14:34:00
346,003,770
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
#!/usr/bin/python3 """check if user input is correct the secondtime round""" passwrd = input("Please enter password: ") passwrd2 = input("Please confirm password: ") if passwrd == passwrd2: print("Thank you") elif passwrd.islower() != passwrd2.islower(): print("They must be in the same case") else: print(...
[ "wanjikukarugi@gmail.com" ]
wanjikukarugi@gmail.com
bd740af5d2deee97de4d87dbe0ef242a4fc7f866
f62ecb7f31f4c52fac0e7955e1cde15e3d3e908c
/recover_iris.py
9a418f6d20e3c980b29344c3c9d4f58c65d020a8
[]
no_license
jamesx00/iris_pkl
110e9dba93d61c7ab347cdef6e8b16a5b98e069b
5762b0dccd6b1f17cc54c35a96ac674e4ed88a7e
refs/heads/master
2023-04-16T04:00:05.971270
2021-04-29T14:10:24
2021-04-29T14:10:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
import joblib # Import the IRIS Dataset to be used in this Kernel from sklearn.datasets import load_iris # Load the Module to split the Dataset into Train & Test from sklearn.model_selection import train_test_split Iris_data = load_iris() Xtrain, Xtest, Ytrain, Ytest = train_test_split(Iris_data.data,Iris_data.t...
[ "tansirijames@gmail.com" ]
tansirijames@gmail.com
1c087bc07e4beaf9cef2291705e5c44acd0b2a7e
6006bfb6d9941c928fed87b9d2db170dc0ddd9e1
/source/conf.py
c3a3b7cd39a96625879576bf195bd970d545411a
[]
no_license
supremeys/readthedocs
c01f76802b5927db8e7c0cfec01b9bd4d7612438
aeaed43c8d028b1f39e495f8ad3c4945e9b7ced9
refs/heads/master
2023-02-15T15:33:05.142907
2021-01-11T11:20:09
2021-01-11T11:20:09
326,540,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,327
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "rivern.yuan@quectel.com" ]
rivern.yuan@quectel.com
e37dafe7caa9a8d29dfcbea9bd614748b5cd2a86
049907461661bc14f605d4468410b56325d16a23
/HackerRank/Practice/Python/Finding the percentage.py
f260648cef67a9e1c775dbfbe5fd26fbb1996a22
[]
no_license
KillerStrike17/Competitive_Programming
8961440f85ed86b35cf96896f0fc9d6da3f200a6
73c32f6bd06269009565a71cc8b35e25b0f6befb
refs/heads/master
2021-01-09T16:52:47.562653
2020-03-04T02:01:21
2020-03-04T02:01:21
242,379,664
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
if __name__ == '__main__': n = int(input()) student_marks = {} for _ in range(n): name, *line = input().split() scores = list(map(float, line)) student_marks[name] = scores query_name = input() avg =sum(student_marks[query_name])/len(student_marks[query_name]) print('{0:....
[ "shubham.agnihotri1997@gmail.com" ]
shubham.agnihotri1997@gmail.com
68a6d084872456004697cd9b6c67d87aa4b5546a
5bdf9968486d26dbb36ea02d47f6fc3f273f3901
/purchase/urls.py
cd344e63e239457278672101d8085df17d30fe4e
[]
no_license
atorrese/SGAGRO
f6ae1042e4edaaee6a610f46837e097b457e2daa
dff0e160e34507a8250a02d9aa37072e7857b245
refs/heads/main
2023-02-11T16:34:58.415457
2021-01-14T02:05:34
2021-01-14T02:05:34
314,947,399
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from django.urls import path import purchase.provider.views as Provider #import sale.seller.views as Seller import purchase.order.views as Order urlpatterns = [ #Routes provider path(route='provider/', view= Provider.Index.as_view(),name='provider.index'), path(route='provider/create', view= Provider.Cre...
[ "atorrese@unemi.edu.ec" ]
atorrese@unemi.edu.ec
81505eb219e1c3ac4a7f66e4d581b9dd8618ed10
f7e89247de7c44ac8ce2e0c5a36348aed3cf447d
/PythonAll-master/Loops.py
44c08f0a68de86eaa53144a7c2b4c699dc1da6a0
[]
no_license
kalyansri/Firstprj
f85ea17c19198ffff7ab08de7be973aab8f75fa6
5820ca7ac4f56dcfdb3df44edb140455dc3f27a5
refs/heads/master
2023-01-20T21:09:10.002485
2020-11-27T16:49:49
2020-11-27T16:49:49
316,554,813
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
a=5 def met(ab): a=20 print('function' ,ab) if __name__=="__main__": met(55) print('Globally',a)
[ "sridharkalyan26@gmail.com" ]
sridharkalyan26@gmail.com
b363e8058c2887db3c204ca9ca827bc385baa3b7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pPyAgyeNEvQsBytaR_19.py
4aff1636b0a9b914bbbca2ca40fe25b9d7d42fe7
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" Write a function that calculates the **factorial** of a number **recursively**. ### Examples factorial(5) ➞ 120 factorial(3) ➞ 6 factorial(1) ➞ 1 factorial(0) ➞ 1 ### Notes N/A """ def factorial(n): counter = n counter2 = n if n == 0: return 1 for x in range (cou...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
006000ba6b3b95793494d4ea69a3dc5643bf713e
be6feef8342e22e09283cebbb7dad4e29df8bfe9
/src/apps/alarm_clock/peripherials.py
73814742a60d71875020757f9320d6913daeb394
[ "MIT" ]
permissive
JJongHak/alarm-clock
f7675f6c60bad37c17829b158ab653a1e5d1e6dd
efba84e71fcade26bef020dc7eaa10181ea9f96c
refs/heads/master
2020-08-05T22:34:30.709964
2018-01-03T16:51:56
2018-01-03T16:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
import math import uasyncio as asyncio import machine import neopixel import hw from .hal import HCSR04 def deinit(): daylight.deinit() indicator.deinit() class Daylight: DEFAULT_KELVIN = 2500 @staticmethod def kelvin_to_rgb(kelvin): temp = kelvin / 100 if temp <= 66: ...
[ "stefan.hoelzl@gmx.de" ]
stefan.hoelzl@gmx.de
cc1c4654fe4f9af3d5dcd665eaad982c2c01d813
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02900/s932480273.py
879d6d669a5cb836b2df581b153b4b2ff7c9129f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
a,b=map(int,input().split()) def factorization(n): a=[] while n%2==0: a.append(2) n//=2 f=3 while f*f<=n: if n%f==0: a.append(f) n//=f else: f+=2 if n!=1: a.append(n) return a s_a=set(factorization(a)) s_b=set(factoriz...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0658549bfd322d198f2128a33f8a3bb2686fea0e
a63e4f0a16be73c24339e062a2628aec99d8bf03
/cartoframes/viz/popup.py
7287144d61c7ca2b1efe929508cdc7566f96e185
[ "BSD-3-Clause" ]
permissive
haytastan/cartoframes
0c6cd87e3dc7820b2771ef1029699b791858c406
29553bb653b10adb37a39f6a58a827e35e079cac
refs/heads/master
2020-12-13T23:38:30.392375
2020-01-13T10:30:46
2020-01-13T10:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,878
py
from __future__ import absolute_import from ..utils import gen_variable_name class Popup(object): """Popup Args: data (dict): The popup definition for a layer. It contains the information to show a popup on 'click' and 'hover' events with the attributes provided in the definition...
[ "jarroyo@cartodb.com" ]
jarroyo@cartodb.com
cd8920434e0863b34a751ea69e517aacf8e7f874
363cbc43dad2f8a3cb08ca343b95c1d08f6c60c6
/analysis/test/MC/GJet_Pt-20to40/diPhoAna.py
5244ce9787562ccb87be6970e3dc6050a0346f82
[]
no_license
DebabrataBhowmik/MonoHiggsToGG
45af4363928b48d51ae50210a18a1bb19eb909c5
b22984b06d3b1f767dcf15796c66f07581bf39f0
refs/heads/master
2022-01-26T02:30:39.866888
2019-04-02T09:50:26
2019-04-02T09:50:26
179,046,566
0
1
null
null
null
null
UTF-8
Python
false
false
9,034
py
import FWCore.ParameterSet.Config as cms import FWCore.Utilities.FileUtils as FileUtils import FWCore.PythonUtilities.LumiList as LumiList import FWCore.ParameterSet.Types as CfgTypes import FWCore.ParameterSet.VarParsing as VarParsing process = cms.Process("diPhoAna") process.load("FWCore.MessageService.MessageLo...
[ "debabrata.bhowmik@cern.ch" ]
debabrata.bhowmik@cern.ch
af549c5f28809aa0ff4c12ecd2d66aad2f41e951
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/large-scale-multiobj2/core-arch5-guard0-beta0-hebbe/pareto25.py
24ae69bfb9cc96c1eae6bea2eb789a9b5259fd40
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize both throughput and connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch5_decomposition_new import Arch5_decompose np.random...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
75c1aed5a94dae68b0cd66dab4ac649d219916c6
aa2f2a7de82f5bdd0c6abb9e396eab1811ae566a
/first/1753.py
da77d2ed748bf0894911a52cb729b5406ed4d7c3
[]
no_license
W1nU/algorithm
a5bbb2a9012284b0f0fd7692b473a215b849f40f
b9d60a940c3e6f2151dd9e1081c54b6f79bdb48c
refs/heads/master
2023-03-22T03:28:01.058813
2021-03-12T12:25:10
2021-03-12T12:25:10
347,056,920
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
import heapq import sys input = sys.stdin.readline INF = sys.maxsize V, E = map(int, input().split()) start = int(input()) - 1 edges = { n: [] for n in range(V) } visited = [] min_distance = [INF] * V min_distance[start] = 0 for _ in range(E): s, e, w = map(int, input().split()) edges[s - 1].append([w, e - ...
[ "seungwoojung@Seungwooui-Macmini.local" ]
seungwoojung@Seungwooui-Macmini.local
39dbaaffe13e8fc1e7613a8e8a186af2d97d9049
fb257c47cc65ffe1bef9c5fd7f77712b9de32414
/day6/program2.py
5591821dbed813dac1521bab57f741aa67c11bf4
[]
no_license
samyakhappy9/tathastu_week_of_code
2479904593f2742d7ebb9cb4571357a707e93464
970f14b9b0b96018300ad298d83ce6ccb1117ce8
refs/heads/master
2022-12-02T12:15:22.328265
2020-08-22T14:07:16
2020-08-22T14:07:16
265,662,122
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
def ans(l): res=[x for x in l if x==0] + [x for x in l if x==1] return res n=int(input()) l=[] for i in range(n): x=int(input()) l.append(x) print(ans(l))
[ "noreply@github.com" ]
samyakhappy9.noreply@github.com
38043e53324b35022507d8c661ba877f03024257
a92db55b2a21ac3e4191e22800c66f8155c39f18
/backendrooms/Chat/urls.py
c850fd056c1be7ea8dd3ff01e4d9ad9ab67f554c
[]
no_license
thaopanda/EasyAccomd
046fc4520d0234e66ab6b49c2da2c20db0d38d1c
f9e68833ac1a57ca1cdd3e5db37fd15ecdef3ef1
refs/heads/master
2023-03-26T07:48:16.038758
2021-03-25T05:03:45
2021-03-25T05:03:45
351,314,303
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from django.contrib import admin from django.urls import path, include from Chat import views urlpatterns = [ path('thread/', views.GetThread.as_view()), path('chat/<int:pk>/<int:begin>/<int:end>/', views.GetChat.as_view()), path('threadAdmin/<str:username>/', views.GetThreadAdmin.as_view()), ]
[ "thaoa4vuive@gmail.com" ]
thaoa4vuive@gmail.com
5926c0cc0bd002c728bc2609e5803769aeebea12
06341c4349f28d4cd9f5bea1471e01a0da8a3e19
/data_dump.py
775dfa88d1c020ead615a776e09de613dae54cd7
[ "MIT" ]
permissive
pulsatrixwx/PulsatrixWx
b38bf3274458511df22f541bb51b8bbf556f74b8
aae6ac36e2460dcf7f4a592d709139cd0d6a2e91
refs/heads/master
2016-09-05T13:59:19.979083
2013-12-16T23:01:04
2013-12-16T23:01:04
15,236,779
3
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
from util import argparse from util.dataIO import DataIO import types def main(): ap = argparse.ArgumentParser() ap.add_argument('--data-file', dest='data_file', default="data/ECMWF_Global_2p5_20120203_0000.nc") ap.add_argument('--attributes', dest='attrs', action='store_true') ap.add_argument('--dime...
[ "djgagne@inspiration.som.nor.ou.edu" ]
djgagne@inspiration.som.nor.ou.edu
4f4e90e8a2bb951711bcb9406a2f4f64da3bc6f7
69c7799fc9c9e95bff1eee216acff01ca1ec7291
/src/MessagePassingMud/tests/test_map_display_functions.py
7c5252caf3347532c9af32286c76c0f922ae24fc
[]
no_license
shmup/another-python-mud
dd00cee20f2c6b254a248209b9f9e373412a8b3a
e00d81a155843051275ec422405f738f6371e08a
refs/heads/master
2020-04-06T03:42:20.675288
2013-02-11T01:25:26
2013-02-11T01:25:26
33,741,076
1
0
null
null
null
null
UTF-8
Python
false
false
2,779
py
''' Created on Jun 23, 2012 @author: Nich ''' import unittest from tests.mocks.mock_game_map import GameMap import map.map_display_functions as map_gens class Test(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def testGenerateMakesCorrectS...
[ "n.aelick@gmail.com@064fba30-ca30-f24f-6896-8cc1a44160a8" ]
n.aelick@gmail.com@064fba30-ca30-f24f-6896-8cc1a44160a8
2066f374429d18ce1acef95a6e8d052ea5a17205
6fe242bd15b6484fe12db6799a7a792fd9e503ea
/prog3.py
9e5758adfb4b079ec6cee418d192d46b91cd4420
[]
no_license
AnushaAdla/OCR_To_Speech
a850236fd7f5c9f098af38772c8af45f01e45009
86d937d494b71c8435200c69111bd40b87119db3
refs/heads/master
2020-11-30T04:17:32.392972
2017-07-11T10:50:42
2017-07-11T10:50:42
96,871,536
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
import Image import pyttsx import pytesseract im = Image.open('a.jpg') print pytesseract.image_to_string(im) engine = pyttsx.init() rate = engine.getProperty('rate') engine.setProperty('rate',rate-30) engine.say(pytesseract.image_to_string(im)) engine.runAndWait()
[ "anusha.yadav.50999@gmail.com" ]
anusha.yadav.50999@gmail.com
bce0f6c70423222e21c2c95b9bbe84fa075d7ceb
5c548d7170a69113c7340eea0734e061e509edaa
/dns/attacker-dns/dgacollection/Ranbyus.py
a3049074822c076b859e1e93e8da383aba0a20e3
[ "MIT" ]
permissive
pierreeliseeflory/dga_hackathon
b58bd5199b746c5e410d560f193c5244c02dbe6a
80a31cb4ecd0a38b383c6acdcb49795acf832868
refs/heads/main
2023-06-23T09:50:22.909810
2021-07-04T16:45:27
2021-07-04T16:45:27
377,782,116
3
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
#!/usr/bin/env python3 from dgacollection.DGAMalware import DGAMalware """A few constants for the Ranbyus' DGA. The original code contains the TLD .org but it's never used due to a bug in the algorithm. """ tlds = ['.in', '.me', '.cc', '.su', '.tw', '.net', '.com', '.pw'] nb_domains = 40 uint_mask = 0xFFFFFFFF defau...
[ "pierre-elisee.flory@thalesgroup.com" ]
pierre-elisee.flory@thalesgroup.com
c37b008f819908a0c55fd5858ba0112036a39dc8
6b14ff06e5ec70c8213595b0fc623c125407e4db
/Coursera course An Introduction to Interactive Programming in Python/week 4/Quiz 4b-9.py
ddccc2e51c9800f97c4c681c5d6b14233f4161ee
[]
no_license
mymmym1/Python
7ff70750d714cfa1e0c729e5b3c133672f1aecf2
329d9464da44f3197f6033f518b2be9053be1568
refs/heads/master
2022-05-05T09:01:36.727921
2022-03-04T23:00:15
2022-03-04T23:00:15
144,877,163
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import simplegui a = 5 def keydown(key): global a if key == simplegui.KEY_MAP["space"]: a = a*2 print a def keyup(key): global a if key == simplegui.KEY_MAP["space"]: a -= 3 print a def draw(canvas): #text = str(a) canvas.draw_text(str(a), [120...
[ "noreply@github.com" ]
mymmym1.noreply@github.com
0c38900605baafbc66468be8b179b55caad9d3e2
e03e59d67c96c1afa0a1c76e62235a3e3f639976
/django_test7sangpum_exam/django_test7sangpum_exam/urls.py
0df11edfa6c35162ba1bb27fad7cc5209cac88cd
[]
no_license
kangmihee/EX_python
10a63484802e6ff5454f12f7ade7e277dbf3df97
0a8dafe667f188cd89ef7f021823f6b4a9033dc0
refs/heads/master
2020-07-02T00:23:05.465127
2019-09-03T07:49:46
2019-09-03T07:49:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
"""django_test7sangpum_exam URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, ...
[ "acorn@acorn-PC" ]
acorn@acorn-PC
74d9d462e821b53877b54326c9b3fcdc6186e434
c4702d1a06640555829b367852138cc93ba4a161
/dealer_sale_order/report/dealer_sale_order_dp_report.py
c8e2704dea9d21e634595e4ff5b1bf37fe55262f
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
1,945
py
import time from datetime import datetime from openerp.report import report_sxw from openerp.osv import osv from openerp import pooler import fungsi_terbilang from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, DATETIME_FORMATS_MAP import pytz from openerp.tools.translate import _ imp...
[ "rizal@portcities.net" ]
rizal@portcities.net
2c5d3417abb782cf5b18c0f180dd6513861adc06
251803cc600cd98cd6b8aff83f664823e43b93a3
/chamberlain/repo.py
43772413fe98dcdce8f992fdd2cb7267ab6385d9
[]
no_license
behance/chamberlain
328f919b9fdf290778e6b721fe061d8a5caf5b63
98912d4c548ee898a10789a23ebe0f2bae29edc2
refs/heads/master
2020-04-12T07:27:12.018140
2018-08-14T16:13:12
2018-08-14T16:13:12
25,706,881
1
6
null
2018-08-14T16:13:13
2014-10-24T20:33:40
Python
UTF-8
Python
false
false
313
py
def repo_hash(repo): return { "id": repo.id, "full_name": repo.full_name.lower(), "owner": repo.owner.login.lower(), "name": repo.name.lower(), "ssh_url": repo.ssh_url, "private": repo.private, "fork": repo.fork, "html_url": repo.html_url }
[ "heilong24@gmail.com" ]
heilong24@gmail.com
55808e8c80fa098decc7491efd02c753bde5c920
4beb01d4b80c857b8bb525930fc394650fe9157b
/devopsteam/wsgi.py
09adb55ce627fbe6a776c83de17c339c51d4f1f0
[]
no_license
hewendi/devopsteam
52c99bad523cf64dd9c5faf5bc0e701c197af78d
9b84dbc3e431a3abaa0ac10f3a6788554991fa35
refs/heads/master
2020-04-07T21:22:33.286794
2018-11-23T15:54:42
2018-11-23T15:54:42
158,575,418
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for devopsteam 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_S...
[ "627710332@qq.com" ]
627710332@qq.com
89e123beb4ec1f95633bb5373c04ca769c7422d5
904b71e153361110dad46a9bf204011adfeab429
/realtime_accl_graph.py
c4a718928dd84407bff9e3aa0c663816caf5d302
[]
no_license
MiyabiTane/BDM
dbe4c4de0910fa7519fdc2d4967c996e01462a04
841bed04bbaaae80b91dfd73259a74677f25820c
refs/heads/master
2020-09-06T07:39:50.374633
2019-12-20T14:50:53
2019-12-20T14:50:53
220,366,358
0
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
# -*- coding: utf-8 -*- """ matplotlibでリアルタイムプロットする例 無限にsin関数をplotし続ける """ from __future__ import unicode_literals, print_function import numpy as np import matplotlib.pyplot as plt import smbus import time def pause_plot(): plt.figure(figsize=(10,8)) plt.subplots_adjust(hspace=1) ax1 = plt.subplot(311) ...
[ "miyabitane@yahoo.co.jp" ]
miyabitane@yahoo.co.jp
5a90720befedbb099a4657c48ad943403c59b2bc
4ed8a6eaf38ac1f3470aadcbefd077970fa9f5bb
/tests/test_block.py
bb7d05c652f6d6a9c34d5e563f26ab67e4033cd3
[]
no_license
lynnagara/asdf
e144471bce789d312741fb21f351253b015fb1ae
4b971dbb9888871a3cc7f8fa86d8eca6a455a362
refs/heads/master
2023-03-22T04:46:13.959945
2021-03-07T07:56:24
2021-03-07T07:56:24
342,971,987
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from asdf.block import Block from asdf.wallet import Wallet from asdf.transaction import Transaction def test_create_block(tmp_path: str) -> None: sender = Wallet(50, f"{tmp_path}/wallet1_private.pem") sender.generate_key() recipient = Wallet(50, f"{tmp_path}/wallet2_private.pem") recipient.generate_k...
[ "lyn.nagara@gmail.com" ]
lyn.nagara@gmail.com
bf82709cb4790be647fcde76a74bc211689781bb
80a31cbc1f054fff376687a67d8f2ba4304d7d11
/LastFmImportPython/lastFMImportPython/src/LastFmImport/lastfm/mixin/_searchable.py
d10683d790c2101e0db2f7c4219133f8fd51255e
[]
no_license
Psykar/MM-LastFmImportPython
492098f230fd49491a2b80b080dc3c2423f864fe
97e83d48f83c0cd0372f4ed8df24a1b5bf30071c
refs/heads/master
2021-05-16T02:05:10.974845
2013-06-26T12:15:01
2013-06-26T12:15:01
5,386,652
3
6
null
null
null
null
UTF-8
Python
false
false
1,650
py
#!/usr/bin/env python __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>" __version__ = "0.2" __license__ = "GNU Lesser General Public License" __package__ = "lastfm.mixin" from lastfm.decorators import depaginate def searchable(cls): @classmethod @depaginate def search(cls, api, ...
[ "psyker7@gmail.com" ]
psyker7@gmail.com
ab388f793983f211a87b38848eb922961c385516
b6010878b98cc924bcafda43893e8ca1d375f4bb
/parser.py
a855ab1a133713966d57cc09d5575abd3b08e091
[]
no_license
pepijndevos/bobcat
7fc06e17dbec63750845bcd6b75465485bd9d07f
d4dea0b62c9fe9d4396be0d17f94d7a5bf289022
refs/heads/master
2020-03-26T03:36:02.603236
2018-09-01T14:38:27
2018-09-01T14:38:27
144,462,635
1
0
null
null
null
null
UTF-8
Python
false
false
6,296
py
from ply import lex from ply.lex import TOKEN tokens = [ # Identifiers 'ID', # constants 'INT_CONST_DEC', 'INT_CONST_OCT', 'INT_CONST_HEX', 'INT_CONST_BIN', 'FLOAT_CONST', 'HEX_FLOAT_CONST', 'CHAR_CONST', #'WCHAR_CONST', # String literals 'STRING_LITERAL', #'WSTRING_LITERAL', ...
[ "pepijndevos@gmail.com" ]
pepijndevos@gmail.com
e5014a33baed75b1011624424e0e8d9ab704bead
00a7724ed364d9afd8f05bd12086c8e14298a4d0
/src/pylibftdi/__init__.py
a03d50f7e018e297d4a2d6f15b7e9a92ec8ccc79
[ "MIT" ]
permissive
codedstructure/pylibftdi
647932ca4d191c4dd1e613b1baa77f559ab2f0fe
a48702817ed75f2b3bbf507a4e3dd323447d9303
refs/heads/main
2023-06-23T18:35:29.287367
2023-06-19T20:12:27
2023-06-19T20:12:27
270,433,015
17
8
NOASSERTION
2023-04-24T21:15:19
2020-06-07T21:08:03
Python
UTF-8
Python
false
false
1,698
py
""" pylibftdi - python wrapper for libftdi Copyright (c) 2010-2020 Ben Bass <benbass@codedstructure.net> See LICENSE file for details and (absence of) warranty pylibftdi: https://github.com/codedstructure/pylibftdi libftdi can be found at: http://www.intra2net.com/en/developer/libftdi/ Neither libftdi nor Intra2net...
[ "benbass@codedstructure.net" ]
benbass@codedstructure.net
2cd3f5e73dcdb3d8d9a81c95a9476ceabc3155f6
b4e0a42a53e8fc39bb8a0700b5e44ec6f261a173
/BRPSpectrum.py
055c3b50d65f38bb6642d9b4504e5b549e2f41a5
[]
no_license
rallured/PythonWorkspace
886792e51d6e32414af31bf10fa009ff70861c14
7ba4804d17e26b3c9aca5486fbb9d2004abda17c
refs/heads/master
2020-04-04T07:03:03.343212
2017-04-13T15:16:41
2017-04-13T15:16:41
31,608,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,074
py
from numpy import * from matplotlib.pyplot import * from gaussfitter import * from os import * chdir('/Users/ryanallured/Documents/Research/GEMS/AnalysisDocuments/PredictedSpectrum') vnoise = 50. vsat = 4000 field = .2 voltages = arange(0,5001,1) c = 25.720503401310726 brpres = c/sqrt(515.) alkres = c/sqrt(1500.) b...
[ "rallured@BEAST.cfa.harvard.edu" ]
rallured@BEAST.cfa.harvard.edu
27456c5262db06b8bef96281690b636ec91d8907
073c2fd73875ce4e7d061623b8403f8d77c45d92
/cohesity_management_sdk/models/restore_app_task_state_proto.py
10ff0ddfb0d0caef8f2dea7883811f228b6e1723
[ "Apache-2.0" ]
permissive
naveena-maplelabs/management-sdk-python
b11441b2edccc5a1262785bd559ad4b3ea984c3b
06ce4119d955dc08cdbc5109c935afcfcd9d65ab
refs/heads/master
2021-05-20T10:52:12.776816
2020-03-10T03:28:08
2020-03-10T03:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
# -*- coding: utf-8 -*- # Copyright 2020 Cohesity Inc. import cohesity_management_sdk.models.restore_app_params class RestoreAppTaskStateProto(object): """Implementation of the 'RestoreAppTaskStateProto' model. TODO: type model description here. Attributes: app_restore_progress_monitor_subtask_...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
79d3e025a51a44089c34e49afee2ef2ed71f3baa
5cb57af428a6d2d70009564cdcbdb2ea9ec270cd
/sopel/modules/py.py
56b011c2d374c4184dee065270ec68aeddf4ccc6
[ "EFL-2.0" ]
permissive
HumorBaby/sopel
47ee8aace20589e3222bed998f61537071d7f647
c78d85197538ac4d74389ce1ebe48a67c9c55978
refs/heads/master
2021-08-17T08:39:07.496732
2020-05-01T08:35:45
2020-05-01T08:35:45
154,736,338
1
0
NOASSERTION
2018-10-25T20:54:32
2018-10-25T20:54:32
null
UTF-8
Python
false
false
2,074
py
# coding=utf-8 """ py.py - Sopel Python Eval Module Copyright 2008, Sean B. Palmer, inamidst.com Licensed under the Eiffel Forum License 2. https://sopel.chat """ from __future__ import unicode_literals, absolute_import, print_function, division from requests import get from sopel import module from sopel.config.typ...
[ "dgw@technobabbl.es" ]
dgw@technobabbl.es
6fed5c9181026588187864d16944ede39fe3a6b1
7c3b77af326723f353f5626f113111ba42ce45bd
/cython/py_src/myLib1.py
5a07a9d43aedb7eb3ef90a17a78feaca1013d2d6
[]
no_license
ianhzhang/learning
143ed501d90ef20ef99a934bae066d8063b4f794
42d9c4da6da1b34844ee94379576feb6337d3271
refs/heads/master
2023-01-08T02:58:21.209957
2021-03-11T01:44:56
2021-03-11T01:44:56
144,384,263
1
0
null
2023-01-07T13:24:15
2018-08-11T12:41:38
Go
UTF-8
Python
false
false
34
py
def hello1(): print "Hello1"
[ "ianhzhang@gmail.com" ]
ianhzhang@gmail.com
5a786bc2c3f6ec720f4933c3aedb67c3c726460b
3c664fc7cb34da423d446a5928c2bf950baa042f
/blog/migrations/0015_auto_20190724_2121.py
8ec22fe20075f64722f3f5bd50b207ba687cbaf8
[]
no_license
BG-98/weblogg-ed
75a07a01e0fc72bfd53b6e450212677306282e76
46dec9fcb46f457823f6ea6333d724698545e331
refs/heads/master
2022-11-30T11:41:46.466150
2019-07-28T12:49:38
2019-07-28T12:49:38
199,277,364
0
1
null
2022-11-26T04:41:33
2019-07-28T11:13:48
Python
UTF-8
Python
false
false
412
py
# Generated by Django 2.2.3 on 2019-07-24 15:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0014_auto_20190724_2116'), ] operations = [ migrations.AlterField( model_name='post', name='image', ...
[ "bhanvi.goyal98@gmail.com" ]
bhanvi.goyal98@gmail.com
ffdc4174189e4f4f021d888485f0c450083c9439
b25549b3b1b8a64d0e903fe074ac995551a63668
/Codeforces/520A.py
0689d7f3b353cf40f2b4ceba1266a7d576da20e3
[]
no_license
niketanrane/CodingDecoding
06dd7bb92c5d083216df21da16a70d1c351554a0
4318b3eef42370a2320d0a8ac5e823e7961cc74b
refs/heads/master
2021-07-24T07:21:12.336868
2018-12-05T01:22:17
2018-12-05T01:22:17
141,040,310
0
0
null
2018-11-15T15:42:52
2018-07-15T16:03:05
C++
UTF-8
Python
false
false
155
py
if __name__ == "__main__": n = input() str = set(input().lower()) if len(str) == 26: print("YES") else: print("NO")
[ "noreply@github.com" ]
niketanrane.noreply@github.com
5ce18680e043497799a69dc6331ef8a435a2b7bf
bd1c7f51aaa6ed8aeeefcc8ba2852710cff4e7a5
/courses/migrations/0010_courserequest.py
00b7ec563e2e7d7ae2d2b75a3421b03a0f02bb2c
[]
no_license
Toques/uci_websoc_tracker
592514c1d43510d43e4842752a80a0f1b4f266ed
bca501497b430250d5e55fd69b7202d3a1654895
refs/heads/master
2021-01-17T06:53:22.968783
2016-07-23T21:16:39
2016-07-23T21:16:39
54,759,338
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-23 19:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('courses', '0009_auto_20160621_2036'), ] operations ...
[ "calvinwong8@yahoo.com" ]
calvinwong8@yahoo.com
73284b28278fbe9f7203d0f56cdfbf8b4ec36f38
eac5631b46e9c5669e236007cd1118af54c55a52
/maths.py
01f119b9ebdc1f54a8022cbe6912d8673818b51c
[]
no_license
Slugger70/Bootcamp
6ec62726264ef13101cfaad429aee9d149e61f4d
f0213eceba101df4ce1e55e1ce66b6657906def8
refs/heads/master
2020-05-29T14:11:06.439994
2013-10-02T06:25:49
2013-10-02T06:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#Create a file called math_example.py # choose a three-digit number, save it as the variable "a" a = 128 print a # multiply by 80 #add 1 # multiply by 250 # choose a four-digit number that ends in 0, save it as the variable "b" b=10 print b # add it twice to the result # subtract 250 # divide 2 # print the result print...
[ "charlotte.anderson@unimelb.edu.au" ]
charlotte.anderson@unimelb.edu.au
9ba6a29c9bca6d480329a33582341c51f26bc30b
b1d9e75c07cea7498e4fe8b113a23c55f89292be
/leaflet_storage/base_models.py
3a0c88e106127c6ad9d83fd7d8442328999c274d
[ "WTFPL" ]
permissive
FranciscoDS/django-leaflet-storage
9dfdbb5e579431e0af70d0578fa55efe909093e3
b69f0bb5a1848f743d50b0ec1f76b8ac3216c497
refs/heads/master
2020-12-24T13:20:42.757136
2013-03-10T21:33:55
2013-03-10T21:33:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,693
py
# -*- coding: utf-8 -*- from django.contrib.gis.db import models from django.db.models import get_model as dj_get_model from django.conf import settings from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.utils.translation import ugettext as _ from .fields import DictF...
[ "yb@enix.org" ]
yb@enix.org
4283b41950aa9f597d4284b8d394afbf299daea4
b05c4c300e2f6cc6af99da97173e20aaa3f0ed10
/accounts/urls.py
b074a976dd83527d5f9c6ba3ab523fea25bb0f5a
[]
no_license
ChristinaDRoberts/Efficient-Emergency
ae3cc405450a09165d5dc8302c36f62d723fa9d9
9967edb8d04c6a8b3da5d7c96e6709eee159b8db
refs/heads/master
2022-12-15T03:17:48.823422
2021-04-08T14:15:53
2021-04-08T14:15:53
174,886,785
0
0
null
2022-12-08T04:59:20
2019-03-10T22:05:07
JavaScript
UTF-8
Python
false
false
484
py
from django.contrib.auth.views import LoginView, LogoutView from . import views from django.urls import path from .views import MarketingView app_name = "accounts" urlpatterns = [ path('', MarketingView.as_view(), name="index"), path('login/', LoginView.as_view(template_name='registration/login.html'), name="log...
[ "Christinepeninsula@hotmail.com" ]
Christinepeninsula@hotmail.com
d3fd8759143553d27047922048b584d72c658ecd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2019_04_11_02_04_35_965689.py
1d72b19e863e45f9715f26e5fa15712c131d7587
[]
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
127
py
import math def calcula_gaussiana(x,mi,sigma): Y=1/(sigma*(2*math.pi)**1/2)*(math.exp(-0.5*((x-mi)/sigma)**2)) return Y
[ "you@example.com" ]
you@example.com
227ea3743321bec1ade4e600ce13eae5358619ab
64d501ad51e6f2b076e62b5652cb49aa28033f61
/accounts/views.py
487680de350e4135605331695fc07c6f846d9796
[]
no_license
macnaer/Estate
2f691b998045a429e5ee3c534b2fa1935f756470
5bc10efeaf451a3a0d0b7a080be1adb1b9d4456a
refs/heads/master
2021-02-19T04:33:01.370495
2020-05-12T08:54:49
2020-05-12T08:54:49
245,277,062
1
0
null
null
null
null
UTF-8
Python
false
false
2,245
py
from django.shortcuts import render, redirect from django.contrib import messages, auth from django.contrib.auth.models import User def register(request): if request.method == 'POST': first_name = request.POST['first_name'] last_name = request.POST['last_name'] username = request.POST['us...
[ "trofimchuk.an@gmail.com" ]
trofimchuk.an@gmail.com
da11020b435ef73254020efea1ae2d179b0238be
f7b4b203b0d2729f1bb456ba2f0118a55734a46b
/fungsi.py
b6f6abc30d77744d020492df28c5eba93b829c88
[]
no_license
miftahulkhair32/python
f402c6f802dc4fb1ce259e4cf2a7f4e6902a7b77
f10a069bbd0717eab25a9367ec633a1dc8f43c0e
refs/heads/master
2020-03-15T17:13:08.627127
2018-05-07T04:38:07
2018-05-07T04:38:07
132,254,419
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
def salam(): print ("assalamu'alaikum") def sapa(nama): print ('apa kabar '+nama+'?') def selamat(waktu="pagi",nama='eef'): print ('selamat '+waktu+', '+nama) def kabar(nama): print ('hallo '+nama+' bagaimana hari ini?') nama = raw_input('masukan nama anda : ') #menjalan fungsi salam() sapa(nama) s...
[ "miftahul.khair.k.r@gmail.com" ]
miftahul.khair.k.r@gmail.com
c477c1338273b6757adf50fb02167e6cc81c5192
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba3638.pngMap.py
2a662be28a2e2003287a7c148ccf7bb84271f63c
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba3638.pngMap = [ '11111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111110100111111111111111111111111111111', '11111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111110000001111111111111111111111111111', '1111111111111111111111111111111111111...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
6bd1f2bc68019e1590617081c2dfb73640bb62f3
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/mindspore/python/mindspore/ops/_op_impl/aicpu/sparse_cross.py
33209f2542379298e1cb276db73ab99aca4117c0
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
Python
false
false
2,409
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "1539890764@qq.com" ]
1539890764@qq.com
33fe86c730a3e0c00be1c811258b61ee49952ed2
7465bb03b584bff466c0169c363af9d5231376b9
/bisection_search.py
d53c2d3efe6e2a7a2f73393a1cb8b656a6e7ec78
[]
no_license
narulapuneet/MIT.6001
ee50233f6eaaebe8a60e826b931ba8d4306f0c4c
695713d98f30f02318ff992dde2c9d10c10b530a
refs/heads/master
2021-01-21T18:38:57.080621
2014-09-29T05:10:51
2014-09-29T05:10:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
''' We can use the idea of bisection search to determine if a character is in a string, so long as the string is sorted in alphabetical order. First, test the middle character of a string against the character you're looking for (the "test character"). If they are the same, we are done - we've found the character we'r...
[ "kiemnguyen@gmail.com" ]
kiemnguyen@gmail.com
cb970200d41ae02ac8af2dcd141947007c3de70d
0a5e8bd5d1291afdb99bb5682611c9ddabacefe7
/LSCSM.py
88c70fd0922c7a58911929514aa7bef344193ab5
[]
no_license
antolikjan/topographica-contrib
f89374e95d741ca1b7fad708be575bd705be79e0
3842e33811821dca58258b00442d6928b6804f7f
refs/heads/master
2020-12-12T21:01:01.699128
2014-05-23T14:57:49
2014-05-23T14:57:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,494
py
from scipy.optimize import fmin_ncg, anneal, fmin_cg, fmin_bfgs, fmin_tnc, fmin_l_bfgs_b import __main__ import numpy import pylab import sys sys.path.append('/home/antolikjan/topographica/Theano/') import theano theano.config.floatX='float32' #theano.config.warn.sum_sum_bug=False from theano import tensor as T from t...
[ "antolikjan@gmail.com" ]
antolikjan@gmail.com
75ccc01b6e067fcde9efd423021aafdb0f512457
719e4db471878d21989df2827b3bc5053e9c7f47
/video_transcriber/video_transcriber/settings.py
18c1f4547a938187cdfe782aef01860baffcd4b5
[ "MIT" ]
permissive
KappaLambda/video-transcriber
fa540396f04d45312cfec8f520d81d359f85fccb
92318b686a1e7c3e354a5fd5153c2cab9083978d
refs/heads/master
2022-11-11T09:31:03.380983
2020-06-28T12:53:11
2020-06-28T12:53:11
275,583,475
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
""" Django settings for video_transcriber project. Generated by 'django-admin startproject' using Django 1.11.2. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
[ "liopetas.kostas@gmail.com" ]
liopetas.kostas@gmail.com
f3da8c4d53071d8c278222a1990f9e438c3423e9
473b536cf4544494fbc9621845ac0815313bb873
/2015/csaw_hackingtime.py
010923c28f23dc87c7d36ade6101754eb0c0d7a6
[]
no_license
Trietptm-on-Coding-Algorithms/writeups
65c2df283c4a95c5c52128ab5054241094aaf196
7c7d99be149292d2a5edf89cf2f1566930fb7972
refs/heads/master
2020-03-21T05:17:50.680586
2016-03-21T14:02:37
2016-03-21T14:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from z3 import * table1 = [0x70, 0x30, 0x53, 0xA1, 0xD3, 0x70, 0x3F, 0x64, 0xB3, 0x16, 0xE4, 0x04, 0x5F, 0x3A, 0xEE, 0x42, 0xB1, 0xA1, 0x37, 0x15, 0x6E, 0x88, 0x2A, 0xAB] table2 = [0x20, 0xAC, 0x7A, 0x25, 0xD7, 0x9C, 0xC2, 0x1D, 0x58, 0xD0, 0x13, 0x25, 0x96, 0x6A, 0xDC, 0x7E, 0x2E, 0xB4, ...
[ "ocean.kuzuri@gmail.com" ]
ocean.kuzuri@gmail.com
8c9c4aa7dc6660e1d62bd83843da6e885eb997db
a2af05c5e87c05e02da3ad886867882fab012fdb
/manage.py
420f864c7a220b10b554b3aca7c34959a80c747b
[]
no_license
Azizul-arif/consula
3ebc23f6a7a35b902cc1b30ccb1582c0f9ebffd7
e632d39fe634b2aba3aba51fbc85fea0e5ed948f
refs/heads/main
2022-12-25T15:15:06.190784
2020-10-04T20:39:25
2020-10-04T20:39:25
301,222,814
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ideatree.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "azizularif94@gmail.com" ]
azizularif94@gmail.com
3e5b0ba83f75b854bad02097f5a41b1eb1fa092c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/429/usersdata/321/104630/submittedfiles/jogoDaVelha_BIB.py
ef680987742f43f7773f7fd8ccbe646aa5e714c4
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# -*- coding: utf-8 -*- # COLOQUE SUA BIBLIOTECA A PARTIR DAQUI import random tabuleiro =[ [1,1,1], [1,1,1], [1,1,1]] def nome(): nome = str(input('Qual seu nome? \n')) return nome def simbolo(): s = str(input('Qual símbolo você deseja utilizar no jogo? (X ou O) \n')) while s != 'X' ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5842556f149148ca25bc7e498def77472c40e1b1
21f23ecef279a70b5cad843cc96430935c45e4ff
/env/bin/wheel
266c7aa09739d4c4f5a215fa497a165bac018029
[]
no_license
PingChihShih/WifiOrderingSystem
d388828aae49ed4ce7255a48e24de9126ce31539
0de50804607700c36cdf827f4533b248acd9084a
refs/heads/master
2020-03-19T04:55:51.707623
2018-11-13T11:16:03
2018-11-13T11:16:03
135,882,798
0
2
null
2018-06-18T00:46:04
2018-06-03T07:24:13
CSS
UTF-8
Python
false
false
255
#!/Users/Jonah/2018Spring/WifiOrderingSystem/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "b03902085@ntu.edu.tw" ]
b03902085@ntu.edu.tw
e05f017bf8b3f62820b45ff9151749491fee423e
10d08b2531672de54d924fec6654a978cb082055
/fos/actor/polygonlines.py
31b4955bed4b6a56f181ca6606143957e9376dcc
[ "BSD-3-Clause" ]
permissive
arokem/Fos
05afa04f05ba3b0585e38dfa79ec7ae4332ec8f9
5066bbd74954ba7e60eeb06451f3a25ef1b291e2
refs/heads/master
2021-01-18T15:59:59.905221
2011-08-15T14:16:50
2011-08-15T14:16:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,855
py
import scipy.spatial as sp import numpy as np from fos.lib.pyglet.gl import * from fos import Actor from fos.core.intersection import ray_aabb_intersection class PolygonLines(Actor): def __init__(self, vertices, connectivity, colors = None, affi...
[ "git@unidesign.ch" ]
git@unidesign.ch
4462ea3efeecce8d5c1d79939989e2e654243b75
484401a97fa310a048d9299d3fcb6c461d55f75c
/psico_api - Modified/paciente/migrations/0003_auto_20200324_1516.py
1b1fe9f880122f8c247b536786d2a73892c0abe4
[]
no_license
mathFaino/aplica-o
9d7e7eefda50add7444c1db8b703889487f985bf
2eb3aa6067edbb47bde37cf70013b5ee899d4764
refs/heads/master
2022-11-07T19:57:04.127873
2020-06-22T22:42:43
2020-06-22T22:42:43
274,256,605
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 3.0.3 on 2020-03-24 19:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paciente', '0002_auto_20200324_1516'), ] operations = [ migrations.AlterField( model_name='paciente', ...
[ "matheusmrqfaino@gmail.com" ]
matheusmrqfaino@gmail.com
05c1003a76aac5b4694c9fbf82b45a11a9419682
a5044a9a60b34f0701f2848dc3e7f799366df1cd
/jianzhi/10.矩阵覆盖.py
32d735dffa27d796be13d8318ba206cbafabf8af
[]
no_license
chengsong990020186/leetcode
ec060250e5bbd44919324e25713637ccafac8832
6824e73b105287e04e7dce5514f361f8a47fa42c
refs/heads/master
2020-06-20T15:54:09.500624
2019-08-12T15:07:16
2019-08-12T15:07:16
197,168,993
2
0
null
null
null
null
UTF-8
Python
false
false
461
py
# 矩形覆盖 # Q: 我们可以用2 1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2 1的小矩形无重叠地覆盖一个2 * n的大矩形,总共有多少种方法? # A: 依然是斐波那契数列的变形。代码参考跳台阶。 class Solution: def rectCover(self,n): if n>=0 and n<=2: return n while n>2: return rectCover(n-1)+rectCover(n-2) Solution().rectCover(10)
[ "990020186@qq.com" ]
990020186@qq.com
a4a434e1abbb243fe9c141b2cd61b361631bc774
55ceefc747e19cdf853e329dba06723a44a42623
/_CodeTopics/LeetCode/1-200/000012/000012.py
34382f7be371ec1d8887db2f2cda6c7f0cd89365
[]
no_license
BIAOXYZ/variousCodes
6c04f3e257dbf87cbe73c98c72aaa384fc033690
ee59b82125f100970c842d5e1245287c484d6649
refs/heads/master
2023-09-04T10:01:31.998311
2023-08-26T19:44:39
2023-08-26T19:44:39
152,967,312
0
1
null
null
null
null
UTF-8
Python
false
false
1,035
py
class Solution(object): def intToRoman(self, num): """ :type num: int :rtype: str """ res = "" nums = [1000, 500, 100, 50, 10, 5, 1] letters = ["M", "D", "C", "L", "X", "V", "I"] i = 0 flag = 0 while num > 0: if num >= num...
[ "noreply@github.com" ]
BIAOXYZ.noreply@github.com
0b4a57e2c4406bc842afbb51d1af24fa8827b28f
a0ddf78fbd6e3bc2b19f61efd92c19dc56a0d244
/Crash-Review-Dashboard/Project/CrashReviewDashboard/scripts/getCurrentRelease.py
f19a44d2bcc148290379e01b221cbc6ba0f8366b
[]
no_license
YasinYan/Get_Data_From_Fabric
6f2e3984ed47353ede4541ffbfefffe93ad9e6f1
ff47f5c0dabcbc86d3ac4f5a62b0c620ec127f96
refs/heads/master
2020-04-09T22:24:59.429990
2018-12-06T06:40:25
2018-12-06T06:40:25
160,627,414
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
import json import requests from datetime import datetime import datetime import time from sys import argv and_country_externalId_dict = { 'Kijiji CA': '5925d905f08b0a6fddef6f3a', 'Gumtree AU': '5925cf3cf08b0a7026ef6f14', 'Gumtree ZA': '5925d8e0a1954846ff3d15f5', 'Vivanuncios MX': '5925d94f96046a6689f...
[ "xyan1@ebay.com" ]
xyan1@ebay.com
f8263fce1022401c35d34194ee83daa1c1b44e88
37da78d6aacc68560a0bee5e096f6d6e19dfb95c
/Data/Program/Format tables/format_tables.py
24de40bd3abf2f75e3727b2b3ab9bf2156496587
[ "BSD-3-Clause" ]
permissive
skeie/Master-Thesis
d012aa32b977f0caa9cfb2b2517f25df77ee162f
01a9c9d91825467d3114cc54757000e708fdd607
refs/heads/master
2021-03-24T12:52:53.021067
2014-04-21T06:22:41
2014-04-21T06:22:41
12,782,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
import sys list = [] def splitVariable (var): if "*" in var: tempz = var.split("*") return float(tempz[0].strip()) else: return float(var) def stars(tempz): tempz = tempz.split("*") if len(tempz) == 2: return "*" elif len(tempz) == 3: return "**" else: return "" output = "" with open(sys.argv[1...
[ "trulsske@iterate.no" ]
trulsske@iterate.no
59029991ec309dee2596e61a9df8c5a7e0c966db
ad089f5039ad473b10cf44fa5170de6a9e67756d
/start.py
29fb7ccfe55938d4c25d7303dffa35792a0b317f
[]
no_license
PythonStriker/Douban
087818eac1c5bbb876609ff9731b856945f47bb6
181da2cb692c42285cb52666c30fbf0fccbe8af3
refs/heads/master
2022-07-03T08:25:20.402991
2020-05-14T14:54:31
2020-05-14T14:54:31
263,943,784
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
from scrapy import cmdline cmdline.execute("scrapy crawl douban_book".split())
[ "593601399@qq.com" ]
593601399@qq.com
94886e22a874eb61b44527859bfc9d892f2a3a63
590ca008f00869276f29ac6d3e1da6d82778584b
/api/migrations/0002_auto_20200912_1756.py
67e55400c5f0ab5a54f1f574bc1b2662f7dd7417
[]
no_license
sali73/Donuts_App
92b1226cf97968481c7be15588204c3aee6151e3
75911b8523cbe0792c7550466f1cedeba7ae01a6
refs/heads/master
2023-01-13T07:43:25.681619
2020-11-26T01:51:39
2020-11-26T01:51:39
293,178,428
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# Generated by Django 3.0.7 on 2020-09-12 17:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='qty', field=mod...
[ "sally.elgendy@hotmail.com" ]
sally.elgendy@hotmail.com
80c7c64f7b2a4198553c6a348071abcd99c2300d
c97d9505fe360aad165ca5e8a08d4109209a3110
/capstone/settings.py
3e2b78fd239eafd45ee3f48ab1f64ef848f548d4
[]
no_license
bugiss656/capstone
8ca9b335b68ad6380ffab98da3d99274d05f0aa2
9c0fac17ec6e26acf32a91b465ac2dc3b2bf40ca
refs/heads/main
2023-02-26T21:59:59.362380
2021-02-05T20:17:37
2021-02-05T20:17:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
""" Django settings for capstone project. Generated by 'django-admin startproject' using Django 3.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/ """ from pathlib ...
[ "mbugiel656@gmail.com" ]
mbugiel656@gmail.com
d0ca2278af93cf0521f1a71d22dd494b20804760
ea48ef0588c104e49a7ebec5bd8dc359fdeb6674
/api/snippets/serializers.py
802503d73cf66c4cf043190921ed0e2be369d0ef
[]
no_license
Jizishuo/django--text
c0d58d739ef643c7f3793fbead19302778670368
152a5c99e7a16a75fda2f1f85edcfdce9274c9c2
refs/heads/master
2020-04-01T10:39:18.131551
2018-11-18T13:31:59
2018-11-18T13:31:59
153,125,799
1
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
from rest_framework import serializers from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES class SnippetSerializer(serializers.Serializer): # 它序列化的方式很类似于Django的forms id = serializers.IntegerField(read_only=True) title = serializers.CharField(required=False, allow_blank=Tr...
[ "948369894@qq.com" ]
948369894@qq.com
7e77b6dd2286b4dc252221c40b6c29436ce6a3de
4af3afd2471ec89c3bbe14adba8f87fe400f5598
/numpy/numpy_demo.py
4aa8e8b196a3bf685026495a1ce634eeeeeca068
[]
no_license
guanguanboy/TestPytorch
a912b64d1e7c1df93a66032e4d411e2da82523c6
52fe23bae05027a5a725cb1d028954c5b5597e9a
refs/heads/master
2023-07-16T15:28:14.257183
2021-08-29T04:04:11
2021-08-29T04:04:11
295,422,137
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
import numpy as np a = np.array([1, 2, 3, 4, 5]) a[a > 3] = 0 print(a)
[ "517445163@qq.com" ]
517445163@qq.com
8852b310a9bfbd510a16df3ba0e986f59067e092
190302f0f22aefbdfdb0f935d6ba905167fa23f0
/mas_cob_planning/mas_cob_actions/mas_cob_manipulation_actions/mas_cob_tray_actions/ros/scripts/move_tray_action_client_test
24a1c2592e9cbf6ad71c52c3d368e94adb434ab6
[]
no_license
b-it-bots/mas_cob
cc4140af3ef10e53ed061e9318cd0530757a54fb
ce678d638b70b9f72cb64311a704ba3ae6715e6b
refs/heads/kinetic
2021-03-19T12:31:07.542276
2019-05-22T18:05:09
2019-05-22T18:05:09
122,046,997
0
3
null
2019-05-22T18:05:10
2018-02-19T10:26:21
C++
UTF-8
Python
false
false
1,269
#! /usr/bin/env python import sys import rospy import roslib import actionlib from mas_cob_move_tray_action.msg import MoveTrayAction, MoveTrayGoal def print_usage_info(): rospy.loginfo('usage: move_tray <direction>') rospy.loginfo(' where <direction> can be either up or down') if __name__ == '__main_...
[ "aleksandar.mitrevski@h-brs.de" ]
aleksandar.mitrevski@h-brs.de
597729db2395e0741468dceb0cc5962edacff0a4
b22525ec160a803e8c3489615ec1d24b0f00a0fe
/venv/bin/easy_install
a60d8c1ea6cc8d9a55591c9e25fb0e120a180500
[]
no_license
shahid37/Django_Framework_practices
fc967b250e13adb130ebfff3682df7dd4cdc05b8
1c928ba62ca5c7d88633a58ea8e6730402fad52e
refs/heads/master
2020-05-25T22:54:18.221108
2019-05-23T08:15:45
2019-05-23T08:15:45
188,023,263
0
0
null
null
null
null
UTF-8
Python
false
false
442
#!/home/shahid/PycharmProjects/textutils/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$',...
[ "happyshahid37@gmail.com" ]
happyshahid37@gmail.com
0dbb1b1f5680418db002a7cb9e2066fff0bde792
79c97be71e09cc4411bde815aab38b05d4e7abff
/venv/Scripts/easy_install-3.8-script.py
e53518131075d934e6bf8ea9ca1ab57d492fd67c
[]
no_license
lirff/Cropio
1272ee8f08f50ca8c804e123a3a9f433e1ea3bcb
5c2eeff90246753643d2df2a14687125528382b9
refs/heads/master
2022-10-04T03:17:47.900454
2020-06-08T10:41:26
2020-06-08T10:41:26
270,629,078
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!C:\Python\PycharmProjects\Cropio\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "62636896+lirff@users.noreply.github.com" ]
62636896+lirff@users.noreply.github.com
29412168a35029446a3f8458bcf3b90a9ca5c7bb
12a5b72982291ac7c074210afc2c9dfe2c389709
/online_judges/Codeforces/228/E/code.py
df84b84afc6501c45b644b377d5dc32fca5c6d4c
[]
no_license
krantirk/Algorithms-and-code-for-competitive-programming.
9b8c214758024daa246a1203e8f863fc76cfe847
dcf29bf976024a9d1873eadc192ed59d25db968d
refs/heads/master
2020-09-22T08:35:19.352751
2019-05-21T11:56:39
2019-05-21T11:56:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
n = int(raw_input()) ciel = 0 jiro = 0 maxValues = [] for x in xrange(n): l = map(int,raw_input().split()) if (l[0] % 2 == 0): for i in xrange(0,(l[0])/2): ciel += l[1 + i] jiro += l[l[0]/2 + i + 1] else: for i in xrange(0,((l[0])/2)): ciel += l[1 + i] jiro += l[(l[0])/2 + i + 2] maxValues.appe...
[ "mariannelinharesm@gmail.com" ]
mariannelinharesm@gmail.com
93c273213951364bf0dc218dfb1b072c7abfda6e
006361de388b84c07477ab1c69ef6cea86046393
/剑指Offer66/65.矩阵中的路径.py
fc2dfd704110b23237f6d42ff7d7895ca9016e43
[]
no_license
huigoing/algorithm
51e366398b89d92ef20176c836185ceef1218cdb
a9b561d6aa334c4a936c7ac775a35e80569c5bd4
refs/heads/master
2023-01-24T13:28:27.797997
2019-09-01T08:07:19
2019-09-01T08:07:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 1 15:22:14 2019 @author: Tang """ ''' 题目描述 请设计一个函数,用来判断在一个矩阵中是否存在一条包含某字符串所有字符的路径。 路径可以从矩阵中的任意一个格子开始,每一步可以在矩阵中向左,向右,向上,向下移动一个格子。 如果一条路径经过了矩阵中的某一个格子,则之后不能再次进入这个格子。 例如 a b c e s f c s a d e e 这样的3 X 4 矩阵中包含一条字符串"bcced"的路径,但是矩阵中不包含"abcb"路径,因为字符串的第一个字符b 占据了矩阵中的第一行第二个格子之后,...
[ "201923668@qq.com" ]
201923668@qq.com
a9c8c88180249969cff26aeb304d575a5691efdc
bc441bb06b8948288f110af63feda4e798f30225
/app_store_sdk/model/resource_manage/filter_strategy_pb2.pyi
c7feb66ed7c223ea9ba231ff3e42ab314f2b82d4
[ "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
5,421
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from app_store_sdk.model.console.cmdb_query_strategy_pb2 import ( CmdbQueryStrategy as app_store_sdk___model___console___cmdb_query_strategy_pb2___CmdbQueryStrategy, ) from app_store_sdk.model.resource_manage.filter_condition_group_pb2 import (...
[ "service@easyops.cn" ]
service@easyops.cn
1fecc0c4d13d877ece282bd2a8ebf7d6f3d6fde6
5158d2aa9839dcf80340ef369db7eada19f3ff8b
/test.py
1fe2fcc807e3f3e645ccd632e01c386ea08a6bad
[]
no_license
andrewsmedina/flh-pvcloud
31de2e5734a6f91db4c618fa20759300e2930596
1799b17039dde004461982466f58cc464e6488b8
refs/heads/master
2021-01-11T03:39:57.926994
2016-10-13T03:56:46
2016-10-13T03:56:46
71,403,725
0
0
null
2016-10-19T22:14:25
2016-10-19T22:14:24
null
UTF-8
Python
false
false
1,691
py
#!/usr/bin/env python import os import sys import django import json def test_pvs_energy_daily(): from pvs.models import Energy #pvs_serial = '0000000097894c9b' pvs_serial = '00000000f6392e07' pvs_en_daily = Energy.get_energy_daily_output(pvs_serial) result_list = [] for entry in pvs_en_...
[ "lee.shiueh@gmail.com" ]
lee.shiueh@gmail.com
67df998e15aaf63b368447b166ddfc3cd29f7411
60d0252aabe5d929af8c94cdddd502605e7bafdd
/crawler_novels/www.ck101.org.py
4946797433701f255fa0933a31a2593df36791fe
[]
no_license
SlovEnt/Web_Craler_Series
ead253b56f99bcd0bac33c2a66d226673c7f68fe
9f77858826254d6631486f4770760e9e78baea68
refs/heads/master
2020-06-09T23:30:38.984620
2019-09-13T13:55:02
2019-09-13T13:55:02
193,528,032
0
0
null
null
null
null
UTF-8
Python
false
false
5,238
py
# -*- coding: utf-8 -*- __author__ = 'SlovEnt' __date__ = '2019/6/24 22:07' import time import os from bs4 import BeautifulSoup from collections import OrderedDict from chs_tools.get_html_page import get_html_all_content, chrome_get_html_all_content from chs_tools.print_log import C_PrintLog from chs_tools.param_info ...
[ "slovent@163.com" ]
slovent@163.com
e95147eb86b47413be4c0af28598db219b730732
f5a53f0f2770e4d7b3fdace83486452ddcc996e1
/env3/lib/python3.6/site-packages/django_tables2/columns/linkcolumn.py
adf587625eda5d92ecd166bee5d301e54ef9251c
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
fireman0865/PingBox
35e8fc9966b51320d571b63967e352a134022128
0f00eaf88b88e9441fffd5173a1501e56c13db03
refs/heads/master
2023-01-20T07:55:59.433046
2020-03-15T13:36:31
2020-03-15T13:36:31
247,466,832
1
0
Apache-2.0
2022-12-26T21:30:32
2020-03-15T12:59:16
Python
UTF-8
Python
false
false
6,118
py
from .base import Column, library class BaseLinkColumn(Column): """ The base for other columns that render links. Arguments: text (str or callable): If set, this value will be used to render the text inside link instead of value. The callable gets the record being rendered...
[ "fireman0865@gmail.com" ]
fireman0865@gmail.com