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
e07fa43a83bd2adf094cd9ebac21dd89d40d6130
bebaaeb46b31d6781f9d3ecad54a55cbbc7213fb
/cw03/cw6.py
977a1e77748b6b043928a73c03427b59b8c7a63e
[]
no_license
D3XXXt3R/PGiM
ce9681441d833f45cefee94565c1dd5fef1e9650
8eeecc3543be27788b760a6717a729b46883d055
refs/heads/master
2021-09-03T05:21:09.403913
2018-01-05T23:05:06
2018-01-05T23:05:06
106,942,201
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import os import cv2 img1 = cv2.imread(os.path.dirname(os.path.abspath(".")) + "\images" + "\eagle.jpg") img2 = cv2.imread(os.path.dirname(os.path.abspath(".")) + "\images" + "\image.jpg") result = cv2.divide(img1, img2) cv2.imshow("img1", img1) cv2.imshow("img2", img2) cv2.imshow("cv2.add img1 and img2", result) ...
[ "pawelkalecinski94@gmail.com" ]
pawelkalecinski94@gmail.com
7c2844d70a96688b97f5507202d86e90e17c7f8b
d3aab787246667a80373843ed165387277d590d4
/sdk/python/tests/integration/feature_repos/integration_test_repo_config.py
e4ff667764809f0a6222d8b25b4153235cf9980f
[ "Apache-2.0" ]
permissive
woop/feast-test
0302d30f8a6c0fb9b0e7e6d7d11c071a353a5ac2
0938060be08eff0eb94400384329a07fd17bd543
refs/heads/master
2022-03-09T20:41:50.933324
2022-03-05T06:03:38
2022-03-05T06:03:38
248,950,704
0
1
Apache-2.0
2020-03-21T11:07:54
2020-03-21T10:12:35
Java
UTF-8
Python
false
false
1,089
py
from dataclasses import dataclass from typing import Dict, Type, Union from tests.integration.feature_repos.universal.data_source_creator import ( DataSourceCreator, ) from tests.integration.feature_repos.universal.data_sources.file import ( FileDataSourceCreator, ) @dataclass(frozen=True) class IntegrationT...
[ "noreply@github.com" ]
noreply@github.com
94096acaeabb4aaab31c981ee3428e6996c89c0c
8c7935dff5256f607823a25372960ca126a02661
/FPL_wildcard_team_selector/__init__.py
2e8523740904b59e9ef3f29c76e389fc3c1f45e9
[ "MIT" ]
permissive
abdul-gendy/FPL_wildcard_team_selector
13fd4375e3d88b9c9831ae731e6f630ad7bb7cee
e8dce9b655c44c665bb681d772ef0c215816ccd8
refs/heads/main
2023-02-09T19:44:14.968850
2021-01-09T15:50:19
2021-01-09T15:50:19
316,372,344
0
0
MIT
2021-01-09T15:46:20
2020-11-27T01:31:55
Python
UTF-8
Python
false
false
82
py
from .initiate_team_selection_pipeline import play_wildcard, generate_player_stats
[ "Abdul.Elgendy@outlook.com" ]
Abdul.Elgendy@outlook.com
0ace437a85db6e96650951783193984ca95813b5
c90081303077c4b61eea8fd3e358b3e4fdc9fe3e
/python/setup.py
d46141714a638ff7c5165fbbacb30938c7deec32
[]
no_license
deepankarm/jinad-clients
215bb8b678c9c0535f12043432d0a9caf9ddb90b
dfdf80613b37cbaaae47083e7f97527d57cf7642
refs/heads/main
2023-03-03T19:55:19.855216
2021-02-08T19:43:57
2021-02-08T19:43:57
337,189,609
1
0
null
null
null
null
UTF-8
Python
false
false
978
py
""" JinaD (Daemon) REST interface for managing distributed Jina # noqa: E501 The version of the OpenAPI document: 0.9.32 Generated by: https://openapi-generator.tech """ from setuptools import setup, find_packages # noqa: H301 NAME = "openapi-client" VERSION = "1.0.0" # To install the library, ru...
[ "deepankar.mahapatro@jina.ai" ]
deepankar.mahapatro@jina.ai
169d7cc14dc8f7dc5cef3961d36301b8c238a443
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/stdlib-big-1150.py
f0c360d921b9d495733e208728892b4243b4c859
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
8,992
py
# ChocoPy library functions def int_to_str(x: int) -> str: digits:[str] = None result:str = "" # Set-up digit mapping digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] # Write sign if necessary if x < 0: result = "-" x = -x # Write digits using a recursive call ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
ffc1f5e25662f03a42ca4d8b62463a5ac471ce17
613ef791c47bad3bccc6c840147548ad0ae48351
/18term1/COMP9021/Assignment_1/readtest.py
e6d7b3d954a5022983aa541120b2028c1f93e53c
[]
no_license
andygaojw/COMP-COURSE
d02b3beef045f7a18cfc0636c54045f00f4091c3
f923f7aedaaea24dc894396533f79dfd298d13a3
refs/heads/master
2022-12-10T11:12:55.651087
2020-09-12T17:48:43
2020-09-12T17:48:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
import sys filename = input("") array = [] try: with open(filename) as file: line = file.readline() while line: line = line.strip('\n') line = list(line) while ' ' in line: line.remove(' ') array.append(line) line = file.re...
[ "liky1995@hotmail.com" ]
liky1995@hotmail.com
1d588f39142ab87ca6ee36bc0076d85cc7529753
f89d54420d4b0d86753afcf7d8db248cabaa4868
/venv/bin/django-admin.py
769730120a72404d2d010fd90c9f9b0fd5b4f303
[]
no_license
k121995/Eric
a58a247399588d3956cfeac25654f1c4f5f471d2
20f27a5f2ecd0249e2e13e245c5ce0a6ce168e03
refs/heads/master
2021-04-07T10:55:32.264499
2020-03-20T04:41:07
2020-03-20T04:41:07
248,669,134
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
#!/home/user/Desktop/new/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "kiran.sonawane@navsoft.in" ]
kiran.sonawane@navsoft.in
0977cd18f95a2dfb2553b1988fb052ae585579fd
c23d14c870ba0e3ecd739447018d890b80523fbb
/pyforchange/egg/resources/extensions.py
b8488b314b8cf4dff3a4fd01b830b422eb59166d
[ "MIT", "CC-BY-4.0" ]
permissive
PythonForChange/pyforchange
9e1cfb286bca2720c9cf4f2ff345aa70d09ce87e
2cc5afef227ac68147e291e447c57924586a0b12
refs/heads/master
2023-06-22T10:21:42.507358
2021-07-22T20:59:10
2021-07-22T20:59:10
374,409,188
1
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
import os from pyforchange.egg.resources.modules import install # BEWARE: There is an import in line ~51 class Lang: def __init__(self,name: str): self.name=name self.extension="."+self.name self.root="/usr/bin/python "+name+self.extension def write(self,T: str,name: str): f=ope...
[ "eanorambuena@uc.cl" ]
eanorambuena@uc.cl
704f69454fb77d18fbc3f25613f593f8968ae830
4c5b7f7f56105616344a3d5b59c60fe4f2756b01
/user/views.py
d6724afdda6732bfd5fd189f15aa7bb41fd531db
[ "MIT" ]
permissive
KrishnaVeer7712/India-National-Safety-Management-Web
2b79e1c19808864001c9b9cc7af01a6567219a7b
bfc60664b243b71c66265aa89fc4da8886b3d511
refs/heads/master
2023-01-09T03:31:27.556100
2020-11-12T06:29:23
2020-11-12T06:29:23
311,727,428
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
from django.shortcuts import render,redirect from django.contrib import messages from django.contrib.auth import authenticate,login from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import AuthenticationForm from .forms import UserRegisterForm from django.core.mail import send_mai...
[ "ks7712@bennett.edu.in" ]
ks7712@bennett.edu.in
84006f624864e501e1d1e5bfd61e533585689919
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/thirtyPercent/rank_1s4y_D.py
65f83a88199c4d9bcd5ca63bf3413fa8d2c6358d
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
5151493f43a0b90174efde9a14fa9b6bcf09ea17
dd42972062dee3d4f59bf185173efa90d3f89e36
/tests/data_asset/test_expectation_decorators.py
427216e0c854e19f8ffd1a63ac8f2ffb461749b4
[ "Apache-2.0" ]
permissive
SwishAnalytics/great_expectations
7d63692826e904e05fd7a8b6c38284c8e1d451b4
31f3dc1d858f6c0235e7bd27f2af6c9bdf7fa775
refs/heads/develop
2022-04-19T12:31:15.304005
2020-04-18T00:16:21
2020-04-18T00:16:21
250,349,030
0
0
Apache-2.0
2020-03-26T19:28:56
2020-03-26T19:10:48
null
UTF-8
Python
false
false
18,695
py
from __future__ import division import pytest from great_expectations.core import ExpectationKwargs, ExpectationConfiguration, ExpectationValidationResult from great_expectations.data_asset import DataAsset from great_expectations.dataset import PandasDataset, MetaPandasDataset class ExpectationOnlyDataAsset(DataAs...
[ "james.p.campbell@gmail.com" ]
james.p.campbell@gmail.com
8b086ad20d35c4dda3e0b0be54da794780585885
c437ee09fa856327b66c78c0419ebf1848ad58fb
/PageBotNano-010-Template/pagebotnano_010/toolbox/__init__.py
db64f7c78b5c8ee4f74eb2d58d61dce227badce1
[ "MIT" ]
permissive
juandelperal/PageBotNano
6fea81d027bfe55d1888f55c66b2bcf17bb47ff5
7f0d82755d6eb6962f206e5dd0d08c40c0947bde
refs/heads/master
2022-11-12T05:14:53.019506
2020-07-01T11:17:13
2020-07-01T11:17:13
275,766,295
0
0
NOASSERTION
2020-06-29T07:50:27
2020-06-29T07:50:26
null
UTF-8
Python
false
false
3,056
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # ----------------------------------------------------------------------------- # # P A G E B O T N A N O # # Copyright (c) 2020+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # ---...
[ "buro@petr.com" ]
buro@petr.com
4f834e8074c6a53607cf96517f86c1115d219d69
c0f72c5ed3bbb9288f8796a612a675942a1f7c85
/mqtt_processor/pub.py
cad383b3ddec288fd2b7e7f651dc605e2cde1a4b
[ "MIT" ]
permissive
yourequiremorecitygas/process-server
542378a805158dd528b357dd7def90b6b3117515
d111f20d8a6a67b7ea6ef675671295b736924cd5
refs/heads/master
2020-05-01T18:03:06.902916
2019-06-11T15:58:00
2019-06-11T15:58:00
177,615,552
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import paho.mqtt.client as mqtt mqtt = mqtt.Client("python_pub") #Mqtt Client 오브젝트 생성 mqtt.connect("52.194.252.52", 1883) #MQTT 서버에 연결 mqtt.publish("topic", "AT") #토픽과 메세지 발행 mqtt.publish("topic", "BT") mqtt.loop(2)
[ "noreply@github.com" ]
noreply@github.com
6834331ec3c28cd177a9637e46c13aca13bbefe1
23e737a4d6855b92681406b87967127faab61db1
/Python Programs/Exp_17.py
6918f026d5e81eb7074179df47cd7404a9228d77
[]
no_license
KARTHIK-KG/COD-Lab
2558c061fec192a5e18403f1c470abd08bec62dc
cefb603d6440ffbb380cfc454a652c28e86759cd
refs/heads/main
2023-08-06T19:56:57.178697
2021-10-05T04:10:28
2021-10-05T04:10:28
389,884,272
11
3
null
null
null
null
UTF-8
Python
false
false
618
py
# Python program to find the gcd of two numbers # Step 1:Get 2 integer inputs from the user # Step 2:Next, use decision-making statements or use recursion to check if both the given numbers are divisible by any number (i) without leaving any remainder. # Step 3:If true, then GCD = i # Step 4:Print the GCD of the...
[ "noreply@github.com" ]
noreply@github.com
75415f8c142d19940438175484ca95e2698259e8
ec7b3664e31c0bbd995d75b16854c3712a81ce0b
/HandTrackingModule.py
ee63840507ff8f710c7b8cf87509cde576f912aa
[]
no_license
nokckanh/ControlVolume
c7bd0de0a8cd1c7db767644417256bb6bf3474be
32eb62b964a512f5b8a7dd58a19013ccbd355415
refs/heads/master
2023-05-09T23:56:02.952468
2021-06-03T09:23:51
2021-06-03T09:23:51
373,450,310
0
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
import cv2 import mediapipe as mp import time import math class handDetector() : def __init__(self, mode = False, maxHands = 2,detectionCon=0.5, trackCon=0.5): self.mode = mode self.maxHands = maxHands self.detectionCon = detectionCon self.trackCon = trackCon se...
[ "nokckanh@gmail.com" ]
nokckanh@gmail.com
c278d54c536e37d74902544d465054438ef73832
0571b10dfdd9d5727a858aa0b91f4e77a1bb486f
/test1.py
48b42f5310e1ad8c71d452784f2c67cd5ada6c2f
[ "MIT" ]
permissive
dcampanini/xgboost_classification
dddf6a04a6e0635d8c454c44191cbfbde58ac576
45a7ab760c5d5be1b6bcf14d0a8a39673071da64
refs/heads/master
2023-08-29T19:48:56.430208
2021-06-27T19:08:03
2021-06-27T19:08:03
377,159,700
0
0
null
null
null
null
UTF-8
Python
false
false
5,586
py
#%% import pandas as pd import numpy as np from numpy import loadtxt import time import pathlib import pickle from datetime import datetime from xgboost import XGBClassifier from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from sklearn.metrics import plot_confusion_matrix ...
[ "campanini.diego@gmail.com" ]
campanini.diego@gmail.com
d2fccd29e2c63b4b1fda9a9ccb9c8d23211b6530
fbbb93e9c8b07ff509d44088bd1ba8c31ccb9745
/app/main/views.py
7731ed9f3d68c200530957c602449cf9afaa04d3
[]
no_license
Muia23/pitchyy
ceda760988d0091b37e0b045b61e2c053b993695
a54e8c6086b52d5b0f82dbb722b3412fa392fd64
refs/heads/master
2022-11-29T14:33:31.499248
2020-07-19T09:17:13
2020-07-19T09:17:13
281,632,480
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from flask import render_template,request,redirect,url_for from . import main from flask_login import login_required @main.route('/') def index(): ''' View root page function returning index page ''' title = 'Soi | Where you express yourself' return render_template('index.html', title = title) @ma...
[ "wilfred.muema@gmail.com" ]
wilfred.muema@gmail.com
3e0ff04db8d41c0617cd8e5d9a4521b068448bce
c70748b3b90734e13de3125fe305510cd3345c1d
/44-isMatch.py
211833a97dbb4267b62e48f692cd356ead42d862
[]
no_license
sunshinewxz/leetcode
9fca9a005644b06a5d8da230aeec4c216ac0e436
d2e0fb4a55003d5c230fb8b2e13ac8b224b47a75
refs/heads/master
2021-07-19T08:15:22.159485
2019-01-22T14:04:25
2019-01-22T14:04:25
118,546,173
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
class Solution(object): def isMatch(self, s, p): """ :type s: str :type p: str :rtype: bool """ s_p = 0 p_p = 0 last_p = -1 last_s = -1 while(s_p < len(s)): if p_p < len(p) and (s[s_p] == p[p_p] or p[p_p] == '?'): ...
[ "noreply@github.com" ]
noreply@github.com
d306754b0cdcc2e74315ec7c4b729095348e64ad
ffaeaf54e891c3dcca735347f27f1980f66b7a41
/python/6.net/1.UDP/3.udp_thread.py
61ab82af0f1f72b2aa7363beb316ed17c62e1c54
[ "Apache-2.0" ]
permissive
dunitian/BaseCode
9804e3d8ff1cb6d4d8cca96978b20d168072e8bf
4855ef4c6dd7c95d7239d2048832d8acfe26e084
refs/heads/master
2020-04-13T09:51:02.465773
2018-12-24T13:26:32
2018-12-24T13:26:32
137,184,193
0
0
Apache-2.0
2018-06-13T08:13:38
2018-06-13T08:13:38
null
UTF-8
Python
false
false
970
py
from socket import socket, AF_INET, SOCK_DGRAM from multiprocessing.dummy import Pool as ThreadPool def send_msg(udp_socket): while True: msg = input("输入需要发送的消息:\n") udp_socket.sendto(msg.encode("utf-8"), ("192.168.36.235", 8080)) def recv_msg(udp_socket): while True: data, info = ud...
[ "39723758+lotapp@users.noreply.github.com" ]
39723758+lotapp@users.noreply.github.com
df692854b59b9541f96b9a2daaff92351946e434
1e00035f67485df7544d5b195bef4b765db3cdc2
/lidc_nodule_setup.py
9af14a10e04438a9bf19405c79a3f0b7ce36d7cb
[]
no_license
sinecode/ct-scan-ml
314cad2f645145868452d302321c6398fb52b0c1
c8e1d87aef7633565eb5968f092285224005cf98
refs/heads/master
2023-02-28T11:37:45.640393
2021-02-09T18:46:19
2021-02-09T18:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,902
py
import argparse from pathlib import Path import xml.etree.ElementTree as ET from statistics import median import numpy as np import pandas as pd import tensorflow as tf from tqdm import tqdm from utils import read_dcm, extract_patch, pad_to_shape, volume_to_example from config import ( LIDC_SMALL_NEG_TFRECORD, ...
[ "cecchinator@gmail.com" ]
cecchinator@gmail.com
cfbce743baa0c1fe1079ee32d823653ed757fea6
a6fe8aeaa30a22b65d98a2bb360b6d761a2e17fc
/venv/lib/python2.7/site-packages/kubernetes/client/models/v1alpha1_volume_attachment_source.py
c7f33ff1de036a2409698e7567f67c9fccabbe75
[ "MIT" ]
permissive
784134748/kubernetes-install
54a2a8e83e2f47f2064270649725899282b7b244
5df59632c2619632e422948b667fb68eab9ff5be
refs/heads/master
2022-12-15T13:52:43.486633
2019-03-27T13:01:06
2019-03-27T13:01:06
176,937,818
0
0
MIT
2022-05-25T01:56:18
2019-03-21T12:13:41
Python
UTF-8
Python
false
false
3,526
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "784134748@qq.com" ]
784134748@qq.com
e737df015e691b0a8ec14605360b790ddc906336
4cd9c222387b3057c2eaa621ab42c499b3c78790
/Week2/guess_my_number.py
d0fe9ff944f528025112b9d085ab57c54de1a51a
[]
no_license
Alhern/MITx-6.00.1x
269c7d23fa730be0b07d22403882b04fe593443e
3f5ff85f6c09abd763a4d750ffa32358354e6b99
refs/heads/master
2020-12-02T09:10:17.096673
2017-07-09T20:39:00
2017-07-09T20:39:00
96,708,185
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
low = 0.0 high = 100 guess = (high + low) / 2.0 ans = '' print('Please think of a number between 0 and 100!') while ans != 'c': ans = input('Is your secret number ' + str(guess) + '?' + '\nEnter "h" to indicate the guess is too high. Enter "l" to indicate the guess is too low. Enter "c" to indicate I guessed corr...
[ "audelise.h@gmail.com" ]
audelise.h@gmail.com
c45abe95dc57a0148357504e44dbeff44b6b7f14
c0df167bde5c7058523779064b24ec8d4ce7d85f
/users/models.py
85b198c49b2dad468ff7e47a93d444118e882e2a
[]
no_license
dwierichs/groundstates
04e6b16d611a7f4c6ab97e757aee8c297e389be9
1c3ac693199d76edc9ae1299fc5fc39c4aab4df6
refs/heads/master
2020-09-09T02:51:12.980918
2019-12-30T19:37:57
2019-12-30T19:37:57
221,323,279
0
0
null
2019-11-27T19:45:42
2019-11-12T22:21:32
Python
UTF-8
Python
false
false
578
py
from django.db import models from django.contrib.auth.models import User class Message(models.Model): title = models.CharField( max_length=100, verbose_name='title' ) content = models.TextField( verbose_name='content' ) date_gen = models.DateTimeField( auto_now_add=True, verbose_name='written' ) date_...
[ "davidwierichs@gmail.com" ]
davidwierichs@gmail.com
896687158a03e59ecd7d16125d796285503b235f
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-ExternalAccessory/setup.py
62ec8784efd44a69d8b17b2c2194741ceda7124b
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
''' Wrappers for the "ExternalAccessory" framework on macOS. These wrappers don't include documentation, please check Apple's documention for information on how to use this framework and PyObjC's documentation for general tips and tricks regarding the translation between Python and (Objective-)C frameworks ''' from p...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
1053a9aeaa1f8564887592e20ef6ae75b81993a0
aec5e05795dafd41efccd569f89fbe69bdf6db6a
/If_and_circulation.py
79470bece896f0caea5cb18cf4b22ee0b32b2bd1
[ "MIT" ]
permissive
Becavalier/playground-python
959dcc52891b9b234b4c62531744f617249c289e
23139e8bab0f5c712d38f378364842262d17e520
refs/heads/master
2021-06-01T14:58:49.431239
2016-09-02T01:17:07
2016-09-02T01:17:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # If age = 3; if age >= 18: print('adult'); elif age >= 6: print('teenager'); else: print('kid'); s = input('birth: '); birth = int(s); if birth < 2000: print('00前'); else: print('00后'); # Circulation names = ['Michael', 'Bob', 'Tracy']; for name i...
[ "yuhang@tapatalk.com" ]
yuhang@tapatalk.com
fef89ba2bf0b93db2e7c4e1a586f5f04ac27f5d6
3974cb24002f537507a87f80d57e7c0f9904645a
/main.py
ff34d4792fde7c8ab34035eabe7446f4270bac69
[]
no_license
webargus/kivygenius
fc11ba51dbeb2e302b0125f678e3f68d8929e2c7
e304f49d75449bea902f2f3edbcaee7c83bbd6e2
refs/heads/master
2020-06-25T13:55:41.394416
2018-12-14T02:18:33
2018-12-14T02:18:33
199,328,893
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
import kivy kivy.require('1.1.3') from kivy.core.audio import SoundLoader from random import randint from kivy.clock import Clock from kivy.app import App from kivy.uix.gridlayout import GridLayout class GeniusSounds: sounds = [SoundLoader.load('sound_0.wav'), SoundLoader.load('sound_1.wav'), SoundLoader.load('s...
[ "edsonkrop@yahoo.com" ]
edsonkrop@yahoo.com
fd907b6e8117b67e9f3b9091624fa8f6a1ec6b66
5c2a9ff7f70ffa87604214786538dbd5ed6bd7a3
/029. Divide Two Integers.py
abf5a52d3b51c0609da9c26bb53857b4aa4fc5c7
[ "MIT" ]
permissive
patrick-luo/Leet-Code
470bb70db72772d2080d2b87f28a6ae44d35fdcf
989ec20c1069ce93e1d0e9ae4a4dfc59b1b1622a
refs/heads/master
2021-07-15T01:37:00.409882
2019-02-06T20:02:05
2019-02-06T20:02:05
130,917,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
"""This solution uses addition repititively to find largest power n of 2 such that 2**n*b < a. Then you keep subtracting these multiples of b of the form 2**i*b for smaller powers until the remainder is smaller than b. Each time you subtract, take the previous quotient and multiply by two. If there is any remaining in ...
[ "noreply@github.com" ]
noreply@github.com
aba12166b4f1331a6a7bd342c544440999563e5d
862869dce28929f24b8b354d60e6111968afd45d
/test.py
a74424bb5f9557b9ae0224752deb34ecd38d20d9
[]
no_license
Sidney2408/SentimentAnalysis
5a9893632019e52525b0b3ba7fd15d925161aac1
28aae96090e279c92503df41cfdf9faa741c25a8
refs/heads/master
2021-03-16T10:22:42.521107
2017-12-06T07:45:40
2017-12-06T07:45:40
111,277,068
1
0
null
null
null
null
UTF-8
Python
false
false
3,157
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 18 15:09:39 2017 @author: Sidney """ testDict = {'完美': {'B-positive': {'count': 1}, 'O': {'count': 1}}, '幸福': {'O': {"count": 0}}} tagCount = {'B-positive':1,'O':2, 'B-negative':3} parameter = "exy" #max(testDict['a']["parameters"], key=testDict['a']["parameters"].g...
[ "sidney_suen@mymail.sutd.edu.sg" ]
sidney_suen@mymail.sutd.edu.sg
fe2a24b471a9649d963cd55489d71e9442b01624
cbc829f5787b770c9184b91ee470d058cc4cbe65
/tree/173_二叉搜索树迭代器.py
4cefd23be018f9de7418b1283f2d1b15bcd411b5
[]
no_license
SilvesSun/learn-algorithm-in-python
58815e7e85e767cbc4a9c21e36e7bdede4f32bef
5ba3465ba9c85955eac188e1e3793a981de712e7
refs/heads/master
2022-09-19T05:10:26.783943
2022-09-10T04:56:43
2022-09-10T04:56:43
115,470,779
0
0
null
null
null
null
UTF-8
Python
false
false
2,914
py
# 实现一个二叉搜索树迭代器类BSTIterator ,表示一个按中序遍历二叉搜索树(BST)的迭代器: # # # # BSTIterator(TreeNode root) 初始化 BSTIterator 类的一个对象。BST 的根节点 root 会作为构造函数的一部分给出 # 。指针应初始化为一个不存在于 BST 中的数字,且该数字小于 BST 中的任何元素。 # boolean hasNext() 如果向指针右侧遍历存在数字,则返回 true ;否则返回 false 。 # int next()将指针向右移动,然后返回指针处的数字。 # # # 注意,指针初始化为一个不存在于 BST 中的数字,所以对 next() 的...
[ "2498256234@qq.com" ]
2498256234@qq.com
d0e08ebeff69ca3d2ee2546b4de3233781b110db
7db2169805e5bb907bb2abb90516e2e25ac197f7
/backgroundRemoval_video.py
366019dd9361a18acea5004198b970f8b185d332
[]
no_license
STARJAN-J/backgroundRemoval
ffc9d9ee328bd2e67d1955adf8615ecea3487e96
d285d90c1f88e9b405c4f73cf0570bd6b4d1d81e
refs/heads/master
2023-03-16T10:10:26.889664
2020-05-11T11:39:04
2020-05-11T11:39:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
import cv2 import numpy as np import sys def resize(dst,img): width = img.shape[1] height = img.shape[0] dim = (width, height) resized = cv2.resize(dst, dim, interpolation = cv2.INTER_AREA) return resized video = cv2.VideoCapture(1) oceanVideo = cv2.VideoCapture("ocean.mp4") success, ref_img = video.read() flag ...
[ "misbah4064@gmail.com" ]
misbah4064@gmail.com
72e86264e0ba09cd634e0fe560f491351c2e26a7
3da865a605e2513aadd3eace41b970fd7aad249a
/2001Mail/ia2001xpy/__init__.py
39ab89eb9ca72cc737742b1e27df1a910be7fd79
[ "Apache-2.0" ]
permissive
rafaelstyvie/2001mail
1d5a1b0651139a24e466eb27b2394653850c07e5
e3a777a885d62ec27d1f0ee56557a5d1b054f6ef
refs/heads/master
2020-06-29T02:10:38.147025
2016-11-22T09:38:23
2016-11-22T09:38:23
74,457,150
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
""" ia2001x Cryptographic Tools. """
[ "noreply@github.com" ]
noreply@github.com
e2a89d771342738284db5d3d94106bd5ef73154d
2fa6b272e79ff938ddd38d96edc454d05d247baf
/project_body/srv/code/python/hazelcast/serialization/api.py
8b5108587cbcee64fc838f0400f4c2f8799c8f1c
[ "Apache-2.0" ]
permissive
ArthurConan/FunFic
e1b4d5bcd23636c4fb6999e9e0437bb7c879e9d1
ad8f7849a2aff995a5569b92dc1ed9d53e3b09d6
refs/heads/master
2021-01-21T06:52:28.212648
2017-05-28T21:57:13
2017-05-28T21:57:13
91,589,641
2
1
null
null
null
null
UTF-8
Python
false
false
9,256
py
""" User API and docs """ class ObjectDataOutput(object): def write_from(self, buff, offset=None, length=None): """ Writes the content of the buffer to this output stream :param buff: input buffer :param offset: offset of the buffer where copy begin :param length: length of...
[ "noreply@github.com" ]
noreply@github.com
39371265fd7d53cd83ff9f02deb3c25e8b131682
aeb8c63067662f97abbe1bc0cbbc02cff572230d
/pavi95.py
0506cb70bdf838061bbeadeb3d6cf412385fcaff
[]
no_license
paviprajansai/pavi83.py
f1ba8551a3e4cdb111a5cc6dbd3319e756b2c3bf
3ee907fff76b8d9ae5940726e4ecbaaf1a9bad6f
refs/heads/master
2020-06-27T15:44:03.687416
2019-08-01T07:04:12
2019-08-01T07:04:12
199,990,323
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
p1,t1,r1=map(int,input().split()) s1=(p1*t1*r1)//100 print(s1)
[ "noreply@github.com" ]
noreply@github.com
1a77f6bb4cd19e4a29d917748a1c4dad514e0bf8
090203cff03e2831acdc17a15ea5bc217dcfd57f
/2015/src/day_06.py
b0b7562ea19ed666c1c9a37de4ab74af492d7038
[ "MIT" ]
permissive
Stannislav/Advent-of-Code
77847889a95bad45f5d6fa32dfbcf984136d19ae
cdc1ea0f23a532fe1eb909beb2a64112456613b0
refs/heads/master
2023-01-12T11:22:56.846890
2023-01-01T18:56:05
2023-01-01T18:56:05
212,850,049
4
0
MIT
2021-04-30T17:44:50
2019-10-04T15:43:38
Python
UTF-8
Python
false
false
1,641
py
#!/usr/bin/env python3 field = [[0 for i in range(1000)] for j in range(1000)] with open("../input/input_06.txt") as f: for line in f: l = line.rstrip().split() if l[0] == "toggle": sx, sy = map(int, l[1].split(',')) ex, ey = map(int, l[3].split(',')) for y in r...
[ "stanislav.schmidt@outlook.com" ]
stanislav.schmidt@outlook.com
f15516f5ce98ea2e188e13a9c510eba39b9141af
5779d964d5ee42b586697a640ff0f977e0fa1e55
/synclient/model/user_group.py
8ae95ea7eb5b838a175c05d951d6c240f4354232
[]
no_license
thomasyu888/synpy-sdk-client
03db42c3c8411c8c1f8808e1145d7c2a8bcc3df1
d1e19e26db5376c78c4ce0ff181ac3c4e0709cbb
refs/heads/main
2023-02-28T09:33:12.386220
2021-02-02T15:09:59
2021-02-02T15:09:59
333,744,741
3
0
null
2021-01-30T12:10:50
2021-01-28T11:57:48
Python
UTF-8
Python
false
false
7,476
py
""" Platform Repository Service Platform Repository Service - Sage Bionetworks Platform # noqa: E501 The version of the OpenAPI document: develop-SNAPSHOT Contact: thomas.yu@sagebionetworks.org Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 i...
[ "thomas.yu@sagebase.org" ]
thomas.yu@sagebase.org
6dc7a828dc8ee518b28381211c2f5c1c5ae541c9
8a9fa73357aa87ad5b14deb15668a411f487dbde
/getrawvideos.py
7cb5c958d17c0646dfb1d37babfdf01fc0efb3bc
[ "MIT" ]
permissive
wanghaisheng/another-autoytb-copycat
55980c8f1875b422db5c7b446c00a6ecc5062e49
91daa08d9e8eec164ce9160830927fbfecf9e68c
refs/heads/main
2023-08-19T01:35:06.459038
2021-10-15T11:20:04
2021-10-15T11:20:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,761
py
import requests import json import yt_dlp import os import subprocess results =[] session = requests.session() def stringify(obj: dict) -> dict: """turn every value in the dictionary to a string""" for k, v in obj.items(): if isinstance(v, dict): # if value is a dictionary, stringifiy ...
[ "noreply@github.com" ]
noreply@github.com
a37803862dbe9a04b5150ba8f0352125c761e519
39c40326a457e463c96b5a822a0a9bd8b8b35848
/Unit6/word_list.py
64aa894ed3a4ee4014bd07dba35ec9eb1601d1a7
[]
no_license
zhangbios/LearnBlack
21d3ad5a52210da7b64d1adb3e13fbcd90e3b985
5fd11d62a0786c71403d05cc236ed11b8e861b21
refs/heads/master
2021-05-02T13:22:22.532178
2018-02-08T12:28:50
2018-02-08T12:28:50
120,758,485
2
0
null
null
null
null
UTF-8
Python
false
false
2,736
py
# encoding: utf-8 """ """ from burp import IBurpExtender from burp import IContextMenuFactory from javax.swing import JMenuItem from java.util import List, ArrayList from java.net import URL import re from datetime import datetime from HTMLParser import HTMLParser class TagStripper(HTMLParser): def __init__(se...
[ "buy-010@163.com" ]
buy-010@163.com
65e04b9e520a893fe0b6a0db678f1bfe2d40bb3a
182b3ea03761008ccf251d9591f910581370a8a6
/tests/unit_tests/test_commands_assign_ta_to_course.py
b62548a1efb2dba1de991fdc8391a3b531151f9f
[]
no_license
JaiXiong/ta_web_app
0d80640ade65112a936df18b73fe73a96e7f888c
389ea7a6784b958b793b2ff48edaf4136cbb81b2
refs/heads/master
2021-10-08T16:59:13.119946
2018-12-13T22:13:43
2018-12-13T22:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
from django.test import TestCase from website.models import Course, Account from ta_app.commands import Commands class TestCommandsAssignTaToCourse(TestCase): def setUp(self): self.Course1 = Course.objects.create(name="CS-337", section="004", ...
[ "connel45@uwm.edu" ]
connel45@uwm.edu
2faacdb507a4c8589c27ab84d6b3683d929c425e
ff451381a5d74e4bff58e9c2d5bf6e448a1d4637
/main.py
388d3310f87ad5b9dfc7670b3fc2e772a888015a
[]
no_license
Nowens17/web-caesar
3d37e299ffe8b1eb561298ef6823fcb8c5259d1c
c8050651a7e308752700065b0c8dd5949ca05170
refs/heads/master
2021-04-15T09:15:38.324600
2018-03-25T14:07:14
2018-03-25T14:07:14
126,695,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from flask import Flask, request from caesar import rotate_string app = Flask(__name__) app.config['DEBUG'] = True form = """ <!DOCTYPE html> <html> <head> <style> form {{ background-color: #eee; padding: 20px; margin: 0 auto; wi...
[ "nick_owens@rocketmail.com" ]
nick_owens@rocketmail.com
fc38d6f55c918759f81ddaf951a6d77536881d94
dd449ad8388847779b265f49f2339c9681376c60
/flask/c6_avatar/config.py
c04cb5719b0d47de5fe50590b3bf8103af2c1a85
[]
no_license
whoji/training-ground
478d76a8c274050eb910b28729ca1d1cdb47eae9
b107cc47c4a04bb8868c410ab207bacab5a86e4c
refs/heads/master
2020-05-16T16:13:26.788156
2019-12-04T01:56:01
2019-12-04T01:56:01
183,154,348
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): ''' it is in general a good practice to set configuration from environment variables, and provide a fallback value when the environment does not define the variable. ''' SECRET_KEY = os.environ.get('SECRET_KEY'...
[ "minli1985@gmail.com" ]
minli1985@gmail.com
06766582c327781e0e4b313477641e0d7441f800
b3ed082c0413fb8eef32094ba0535bee7517ee87
/benchmarks/prepare-executables.py
ddac74d5dca04f6f152c44623045b50eb6bfaaab
[ "BSD-3-Clause" ]
permissive
sureyeaah/dex-lang
60ec1472aba962cd0896fdb65350ceba8daffc54
8806d9be61fcc44fe52fa6d3e8339a8bd15f7aef
refs/heads/main
2023-03-08T03:50:00.482085
2020-10-08T14:05:09
2020-10-09T15:32:49
318,612,484
0
0
BSD-3-Clause
2020-12-04T19:10:23
2020-12-04T19:10:22
null
UTF-8
Python
false
false
7,552
py
import sys import os import struct from pathlib import Path from itertools import product RODINIA_ROOT = Path('rodinia') / 'rodinia' PARBOIL_DATA_ROOT = Path('parboil') / 'data' if not RODINIA_ROOT.exists(): print("Rodinia benchmark suite missing. Please download it and place it in a " "`rodinia/rodinia` sub...
[ "adam.paszke@gmail.com" ]
adam.paszke@gmail.com
dcd389c1f2d0c0d6c5d4bc6e8bf9480fd938e5db
6f361cb8e428af590240ebbab955ab2e33cc44d4
/BasicFlask/url.py
047527e8c0c034cc18bfbdac0cfd71b3684a060f
[]
no_license
bibaveaarti/FlaskDemo
ed9e3d9e78837eec654a3e2ebd5b1e366533e6c4
f38cedd7ec75a7a719b821cd0dbd7c060caa7b04
refs/heads/master
2020-04-18T06:58:53.309837
2019-01-24T10:18:27
2019-01-24T10:18:27
167,344,115
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from flask import Flask,render_template app=Flask(__name__) @app.route('/') def index(): return render_template('index.html') if __name__=="__main__": app.run(debug=True)
[ "bibaveaarti" ]
bibaveaarti
70df9fc2ce7886f3f681eb0cad792ae2d1b85a03
ede03f3c5232b5e7a85b27ac0f09fe7470d0f355
/mylotto/apps.py
77301f71f8ce87197c1a8c8ce0aa65f0ffa66a56
[]
no_license
ahnbu/askcompany
30d3c5ac4d2aee7d45c7210cb4d8a8dfbd2b99cf
7b04c4255506cb768f850e73c8d975c2dd05d3e4
refs/heads/master
2020-04-01T08:51:19.524570
2018-11-14T06:59:42
2018-11-14T06:59:42
153,049,522
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.apps import AppConfig class MylottoConfig(AppConfig): name = 'mylotto'
[ "byungwook.an@gmail.com" ]
byungwook.an@gmail.com
f026bfb37d95f92aa95ec53e521af68a4165cd83
049cf15e75b7ae37f49f0338eef9d6a2a2ed14b4
/epyk_server/system/cli/command_line_fncs.py
2b979b4c8cea6c80abc097f809cdb2c972ce919c
[]
no_license
epykachu/epyk-engine
a8aec77cd4804ab84609e296b145d67dcc9429aa
264e1c705e25dc94625b903c45c381d69db49f30
refs/heads/master
2020-11-24T08:46:31.488220
2019-12-14T19:01:08
2019-12-14T19:01:08
228,059,222
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
""" """ import sys import argparse import pkg_resources import shutil import os def main(): """""" parser_map = {} arg_parser = argparse.ArgumentParser(prog='epyk-engine') subparser = arg_parser.add_subparsers(title='Commands', dest='command') subparser.required = True for func, parser_init in parser_map...
[ "epykachu@gmail.com" ]
epykachu@gmail.com
d4dff6e1a4bbe4895ee775b9a4c5f27ba12a0d0d
2a5c0c49319989a24f9c9f18530f109bc48a8df1
/CursesEnded/FirstYear/Python(Algorithmics)/list1/ex2.py
e6d6b6e0e7460b934227c30b5f5b4f0fac782fe5
[]
no_license
Kamil-IT/Studies
0ada6dd92d7ecdbd0a3164c7c80080dd715ce8fc
d70343b2b7818ce303d816443bb15d21e03b42e0
refs/heads/master
2022-12-22T01:55:35.047783
2022-10-20T18:55:29
2022-10-20T18:55:29
217,039,987
0
1
null
2022-12-10T06:03:55
2019-10-23T11:24:33
Jupyter Notebook
UTF-8
Python
false
false
476
py
import numpy as np def create_random_matrix_marks(stud_quantity, sub_quantity): return np.random.choice(np.arange(2., 6., 0.5), size=(stud_quantity, sub_quantity)) rows = 4 columns = 4 matrix1 = create_random_matrix_marks(rows, columns) matrix2 = create_random_matrix_marks(rows, columns) symmetric_length = 0 ...
[ "kkwolny@vp.pl" ]
kkwolny@vp.pl
6dbcf814a18717c624b7c80b81bffc433c263780
5aaaac7248081119b4691878e2f1756aa5aba481
/blog_back/manage.py
eaaff1943d75074aa9ad796bd1e9e87b2e963f16
[]
no_license
Heyday7/blog_back
43602b28da28468bfde7bca0e4fac2be5e1fb374
a214c0c7be7b32d16ccfd85df0d36e3d99eb13b1
refs/heads/master
2023-05-04T02:41:38.730643
2021-05-15T09:32:21
2021-05-15T09:32:21
358,890,342
0
0
null
null
null
null
UTF-8
Python
false
false
665
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', 'blog_back.settings') try: from django.core.management import execute_from_command_line except Im...
[ "kth3447@gmail.com" ]
kth3447@gmail.com
13953a0f2fd27e1d596a732d066f09bce61ff34a
ffd2c9831079767b8242ff06b53360079e6b3f16
/predict.py
0bf183a4d7d133bfeb1c7929e7f5a47acecf24af
[]
no_license
dlam4h/Unet_pytorch
6084637d23f4c322e032b0cd885bb23fd812c697
1410ea8d091ce1b3fff23fed94ff7b75bb0e8b6f
refs/heads/master
2020-03-25T17:08:06.174774
2018-08-08T05:38:05
2018-08-08T05:38:05
143,964,542
1
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
# -*- coding: UTF-8 -*- import torch from model import Unet, Unet_bn from torch.autograd import Variable from PIL import Image import torch.nn.functional as F import numpy as np import os import glob use_gpu = torch.cuda.is_available() print(use_gpu) if use_gpu: torch.cuda.set_device(0) model = Unet_bn() model_we...
[ "l" ]
l
cddbcc6aec5e14b2780fdf3276260697db1be33f
bee2bf79ecbeaaf39a2b0f39f5def5d98ff389aa
/tasks/zfs-deps-debian.py
41aeb324a43d7d59853d8faa4fb7196b5120aa69
[]
no_license
gunnarbeutner/zfsci
d50e16f63c3f608fe15f8bf378204fcf3d3807c8
184464ed6f354f4456ab2ce2ace471c24cfe6789
refs/heads/master
2020-06-04T12:27:58.974553
2011-06-05T10:24:08
2011-06-05T10:24:08
1,671,387
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from joblib import Task, TaskResult class ZFSDepDebianTask(Task): description = "ZFS dependencies installation" stage = "test" provides = ['zfs-builddeps'] def run(self): if os.system("aptitude install -y git-core module-assistant uuid-dev zlib1g-dev gawk") != 0: return TaskResult.FAILED return TaskResul...
[ "gunnar@beutner.name" ]
gunnar@beutner.name
780b8a6d9743014a8c87552d2dfb7d9c1f5a4f51
68d75679f12c13a2b5f127d8e069fd85a3f943e5
/tools/convert_model.py
5b25e77d879abe2afcb56ac60eefc2d89bf151e5
[]
no_license
kun1989/pth-easy
ba81b2fb25636cfea347646a83952f3986366bc7
4147868c395dc522bb5ed8360df1453e5c52a9fc
refs/heads/master
2022-09-08T06:46:11.891439
2020-06-02T06:54:14
2020-06-02T06:54:14
249,013,163
1
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
import argparse import torch from gluoncv.model_zoo import get_model as get_gluon_model from pth_easy.pytorch_gluoncv_model_zoo import get_model as get_torch_model import numpy as np import mxnet as mx import os def parse_args(): parser = argparse.ArgumentParser(description='covert gluoncv to pytorch model.') ...
[ "15828528791@163.com" ]
15828528791@163.com
9ab95a3976eb86e3e08c526e6650342d5cd746f1
fc678a0a5ede80f593a29ea8f43911236ed1b862
/247-StrobogrammaticNumberII.py
9fad0fec8759836f4849e4c0a8a3e1ad655112ea
[]
no_license
dq-code/leetcode
4be0b1b154f8467aa0c07e08b5e0b6bd93863e62
14dcf9029486283b5e4685d95ebfe9979ade03c3
refs/heads/master
2020-12-13T15:57:30.171516
2017-11-07T17:43:19
2017-11-07T17:43:19
35,846,262
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
class Solution(object): def findStrobogrammatic(self, n): """ :type n: int :rtype: List[str] """ res = ['0', '1', '8'] if n % 2 else [''] while n > 1: n -= 2 res = [a + num + b for a, b in ['00', '11', '88', '69', '96'][n < 2:] for num in res]...
[ "dengqianwork@gmail.com" ]
dengqianwork@gmail.com
d562a0fbe8ab34e4d043229a0cb3d20e19ae2375
d358106b304757d13da40ff7be4df6293af06990
/functions/face_index.py
5f0d9d095a2d8086f41e735ccc355b3049351b98
[ "Apache-2.0" ]
permissive
arapulido/face-recognition-serverless-app
1693f5b48f8c72ff974c90a43b4116ad64f98f3a
e7ae37a9bf7618a3a15d277ce30af3fc6ac52e01
refs/heads/master
2023-02-06T06:26:53.149777
2022-05-06T13:19:23
2022-05-06T13:19:23
213,391,123
2
3
Apache-2.0
2023-01-27T04:41:54
2019-10-07T13:30:02
Python
UTF-8
Python
false
false
1,535
py
import json import logging import os from datadog_lambda.metric import lambda_metric from datadog_lambda.wrapper import datadog_lambda_wrapper import boto3 # Set logger logger = logging.getLogger() logger.setLevel(logging.INFO) @datadog_lambda_wrapper def handler(event, context): params = json.loads(event['Reco...
[ "ara.pulido@datadoghq.com" ]
ara.pulido@datadoghq.com
6134962ce9c8843beee87adc985dcc6ea8159d35
154b888942d26e754280463383caa5bb51d11a9a
/Python/PyYouTube/venv/Scripts/easy_install-script.py
e432e3646cb744ada3ffe9b25a9e1ed5ec305df0
[]
no_license
learn-devcat/playground
7a34c07ffdae9208a673a1d5a40f6323f07b6c23
e3488472840af991e86233ab54de082e506ee860
refs/heads/master
2020-03-27T03:34:13.170818
2018-09-12T22:44:59
2018-09-12T22:44:59
145,872,482
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
#!"D:\OneDrive-RC\OneDrive\__GIT REPOS__\playground\Python\PyYouTube\venv\Scripts\python.exe" # 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]...
[ "learn.devcat@outlook.com" ]
learn.devcat@outlook.com
607677a8f624cc9c48ba2bd29abad65151a36ede
9ac0866eee361bfee730ae87d2f413b5ad82e23a
/examples/register.py
f605f62516afc5c8603b2896b60fe51e14076501
[ "BSD-2-Clause" ]
permissive
jeffmahler/lfd
e6cb2c309eec6276d51372eca0170ccb72c4a2b0
ecc6b934db098c0b1af9946454917b6dc911cb74
refs/heads/master
2020-12-26T00:35:37.302745
2015-01-15T17:27:10
2015-01-15T17:27:10
27,498,626
1
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
#!/usr/bin/env python from __future__ import division import numpy as np from lfd.environment.simulation import StaticSimulation from lfd.environment.simulation_object import BoxSimulationObject from lfd.registration.registration import TpsRpmRegistrationFactory from lfd.registration.plotting_openrave import registr...
[ "alexleegk@gmail.com" ]
alexleegk@gmail.com
de51256b47b7914d5af0f62a042ec0c6296fb9e1
7af013dcf89b7f6c3aff4fbfdcd3281e481b103b
/Variables/swimming.py
9e3e462a848d71ec65bcba7180436e54356152ee
[]
no_license
Rodrigoh2702/Minecraft-Python
13925bbfba09cbd748b913e42110eef5dbdcb4e9
582c57ee21b16691cfd7d1070bba3b9a9d90626c
refs/heads/master
2020-04-29T13:45:32.190096
2019-03-19T23:05:05
2019-03-19T23:05:05
176,177,349
0
1
null
null
null
null
UTF-8
Python
false
false
301
py
from mcpi.minecraft import Minecraft mc=Minecraft.create() pos=mc.player.getTilePos() x=pos.x y=pos.y z=pos.z blockType=mc.getBlock(x,y,z) mc.postToChat(blockType==9) #Si quieres ver si estas completamente debajo del agua, #Crea una variable que almacene y+1 y comparala con 9 tambien
[ "noreply@github.com" ]
noreply@github.com
8fd8097c291f2403be1a995dba902a981588c9b7
f0fa368ad60685cd1a593c2aa1effdf19649c48d
/app.py
e97ebaf150311c3fd5b9410b3545034d17e4acb9
[]
no_license
adithyawn/knomi-v1-deployment
17d3bcf2c57765b87c2c3af3d428c808c2131912
13144e342e1a347f7ffc4a74e59751c735d6ec80
refs/heads/master
2023-06-18T04:37:20.188799
2021-07-22T02:26:46
2021-07-22T02:26:46
388,303,633
0
0
null
null
null
null
UTF-8
Python
false
false
15,285
py
from flask import Flask, request, render_template, url_for, redirect, flash import requests import json from datetime import datetime from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, TextAreaField f...
[ "adithyawn.learning@gmail.com" ]
adithyawn.learning@gmail.com
b94dc6a66eb355fc0c8483affd2eb4f2e9472452
949fe26133c6fca2fed271a6af3b72827cb57a21
/hm_03_创建游戏窗口.py
3966580bd87a68169c16cee55cab9eb7fb68f600
[]
no_license
luzhengshu/pygame
b7c37e6e9f7a8aa613d92bd979fdf1f1505d0195
74241f04a3ee599c14d02e28babf035d32287f8f
refs/heads/master
2020-07-16T09:20:39.509335
2019-09-02T02:34:46
2019-09-02T02:34:46
205,762,751
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
import pygame pygame.init() #创建游戏窗口 screen = pygame.display.set_mode((480,700)) while True: pass pygame.quit()
[ "l847078521@163.com" ]
l847078521@163.com
2da0d17fccea0d88c67b78668de83e5f1b8b0cfd
9466dd56f270f86b133a82f49683a18535eea2b0
/salt_code_examples/eapi/job_w_pillar.py
4f425380454de9167728fc9ace5161474f61d8fc
[]
no_license
duboc/vra-repo
3cfde9aefba30de9902315bc80ffd7e2e539b2d8
26bde2fcaf404c4b35dad495d9aa1629f60c0c97
refs/heads/master
2022-05-01T12:28:00.507744
2022-04-26T20:16:14
2022-04-26T20:16:14
237,105,663
3
3
null
null
null
null
UTF-8
Python
false
false
654
py
from sseapiclient.tornado import SyncClient client = SyncClient.connect('https://localhost', 'root', 'salt', ssl_validate_cert=False) client.api.cmd.route_cmd(cmd='runner', fun='state.orch', masters='salt', # cluster ID arg={'arg': ["myorch"], ...
[ "aduboc@vmware.com" ]
aduboc@vmware.com
c36677f1e55f79a9361cade5160ee723c4a6b6c0
941a107603ea825053636f2fe8e59b5321fd1f4d
/9/9.6.py
d657e051a2d847b12f9fe398735db4cfbf467e76
[]
no_license
LYTXJY/python
f8fa72e6138aa8a1865ffd32cf0ccfcea7709a73
ce6c21b04fbc061475ac4207685535e4086156f6
refs/heads/main
2023-02-18T04:49:51.483317
2021-01-18T08:07:57
2021-01-18T08:07:57
330,585,945
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
#重载运算符 def test_1(): """ """ class Myclass(): """ 重载运算符 """ def __init__(self, name, age): self.name = name self.age = age def __str__(self): return "name:"+self.name + ";age:"+str(self.age) __repr__ ...
[ "18822148155@163.com" ]
18822148155@163.com
3851d46c9fab57c79ec762a76ce92f3eca0e286e
df998ba3511a4ce89bf7b9aa2bab9142aaa4581d
/steelframe/caret.py
7c1e9efec9fdc63838e0bb372800fe03ea04a55f
[]
no_license
iampri/chatLinePy
3986a2761352e1f5e1c136da69a1e8bad223674d
ab30599715210c987dcb9394cac02121ca5a5357
refs/heads/master
2020-12-02T19:41:15.315631
2017-06-17T11:42:21
2017-06-17T11:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.utils import timezone import pytz from lxml import html import requests import sys import logging logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) logger = logging.getLogger('django') class Caret(): def time(self): ic...
[ "priewmaxim@gmail.com" ]
priewmaxim@gmail.com
202a700ec11275da22c3aceb5b4395991f4bd643
36ab0757d3f1e296871570d7ad384fa6bd2eb9f1
/dodger/sentences/test.py
62a11c4a55dbc009372599f20c7f8da2b29e9156
[]
no_license
khalidess24/Intro-to-CS-2018
fe95cbc0e708ea1579d30e84148f4c304c6e7a9f
fc43521ffdc0ec1845941dbdc0c3d411e87e79a3
refs/heads/master
2020-04-11T09:45:07.317684
2018-12-14T19:57:48
2018-12-14T19:57:48
161,690,450
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
import os path = os.getcwd() sentencelist = os.listdir(path) sentencelist.remove('.DS_Store') sentencelist.remove('test.py') # print(sentencelist.index('test.py')) # print(sentencelist) sentences = [] for i in sentencelist: city = open(path+"/"+i,'r') #encoding='utf-8' for line in city: x = line...
[ "fadhl.eryani@nyu.edu" ]
fadhl.eryani@nyu.edu
bb79818277eeda215be00f03da0ae1edb2cf43e9
99986c5471051806f9bd66f35d1a52dd497df52b
/src/v5/context/context/settings.py
e145932ba71b3fc2c50f26e4da5341caad665d3d
[ "MIT" ]
permissive
Strangemother/project-conceptnet-graphing
00b1ca87718efc5342ff47d7355e352b3efcf5b1
3fd1b3188088090c71c95b1a660770482123ce22
refs/heads/master
2020-03-23T02:20:54.532613
2019-08-01T01:03:27
2019-08-01T01:03:27
140,969,798
0
0
MIT
2019-10-21T16:47:52
2018-07-14T18:43:18
JavaScript
UTF-8
Python
false
false
3,227
py
""" Django settings for context project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "jay@strangemother.com" ]
jay@strangemother.com
b996dba7060ff95f4cea7a9b5b45c502415af7df
f3e6f25e6ae78c3ae7f24bf50e3fe865f9156dc0
/xlsx2plj/xlsx2plj/xlsxtool.py
f29a0a866f600d1110350f91fee4e5cfae096fd5
[ "Apache-2.0" ]
permissive
XP669/XLS2PLJ
9eb24d044f03213979cb1e4bae9a88ebf9a740e3
40b48470d3ec686344486001a8264f8270ced0ac
refs/heads/master
2020-04-18T03:56:23.151015
2019-01-23T16:08:55
2019-01-23T16:14:04
167,219,598
4
4
null
null
null
null
GB18030
Python
false
false
5,104
py
#-*- coding: gb2312 -*- """ 工具 """ import os import sys import xlsxError from config import * from xml.dom.minidom import * def exportMenu(msgIndex, YCallback = None, NCallback = None, OCallback = None): """ 简单的询问Y(yes),N(no), Y:pass,N:exit, Other:continue now assume 输入 Y """ if YCallback: YCallback() return ...
[ "372678382@qq.com" ]
372678382@qq.com
c4a415c300ba3143dbb10888062575bebca50457
45b72f5149bcce54a2b0d15ea5077cb3dac030ce
/light bulb/C_HNSWFLAT.py
8447054b16d206ba35c9e029d0feb03879f9fbd8
[]
no_license
davidmikulovsky/NIDS-detector
603e8b69f8df631d3f1896f9a25823182fc157e7
d1bf0df2ca59979488d674d1b645dd5747ccc302
refs/heads/master
2022-09-16T08:17:40.071862
2020-05-18T22:33:49
2020-05-18T22:33:49
264,273,525
0
0
null
null
null
null
UTF-8
Python
false
false
5,341
py
#!/usr/bin/python import time import numpy as np import faiss import os import sys import getopt def main(sys): np.seterr(over='ignore') m = len(sys) print ("The script has the name %s" % (sys[0])) print("initiate: %s " % (sys[0])) print ("Number of arguments: ", m, " arguments.") input_fi...
[ "david.2.mikulovsky@aalto.fi" ]
david.2.mikulovsky@aalto.fi
430f9a2e0283749bef2a1729386ed9aea46c6881
90eeee8c1b675cf8a819bb3e7ba5fe2ffcff1152
/LogTest.py
655c7e23a6ae14707756010c899cfa628b1606b0
[]
no_license
psu-powerlab/EGoT-ME
5d7b49450a9521059732d483f18592334fe961c8
fa804b56faffcfb3e3de780b01053dbbb0974d0e
refs/heads/main
2023-05-11T00:47:30.321817
2021-04-05T19:17:44
2021-04-05T19:17:44
354,949,394
0
0
null
2021-04-09T21:20:53
2021-04-05T19:30:58
null
UTF-8
Python
false
false
6,707
py
''' This is a test script that will either develop into or be replaced by the eventual 'Log API' as designed for the EGot Modeling Environment (ME). ~Sean Keene, Portland State University, 2021 seakeene@pdx.edu ''' from gridappsd import GridAPPSD, goss from gridappsd import topics as t from gridappsd.simulation impor...
[ "seakeene@pdx.edu" ]
seakeene@pdx.edu
e7a59d520063d29f9bbcf51ad325fcc390863548
80b489a53f7f211a09920affa5998a0724d83e71
/webapp/app/main/__init__.py
886ede6fcf69db65c60813f7f98f6d2bb63254f9
[]
no_license
mustafatasdemir/apkinspector
d9ec9d85da5e0014edaf0d98119561bf3f87dffc
1bd0d044b7daef4efda21c985393f8d73722a074
refs/heads/master
2016-09-06T03:25:49.212735
2014-12-12T03:52:56
2014-12-12T03:52:56
24,392,752
3
0
null
2014-10-28T03:57:43
2014-09-23T23:10:55
Java
UTF-8
Python
false
false
660
py
# 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 in writing, software # distributed under...
[ "mustafa.tasdemir@hotmail.com.tr" ]
mustafa.tasdemir@hotmail.com.tr
00d65bebe2889190bd8e0b186f9d2adff0b3397d
d25ce8e431af70e699ca420dd6f0968cf82afea0
/Baekjoon/Backtracking/15649.py
b2ae286eacc65300f1feb876d67b5fd9adc21deb
[]
no_license
taehee-kim-dev/Problem-solving
d30fe67673056ba75cdb14ae4ec68be040afeea7
c0fb94500a0a43fafcf0a5878ae4e6e3f362ec27
refs/heads/master
2021-09-28T10:47:43.286288
2021-09-14T17:05:09
2021-09-14T17:05:09
203,376,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
import sys def solve(level): # 매개변수 = 트리 레벨 if level == M: # 트리의 레벨이 M과 같아지면 result list 모두 출력 for i in result: print(i, end=' ') # 공백구분 print() # result list 모두 출력하고 개행 return else: for i in range(1, N+1): # 1부터 N까지 한 레벨 if not visited[i]: # i번째 숫자를 ...
[ "taehee.kim.dev@gmail.com" ]
taehee.kim.dev@gmail.com
034c61b89e3d11daded3410ec3be279a44cdaf8f
8cecbbad4062a87b8a9ef68339f2228bcd8d053f
/2013-09-27/直线.py
c6e23faa9e70b653282717059a6a21d9e8d769eb
[]
no_license
XianYX/Python-
0a5fe645fe20b5d480d8f13d9d5c7e3e79d23016
ae79ce935b84de59caaa82acf535e0c89f130e79
refs/heads/master
2020-12-30T23:23:21.526941
2014-10-17T17:38:48
2014-10-17T17:38:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
# -*- coding: utf-8 -*- """ Spyder Editor python 2.7 This program is to draw a line with the given coordinates and calculate the length between them. It's made by Duan Yi. Student number:1130310226 E-mail:yumendy@163.com version:1.1 date:2013-9-27 03:09:54 """ x1,y1=eval(raw_input("please enter the coordinates of the ...
[ "yumendy@163.com" ]
yumendy@163.com
67327a4756371c5388c16ae850222b175ec36862
379117f3152210e3d463f38fd77ba5954b286f9a
/smpt_attachment.py
7949d66e1751348308e8ac17bd881b83b89b40fb
[]
no_license
gultomian/pisecuritysystem
9471fc84ea5bf7cb960e6724ec086249652d3c53
6c3ee45239f1e223d489c280c7ef6487593c0b73
refs/heads/master
2022-12-12T21:24:07.461486
2020-09-09T10:01:24
2020-09-09T10:01:24
249,036,062
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
import os, glob import email, smtplib, ssl from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText if int(endtime-starttime)>=60: starttime=time.time() daftar_file = glob.glob('Takdikenal/'+'/*.jpg') ...
[ "noreply@github.com" ]
noreply@github.com
b46bcfcde0bf2c4c8d5d4dcd19f9df7a40a4baa8
409a9a748ff385fe51e5a4d390395fb023a31dca
/aws.py
1377a0c88a912b2f6133ba1115066048e7640a53
[ "MIT" ]
permissive
sinoosco/AWS-Uploader
3355b97994880afd0c0a55fb74530439f11d9b1e
d6f4174e25838e3798756197bcfd3947a5bac9e7
refs/heads/main
2023-07-05T19:11:54.124573
2021-08-06T20:58:13
2021-08-06T20:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,430
py
import os import logging import boto3 from botocore.exceptions import ClientError logging.basicConfig(level=logging.INFO) def get_s3_resource(*, endpoint_url, aws_access_key_id, aws_secret_access_key): try: s3_resource = boto3.resource( "s3", endpoint_url=endpoint_url, ...
[ "mojix1010@gmail.com" ]
mojix1010@gmail.com
e2d4dc5f52241370cce0140f72b800f0d94fc3ca
3d2f1e46e697c8e935fa4172a117594fb5f83e06
/list_query.py
ed445f4bbd69c986af29bcd049b909499e09f759
[]
no_license
PrasannaVenkadesh/Repeat-counter
cb2a0ef5754a3be59c93cdf9263819033b84e366
98661d8e3d1a49cc174e4c39ae9ff97d7af7ead5
refs/heads/master
2020-03-30T21:32:32.486748
2013-01-10T09:51:53
2013-01-10T09:51:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#!/usr/bin/python #A Program to get input as a list and display the number of times the words occured in the list along with the word, regardless of case. Filter out and remove punctions. import re import string #main module starts here def main(): #Input Part starts here number_of_words = input("Enter number o...
[ "prasmailme@gmail.com" ]
prasmailme@gmail.com
0487d2de2cc28c9c08f3c0b7c74b40c5609e8228
81b848a8944a9fd26a2e80e07894d86a9d4ce861
/python/04. Sets/008. Set difference() Operation.py
da0ad46116033dfbce5d2645235a52525a37da52
[]
no_license
Labannya969/Hackerrank-practice
c719cdf362c501b00ec6a84505758e4ee7cfc694
7a76e36b860633cbb0d965e19710be09730b3e9e
refs/heads/main
2023-03-22T16:14:44.501407
2021-03-11T14:24:06
2021-03-11T14:24:06
346,398,667
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# Enter your code here. Read input from STDIN. Print output to STDOUT n=int(input()) set1= set(map(int,input().split())) n=int(input()) set2= set(map(int,input().split())) count=0 sum=0 set3= set1.intersection(set2) res=set1.difference(set3) print(len(res))
[ "noreply@github.com" ]
noreply@github.com
59638a7c44b257a3393e174cc395f551766b9d9b
12ad72a994d5899854324a7854ef8cb99d24c822
/src/hc.recipe.django/hc/recipe/django/__init__.py
9e84a0ae85c0a345acaa41783d6bb5fa46ffa74d
[]
no_license
hcwebdev/hc.recipe.django
6648ed35b599e34aaf1f76277ff8e9c17f46b691
8ecc3d4cd57d6f7a57e0b88b919f0e927bdb3907
refs/heads/master
2020-04-21T16:34:21.099336
2009-11-20T16:55:28
2009-11-20T16:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
from hc.recipe.django.recipe import Recipe
[ "jradford@hunter.cuny.edu" ]
jradford@hunter.cuny.edu
3115c97bd689389dd23eb5b1eac7eb30f025e4a5
62f3825654e80d63172f67a144d2c237a11c2d12
/chapter3_pythonwebdriverAPI/sec03_3.14.0.py
1a0798737c9db15e52d12ade3ed408b4fa633fcc
[]
no_license
skyaiolos/selenium2_python
128ca6237bf744b4f293047ae8eab14ea8d6298b
2edd2105237ddce183baca39b38b7799f688e592
refs/heads/master
2021-01-01T17:59:17.803131
2017-07-31T15:30:08
2017-07-31T15:30:08
98,211,624
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
__author__ = "Jianguo Jin (jinjianguosky@hotmail.com)" # !/usr/bin/python3 # -*- coding:utf-8 -*- # Created by Jianguo on 2017/7/28 """ Description: 第十四节 分页处理 对于 web 页面上的分页功能,我们一般做做以下操作: ? 获取总页数 ? 翻页操作(上一页,下一页) 对于有些分页功能提供上一页,下一页按钮,以及可以输入具体页面数跳转功能不在本例的讨论范围 """ from selenium import webdriver import time, ...
[ "skyaiolos@aliyun.com" ]
skyaiolos@aliyun.com
1dcbf3912d75add43aef622fe710efc1fe663551
faabe34af6297530617395bcc6811350765da847
/platforms/leetcode/IntersectionofTwoLinkedLists.py
2c79b3b318933cc3c5d54aafd59a33988fafebfa
[]
no_license
pqnguyen/CompetitiveProgramming
44a542aea299bd553dd022a9e737e087285b8b6d
27330e7ff79c4ac883d7e1fcdf2f0d30939c3f78
refs/heads/master
2021-07-21T12:15:47.366599
2021-06-27T14:58:48
2021-06-27T14:58:48
132,837,831
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# https://leetcode.com/explore/learn/card/linked-list/214/two-pointer-technique/1215/ # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ ...
[ "pqnguyen1996@gmail.com" ]
pqnguyen1996@gmail.com
363701b069422fe54a898b6efcb681361138fa40
d6c04b7c6e823f2c00806f3e662728203dc0ba41
/bot-trade/exchanges/Model/TradingSymbol.py
b3e8b418a78ee0e72dc41cf135ccd4859b74628a
[]
no_license
yathishbl60/bot-trade
9e14de7ee7df6822b2c8ccedf8df79d44cf3e452
60d9fe3f19874410ca7b8b9c8dea8ecc945f5d1e
refs/heads/master
2022-12-12T21:01:50.098763
2020-04-06T10:37:49
2020-04-06T10:37:49
248,813,994
0
0
null
2022-12-08T03:51:07
2020-03-20T17:26:29
Python
UTF-8
Python
false
false
71
py
class TradingSymbol: def __init__(self): self.symbol = ""
[ "yathishbl60@gmail.com" ]
yathishbl60@gmail.com
ba180da8366a1c4dc186e7e6d77e49b2a59441f6
3ce0179378c82797a4c02aaf7a1a3bb485b36e3b
/polici.py
5031632fec55ea6f290b3109c18b975ccd3dac3e
[]
no_license
pedroleon21/intro-prog-comp
3ccb4edcb2c4e62ea7d747f19a14f1affc1bb4cf
78987afa70915279fbdc1955751f836cb1c43de1
refs/heads/master
2020-09-08T21:15:56.331139
2019-12-17T17:20:37
2019-12-17T17:20:37
221,243,609
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
qtd=int() string=input() police=case=0 for i in range(0,len(string)): if(string[i] == -1 and police==0): crime+=1 if(string[i]== 1): police+=1 print(crime)
[ "paranayba.clerot@gmail.com" ]
paranayba.clerot@gmail.com
397e9d6b78cd7d94329a85281f462a17c4a43b7b
ccc056a86af7d3209101e427286e441d7f8020af
/cifar/cat/to-format.py
653c043e98b6b560a7c4252e914b6d8a07389d69
[]
no_license
kkleidal/tensorflow-tutorials
6a31b592dcf56f6f2d2ab1bb50f650dc9f5383ce
4ff34b816d2a3530855fd97080b26316ed584185
refs/heads/master
2021-01-12T05:59:40.899093
2017-01-06T00:19:12
2017-01-06T00:19:12
77,267,987
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
import numpy as np from PIL import Image CAT_LABEL = 3 im = Image.open("cat-small.png") #Can be many different formats. pix = im.load() width, height = im.size out = np.zeros((3, 32, 32), int) for y in xrange(height): for x in xrange(width): for c, val in enumerate(pix[x,y]): out[c, 4 + y, 4 +...
[ "kkleidal@gmail.com" ]
kkleidal@gmail.com
9504b7b448b237c26b47dee53167b5ead3bebe15
cb5fdb8b7c64cf6c4292b355f68e106e6d6c95c3
/实验二/exp2.5.py
c60e24529154606e28759107b150e621a7339113
[]
no_license
13076883047/Data-Mining
5e87334a5dde48341649198105ae9ad512f9dc99
e20349703a21bf60b0d7409c07df6e3637181197
refs/heads/main
2023-02-07T18:50:43.183496
2020-12-26T08:14:20
2020-12-26T08:14:20
324,275,719
0
0
null
null
null
null
UTF-8
Python
false
false
5,167
py
# 5. 根据相关矩阵,找到距离每个样本最近的三个样本,得到100x3的矩阵(每一行为对应三个样本的ID)输出到txt文件中,以\t,\n间隔 import pandas as pd import numpy as np import seaborn as sn import math import matplotlib.pyplot as plt pd.set_option('display.max_rows',None) # 显示全部行 pd.set_option('display.max_colum',None) # 显示全部列 def mean_list(...
[ "2412971288@qq.com" ]
2412971288@qq.com
d2fdd8d26b96274701770b2711e7425e1e6fdb17
fb732b0205be0b5e00e9bca5e70a59983b215959
/qa_grover_grove.py
2fa184f0c9b4996cc9b8067a87f081c1c830b5ea
[]
no_license
ghellstern/quantum
573af5a9d46f87b5dda0f7781dfc2a33d90ee513
d0561d888e0fb87363419562bae5f4d79503d71b
refs/heads/master
2020-05-25T06:59:08.451151
2019-01-27T10:43:23
2019-01-27T10:43:23
187,677,419
1
0
null
2019-05-20T16:32:29
2019-05-20T16:32:29
null
UTF-8
Python
false
false
754
py
import numpy as np from grove.amplification.grover import Grover from pyquil import get_qc # Bitstring Map as an algorithm input SEARCHED_STRING = "1011010" N = len(SEARCHED_STRING) mapping = {} for b in range(2 ** N): pad_str = np.binary_repr(b, N) if pad_str == SEARCHED_STRING: mapping[pad...
[ "noreply@github.com" ]
noreply@github.com
2762d5b3bb66fcbaf71e5dcfe6f251939746ccd3
a3f2e68ac99394eac00d1f38b96a184a2e37cc2c
/src/com/zimu/python/base/for.py
860396bc13594a01597ca122c13849a1e6303513
[]
no_license
chenlunyiran/python
aec84fe7b90bd39b217674f7f1e74ad61eae9d52
9dac1f9dacbe6155f850a1c454293103ce02c3eb
refs/heads/master
2021-08-08T11:33:10.910275
2017-11-10T07:29:49
2017-11-10T07:29:49
110,198,135
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
numList = [1,2,3,4,5] sum = 0 for x in numList: print(x) sum = sum + x print ("sum:") print (sum) print (sum)
[ "jianhua.wang@ehking.com" ]
jianhua.wang@ehking.com
2f29d0cd97f0be44eb260b6fa5f19ca891c4cd03
1348ae98762eab4befb6d48bda156e105dd219f6
/plotting_files/plot_b_val_vs_col_den.py
b7e1cbc3ed311b5634db8e88eb798f012df102ec
[]
no_license
xnaxe29/Voigt_HIH2_abs_fitter
bd37278d9d2536c4dd20be9eeace6093cd6bd63a
4de2df54201812c013dae3e6ca9543c6db9f2ce7
refs/heads/master
2020-12-13T05:58:46.085471
2020-01-17T17:44:31
2020-01-17T17:44:31
234,329,712
0
0
null
null
null
null
UTF-8
Python
false
false
7,171
py
import matplotlib.pyplot as plt import numpy as np import sys import matplotlib.ticker as ticker b_val_plot = np.array([1., 2.,3.,4.,5.,6.,7.,8.,9.,10.]) size_of_font = 20 file_name_b_val = str(sys.argv[1]) file_name_b_val_err = str(sys.argv[2]) #print (file_name_b_val) #print (file_name_b_val_err) #quit() b_va...
[ "noreply@github.com" ]
noreply@github.com
aaf7e92372fffd28588ddef6f81552b2d62a3937
287b58e78286c6f3226f330af5082dcbe7132bed
/blog/migrations/0003_auto_20170512_1513.py
a53e1da7a92e23768af6c6087279c89afc483299
[]
no_license
maridigiolo/django-exercise
0a5f16431dda379b9ae97ac3df7a36a4b8ea243b
386e283bdf51671412cbf7d6d3d09b5514a35838
refs/heads/master
2021-01-20T14:39:31.369322
2017-05-16T14:08:46
2017-05-16T14:08:46
90,642,730
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-12 15:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20170511_1853'), ] operations = [ migrations.CreateModel(...
[ "maridigiolo@gmail.com" ]
maridigiolo@gmail.com
c7a6d0a4440e9eb6c1af76f5603c4cbae2e68521
ee88c4690ce952ef7d07b29c78963b9904275630
/config/urls.py
2685435794c2cf31ff22c2dcc1c12b7d4fc737d1
[ "MIT" ]
permissive
luiscberrocal/acp-calendar-dev-project
53a88a61002dcd3058fd0ef9fdaa8aa8a1fefec6
d259a9db613136c3567a1e6e5750fc74d27f08c6
refs/heads/master
2021-01-17T17:46:43.163262
2016-12-29T13:32:49
2016-12-29T13:32:49
69,179,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpat...
[ "luis.berrocal.1942@gmail.com" ]
luis.berrocal.1942@gmail.com
f68997466b45549f925dca7694946614ad7d4fd5
965e163df916b01d647953f2b1431d265683f6ca
/desktop_local_tests/linux/test_linux_ip_responder_disrupt_interface.py
9c530092e4332d08a2aad027c5f16ab34a6f3077
[ "MIT" ]
permissive
expressvpn/expressvpn_leak_testing
6505c39228d396caff0c2df3777009c6fbdf3127
9e4cee899ac04f7820ac351fa55efdc0c01370ba
refs/heads/master
2023-08-18T06:33:33.931040
2021-10-11T03:02:50
2021-10-11T03:02:50
112,572,905
244
48
MIT
2021-01-19T16:02:18
2017-11-30T06:18:40
Python
UTF-8
Python
false
false
421
py
from desktop_local_tests.local_ip_responder_test_case_with_disrupter import LocalIPResponderTestCaseWithDisrupter from desktop_local_tests.linux.linux_interface_disrupter import LinuxInterfaceDisrupter class TestLinuxIPResponderDisruptInterface(LocalIPResponderTestCaseWithDisrupter): # TODO: Docs def __init_...
[ "leakproofing@expressvpn.com" ]
leakproofing@expressvpn.com
57b1b4a7c48e79845070c55ebb0b34375345e2f7
9df9b12e7e97c290b473398e5b9bac23ceb28fa5
/src/MainTask/main.py
793c8ecf5bdd9965da39d28ff6dacd2158cd8bbe
[]
no_license
wangjsfm/VoiceAlerm
5bfa2486ff4d6fbd664e2bbda37d762a682aee20
a72b282a9f0cee5e2a7dfc1a9d655d2989817a69
refs/heads/master
2020-04-30T05:11:29.813610
2019-03-21T11:10:26
2019-03-21T11:10:26
176,623,185
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
#coding=utf-8 #Version: V 1.0 author: 'WangSheng' date: '2019/3/20 8:31' import threading,time from src.ServiceTask.VoiceService import VoiceTask from src.ServiceTask.TemDiffMonitorService import tempratureDiffMonit from src.ServiceTask.ModInitService import TempModelInit from src.ServiceTask.TemMoniService import Te...
[ "190510995@qq.com" ]
190510995@qq.com
8191099a12f2c8606ff0b7c7276cf7adb63063ac
eaa07ce37e8a01aed0207f6707facc9675ee4245
/liczby_pierwsze.py
c5bbfec1dd2fb6fc98aa312d2d1a82c42fd01921
[]
no_license
jpalmowswroc/NOKIA_Python
f0a77e9a6edaf3553c2c8ecb267a2fc3fe9b8717
076e0a69cd592e0132738f5e53670fe13f2603c8
refs/heads/master
2020-03-25T10:50:06.349810
2018-10-08T13:55:45
2018-10-08T13:55:45
143,707,183
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
d = int(input("Podaj liczbe.")) liczby = [] for i in range(d): liczby.append(i) for x in liczby: for i in range(2, x): if x % i == 0: print (x, " dzieli się przez ", i) break else: print (x, " jest liczbą pierwszą")
[ "noreply@github.com" ]
noreply@github.com
fd786edc5e091c8188505bf10510de95901f757a
12df960cb9633cc00fbd970eeee612a5f2166bcc
/hfpy2e-all/hfpy2e-all/ch04/mystery2.py
cce8aa5e081ce3b84689f52f298bb78304fdfc09
[]
no_license
lpizarro2391/HEAD-FIRST-PYTHON
0e54cde2c2639be4c59d8295be4f0b6d95048958
8fb1740f8a35b2f39f921dfe8fac69e23c0bcbab
refs/heads/master
2023-03-26T05:26:36.416336
2021-03-30T03:32:31
2021-03-30T03:32:31
315,743,520
1
0
null
null
null
null
UTF-8
Python
false
false
266
py
def double(arg): print('Before: ', arg) print(id(arg)) arg = arg * 2 print('After: ', arg) print(id(arg)) def change(arg): print('Before: ', arg) print(id(arg)) arg.append('More data') print('After: ', arg) print(id(arg))
[ "51811145+lpizarro2391@users.noreply.github.com" ]
51811145+lpizarro2391@users.noreply.github.com
a486b8053059c903fcbae7ee683707681e94c97e
90fb55320c81259cb199b9a8900e11b2ba63da4f
/1/summing.py
ba2262a8a15fe42c75e98c7269c79b194026bcb2
[]
no_license
pogross/bitesofpy
f9bd8ada790d56952026a938b1a34c20562fdd38
801f878f997544382e0d8650fa6b6b1b09fa5b81
refs/heads/master
2020-05-19T07:31:44.556896
2020-01-26T12:48:28
2020-01-26T12:48:28
184,899,394
1
1
null
null
null
null
UTF-8
Python
false
false
111
py
def sum_numbers(numbers=None): if numbers is None: numbers = range(1, 101) return sum(numbers)
[ "p.gross@tu-bs.de" ]
p.gross@tu-bs.de
23114f378d9fd15c2b284f1816308b838765ea0b
fcc6c2eeac4ae38c4fca73dcc2d7a6cc86cf7244
/rac/know/urls.py
48e5fb5936505f6b4d2bfd219e181d6952e5c854
[]
no_license
1122Rishabh/Knowladge-Website
6a939c7420f4accb75cb1f1333eb57bc295f90da
663ec6a7561ab1f9ffa95a4ff5d741d9d3f9e318
refs/heads/main
2023-03-20T19:33:17.855721
2021-03-15T08:26:22
2021-03-15T08:26:22
347,732,417
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
from django.urls import path from . import views urlpatterns = [ path("",views.index,name="KnowHome"), path("index/",views.index,name="indexus"), path("contact/",views.contact,name="ContactUs"), path("about/",views.about,name="AboutUs"), path("php/",views.php,name="phpus"), path("javascript/",v...
[ "rishabhbansal376@gmail.com" ]
rishabhbansal376@gmail.com
a543b07fa98c6571db483bd6b367a1e42481d991
9e30fe3e8a6cd951d4f197bec869681e5eac85b1
/HFPN model/integrated-model/integrated_HFPN.py
b3193afb4b6bb20bca8b2c26b0f4689cb8508094
[ "BSD-3-Clause" ]
permissive
PN-Alzheimers-Parkinsons/PN_Alzheimers_Parkinsons
0bdf67bc84805499345eb973c60289e6cafa1291
8e9a3a8151069757475808c48511c9d7486ea334
refs/heads/main
2023-03-01T02:33:47.205003
2021-02-04T10:37:06
2021-02-04T10:37:06
308,452,006
0
0
null
null
null
null
UTF-8
Python
false
false
52,948
py
import os import sys cwd = os.getcwd() root_folder = os.sep+"team-project" sys.path.insert(0, cwd[:(cwd.index(root_folder)+len(root_folder))] + os.sep+"utils"+os.sep) # Import class to work with hybrid functional Petri nets from hfpn import HFPN # Import parameters, rate equations, initial tokens and firing conditio...
[ "72495991+BrandonSLockey@users.noreply.github.com" ]
72495991+BrandonSLockey@users.noreply.github.com
8096ec71ed9d6f5d130eb22797cc799e0e2853b4
587eed32179cdbf10b4626a3a238d5923af7459c
/deep_learning/eager.py
843bc8349093cfc3f5e0b2f8652b017bd5de8a5b
[]
no_license
shushanxingzhe/python_learning
fad57fcf607efe81f769d276a6c4390726c5f1bb
7fe26ad612790328edab1627e6c1c144a21d79fc
refs/heads/master
2022-09-12T15:11:50.377981
2022-08-04T05:43:51
2022-08-04T05:43:51
96,225,151
1
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
import numpy as np import pandas as pd import tensorflow as tf import matplotlib.pyplot as plt a = [1,2,3,4,5,6] print(a[:-2]) print(a[2:]) tf.keras.layers.Embedding() exit() tf.enable_eager_execution() tf.logging.set_verbosity(tf.logging.ERROR) tf.set_random_seed(123) # Load dataset. dftrain = pd.read_csv('https:/...
[ "liujiafu@globalegrow.com" ]
liujiafu@globalegrow.com
1053793324eeab8a4a8b7f8c0312e7bda71cd5f4
f1f7781fd5290e4755dc0d451caeacdceb022de2
/dataviva/apps/scholar/models.py
7c4caadf6c407782cda8ebc1a0cc0ebb3a5fea62
[ "MIT" ]
permissive
jaotta/dataviva-site
62a4f73d288c68bbb469155dfcb93dbc992fc98b
663d98b1c692bf2f5f22e4a71564d104396fff46
refs/heads/master
2021-01-18T01:24:10.321142
2016-05-17T18:13:57
2016-05-17T18:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
from dataviva import db from sqlalchemy import ForeignKey article_keyword_table = db.Table( 'scholar_article_keyword', db.Column('article_id', db.Integer(), db.ForeignKey('scholar_article.id')), db.Column('keyword_id', db.Integer(), db.ForeignKey('scholar_keyword.id')) ) class Article(db.Model): __ta...
[ "fredops1@hotmail.com" ]
fredops1@hotmail.com
26420ea46b9cbaa38d39ae739afaead6359c11e5
3f395a44a8e1255de5eebfe936c170fd2b1e36ef
/tkinter_for_cards.py
b703acb98fcc5914fc97140f0d91b457c7af0a8c
[]
no_license
cmd16/game-bs
cf094d14c0a1ec3f3f7812bdb7f0b3ecf2fe2a3c
6cd89a393dcb90f4fd97025ef93472690f74f0d5
refs/heads/master
2020-06-21T10:07:29.492562
2016-12-21T18:40:46
2016-12-21T18:40:46
74,793,510
0
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
"""Catherine DeJager (cmd38) 12/15/2016 CS 106 Final Project: BS A widget to set up the game by getting user input (names, computer player options, etc.) and then creating Player objects using the given input as parameters.""" from tkinter import * from player import * from world import * from deck import * class...
[ "catherine.dejager10@gmail.com" ]
catherine.dejager10@gmail.com
6ff5dcd49a138f3324b728e08c573bab44fb4edb
d051f3fe9fda31b72fa0ddce67aa1f4293c7c37c
/cloud/inference/prune_idle_machines.py
a22ef00461da7c89de8be940f0c2e86b4b3a221f
[ "BSD-3-Clause" ]
permissive
davmre/sigvisa
4e535215b6623310d8f5da64258f6fa9a378f9fd
91a1f163b8f3a258dfb78d88a07f2a11da41bd04
refs/heads/master
2021-03-24T10:24:52.307389
2018-01-05T19:33:23
2018-01-05T19:33:23
2,321,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
import os import subprocess32 as subprocess import time import numpy as np import shutil import uuid import cPickle as pickle from optparse import OptionParser from sigvisa.utils.fileutils import mkdir_p from sigvisa.learn.extract_fits_from_jointgp import extract_jointgp_fits from sigvisa.cloud.inference.remote_job_m...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
d8570678c24b0c3f9928ad28d6c32dc0f742e9ff
8c72454604a27bd607df55bb7f9fcc65e83d4428
/3_trainer/classification_models/resnet152_train.py
bb5b254a96dd2a27627fc711b5b8808761f856a5
[]
no_license
Guluna/vbd_cxr
8c8adcb634769c6ea87bf5b4a5b267772b888d58
6519c9080effea89a0ff79b71a05d203fcc849ea
refs/heads/main
2023-04-03T15:35:33.581852
2021-04-16T06:24:34
2021-04-16T06:24:34
358,491,349
0
0
null
2021-04-16T05:55:58
2021-04-16T05:55:57
null
UTF-8
Python
false
false
15,423
py
# %% -------------------- import os import sys from datetime import datetime from dotenv import load_dotenv # local # env_file = "D:/GWU/4 Spring 2021/6501 Capstone/VBD CXR/PyCharm " \ # "Workspace/vbd_cxr/6_environment_files/local.env " # cerberus env_file = "/home/ssebastian94/vbd_cxr/6_environment_file...
[ "sheldonsebastian94@gmail.com" ]
sheldonsebastian94@gmail.com
b6e6c452b9b6e587e65296e1eeab0b78f2e8931e
0f0cb36c4d0afdd36072be37238b60a040623fdd
/cmds/task.py
b9b188d9fcd969f8d01d7b54852b6759b4124764
[]
no_license
hijimmy87/dcCWBReportBot
484cb5f99ab4a88a297de1bf0e6696e46d4c8259
634c1b850556d50c4b1715b2d8171d7e10d94a30
refs/heads/main
2023-08-11T14:57:59.511470
2021-09-30T13:24:57
2021-09-30T13:24:57
412,072,524
1
0
null
null
null
null
UTF-8
Python
false
false
3,686
py
import discord from discord.ext import commands from core import Cog_Extension from api.weather import getCWB import asyncio, json from datetime import datetime, timedelta class task(Cog_Extension): def __init__(self, bot): super().__init__(bot) async def weather(): ...
[ "noreply@github.com" ]
noreply@github.com
68076011454e47960d4ce0e65fcbc57c1ec41a99
e6f9cb89af849f52fd318d467d91abbf198f2ea6
/B_MOO_004_NSGA3_0810_PS/d_NSGA2_PMROA_no_encoding_pandas_numpy.py
a5ac99da00d494ffd4c4e6164bba551184446656
[]
no_license
chinawindofmay/multi-objective-optimization-NSGA2
5cf0319f5a04e27d2adbe47c3ca11bee83c8083a
5fb711d909967c61ab423fd3cc30c09065b44d3d
refs/heads/master
2021-07-19T10:38:36.458471
2021-07-03T07:54:49
2021-07-03T07:54:49
240,712,509
10
1
null
null
null
null
UTF-8
Python
false
false
14,824
py
#coding:utf-8 """ 关于整个算法的基本说明: 算法功能:实现对可达性和公平性的帕累托解求解过程。 算法参照: # Program Name: NSGA-II.py # Description: This is a python implementation of Prof. Kalyanmoy Deb's popular NSGA-II algorithm # Author: Haris Ali Khan # Supervisor: Prof. Manoj Kumar Tiwari 算法的改造过程: 第一步:20200129-20200130,资...
[ "nanjing_kaita@foxmail.com" ]
nanjing_kaita@foxmail.com
716c09f6750529329620391f51c69fdaddde1b25
6a88ecf98454852c2d2014da9333534b3a066910
/ga2016_final_project-master/ga2016_final_project-master/src/run.py
acf405829b84b93ce977ad9bdc2dcdd7f1e7ad67
[ "MIT" ]
permissive
cbbjames/GA2016
d37b7fdb88ebbf0a24e929df8a755d7724594f40
a6a06ad3beeb64697ee8c0690ad6651d77ac122e
refs/heads/master
2021-01-18T13:10:39.966270
2017-02-03T02:56:48
2017-02-03T02:56:48
80,728,984
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import cost_function as cf import genetic_programming as gp import monte_carlo as mc import pic # global setting x = 50 y = 50 target_image = pic.pic2rgb("../data/0703.jpg", x, y) cf.set_target_image(target_image) # gp horizontal = gp.cut('H',2) vertical = gp.cut('V',2) env = gp.enviroment([horizontal, vertical], [...
[ "noreply@github.com" ]
noreply@github.com
2bde8a3befdc778156a7218cbb0ab8f1fa8bfe96
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/swagger_client/models/i_neighbor_filter_list.py
4547f5160a2b9f912a8e71d8e80a789d7afe5262
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
7,160
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
9dbc3b6ded0ce3d6c631589afa169837f05a64cd
a857d1911a118b8aa62ffeaa8f154c8325cdc939
/toontown/coghq/DistributedLawOfficeFloor.py
4b2ce5f87d907f8e5164c336752062e61c895ad3
[ "MIT" ]
permissive
DioExtreme/TT-CL-Edition
761d3463c829ec51f6bd2818a28b667c670c44b6
6b85ca8352a57e11f89337e1c381754d45af02ea
refs/heads/main
2023-06-01T16:37:49.924935
2021-06-24T02:25:22
2021-06-24T02:25:22
379,310,849
0
0
MIT
2021-06-22T15:07:31
2021-06-22T15:07:30
null
UTF-8
Python
false
false
7,428
py
from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * import random from otp.level import DistributedLevel from direct.directnotify import DirectNotifyGlobal import LawOfficeBase import FactoryEntityCreator imp...
[ "devinhall4@gmail.com" ]
devinhall4@gmail.com