blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
7f96c49a29500bb4d3ece3d0ed3f017aaf3d77cf
451460fae427477bdd94ca98131fe896b150f7a6
/VideoSummarization-master/predict.py
f54f33c0a8668bdbc980a4b42ade26c04ebc9a20
[]
no_license
sundar-paul/VideoSummarization-master
b751a91015412c10ef14258b8cdb4ae50b2edcb9
b9f658e6b7efc0e73723d426c33a5aeb5bd262f8
refs/heads/master
2022-12-12T15:54:31.061301
2020-02-14T12:22:22
2020-02-14T12:22:22
240,499,633
0
0
null
2022-12-08T03:36:51
2020-02-14T12:06:49
Jupyter Notebook
UTF-8
Python
false
false
1,328
py
import imageio from utils import * from model import get_model,get_vgg_model import re import numpy as np from env_variable import * def extract_feature_single(video_path): model = get_model(mode="test") feature_extractor = get_vgg_model() videodata = read_single_video(video_path) videodata = resize_image(vid...
[ "noreply@github.com" ]
sundar-paul.noreply@github.com
f86419f5e1ab1cc1e28ca282380f2e27842b7486
564616220919877203922adc34e98bb137ed5680
/src/bot/bot.py
033899fecca3e3ad16f6e076117a6a00e48bb50a
[]
no_license
Fumaz/LyricsBot
264485f95aaaf27f695645c777176661af97d212
964a16c8a9ce62ef1550b78fbe1fe37cbc5a8667
refs/heads/master
2023-07-25T21:45:07.968888
2021-09-07T17:08:32
2021-09-07T17:08:32
341,815,884
2
1
null
null
null
null
UTF-8
Python
false
false
382
py
from pyrogram import Client from . import config from .db import models client = Client(session_name=config.SESSION_NAME, api_id=config.API_ID, api_hash=config.API_HASH, bot_token=config.BOT_TOKEN, plugins=dict(root=config.PLUGINS_FOLDER), ...
[ "mail@fumaz.dev" ]
mail@fumaz.dev
ebdf0537fcfac3b3f8d113d97fe4078e961967ca
d72dd4af40e7f60df15d22c25df124f552a551b5
/values.py
0a4be4a55c3e7794e66556bf52c087230955f514
[]
no_license
smrnmakhija/Ciser
80ecfd2d2499723802a76041e93fd02c4f76b841
8f610fe701b60ad9351e80d702010033597212a9
refs/heads/master
2021-09-10T14:12:25.483389
2018-03-27T16:19:27
2018-03-27T16:19:27
108,571,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
import random as rnd import numpy #bet,eps,ro,gam,sigma,wa,taw,mu=0.6,0.084,0.95,0.1,0.0714,0.0588, 9.1324e-4,6.8493e-5 BET_MIN=1 BET_MAX=1.01 EPS_MIN=0.1 EPS_MAX=1 RHO_MIN=0.9 RHO_MAX=0.95 MU_MIN=5.4795e-5 MU_MAX=6.0883e-5 GAM_MIN=0.0714 GAM_MAX=0.1 SIG_MIN=0.0357 SIG_MAX=0.1429 TAW_MIN=9.1324e-4 TAW_MAX=0.0014 OMEG_...
[ "noreply@github.com" ]
smrnmakhija.noreply@github.com
3cd0c9805c1dfb9762cfea9de878c47f9f967626
851d1f57a992b69d15f0f5191aca433b507d20ef
/funcoes_def/velocidade_media.py
a093b841b2e5439fd04655434feab0e3cc578fed
[]
no_license
brgermano/estudo_python
af12d1c2e808c62c18088c82dce13c798cc8bb61
28664a3298e5707db756e1afb65e232038f65881
refs/heads/main
2023-05-28T09:50:51.662686
2021-06-01T23:30:29
2021-06-01T23:30:29
355,721,908
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
#Função que calcula a velocidade média def calcularVelocidadeMedia(distancia, tempo): #calcular a velocidade média velocidade_media = distancia/tempo #exibir o resultado print("A velocidade média é {} km/h".format(velocidade_media)) #aqui começa o programa principal dist = float(input("Informe a distânc...
[ "brunoalvesgermano@gmail.com" ]
brunoalvesgermano@gmail.com
379647d2a87d46df07f34d2423a3f858627dcab4
0f7a52c838ec76fefff058a33737fbfacb168e9a
/read_csv.py
549b06aaa86fbd77ce26d9d66363d62605485cd0
[]
no_license
palla714/my-repo
8c76f22bbf58c3d3af050eeb6c32d48b3d073591
4fb9e03d9b572d96ba15226fdbcb6d6ea64b4e5c
refs/heads/master
2021-11-23T08:48:19.379907
2021-06-30T19:31:16
2021-06-30T19:31:16
199,654,017
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import csv with open('file1.csv','r') as csv_file: reader = csv.reader(csv_file) #next(reader) for line in reader: print(line)
[ "das.pallavi355@gmail.com" ]
das.pallavi355@gmail.com
9238c3ab30fc51de5c4783e6192f517d7c209557
ff0dc4533cfacada33b410470ef17846c70ccb5a
/shop/shop/settings.py
e5c48d8f5a1b8c3f3dd1c11b473a381f3476fa00
[]
no_license
km123abca/django-shop
170c9141e0fc5caff3fabd9d7fec8b671747a789
097cfccfabb57b0de142f484d74a0781ac519a35
refs/heads/master
2023-08-03T07:34:05.474977
2020-07-11T12:43:32
2020-07-11T12:43:32
270,274,812
0
0
null
2021-09-22T19:22:35
2020-06-07T10:47:41
JavaScript
UTF-8
Python
false
false
3,361
py
""" Django settings for shop project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bu...
[ "km123abca" ]
km123abca
8cbadcfd4408fc8969b97069613353f6f16b1d5a
985336505d59daeb0b543f246199a6deef9f4d64
/lucien/__init__.py
7f822805d208c95a59ed12c4a323f4791334b0a3
[]
no_license
sholiday/lucien-python-client
776978ec1202502e9ed65ba8f8ad6dc25b65bb39
8eda60e0aafee647a0ecd0638abcee6c4489d2b6
refs/heads/master
2021-01-10T21:43:43.108002
2011-12-29T03:02:50
2011-12-29T03:02:50
3,066,597
1
0
null
null
null
null
UTF-8
Python
false
false
44
py
__all__ = ['ttypes', 'constants', 'Lucien']
[ "stephen.holiday@gmail.com" ]
stephen.holiday@gmail.com
924b5c4a0e2cf3d8dfc8aecfabb65d2b9f5bde9e
2b3e08faaa4edb548ef9bd386247f35f50a06766
/djangoProject1/djangoProject1/settings.py
4d5c51c1b17d9b76ad05eaa428573e4d2cb9dee6
[]
no_license
aliciawill/pythonproject
e495d3a9e5d65768a69ea6ac01ff559e7112dd75
f6d166c366522f0e3c5c74fdd11ca7a7b5489ee1
refs/heads/master
2023-07-08T04:39:59.597131
2021-08-22T05:15:08
2021-08-22T05:15:08
360,455,729
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
""" Django settings for djangoProject1 project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ ...
[ "noreply@github.com" ]
aliciawill.noreply@github.com
0028b042057bd74a52591f222c35959cadf416b9
52025f56d547b5f602e451b32e75057a4e893928
/ziphon/forms.py
fbbefd3a509c98b23cc071527173bebad690236f
[]
no_license
deone/thedebaters
a15a7323190ac9eb7b9b8570a192a03e13ae0a2f
e56d981d2ac7268c07cebf93d8e11230fb8840e3
refs/heads/master
2021-03-12T19:59:21.814716
2010-05-21T09:11:33
2010-05-21T09:11:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
from datetime import date from django import forms from django.conf import settings from thedebaters.ziphon.models import Person class DateOfBirthField(forms.Field): def clean(self, value): if not value: raise forms.ValidationError("Please enter your date of birth") try: r_date = value.split("-") ...
[ "alwaysdeone@gmail.com" ]
alwaysdeone@gmail.com
4cb68d4167c5f99d64445b38aec91c682c1d41f4
ce00c3f8e2a7aeb0a79b9ce551ecd53c9a4a8d88
/Abhi.py
2c9b1eca3cf75a3b0a0011a489f8022579acb514
[]
no_license
abhi330/hand-gestured-mouse-controller
d25cbb11f98cde6af80188787d20e681f7c37109
6bdbf6c66c68bd272b74156c7e684f893ea5cbb0
refs/heads/master
2022-04-14T00:55:40.110777
2020-04-10T07:09:30
2020-04-10T07:09:30
254,568,158
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
import cv2 import numpy as np from pynput.mouse import Button, Controller import wx mouse=Controller() app=wx.App(False) (sx,sy)=wx.GetDisplaySize() (camx,camy)=(640,480) lowerBound=np.array([33,80,40]) upperBound=np.array([102,255,255]) cam= cv2.VideoCapture(0) kernelOpen=np.ones((5,5)) kernelClose=np.ones((20,20)...
[ "noreply@github.com" ]
abhi330.noreply@github.com
e675e5aa191195322c959abaabe6b8820ce8d582
751d898301143adbc0b34bdc3bcc600a57b5b19f
/Code/src/Main.py
077cae765538fecc21146261094f8acfde573507
[]
no_license
LuatVu/Hand-written-digits
dbf48d4aaff6ddd538b46d1b9ae13e810cc11b4c
ee8f4c6630f88ded90aad6cedcbc2bf82be2ea46
refs/heads/master
2021-04-12T09:12:01.037967
2018-04-23T14:55:27
2018-04-23T14:55:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,012
py
import sys import os import numpy as np # sys.path.append('./src/') sys.path.append('../fig/') import mnist_loader import network import mnist import gzip import network2 import json import random temp1, temp2, image_tests = mnist_loader.load_data() training_data, validation_data, test_data = mnist_loader.load_d...
[ "noreply@github.com" ]
LuatVu.noreply@github.com
993a9811bc7a0b0ae28573e2d345504dde81a6c9
200f61d4536406c706694c8efd931eb1febd28d6
/leetcode/dc/lc_315.py
f6b1bcabb7952c36c3f9bacc6fd883a16e2f15f6
[]
no_license
shoppon/leetcode
ba6747125b53f2229d6db41372b5959344387715
193c27273eeacc7ceb159154fd87f7d7d9a70ae0
refs/heads/master
2022-04-25T19:01:18.701344
2020-04-23T16:31:35
2020-04-23T16:31:35
255,083,107
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
from typing import List class Solution: def countSmaller1(self, nums: List[int]) -> List[int]: n = len(nums) ans = [] mins = [] maxs = [] min_v = float('inf') max_v = float('-inf') for i in range(n-1, -1, -1): min_v = min(min_v, nums[i]) ...
[ "shopppon@gmail.com" ]
shopppon@gmail.com
5a622fa1d137fb50af46a7f4200d7f165bb4b736
09895d4ae31e91b371b005ab1cc41dc8700f7810
/SSCClient/core.py
1958ff9192466fd3b237185e585f2d9a0bc884f0
[ "MIT" ]
permissive
qweraqq/SimplePythonFortifyWrapper
1ec6984264455a4c79e5fb5128f0a6af1d95febc
fb2bae56b93f367264223657315775a1951fa091
refs/heads/master
2022-10-23T15:41:42.494200
2020-06-10T07:06:00
2020-06-10T07:06:00
194,633,690
0
0
null
null
null
null
UTF-8
Python
false
false
25,206
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from __future__ import absolute_import import requests import json import logging from collections import defaultdict from .structs import Version_Info, Project_Info from .utils import * logger = logging.getLogger(__name__) class SSCClient(object): """ Major compone...
[ "shenxiangxiang@gmail.com" ]
shenxiangxiang@gmail.com
309ae3dd4b82f59472559bad92aae23b9e6edd2c
e571b3139a08ac26d04ded28efbf59eacdebb4c5
/WordNet.py
d977a5b251565be7b7f64100abee30bb5a02adac
[]
no_license
fayedraza/Natural-Language-Processing
b60cd9210ebab5c614339571251571b8744480a8
24eaa0e5bbebeb0b4f6ae02acc8d14a284fa0036
refs/heads/master
2021-03-30T08:45:32.046295
2020-03-20T01:59:07
2020-03-20T01:59:07
248,033,581
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
from nltk.corpus import wordnet #introducing useful functions such as finding synonyms and antonyms syns = wordnet.synsets("program") #syn set print(syns[0].name()) #just the word print(syns[0].lemmas() [0].name()) #defintion print(syns[0].definition()) #examples print(syns[0].examples()) synonyms = [] antonynms=...
[ "fayed1234@hotmail.com" ]
fayed1234@hotmail.com
e8c74c07e3c8317d303f9de9f951b89ac3546170
b76abacd12671de7b3e8ab0207293f527e3d4738
/eshop/migrations/0001_initial.py
3db336b99c99b52a8d74ca1705ec504e18a0fe87
[]
no_license
krishnamurtidutta/Online-costmetic-store
5f7929630714552425f3625f9b3a2c65ae2723f9
0dc965e0ef91bce00959e820b7944c63ae8e5e3b
refs/heads/main
2023-08-11T07:20:41.057375
2021-09-20T15:57:47
2021-09-20T15:57:47
408,501,350
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
# Generated by Django 3.2.6 on 2021-08-31 17:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "noreply@github.com" ]
krishnamurtidutta.noreply@github.com
44e5fdd2aa6336d434f44d58ccdf9323afcd14ba
107b1edcc0e17e6e85247b309695f2f914e4fc2b
/flowpatrol/wsgi.py
f1f3a3a0b96539361fa6d1c1aada45fe9871f97b
[]
no_license
chrxr/flowpatrol
90b0c512aeb9410d2a632e8f4fe7779678209fbb
cb3094ca6aa446aae1f0ce69a2b337ccce250fde
refs/heads/master
2020-06-04T04:14:58.000947
2015-05-22T21:24:32
2015-05-22T21:24:32
29,037,844
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for flowpatrol project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flowpatrol.settings.production") f...
[ "chris.rogers@torchbox.com" ]
chris.rogers@torchbox.com
c450c9cc3b9f7602a096adf6d3a38c8f8b8ae0e0
d11d0d6120386a5cd6bdc8de083a27710abd59d2
/dprojx/dappx/migrations/0008_auto_20181221_2124.py
68e80b03f784a1cb55e76067cb38f84f319948d0
[]
no_license
RahilGupta148/ProjectsCode
2c54020f58ff9235deba407d055286b8b0b9f42e
b50f3dc340d87ed6ebfa8e5429b9bc8744426507
refs/heads/master
2020-04-13T08:04:54.937359
2019-01-27T10:34:11
2019-01-27T10:34:11
163,071,352
1
0
null
null
null
null
UTF-8
Python
false
false
642
py
# Generated by Django 2.1.1 on 2018-12-21 15:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dappx', '0007_auto_20181221_2121'), ] operations = [ migrations.DeleteModel( name='Project', ), migrations.Alter...
[ "rahilgupta148@gmail.com" ]
rahilgupta148@gmail.com
606fab937f98b33f758559b69fcf0d893e603ba5
dc3d85086039719aef44c82fe6fd91d29b6c876e
/trainer/wa.py
112d68205bd1f3505b1cbb587754114def1b59d3
[]
no_license
hongjoon0805/Incremental
7a92b81cc5f64892b3101c8773f0b7401d20d46b
38d1495ea1b8a898183dec345720e3ebe90db8e0
refs/heads/master
2021-07-10T12:25:12.560456
2020-11-05T12:41:11
2020-11-05T12:41:11
214,089,063
0
1
null
null
null
null
UTF-8
Python
false
false
2,680
py
from __future__ import print_function import copy import logging import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from tqdm import tqdm import networks import trainer class Trainer(trainer.GenericTrainer): def __init__(self, IncrementalLoader, model, args): super()._...
[ "hongjoon0805@gmail.com" ]
hongjoon0805@gmail.com
6f23c2b2c5f270efb0abe266f2e98db76484813f
faafe1ee67a5daae75c397a4c4100a4046e5f564
/colorwebs/colorwebs/urls.py
ecd4f243f43ff83a581e80aeb202c285d10facb8
[]
no_license
DileepKommineni/colorwebs_msd
54c1d953ca08acdc52059d896255bc5ee1a82d99
d6db0a84ce5cc964bedb7a98b6238d4929374dfc
refs/heads/master
2020-12-07T01:35:33.603747
2020-02-06T17:30:37
2020-02-06T17:30:37
232,602,442
0
0
null
null
null
null
UTF-8
Python
false
false
3,467
py
"""colorwebs URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "dileepk@s7works.io" ]
dileepk@s7works.io
ce223c6360dfff29015eb8b4f13ec5423c7c5965
a3b359f5bc233e5fb85e80b0194de1b2c2bd3c4b
/RNN/lstm-static-mnist.py
65ea6946c632a0b668bfd1bda3e534d21414e84a
[]
no_license
CodeAchieveDream/Tensorflow-RNN
47ee0c7d3e62459595388d0ebf790a5ddde2aa3d
9764b644bcc2096fe05589b73f203cfb910e3b36
refs/heads/master
2020-06-06T12:10:59.120270
2019-06-19T13:25:01
2019-06-19T13:25:01
192,736,275
0
0
null
null
null
null
UTF-8
Python
false
false
2,676
py
# /usr/bin/python # -*- encoding:utf-8 -*- import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from tensorflow.contrib.rnn import BasicLSTMCell from tensorflow.contrib.rnn import static_rnn from tensorflow.contrib.layers import fully_connected import numpy as np mnist = input_data.read_...
[ "1311817413@qq.com" ]
1311817413@qq.com
bc58f9ebc246d2490ce21fb6399685568bb9c9c5
acc73beb5ce211c06335785490ae495969eb3fc5
/src/code_completion_final.py
9d93a16115c9880e37051324eb72fbfcad05b7a2
[]
no_license
salisjoshi/CodeCompletion
b7e9637dddac994d4877091717f3da7cf74c7d8d
3969b1d45a6103add3258ba87b84ba2502d891aa
refs/heads/master
2020-05-23T16:38:16.186793
2019-05-15T15:26:08
2019-05-15T15:26:08
186,853,459
0
0
null
null
null
null
UTF-8
Python
false
false
4,792
py
import tflearn import numpy import tensorflow as tf class Code_Completion_Baseline: def __init__(self): self.max_sequence = 5 def token_to_string(self, token): return token["type"] + "-@@-" + token["value"] def string_to_token(self, string): splitted = string.split("-@@-") ...
[ "salis.joshi@gmail.com" ]
salis.joshi@gmail.com
c809c9d03f49c079542f1c8d509ff55a9f4f4907
38f605389d8e0f774150479f83ab622639c02cb8
/visualize.py
c344d4794d08f34ccf360965419e6c0a4081fd7d
[]
no_license
1050265390/FTANet-melodic
bc159afa1b140d3a9be07b28fb0eb63085f98e09
a0998e34b9efe853079cd16b8e518ca274c3ac42
refs/heads/main
2023-05-15T00:43:11.446892
2021-05-31T06:44:46
2021-05-31T06:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,468
py
import os import math import librosa import librosa.display import numpy as np import tensorflow as tf import tensorflow.keras.backend as K from tensorflow.keras.optimizers import Adam from tensorflow.python.framework import ops from PIL import Image import matplotlib.pyplot as plt from sklearn.preprocessi...
[ "yu@yu.local" ]
yu@yu.local
3a81b8fbe1e65f9a526b2ed6c28352b2b5789211
50546ae1318dd72c6294c2fad4da652b2431ccd1
/Python/Python_code_challenges/traverseTree.py
5f880593ec50d0dc2ce71bb04a82de1f4f51994e
[]
no_license
jamil-said/code-samples
a68550bf0b0acd340496504c07ddccc24a6aa467
bfec99e5f02c5fa116fe9875662fee2e1ebfff27
refs/heads/master
2021-06-06T06:41:50.143626
2021-02-16T03:30:41
2021-02-16T03:30:41
130,426,151
6
3
null
2020-04-25T04:14:42
2018-04-21T00:35:43
PHP
UTF-8
Python
false
false
1,804
py
""" traverseTree -- 30min Note: Try to solve this task without using recursion, since this is what you'll be asked to do during an interview. Given a binary tree of integers t, return its node values in the following format: The first element should be the value of the tree root; The next elements should be the va...
[ "jamilsaid@hotmail.com" ]
jamilsaid@hotmail.com
98ab298629ddc2844ed6eb061ee47565c5964220
d3b821edfcac5757b2511d58b62c391af9f48545
/testauto/CUartThread.py
277b04ba76659623970f7fff15a8d271640022de
[]
no_license
sql7777/RFID4G-1
187fa48ab7ceb79e44fda4da7fb92ca04bad47de
f8a0ff5aeca3029068231bdcad4a71f44464529e
refs/heads/master
2020-03-07T13:52:16.527044
2018-06-18T03:43:23
2018-06-18T03:43:23
127,512,429
0
1
null
null
null
null
UTF-8
Python
false
false
6,250
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 1 10:09:19 2018 @author: root """ import sys import ctypes from ctypes import * import threading import time import queue class CUartThread(object): def __init__(self,Port='/dev/ttyAMA3',baudrate=115200,ReceiveCallBack=None,RCallarg=None,SoPath="./CUart.so"): ...
[ "tong5188@163.com" ]
tong5188@163.com
1f7324a86ce39d75b5b0bcdb74486a69fd5f8d37
5143a5f4ded3194ca5118bc1608504b19856b38c
/game_server/tests/test_board.py
c29176b430408bb2f60886387a1bf82b6c4e2342
[]
no_license
Kieran7741/connect_5
cb7725a0a428a98b9f240b71e1042fc26b5bf200
0f79560b55fe305d0389add4a893de3eb71542c1
refs/heads/master
2022-12-12T10:44:23.576458
2020-01-10T09:25:04
2020-01-10T09:25:04
224,888,685
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
from game_server.game_session import Board import unittest from unittest.mock import patch class TestBoard(unittest.TestCase): def setUp(self): self.board = Board(['X', 'O']) def test_drop_disk_successful(self): self.board.drop_disc(1, 'X') self.assertTrue('X' in self.board.board_m...
[ "kieran7741@gmail.com" ]
kieran7741@gmail.com
4f0a82705b4090c087f38ba7d91a314c6ac954a0
53a67e07e13441568d087537ee4fe95a79eb0d3a
/lib/loops.py
1695dc1c19d1b6365a4ba1847cfc462dfdecfcbc
[]
no_license
ondigitalDesarrollo/curso-python
eeb5e6b2b980f64807e68aa0ffcbb7415c4e7dc2
00f8efaefab7b841997fa15d34f8322a5d43f4ee
refs/heads/master
2021-01-23T07:09:08.130849
2017-09-20T21:30:58
2017-09-20T21:30:58
102,498,715
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
# -*- coding: utf-8 -*- i = 10 while i > 0: print('Ando en un loop ${}'.format(i)) i -= 1
[ "ondigital.desarrollo@gmail.com" ]
ondigital.desarrollo@gmail.com
fa9c7503fbeacbfa7b221a7c6b4459b5273c1287
8a42e8ef22dd15a62cd407910de96b0873fe5252
/schedule/migrations/0012_auto_20190621_1620.py
1d90630aca8b34e57f4a50955096f5dfe33c4dbb
[]
no_license
Vini-S/Fintek_Project
9293300c798cb5e9f9b84d34972392b411849320
406b939832f4a3f03ff8645500502a98c4d7ca75
refs/heads/master
2020-06-19T11:31:37.413669
2019-07-13T08:16:41
2019-07-13T08:16:41
196,693,104
0
1
null
null
null
null
UTF-8
Python
false
false
611
py
# Generated by Django 2.2.2 on 2019-06-21 10:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('schedule', '0011_remove_chapters_f_id'), ] operations = [ migrations.RemoveField( ...
[ "noreply@github.com" ]
Vini-S.noreply@github.com
21bb0d135f78036e6a436bd9570a5d12ad034bba
21f98d8bb31264c94e7a98fb8eb806d7f5bd396e
/408. Valid Word Abbreviation.py
a3e49945b9f4eea46fb3a81b6e38ddb114650e08
[]
no_license
mcfair/Algo
e1500d862a685e598ab85e8ed5b68170632fdfd0
051e2a9f6c918907cc8b665353c46042e7674e66
refs/heads/master
2021-10-31T01:25:46.917428
2021-10-08T04:52:44
2021-10-08T04:52:44
141,460,584
2
2
null
null
null
null
UTF-8
Python
false
false
674
py
#Easy class Solution(object): def validWordAbbreviation(self, word, abbr): """ :type word: str :type abbr: str :rtype: bool """ i = j = 0 m, n = len(word), len(abbr) while i < m and j < n: if word[i] == abbr[j]: i,...
[ "noreply@github.com" ]
mcfair.noreply@github.com
c2553f1bd1117197176b028bd068473aad43ce05
a0f0e97a2e666ad08aaf3be534f91941810da66e
/results_processing_filter_vector.py
188fbf2301c5cfc19d41ac033060b80755cf4a09
[]
no_license
DinosaurInSpace/MS2_fragments_in_imaging_MS
26023a78e194826d58bba64c27493be6356ad56e
5b1d55c361b312e0e34738a3e1d468edb8aae214
refs/heads/master
2022-11-11T03:26:21.212865
2020-06-25T16:16:45
2020-06-25T16:16:45
256,277,609
0
0
null
null
null
null
UTF-8
Python
false
false
7,558
py
#!/usr/bin/env python """ To write! """ import pandas as pd import numpy as np import argparse __author__ = "Christopher M Baxter Rath" __copyright__ = "Copyright 2020" __credits__ = ["Christopher M Baxter Rath"] __license__ = "GPL" __version__ = "0.1" __maintainer__ = "Christopher M Baxter Rath" __email__ = "ch...
[ "chrisrath@gmail.com" ]
chrisrath@gmail.com
23ce27436597600f2adac0dafef4003a390aea37
809a49e2bcc0870012d5e84fd9e8f454d3adbc41
/batchprocessing/models.py
c92f1eb71d3a3281e8ddd80251c991391559ab24
[]
no_license
AYUSHOPSHARMA/wealthadvisory
c16ee92c40b1817ce62f4a8b8345a94f62d4d069
9356c5e433f6346e1028260dd337fd303fd6a9ca
refs/heads/master
2020-03-17T21:19:31.892921
2018-06-24T17:05:42
2018-06-24T17:05:42
133,953,758
0
1
null
null
null
null
UTF-8
Python
false
false
44,318
py
from django.db import models # Create your models here. from mongoengine import * import datetime connect('wealth_management_indices') class nifty_500_companies(Document): Company_Name = StringField(max_length=100,required=False) Industry = StringField(max_length=100,required=True) Symbol = StringField(max_...
[ "ayush.op.sharma@gmail.com" ]
ayush.op.sharma@gmail.com
9e52bf65e324fa883eb5835af1d5480b35003237
fc1c547e7ebf74b90ba53a991dafd8f11e4294a7
/july/urls.py
4bdcbcc73cf9bea58f2956666e5fc25f0de396aa
[]
no_license
davydova20/tourism-system
3f187d69337fa05f7e3f4f8051985b14ed5b2739
ebcb8731ece72ecfe40a54a288e09031c98dcac7
refs/heads/master
2020-12-07T04:39:29.074190
2020-01-08T19:16:55
2020-01-08T19:16:55
232,634,537
0
0
null
2020-01-08T18:47:36
2020-01-08T18:47:35
null
UTF-8
Python
false
false
111
py
from django.urls import path from . import views urlpatterns = [ path('', views.julia, name='julia'), ]
[ "julykopysova97@gmail.com" ]
julykopysova97@gmail.com
2ab2ae183b66faad95089726d243c4cd96777b0e
2f6032d7f191b71f93f4bc178a2e753870e54ffd
/chapter4-流程控制/demo13-continue.py
d74b732ec4fafb4e2ca3aa1838b4beae22022253
[]
no_license
mapleinsss/python-basic
35606cbf4acbe49cbba8cf84caab2213c53da8a1
4d264694e3eda1d000626f4a47805cacbea12086
refs/heads/master
2023-01-14T01:36:38.673143
2020-11-24T15:36:58
2020-11-24T15:36:58
309,705,341
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
for i in range(3): print(i) if i == 1: continue # 在 i 的值为 1 时,该语句不输出 print('continue 后的输出语句')
[ "mapleins@aliyun.com" ]
mapleins@aliyun.com
5adaee347242dca5dda438a926c84ca28de4630d
04b71b3b8d94ed98e1ec91a8f1ebde18a4e2726e
/bin/Helloworld.py
f9c3f3e57cf1d9e7b0822753ef9100bffe0b0e85
[]
no_license
taborda11/IntroductionGithub
4fb234b7426c8018c634168449f1c901323b8014
3c85782db7f54e270acb303f5d1cf0f40cb0b505
refs/heads/master
2020-07-20T09:05:17.790670
2019-10-03T14:19:26
2019-10-03T14:19:26
206,614,073
1
1
null
null
null
null
UTF-8
Python
false
false
22
py
print ("Hello world.")
[ "bmtta@iscte-iul.pt" ]
bmtta@iscte-iul.pt
b15d5da8d3f41a7408acdc942325aac56136b485
ccec675a0a4a42981a8879a58f2219d99dc7ac7a
/tmuxipy/__init__.py
356c47eff514fda92477aab535486f97477a4af9
[ "BSD-3-Clause" ]
permissive
lhamu/tmuxipy
92425da027c0832dcb0302d19157845755a8dd6a
1854ea8e0559f564f6941eba4d6ea2e600e8bf0d
refs/heads/master
2021-01-21T05:36:55.466152
2015-04-10T06:34:06
2015-04-10T06:38:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# -*- coding: utf-8 -*- __author__ = 'Milind Shakya' __email__ = 'sh.milind@gmail.com' __version__ = '0.1.8'
[ "milind.shakya@dealertrack.com" ]
milind.shakya@dealertrack.com
40e79bf69bcab8f1c172648e2483b06d596ee72a
d82eddaed09c170b9920c29fa52afb2188e817eb
/layers/qrnn.py
1a3a1660cddb6767f1eac5fec947c653c81ba957
[]
no_license
liuweiping2020/QuasiRNN-DReLU
ceac60ebaccf8d56e48ce1b1181fc4ad8a24de02
58720cd662dc12ed10c834f6314517768c89d438
refs/heads/master
2020-03-23T12:52:09.089009
2017-11-10T14:14:00
2017-11-10T14:14:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,197
py
__author__ = 'frederic' import theano import theano.tensor as T import lasagne from lasagne import nonlinearities from lasagne import init from lasagne.utils import unroll_scan from lasagne.layers.base import MergeLayer, Layer import initializers import custom_layers def neg_rectify(x): return -1.0 * T.nnet.re...
[ "frederic.godin@ugent.be" ]
frederic.godin@ugent.be
0f810d768b3594c5556ea275d92b79c351f5a74d
0aa66814c5bb5bd480d3661f3312e565b108e697
/tests/base.py
65040b15073360a6df54f7ca466900d12d62b1a8
[ "MIT" ]
permissive
thestd/schedule-DB
c9a51415ced9a05a30592ede731105409ab99e9f
2c3cb36f700a38083f01a3d819856ac8363ca96e
refs/heads/master
2022-12-11T04:21:11.996493
2019-08-16T08:10:53
2019-08-16T08:10:53
190,074,479
0
2
MIT
2022-12-08T05:50:24
2019-06-03T20:07:13
Python
UTF-8
Python
false
false
562
py
import uuid from tornado.ioloop import IOLoop from tornado.options import options from tornado.testing import AsyncHTTPTestCase from app.main import make_app class TornadoMotorAsyncTest(AsyncHTTPTestCase): def setUp(self) -> None: options.db_name = str(uuid.uuid4()) super().setUp() def tear...
[ "bbwgd77@gmail.com" ]
bbwgd77@gmail.com
6d09201c553cbb1850ef991ae9363a133d3e0dc8
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/01a71dbfca71dcbc1da38f12642ba06caa9ede39cd80962b40b44cf036a6ba31/_cython_0_29_16.py
f01dc288889a49d898470e417ec29b2e41220673
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
4,267
py
# encoding: utf-8 # module _cython_0_29_16 # from C:\Users\Doly\Anaconda3\lib\site-packages\numpy\random\_pcg64.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(object): def __...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
117ffea1bc56a4ac8e267359c59cc87a546975bb
4f122df5a41d8525190b780e88b899fbe75c0609
/Weapon.py
f616bfe97fb3eb5863f8b4cc488bd1693639baaf
[]
no_license
BlackMagi018/Zork
990cda14ed87e1fc278b9fac6d0716953cda5491
baa9847dad0a8776c81c191cc48038100058312b
refs/heads/master
2021-08-22T07:58:31.782008
2017-11-29T18:03:30
2017-11-29T18:03:30
111,501,315
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
class Weapon: """Your Halloween has become your last line of defense from terrifying monsters""" def __init__(self, text, modifier, ammo): """Constructor for Weapon class Parameters: text - weapon name modifier - weapons attack modifier ammo - uses left ...
[ "loganjer@mail.gvsu.edu" ]
loganjer@mail.gvsu.edu
8d1a355f58b83ac99d784569eed0d1537f200317
46fc4a4e293242f2d16bd7cb52c533d0e808870b
/SCRIPTS_ANALISIS/Script_Multi_Eliminate/Eliminate_Polygons_MultiExtent_Main_v3.py
46dafb1e225b30cc052a2b9d9d36a2671e99ac44
[]
no_license
UpraAnalisis/Herramientas_Optimizadas
3ffb2316f41191382a960cf9b9cac20cb49c0ff0
36e24d4b23184cd75187421dc454ffdc8cc141d4
refs/heads/master
2022-11-27T15:22:13.594767
2022-11-18T13:03:11
2022-11-18T13:03:11
148,654,618
2
1
null
null
null
null
UTF-8
Python
false
false
9,608
py
# -*- coding: utf-8 -*- import os import arcpy from arcpy import env import subprocess import inspect import random ,string, shutil #variables de entrorno y globales dic={" ":"__","=":"igual", "<":"menor", ">": "mayor"} # diccionario que convierte los caracteres especiales en letras comandos=[] # arreglo que almacen...
[ "carlos.cano@UPRA.LOCAL" ]
carlos.cano@UPRA.LOCAL
5d617f19cb142a9a65b6ad74b5ed92e3d83942ee
44bf33f297fb117b95db471a88f77fbac46c5672
/config.py
aaa586690e207dc334886e0c2964a30384c46477
[]
no_license
Yettie-Xu/GrossProfitDash
f49653af72a1b7520d644f7ce424da213b052ab7
2b2c8e174a96cf4f6118693e00be9875b2d58324
refs/heads/main
2023-06-17T03:11:53.945320
2021-07-07T13:08:36
2021-07-07T13:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
"""Flask config.""" from os import environ, path basedir = path.abspath(path.dirname(__file__)) class Config: """Base config.""" SECRET_KEY = environ.get('SECRET_KEY') SESSION_COOKIE_NAME = environ.get('SESSION_COOKIE_NAME') STATIC_FOLDER = 'static' TEMPLATES_FOLDER = 'templates' class ProdConf...
[ "69041079+tracywst0123@users.noreply.github.com" ]
69041079+tracywst0123@users.noreply.github.com
7babe357ab2437a195264dfc711197baf66ebbc2
1450a86baa83473788c8a3af074ba719168f540f
/hand_up/settings.py
e68622d740fcad202145463659ba8567bd00812f
[]
no_license
nickleus27/hand_up_scraper
692bb6c11515e26ca0122670a27d29b64b3c0fe3
075bc8e8090da2f0127cbcae5eab23fdc24bae9c
refs/heads/main
2023-08-05T07:58:36.595237
2021-09-11T05:59:46
2021-09-11T05:59:46
394,876,028
0
0
null
null
null
null
UTF-8
Python
false
false
3,404
py
# Scrapy settings for hand_up project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middleware...
[ "nickleus27@gmail.com" ]
nickleus27@gmail.com
b0b3c7d1172418161cca5c2b92e65d7073845693
08878bfe3a2eba38cd40844d4624e0c6c378b32c
/template_c4_ta1.py
31206c7b01936363858f593e354a62823a7f91ba
[]
no_license
WHJR-G12-Github/Template_C4_TA1
d8a498dea313a0863b40b7600e7cad6c9f681263
248e6c3c738bd762fe3694b80129e75f9813bfa4
refs/heads/main
2023-08-22T23:13:30.407823
2021-10-12T06:23:11
2021-10-12T06:23:11
415,817,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
import pygame,math pygame.init() screen = pygame.display.set_mode((400,600)) pygame.display.set_caption("Shooting Spaceship") background_image = pygame.image.load("bg2.jpg").convert() player_image = pygame.image.load("s4.png").convert_alpha() player=pygame.Rect(200,200,30,30) WHITE=(255,255,255) enemy=pygame.Rect(1...
[ "noreply@github.com" ]
WHJR-G12-Github.noreply@github.com
2f1df0f8c3d7e3d92bb502fea46e2572d1be5e24
5c4d4a2c44eebf8fd9dd790da2a9ba4ededcfb70
/django_kala/projects/forms/documents/new_document.py
8d3d95897e7e6fa228f3be9c99be9012593b1a5a
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
brahimmade/kala-app
bc2602c6034203f83ced448ba54db7606a1234fe
6ac816e7c2711568cd7bcb1d996ba74c09513b3f
refs/heads/master
2023-03-21T05:15:52.436228
2020-03-10T15:50:29
2020-03-10T15:50:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
from django import forms from django.conf import settings from documents.models import Document, DocumentVersion class NewDocumentForm(forms.ModelForm): def __init__(self, *args, **kwargs): self.project = kwargs.pop('project') super(NewDocumentForm, self).__init__(*args, **kwargs) self.fi...
[ "bgroff@hawaii.edu" ]
bgroff@hawaii.edu
d8e30e73d2417ad16b103c6d325dff495a2afaa5
71d2a0f0539546f030044f4c9d23b370d6d503f0
/pm/harvest.py
c31db15becec1e951d427b4efc2ea5599993d19a
[]
no_license
jmoswalt/ProMan
94767edddee796ed78757b037851064ee4fac281
04f833d5365f5060ada181f4f1e32e0a17716622
refs/heads/master
2021-01-18T21:32:56.046759
2012-07-25T01:42:40
2012-07-25T01:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
from urllib2 import Request, urlopen import base64 from django.conf import settings from django.utils import simplejson as json class Harvest(object): def __init__(self): base_url = getattr(settings, 'HV_URL', None) api_user = getattr(settings, 'HV_USER', None) api_pass = getattr(settings,...
[ "jmoswalt@gmail.com" ]
jmoswalt@gmail.com
c8095deda42e8905e4cd1034162bcd72beb21223
a5dca75cd1f64a166390f070a0a916f423b41daf
/vizApp/models.py
1faff759bf62cf3d48803a0ead9a9f2a9383fc48
[]
no_license
kenyabarnes/medicare-providers
1d9b9da3472d0b186e0afe2e909d5817df6a6995
6f85c18451fb7e60c3ca6f9fa016f0b5aee15012
refs/heads/master
2022-12-08T01:12:29.150642
2020-06-20T04:05:02
2020-06-20T04:05:02
224,080,845
0
0
null
2022-12-04T22:03:14
2019-11-26T02:03:57
JavaScript
UTF-8
Python
false
false
356
py
from django.db import models # Create your models here. class Provider(models.Model): id = models.IntegerField(primary_key = True) state = models.CharField(max_length = 20) name = models.CharField(max_length = 200) type = models.CharField(max_length = 100) year = models.IntegerField() def __s...
[ "Barneskenya@gmail.com" ]
Barneskenya@gmail.com
e5ec365177347f179b249b9dd612eec1f5032966
d62863d049c0206bfa744ca4c9e886030bfce1ab
/apps/sw_shop/sw_catalog/admin/item_inlines.py
04cd23a6f7a69af3873bad04dfcc7dff4f79efc6
[]
no_license
jurgeon018/box
51738b99e640202936ed72357d3c67d2517e589b
50b84a0afa73fab85a00eef54194f3c126d15397
refs/heads/master
2021-07-17T13:37:08.665292
2020-10-15T09:50:33
2020-10-15T09:50:33
232,013,297
0
1
null
2020-03-27T02:16:44
2020-01-06T03:01:34
Python
UTF-8
Python
false
false
3,388
py
from django.conf import settings from django.forms import TextInput, Textarea, NumberInput from django.contrib import admin from django.shortcuts import reverse from django.utils.safestring import mark_safe from django.urls import path from django.contrib import admin from django.conf import settings from django.fo...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
b1710a3385cb76f16c2952316ccab9aa63a71f09
b5d2ed53375edd9fa8ac234072a3b180ea451186
/BSMTOexample.py
690f722ebf6a02f89a6489b4231a298f8d0a481e
[]
no_license
phoenixwilliams/MultiTaskLibrary
79a50921636123529e79160d59b60325f29d5e27
70907f3b7d8110c99b976064d7a2d23e0f0d2ffa
refs/heads/main
2023-02-26T07:51:30.516129
2021-01-31T10:28:35
2021-01-31T10:28:35
327,120,783
2
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
import BSMTO import BenchmarkProblems import time import AlgorithmOperators import matplotlib.pyplot as plt if __name__ == "__main__": dimensions = [50, 50] crossover_params = { "pc": 1.0, "nc": 20, "length": max(dimensions) } gaussmutation_params = { "mean":0, ...
[ "32957699+phoenixwilliams@users.noreply.github.com" ]
32957699+phoenixwilliams@users.noreply.github.com
aaa7967d0696133250c9bd8cc83a8d4402fa94ca
5a095d0dbd7368c6c71bc4a89ba95a67745f4b52
/atcoder_workspace/ABC/121/B/B.py
9cbe840fa22e6ddf45092b172e71f551db2a8820
[]
no_license
Otsdarva1/today_i_learned
8a162681dc92487899e937d8ae9a7b3f94e92eb9
6383ba37e88fe586582a6edf25d5baf2654c5a6a
refs/heads/master
2022-12-15T03:45:53.427641
2019-09-12T14:44:51
2019-09-12T14:44:51
199,311,387
0
0
null
2022-12-06T20:21:53
2019-07-28T16:30:23
JavaScript
UTF-8
Python
false
false
266
py
n, m, c = map(int, input().split()) b = list(map(int, input().split())) a = [list(map(int, input().split())) for _ in range(n)] ans = 0 for ai in a: absum = 0 for i in range(m): absum += ai[i] * b[i] if absum + c > 0: ans += 1 print(ans)
[ "yamazaki192748@gmail.com" ]
yamazaki192748@gmail.com
4d3c568497ff4a6d8f34084d2456c9e637bebe58
9c4a52570d978486f800a83232217cb5c8bad2b6
/src/ros_lidar_visualizer_node.py
dda75c6a31a671ebaa325344050714869227fd5b
[]
no_license
iscumd/Ros-Lidar-Visualizer
9097082f77042f9c145b8030d31394bde62cdc10
78608b20e5f5187e7371ce52ea3145ca9f9269f2
refs/heads/master
2021-09-04T20:06:48.300539
2018-01-17T03:26:36
2018-01-17T03:26:36
115,165,057
1
0
null
2018-01-17T03:26:38
2017-12-23T02:34:36
CMake
UTF-8
Python
false
false
3,802
py
#!/usr/bin/env python import pygame import rospy import math import sensor_msgs.msg as sensors import geometry_msgs.msg as geometries BLACK = (0, 0, 0) WHITE = (255, 255, 255) BLUE = (0, 0, 255) GREEN = (0, 255, 0) RED = (255, 0, 0) DEEP_RED = (155,0,0) YELLOW = (255,255,0) PURPLE = (59,11,48) screen_width = 900 scr...
[ "afcofiel@umich.edu" ]
afcofiel@umich.edu
f18ffb67534bb145f542caa98102e608568c6969
cca6bcec6528417842ce4cc9aee2b891c37fa421
/pogo/proto/Data/Player/DailyBonus_pb2.py
e05be9f47a36ed1982bcdea5e3a8dd4f6d3ebbc4
[]
no_license
p0psicles/pokemongo-api
2c1b219dcc6441399a787280e3df9446761d2230
c1e20ae5892b045ac0b035b0f50254d94a6ac077
refs/heads/master
2021-01-16T23:08:42.501756
2016-07-20T20:51:54
2016-07-20T20:51:54
63,850,559
2
0
null
2016-07-21T08:17:44
2016-07-21T08:17:44
null
UTF-8
Python
false
true
2,530
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: Data/Player/DailyBonus.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import refle...
[ "contact@dylanmadisetti.com" ]
contact@dylanmadisetti.com
380ec927060ea6cdb2c70170326d30a0f152a396
cb560f64ba1b931778ffb7dd6435bca5614c24d6
/zorkwithclasses/main_game.py
8faae1a9897987816ab4f1be1e0821a32c10f8f0
[]
no_license
kazi-2020/Clue-Based-Adventure-Game
1ed69015499e2ecfe5c6eb4d79716d909ba91613
78573f28f1d54c08e75c1e50f1161a0fa7febb30
refs/heads/main
2023-03-29T22:33:11.741966
2021-04-22T03:22:53
2021-04-22T03:22:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
from player import * from board import * from time import sleep from PIL import Image import sys user_name=input("To play, please enter your name :- ") p1=Player(user_name) new_board = Board() new_board.addPlayer(p1) print("\n----ZORK-CLUE----") intro="""Welcome to Manor Mansions, the heart of this town. It's t...
[ "noreply@github.com" ]
kazi-2020.noreply@github.com
4c0ca8fc2bdcc9fe30d65aff66bb876728f439c6
0b15f0143e4affb5b7e08eb3ab6cc608397082d9
/FrameworkExe_VBFHbb/scripts/form_HSG5_out.py
7911707e83db1175cdcbfd0568bd762e3184eb22
[]
no_license
yqqxyy/VBFHbb
20d1ecbbb771df910ef4c878112ee4a40bef1d8f
395b45b417ba04bc31e980b1870050067ee84ef6
refs/heads/master
2023-07-15T18:09:56.826638
2021-08-31T10:54:07
2021-08-31T10:54:07
401,651,399
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
#!/usr/bin/python import os, math, sys #### job version job_version = "HIGG2D4.11-3" #### #user = "user.XXXX." user = "group.phys-higgs." #### input file -> take care not to put / in the end, it will be handled later file_in = sys.argv[1] sample_file = open('./'+file_in, 'r') #### output file, to take back jobs o...
[ "18329007325@163.com" ]
18329007325@163.com
183f56a0ddd259fd9504e2954818dce3803861cc
beefd0c709fbf1a0429f8ebe475192e9d1d24289
/Exception.py
5c34abca489008be6c4389c5b127f6182d5e154b
[ "MIT" ]
permissive
iraycd/automated-trading-and-alert-system-
47e2427a71bbde0071629be295b1270b9c485db9
c5050766f8cc321df17526f824246a35252e8bdf
refs/heads/master
2022-11-16T03:31:48.059163
2020-07-06T09:44:20
2020-07-06T09:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import linecache import sys import init def PrintException(): exc_type, exc_obj, tb = sys.exc_info() f = tb.tb_frame lineno = tb.tb_lineno filename = f.f_code.co_filename linecache.checkcache(filename) line = linecache.getline(filename, lineno, f.f_globals) return ('EXCEPTION IN ({}, LINE {...
[ "54738408+pradeep-p-1999@users.noreply.github.com" ]
54738408+pradeep-p-1999@users.noreply.github.com
2418a6251f7845a23f6ba681a498498303746bfd
639fad37e3b0be9e6cd7d2f0f68bbfb5529558cf
/EchoesJava2/EchoesJava/echoes-runtime/bin/rendering-engine/objects/Plants.py
c324a47cfb8c8ba77a4585965ae75051d010f413
[]
no_license
keithsaccount/ECHOES2
768df0e3967ae5b16179a3279167f6fab76d302e
289cfc5112b0c242c05f82332872274d6f573660
refs/heads/master
2021-01-17T01:11:21.852047
2012-05-16T15:49:15
2012-05-16T15:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,075
py
''' Created on 8 Sep 2009 @author: cfabric ''' from EchoesObject import * from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLE import * from OpenGL.GLUT import * import PIL.Image import random import echoes import math, numpy import objects.Environment import Ice import Logger import Bubbles, PlayO...
[ "gr8sunny@gmail.com" ]
gr8sunny@gmail.com
0fa800818ea9c55747f6ea1cac54b6d99f042b1a
457af6ce768a725bfbb4037691355bb3872b755c
/ResolutionStudy/mkARManalysis.py
839dce4ab81b2083249a6b1623621f3e680ee52c
[]
no_license
reginacaputo/AstroPix
fe5340623944810246d812aafddc04ea935b901b
5cd2d08c308f2cdc972529e8c78436140c09b5df
refs/heads/master
2021-06-06T18:58:29.632297
2021-05-14T02:20:19
2021-05-14T02:20:19
130,399,500
0
0
null
null
null
null
UTF-8
Python
false
false
5,133
py
#*******************************************************************# #-------------------------------------------------------------------# #---------------------------- AstroPix -----------------------------# #-------------------------------------------------------------------# #------------- Michela Negro - GSFC/UMBC...
[ "michela.negro@to.infn.it" ]
michela.negro@to.infn.it
956d560754d141f24482c69fadb44676272210d6
4c4a4b6e94e45ad9e3c4405b7cf056280d161ac6
/Exam01/Ex1_2.py
889574c09ba7e06f93c286e391eb5a924a6856fc
[]
no_license
a3539a/Python
63fc4193deeee6cf4251c990c779d96aa6104ce1
a07ad2a7781173be51670026acc2cef0784565f8
refs/heads/master
2023-04-12T02:39:38.681024
2021-05-17T00:33:20
2021-05-17T00:33:20
361,670,482
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
""" 날찌 : 2021/04/30 이름 : 김승용 내용 : 1 ~ 10 까지의 정수에서 2의 배수와 3의 배수 정수의 합을 구하시오. """ sum = 0 for k in range(1, 11): if k % 2 == 0 or k % 3 == 0: sum += k print('2와 3 배수의 정수의 합 : ', sum)
[ "a3539a@gmail.com" ]
a3539a@gmail.com
9ec526e4e9ddd510a050e0d0db9d665bfb810d47
8882d876fb82b687756453a7ccdc985385d2ac3b
/utils/splash.py
f1d43e096b4cdebaf53838e70b546aee6367559a
[]
no_license
Jack-a-Lent/RepO
825a0855f43c64d22f6327cd592a5b4c445da157
14abd4ff1e415fd71b14b7722666351f21613163
refs/heads/master
2021-05-19T16:36:15.605520
2019-10-09T13:14:54
2019-10-09T13:14:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
from typing import Tuple from PyQt5 import QtGui, QtWidgets from PyQt5.QtCore import Qt from config import Config from game import Game from rrrocket_parser import parse_replay def get_splash_and_progress_bar() -> Tuple[QtWidgets.QSplashScreen, QtWidgets.QProgressBar]: # Splash splash_pix = QtGui.QPixmap('c...
[ "harry1996@gmail.com" ]
harry1996@gmail.com
a524fc1d6afcf71fb644f4bd9e4558faa4960148
0725d2a93c9058113d0127501fa7bbea28b4f8b1
/venv/Lib/site-packages/tencentcloud/dbbrain/v20191016/models.py
ede9f9b0348ccc31711b60e96fa8c5720b14f03c
[]
no_license
liugngg/liug-001
8c9d39fab49b1895c213814dfec4b1bff649671b
9ae093a3f7e042b29e756620311f0a57ad083f5c
refs/heads/master
2023-06-06T00:14:52.548147
2021-06-25T07:30:26
2021-06-25T07:30:26
380,157,121
1
0
null
null
null
null
UTF-8
Python
false
false
119,602
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
[ "liugngg.gmail.com" ]
liugngg.gmail.com
672a6a72f6183c8b5c819e74c251aab20e351aeb
e7742a9656684071bd6ffcc4b0c479c1a4580409
/backend/src/articles/migrations/0001_initial.py
cd404ded9ce81304357bbb07199002b640e23a48
[]
no_license
vincey101/reactdj
81d106f24b86b3aa4e5286cdeae8a87b6c050f89
44f1005d8627657f2673b80c6c006c26e730e58c
refs/heads/master
2023-06-27T17:31:15.433071
2021-08-05T16:03:20
2021-08-05T16:03:20
383,918,512
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Generated by Django 3.2.4 on 2021-06-03 16:43 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', m...
[ "60340075+vincey101@users.noreply.github.com" ]
60340075+vincey101@users.noreply.github.com
0d2e8eb82fcf56dc2eaae7992fd0c6c9d8934816
5bba265a60e22f89356ff9b807a2356eb96d5791
/app/core/migrations/0004_recipe.py
8d279ad5f3371461a6831b5876b7672f3a7f37be
[ "MIT" ]
permissive
HutahCode/recipe-app-api
9d89ee02e702c1d26bacc4891ce66fec914a0df8
4a272795630f9ceade1d6acbb9fa31ac147b1a9a
refs/heads/master
2020-12-05T06:26:25.162812
2020-02-15T14:16:32
2020-02-15T14:16:32
232,034,793
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
# Generated by Django 2.1.15 on 2020-02-04 05:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_ingredient'), ] operations = [ migrations.CreateModel( ...
[ "hutahcode@gmail.com" ]
hutahcode@gmail.com
671429cdff5179f3516134da1acafcff5fa37232
5dbfb45a2818850e5bb721e860fba823cb5464f7
/deluge-client/experiment/action/generate_all_start.py
974369d2234041f22c79c140af89632b01b5fdb7
[]
no_license
john35452/sdn-p2p
fd3d8af4735558b5ff57f397c6729df19e37f037
e5171b5cc6e2aeb0129de9cd35938e565d467cea
refs/heads/master
2020-04-06T06:56:21.518291
2016-08-25T08:26:36
2016-08-25T08:26:36
60,574,920
1
2
null
null
null
null
UTF-8
Python
false
false
528
py
import sys import os import random left = 32 right = 32 rate = [0,1,2,5,1000] for i in range(4): print 'group:',(i+1) for j in range(left/4): new_rate = random.uniform(rate[i],rate[i+1]) os.system('python make_data_all_start.py '+sys.argv[1]+'/user1'+str(i*(left/4)+j+1).zfill(2)+' '+str(new_rate...
[ "john354525@gmail.com" ]
john354525@gmail.com
66bfd0645c3e75bf9d0b96e5f8d6c98b715bf162
f4ed88eb42788cc57d43758adcdb863d7d159bcc
/Marketba/MBA/settings.py
8b50506310bbd469736e8add4288f2430d2e1f1b
[]
no_license
surya-95/Mbarep
8ec56f1c1f61d10ec66f0b8bc50bf6d3a134293e
fb7aa359e14535e31f9548d411b94dceed278409
refs/heads/master
2020-05-05T13:53:46.049028
2019-04-23T17:08:38
2019-04-23T17:08:38
180,097,938
0
0
null
null
null
null
UTF-8
Python
false
false
3,333
py
""" Django settings for MBA project. Generated by 'django-admin startproject' using Django 1.11.15. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os #...
[ "knsurya54@gmail.com" ]
knsurya54@gmail.com
54ab17f1968006213596d13d4eb8fa7652332414
af9e29a701b1e1a9aefd2f01f21e5d0798ea83a4
/venv/Lib/site-packages/PyQt5/QtHelp.pyi
27f1831ee364bdf8fa1e4bb5cd2921cee33bfb8d
[]
no_license
pjared/312TSP
fe31fa1156ca4bf6f006b4863bd48e13ec716079
5594a9da2d5189767fbe310fd87615833a4a0b45
refs/heads/main
2023-01-30T22:39:10.603466
2020-12-11T02:26:42
2020-12-11T02:26:42
316,882,131
1
1
null
2020-12-09T22:03:21
2020-11-29T05:21:59
Python
UTF-8
Python
false
false
13,324
pyi
# The PEP 484 type hints stub file for the QtHelp module. # # Generated by SIP 5.5.0 # # Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com> # # This file is part of PyQt5. # # This file may be used under the terms of the GNU General Public License # version 3.0 as published by the F...
[ "pjared870@gmail.com" ]
pjared870@gmail.com
2e989cb9128a91d5462b6ece809b0caa1970ec39
bd69c871c5a3a41100df65b74fd8889225c12604
/msrptw/handler.py
cb2b55fc3df8327ece1acb377f57e3afcd99a1a8
[ "MIT" ]
permissive
travishen/msrptw
1335de32d1be9005e8d5360abf59c7b9d19945c2
fbc9c631dddcba262098c067a34f615ba7d300a0
refs/heads/master
2021-10-08T10:18:02.739909
2018-12-11T05:43:20
2018-12-11T05:43:20
110,566,346
0
1
null
null
null
null
UTF-8
Python
false
false
508
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import unicode_literals import logging from .database.config import session_scope from .database.model import Log class SQLAlchemyHandler(logging.Handler): def emit(self, record): log = Log( log...
[ "travishen.tw@gmail.com" ]
travishen.tw@gmail.com
d512f381f87df814af88cee9a31206120310697e
3a003fbe23963615f96a5742c51ce51f6fc9406a
/src/day15/main.py
e097d51b79f6b7030eeff97d7797cca0faa6b72a
[]
no_license
pypeaday/aoc-2020
c1bfb5b4d994a9a02dd742d22d5c07344147fc12
cefafc25b927dbd2d837c986093e42474074161f
refs/heads/master
2023-02-04T16:13:55.224966
2020-12-17T22:49:54
2020-12-17T22:49:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,623
py
from tqdm import tqdm from collections import defaultdict def get_data(filepath: str = "./data/raw/day15_sample.txt"): """Return raw data in a list Args: filepath (str, optional): Defaults to "./data/raw/day15_sample.txt". Returns: [list]: raw data in a list """ with open(filepat...
[ "nicpayne713@gmail.com" ]
nicpayne713@gmail.com
40bfe1a9793f2e71914b3fbca2e4a328e6611917
182caa9f90ac3f4e42e437c51195f18c98486d46
/engine/schedular.py
d735e7714093cbb6fb17d02f2535ce27ef95fe3c
[ "MIT" ]
permissive
crazymuse/Krama
b6a5f96e592cc19889bff57006d275c52f489535
5f29096828fe659eccf8525ff31bc4d7a273c049
refs/heads/master
2021-06-07T10:01:17.950735
2016-10-07T10:07:31
2016-10-07T10:07:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
from __future__ import absolute_import from ..utils import graph_parser import os from time import sleep import multiprocessing import sys from multiprocessing import Process from . import process_util def execute(project_path,krama_root): graph_proto=graph_parser.create_dag(project_path=project_path,krama_root=kr...
[ "jaley.dholakiya@gmail.com" ]
jaley.dholakiya@gmail.com
de0ca62f4371b88d9a14acc04945e6008d17ad26
c176bcccbe0e22c6a8a485a02ffd8f5b164f0c49
/data/parse.py
48a8547fb6f04020c7e04b5041078892ca4c7140
[ "MIT" ]
permissive
yiannisy/behop-misc
59ee78b8cf98010657beed7a9045ba6add74917c
75290bafaa1acc312a0d9eea06ddeb1d94cf48da
refs/heads/master
2021-01-10T01:16:30.052578
2016-04-05T00:39:20
2016-04-05T00:39:20
55,451,769
0
0
null
null
null
null
UTF-8
Python
false
false
3,834
py
#!/usr/bin/env python import string import sys import matplotlib matplotlib.use('Agg') import pylab #f1 = open('_snr.log','r') #f2 = open('_times.log','r') #f1_lines = f1.readlines() #f2_lines = f2.readlines() #for l1,l2 in zip(f1_lines, f2_lines): # l1 = l1.strip() # l2 = l2.strip() # print l2[10:19], l1[-3:]...
[ "yiannisy@stanford.edu" ]
yiannisy@stanford.edu
803a9f864a82b2ba8fa4239340736abf9ed6599d
02c2fb3f5dc960f69432bfebad083ca09820a3e1
/hm_04_完整的异常捕获.py
724edc3127a78c4de29e5e01575cfb1b8dfe5280
[]
no_license
theothershore2019/basic_10_abnormal
3770d83afc9ec783a1f4fb8bec3de3aa9160f5d2
7f0afba3634a361ff8f7dadfb54aac73bcc2a5c7
refs/heads/master
2020-09-02T20:29:56.452682
2019-11-03T12:37:14
2019-11-03T12:37:14
219,298,255
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
try: # 提示用户输入一个整数 num = int(input("请输入一个整数:")) # 使用 8 除以用户输入的整数并且输出 result = 8/num print(result) except ValueError: print("请输入正确的整数") except Exception as result: print("未知错误 %s" % result) else: print("尝试成功") finally: print("无论是否出现错误,代码都会被执行") print("*" * 20)
[ "1239869110@qq.com" ]
1239869110@qq.com
33ba26acaf75ad7edb0786afc89f4856df1b1795
cf7079b0a54dde8ba70eea4e3c9749e47955f015
/setup.py
163fb53f0699a92c428925e2e459affb002574c9
[]
no_license
jvarlamova/xmlparser
5a96b420428b6eedfd85284634d2583307a4279b
b5fe199abe995c3e07cab1cc1b21c19d31e68690
refs/heads/master
2021-01-01T20:03:25.927839
2017-07-29T19:49:11
2017-07-30T19:55:32
98,754,970
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
from setuptools import setup, find_packages from os.path import join, dirname setup( name='xmlparser', version='1.0', description='Demo project with simple xml parser.', long_description=open(join(dirname(__file__), 'README.rst')).read(), author='Julia Odruzova', author_email='varlamova.ju@y...
[ "varlamova.ju@yandex.ru" ]
varlamova.ju@yandex.ru
c27db4eb7f5b25f965f80383c267af34cce18f47
1537c0dd56ee4dad8fb614a801a70bb1c768aa36
/Hello_world_app.py
77179fd2c0d81a1ffa39f759485867e49763b7f6
[]
no_license
AlJoCo/Flask_apps
29322f7db7993c656259708f0a0cf95f5768731e
20bd594a0993c4cec4217877d42f89623b8d6476
refs/heads/master
2023-04-26T18:05:31.873904
2021-05-13T23:09:16
2021-05-13T23:09:16
366,326,387
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from flask import Flask app = Flask(__name__) @app.route('/') @app.route('/home') def home(): return 'Hello, World!' @app.route(f'/<int:number>') def square(number): return str(number * number) if __name__ == "__main__": app.run(debug=True)
[ "alexanderjcoates@gmail.com" ]
alexanderjcoates@gmail.com
a55bd93360d1325dfbfe93c7ca0602d4c1b9cfa2
cd861386b38610e543f7a44c5909f605c4b3bb2f
/users_module/constants.py
c33311707c84f53bfec7ff7198cea3514fa616ea
[]
no_license
timsag3/coffeeforme
ac0c3d515ad7cd90273afad32b622e3acb53549b
65da6240f4d848db2eab484c70b319f433feffdf
refs/heads/master
2021-03-30T22:26:48.161747
2018-03-09T22:23:53
2018-03-09T22:23:53
124,443,063
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
class Const(object): ADMIN = 'admin' MANAGER = 'manager' SELLER = 'seller' CANCEL = 'cancel' BILL_HEAD = 'seller: {}' BILL_APPEND = '{} * {} = {}$' BILL_TOTAL = 'Total: {}' class Commands(object): EXIT = 'exit' ZERO = '0' RETURN = '' COMMANDS = 'commands' ONE = '1' ...
[ "timsagepy@gmail.com" ]
timsagepy@gmail.com
5f7616a32ecb9cd3a9b48cc50f4f08002c2d2cdd
48d3ca5ebb17e9ee137cf45e1d8010d8eff9c65f
/Algorithm/투포인터.py
bcdb05f937e62e28402198bc1e48e7f8a196942c
[]
no_license
dooking/CodingTest
81d18e711a806ee14946b2aa006eda9c235f0b04
1467700f3461c5fe61bf1b4e668e0c9016d8c860
refs/heads/master
2023-02-23T15:59:15.274908
2023-02-10T06:35:12
2023-02-10T06:35:12
237,138,420
1
0
null
null
null
null
UTF-8
Python
false
false
434
py
# 데이터의 개수 N과 부분 연속 수열의 합 M을 입력 받기 n, m = 5, 5 data = [1, 2, 3, 2, 5] result = 0 summary = 0 end = 0 # start를 차례대로 증가시키며 반복 for start in range(n): # end를 가능한 만큼 이동시키기 while summary < m and end < n: summary += data[end] end +=1 # 부분 합이 m일 때 카운트 증가 if summary == m: result += 1 summary -= data[start] print(r...
[ "123456ghghgh@naver.com" ]
123456ghghgh@naver.com
8bd8a497009153344b929829022a88adbedda0ea
c1fb3786f26e62b563dd992869c4942359e17c4b
/mscreen/analysis/old/vina_result_analysis.py
e02de1eb94561febbdd652252e74e304ae961133
[ "MIT" ]
permissive
giribio/mscreen
8fc875ea6d4efc6956120725dac240e36448705c
d4c707387b4853e603b0245113b3c9a302fe8a4f
refs/heads/main
2023-06-05T21:21:49.926381
2021-07-05T07:32:25
2021-07-05T07:32:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,831
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 06 02:00:33 2020 @author: eduardo """ from pathlib import Path import numpy as np from engine import * #%% class VinaAnalysis(): def run_analysis(self): """ Search into each receptor folder and read all ligands-out.pdbqt...
[ "eduardomayoyanes@gmail.com" ]
eduardomayoyanes@gmail.com
62f2a142d5d2e5abe08693185f6bdcb902f9e3ef
6cf6cebd13e9793dee9ad6c3eab30ad9308ad81e
/第二章/filecmp/simple2.py
e89823dcd7bba02ea522f5102f3cd3d4c206e666
[]
no_license
jumploop/pyauto-ops
d7d5a28c94a5edce1709d9ae7ddc308954863a2f
6dfd3075b1a655156242a085eecd080b43528c52
refs/heads/master
2022-11-17T01:10:20.793157
2020-07-07T12:19:33
2020-07-07T12:19:33
265,720,546
1
0
null
null
null
null
UTF-8
Python
false
false
1,895
py
#!/usr/bin/env python import os, sys import filecmp import re import shutil holderlist = [] def compareme(dir1, dir2): dircomp = filecmp.dircmp(dir1, dir2) only_in_one = dircomp.left_only diff_in_one = dircomp.diff_files dirpath = os.path.abspath(dir1) [holderlist.append(os.path.abspath(os.path....
[ "827182486@qq.com" ]
827182486@qq.com
26d12935ffe15861fd50827a98972ba8b8999dfc
99fea6d4bb077c6ed76603cd787fd98443a32652
/src/jackal_workspace/scripts/LocalPlanner.py
7d8ad8cb4432a2b0695e0f65d596dcec5e18660d
[]
no_license
scifiswapnil/decentralized-payload-transport
223253a0f618d81b1d9c3045dd2e026065029906
bb123d31e113bfa707b5706c46d949368c185ab1
refs/heads/master
2023-08-15T09:56:44.361979
2021-09-26T10:38:07
2021-09-26T10:38:07
391,473,974
1
0
null
null
null
null
UTF-8
Python
false
false
17,027
py
#!/usr/bin/env python3 # coding: utf-8 # **Script name** : Local Planner # # **Description** : Multi-agent payload transport global planner based on APF. # # **Author** : Swapnil Kalhapure # # **Email** : kalhapure.swapnil@gmail.com # ## Imports # In[1]: import rospy import cv2 import time import ros...
[ "kalhapure.swapnil@gmail.com" ]
kalhapure.swapnil@gmail.com
c20555b9ce3ba5650a4e0f8ec5e83c5411e8ee3e
4dcfe5d8372c97cf39bc9c59fc1e57c0081c365f
/824_goat-latin.py
40336663cb5e52cbfba402937ce30e59bf186f16
[]
no_license
xianglei0610/leetcode
ea2d99dc41f18a9609df5e811fc30108ad3675a0
2a9fddf186f5e2056b10bcbec04e989e37b87fb7
refs/heads/master
2020-04-04T01:10:59.416015
2018-12-04T03:46:40
2018-12-04T03:46:40
155,671,152
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
#coding=utf-8 class Solution(object): def toGoatLatin(self, S): """ :type S: str :rtype: str """ l = S.split(' ') res = [] for i ,v in enumerate(l): if v[0].lower() not in ['a', 'e', 'i', 'o', 'u']: s = v[0] v = v[...
[ "657984027@qq.com" ]
657984027@qq.com
73a98f8ecfd4950b82c94838bd649c7ffc3f1602
7f90f49237b30e404161b4670233d023efb7b43b
/第一章 python基础/03 面向对象/days02/class_01_继承.py
6163e012f05c86a1fb619d0860a649c40e669d35
[]
no_license
FangyangJz/Black_Horse_Python_Code
c5e93415109699cc42ffeae683f422da80176350
34f6c929484de7e223a4bcd020bc241bb7201a3d
refs/heads/master
2020-03-23T01:52:42.069393
2018-07-14T12:05:12
2018-07-14T12:05:12
140,942,688
2
0
null
null
null
null
UTF-8
Python
false
false
454
py
# !/usr/bin/env python # -*- coding:utf-8 -*- # author: Fangyang time:2017/11/19 class Animal: def eat(self): print "吃" def drink(self): print "喝" class Dog(Animal): def bark(self): print "旺!旺!" class XiaoTianQuan(Dog): def fly(self): print "I can fly" wang...
[ "fangyang.jing@hotmail.com" ]
fangyang.jing@hotmail.com
e652a199be13aa16c0b16c48e3e1d9252e8d4be3
c63370c59d02a0c2894e78b2b5b3fe4dce5d842c
/Widhya-Winterinternship/Flask-API/api.py
c5d817211a34781ad19035f10e4da34f619ab693
[]
no_license
YuktiGit/Widhya-Winterinternship
52538f850cc8eec9edf73e38f9e13f2618600d41
c7e33aa705b3926c6703a5ec1ee48a285edc3e38
refs/heads/main
2023-06-04T16:57:40.124373
2021-06-23T05:10:07
2021-06-23T05:10:07
379,485,898
1
0
null
null
null
null
UTF-8
Python
false
false
621
py
from flask import Flask, render_template, redirect, url_for, request app = Flask(__name__) @app.route('/') def home(): return "Hello, World !!!" @app.route('/index') def index(): return render_template("index.html") @app.route('/login', methods=['GET', 'POST']) def login(): error = None ...
[ "noreply@github.com" ]
YuktiGit.noreply@github.com
54f64eecf9d199de43581540315f9573513c5e15
f4508a706a7a98534a60c4fafb7e7e657ac19eac
/data.py
40e5044e86cda6dcd1a04d6ee87b916ab220dc66
[]
no_license
ZeChickens/FastDeal-Telegram-Bot
40760cada2be2a1c409c0a1b5c8ea31d5f4c6c62
7d85a869c1ad8e745006bef541a47d5d883a46eb
refs/heads/master
2023-02-09T02:02:56.022742
2021-01-04T23:26:47
2021-01-04T23:26:47
297,624,014
0
0
null
null
null
null
UTF-8
Python
false
false
26,243
py
import pyodbc from datetime import timedelta, date, datetime import error_logging import configparser class Data: def __init__(self, bot): self.REDACTION_CHAT_ID = -1001378510647 self.bot = bot self.message = Message() self.dbo = Dbo(bot=bot) def get_channel(self, col=["*"], ...
[ "gslaavko@gmail.com" ]
gslaavko@gmail.com
1b4f00cd91fbe5469c6b6111457804eb604a8bce
acc147eac9f70e7cd77a3bd46ff68d6095b9f039
/records/migrations/0003_auto_20171029_0518.py
c9b7ee605fe49250522c7c7779e072dcbac471bc
[]
no_license
nataliia-pimankova/hearttone
40b1f649c587a04ae6b49a7f075d510282666c93
6cc34d9faf2e85209857d2b553df45d36194e652
refs/heads/master
2023-02-05T02:40:42.295420
2017-11-12T12:56:10
2017-11-12T12:56:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-29 05:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('records', '0002_auto_20171028_2337'), ] operations = [ migrations.AlterFiel...
[ "natalya2487@gmail.com" ]
natalya2487@gmail.com
1dba8bd5c7859414024ade27723f29796368b786
bda6611cf23c3ca5bfed1e2d6e488ee1ec79a124
/Problems/1.Two_Sum/2.hashmap.py
5d709cd1cc20559c35e7ae6aefa2807f650d59c9
[]
no_license
dotcink/leetcode
09132a3d650026eb665ced75f5e41aba3e68cf18
0f6e9ce8d39c5fc9141854ec322e994b39092508
refs/heads/master
2021-01-09T12:04:31.674412
2020-06-29T15:18:34
2020-06-29T15:18:34
242,294,545
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# The idea of Hashmap is inspired from leetcode hint. # # Time Complexity: O(N) # Space Complexity: O(N) from typing import List class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: size = 0 if nums == None else len(nums) if size < 2: return [] value_to_index = {} ...
[ "Dot.Cink+github@gmail.com" ]
Dot.Cink+github@gmail.com
8c1a75f85583c95e59d7ceea18c7e86066c8179c
b0aea2ba00720ad7a5359996984115c1f253e655
/as11m4.py
27913812ec10801409053ed6a3661474acca066e
[]
no_license
netlabcode/s13
5e135f5b7bdf248c081a7743142e23aba911a6f5
46f460217c864a8aac33004b77e4815d37377bf3
refs/heads/main
2023-04-13T12:56:49.345873
2021-04-13T10:38:05
2021-04-13T10:38:05
349,999,948
0
0
null
null
null
null
UTF-8
Python
false
false
5,515
py
#!/user/bin/env python3 from opcua import Client from opcua import ua import socket import binascii import _thread import time from datetime import datetime HOST = '' PORT1 = 991 PORT2 = 992 PORT3 = 993 PORT4 = 994 #OPC ACCESS url = "opc.tcp://131.180.165.15:8899/freeopcua/server/" client = Client(url) client.conne...
[ "noreply@github.com" ]
netlabcode.noreply@github.com
31df57ddc996845a0b3905b85f011312aa1a196c
0c9ec5d4bafca45505f77cbd3961f4aff5c10238
/openapi-python-client/openapi_client/models/process_instance_suspension_state_dto.py
60921c83d07860e0e616f8876d3084348e95f597
[ "Apache-2.0" ]
permissive
yanavasileva/camunda-bpm-examples
98cd2930f5c8df11a56bf04845a8ada5b3bb542d
051f8f28c62845e68ce4059ab64264c5a0bdc009
refs/heads/master
2022-10-19T20:07:21.278160
2020-05-27T15:28:27
2020-05-27T15:28:27
267,320,400
0
0
Apache-2.0
2020-05-27T14:35:22
2020-05-27T13:00:01
null
UTF-8
Python
false
false
14,303
py
# coding: utf-8 """ Camunda BPM REST API OpenApi Spec for Camunda BPM REST API. # noqa: E501 The version of the OpenAPI document: 7.13.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from openapi_client.configuration import Configuration clas...
[ "noreply@github.com" ]
yanavasileva.noreply@github.com
fccf527986a4f59df75908e0376c0c261188dc8a
c8cd691e8364804731889873ac5ea182bb682122
/blog/feeds.py
b4774bfb7b6f1dbecf306bdc3784263d82f104f4
[]
no_license
isaif1/Blogging_With_Admin
c26473e615bea2c5ecf968323c49507c7ba1804c
09d2b576e6b61324eeebb74e73203e3cb1fe6708
refs/heads/main
2023-05-13T16:01:32.789274
2021-05-24T08:32:23
2021-05-24T08:32:23
370,078,996
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from django.contrib.syndication.views import Feed from django.template.defaultfilters import truncatewords from .models import Post class LatestPostsFeed(Feed): title = 'My blog' link = '/blog/' description = 'New posts of my blog.' def items(self): return Post.published.all()[:5] def item...
[ "saifcnb@gmail.com" ]
saifcnb@gmail.com
18708b672b64006d8ea5bfe638985c062670b7cc
49b1b98e9bbba2e377d8b5318fcc13776bbcb10b
/museum/spiders/exhibition121.py
ebac13fe9c38ef25797901fc7be0856a6fe8fc05
[]
no_license
BUCT-CS1808-SoftwareEngineering/MusemData_Collection_System
fa4e02ec8e8aaa9a240ba92cf7be33dbc0e8e31f
023e829c77037ba6d2183d8d64dcb20696b66931
refs/heads/master
2023-04-29T05:43:01.627439
2021-05-23T03:02:09
2021-05-23T03:02:09
360,040,880
0
0
null
2021-05-23T03:02:09
2021-04-21T05:18:41
Python
UTF-8
Python
false
false
1,340
py
import scrapy from museum.items import exhibitionItem class ExhibitionSpider(scrapy.Spider): name = 'exhibition121' # allowed_domains = ['www.xxx.com'] start_urls = ['http://www.zgtcbwg.com/index.php?s=/Home/Article/lists/category/cszl.html'] def parse_detail(self, response): item = response.met...
[ "3100776572@qq.com" ]
3100776572@qq.com
31f05951c3b5a5ab365a875bb35906e5aadcf18a
703fbf13862d6b8cf997ff1966b5a13e18daaa7a
/env/bin/normalizer
ca85485c52a286dfa9181c8341fe1e6b3ee2cd14
[]
no_license
jonathansutton1/Projeto2-TecWeb
2a6af276609262a0a0c6c09bf4ca5178b8a7d03e
83e1ee9b42cee8576dc9a1e6fce02696174d7409
refs/heads/main
2023-09-04T17:15:21.174145
2021-11-11T20:00:31
2021-11-11T20:00:31
422,325,650
0
0
null
null
null
null
UTF-8
Python
false
false
285
#!/home/cesar/Insper/TecWeb/Projeto2-TecWeb/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from charset_normalizer.cli.normalizer import cli_detect if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(cli_detect())
[ "cesarea@al.insper.edu.br" ]
cesarea@al.insper.edu.br
ec0059c0632cf589501c86609ca5e0a4f9936570
b2044bc20316d3f2d8ac81ead8f016e79bd65eaa
/user/migrations/0003_auto_20181204_1142.py
b485bb89dabcbfca270396de6deaff6feda26002
[]
no_license
z66980437/ttsx_front
28b8643ac09a11ed3342d3c5c7becb32fcedac49
a91ecf8e5c2011280729c80a50a36325a3461ec2
refs/heads/master
2020-04-07T07:16:36.798693
2018-12-28T12:48:04
2018-12-28T12:48:04
158,170,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-12-04 03:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0002_user_ico'), ] operations = [ migrations.CreateModel( ...
[ "66980437@qq.com" ]
66980437@qq.com
0c2d18e7c31fbd4603051fc1238f5c7d73d23064
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2503/60706/304035.py
5de049e619f4e256466f9392d96cefef241f8b75
[]
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
157
py
n=int(input()) if(n==6): print(4) elif(n==10): print(6) elif(n==3): print(2) elif(n==9): print(5) elif(n==8): print(5) else: print(n)
[ "1069583789@qq.com" ]
1069583789@qq.com
34d1ba7ef2410376d679502ba373e2f1828e5147
396a6ff6e14d2b9614d4d37e823501936c5b6b60
/ejercicio_10.py
17496f0f837c90708c6810b40978e93f420669f0
[]
no_license
kevinerd/ejercicios-tecnicas
e040057e44d96efd5e871328a983dd54d77791a5
8120aa2b6b35c4e95728e60351bb8c10159803ec
refs/heads/master
2023-03-16T13:55:34.777475
2017-03-29T18:04:28
2017-03-29T18:04:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
c = -2 num = -2 while(c < 40): num += 1 if (num %2 == 0): print(num) c = c + 1
[ "kevinjf2011@gmail.com" ]
kevinjf2011@gmail.com
4dd72f6d0e591476a519d8fd7b8dfd6643701ab2
103d5c372371ceb8235becd0b66e504594b61e4b
/100daysDay4-random.py
94d8f082e632e4d1a1181b8ac53b86ae40d725be
[]
no_license
NeerajaLanka/100daysofcode
29dc194742a9b14565e50f8674724aed85380f18
5a42fa02c773f4949ad1acc07c88cef9c702f088
refs/heads/master
2023-07-09T04:45:02.757056
2021-08-19T19:56:06
2021-08-19T19:56:06
327,458,893
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#randomisation import random random_int = random.randint(1,10) print(random_int) import my_module print(my_module.c) #random floating numbers inbetween (0,5).usually it prints(0,1) random_float = random.random() print(random_float) x = random_float*5 print(x) print(my_module.d)
[ "prasadkundeti@Prasads-MacBook-Pro.local" ]
prasadkundeti@Prasads-MacBook-Pro.local
b8185bd72c4b1f04fa94141a268362bef928bc05
7a4ae475933d65998ad401fa13e8ebdc198446ce
/Python/Exercicio21.py
e4fbb9db678042e17a429b88f3ddf1dbdcfa2ad5
[]
no_license
vlkonageski/Logica
b26f20b0ee8e1bdcc4fb0125af18ba44af6eb6a5
962aa382dc4af41712f0ca1f59339d8435bfa4b2
refs/heads/master
2023-04-03T14:33:40.034303
2021-04-20T00:48:34
2021-04-20T00:48:34
303,716,293
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
""" Faça um programa que leia um nome de usuário e a sua senha e não aceite a senha igual ao nome de usuário, mostrando uma mensagem de erro e voltando a pedir as informações. """ usuario = input("Informe o nome de usuario: ") senha = input("Informe sua senha: ") while usuario == senha: print("Ususario e senha ig...
[ "vinicius@alimentoscenci.com" ]
vinicius@alimentoscenci.com
b85ec5b952ec2af536c49d81b5265ed8eeec7758
b2ff3d3c012a437ef844d558c6136cc9abcc8bff
/OpenCV_cell_detection&tracking/tracking.py
2725bcf4012f490e7addb624de878c375d075f2f
[]
no_license
W-echo/20T2
1b62cd9265bd7f3693178d5ed242a1e839d70a7f
a07926534fb75159a05fe683a4c08c4ed7ad9f56
refs/heads/master
2022-12-09T23:31:40.972909
2020-09-06T07:28:58
2020-09-06T07:28:58
291,735,041
0
0
null
null
null
null
UTF-8
Python
false
false
7,252
py
import cv2 import sys import os import numpy as np dataset1 = "DIC-C2DH-HeLa" dataset3 = "PhC-C2DL-PSC" t_img = cv2.imread("t425.tif") def preprocess(img): new_img = cv2.medianBlur(img, 7) kernel = cv2.getStructuringElement(cv2.MORPH_RECT, (9, 9)) new_img = cv2.morphologyEx(new_img, cv2.MORP...
[ "noreply@github.com" ]
W-echo.noreply@github.com
5bfdda64d799de9d456412200fbcb29007a91b1e
827af3023ecfe6c099bd8f733c1b714323d6ee46
/tests/fixtures/old_top_level_assertion_fail.py
c801dc5699f8c38dbb39f9348dc00c5b42371c60
[ "MIT" ]
permissive
dequeues/python-test-framework
2d9625320c9b6e3068f85c8f116886f0ca1d7a7d
072ae3851e861cf2990f726eb938dbe8aaf1b080
refs/heads/master
2023-06-09T16:13:28.171837
2021-05-18T21:16:36
2021-05-18T21:16:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
# Deprecated and should not be used import codewars_test as test test.assert_equals(1, 2)
[ "kazk.dev@gmail.com" ]
kazk.dev@gmail.com
d3b03c2d3f774eedbbc69b57d328235d36c7efdf
516393d104f1a93c6d87882d9bd82f4a1c637882
/app/position_calibration.py
d02c0e65e94d10d635823c16bd4084c176574dd8
[ "BSD-3-Clause" ]
permissive
iwanbolzern/hslu-pren-instrument-mgmt
b748af7a19ab46ed0f5fe5b0a0bed27a910a5d88
3c11690a38e10e9b9824ee0196858e96c73a19fc
refs/heads/master
2022-01-31T00:00:33.649892
2019-06-23T07:24:43
2019-06-23T07:24:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
from com.ic_interface import ICInterface, Direction from mgmt.pos_callculation import Spline, PosCalculation pos_calc = PosCalculation() pos_calc.x_rel_to_z_abs_spline x_rel_new = [i for i in range(25000)] x_abs_new = [Spline.evaluate(pos_calc.x_rel_to_x_abs_spline, x_rel) for x_rel in x_rel_new] z_abs_new = [Spline....
[ "iwan.bolzern@bluewin.ch" ]
iwan.bolzern@bluewin.ch
7f4b51bd21113bd2b25774fda2c31fa71461a984
401d5b023663acc72edc993fb1f6e2cb76b3c933
/billing/migrations/0011_auto_20201003_0712.py
d90e784c77f174573e15871c94047017f2445f01
[]
no_license
prismkoirala/pumpkeen
d2018103bf524929dabbb8173b36ad5eb2872ed6
2156adf737197dc914f4c80f4b1c939185280155
refs/heads/master
2023-01-03T06:13:19.865218
2020-10-12T03:30:49
2020-10-12T03:30:49
301,415,793
1
0
null
null
null
null
UTF-8
Python
false
false
745
py
# Generated by Django 3.1.2 on 2020-10-03 07:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('billing', '0010_auto_20201003_0449'), ] operations = [ migrations.RemoveField( model_name='billinghistory', name='to...
[ "you@example.com" ]
you@example.com
2d1219612edd31e6989c8ad10e4086ce21a7e0b6
15f909bc25db41766193d79c9596c0147814fd48
/app/config_example.py
6a3427e48a0b8fe1750622bfb33bc7345a9a02bf
[ "MIT" ]
permissive
paopow/word_similarity_api
16cbff5ce4f0919fb257560e14e2555cadb94815
26398d7f9284b9937ef1ac58c179ee380b4291dc
refs/heads/master
2021-01-17T09:10:18.345161
2016-03-10T19:09:35
2016-03-10T19:09:35
40,980,496
0
2
null
null
null
null
UTF-8
Python
false
false
197
py
GLOVE_NAMES = 'Path to GloVe dict' GLOVE_VECS = 'Path to GloVe vector' TOPICS = { 'weddingTheme': '../topicWords/wedding_themes.json', 'weddingProp': '../topicWords/wedding_props.json' }
[ "ksiangliulue@gmail.com" ]
ksiangliulue@gmail.com
9997800d920a93c8c06fda74fb9f4906a9cde4bd
26693bf31ea0d564542f219642b4329f3afeef90
/bin/nucleus.spec
f7d9591040126c226558932697fdc79469bdf68f
[]
no_license
brand-clear/nucleus
143b00016b7269639ebcc49f9dc47b56180d37cb
3593c6aa71d18aa24a3a960345ce91b98ec0627d
refs/heads/master
2020-12-02T10:32:57.420038
2020-11-19T15:58:24
2020-11-19T15:58:24
200,423,956
0
0
null
null
null
null
UTF-8
Python
false
false
986
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['E:\\nucleus\\nucleus\\nucleus.py'], pathex=['E:\\nucleus\\nucleus'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "noreply@github.com" ]
brand-clear.noreply@github.com
dd585fb43f5509a11bb86bc61bebbd4e766a4c73
2c45cb2777d5191f92e7fd6582bf8bb00fdb9df4
/dna/components/receiver.py
93cb1f89c443f0b99b750860469aa6368c4a906c
[ "BSD-3-Clause" ]
permissive
mwoc/pydna
3d51ed000f914ae6d8e93d11850ed493a786e346
25cf3db1fc0188258eacbcf3bcf62e37bae5a620
refs/heads/master
2021-01-10T20:25:48.966532
2013-07-01T20:37:39
2013-07-01T20:39:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
from dna.states import state from dna.component import Component ''' Fixed energy input. Model should be able to find: *mdot for fixed inlet + outlet temperature No heat transfer investigation is done, so temperature on solar side not considered ''' class Receiver(Component): def nodes(self, in1, out1): se...
[ "maarten@mwinter.nl" ]
maarten@mwinter.nl
bb54e36610159e308311a2808f9f70ce3e1ae7a2
97c41326547d227e0379364e313cb6ad11689ab3
/bl6_rt_indel_transcripts/src/filter_rti_intersect.py
e1c94b92814d8954d84161858767feb39b00ac46
[]
no_license
jmg1297/thesis
f890f626a335039265074089ba9d1baf4d61d74c
320ec6551b468e4f57f4b0e5c71992f6f9477fe3
refs/heads/master
2021-09-07T16:16:00.949568
2017-10-21T14:51:02
2017-10-21T14:51:02
105,117,028
0
0
null
null
null
null
UTF-8
Python
false
false
4,662
py
''' Filter the results from bedtools intersect -wao between a set of exons and retorcopy indels based on reciprocal overlap as a proportion of total length. Output a file in the bedtools intersect output format. ''' import sqlite3 import sys import tempfile as tf import subprocess def get_intersect_dict(intersect_fna...
[ "jg600@cam.ac.uk" ]
jg600@cam.ac.uk
0027ba238b3441730538dffcc2107c90f098bf3f
e7d28c832cd7b03d3093546a8defaa7d90d20d5d
/perf_eval/cpu_mem_monitor.py
db0925c714293ad2fcc021401046e92e3f1f2b2b
[ "MIT" ]
permissive
ntrgiang/build-vnf
9806f24cedb90a75ab909ca3f2f7e02371c3932a
313109da294fc095fb21a1e61860c3d00369f3b0
refs/heads/master
2022-12-02T09:09:17.038637
2020-08-12T14:16:23
2020-08-14T12:48:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,956
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 """ About: Monitor CPU and Memory Usage, used for resource monitoring of different VNF implementations Email: xianglinks@gmail.com Problem: The program doesn't know when receiving starts and ends, so it's diffcult to perfrom event based measurem...
[ "xianglinks@gmail.com" ]
xianglinks@gmail.com