blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
a553fa36ec58507d0007583c057fe7610606dc55
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/Nyspider/www.ukers.cn/ukers.py
e92d125aff6d9367e604e49ebd06fccde217d7bb
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
18,022
py
import requests from bs4 import BeautifulSoup import json from PyQt5 import QtCore, QtGui, QtWidgets import time import datetime class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1102, 733) self.centralWidget = QtWidgets.QWi...
[ "2397955090@qq.com" ]
2397955090@qq.com
9dceb1c120d54fd28545a8cb89ddaa77f569dcfe
87464da8dafe98587862269c7a93402ce87744fa
/pyscappe.py
fdf77afcd4904f26a5df1c684de96cd24f8f651b
[]
no_license
theharisshah/login-linkedin-script
e2001aa5b3d6e623b2e9522b61de81bcae3667aa
ad211fd80401f9a2840fa8fef3b2350fc5cdae53
refs/heads/master
2020-09-15T11:06:58.613088
2019-11-22T15:22:16
2019-11-22T15:22:16
223,428,885
1
0
null
null
null
null
UTF-8
Python
false
false
602
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome('/Users/harisshah/Downloads/chromedriver') driver.get('https://www.linkedin.com') driver.fullscreen_window() driver.implicitly_wait(30) email = driver.find_element_by_name('session_key') driver.implicitly_wait(30)...
[ "shahharis383@gmail.com" ]
shahharis383@gmail.com
55e6259543807b9be2b1d0cf864283a7e92b3e31
930f619494f61aa29b33c0f5996a0f5de116282b
/phase/constants.py
84466333ac53bf7a81433fcbef9d3bae6c7f0f3f
[]
no_license
scott-trinkle/xphase
a86af0ec5188c2be074da2da2812aadca955d5c5
8125f13217e59b315ca1e5e20c3766f9113e000d
refs/heads/master
2020-04-27T19:30:37.753364
2019-03-21T19:09:42
2019-03-21T19:09:42
174,621,935
1
0
null
null
null
null
UTF-8
Python
false
false
723
py
''' Physical constants Note: I am keeping all energy units in keV, and all length units in cm ''' # Planck's constant h = 4.135667662e-15 # eV, https://en.wikipedia.org/wiki/Planck_constant h *= 1e-3 # keV # Speed of light in vacuum c = 299792458 # m/s, https://en.wikipedia.org/wiki/Speed_of_light c *= 100 # cm ...
[ "tscott.trinkle@gmail.com" ]
tscott.trinkle@gmail.com
f29e6bad6a3de332f20d1c654fb2f33cf1f13642
42fdf741bf64ea2e63d1546bb08356286f994505
/test_00_vd2ota/rasp30a_gen4.py
5b403f8fe4aaa65b6ddfd89eab7fd642a113d42a
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Python
false
false
3,867
py
#O/PS li_sm = ['gnd' ,[0, 0], #inputs from CAB and device outputs 'vcc' ,[0, 1],#y 'cab.I[0:12]' ,[0, range( 2, 15)],#y to be shifted for the decoder 'vmm4x4_dummy[0:3]' ,[0,range(19,23)], #middle LI for VMM turn #O/PS OF CAB DEVICES 'fgota[0:1].out[0]' ,...
[ "ubuntu@ubuntu-VirtualBox.(none)" ]
ubuntu@ubuntu-VirtualBox.(none)
1f26b85fbe548f9a9b78c8cc8708bb238d8f6d67
4f9153272b7cb3c3611e5a71a080b0ed03acb741
/venv/bin/cython
a171f35299af4e1df19db4e52d5ea37cd4f5e8de
[]
no_license
SusyPinkBash/bad_smell_detection
50b815dcb085db4dbc826b31d5d49a96ccce1478
570a3ef6693f18c947c99d4c7deae774ece24ece
refs/heads/main
2023-01-22T09:57:11.805880
2020-11-10T11:32:47
2020-11-10T11:32:47
301,667,203
0
0
null
null
null
null
UTF-8
Python
false
false
355
#!/Users/Susy/University/Master/3rd_Semester/Knowledge_Analysis_and_Management/Projects/Project1/bad_smell_detection/venv/bin/python # -*- coding: utf-8 -*- import re import sys from Cython.Compiler.Main import setuptools_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0...
[ "susanna.ardigo@usi.ch" ]
susanna.ardigo@usi.ch
d617ce56db427e677389e9b5e5c577e8ff0cc076
3ef49bb6ee79cb91a2cf45e3636d7fcae178fbae
/graphics/hh_br/hh_br.py
64dd1ddf9ccf71e409d2ddb912a829b911eb5836
[ "CC0-1.0" ]
permissive
dantrim/phd_thesis
170eb89e2a2255ec397c5a5091be448749e72e51
df0a2c449a58709ef5efee9bf0602114611514d9
refs/heads/master
2021-07-24T09:30:45.528035
2020-05-06T19:23:43
2020-05-06T19:23:43
163,771,696
2
1
null
2020-05-06T19:23:45
2019-01-01T22:42:55
TeX
UTF-8
Python
false
false
4,763
py
#!/bin/env python import matplotlib.pyplot as plt from matplotlib.colors import LogNorm import matplotlib.ticker as ticker import numpy as np import sys, os N = 9 plt.rcParams["axes.prop_cycle"] = plt.cycler("color", plt.cm.hsv(np.linspace(0,1,N))) def higgs_br(which = "bb") : br_dict = { "bb" : 0.5809 ...
[ "daniel.joseph.antrim@cern.ch" ]
daniel.joseph.antrim@cern.ch
8896b3df93c48fbf051e48e3722ca7bf453ccece
7bc9ba2b8edf97b7bbacd28e26276b6c967d0f42
/task-library/cisco-aci/CiscoAciCreateTenant.py
5e610fd6e56b5adcaea1afe1e5dfefdaa8a7d311
[ "MIT" ]
permissive
nutanix/blueprints
99318a31ddce360cdf7a3b108951ba37dad91a7b
68c822ad9fd2624f2730371816cee4d14fdd8302
refs/heads/master
2023-06-23T01:42:40.136161
2022-04-25T07:12:40
2022-04-25T07:12:40
142,585,120
73
104
MIT
2023-06-18T03:48:44
2018-07-27T14:08:58
Python
UTF-8
Python
false
false
4,315
py
# region headers # escript-template v20190611 / stephane.bourdeaud@nutanix.com # * author: jose.gomez@nutanix.com, stephane.bourdeaud@nutanix.com # * version: 2019/06/12 - v1 # task_name: CiscoAciCreateTenant # description: Creates a Cisco ACI tenant object. # endregion # region capture Calm variables usern...
[ "stephanebourdeaud@hotmail.com" ]
stephanebourdeaud@hotmail.com
ca331858c469640a507e1cc97e82a82e8af28191
4936c1d20aef7a93ad2ded2f5731b102631ad8b2
/Tablas/tablas/Ruido20/maxVotos/IPF/menu_4.py
1a7a042e3df03ff46bf76dd545d5757749400140
[ "LicenseRef-scancode-other-permissive" ]
permissive
jcarlosorte/pyMIL-BNF
530f60081607deecfee7c72264000c0ba34984fe
36e282e35242815bf57310db98707da70d69b183
refs/heads/master
2022-11-12T20:58:49.058513
2020-07-06T15:35:01
2020-07-06T15:35:01
182,646,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
# -*- coding: utf-8 -*- """ Created on Fri May 10 10:11:00 2019 @author: Usuario """ import sys,os,warnings os.chdir('../../../../MILpy') sys.path.append(os.path.realpath('..')) warnings.filterwarnings('ignore') #from funciones import fvc from filters import EF from filters import CVCF from filters import IPF folds...
[ "jcarlosorte@ugr.es" ]
jcarlosorte@ugr.es
33e7076a08a3184973e0fd5037ffc220e26d2e56
0706c7a7651303c8c602d77fdfbb78503adc7207
/test.py
9373f2cd65fb9425f0080280928f9686b2b5e104
[]
no_license
Mereng/Seq2SeqTrainChatBot
a7308739ee2c76a8cef28e3ca53822601a2f25af
e6be0c279ae3c433eb75871d2d682767d809e004
refs/heads/master
2021-08-18T16:30:08.572245
2017-11-23T08:36:20
2017-11-23T08:36:20
111,223,526
0
0
null
null
null
null
UTF-8
Python
false
false
3,329
py
import tensorflow import tensorlayer import pickle with open('data/metadata.pkl', 'rb') as f: metadata = pickle.load(f) idx2word = metadata['idx2word'] word2idx = metadata['word2idx'] vocab_size = len(idx2word) start_id = vocab_size end_id = vocab_size + 1 word2idx.update({'start_id': start_id}) word2idx.update...
[ "vladislav-sedov@yandex.ru" ]
vladislav-sedov@yandex.ru
7978f404cf2024353de47bdadb14af9ccee99e16
503b38aaec3c632b78285f7ca016f13a2c14fcd4
/users/models.py
7d1d2a776b3b683f60ab5f5bdfe02453a37dcbf7
[]
no_license
Glitch-dev1/Test
f876ddaafccf2f02748001f8a53e43f031649f23
a46d375a40cae70b4d10c36bbf9fe16b8a118901
refs/heads/master
2023-07-02T19:05:47.461216
2021-08-08T16:17:07
2021-08-08T16:17:07
392,296,916
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
from django.db import models from django. # Create your models here. Class user()
[ "83586216+Glitch-dev1@users.noreply.github.com" ]
83586216+Glitch-dev1@users.noreply.github.com
929fff6570a31d8cd6967c09fdd8456b2611ccbb
1e744fefe48220623813bc6494890f2e6e9d2f70
/pythonHacking02/crack.py
268f0c0a25084c94ef3ffb8e282971c4a902cb8d
[]
no_license
locata/python
7fb31afe3850b8ddaf92d6450b6db971cd0a8555
cc8cf0a09b290d4718bd6669c87526ff65b30e5e
refs/heads/master
2021-01-17T20:24:55.508323
2016-06-04T00:41:27
2016-06-04T00:41:27
60,384,900
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
import crypt import optparse def testPass(cryptPass, dname): salt = cryptPass[0:2] dictFile = open(dname, 'r') for word in dictFile.readlines(): word = word.strip('\n\r') cryptWord = crypt.crypt(word,salt) if (cryptWord == cryptPass): print "[+] Found Password: "+word+ "\n" return print "[-] Password n...
[ "lc@localhost.localdomain" ]
lc@localhost.localdomain
7ada5ecf5bbe49c639f0bc49e4d6c277e4527b11
c4739b12d39ba3166cfab1276e477e6ad5e0d30c
/install.py
9184d2569f707d039fc1a86bf0e9dfffac9402c5
[ "Apache-2.0" ]
permissive
wempy24/bot-wa-termux
b9465254e6f24c7cdda18cd17e4cc2c864379be1
d18574672ea4ae98eff3dfc69bd8a5e355333f12
refs/heads/main
2023-03-03T10:33:16.281013
2021-02-05T05:55:44
2021-02-05T05:55:44
336,153,219
0
1
null
null
null
null
UTF-8
Python
false
false
1,687
py
import sys, time, os def m(s): for c in s + '\n': sys.stdout.write(c) sys.stdout.flush() time.sleep(0.1) os.system("clear") print(""" ▄ ▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ █ █ ▄ █ █ █ █▄█ █ █ █ █ █ █ ██ ██ █ ▄▄▄█ █ ▄ █ █▄█ █ █ █ █▄▄▄█ █ █...
[ "noreply@github.com" ]
noreply@github.com
56dd2eeaf613400036b13f3be8e83fd8d919bbb6
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/python/paddle/incubate/distributed/models/moe/gate/switch_gate.py
98474dafd0111a054eb01d9a35d71fedf9b7e193
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
2,893
py
# Copyright (c) 2022 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
noreply@github.com
a20a8ed3e32d019d9a0272a3629e24d37c542c12
0bd7a6bef178bb93b2c3fb19e789c7e3b364e6d1
/simple_frame/niiprocess/niiprocess.py
6f9bfe0c6b73ee23c66cb66fe0c274832253db65
[]
no_license
Magnety/Simple_Frame_linux
090e07491e170314718c9ba5f2da2a4393bdb1ad
7e1ef5d11e3baa8784fd9b6bbf81b0d954dd1ca6
refs/heads/main
2023-06-02T09:35:36.023461
2021-06-17T09:23:01
2021-06-17T09:23:01
371,412,450
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
import SimpleITK as sitk import numpy import os def redo_spacing(img,label,path): label.SetOrigin(img.GetOrigin()) label.SetSpacing(img.GetSpacing()) sitk.WriteImage(label,path+'/segmentation.nii.gz') dir = "/home/ubuntu/liuyiyao/Simple_Frame_data/breast_data_153_noclsmask" names = os.listdir(dir) for ...
[ "liuyiyao0916@163.com" ]
liuyiyao0916@163.com
c18bcc079045f29c93a7eba44f3eb27323d676fb
6c60dadd15e0b87cd5b2b05865aeee0dae4478f0
/codinginterview/Remove Duplicate Letters.py
6c62b6b772e4f23191d827ba11d04180ef733cba
[]
no_license
chanhyuklee/python_codingdojang
d59ffa08d2cfa936fe76744ec8ccf622301e7ae6
1c7c83bc1674cad13b71a723f56bae5059049f3e
refs/heads/main
2023-03-08T16:27:23.788403
2021-02-16T10:25:34
2021-02-16T10:25:34
332,654,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
# #풀이1 재귀를 이용한 제거 # class Solution: # def removeDuplicateLetters(self, s: str) -> str: # # 집합으로 정렬 # for char in sorted(set(s)): # suffix = s[s.index(char):] # # 전체 집합과 접미사 집합이 일치할때 분리 진행 # if set(s) == set(suffix): # return char + self.removeDupli...
[ "67899456+chanhyuklee@users.noreply.github.com" ]
67899456+chanhyuklee@users.noreply.github.com
c035676e0ece8278b435126f181f62cec4a3df9f
2ec84952a894d3f97ffbe8027bb0435398aef3cd
/main.py
02820075e05c563eca9b985bf8d5d9aba09c89f5
[]
no_license
spencerc99/spotify-song-classification
7a90486082fe0728e02e976615974a979849e51f
39b74094a359bdf8e15c480c760b4b24454492f2
refs/heads/master
2021-09-02T05:43:36.499161
2017-12-30T20:43:28
2017-12-30T20:43:28
115,822,715
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
import itertools import numpy as np import spotipy import spotipy.util from dotenv import load_dotenv, find_dotenv import os load_dotenv(find_dotenv()) # Create your own Spotify app to get the ID and secret. # https://beta.developer.spotify.com/dashboard/applications CLIENT_ID = os.environ.get('CLIENT_ID') CLIENT_SECR...
[ "spencerc99@gmail.com" ]
spencerc99@gmail.com
715ad6e1725d39e33daaf2da20b997e1cb1c08c0
b807a82d96245c489b273fcef3af0b1f892651af
/proyecto_grupo5/grupo5__project/asgi.py
c3c56a46c5a614e28bd22e4435e755387c4baf64
[]
no_license
AFLLM75/git_proyecto_grupo5
5afb514cd1dd0ec5308c2280e6f29acbcef2621f
51871f766c92f9443e4c3c38bf8308ea9fd4ae79
refs/heads/master
2023-01-29T13:17:35.350900
2020-12-09T17:12:46
2020-12-09T17:12:46
313,370,209
0
1
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for grupo5__project 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('DJAN...
[ "AFLLM75@GMAIL.COM" ]
AFLLM75@GMAIL.COM
614372057ee6922b41d9ce36038f4101d54d89bb
6661c08b70d205bb9553007c38b1c3ab26479052
/gym_dummy/envs/fobs/__init__.py
454e01c9090945ff4de27055e5c182e32dcc4d88
[ "MIT" ]
permissive
jackblandin/gym-dummy
943890cf4494ae0ef307c6ab7a273c9037a53324
45ec72b5129ea305911bfd2a9eb5a64bd7f3d466
refs/heads/master
2020-06-06T01:02:22.187615
2019-06-23T23:47:31
2019-06-23T23:47:31
192,595,832
1
0
null
null
null
null
UTF-8
Python
false
false
12,931
py
import logging.config import random import gym from gym import spaces import numpy as np from tabulate import tabulate class GreaterThanZeroEnv(gym.Env): """A Naive OpenAI Gym environment for basic testing of RL agents. Only a single observation is required to predict the optimal action. Goal is to iden...
[ "jblandin@gohealth.com" ]
jblandin@gohealth.com
7470e163fdefd31a4a2d642c0c33d163da686394
32afceefb98f8de5c11997c7f45bcc71970ca37d
/venv/bin/python-config
5dba065fb0b53fb7b660264bacf6a4a8699852e4
[]
no_license
duhjesus/flaskApp
d26deb9ecda52c8e66fcb71f2c31e9e4f6a56212
cd18d2222638d22ab264c084732b6e341301baf0
refs/heads/master
2020-08-01T08:16:54.451137
2020-04-27T10:00:55
2020-04-27T10:00:55
210,927,932
0
0
null
null
null
null
UTF-8
Python
false
false
2,343
#!/home/jesus/flaskApp/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.version_info >= ...
[ "leon.jesusleon@gmail.com" ]
leon.jesusleon@gmail.com
236f507d04ea8e194d95e3b3a9ee273b32fa9d13
0183f01feb040edc2aa8ec2e0d2e3e12ed324206
/week_2/575_distribute_candies.py
f1165f5e33d94c79d9d6add34e3a0d021a6b39c6
[]
no_license
VictoriaNguyenMD/wallbreakers_homework
705283216498cdd2bd4828267ffce02e899af02c
a934d36cf7cb315647b0cdb876be308133d8c193
refs/heads/master
2021-01-07T14:38:08.382289
2020-02-19T21:41:36
2020-02-19T21:41:36
241,728,193
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
class Solution: def distributeCandies(self, candies: List[int]) -> int: set_candies = set(candies) len_set = len(set_candies) if (len_set <= len(candies)//2): return len_set else: return len(candies)//2
[ "vinguyen@e1z3r4p17.42.us.org" ]
vinguyen@e1z3r4p17.42.us.org
b1ee93c0443a4d94009021861bd1d0855de1360f
f18ad1bffc340d8b3882d512137a70373d70ffa8
/util.py
10c94a44d04e351753e6faa4bd125fdbf2b317c9
[]
no_license
flyingsleeves/g51-twitter
df66c8b78d66a442dd86510c65684bc727903960
62eceb9ef75c306a1ba0c55efad5a6d89a9d3019
refs/heads/master
2016-09-09T20:32:47.370665
2014-11-24T20:22:02
2014-11-24T20:22:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
import twiminer import pickle masterlist = {} def mine(userID): m = twiminer.Miner() userScreenName = m.mineUser(userID) print "mined: " + userScreenName def printMinedUsers(): with open('masterlist.pickle', 'r') as filepath: masterList = pickle.load(filepath) for ID in masterList: print masterList[ID][...
[ "flyingsleeves@gmail.com" ]
flyingsleeves@gmail.com
31b9c8a80ef02da0e3e59f5416aa555362b1d39b
738b6d6ec4572f5848940b6adc58907a03bda6fb
/tests/pymcell4/1720_count_rxn_vol_region_expr/parameters.py
7380103bb61af613f71cfc6d8188418753e9ee5d
[ "MIT", "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
mcellteam/mcell_tests
09cd1010a356e0e07c88d7e044a73c5606c6e51a
34d2d967b75d56edbae999bf0090641850f4f4fe
refs/heads/master
2021-12-24T02:36:24.987085
2021-09-24T14:19:41
2021-09-24T14:19:41
174,733,926
1
0
null
null
null
null
UTF-8
Python
false
false
893
py
# WARNING: This is an automatically generated file and will be overwritten # by CellBlender on the next model export. import sys import os import math import shared import mcell as m MODEL_PATH = os.path.dirname(os.path.abspath(__file__)) # ---- model parameters ---- # declare all items from parameter_over...
[ "ahusar@salk.edu" ]
ahusar@salk.edu
fff483ae8f0b293c36e792724b72c21eb158db14
ae3a6593c0b11d6a889321bf4a359b14186e852d
/build/control_fsm/catkin_generated/pkg.develspace.context.pc.py
ea83d4996ab48a449a5a0adb6a73fced5612fc12
[]
no_license
Forrest-Z/wssample
074e71ae56bcdd4f19a911804c7a2a96ce5ce39e
5694177fddd656b373e1843182b246ff690b713d
refs/heads/master
2023-08-04T17:39:20.531393
2021-09-03T02:17:30
2021-09-03T02:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "control_fsm" PROJECT_SPACE_DIR = "/ho...
[ "“ws815529619@163.com”" ]
“ws815529619@163.com”
2660012756f441b6d1dcffbb3ff0a573928f6ecf
100debd483b39b53f4c58b87180940cbe790c1f1
/trainer_project_env/bin/gunicorn_paster
632ff435f142d8216727551a9d5a0ad89f7430ae
[]
no_license
gabriellend/trainer_project
8b697bf7febbf2b977f3cccf7fa008d33608a439
56de19c232b6d14a20236645bf2f024be155cfa4
refs/heads/master
2022-03-29T18:02:16.099435
2019-12-04T00:32:41
2019-12-04T00:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/home/zach/trainer_project/trainer_project/trainer_project_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from gunicorn.app.pasterapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "zachary.bretz@gmail.com" ]
zachary.bretz@gmail.com
98a4bb27803976359a02b363a0080c28e3811704
557c14ae45342c7409181ec5b8bd256aa340a740
/tests/integration/protonets_miniimagenet_test_notravis.py
ab2e45db8408b1bf89ead122121698086658fa91
[ "MIT" ]
permissive
JasonMa2016/learn2learn
5b72f4aa831b97a8bd2f91ee82eb66b5e62254c4
502e1ea6db64481d7464fdda4d4d0be9b0f1089a
refs/heads/master
2020-11-27T15:19:43.958730
2019-12-28T02:47:34
2019-12-28T02:47:34
229,508,990
0
0
MIT
2019-12-22T02:36:45
2019-12-22T02:36:44
null
UTF-8
Python
false
false
8,005
py
#!/usr/bin/env python3 import unittest import random import numpy as np import torch from torch import nn, optim from torchvision import transforms import torch.nn.functional as F from torch.utils.data import DataLoader import learn2learn as l2l def pairwise_distances_logits(a, b): n = a.shape[0] m = b.sha...
[ "noreply@github.com" ]
noreply@github.com
0b200854cb4f9c9c7b2c8c6a88c52c3486a403d8
db575f3401a5e25494e30d98ec915158dd7e529b
/BIO_Stocks/ADVM.py
a8ee6dcf42e81f66cee04649f6497695996988d1
[]
no_license
andisc/StockWebScraping
b10453295b4b16f065064db6a1e3bbcba0d62bad
41db75e941cfccaa7043a53b0e23ba6e5daa958a
refs/heads/main
2023-08-08T01:33:33.495541
2023-07-22T21:41:08
2023-07-22T21:41:08
355,332,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
import requests from lxml import html from bs4 import BeautifulSoup import os from datetime import date, datetime from ValidationTools import validateday from Database_Connections import InsertData, Insert_Logging def main(id_control): try: url = 'https://investors.adverum.com/press-releases' ...
[ "andisc_3@hotmail.com" ]
andisc_3@hotmail.com
899d621d5e36ff015d2b7581b2ea8cd5030394a0
d6d6289fa057e90964f57107a7a691f43165fea3
/setup.py
1962aa71697b53e8cc6f7e059d92f91e54693e85
[ "MIT" ]
permissive
Gass0014/docassemble-P07Prototype
cf1b58369bda9311b1d85a507535ba1b680ce501
cb9422a5ab67ab28a6d8bb5a93e04acf07de8703
refs/heads/master
2022-07-11T20:25:44.623978
2020-05-06T01:46:17
2020-05-06T01:46:17
261,625,230
0
1
null
null
null
null
UTF-8
Python
false
false
2,475
py
import os import sys from setuptools import setup, find_packages from fnmatch import fnmatchcase from distutils.util import convert_path standard_exclude = ('*.pyc', '*~', '.*', '*.bak', '*.swp*') standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info') def find_package_dat...
[ "61786753+Gass0014@users.noreply.github.com" ]
61786753+Gass0014@users.noreply.github.com
0efb59a12aed1f21abba19513c831a8ba888b213
534a13a18fc93b5c163f76edb88ab9d97813b9c9
/titanic/controller.py
66e81fad8e7fe2377637ee74f492066a8841d62d
[]
no_license
B0Kimm/Study
83312b7fa32ed677ed90123d3f551b139c2ecdd0
16fbdc1360c16d855656f78d4f929e64dd1d4622
refs/heads/master
2022-12-29T13:38:16.126029
2020-10-16T10:44:23
2020-10-16T10:44:23
297,597,368
0
0
null
null
null
null
UTF-8
Python
false
false
3,424
py
import sys sys.path.insert(0, '/Users/USER/SbaProjects') from titanic.entity import Entity from titanic.service import Service class Controller: def __init__(self) : self.entity = Entity() self.service = Service() def modelling(self, train, test) : service = self.service this ...
[ "bo.kim0226@gmail.com" ]
bo.kim0226@gmail.com
50a5880403fea90ef3a075333678cde1a82fc309
06f19f8361fc0a07ab87c00e16af49299046d5e8
/ch05/dynamic_array_resize.py
bebacd19da01fc15f57207de304c96d670b3edf9
[]
no_license
AllySmith1/CP2410SampleCode
4826bec8ea41d30268c560d54f29604ea85f6747
2789c56fa1181378b50a3963dd2a5de71ab50770
refs/heads/master
2020-06-01T23:16:37.167263
2019-06-09T04:20:17
2019-06-09T04:20:17
190,962,861
0
0
null
null
null
null
UTF-8
Python
false
false
3,460
py
# Copyright 2013, Michael H. Goldwasser # # Developed for use with the book: # # Data Structures and Algorithms in Python # Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser # John Wiley & Sons, 2013 # # This program is free software: you can redistribute it and/or modify # it under the terms of...
[ "noreply@github.com" ]
noreply@github.com
c9d04a45a313d626354fd3e48b1b5e8369552722
e6c0683afc2a3d48ada10ffa9f7d257e7c64589e
/purity_fb/purity_fb_1dot5/rest.py
1460ba5967aac764761839ba79e57b09b80eb9f8
[ "Apache-2.0" ]
permissive
unixtreme/purity_fb_python_client
9a5a0375f4505421974aadc674ed04982c2bf84f
e836afe9804ffa99f74bf4b5202f181c3c04d9df
refs/heads/master
2020-04-24T14:53:56.977344
2019-02-22T12:37:45
2019-02-22T12:37:45
172,042,713
0
0
NOASSERTION
2019-02-22T10:05:44
2019-02-22T10:05:44
null
UTF-8
Python
false
false
12,977
py
# coding: utf-8 """ Purity//FB REST Client Client for Purity//FB REST API (1.0), developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). OpenAPI spec version: 1.5 Contact: info@purestorage.com Gene...
[ "ymu@purestorage.com" ]
ymu@purestorage.com
8436baedfbbf14cfc8b06b4002d3dcb7f4e8be1f
c07f6fcbbfabd047a63a071e7b14f2787332f84f
/manage_mturk.py
4dcccc2dcbd7e6502dec07df0cf658a3e03adb29
[]
no_license
hyolee/pose_experiments_human
217d9cdd1150287cc6e33dcb950ef8ed8537e384
0422f3e69069fc4021291288205f9a39bf76f318
refs/heads/master
2021-01-10T10:10:13.942943
2015-12-12T18:07:58
2015-12-12T18:07:58
47,889,187
0
0
null
null
null
null
UTF-8
Python
false
false
6,914
py
import boto import pymongo as pm import numpy as np from boto.mturk.connection import MTurkConnection from mturkutils.base import parse_credentials_file from mturkutils.base import parse_human_data_from_HITdata from mturkutils.base import update_mongodb_once sandbox = False max_assignments = 10 comment = "Pose judgeme...
[ "hyo@mit.edu" ]
hyo@mit.edu
670fb82f2775cdd7773db5fbb222929a38103a16
9f79c385ec0b70c0eee9b7c3558e42feb5724e75
/src/image_segmentation.py
f442bef3980f73cb3410137e123cd6b08ea10f7d
[]
no_license
phiggin1/obj_segmentation
e8ef78b778785acd19772cd26dbdbdf95291d1d8
28fd4cb9f6cf43413a83981748ae9fa6fe7896df
refs/heads/main
2023-08-19T06:25:51.787828
2021-10-13T16:31:14
2021-10-13T16:31:14
334,986,546
0
0
null
null
null
null
UTF-8
Python
false
false
4,473
py
#!/usr/bin/env python2 import rospy import message_filters import numpy as np import image_geometry import math import cv2 from cv_bridge import CvBridge from obj_segmentation.msg import SegmentedClustersArray from obj_segmentation.msg import Object from obj_segmentation.msg import ObjectArray from obj_segmentation.sr...
[ "phiggin1@umbc.edu" ]
phiggin1@umbc.edu
c81aeaffb03bea6d3fc2cc3509fc39b5bb9cff69
0696ead001a7e711cb792f3686b9ad5572131409
/handlers/AddUpdatePatient.py
8be4156d958d37c577b754b1d6953a8cf2175678
[]
no_license
iOSDevD/EMR_System
075133585f364645f9fe2af5108c1101961b2339
d285d582477a137962ba5af181182dd154aeba11
refs/heads/master
2023-08-24T20:54:03.483972
2021-10-23T00:15:25
2021-10-23T00:15:25
418,509,191
0
0
null
null
null
null
UTF-8
Python
false
false
14,929
py
""" Nikunj Upadhyay Class: CS 521 - Fall 1 Date: 10/16/2021 Homework Problem # Project Description of Problem (1-2 sentence summary in your own words): AddUpdatePatient helps to add a new patient to the system or update the demographic details of the patient. Common functionality like update address and contact detail...
[ "nrulancer@gmail.com" ]
nrulancer@gmail.com
0e44203aaf883b38fa8558f7af1f5caae0ffd1d7
e581248c7a31794ce780c96d24cb110f1fcefa6f
/train_util.py
0cfaa5e5c6b58ba892bbf4dc3295cb7285b38eb3
[ "MIT" ]
permissive
yuanqqq/SIN
3bf2278deb0beb1e827b0d5189a21b67eb789277
e5f9fb17264cefbb1e644938fc59adea800d78e3
refs/heads/master
2023-08-18T01:45:08.014388
2021-10-20T03:31:37
2021-10-20T03:31:37
418,005,337
9
1
null
null
null
null
UTF-8
Python
false
false
29,334
py
import torch import torch.nn.functional as F import torch.nn as nn import numpy as np from skimage.segmentation import mark_boundaries import cv2 import sys sys.path.append('./third_party/cython') # from connectivity import enforce_connectivity def init_spixel_grid(args, b_train=True): if b_train: img_h...
[ "yuanqing@hust.edu.cn" ]
yuanqing@hust.edu.cn
8e81a91c601c7fef81d41a1ed90396680b5dc0fd
1e58760ecded5173ae3b370d614509eb3650b9eb
/tajo/emr-4.x/install-tajo.py
9fb4a5e75ac4f77e0f83aff369077591ec0c64d2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
dkhwangbo/emr-bootstrap-actions
72573dba3fec30ee56f486547e1bcfd92712a17a
18add1d15930c25324694825e871cb47acf3bb84
refs/heads/master
2021-01-18T02:04:16.161788
2015-11-06T07:43:54
2015-11-06T07:43:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,057
py
#!/usr/bin/env python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "L...
[ "yeongeon@gmail.com" ]
yeongeon@gmail.com
a8b749992889c78b7ec86d4e7954ed93a511603d
ec32d4d991f35a8cf253c60286953133975d057f
/kenwin/kenwin/routes.py
57f16be1ee5ce45fe3b7b0f5d04a119615b5a771
[]
no_license
gdrubich/kenwin_test
f8c217203c970ec58154cff4cee43bb2415b8efe
55b6fd8c5e9c303f3f0c3875429838ae0df3d893
refs/heads/master
2020-05-14T13:33:10.221556
2019-04-17T05:31:34
2019-04-17T05:31:34
181,814,690
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
def includeme(config): config.add_static_view('static', 'static', cache_max_age=3600) config.add_route('home', '/') config.add_route('auth', '/sign/{action}')
[ "gdrubich@gmail.com" ]
gdrubich@gmail.com
b0a6436f62752455c2b323c275f0972c60a604da
94b0cba1213e0e79a6cb2ee8c26d06f21e23da6b
/curses_tools.py
e0991e67c16ee8484acfa284b7d1b61859debf5d
[]
no_license
avdeenkodmitry/spacegame
137a09c8d7f35a71440ab46c07c3056c2b684e2f
b7592f0c0026c506c1cd1d99f0c5eb46907046f9
refs/heads/master
2020-08-29T01:44:24.448488
2020-06-30T12:31:37
2020-06-30T12:31:37
217,884,163
0
0
null
2020-06-30T12:31:38
2019-10-27T16:34:24
Python
UTF-8
Python
false
false
2,837
py
SPACE_KEY_CODE = 32 LEFT_KEY_CODE = 260 RIGHT_KEY_CODE = 261 UP_KEY_CODE = 259 DOWN_KEY_CODE = 258 SYMS = ('+', '*', '.', ':') TIC_TIMEOUT = 0.1 def read_controls(canvas): """Read keys pressed and returns tuple with controls state. Args: canvas: canvas object Returns: tuple: (int, int, b...
[ "avdeenko.dm@gmail.com" ]
avdeenko.dm@gmail.com
e413bf6fcc60004358b591fef11c22fc5d1384f0
3d06e2cc8cc701c76ce08e6522928a0ca69832d3
/users/migrations/0003_auto_20161021_1120.py
6a7e489fe4aadf10ecf0fead97cbe44fe619fe3d
[]
no_license
praekeltfoundation/gem-bbb-indo-server
5ac1a697c30f09a6ae63fcdcb1ffe1193e98084d
f1af2d84cff2c5ba242e6330256344c02deea726
refs/heads/develop
2020-05-29T08:40:29.647999
2017-09-08T10:10:18
2017-09-08T10:10:18
69,655,513
0
0
null
2018-10-24T14:37:14
2016-09-30T09:56:21
Python
UTF-8
Python
false
false
592
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-21 09:20 from __future__ import unicode_literals from django.db import migrations, models import users.models import users.storage class Migration(migrations.Migration): dependencies = [ ('users', '0002_profile_profile_image'), ] ...
[ "wvictor@retrorabbit.co.za" ]
wvictor@retrorabbit.co.za
07f571d97d75fa5a4a85e1a1c19f28e8644e2dd0
7a11792dfb5acae2d3e32a20bc0c40e64ce4cbc4
/Reverse4.py
d8ea1cba11300389c06cb09cf0f31d349bbb7a95
[]
no_license
collinskoech11/Python-Learning
340eed6e7b5a9548433d5844cebbcf5273054638
14b8d9dff85c33837a9b4f105dc9366e4b5fd6fa
refs/heads/master
2023-06-29T14:44:04.004819
2021-07-22T16:28:41
2021-07-22T16:28:41
363,305,765
0
0
null
2021-07-22T16:28:42
2021-05-01T02:26:35
Python
UTF-8
Python
false
false
171
py
def Reverse(num): number = str(num) reversing = number[::-1] reversed = int(reversing) print( reversed) number = input('enter a number: ') Reverse(number)
[ "dnyamai.dn@gmail.com" ]
dnyamai.dn@gmail.com
0e361f2147a61127133f357cca662943383c6f09
597a963c8c10b80d4f0cd2657e51f6b85dba1d3f
/bin/easy_install-3.5
136911bd4b8400bfab25f5509914cab406e7702a
[]
no_license
momotakagi/chainerRL
57b56461982f1b8f5bd41382b117a43ed0f6325a
e8f423cabf61fa19dfb5d16af8de73514ba6262e
refs/heads/master
2021-05-15T13:20:43.860048
2017-10-16T16:15:17
2017-10-16T16:15:17
107,153,115
0
0
null
null
null
null
UTF-8
Python
false
false
260
5
#!/home/tomoya/projects/chainerrl/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jl8xjm@yahoo.co.jp" ]
jl8xjm@yahoo.co.jp
570be72876047f9b536ff3d6c1c1a2fbdcaa33e9
0d4be9a85528ca27ce7b4c31a41ba034058720a1
/1.6/vehicles/base.py
b04e0c43c0512c8d746fbebf04387f131aab600e
[]
no_license
Kronon299/otus_python_basic_hw
b795076ab45d4b95a8e4480a4a45428122ffca67
126a7f03dd3b28fe7b445601ddc679bac870e514
refs/heads/master
2023-01-21T15:42:30.564229
2020-12-03T19:15:34
2020-12-03T19:15:34
287,369,470
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
from abc import ABCMeta, abstractmethod class BaseVehicle: """ Base vehicle class """ WEIGHT = 0 PAYLOAD = 0 FUEL_CONSUMPTION = 0 SOUND = '...' def make_sound(self): print(self.SOUND) class BaseCar(BaseVehicle, metaclass=ABCMeta): def __init__(self, vendor: str, model...
[ "stasklimovich299@gmail.com" ]
stasklimovich299@gmail.com
77a9f259fac8dcec468a6c4d3657accd82a493e2
4c8eb3d5a63ac2a8ddbb7f997b27f08b8019d5f7
/models/polyencoder/__init__.py
8589a643838c8307d600c3f5d4d306399dd5ec2e
[]
no_license
RaphaelOlivier/collision-bert
94974ed8c94295b9d7ed760cb0ad79f2856d34aa
43eda087bf6d632bdb150d98e934206327f8d082
refs/heads/master
2023-01-20T08:09:47.449597
2020-11-21T20:01:43
2020-11-21T20:01:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from models.polyencoder.modeling_polyencoder import PretrainedPolyEncoder, PretrainedBiEncoder, PolyEncoderLM from models.polyencoder.tokenization_polyencoder import PolyEncoderTokenizer
[ "csong27@outlook.com" ]
csong27@outlook.com
0ca4eaab9a1b2b9a110aed592f00b856885f9aa8
8739669f8a0d025bda30b5ddc75ce2ca41326db9
/rate_limiter/rate_limiter.py
51576df38bac332982b0e8d0c06ff6e2ac37e4f9
[]
no_license
uk-gov-mirror/ministryofjustice.opg-repository-reporting
dcddda33e67972ea33fdc711f95d33c0dd4bed4f
9b6b8047d4ff6980834cb17c50acb29caac795d7
refs/heads/main
2023-04-03T20:20:20.313938
2021-04-20T15:22:59
2021-04-20T15:22:59
356,783,065
0
0
null
null
null
null
UTF-8
Python
false
false
2,694
py
from github import Github from github import RateLimitExceededException import calendar import time import datetime # rate_limiter wrapper to handle the github api call limits class rate_limiter: g = None remaining = 0 rate_limit = None def __init__(self, g): self.g = g self.reset() ...
[ "charles.marshall@digital.justice.gov.uk" ]
charles.marshall@digital.justice.gov.uk
aef334c17bdbf740d5d7a0b261be1f41437b6341
c26017f753efc31b485ee6fadc5f68ae2f272372
/LabOne/wsgi.py
83c6efba1f8832d51e11aa108a9c6f1dcbfb7e87
[]
no_license
Seathe14/Lab1Python
cc798bfa64b0c0bd1c29cdfa2f02eeb6d48083a5
b8f54e23726879bc6d1a46c3c3839915dc4046f3
refs/heads/master
2020-12-29T20:41:56.608642
2020-02-06T15:59:46
2020-02-06T15:59:46
238,724,926
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for LabOne 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "imynn@outlook.com" ]
imynn@outlook.com
7a920e87f282a95af69b8cc0fb52604c0a871053
365ce3d35f126e246c7fccee99c6d9747c2a9e4e
/Web_Session1/about_me.py
859d3ed98aa15dac7385c222581a5d379403128a
[]
no_license
Homlessss/maiquangkhai-Labs_C4E30
c2d3d65bae96086a92a4f8897be24d13ae41da58
211f8f9d7476a89897e7421c4fb690e1c85aa548
refs/heads/master
2020-05-17T02:03:09.820549
2019-04-25T13:52:39
2019-04-25T13:52:39
183,444,297
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from flask import Flask, render_template, redirect app = Flask(__name__) @app.route('/about-me') def index(): return render_template('about-me.html') @app.route('/school') def Chuyenhuong(): return redirect("http://techkids.vn ", code = 302) if __name__ == '__main__': app.run(host='127.0.0.1', port = 5000,...
[ "you@example.com" ]
you@example.com
e2ffba583a2cd9a7c11261cd7538f36e6ff2654f
544086b3e4c580dbb39d1a8373a4903696d51db0
/careforall/careforall/settings.py
9816cc536f2db524adbf563f5d1e986264a2c199
[]
no_license
careall249/Care-For-All
dc3a798fb47d10134f50d5a20b2b2eede52e623e
0c74ba245e1758b10133cbfdc7345cdf4f4a8c5c
refs/heads/master
2023-02-13T16:54:11.535341
2021-01-05T18:25:00
2021-01-05T18:25:00
316,262,763
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
""" Django settings for careforall project. Generated by 'django-admin startproject' using Django 3.1.3. 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 path...
[ "careal249@gmail.com" ]
careal249@gmail.com
8da80e5876ac44005eff52e9f251ad7ba819caa4
3012e998e82ea2fa1a0f73131d16a0a4c1719730
/untitled1/untitled1/urls.py
d82491ddf44c8c647c56b21f08c63571db99063f
[]
no_license
qq738367260/test
05336a58be7bfa7275e5cf9e411680c47c33bb1c
8e626f00fa15985f2609cf1def250bbb24279f52
refs/heads/master
2020-04-13T12:08:08.999449
2018-12-26T12:52:27
2018-12-26T12:52:27
163,193,776
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
"""untitled1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-bas...
[ "liranran@everchain.info" ]
liranran@everchain.info
89a577e2e47f746169fae71030df1df504a5c64f
0f5f0cf29fa364b5b207270c905b0ece480d2d53
/launch/launch/events/process/running_process_event.py
a54014e03c3c6730dcafab07c11d63f7e7a7f777
[ "Apache-2.0" ]
permissive
ivanpauno/launch
97c8b90768758a444de1c47b822147e8aa1975a6
ac97baccef9402eca40c817fce6d4303a9a4168f
refs/heads/master
2020-05-09T10:49:46.545928
2019-04-17T16:35:04
2019-04-17T16:35:04
181,059,628
0
0
Apache-2.0
2019-04-23T20:01:45
2019-04-12T18:03:08
Python
UTF-8
Python
false
false
2,756
py
# Copyright 2018 Open Source Robotics Foundation, Inc. # # 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...
[ "noreply@github.com" ]
noreply@github.com
13555b5b26440c6140c403578fd7551824d7cd53
f8356a20c6bbbfd8c0d6877aa02096dc922014cf
/app/utils/__init__.py
0e81e190b2bb1b63a1b65f40149e1da77642ad2e
[]
no_license
shimaomao/fastapi-starter
4fa2b1d8b06269cf3a627a0fd6540b1785e3080f
8ddcc387a9a6a6ef00073bec5480518882ad789a
refs/heads/master
2023-03-01T05:08:02.396074
2021-01-22T00:00:16
2021-01-22T00:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
import sys _TESTING = "pytest" in sys.modules
[ "zpencerq@users.noreply.github.com" ]
zpencerq@users.noreply.github.com
8b9887fa2de31ba0eccd041913ae4f82b97e5945
d51dcfa375a102b36af2cb996bf31fb177f53ee2
/webapi/ImportDB/CWSP_Coastal.py
062884fb8ea430715806101c6f606bcc5c5ca5f5
[]
no_license
hsinkai/crowa
7683425a163791337fc277fe2d6e607bfcb8017b
839d7efefed03f644557e20dcce563f61345a657
refs/heads/master
2020-04-01T09:52:04.108964
2018-10-16T02:37:51
2018-10-16T02:37:51
153,092,540
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
import os import sys dir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, dir) sys.path.insert(0, os.path.dirname(dir)) from ImportDB.util import setup_django_rentime_depend setup_django_rentime_depend() from url_meta import LatLngURLGenerator for uri in LatLngURLGenerator('OCM3', 23, 45): ...
[ "crsadm@cwspapsvr1.(none)" ]
crsadm@cwspapsvr1.(none)
ca9e425111e4b3dbf637b359e9a871fe14f0796a
ec35b619f45b8532388a37278de64be523a14082
/Databases/MongoDB/4.1-ex3.py
c34d16690cecd511557887072997a7b36d1d4f41
[]
no_license
deesaw/PythonD-03
392b654c60cab290053e1bd89e5237b028f1a391
ce54d5af6e8dd594617969c7efba3285b66edccc
refs/heads/master
2023-03-14T10:18:10.060303
2021-03-02T13:56:59
2021-03-02T13:56:59
343,791,301
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#Finding the documents from the collection import pymongo from pymongo import MongoClient client=MongoClient() dbs=client.database_names() db=client.pyex #db pyex docs=db.pycoll.find({}) for doc in docs: print (doc)
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
d3fca4aa4e458f8f6a3eebe159c1749ec9d7777c
b033f2c9d23a64d8d2a26bfc92a02e0a229a238e
/04_dash_callbacks/12_tabs.py
b55d9468064d02b53eb0aca36ee7359ef7e0eff9
[]
no_license
KonradBier/learn_Dash_framework
31fe88c3db25f5249d27b4e0eed9eb83709c44a9
2bdbfe942e2200af442e4b8e9352433f6a7e23bb
refs/heads/master
2022-12-26T17:06:50.436345
2020-10-09T16:45:27
2020-10-09T16:45:27
294,767,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objects as go from dash.dependencies import Input, Output external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) app.layout = html...
[ "jmmpad@gmail.com" ]
jmmpad@gmail.com
e9421d2111cb25159e2a18dc345d96a72cd03978
6be97bdb46650296e1d3c88c5f6fd1ddb3d7d5d9
/router_configuration.py
d75df33df0a7e6005720f030cbc2901ed9f7f4ac
[ "MIT" ]
permissive
Ariel96cs/SimpleMapReduceFramework
da94ed6f2b6a505da662e97dbf24b4510bf876c8
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
refs/heads/master
2022-11-04T21:29:59.630018
2020-07-22T17:01:13
2020-07-22T17:01:13
281,735,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
import subprocess import os import docker from mininet.net import Mininet from mininet.node import Host, Controller, OVSSwitch, Node, OVSController from mininet.link import TCLink from mininet.log import setLogLevel, info, debug, error from mininet.clean import cleanup from mininet.cli import CLI from mininet.topo im...
[ "ariel96cs@gmail.com" ]
ariel96cs@gmail.com
f409bb5edbcbc9a05b0e3614787834fde94c5f45
9721d961c8523d65594b0b255ca670ba4e614b9c
/load_data.py
80792959a997ab5e156a856cff4f6ebc96c8c90b
[]
no_license
HeXie-Tufts/Movie-Rating-Prediction-Variational-Inference
4e58a75e4c9dae5a796a39ad98755574a274cb56
774bd2f828d1e44bbeea7b9d556ed5606d973706
refs/heads/master
2020-04-06T06:28:14.320954
2016-10-05T20:45:43
2016-10-05T20:45:43
69,200,778
3
3
null
null
null
null
UTF-8
Python
false
false
1,536
py
# Read and load movie rating data into a numpy array named ratings. # Each rating is in [userID, movieID, rating] format. # Assume MovieLens 100k, 1m, 10m and 20m data set are saved in Data/ml-100k, Data/ml-1m, # Data/ml-10m, and Data/ml-20m respectively. import os import numpy as np def get_data(size): rating...
[ "noreply@github.com" ]
noreply@github.com
61958b82d04c313ae2be0eb2a1c6c3c9d676e970
a99a6d655a10f6d702e9c4e64ef4c523961520b7
/入门/example4_列表.py
64681059ed41e02f52c7434431cc49ba3846ee73
[]
no_license
angleF/Python-Study-notes
2bab47e4619052ab8c0aa4bd7db153d0328a0300
71b015e07405575e527281e112a299f6a330190d
refs/heads/master
2020-05-03T19:54:58.910533
2019-04-13T13:06:35
2019-04-13T13:06:35
178,792,991
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
# 列表相当于Java中的数组 区别在于长度为可变并且不限制存储类型 # Python中列表可以保存任意对象,也就是说一个列表中可以保存数值、字符串、bool、浮点数、列表、函数以及自定义对象 my_list = [1, 2, 3.2, "hello", True, None, print]; print(my_list) print(len(my_list)) # len()获取列表的长度 print(my_list[0]) # 获取列表首个元素 print(my_list[-1]) # 获取列表最后一个元素 # 切片 也就是截取出一个子列表 stus = ["张三", "李四", "王五", "赵六", "田七", "...
[ "zhaoliang.fu@ezhiyang.com" ]
zhaoliang.fu@ezhiyang.com
75a42862c43c6dca1c05eb337d790f71f13ec067
673d11fe8266e0b78208b61c447b9a30eb19f363
/fusioncharts/urls.py
b921f3a3ac7f17728abd12c40b6628da674729dd
[]
no_license
ks-manish/stock_data
42cf7cdaf15f58b4cc2db576fb9b3c6b559a76ba
0dcad0eae13cc3d8af600afffa5e67d913a3f437
refs/heads/master
2020-09-07T00:48:09.485279
2019-11-09T07:31:34
2019-11-09T07:31:34
220,606,918
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
"""fusioncharts URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/dev/topics/http/urls/ Examples: Function views 1. Add an import: from samples import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') """...
[ "mks378@gmail.com" ]
mks378@gmail.com
c2846ce97c19f9553db35ded901ed58aa038c6b7
730d2bfd9393b73ebd00e46a6c8940f71585bf7f
/delete_train2_masks.py
efa421f2bef356220068f1da12df37ee843ee0ae
[]
no_license
zrinka-aka-ziz/bach-thes
22504c34393596074f92d0daf52860080d885cf3
af3acedb803987366565630968c7b2d39aeb7c04
refs/heads/master
2023-06-07T02:47:42.768376
2021-07-01T19:27:52
2021-07-01T19:27:52
369,268,914
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
import os, shutil from os import path from os.path import basename from configure import Config config = Config() folders = [] folders.append("/content/bach-thes/notebooks/UNet/Train_images/train2_masks") for folder in folders: for filename in os.listdir(folder): file_path = os.path.join(folder, filename) tr...
[ "zpecanic@gmail.com" ]
zpecanic@gmail.com
2e24fbd669e7753a61cadb89e11c4ae41acecc10
d4b4513c6314871a268ab97d0aece052a632d57d
/soft/server_python/pay_server/handlers/base_ex_handler.py
38064e65e3b9798b33a03eef719d34d4af6da3b3
[]
no_license
atom-chen/tssj
f99b87bcaa809a99e8af0e2ba388dbaac7156a31
f4345ad6b39f7f058fac987c2fed678d719a4482
refs/heads/master
2022-03-14T22:23:50.952836
2019-10-31T11:47:28
2019-10-31T11:47:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,251
py
# -*- coding: utf-8 -*- import base_handler import datetime import urllib.parse import tornado.gen from tornado.httpclient import AsyncHTTPClient import base_handler import json import base64 class BaseExHandler(base_handler.BaseHandler): client_id = None client_secret = None access_token = None refr...
[ "rocketxyfb@163.com" ]
rocketxyfb@163.com
1052118782fd6736888ccb02a6db1b3886405142
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/changeanalysis/v20200401preview/configuration_profile.py
9786500cbb616ed651a6815fdd97c64fa145a53a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
5,413
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
8bd487363ed9f613366edbd1bf42a38de14dc47e
59703a80c1d7a75e994d6cd99a5551c0fe6f5ff8
/구현/나는 행복합니다~.py
9ebf8f1bebf896d21b31d1402ecbb5f294bb589a
[]
no_license
Park-min-hyoung/Baekjoon
89f53f09a53ccb3b30804cd8bbc64e70425f0e07
6a6596885a9967e1962a87947a476ccc1e9804ec
refs/heads/master
2023-08-27T12:21:30.528803
2021-10-13T09:06:49
2021-10-13T09:06:49
325,918,761
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
n, m, k = map(int, input().split()) for i in range(n): for j in range(m): v = ((m - 1) * i) + (i + j) if v == k: print(i, j) break '''쉽게 푸는 방법 n, m, k = map(int, input().split()) a = k // m b = k % m print(a, b) '''
[ "qkralswgud1324@naver.com" ]
qkralswgud1324@naver.com
795cf86e497387026cefa28c0577a696475e152e
2f6b8edbc0cd5872f3078cffe1312ee5968d89aa
/matches/models.py
52a7dbac968aa3192b1ddfc4b9da744c8c3d0f9a
[]
no_license
bkrop/django_dateapp
cfe1b020be72c55c2c676bd929f019d6d764ff30
c5d042474e349612cbc60cb0dde587d866c90dde
refs/heads/master
2022-09-05T17:02:33.500586
2020-06-02T19:19:26
2020-06-02T19:19:26
266,531,104
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
from django.db import models from django.contrib.auth.models import User class Match(models.Model): user1 = models.ForeignKey(User, on_delete=models.CASCADE, related_name='matches1') user2 = models.ForeignKey(User, on_delete=models.CASCADE, related_name='matches2')
[ "kropiwnickib@gmail.com" ]
kropiwnickib@gmail.com
cba37b7b8c7b212b42e70776c97cefab5e2eee5b
0f6510ed80c8d9dafbe402082d2a7880a6873b15
/test_array2.py
d771c67ba23dc6827ce81873f0c13afb61966acb
[]
no_license
surajsvcs1231/SurajProject
7f09807f51d0f15169b18a731b5593822de39fc5
255c50b618f3f6c5da695aee2dbea4976a5739ea
refs/heads/master
2020-06-15T16:33:31.109742
2019-12-28T06:44:32
2019-12-28T06:44:32
195,342,860
0
0
null
2019-12-28T06:44:33
2019-07-05T05:16:15
Python
UTF-8
Python
false
false
210
py
from numpy import * arr1=array([5,6]) arr2=array([9,10]) print("arr1+arr2",arr1+arr2) arr1+=5 print(arr1) arr3=([9,5,8,1,12,6,13,65,17]) print(sort(arr3)) print(concatenate([arr1,arr3])) arr4=arr1 print(arr4)
[ "52556850+surajsvcs1231@users.noreply.github.com" ]
52556850+surajsvcs1231@users.noreply.github.com
b5e119ab739226922e949ed8bc81ed5dbc23894a
fdd1adf421cafbdb0744d70136ae5185f373ecaf
/CycloneHistoryDbWriter.py
29b52d7ee10979afd60d162fbc971193d625431e
[]
no_license
veakulin/etl
8074166e926c4d735ceaf9d0ec21c5775bf90922
eecceffb7f656b846886563733c20bc607415329
refs/heads/main
2023-08-03T04:46:11.378986
2021-09-14T10:49:45
2021-09-14T10:49:45
391,179,946
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
# coding=utf-8 class CycloneHistoryDbWriter: def __init__(self, dbConnection): self.__dbConnection = dbConnection self.__table = "cyclone_history" self.__prepareServer() def write(self, data): # В data находится кортеж (id, date, status) with self.__dbConnection.cursor() as cu...
[ "vea@live.ru" ]
vea@live.ru
3cfca532ad03f21d2055c048505310955eac416d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/cMyMt377ReBsoTHnz_2.py
0abfc3d1d6df4d6d665b66ac913eddfa6e8387f9
[]
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
601
py
""" Write a function that converts a **dictionary** into a **list** of keys-values **tuples**. ### Examples dict_to_list({ "D": 1, "B": 2, "C": 3 }) ➞ [("B", 2), ("C", 3), ("D", 1)] dict_to_list({ "likes": 2, "dislikes": 3, "followers": 10 }) ➞ [("dislikes",...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
cdb710ec0ba17620866dec0d116500853ab820b7
113ef54e42a047e9e631b557012411ecfac72c47
/siphon/web/apps/bundlers/migrations/0001_initial.py
31988e23b04bb58e38569d3d153d3b5dc85e951f
[ "MIT" ]
permissive
siphoncode/siphon-web
77bd241d5f3912ee78155c2b71b75fb59e1b5e27
c398427dc1b73f70b94cd2f60a13e4d26c71610e
refs/heads/master
2021-01-19T21:48:15.253451
2016-08-04T16:53:18
2016-08-04T16:53:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Bundler', fields=[ ('id', models.AutoField(verb...
[ "james.potter@gmail.com" ]
james.potter@gmail.com
bca46aa5667bfdd6b01f2b2e64c77ffc74ebd092
e3e01d265833bcd6461130e575b63b261a2c74aa
/detect/sort/kalman_filter.py
8a4ea41eb79f7849374ef110fddc3cdbf9df1b0b
[ "MIT" ]
permissive
bdkiran/openObserver
aab3badab1e7818081b93a81c999a3b590742d6f
2c9b71f2e7fa021887d7fa760920dea06e67ba72
refs/heads/master
2023-08-27T02:28:30.479898
2021-10-28T22:59:23
2021-10-28T22:59:23
405,126,269
2
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
import numpy as np from numpy import dot, zeros, eye from numpy.linalg import inv class KalmanFilter: ''' Kalman filtering, also known as linear quadratic estimation (LQE), is an algorithm that uses a series of measurements observed over time, containing statistical noise and other inaccuracies, and p...
[ "burak.kiran95@gmail.com" ]
burak.kiran95@gmail.com
5369ae84a01a5b2974f6ccb7a8326aaaeae3b787
1cc631c61d85076c192a6946acb35d804f0620e4
/Source/third_party/boost_1_58_0/libs/mpl/preprocessed/preprocess.py
816ffdc9a69bcc89914e4d93307131bea7fe088a
[ "BSL-1.0" ]
permissive
reven86/dreamfarmgdk
f9746e1c0e701f243c7dd2f14394970cc47346d9
4d5c26701bf05e89eef56ddd4553814aa6b0e770
refs/heads/master
2021-01-19T00:58:04.259208
2016-10-04T21:29:28
2016-10-04T21:33:10
906,953
2
5
null
null
null
null
UTF-8
Python
false
false
2,782
py
# Copyright Aleksey Gurtovoy 2001-2004 # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # # See http://www.boost.org/libs/mpl for documentation. # $Id$ # $Date$ # $Revision$ import pp import shut...
[ "reven86@gmail.com" ]
reven86@gmail.com
0329045be55ebaa28ba8b89cae4674918a4afd35
b1f9ad79fabf111c802e766aaeee6bfcba0c034c
/code/models/__init__.py
1f0f12d78f34e629c8e079f28e10a7ec95d398f5
[ "MIT" ]
permissive
retrieva/lencon
e1a12d6e08966642cfccdd75e733d64afc26edce
16c65471b30436e4e96049bbdccf6c49c9b1f1f4
refs/heads/master
2021-05-02T02:11:48.226647
2018-01-29T02:44:14
2018-01-29T02:44:14
120,880,190
0
0
null
2018-02-09T08:40:23
2018-02-09T08:40:22
null
UTF-8
Python
false
false
374
py
#coding: utf8 from models import encoder_decoder from models import attention from models import len_emb from models import len_init LenInit = len_init.LenInitLateAttn LenEmb = len_emb.LenEmbLateAttn EncoderDecoder = attention.EncDecLateAttn EncDecEarlyAttn = attention.EncDecEarlyAttn LenInitEarlyAttn = len_init.LenI...
[ "yut.kkc@gmail.com" ]
yut.kkc@gmail.com
61405195fdf3f543b057bcceb5760eb3a98400fa
7e30292db480c679094d418938cceab863f69354
/examples/Joins.py
22b2600e47d8eaae729cfe3e13921b21dd3f8ac1
[]
no_license
ragsdale/cs327e
7896caf4992030ce7c0fa821668367aa63428381
fd3d676428f4fe6ed6ed892efb69d9c2846b911b
refs/heads/master
2021-01-17T12:44:57.177119
2014-03-28T00:11:54
2014-03-28T00:11:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
#!/usr/bin/env python3 # -------- # Joins.py # -------- def cross_join_1 (r, s) : x = [] for v in r : for w in s : y = {} for u in v : y[u] = v[u] for u in w : y[u] = w[u] x.append(y) return x def cross_join_2 (r, s) ...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
3b0a6d7ee252f0a62e3c3b65d97449b829c79187
b186830ab8e74452cb2e8ff0188d0a8fa3d15b59
/isBeautifulString.py
28d7d42b616a6bf7a7717f070ea4f66957175180
[]
no_license
cafaray/atco.de-fights
e3a278bd51feb7bee05623eaf20d1ea4db535eb6
1304bcabf1f18202c14a20b38144854ef05bf776
refs/heads/master
2022-11-26T05:57:37.564504
2020-07-28T12:07:01
2020-07-28T12:07:01
124,416,047
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
import re def isBeautifulString(inputString): orderedString = sorted(inputString) inputString = "" for c in orderedString: inputString += c #inputString = str(inputString) print(inputString) count = len(inputString) esPrimero = True previo = '' for caracter in range(ord('a'),...
[ "cofa@gft.com" ]
cofa@gft.com
d387f33e8da6e96eed4a3d1678adeeca46760d68
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2128/60657/248788.py
279a31a79972b37452759dc5d2286957bd030dc7
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
231
py
import math A=input().split(',') A=[int(x) for x in A] cons=0 n = len(A) s = 0 sA = 0 for i in range(n): s += A[i] * i sA += A[i] cons = s for i in range(1,n): s = s + sA - n * A[n-i] cons = max(cons, s) print(cons)
[ "1069583789@qq.com" ]
1069583789@qq.com
2774c6663b2e06020a13842b09ff5e91a404ed82
b01e63071b744dc438193d182b1ae8702241cac1
/functional_tests/page_objects.py
82a721e7472332d6d800f96c221b1790a9b62ccf
[]
no_license
tilacog/paranoid
ad0d340021e9420cfbcf9b8b8b10dd29889d9483
e28b66076068eada6d1ce7c8ee9726460bc0fe79
refs/heads/master
2020-04-06T07:04:33.484264
2016-03-25T21:34:44
2016-03-25T21:34:44
42,269,554
2
0
null
null
null
null
UTF-8
Python
false
false
4,398
py
''' Website testing Page Objects ''' from unittest import TestCase from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.remote.webdriver import WebDriver class PageObject(object): """ Page Object pattern. Parameters --...
[ "tilacog@gmail.com" ]
tilacog@gmail.com
c8d19f97de5d6f8b825f56efbabc8be10792b86a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02795/s029564266.py
458206a6ba58430e9f3d657fc511b7820a26d955
[]
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
114
py
H = int(input()) W = int(input()) N = int(input()) x = H if H>W else W x2 = 0 if N%x==0 else 1 print(N//x + x2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7aebba7750acf3847ec26d87c4ac53601ddfaf50
dc0a1a670dcbf862d45f8957419b04beffc9462d
/0x00-python-hello_world/8-concat_edges.py~
7562b0d6bfd36ba0a803fc39d2b633bee56b1ea5
[]
no_license
tlnguyen2018/holbertonschool-higher_level_programming
3b4e67895e1fe70b9a727893edcfafe86d159d19
fd307b134fb298e1b9e0ef19c353f0b40ae5998c
refs/heads/master
2020-04-09T09:58:55.209093
2019-01-26T01:47:36
2019-01-26T01:47:36
160,253,304
0
0
null
null
null
null
UTF-8
Python
false
false
210
#!/usr/bin/python3 str = "Python is an interpreted, interactive, object-oriented programming\ language that combines remarkable power with very clear syntax" str = str[39:67] + str[107:112] + [0:6] print(str)
[ "tlnguyen3839@gmail.com" ]
tlnguyen3839@gmail.com
51a1625a29e94d22f6e70e9ec6b12db61a54aebd
6b0778d2c926fade2681f20bbc732b65bf8e4ddf
/manager.py
8b71824ddecae1ce066259abb02135a02c14bc21
[]
no_license
volodymyrhusak/Users
21e878ed89b00c90d50487a7877c225d0b9deadb
41d8bc1a4082343a852953967906eedb31943e9c
refs/heads/master
2021-01-01T16:58:20.563946
2017-07-21T15:59:32
2017-07-21T15:59:32
97,964,861
0
0
null
null
null
null
UTF-8
Python
false
false
4,818
py
# -*- coding: utf-8 -*- from mysql.connector import MySQLConnection, Error, errorcode from my_models import User, Course class UserManager(): def __init__(self): try: self.conn = MySQLConnection(user='root', password='1', ...
[ "vovatrap@gmail.com" ]
vovatrap@gmail.com
c34084cec21ce2291bcfc29b492d4f5635079f8e
4d28185e7a78a569f9a449f39f183cac3024f711
/packages/Python/lldbsuite/test/lang/swift/generic_tuple/TestSwiftGenericTuple.py
3cb865b97a5151804fb5618d1f0b55353219405a
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
apple/swift-lldb
2789bf44f648609a1674ee520ac20b64c95de072
d74be846ef3e62de946df343e8c234bde93a8912
refs/heads/stable
2023-04-06T00:28:15.882479
2019-10-25T22:46:59
2019-10-25T22:46:59
44,838,862
780
291
Apache-2.0
2020-01-10T19:28:43
2015-10-23T21:13:18
C++
UTF-8
Python
false
false
608
py
# TestSwiftGenericTuple.py # # This source file is part of the Swift.org open source project # # Copyright (c) 2018 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See https://swift.org/LICENSE.txt for license information # See https://swift.org/CONTRIBUT...
[ "aprantl@apple.com" ]
aprantl@apple.com
34147064a2ee0e81851c6e2ceea0750229130269
d6e74df012ee7c77b24231af3b1134b6fee1b778
/djangonote/djangonote/settings.py
283c62f93fa03cbccb50f3b3d917a73747fac1d0
[]
no_license
akshatz/Backup
d3f48efd1b9a63b2640fd3606437d3566f8c26f8
6190d5cfb438bebbc7ea65622978c464be74107c
refs/heads/master
2020-08-12T13:29:53.602743
2019-10-13T07:20:41
2019-10-13T07:20:41
214,775,813
0
0
null
null
null
null
UTF-8
Python
false
false
3,340
py
""" Django settings for djangonote project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "noreply@github.com" ]
noreply@github.com
525272bb5554570bbbc59ad39b7c2bc86c8841b0
f2ac8f55cf34520fa4c2a44f473b61c6d7a2eac0
/Kaggle/Model-1(CNN)/Code/cnn_kaggle.py
b64d768a3ab69e3ef9f596eca7be32fac06ceef5
[]
no_license
ProtikNag/Paintings-Art-Style-Classification-with-CNN
e9617db13e766a12ecf2b70f15ff303c5690773f
5ac098426b0acd26092278ff52218a04900c5eab
refs/heads/master
2020-06-03T09:51:31.176572
2019-07-09T09:24:15
2019-07-09T09:24:15
191,527,233
1
0
null
null
null
null
UTF-8
Python
false
false
8,639
py
# -*- coding: utf-8 -*- """CNN-Kaggle.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1Sar52JYTn18rOnhVnaiwGY5LZ0wcw73Q # Connect to Google Drive """ #Step 1 part 1: connect to drive !apt-get install -y -qq software-properties-common python-soft...
[ "protiknag08@gmail.com" ]
protiknag08@gmail.com
0918807e826d4a9e01fb6d35ea14ed6d70de45c5
cbea18970ef812d8e4405707d1c86a9af0d593ff
/accurate_bg/cnn_ohio.py
551715f37b20046392632d45b6a4945ab124c4db
[ "MIT" ]
permissive
manhhv87/AccurateBG
17d531a836145a957d55655ac8a39420ed571739
379e52e2353ba73830b3bdc91f991090a627cd01
refs/heads/main
2023-07-14T03:08:27.268212
2021-08-23T16:41:52
2021-08-23T16:41:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,769
py
import os import numpy as np import tensorflow as tf from cgms_data_seg import CGMSDataSeg # from multiprocessing import Pool def regressor( low_fid_data, k_size, nblock, nn_size, nn_layer, learning_rate, batch_size, epoch, beta, loss_type, outdir, ): tf.compat.v1.re...
[ "doggydeng@gmail.com" ]
doggydeng@gmail.com
e2da18e1f25ce2aa8965c636a96204d735f88438
d7bda270836a614f21b590abe6f679dbeb467147
/test/test_radiusmessage.py
d1d072812fbd949b14a8c76186bd1e9989a68be2
[]
no_license
craighagan/PythonRadius
3e02561b1c7ada7e8a27ea1388afba602869bf1b
d657c2fb04a04330108ce3b8274a03c2157d67b5
refs/heads/master
2020-05-07T12:47:15.031580
2014-04-25T03:30:51
2014-04-25T03:30:51
19,129,017
0
2
null
null
null
null
UTF-8
Python
false
false
10,397
py
import os import logging import json import re import unittest import tempfile from nose.tools import assert_equal from nose.tools import assert_not_equal from nose.tools import assert_raises import random import json import base64 from radiusconstants import * from radiusmessage import * def get_random_int(min, max...
[ "hagan@cih.com" ]
hagan@cih.com
4c0a86c3d86c492fd1261d2dc30831ac9d2d320e
0857cd840d073d0ebd411be3910e456d2f9e0e74
/commandGenerate.py
f5ef31d97fc53028d741db5711089a4a08ba5d62
[]
no_license
jonkiky/RegressionTestSelection-
a9f766d6fb0338ccddb126b70a4009d90b594b2b
a2836f8174d9520bbf58427a594eb94f556b14bb
refs/heads/master
2020-04-19T02:47:00.308861
2019-01-28T07:03:55
2019-01-28T07:03:55
167,914,630
0
0
null
null
null
null
UTF-8
Python
false
false
33,460
py
from subprocess import call arry = ["cn.tf.bean.CartItemTest", "cn.tf.bean.CartTest", "cn.tf.commons.PageTest", "cn.tf.controller.ClientServletTest", "cn.tf.controller.LoginServletTest", "cn.tf.controller.ManageServletTest", "cn.tf.controller.PayServletTest", "cn.tf.controller.ResponsePayServletTest", "cn.tf.dao.BookDa...
[ "jonkiky@gmail.com" ]
jonkiky@gmail.com
1398839d72afa87d9f8326f5f637ebdb440aeb5e
17e744cce8f511cec7d337086aaf998659edf397
/tests/unit/test_node.py
6b46064aa16a2814e78c09f8e5220dfb3d58e8fc
[ "BSD-3-Clause" ]
permissive
GnaneshKunal/redisgraph-py
80d77abdb492e8ac8d21b93a8467bf5b86ffec1d
e988cdd70ee8685e6d2a62f166036e2a04b77e94
refs/heads/master
2021-06-14T12:20:44.925745
2021-02-24T11:38:12
2021-02-24T11:38:12
189,179,170
0
0
null
2019-05-29T08:02:00
2019-05-29T08:02:00
null
UTF-8
Python
false
false
2,117
py
from redisgraph import node from tests.utils import base class TestNode(base.TestCase): def setUp(self): super().setUp() self.no_args = node.Node() self.no_props = node.Node(node_id=1, alias="alias", label="l") self.props_only = node.Node(properties={"a": "a", "b": 10}) se...
[ "noreply@github.com" ]
noreply@github.com
089794d55234d8a1952611f007936d2d9699a213
694f8bddc62e5d01a2d5dc558ffdf65100b8c4fc
/app/charts/plot.py
c40406e3faf4e59e3fcead9008f4c3be23df4a00
[]
no_license
SennaSemakula/Savings-visualiser
abdeb10ac8022117294410893db161452b6096c5
8c821a7b4e6cf9b1a6788b9803689bef5a324056
refs/heads/master
2020-03-31T02:37:50.108288
2018-10-14T17:49:59
2018-10-14T17:49:59
151,833,202
0
0
null
2018-10-27T17:51:10
2018-10-06T11:26:51
Python
UTF-8
Python
false
false
1,197
py
from . import graph import doctest import os import plotly import plotly.plotly as py import plotly.graph_objs as go class Plot(graph.Graph): """Advanced scatter plot graph implementation """ def __init__(self, data, title): self.data = data self.title = title def draw_graph(self, x_axis, ...
[ "sennasemakula@hotmail.co.uk" ]
sennasemakula@hotmail.co.uk
462157a1a89b592f7d4281e5bb42b7f236dc1270
c9ccfdae700387557cd5e214de4bfad70bfce1ff
/InvestmentMonitor/asgi.py
f92f78a759726230c4b756c08915efbfbff82bee
[ "MIT" ]
permissive
BrunoPivoto/Invest-Monitor1.1
2d01f23a4593d631ffed3f8426493d4a2497337c
19ce6565a8fc4ff0c61c643435b8906645d0acb8
refs/heads/main
2023-06-08T13:14:32.951901
2021-06-27T23:25:25
2021-06-27T23:25:25
374,479,397
0
0
MIT
2021-06-27T23:25:26
2021-06-06T22:51:16
Python
UTF-8
Python
false
false
411
py
""" ASGI config for InvestmentMonitor 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/dev/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "brunorangel@gec.inatel.br" ]
brunorangel@gec.inatel.br
dc4a1dacd3a190a806a1bdb63ddfd46211bb4018
97b827ddf260dfc8a2725e66359e3625af84b7d1
/src/ssm_document_generator/definition/mixins/stickytape_mixin.py
8e79540f2e1028167c58782c0f2c81e5212f7e64
[ "Apache-2.0" ]
permissive
ken2190/aws-systems-manager-document-generator
eeea79dbae67c0b12f0d50a8412de3e8293a0037
2c041fd52342d95da4535fe3236e43933cc6e08d
refs/heads/master
2023-03-16T03:15:07.034439
2018-05-12T16:56:57
2018-11-04T12:26:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
from tempfile import NamedTemporaryFile import sys import stickytape class StickyTapeMixin: """ Adds functionality to combine several python modules into one. If your original code has dependencies that can be found in add_python_paths - those dependencies would be merged into the result. The point i...
[ "sitalov@amazon.com" ]
sitalov@amazon.com
e596609fdd6492eb7d8be737559ec86b1d983667
8688c88074a871f75a03a11a9fe878d4045edf33
/legacy/test_None.py
db55b76bf9574b9f1913f695f3cb034258cc61b5
[]
no_license
liminn/deep_image_matting
e958dd46fc61a0dc48491ccecad5420b2548a3b3
b280ed12bde753ec8221c61fadeddf1ac54cce03
refs/heads/master
2020-05-19T17:36:13.338417
2019-05-08T09:28:49
2019-05-08T09:28:49
185,137,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
import argparse import cv2 import numpy as np from model_None import build_encoder_decoder,build_refinement if __name__ == '__main__': # model model_weights_path = 'models/final.42-0.0398_author.hdf5' encoder_decoder = build_encoder_decoder() model = build_refinement(encoder_decoder) model.load_we...
[ "11172918@qq.com" ]
11172918@qq.com
31fbc00f9b6ac9fa12193baad339be0975f877cd
ab28e2cfd8c2475b5f2b361095c6dcfec6418392
/manage.py
d2f49f112c85fac41e933d58be1b4b451c67a19b
[]
no_license
jonerra/stock_app
89bd10276e636e6b35dd268d5886bcbd07db48e9
ee8c40c50e4c767a985e82f9da1f470a1f935df6
refs/heads/master
2021-01-10T09:19:22.066846
2015-12-01T18:09:35
2015-12-01T18:09:35
45,061,734
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "stock_app.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jonerra23@aim.com" ]
jonerra23@aim.com
820940d089213e7f72a477e24c7b2034c5d58ad4
4009ab8072698c97556c033ab09cc5ff4465ef44
/venv/bin/flask
886b14db2496f1e6ce8c2edca35ca1b2e0cdb0d2
[]
no_license
Joyer0099/myblog
c6452393cd6c8f3a6adea25bab66b898fa03df04
572a472ecf724bec5b4395c20d5466e79f3fab64
refs/heads/master
2020-05-16T22:53:30.237823
2019-04-25T03:30:47
2019-04-25T03:30:47
183,349,216
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/Users/Joyer/Documents/Django/myblog/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "472949559@qq.com" ]
472949559@qq.com
f363be6d2c535c94f8e0236e65f7658c398957fd
f903445786f43421e8a543585053862875d1d480
/spider.py
e7fa311bfacdec5283dde00f83e925f4d6e0b05d
[]
no_license
Andchenn/WZRY
3f997503f33c89b4dd41d88c7baa41d0c9e42be8
a066c69ebb4f64c395b90fdf5419ac6e655bebbb
refs/heads/master
2020-04-08T16:22:23.541904
2018-11-30T10:56:41
2018-11-30T10:56:41
159,515,523
0
0
null
null
null
null
UTF-8
Python
false
false
2,791
py
""" 抓取王者荣耀皮肤 """ import requests from urllib import parse from bs4 import BeautifulSoup import os class Skin(object): def __init__(self): # 英雄的json数据 self.hero_url = 'https://pvp.qq.com/web201605/js/herolist.json' # 英雄详细页的通用url前缀信息 self.base_url = 'https://pvp.qq.com/web201605/her...
[ "1476204794@qq.com" ]
1476204794@qq.com
a17c972f8a76d1cd5c1564834b6a69d586195c85
e54214031e565c489edd4ceaadbfd2f58c66ea5f
/tianyancha/geetest验证码本地架设网址demo/demo/flask_demo/start.py
682973170762702f6bcb9935830032447247b69a
[]
no_license
ziakkk/tianyancha_project
372e2c06710517c1a1dfa2da3c7c948ae5d29bc4
6ef44ae6ef94e8ca3716e5de6b805e42b9dbb794
refs/heads/master
2021-01-01T18:10:16.349268
2017-07-06T02:20:12
2017-07-06T02:20:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,263
py
#coding:utf-8 import json from flask import session, make_response, Flask, request, render_template from geetest import GeetestLib pc_geetest_id = "b46d1900d0a894591916ea94ea91bd2c" pc_geetest_key = "36fc3fe98530eea08dfc6ce76e3d24c4" mobile_geetest_id = "7c25da6fe21944cfe507d2f9876775a9" mobile_geetest_key =...
[ "2238359556@qq.com" ]
2238359556@qq.com
1910c08d3ec9f7a073edcf52ee5b3b98893e5ad5
e5a5e11e44b168020e4be78feda984620eec84b5
/projectScripts/BandGap/tPA_acenes/createGeometries/acenes/dumindaCyclesFIXED/qtp00/acene8/submit.py
c8decf683e9f7111456b880ab86a7979fa9f0a88
[]
no_license
zww-4855/General_Programs
0541a4467b5c1d4e7c88cc35a93b9d3e5bd76b78
792002371faf8568050c56a937c1605c464fa239
refs/heads/master
2023-01-04T11:56:26.713924
2020-11-03T05:07:20
2020-11-03T05:07:20
271,626,093
0
0
null
null
null
null
UTF-8
Python
false
false
3,782
py
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # from pyscf import gto from pyscf import scf from pyscf import lib ''' Density fitting method by decorating the scf object with scf.density_fit function. There is no flag to control the program to do density fitting for 2-electron integration. The...
[ "zacharywindom@Zacharys-iPro.dhnet.ufl.edu" ]
zacharywindom@Zacharys-iPro.dhnet.ufl.edu
acd40a1353e684cc02afbd337edd65e8d9d59493
b656c527a0a6bcb8df45512e202d1607fe33638e
/migrations/versions/0322_broadcast_service_perm.py
21997bc3e47eacf7ba74bc921906f4c7644cf2f3
[ "MIT" ]
permissive
alphagov/notifications-api
fb6d0b6b952f0e2e8c98776be9adf836cce85c54
b4c5be42583ef6d6cd004e8c24acaf810d86f65c
refs/heads/main
2023-09-01T08:58:52.353509
2023-08-31T15:00:31
2023-08-31T15:00:31
46,422,101
61
33
MIT
2023-09-14T14:18:19
2015-11-18T13:57:17
Python
UTF-8
Python
false
false
516
py
""" Revision ID: 0322_broadcast_service_perm Revises: 0321_drop_postage_constraints Create Date: 2020-06-29 11:14:13.183683 """ from alembic import op revision = "0322_broadcast_service_perm" down_revision = "0321_drop_postage_constraints" def upgrade(): op.execute("INSERT INTO service_permission_types VALUES ...
[ "leo.hemsted@digital.cabinet-office.gov.uk" ]
leo.hemsted@digital.cabinet-office.gov.uk
369ef5905bcb862ee7334e10fdb50ce1ad709143
b3d3460bd1551b0b8fbc191a323d20341629acee
/RestPy/SampleScripts/connectToExistingConfig.py
69501fc34d187358989ee7ab5a16fc0639805421
[ "MIT" ]
permissive
sar772004/IxNetwork
0a0cf8f732541df3397e630121829ecd8b836400
8c1226c9d958823737365414f8b025cfd6bf48b0
refs/heads/master
2020-08-21T08:34:57.896307
2019-10-18T01:54:03
2019-10-18T01:54:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
""" connectToExistingConfig.py Connecting to an existing session. - For Windows, the default session ID=1. - For Windows Connection Mgr, session ID=? - For Linux, there are two ways to login: 1> Login with username/password 2> Use the API-Key instead. - Then provide ...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
912ff041c6fdadf6ef1d413233456628249095ee
31cc3d3cb3928ea9fb703946968f46213e70f785
/blog/migrations/0010_remove_article_slug.py
643ad2923544e659645207704d31d27d10745d82
[]
no_license
moukhlisou/myproject002
65a05a9fd0d3cfada74cb727723311a88286baf2
5dc744ca36732840e5751486d856f98c7c8d09c5
refs/heads/master
2020-04-05T04:40:16.897299
2018-11-07T14:45:01
2018-11-07T14:45:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# Generated by Django 2.1.2 on 2018-11-02 10:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0009_auto_20181102_1004'), ] operations = [ migrations.RemoveField( model_name='article', name='slug', ), ...
[ "soumaya.moukhlis@gmail.com" ]
soumaya.moukhlis@gmail.com
1cd3c183ff0340586552ac5a679281e1bec155e4
5456396d7138895321da4e8aac0bcbd172652a48
/articles/views.py
6518ae401884ce370884a09ab14f30cbcf4fbb4f
[]
no_license
Mustafaryad1/djangonautic
f0ff7552cfd01e52d362d8f4b989da0545bbab0e
928fdf419ed9c978619ac2ad5d8bfd829afd830e
refs/heads/master
2021-04-06T09:41:21.894708
2018-05-05T08:43:23
2018-05-05T08:43:23
124,810,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
from django.shortcuts import render, redirect from .models import Article from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from .forms import CreateArticle from django.http import Http404, HttpResponse # to raise 404 page not found # Create your views here. def ar...
[ "mustafaryad1@gmail.com" ]
mustafaryad1@gmail.com
57949227124101eb09ec13c3918b518bd5693c14
1974bab0ee3cda08b22464cdccee226d30a34ced
/setup.py
8e673f4b3286ff3184fcf67afad43b00aae80d38
[ "MIT" ]
permissive
jan-hajny-netsmile/safrs
96a7b540e70cca98a00f0806615040a7043a41c2
7470f7fbc05a81be74666dbd1ce729276f2e1792
refs/heads/master
2021-07-01T12:08:48.966531
2017-09-22T05:30:47
2017-09-22T05:30:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
from distutils.core import setup setup( name = 'safrs', packages = ['safrs'], version = '0.1.1', description = 'safrs : SqlAlchemy Flask-Restful Swagger2', author = 'Thomas Pollet', author_email = 'thomas.pollet@gmail.com', url = 'https://github.com/thomaxxl/safrs', download_url = 'https://github.com/th...
[ "thomas.pollet@gmail.com" ]
thomas.pollet@gmail.com
9ff3b63c56ef58dc9711f812f84b3a2d77013f91
cd13eb3e56f6cc89f47f55917bf1dd6b0807b586
/lgb_util.py
30294aad43a91c293c01e27889d17e852c8e1ae7
[]
no_license
mahaoyang/MovieLens
f43e2b47c50c7d0140255207eac0c2d25a681d40
734c12a41c95f880b2ddb19b256dac83fac18dc4
refs/heads/master
2020-07-11T19:55:55.798820
2020-05-09T03:55:54
2020-05-09T03:55:54
204,632,072
2
2
null
null
null
null
UTF-8
Python
false
false
441
py
#!/usr/bin/python3 # -*- encoding: utf-8 -*- import re import math def trans_publish_years(s): s = re.findall('[\d+]', s) return ''.join(s)[-4:] def trans_genres(genre, genres_length, genres): ger = [0] * genres_length for g in genre.strip().split('|'): ger[genres[g]] = 1 return ger de...
[ "mahydxygitlab" ]
mahydxygitlab
fdc259e99744b2ffb97919d7dd540c5359414d35
195afe3ecd8cab082350c52e3a9d8bbf37d3c762
/funcs/backUteis/uteis.py
765192fe850e990424eceb290fbe03704e17103d
[]
no_license
rfzorzi/glacX2020
faa87dd7244df4dd80f1664c81d49fe260425ff9
911254a1a80e3f00040e3ad7ba0c745238229444
refs/heads/master
2023-07-29T09:25:03.688481
2021-09-02T14:28:15
2021-09-02T14:28:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,687
py
from tkinter import * from tkinter import messagebox import webbrowser class Functions: def moedaTotaliza(self, totalizador=0, moeda='R$'): return f'{moeda}{totalizador:>8.2f}'.replace('.',',') def moedaTotalizador(self, totalizador=0, moeda='R$'): return f'{moeda}{totalizador:>8.2f}'.replace('...
[ "rafaelserafim.rfzorzi@gmail.com" ]
rafaelserafim.rfzorzi@gmail.com
c812efedd1bc577a1273403a66df03d69e7c9e6c
e2cefc848c417334f7ba12d2a3875dfb55b151be
/blogmods/models/users.py
53295e59c620ea561ceeddd2878d2017af44259a
[ "MIT" ]
permissive
stonescar/multi-user-blog
2f5f11fd890e6a2dbad15e874a8631441ee50d8b
a402dafde1f7d94031129638aa072ce39223e80e
refs/heads/master
2021-01-23T01:25:40.459957
2017-06-08T09:21:22
2017-06-08T09:21:22
92,869,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
from google.appengine.ext import db from database import Database from .. import seq class Users(Database): """ DB for users """ username = db.StringProperty(required=True) password = db.StringProperty(required=True) email = db.StringProperty(required=False) def get_votes(self, uid): v = ...
[ "stonescar@gmail.com" ]
stonescar@gmail.com
82184d7fea3aa9573d5469355b5206fdd80eccbb
5a4a152031b79feeb1aa2dfe9aeaf5fb89ef5d9d
/test_main.py
4c1f57faa4f74e2b9b883705766a4b27aa23bd05
[]
no_license
ivanjankovic/deploy-flask-app-to-kubernetes
6add453a54b5f5eec4aab608db6672e76543b475
5d835670c053517045ba3698af1f2787c3da0f6d
refs/heads/master
2022-04-27T02:26:31.369667
2020-04-23T11:44:40
2020-04-23T11:44:40
257,952,345
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
''' Tests for jwt flask app. ''' import os import json import pytest import main SECRET = 'TestSecret' TOKEN = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NjEzMDY3OTAsIm5iZiI6MTU2MDA5NzE5MCwiZW1haWwiOiJ3b2xmQHRoZWRvb3IuY29tIn0.IpM4VMnqIgOoQeJxUbLT-cRcAjK41jronkVrqRLFmmk' EMAIL = 'wolf@thedoor.com' PASSWORD = 'h...
[ "jankoemail@gmail.com" ]
jankoemail@gmail.com