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
54c7691754b0f220c8977e7a7f8e8554b3ed0570
481aa7e6a025060f78d1508fb5007c6eb118c038
/implementation/exp_lif/eval.py
900aee065016767df248b6d53f9144d3f4283ed1
[]
no_license
nitzsche-fzi/spiking-neurons-hardware
03425b3ce68d4019563f4853b2fbc700196610a4
f19cc93f2f2faee1aa16705210a80aed90dd7946
refs/heads/main
2023-08-01T08:01:26.476603
2021-09-09T20:31:16
2021-09-09T20:31:16
371,707,374
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import sys import os sys.path.append(os.getcwd() + '/..') import exp_lif from utils.neuron_eval import eval, load_fpga_output, get_args input, l = load_fpga_output() args = get_args() reduction = lambda key: ''.join('_'.join(key.split('_')[:-1])) name_col = lambda file: file.split('_')[1] eval(input,...
[ "noreply@github.com" ]
nitzsche-fzi.noreply@github.com
a693a8a89973831aa0600f4d81fd95d9e22b4b07
3e03551f6d5e4811f800d787f726a3f36ce0a9bb
/orders/views.py
c6032c9e93db48a19bfd44a060285815685069c6
[]
no_license
PaltuSuction/Boythesda
e38d3bedc1fe13caa405b8451373f617a4e4b80b
ffe3e3a776aa42fec0505a7608d1675b8cd4016b
refs/heads/master
2022-12-14T11:26:36.654764
2020-01-22T19:51:11
2020-01-22T19:51:11
229,348,607
0
0
null
2022-12-08T03:29:15
2019-12-20T23:03:59
Python
UTF-8
Python
false
false
3,323
py
from _sha256 import sha256 from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect from django.shortcuts import render, get_object_or_404, redirect # Create your views here. from robokassa.forms import RobokassaForm from cart.cart import Cart from orders.forms import Or...
[ "otsvetikov@mail.ru" ]
otsvetikov@mail.ru
b8f8192d1054607f945534b061f4d43fa5aae221
2400626b71d3c523bbaf647833c5ff7f95f25e23
/setup.py
ae70cc8dc877e1cbba4b2924b209e30b8855e8a0
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
deven769/rest-framework-roles
d2674d7822984c2bcee2735e55ccc34913cc711e
498357b9f8c5851ffe7da0f409c64700fd0a423a
refs/heads/master
2023-06-08T09:38:48.475468
2021-06-28T19:28:38
2021-06-28T19:28:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import os import sys import re import subprocess import shlex try: from setuptools import setup from setuptools.command.install import install except ImportError: from distutils.core import setup from distutils.command.install import install VERSION = '0.4.1' def get_tag_version(): cmd = 'git t...
[ "manossef@gmail.com" ]
manossef@gmail.com
e4944b1b43ee05a56b2e875b6344b52e18ed8f74
08ff71fec39604302c36d0a016147f0a57820765
/zentral/contrib/monolith/views.py
7d825ad49521e9bea382df96fe07f47f223e397b
[ "Apache-2.0" ]
permissive
secdragon/zentral
a20134cd5288b6689bfdd6528836e93229e48a03
a000fb314ba514488df49dcc3d2106001948ea3b
refs/heads/master
2020-03-25T11:11:50.871327
2018-07-09T06:52:10
2018-07-09T06:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,388
py
from itertools import chain import json import logging from django.contrib.auth.mixins import LoginRequiredMixin from django.core.exceptions import PermissionDenied, SuspiciousOperation from django.core.urlresolvers import reverse_lazy from django.http import (FileResponse, Http404, ...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
b71271fbd3ec4ee0ceb79d818e5d80edd0003f74
f7099cdc7c11625f6a80153a6e32fed7b7b32117
/11.py
552718300f159f8b3ee2ffaf48847c33adff0228
[]
no_license
OrozomambetovaMeerim/Test-3
fa1ace82b994736373f024a57e901ad5e467c6d7
be07697b95b8ceefec9e43c1aee6b9e93445c620
refs/heads/main
2023-04-24T13:14:55.851664
2021-05-09T17:51:40
2021-05-09T17:51:40
365,636,472
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# В чем основное отличие двух следующих вариантов кода? Что произойдет при исполнении каждого из них? ВАЖНО: если Вы исполните этот код, Ваш компьютер может зависнуть! Найдите ответ без исполнения кода на компьютере. # Код 1: lst = [x for x in range(100000000000000000000000000000000000000000)] # Код 2: gnr = (x...
[ "meerimorozomambetova@gmail.com" ]
meerimorozomambetova@gmail.com
4fe09e4033ab5248274e1eb4eca7d375acc4598d
b1ba5707a5cbe918d33bc2082b3eb4ff1378c060
/SDPython/tests/test_sd/test_package.py
21b1b208b6690f20449ad6c4d37e68781b3b36f3
[]
no_license
qq781217732/SubstanceDev
2eb1d9ed48d477cf70c7bfdac2103bb884e9204c
b9ffab0a1b8f3c01783259074940b2712a8142b8
refs/heads/master
2023-03-26T00:43:35.047305
2021-03-01T04:12:28
2021-03-01T04:12:28
342,539,111
0
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
# ADOBE CONFIDENTIAL # # Copyright 2019 Adobe # All Rights Reserved. # # NOTICE: Adobe permits you to use, modify, and distribute this file in # accordance with the terms of the Adobe license agreement accompanying it. # If you have received this file from a source other than Adobe, # then your use, modification, or d...
[ "gaoyuyang@senseinn.com" ]
gaoyuyang@senseinn.com
8f14af477903b2d08645a29fcebf758b83cec3a5
d2d5ab2e2af10387817e9c33bd7810298a474ab5
/test/test_fastfuzzy.py
256b144db55bfb324e245dc4a56525472c702167
[ "Apache-2.0" ]
permissive
islamazhar/pwmodels
f5e70df074da177835d3eb1ec87991667b6edecc
2eac1ba8ea04495c5d5b29bbcc42e828f846807e
refs/heads/master
2023-02-22T18:43:10.629265
2020-10-16T04:38:32
2020-10-16T04:38:32
294,730,140
0
0
Apache-2.0
2020-09-11T15:18:58
2020-09-11T15:18:58
null
UTF-8
Python
false
false
2,405
py
import unittest from .context import phpbb_leak_file, pwmodel, Fast2FuzzySearch, lvdistance class TestPasswords(unittest.TestCase): def test_FastFuzzySearch(self): from pwmodel import helper import os import time import random import numpy as np fname = phpbb_leak_f...
[ "rahul@cs.cornell.edu" ]
rahul@cs.cornell.edu
72a7cb385ba562e3c44eeb5951a6ad27b05b8072
992f6a7436a9755d13bfbf0e3e0d98daa7541f1a
/coresite/views.py
3956a3f993453816a94d377858f59f39293cc9de
[ "MIT" ]
permissive
Klim314/argent_app
838c3f6b2d15666670ea1e90ac0c23bdc0df50aa
767a0a11646fc08fb7197a191348466c913fe360
refs/heads/master
2021-01-22T05:32:44.626421
2017-09-17T15:23:54
2017-09-17T15:23:54
102,282,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
from django.shortcuts import render, reverse, HttpResponseRedirect, HttpResponse from django.views import View from argent_app.models import Room, InRoom from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django....
[ "klim314@gmail.com" ]
klim314@gmail.com
cd0e9a5b5c99ce669e0a49f2349278e535a5c9e4
66e8b8d8d43d54626da8281b1f2511b6742f9e94
/clipwdmgr/commands/SearchCommand.py
a2713e40aeb75429062d5f8e55694228b30508b0
[ "MIT" ]
permissive
samisalkosuo/clipasswordmgr
6dfacefb4ba42c9af37be7e85a3288274595f964
4bd55587b06dca639f446ac6d1f27228a6927265
refs/heads/master
2020-04-12T07:27:47.186986
2020-01-22T12:59:17
2020-01-22T12:59:17
28,768,470
8
3
null
null
null
null
UTF-8
Python
false
false
2,867
py
# -*- coding: utf-8 -*- #The MIT License (MIT) # #Copyright (c) 2015,2018 Sami Salkosuo # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the r...
[ "samisalkosuo@users.noreply.github.com" ]
samisalkosuo@users.noreply.github.com
fb1810b91a43090b03c62c1be84d7e3dcc1b53fd
bc836919e9879ef1e0bebfeb69bed923aaedd876
/fuel_external_git/drivers/openstack_config.py
324c28a83bc636fc06dfd8c40d3bc570fb6eecc6
[ "Apache-2.0" ]
permissive
dukov/fuel-external-git
d7ca52e11cf888e9c8d252f4018952acdc7769a6
29aaeeab818c1412e8e87d263685c4bdae2c8fd6
refs/heads/master
2020-05-21T22:47:51.730245
2016-11-08T15:27:41
2016-11-08T15:27:41
65,416,318
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
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 t...
[ "dukov@mirantis.com" ]
dukov@mirantis.com
8874054519a9ec1bd715ee854b7f54367bcea433
752b190f34b1298f3cead20272d3a8c1da868aa0
/books/models.py
0902a5df9871aba10301e81935d96228ff04920a
[]
no_license
klande/devops9-2
883eaee79bf1b493b85f3954ce951ba0d1acdfa6
4d3a41320a826de7d67442dd898e9ae992305421
refs/heads/master
2023-05-26T05:15:51.002187
2019-12-22T14:22:39
2019-12-22T14:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
from django.db import models # Create your models here. class Publish(models.Model): ''' 出版商 ''' name = models.CharField(max_length=32, verbose_name='出版商名称', help_text='出版商名称') city = models.CharField(max_length=32, null=True, blank=True, verbose_name='出版商城市', help_text='出版商名称') a...
[ "zhengyansheng@vipkid.com.cn" ]
zhengyansheng@vipkid.com.cn
38f94ef8d5c8159e0b4db7723f7aee76d015aa96
4abc15d72cdfe128fb86b9e61aed01f8d520ba0b
/solo/methods/deepclusterv2.py
b6a93a8582be4ababc797d0ac2e53b667035c1e5
[ "MIT" ]
permissive
socar-tigger/solo-learn
ded16e2811619d2023e8d6edec5ce615530d426e
a7c4e769c66336864f85cdff4b3a151440784bb8
refs/heads/main
2023-09-02T20:52:45.989965
2021-11-15T06:29:42
2021-11-15T06:29:42
427,213,249
0
0
MIT
2021-11-12T02:55:20
2021-11-12T02:55:20
null
UTF-8
Python
false
false
8,728
py
# Copyright 2021 solo-learn development team. # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to use, # copy, modify, merge, publ...
[ "noreply@github.com" ]
socar-tigger.noreply@github.com
5bbf2fbadaf41b140c827895d732414efd2c2fbb
5869766ca261f8df9cd3ca197024c69eb8c77866
/nltk 16.py
b7840b129420bc2096a0ae06dc60e5f80b4f9b0a
[]
no_license
babdulhakim2/nltk
1461c715bdcb257d7742e499792a818232c6ed13
a450af71098a0969e200bfb7bd9f734529dae6b7
refs/heads/master
2021-04-28T23:41:24.942570
2016-12-31T06:42:07
2016-12-31T06:42:07
77,728,731
0
0
null
null
null
null
UTF-8
Python
false
false
5,338
py
import nltk import random from nltk.corpus import movie_reviews from nltk.classify.scikitlearn import SklearnClassifier import pickle from sklearn.naive_bayes import MultinomialNB, GaussianNB, BernoulliNB from sklearn.linear_model import LogisticRegression, SGDClassifier from sklearn.svm import SVC, LinearSVC,...
[ "noreply@github.com" ]
babdulhakim2.noreply@github.com
fa8ea47aa14390fc48aa2b0607831743d713fdbb
fe2e59c8e209be91bcfa332b1a0a2489ae053ab9
/src/plot_pulaw.py
10d5656c15a2dce4468b6a40c944f96233b055af
[ "BSD-3-Clause" ]
permissive
tmiw/LPCNet
33cdd316085498fd64ce63f4fc78b88d0f290223
2c17242409516ab45e2996e37c85f45383e2b526
refs/heads/master
2022-09-15T15:08:56.925473
2020-11-22T03:30:00
2020-11-22T03:30:00
223,691,230
0
0
BSD-3-Clause
2019-11-24T04:17:13
2019-11-24T04:17:13
null
UTF-8
Python
false
false
1,587
py
#!/usr/bin/python3 # Utility to inspect packed ulaw samples from sw2packedulaw.c (or dump_data.c) before training import numpy as np import matplotlib.pyplot as plt import sys import ulaw import argparse parser = argparse.ArgumentParser(description='Plot LPCNet training packed ulaw samples') parser.add_argument('fil...
[ "david@rowetel.com" ]
david@rowetel.com
ed3353e5133a00ddd17176040ec7d8f1a619806c
1d7eec692553afc411ec1e7325634f71a2aed291
/backend/curriculum_tracking/management/project_wrangle_helpers.py
8c347fb6739812587fcbd8c3727942620ad8dd97
[]
no_license
Andy-Nkumane/Tilde
a41a2a65b3901b92263ae94d527de403f59a5caf
80de97edaf99f4831ca8cb989b93e3be5e09fdd6
refs/heads/develop
2023-05-09T10:02:41.240517
2021-05-28T09:20:51
2021-05-28T09:20:51
299,501,586
0
0
null
2020-10-25T22:37:30
2020-09-29T04:10:48
Python
UTF-8
Python
false
false
10,188
py
""" These helper functions were leveraged heavily in preparing the recruit projects for flavoursome cards. There were a lot of different messes to be cleaned up """ from taggit.models import Tag import csv from core.models import User, Team from curriculum_tracking.models import ( RecruitProject, ContentItem, ...
[ "sheena.oconnell@gmail.com" ]
sheena.oconnell@gmail.com
2e0356524099428c8766cb07f28b6687ed053d95
7a84db72ccb3d04283499e5c23ffbee94a025de8
/convert-pep440.py
0ba6e7872a2a3819b0b1f8362fb719f4b1109653
[]
no_license
hroncok/convert-440
f3ebbee57147235ea209cff6bdb1a01bcf6e7902
8236d838e370ae4911978f2f59390d6a030a91a5
refs/heads/master
2021-12-23T03:35:11.022425
2019-11-27T16:18:08
2019-11-27T16:18:08
224,472,169
0
0
null
2019-11-27T16:26:02
2019-11-27T16:26:01
null
UTF-8
Python
false
false
3,082
py
#!/usr/bin/env python3 # Copyright 2019 pyproject-rpm-macros contributors # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the Software without restriction, # including without limitation the rights to ...
[ "gordon.messmer@gmail.com" ]
gordon.messmer@gmail.com
35c2c53f50c75fbcecf0c959acf438bfb4972e07
940816ee112fe74f5ed5d3fa85ef02d8b8307eba
/connect2.py
2776345e3f9d8c89ba449bb0071a2611bc679bb2
[]
no_license
LunaCelestine/TwitterDatasetAnalysis
acf1ff232f49b649050a9d10f0631b47dda0fff4
0679497706b35228ff2ccd83674eb878b8bdb81f
refs/heads/master
2021-08-19T22:03:03.167078
2017-11-27T14:37:46
2017-11-27T14:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
import time def findX(x): return dSets[x] def mergeSet(p,q): lis=hashSet[q] for i in lis: dSets[i]=p hashSet[p].append(i) del hashSet[q] startTime=time.clock() n=1000000 dSets =[] for i in range(0,n): dSets.append(i) hashSet={} for i in range(0,n): hashSet[i]=[i] edgeSet=[] fh...
[ "bdabdoub@gmail.com" ]
bdabdoub@gmail.com
54786b90c8d26ce1544f31b02c94c4b3b93085a5
7e2e839b3887e7f4cc2206876adf2fbceae3778d
/Cube/Solver/kociemba/__init__.py
4fbaec49c41a5a4d237e82538e394a807aa4de4b
[]
no_license
CadenKun/rubiks_cube
bb911a4bd5c77f6ecd751d945d02d708bd3c4fe0
21ddb5733a9b3916f22ae0eadee07b8a6df47c3c
refs/heads/main
2023-07-13T20:20:44.144880
2021-09-01T12:12:37
2021-09-01T12:12:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import warnings from Cube.cube import Cube class SlowContextWarning(Warning): pass try: import os from .ckociembawrapper import ffi, lib cache_dir = os.path.join(os.path.dirname(__file__), 'cprunetables') def _solve(cube, pattern, max_depth=24): pattern_utf8 = pattern.encode('utf-8') if ...
[ "along.blabri@gmail.com" ]
along.blabri@gmail.com
284c9f5c3d5de1d0f8dd30823afd74318749140b
ae78c92aac2b3fe1eb8c5e5f894997fe83d3d729
/cap.py
f06cbfa146ae307c213f818e07d65966ae68a57a
[]
no_license
yukadev6/unittest-example
4cb6946b4fd0dd09503a11882f3d66c4008ab9d9
a0b4e3c8d235219043a2894e412761ac5f6bcb6f
refs/heads/main
2023-02-19T06:12:52.553603
2021-01-23T16:45:24
2021-01-23T16:45:24
332,253,700
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
def cap_text(text): ''' Input a string Output the capitlized the string ''' return text.title()
[ "yuka.couweleers@gmail.com" ]
yuka.couweleers@gmail.com
77fe4bea9d57f24ab69ed9ad9d09df3b77a0b8b5
2007214b3501da6d7b105ab8a7687776c28e76f7
/python-ds-practice/33_sum_range/sum_range.py
c1ba29fa5f134c44ddaccf298e1bbfc757501c82
[]
no_license
quyenpham94/python-syntax-practice
f0fbf4aabb8a5c9c4b4e268b7c38518a6cd000bb
d73f885354c43e88b3dc120735040c2760871cd5
refs/heads/main
2023-08-25T18:07:46.467567
2021-10-15T15:31:24
2021-10-15T15:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
def sum_range(nums, start=0, end=None): """Return sum of numbers from start...end. - start: where to start (if not provided, start at list start) - end: where to stop (include this index) (if not provided, go through end) >>> nums = [1, 2, 3, 4] >>> sum_range(nums) 10 >>>...
[ "hoangquyen174@gmail.com" ]
hoangquyen174@gmail.com
5b5313c1b7b9632740bff70f7f45a3474a729824
4749f353f5df6adf0d4dd264f82d5d92f3c82d84
/Backtesting/MovingAverageTradeBacktesting.py
4eb4ebd5d9ee3451a6729680fd6e4b0a40a966fc
[]
no_license
kumars99/TradingScripts
6bd7740e60877904a837dac4bea7ce49352b1704
b916eb8a69e349ad19d9893262cd27c5aedade2f
refs/heads/master
2023-02-22T01:45:35.883845
2021-01-28T04:32:11
2021-01-28T04:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,977
py
import traceback from datetime import datetime, timedelta import time import MAUtils as mautil import MovingAverageTradeBacktestingStats as stat import ScrapUtils as nse_bse import Utils as util diff_between_start_end_date = 1500 no_of_sessions_from_start_to_begin = 300 no_of_buffer_sessions_to_keep = 100 max_no_of_...
[ "himanshu4529.pec@gmail.com" ]
himanshu4529.pec@gmail.com
4a0eb19521baff5f402f7d4f68c5d19f30e3210c
c4de0b89e767398fcda6db76d2080333e12be64e
/examples/PyORBIT_CreateTestCase.py
80390aa535734ba12bf8d7dab0f6afc7ab5785a8
[]
no_license
LucaMalavolta/PyORBIT_legacy_V5
400237ba243631446f2e8b2e236e57e4cbe79573
ff1e161445696146de17a78ed19079b70475f303
refs/heads/master
2020-03-28T11:28:38.266261
2018-08-19T12:27:55
2018-08-19T12:27:55
148,217,755
0
0
null
null
null
null
UTF-8
Python
false
false
14,517
py
import numpy as np import sys import os #import matplotlib.pyplot as plt sys.path.insert(0, '../pyorbit/classes/') import kepler_exo as kp np.random.seed(12345678) planet_b = { 'P': np.random.uniform(6,9), 'K': np.random.uniform(10,20), 'f': np.random.uniform(0,np.pi), 'e': np.random.uniform(0,0.2)...
[ "luca.malavolta@unipd.it" ]
luca.malavolta@unipd.it
8e601ba9e0dbeb81f667938b4d361cda5ccc749d
1ff9adfdb9d559e6f81ed9470467bab25e93b5ab
/src/ta_lib/_vendor/tigerml/pyspark/eda/eda.py
6d6da84cea9ce373d66310101722a68fb7f8f2f8
[]
no_license
Seemant-tiger/housing-price-prediction
a39dbefcb11bc460edeeee92e6becf77d35ff3a8
be5d8cca769c7e267cfee1932eb82b70c2855bc1
refs/heads/main
2023-06-24T00:25:49.776720
2021-07-18T16:44:28
2021-07-18T16:44:28
387,222,852
0
0
null
null
null
null
UTF-8
Python
false
false
40,365
py
"""Functions to carry out the EDA in spark framework.""" import gc import logging # noqa from collections import Counter import holoviews as hv import matplotlib.pyplot as plt import numpy as np import pandas as pd from hvplot import hvPlot from pyspark.ml import Pipeline from pyspark.ml.feature import StringIndexer...
[ "seemantsingh1199@gmail.com" ]
seemantsingh1199@gmail.com
f9712413ac754555b835e7b4eb6cac3413f45408
8668dccceac1011c5341bf7d5f971c0da9585a7a
/_src/om2py4w/4wex0/main.py
37b6ad5d1d71e2ffdc37657f488c58bd9d3ab69a
[ "MIT" ]
permissive
jasonycliu/OMOOC2py
ea405c771fa2954687a58e575d35f94c7f4574f9
9b455ca50fa0d5eaaa21b21cccc76d49d6354b3d
refs/heads/master
2021-01-15T12:54:54.719830
2015-12-04T05:12:39
2015-12-04T05:12:39
44,055,421
0
0
null
2015-10-11T14:30:57
2015-10-11T14:30:57
null
UTF-8
Python
false
false
943
py
# -*- coding:utf-8 -*- from bottle import route, template, request, debug, run from datetime import datetime, date #common line 读取数据 @route('/read') def read_diary(): f = open('mydiary.log') history = f.read() f.close() return history #写日记函数 def write_diary(diarytext): date = datetime.now() d...
[ "jasonycliu@gmail.com" ]
jasonycliu@gmail.com
cc25b49cba139ab957706257cc9e9cdd5119b7a6
382c8cfb29f420297462d122c571995b62e10a6b
/temp.py
ab5d445e6bd49d2df01744e32851e61b3e05f170
[]
no_license
innovation-labs/Vader
c1a9592cc02f85cc5a28b3116fc41b35df5baf04
aa9091f90c41fe2b1ae6e488670bf89bcbbde5c9
refs/heads/master
2021-08-23T21:18:46.609875
2017-12-06T15:50:56
2017-12-06T15:50:56
103,031,449
0
0
null
2017-09-10T13:28:51
2017-09-10T13:28:50
null
UTF-8
Python
false
false
1,914
py
# from django.conf import settings from geoip2 import database from geoip2.errors import AddressNotFoundError from apps.warehouse.models import IPStore reader = database.Reader(settings.MAXMIND_CITY_DB) ips = ['99.248.9.54', '173.34.75.225', '70.54.130.204', '67.58.222.87', '70.55.50.230'...
[ "yousuf.jawwad@gmail.com" ]
yousuf.jawwad@gmail.com
1200cd170980527aa071ec6d609a49538dbc63c4
8f2396049198df3a668b89e35c0286304b00069f
/Bioinfo_Teory/basic_set_1.py
38cd831f3ac16a90cb0d8ae2c37c08e3cad2f02d
[]
no_license
s2arora/Bio
9d5d9c6a3237f9c6684bc656a1aee8a81dbaef40
5b8cf75c34c33382a19ec8fd9ab0733ea85ca116
refs/heads/master
2022-11-27T11:11:44.452556
2020-08-03T02:18:52
2020-08-03T02:18:52
282,906,389
0
0
null
2020-07-28T10:14:05
2020-07-27T13:28:34
Python
UTF-8
Python
false
false
393
py
s1 = raw_input('enter the number: ') print("3,5,1,3,2") s1 = "3,5,1,3,2" s1_li= s1.split(",") s1_li_int = [] for i in s1_li: s1_li_int.append(int(i)) set1 = set(s1_li_int) s2 = raw_input('enter the number: ') print("4,6,6,4,1") s2 = "4,6,6,4,1" s2_li= s2.split(",") s2_li_int = [] for j in s2_li: s2_li_int.app...
[ "noreply@github.com" ]
s2arora.noreply@github.com
3b6ec0b98124cd4420921fe505401df84f1bc6ed
0195afadd18b9c7ad371da0359cf7b675b3ed114
/Experiment 2/RVA.py
7fc177e610a3efd5c296e1540587a63e0a425ebc
[]
no_license
willa-mannering/Catastrophic-Interference-in-Neural-Networks
aa61d50f83b2969fa26683aed366eecf22b9bc47
56e3c60ebcc4b519824cacec2a44ec8b6a6679ac
refs/heads/master
2022-10-23T15:35:43.722629
2022-10-07T21:31:57
2022-10-07T21:31:57
218,356,757
0
0
null
null
null
null
UTF-8
Python
false
false
7,706
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 9 15:22:35 2018 @author: willamannering """ from scipy import sparse import numpy as np from re import sub from nltk.corpus import stopwords import pickle import itertools sw = set(stopwords.words("english")) #%% class RVA: ''' This version...
[ "noreply@github.com" ]
willa-mannering.noreply@github.com
1bff2ac0967e16eaba266de1b1749c487521c995
08778088da558a8bc79326754bb86f61c4cf082b
/eisitirio/database/waiting.py
5d06fb161572f0a5a5f73faf4ed6d38b4a5a6dad
[]
no_license
toastwaffle/Eisitirio
b5a7c48fc015857bfccdbe3f702e4c12c2e8277c
64ff15704b6b62d6ed385f7add59e7face88a95c
refs/heads/master
2020-05-24T15:51:12.023834
2019-09-12T19:09:23
2019-09-12T19:09:23
187,341,863
0
0
null
2019-05-18T09:59:35
2019-05-18T09:59:35
null
UTF-8
Python
false
false
954
py
# coding: utf-8 """Database model for entries on the waiting list.""" from __future__ import unicode_literals import datetime from eisitirio.database import db DB = db.DB class Waiting(DB.Model): """Model for entries on the waiting list.""" __tablename__ = "waiting" waiting_since = DB.Column(DB.Date...
[ "samuel.littley@toastwaffle.com" ]
samuel.littley@toastwaffle.com
09080ed90306b0487edf7ad43f6f5aa82d0d5da5
27ba0e7738e798c265decd1a69fed6dc1309dee4
/manage.py
8617e60d87265e20e63942504977f078b00a7eff
[]
no_license
jdhaagenson/customusers
883d4147b198b0356b2826025d465bae6d09cfe0
340d87e261040f80d02c60b140253b51fd5aed0b
refs/heads/master
2022-12-07T03:03:26.823612
2020-08-25T21:32:15
2020-08-25T21:32:15
290,326,088
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', 'custom_user.settings') try: from django.core.management import execute_from_command_line except I...
[ "jdhaagenson@gmail.com" ]
jdhaagenson@gmail.com
0564d2ecef3f6c2c15af42433721eca935cf0807
4bfa09b427ed1ec3c3f645f66e32f1e85ba59699
/scripts/mell/tokenization/tokenizer.py
0dcdcf01a2b1d531dd91eb89f51d8ce062eb9bd9
[ "Apache-2.0" ]
permissive
Chengkai-Huang/EasyTransfer
c3328f33d408783cc08eebf5a4ed43becf3d5dec
6909238c45b5708968f955b7d971a79b25434597
refs/heads/master
2023-07-19T02:20:36.864088
2021-09-15T09:45:48
2021-09-15T09:45:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
import jieba from .tokenization_bert import BertTokenizer from .tokenization_albert import AlbertTokenizer from .tokenization_gpt2 import GPT2Tokenizer class Tokenizer(object): def __init__(self, backend="jieba", vocab_file=None, pretrain_model_name_or_path=None): self.backend = backend self.vocab...
[ "zhangtaolin@B-133KQ05P-0208.local" ]
zhangtaolin@B-133KQ05P-0208.local
6ef63b1370f15c96f0052bd21466bd3759df1805
8e939e0f075a14377d87e0eb7729e4f0818f1df9
/zarc/old/views_2017-05-20-19:22:30.py
6430fada935c77135158fdeceb7ba6caefb39194
[ "MIT" ]
permissive
mimcomp/caseke
072d076c9442c19916d8f71ec25fa45676031914
3c0749a431bb2e2c82bcb292d528c748bea8b1ba
refs/heads/master
2020-06-02T15:42:24.159728
2019-06-03T16:34:09
2019-06-03T16:34:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,958
py
# coding: utf-8 # AUTOGENERATED BY gen_script.sh from kpony3.py # Copyright (C) Nyimbi Odero, Sat May 20 19:21:41 EAT 2017 import calendar from flask import redirect, flash, url_for, Markup from flask import render_template from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_appbuilder.view...
[ "nyimbi@gmail.com" ]
nyimbi@gmail.com
c6fad3d69a37b86a151df9755e8c9c1b6f119385
6cc3532eae923e6f828a4145d6b766666028c151
/Robot/myWeb.py
a164dd152582e14b2c65fcbf842f9884a589542e
[]
no_license
siwanghu/ROS
fd819b8a6dba4217953569325888992f3c591ad5
970c95946b9dcd71da16fe7aebfd3de56723b7e4
refs/heads/master
2021-09-11T21:11:28.180099
2018-04-12T13:43:23
2018-04-12T13:43:23
106,904,043
1
0
null
null
null
null
UTF-8
Python
false
false
658
py
#!/usr/bin/env python #encoding=utf-8 #coding: siwanghu import web urls=('/', 'index') class index: def GET(self): name=web.input(types=None,ids=None) ids=name.ids types=name.types if types=="crui": host="192.168.0.212" port=9999 addr=(host,port) com=ids tcpClient = socket(AF_INET,SO...
[ "siwanghu@hotmail.com" ]
siwanghu@hotmail.com
ad2df6b8a4b5b1a74f780a295c9eebfbadacb6db
131f9efacc5944e1f1f156b82ae0f59fe1d39dfa
/django_quickblocks/migrations/0002_auto__add_field_quickblocktype_has_rich_text__add_field_quickblocktype.py
752a8a7bd6459d2f40fd1660969c53e1f12a0d44
[]
no_license
nyaruka/django-quickblocks
fcaeb5c45c968c96e47f34ca7c641b674f2194f6
2ac419caff11dad1570f0a56b4576e5e40cfa758
refs/heads/master
2022-11-12T18:32:27.666397
2014-10-29T17:04:13
2014-10-29T17:04:13
1,535,809
6
4
null
2022-11-03T10:37:39
2011-03-28T08:47:23
JavaScript
UTF-8
Python
false
false
9,029
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'QuickBlockType.has_rich_text' db.add_column('django_quickblocks_quickblocktype', 'has_rich_t...
[ "nicpottier@gmail.com" ]
nicpottier@gmail.com
7aba7f32ed96c5e577fdeed1ddb2f5bf167c0d91
0d32e3819606c3fb6820d0cd5f5097db3b0d3dd4
/HW3/q_learning_no_epsilon_decay_mountain_car.py
6afd1f1d11cfe24eb60909d28e8ea03a2aa4b912
[]
no_license
IanCBrown/COMP5600
e8e06b2a8e3bde0acc6897adb2396a57a2811f0a
ef454c009d6fd5eec50ceec5a8283a7c6d81d097
refs/heads/master
2020-08-02T13:20:41.024681
2019-12-09T03:53:37
2019-12-09T03:53:37
211,366,293
2
1
null
null
null
null
UTF-8
Python
false
false
6,059
py
import math import numpy as np import matplotlib matplotlib.use("TkAgg") from matplotlib import pyplot as plt import gym from gym import spaces from gym.utils import seeding # Resources: # https://en.wikipedia.org/wiki/Mountain_car_problem # https://towardsdatascience.com/getting-started-with-reinforcement-learning-...
[ "icb0004@auburn.edu" ]
icb0004@auburn.edu
6d9395476551929bc6e1bb99f7d3b4d32f49a70d
f371a0f6ad80d4965477f5541c58a747e145c159
/implementMain.py
896554f9eb87719d795797200678122b645b84f7
[]
no_license
ErPrabin/FinalYearPjoject
4b04a9cd7a0476a4980064505a2343eb8ba47b1c
15e6227d3559f64a224ac894209d1687f42dd119
refs/heads/master
2023-04-22T09:21:34.120386
2021-05-11T09:21:04
2021-05-11T09:21:04
366,278,738
0
0
null
null
null
null
UTF-8
Python
false
false
15,759
py
import random import json import torch from model import NeuralNet from tokenizationAndStemming import BagOfWords, tokenize from voice import listener import dominate import pyttsx3 import os.path from dominate.tags import * engine = pyttsx3.init() engine.setProperty('rate', 130) from specialHandlers import handleSrc...
[ "51107229+maneethekill@users.noreply.github.com" ]
51107229+maneethekill@users.noreply.github.com
f427b9de5b6b0f9d8f90c4c5a5d004f603492bac
26a5826d54f679ecf3c768430e8a13a523e0425a
/tests/home/test_view.py
f74ccc51db2631f48611ca2784d0a19186ae0722
[]
no_license
gauribhoite/pedsqbank
38588f0fab427cfa8ee8599613613c2a5a042ea3
39becc4de814a1ee542ed1eb93857d106863b9dd
refs/heads/master
2021-01-19T21:47:11.843687
2017-04-29T11:12:20
2017-04-29T11:12:20
88,704,927
0
0
null
2017-04-29T10:59:52
2017-04-19T05:34:20
Python
UTF-8
Python
false
false
188
py
from flask import url_for class TestHome(object): def test_login_page(self, client): response = client.get(url_for('users.login')) assert response.status_code == 200
[ "gauri.bhoite@babylonhealth.com" ]
gauri.bhoite@babylonhealth.com
c506adf350c0d3218ce0fe7d2084bb9c4162dc4a
37fcc80608110b9ed8a7ab8916346c336dd58769
/haircut/urls.py
82d382643096307036c140363b0461425207efa3
[]
no_license
dear7/Salon
7f25565d69e8dd27c919b40f2e6c882a9b3fcb69
fb7c5e1d3fec28a52424d2303d813327b653e2ec
refs/heads/master
2020-03-22T00:00:39.736280
2018-06-30T04:32:20
2018-06-30T04:32:20
139,218,933
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
from django.utls import path from . import views app_name = 'haircut' urlpatterns = [ path('', views.home_page, name='home_page') ]
[ "799313051@qq.com" ]
799313051@qq.com
8af072ca10d2818422727df5fbd11c71012690ef
5da80918ac50156f351966f96e2131123222d483
/hack/coalesce.py
ddb07665af6933731c1eef0253ccadbd9605a08e
[ "Apache-2.0" ]
permissive
dinomiteX/cluster-api-provider-aws
43045e2c2d1836f1722795e5d4afeef2a3b407ea
bc4496ff9235a64f81dd9e6f2c97e368b6099431
refs/heads/master
2020-07-07T14:50:26.244166
2019-08-20T13:37:01
2019-08-20T13:37:01
203,380,287
0
0
Apache-2.0
2019-08-20T13:18:24
2019-08-20T13:18:23
null
UTF-8
Python
false
false
3,191
py
#!/usr/bin/env python # Copyright 2016 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
92785644c971f51c1aff7d47c833a14c473328a3
dea5dfdc661309fa26fc93d4884fbcbb75e4d8a0
/Back_ground/control/classcontrol.py
be904879e1ec0441ee72a9fc24b89447004fa001
[ "Apache-2.0" ]
permissive
sherwel/Behavior_culture
0583ba061d7a2feba8f45c2b574005fcc76e4cfd
43b68e50aed369aacefc5435ec4f9b70960d2344
refs/heads/master
2021-01-10T03:47:20.328109
2016-02-29T04:42:49
2016-02-29T04:42:49
50,472,281
1
1
null
null
null
null
UTF-8
Python
false
false
7,199
py
#!/usr/bin/python #coding:utf-8 from tool import SQLTool ,config from Back_ground.model import takeclass,Class limitpage=15 localconfig=config.Config() def haveclassshow(schoolid='',classid='',teacherid='',page='0'): validresult=False request_params=[] values_params=[] if schoolid!='': reque...
[ "nanshihui@qq.com" ]
nanshihui@qq.com
1fcf8c3cf80973626638bcf11a199810ababede3
360bcc6875b8eeef832f6b5912bec44890afc0f7
/timeproject1/timer1/tm/views.py
54f2f6887ef7a34d5b71d57b932786cb84ede908
[]
no_license
sharath443/Django
1a002fd4efe180617edfb565381bd84ca9f37a36
93a5d31536070e5b5656b1b3a73aa3367d68174d
refs/heads/main
2023-06-23T15:29:25.080393
2021-07-29T13:47:06
2021-07-29T13:47:06
384,131,767
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.shortcuts import render,HttpResponse import datetime def time(request): today = datetime.date.today() yesterday = today - datetime.timedelta(days=1) return HttpResponse (f"yesterday date {yesterday}")
[ "79626926+sharath443@users.noreply.github.com" ]
79626926+sharath443@users.noreply.github.com
2f6306d71f2bc95e8af7efeae2ca318756f99a0e
0722301f27bb20ab42400fa90a8a5254d20a421f
/lesson5.py
b57a501183a4effa07a970bb145ff1d8995f8b83
[]
no_license
poliarus/Stepik_Python_course
c21ffa6a9e7736adf824f8839715f3e629f2f8ac
c270d0968028f98455353cbf923883aa5313f7c6
refs/heads/master
2020-09-16T13:20:12.406254
2019-11-24T17:46:31
2019-11-24T17:46:31
223,782,638
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
a = float(input("a: ")) b = float(input("b: ")) c = input("operation ") if c == "+": print(a + b) elif c == "-": print(a - b) elif c == "/": if b != 0: print(a / b) else: print("Деление на 0!") elif c == "*": print(a * b) elif c == "mod": if b != 0: print(a % b) else...
[ "polyarus13@gmail.com" ]
polyarus13@gmail.com
d18307d62cb34e717a140ccc63c5b53f9fef1ac6
7a1ff5b9371ee3738c44593075cb71844a780e82
/Day10/test/receive_mq_test1.py
a3a3c330467c015202eefc32c481a16253e2a70e
[]
no_license
ToFgetU/Python3
4edeb70bb3441197378d2f1c5bfb51bcfc184c60
6db143da4623835f0e9486237ac94b965921b844
refs/heads/master
2021-01-20T10:10:39.555419
2017-09-20T13:40:56
2017-09-20T13:40:56
90,331,591
1
2
null
2017-10-13T19:31:00
2017-05-05T03:03:51
Python
UTF-8
Python
false
false
705
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author: PanFei Liu import pika import time # 建立socket connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) # 创建管道 channel = connection.channel() #申明queue # queue = channel.queue_declare(queue='task_queue1') def callback(ch, method, properties...
[ "505567802@qq.com" ]
505567802@qq.com
3d44285b7f4667f8c29bbb1bf7a019e76508ecb4
61673ab9a42f7151de7337608c442fa6247f13bb
/pillow/change-pixels-numpy-array-PixelAccess/main-PixelAccess.py
753aed3b65ccfc089b9e2661eb5527fc4b576b6e
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
449
py
#!/usr/bin/env python3 # date: 2019.09.29 # `PixelAccess` changes pixels in original `img` # so there is no need to convert it back to `Image` # BTW: Image uses [col,row] (array uses [row,col]) from PIL import Image img = Image.open('image.jpg') pixels = img.load() width, height = img.size for col in range(widt...
[ "furas@tlen.pl" ]
furas@tlen.pl
f8d4c83e95760f8b23e19e6f471b208f148ec355
28bf7f3f490ce8cfd1fccd4f579b4a85f9241702
/solve-me-first.py
34f43fef5267bf29e374da60618d4746af8eef05
[]
no_license
Manishrdy/hackerrank-python-ps
c5ce7ea2fee9c9ac0459cd7d91f20f4ce523093f
9206b3ca0e7bb9fb9233351b6f1301cb584a807c
refs/heads/master
2022-04-19T19:33:51.081170
2020-04-19T13:57:03
2020-04-19T13:57:03
255,257,762
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 13 12:47:53 2020 @author: Manish """ def solveMeFirst(a,b): return(a+b) # Hint: Type return a+b below num1 = int(input()) num2 = int(input()) res = solveMeFirst(num1,num2) print(res)
[ "noreply@github.com" ]
Manishrdy.noreply@github.com
bd65b1eac9b6a7bcc7a024c1d0a88b7c917f4e60
044e7d841c07d9a85e69d3783d92af5115bfed03
/connections/migrations/0009_auto_20200814_0202.py
3f2aa6c0e0741a8fd4fdcde4e70dfee0e0e97a4c
[]
no_license
t3ndai/outtaofficed
bf6be60422c6344438370aa428edd97ac6c10287
f556bc0cf06dc1c6d98814714e68443db97c1637
refs/heads/main
2023-08-06T15:58:17.811052
2020-08-28T01:49:24
2020-08-28T01:49:24
414,781,455
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Generated by Django 3.0.7 on 2020-08-14 02:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20200724_2108'), ('connections', '0008_auto_20200808_0054'), ] operations = [ ...
[ "ptdzonga@gmail.com" ]
ptdzonga@gmail.com
29e67bc5dffdedc3e5056eabe24c6392761e9440
2766ab1abcb1fd203526c37e78d75617b6f926ad
/Algorithms/Implementations/AppleAndOrange.py
583a15ef7284be11283acab90e4ef398039dc810
[]
no_license
JWiryo/HackerRank
2465953c6933369c548e4096606ebacb69f9a599
1ecd0a134296d8f5703ad14c1780b858f6001c9d
refs/heads/master
2021-10-20T12:23:49.235807
2019-02-27T16:20:51
2019-02-27T16:20:51
111,561,805
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
#!/bin/python import sys s,t = raw_input().strip().split(' ') s,t = [int(s),int(t)] a,b = raw_input().strip().split(' ') a,b = [int(a),int(b)] m,n = raw_input().strip().split(' ') m,n = [int(m),int(n)] apple = map(int,raw_input().strip().split(' ')) orange = map(int,raw_input().strip().split(' ')) def countAppleAn...
[ "jamesgiggs95@gmail.com" ]
jamesgiggs95@gmail.com
89c3129365c16cffea65e4bf0da0e43f7c75fc03
09cfb237e272ebc099f8cac7b915b309e2694813
/setup.py
db0ae3f7c955043a2e1427f784486788addc8187
[ "BSD-2-Clause" ]
permissive
mihi-tr/Dyssynchrony
6d64680d7313fc1f5be31763c171c45333e810f8
b5d8fe35163b1ce144b494b16e4aec49e68af38f
refs/heads/master
2020-06-03T06:07:47.496693
2014-11-15T15:50:26
2014-11-15T15:50:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from distutils.core import setup import py2exe setup(windows=[{'script':'gui.py', }])
[ "mihi@lo-res.org" ]
mihi@lo-res.org
e849fe83ee31102187f816d92ec5a1e5bad182ef
caab2457e8f4961ec7e3725f5060f899161e0c7e
/Algorithm_And_Data_Structure/tree_graph/convert_sorted_array_to_BST.py
ff1e8c34b2ed7a1d9545b7e17d012b06bb697d31
[]
no_license
omidziaee/DataStructure
7ea9991737ecbf97bd17ec9aea1db0383c5a390c
66a4325c5999535e64e8e985bac4e3a96108bf1a
refs/heads/master
2021-06-06T17:37:42.003610
2020-04-05T03:38:02
2020-04-05T03:38:02
148,665,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
''' Created on Apr 10, 2019 @author: USOMZIA Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. Example:...
[ "omid.ziaee@gmail.com" ]
omid.ziaee@gmail.com
b3a4968fdf9a46a1ed4d65f8c381330f7a73a58c
68d7b0c5575c43f42060f4f7c255f428bfbb0285
/printlandmarks.py
4f6c9802d110e4fa044fb4428deac343e8967f0f
[]
no_license
bfafata/mptyping
8ce1daa83030e96151f62fab9bd768a4ffd95607
89bf28a80141e455fbb76eac4535ec5c1c22bdea
refs/heads/main
2023-07-18T10:55:40.844991
2021-08-30T01:38:38
2021-08-30T01:38:38
401,183,031
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
def pl(lis): names=[ "wrist", "thumb cmc", "thumb mcp", "thumb ip", "thumb tip", "index mcp", "index pip", "index dip", "index tip", "middle mcp", "middle pip", "middle dip", "middle tip", "ring mcp", ...
[ "70115786+bfafata@users.noreply.github.com" ]
70115786+bfafata@users.noreply.github.com
56922e0d19840031cf2fd989884a3f68c517958f
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/resource_types/azure_regions/view.py
903367bda356e2193783aa57648a5dc9d0784689
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
2,126
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """View for Azure Region locations.""" from django.db.models import F from django.utils.decorators import method_decorator from django.views.decorators.vary import vary_on_headers from rest_framework import filters from rest_framework import generi...
[ "noreply@github.com" ]
luisfdez.noreply@github.com
1d93b2fa8eee0e6b25e554bc0ef4356c25b30493
a94feedf930366196c824ed8d5e78b685fd1c5a2
/test_examples/test_lesson6_func_auto_check.py
7df9f9fd4e69efa2530f908bc8d22a56ff722928
[ "MIT" ]
permissive
steven004/TestSteps
9b6e84dfc03eff4ab3ed040377338c8992a1add4
b8741aa0cb026f320ccb9d0c3814a802b33f5dda
refs/heads/master
2021-01-23T11:54:58.807900
2017-06-20T06:25:51
2017-06-20T06:25:51
29,056,187
12
1
null
2017-06-20T06:25:51
2015-01-10T12:13:16
Python
UTF-8
Python
false
false
4,173
py
__author__ = 'Steven LI' from test_steps import * ## This is just an example, to create an operator to judge is two data strings stand for the same date ## i.e. '1/4/2015' =d= '01-04-2015' is true ## desc parameter can be omitted here, but can be used later in cases def compDate(date1, date2): import re patt...
[ "steven004@gmail.com" ]
steven004@gmail.com
04495c8e1849b8df9b7b60f749e3172809966b93
7e419f7046386c20b9a6ed121c377fbcc8ff6885
/mobject/region.py
d5ba70ff04615c627dc85bf3d0a85a9d4bddec0d
[]
no_license
ralusek/manim
47ebabb4d42accdda42a0da32ccdef6b129205b8
d53412d738e3b9d306b7d7d2ad39cac702ff3d18
refs/heads/master
2021-04-29T00:47:40.990006
2018-02-16T20:16:59
2018-02-16T20:16:59
121,837,012
1
0
null
2018-02-17T07:44:48
2018-02-17T07:44:47
null
UTF-8
Python
false
false
3,206
py
import numpy as np import itertools as it from PIL import Image from copy import deepcopy from mobject import Mobject from helpers import * #TODO, this whole class should be something vectorized. class Region(Mobject): CONFIG = { "display_mode" : "region" } def __init__(self, condition = (lambda ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
687e687e614798cfd72c569e38bab5defbb3776f
fc95e3c6ff4a0575c45a90990b2d6bd71c2e4eb7
/dynamic/serializers.py
7edb3441ee62a3f95a30c0fc422e9de8f4e12171
[]
no_license
melerz/dynamic-modules
4843940ac21edb2680edf2df427722cca513e70a
7703cc450556b95186ec2793f6f1c62e859f9f04
refs/heads/master
2020-06-08T23:21:55.793414
2015-04-30T23:54:13
2015-04-30T23:54:13
35,182,150
4
0
null
null
null
null
UTF-8
Python
false
false
896
py
from rest_framework import serializers from eav.models import Experiment,Values,Attribute class ExperimentSerializer(serializers.ModelSerializer): #analyzes = serializers.HyperlinkedRelatedField(many=True,read_only=True,view_name='analyze-detail') class Meta: model = Experiment #fields = ('id','experiments','at...
[ "melguy@gmail.com" ]
melguy@gmail.com
667ca1db47bb4e132b3b6150d73b4ced1d27b3c8
de70d6f52f8f7c314c81e9cfd606771ca694cf5b
/min and max values in a number.py
472399a4f64128bee9278c681d5a98168086ade5
[]
no_license
SAI-VARMA427/coder-in-future
daa48cac2ec47fe6284021bccf5a47b122544e36
fa4a0dc5d5f4f74092d862dbffa5039f701f7d2b
refs/heads/main
2023-05-05T20:27:50.552312
2021-05-29T14:14:06
2021-05-29T14:14:06
371,989,039
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
num=int(input()) m=num%10 n=num%10 while num: r=num%10 num=num//10 if r>n: n=r if r<m: m=r print (m,n)
[ "noreply@github.com" ]
SAI-VARMA427.noreply@github.com
dd278e527e84ca0c1483a203275bc175b8b32204
b19b344e4fbe4cad40eeb49b1989e13dd433e33f
/BM25-master/src/parse.py
3abc26b761b4d3d8cb34dd55ae5bf18ccbeac4b2
[ "MIT" ]
permissive
SonamGupta29/Word-Movers-Distance
1013b5539348f29148ef39c6f6a22f61780cf2f3
487cb2df70525f433c11a61cccf8424df1eeb365
refs/heads/master
2021-06-16T08:37:24.016932
2017-05-02T08:12:26
2017-05-02T08:12:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
__author__ = 'Nick Hirakawa' import re class CorpusParser: def __init__(self, filename): self.filename = filename self.regex = re.compile('^#\s*\d+') self.corpus = dict() def parse(self): with open(self.filename) as f: s = f.readlines() #print s for x in s: x = x.split("#") text = x[1] ...
[ "ganesh.borle@gmail.com" ]
ganesh.borle@gmail.com
2e824815f42f7ee0d3d6bb99a78649ebe445a9c9
23bf7274397e5e1db12ae931f12b6823f14be04d
/generatePedFile.py
5c451822d2ce6254dc5a16a4f9deb1f732a073f4
[]
no_license
das2000sidd/Bionformatics-related-scripts
0107bb9393f79e5eb3dba8aea1b1a3ec66954d97
74554ed892ff7053fc15fbf3f4837719d70a9fc4
refs/heads/master
2021-09-07T02:54:57.292414
2018-02-16T08:42:47
2018-02-16T08:42:47
108,601,632
1
0
null
null
null
null
UTF-8
Python
false
false
8,020
py
import time import re import sys import argparse def generatePed(b): if(len(b) < 1): raise ValueError('Error: Cannot parse empty string into boolean') if(b=='True'): return True if(b=='False'): return False raise ValueError('Error: Cannot parse string into boolean') def Main(): listOfArguements=[] parser...
[ "noreply@github.com" ]
das2000sidd.noreply@github.com
9602630702d42d0b11831605326a2ac95fab89e6
c04cacb72f04a478b1168fd1c99a7374e185332c
/gym_SnakeGame/envs/__init__.py
81e9d6fcc454c9d3816a7313a9d3328360fadb8a
[]
no_license
x2ever/Snake-Game
6f5dc17843b51ee1cfeadfce2593cd9cb13ac5ba
07d73b2b63b90091915fa9e1a8c3b9db879cc98e
refs/heads/master
2021-12-22T22:19:59.258420
2021-12-21T22:51:50
2021-12-21T22:51:50
225,833,456
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
from gym_SnakeGame.envs.SnakeGame import SnakeGameEnv
[ "x2ever@naver.com" ]
x2ever@naver.com
20801f8c149ee791c92ced7ac844ed5f782b6a63
f7734c78679d421c8a8a63072692466233b35bf1
/dev/runner.py
27f66cc56efa0e0f2e33cd981bd065b07442db0d
[]
no_license
bnapora/wheat_detection
406f4a8bdf2f950a168f5d6c3e97310e9a964892
e4420e625475c474787964a2e47a6e265ae42467
refs/heads/master
2022-12-26T10:27:40.261166
2020-09-25T22:10:22
2020-09-25T22:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,982
py
from pipline import Datapipline, Wheat_Dataset from global_config import Preprocess_config from leaner import AverageMeter,Fitter from torch.utils.data import Dataset,DataLoader from torch.utils.data.sampler import SequentialSampler, RandomSampler import torch import torch.nn as nn from timm.utils import ModelEma fr...
[ "heye0507@gmail.com" ]
heye0507@gmail.com
e5b476c813cebc167dbe1f7ed3d44155f3b0cb28
b612817dd1470e95fbd32bc13f776e26029335ae
/ABCapp/migrations/0001_initial.py
fbe8bdd68fd26ae056a8612acc21a309b35db32a
[]
no_license
Gunjankumar08/proABC
1d7dcb1e4a849f5939938f8ed6b96cd8315c53d9
c7f6b7ec917b2bed57611e2c9a98cf536ea733bd
refs/heads/master
2022-07-24T10:43:54.659864
2020-05-18T05:37:39
2020-05-18T05:37:39
264,833,465
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# Generated by Django 3.0 on 2020-05-04 18:46 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), ] opera...
[ "gunjan.kr518@gmail.com" ]
gunjan.kr518@gmail.com
ef24ba60db7198ba0b519cb7a3e69990ba8cea61
87bb2b9258c887e8fbcaca08d18e5d95ae96462d
/Codewars/Python/6kyu/6kyu_Sort the odd.py
8cedc8b089fe3134f4a5c46a38957c62ca3278d3
[]
no_license
KonradMarzec1991/Codewars-LeetCode
a9e4d09f4271fecb3a7fc1ee436358ac1bbec5e4
442113532158f5a3ee7051a42e911afa5373bb5f
refs/heads/master
2023-04-21T17:04:37.434876
2021-05-11T21:47:14
2021-05-11T21:47:14
166,555,499
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
def sort_array(source_array): sorted_odds = sorted([d for d in source_array if d % 2 == 1]) startpoint = 0 for d in range(len(source_array)): if source_array[d] % 2 == 1: source_array[d] = sorted_odds[startpoint] startpoint += 1 return source_array
[ "konrimarzec@gmail.com" ]
konrimarzec@gmail.com
e45e79f6041b2bbf431cde81e4d07791be6dc9a8
0d0bcdbe70a9c595de45a351ac46eca8de3b2207
/DAY_5_While_loop.py
c67194821380b6ef9ab4417aefd7297ceeac6d39
[]
no_license
rsaiteja903/EDUYEAR-PYTHON---20
de0e8a51d057355f72e405f861b92e41f1ac2f04
2af56e47ba849432e61e13ed782e303e46bac07e
refs/heads/main
2023-06-08T09:48:33.592914
2021-06-23T15:59:05
2021-06-23T15:59:05
369,974,803
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
l=[] while(1): n=input() if n!='q': l.append(int(n)) else: break print("Press 'q' to exist") print("Sum of integers is : {}".format(sum(l)))
[ "noreply@github.com" ]
rsaiteja903.noreply@github.com
844a75a41f3d66405dd80d5bfc9004b0700ee34c
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/bgp/peer_groups/peer_group/use_multiple_paths/ebgp/state/__init__.py
bb2f3ba984ed9af5079bfaa77f8bc4d6cafda7c5
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
22,119
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
a28c8e7a5f82e94e383916d99e137a20c2856eda
e433938cf4240908ea983768b84fb5645b840c6f
/blackjack.py
ca712dd229150d7477ed3500aae4c58c85fb1001
[]
no_license
dazun-dtb/Blackjack
4fddeb4548e231f855e1ab5df2723f54b90cd8fe
ee4adcc378433b9d1d348a2cdd22469c1d1797aa
refs/heads/master
2022-11-22T14:03:48.648046
2020-07-20T06:15:43
2020-07-20T06:15:43
281,030,385
0
0
null
null
null
null
UTF-8
Python
false
false
5,633
py
import random import math end=1 chip=100 while end!=0: trump=[1,2,3,4,5,6,7,8,9,10,10,10,10]*4 d=[] p=[] n=48 pb=0 db=0 r=random.randrange(0,52) d.append(trump[r]) del trump[r] r=random.randrange(0,51) d.append(trump[r]) del trump[r] r=random.randrange(0,50) p.app...
[ "noreply@github.com" ]
dazun-dtb.noreply@github.com
ec2d22fc42e567b8a794d143649e7207812734ca
7242d716df4859db76a7706318fa16c40ef84881
/Algorithms/reverse_integer.py
f302397e7c767bc7b3bfe75679948a82e399ae67
[ "Apache-2.0" ]
permissive
kyogesh/leetcode-solutions
2bd31d51fc5b45bed48851fa4961be33d1f117df
2ab09e7487409856ecc9453f37410e0797d98a81
refs/heads/master
2022-07-18T20:20:01.296010
2020-05-19T19:45:08
2020-05-19T19:45:08
265,229,079
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
class Solution: def reverse(self, x: int) -> int: result = None if x > 0: result = int(str(x)[::-1]) elif x < 0: result = -int(str(x)[1:][::-1]) else: result = x if result < -2**31 or result > (2**31 -1 ): return 0 ret...
[ "yk.301198@gmail.com" ]
yk.301198@gmail.com
7e926ec8d71203a04028b636b1dee9579f4d8a87
baf7976d694868d49128f3ca9b3826da67f6a0c5
/MachineLearning/LR/logRegression.py
598891d2be96eabf3ad20c93a17d85034f35b707
[]
no_license
SunshineAllWay/MachineLearning
6128588bf93064ca651a0d7af1cc15c0225e8140
6fcf4bf418e66adde45ec58d4714df76b5f3b7f3
refs/heads/master
2021-01-17T05:53:24.139572
2016-08-05T14:55:17
2016-08-05T14:55:17
65,026,788
0
0
null
null
null
null
UTF-8
Python
false
false
3,743
py
from numpy import * import matplotlib.pyplot as plt import time # calculate the sigmoid function def sigmoid(inX): return 1.0 / (1 + exp(-inX)) # train a logistic regression model using some optional optimize algorithm # input: train_x is a mat datatype, each row stands for one sample # ...
[ "mhnfwln@126.com" ]
mhnfwln@126.com
43ae334c71f552a7b8f4f33f5eca2622df2502af
910cf7d82a30ce57b2fa9094c6f83f369901e88d
/bk_easy_ai/part3/p161/MNIST_Light.py
325efb07a064b263e333f4596ec18fa101dca37c
[]
no_license
agapeuni/python_bk_ai
1b602a6caf53a7edf1ff0f692ed3d2d1b4ad8869
0d04cb751290798d7a381ff307fe78cfc9c5d5c5
refs/heads/main
2023-09-04T19:38:11.939299
2021-11-14T23:38:13
2021-11-14T23:38:13
391,248,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import tensorflow as tf from keras import datasets, layers, models import matplotlib.pyplot as plt import numpy as np (train_images, train_labels), (test_images, test_labels) = datasets.mnist.load_data() train_images = train_images.reshape((60000, 28, 28, 1)) test_images = test_images.r...
[ "agapeuni@naver.com" ]
agapeuni@naver.com
8c96142c82328ac1b3bf46a24148f266a669a9f1
0f4680f49a56d2f60424b5ed6243d2189f3e2a70
/Code_and_imgs/boss_bullet.py
94ddd5052e1517e15063577972b652cd621a9321
[]
no_license
ryanrusli/ITP_Sem1_FinalProject
6b5aa7a333385f451215cd6e31ce20fb24795894
afcb355a8195980ba23eb725e002f226c9573a85
refs/heads/master
2020-04-07T15:27:01.477090
2019-09-18T15:29:48
2019-09-18T15:29:48
158,485,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
import pygame class Bossbullet: def __init__(self,bulx,buly,color): #alien bullet attributes self.color = color self.bulx = bulx self.buly = buly self.radius = 10 self.limit = 20 self.vel = 30 def draw(self,win): #function to ...
[ "noreply@github.com" ]
ryanrusli.noreply@github.com
0d029586fbb7b000e61dc10e1f463dbd3897d403
1ec13355db04d8258bb7a2da7eef7d686b5e30f6
/app/main/forms.py
6688738b585401e376981057ab63a60c0b9ab940
[ "MIT" ]
permissive
Munene19/IP9-Pitch
58a6be8af8b5e0fd4f0bcce6f3f9e5570af11ba7
840e8f1ecf42f39f0467d875f35402c8eaeb5d28
refs/heads/master
2022-09-20T13:40:30.048077
2020-01-17T07:55:55
2020-01-17T07:55:55
233,050,168
0
0
null
2022-09-16T18:16:30
2020-01-10T13:14:17
Python
UTF-8
Python
false
false
825
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, ValidationError, BooleanField, TextAreaField, SelectField, \ RadioField from wtforms.validators import Required class UpdateProfile(FlaskForm): bio = TextAreaField('Tell us about you.', validators=[Required()]) su...
[ "munenexv@gmail.com" ]
munenexv@gmail.com
82519a5e2771413edc95e5dee8e2e066d793d518
e838076bc1c8aedbb8c77710b1a1a32efc3a4da1
/pc1/models.py
1e61f611c4a5dbf401dcd01d926e4bc857bb4b2f
[]
no_license
abbasgis/ferrp
5f2f7768f0e38e299498c2e74379311698b6321f
77736c33e7ec82b6adf247a1bf30ccbc4897f02e
refs/heads/master
2023-05-25T09:59:45.185025
2021-06-12T09:15:07
2021-06-12T09:15:07
376,236,936
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
from django.db import models # Create your models here. class AdpDraft201718Vw(models.Model): gs_no = models.TextField(primary_key=True) # This field type is a guess. s_name = models.TextField(blank=True, null=True) # This field type is a guess. district = models.TextField(blank=True, null=True) # Thi...
[ "abbas123@abc" ]
abbas123@abc
b90305a84181787967094befd48f9aada3c02e1b
ebb53175646037d2eae1d476a318630f3a0fc909
/core/migrations/0004_m_datas.py
871e496c83ce6ea56fd437ee2cd2139718878359
[]
no_license
rifat0rahman/openapi
40eb47b516069c569fcee1bdc945616946edb228
fa462cf5304ba45bfd9e182f215cb4d862030929
refs/heads/main
2023-07-15T16:19:55.765008
2021-08-13T21:30:06
2021-08-13T21:30:06
393,740,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,640
py
# Generated by Django 3.2.6 on 2021-08-11 20:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_alter_data_importo_gara'), ] operations = [ migrations.CreateModel( name='M_Datas', fields=[ ...
[ "69579356+rifat0rahman@users.noreply.github.com" ]
69579356+rifat0rahman@users.noreply.github.com
9b1c42e1fe2eaac434340182ab967929202ca882
aadf3adad3d58004806248b99fbf0eafa250e72c
/text_never_seen.py
e003329e3c41d7cc5871e28ba5cf4cee8c01e8fb
[]
no_license
HakubJozak/book-prereader
d3862227d678686647b7a0f78f247b548577f7e6
00acf4585b641165d9bd102ba49e34661259752c
refs/heads/master
2021-05-15T23:04:15.857297
2017-10-14T17:28:08
2017-10-14T17:28:08
106,867,493
2
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
import nltk from gensim import corpora, models from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer dictionary = corpora.Dictionary.load('data/dict100k.dict') corpus = corpora.MmCorpus('data/corpus100k.mm') tfidf = models.TfidfModel.load('data/tfidf_100k') wordnet_lemmatizer = WordNetLemmatizer() ...
[ "jmj@isibrno.cz" ]
jmj@isibrno.cz
69adade10af261f770f533dc154ed3f034708348
cdab2f2b67fd80ae91ad7ab3b7ae6b8f1af701c7
/venv/lib/python2.7/site-packages/zenpy/lib/objects/ticketmetric.py
9438cc3fc32b00606a7b8ebc9fa73f0fd8e0b5a7
[]
no_license
dpetkevich/benServer
b3be224778fd65263bd2f0a0810484b7ec0ef118
b325887bedb2a012e99bd41374db1921050940e8
refs/heads/master
2023-01-08T18:52:59.563178
2015-09-29T15:09:50
2015-09-29T15:09:50
42,692,314
0
0
null
2022-12-26T19:55:38
2015-09-18T01:33:37
Python
UTF-8
Python
false
false
3,137
py
import dateutil.parser from zenpy.lib.objects.base_object import BaseObject class TicketMetric(BaseObject): def __init__(self, api=None): self.api = api self._solved = None self.solved_at = None self._updated = None self.updated_at = None self._assigned = None self.assigned_at = None self.reopens = ...
[ "daniel.petkevich@gmail.com" ]
daniel.petkevich@gmail.com
5b3640c062fbea040696bf08effe6efadcc1b196
57682a7edee523d087f383066cf69f3bce3351a4
/folders_based_tab_widget.py
cdb2a2936023bdae04dc952e264c8cd0d2220f9b
[]
no_license
hoshmy/GenericSimulatorJSON
82b3c0c84e5f21677568955d3a439c09a19d076a
18a01425857caf9c3082258b00d44fb4d015322c
refs/heads/master
2021-04-30T09:28:10.630383
2018-02-19T05:36:39
2018-02-19T05:36:39
121,309,070
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
import os from enum import Enum from PyQt5.QtWidgets import QTabWidget from PyQt5.QtWidgets import QWidget from ninja_widget import NinjaWidget from commands_widget import CommandsWidget from statuses_widget import StatusesWidget from mixed_tab_widget import MixedTabWidget from global_declarations import EntityNameMo...
[ "hoshmy@gmail.com" ]
hoshmy@gmail.com
819b9efa6a612158d02b776bf382a492bcb9152b
9dd3302ebc482f84c91e3e254a0996f3cdbfcfdf
/Day2/D2_exercises/D2_exercise_solutions/turn_forever/src/turn_and_turn.py
24d2e73432dcd5923336bf3d4118d97e734fcbdd
[]
no_license
Vodolay/ROS-Programming
9cd90e08fb413ada2917507500c5bbe4ed0cc1b1
bc7593c29c443fdc5eb5e9e72ff9bb56e40e6431
refs/heads/master
2020-12-03T00:54:54.488805
2020-01-16T02:58:11
2020-01-16T02:58:11
231,164,612
0
1
null
null
null
null
UTF-8
Python
false
false
395
py
#! /usr/bin/env python import rospy from geometry_msgs.msg import Twist rospy.init_node('turnstyle') pub = rospy.Publisher('/cmd_vel', Twist, queue_size=1) rate = rospy.Rate(10) go = Twist() go.linear.x = 0.5 #Move the robot with linear velocity 1.0 in the x-axis go.angular.z = 0.5 #Move the robot with angular veloc...
[ "37164020+Vodolay@users.noreply.github.com" ]
37164020+Vodolay@users.noreply.github.com
f2db5d1de5f2590a76dfeb3b761115cddc8a4693
c5b1d4254f1aa6d88b16502c7a5b45714b585503
/List_Wanlop_P.py
3955b337c30505b26d33cf0140d5aa12a52f8d39
[]
no_license
Wanlop2/programming
8dfa15e00e8b4e8a0bd870218c3f898f651301f2
f6cfa5a8b66e1b68235b401b3d896370c22b6ad0
refs/heads/master
2020-06-12T19:43:20.411261
2019-10-18T11:11:29
2019-10-18T11:11:29
194,405,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,293
py
#!/usr/bin/env python # coding: utf-8 # # 1.กำหนดให้ month = ["Jan","May","Jul","Aug","Oct","Dec"] # 1.1ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด แทรกเดือนที่ขาดหายไป # 1.2ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด ลบชื่อเดือนตำแหน่งที่ 2,5,9 ออกจากลิสต์ # 1.3ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด แสดงชื่อเดือนที่เหลืออยู่ในลิสต์ # In[...
[ "noreply@github.com" ]
Wanlop2.noreply@github.com
ef1c013cd55b95725b787557e86769b4fd758760
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/alerts/migrations/0011_auto_20170815_1432.py
83a21b67e06bc5f594c3731289b36f09f4baa58f
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
621
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-15 18:32 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('alerts', '0010_remove_alert_tags'), ] operations =...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
f201b7af3113299474b239df7110bf1c35755eda
8e159a7706ca86291bd2fe7243caa47dc20b39af
/craftapp/apps.py
c3d72828dd6e34d910301ee578ee0dc2aeb86461
[]
no_license
kamelmojtaba/Craft-Zone
85529f3749189c1995ba185dd9b975fe765bc97b
2c52ec25ca22805a323e90a695f557d9f9b12437
refs/heads/main
2023-05-13T08:37:11.476830
2021-05-22T15:36:25
2021-05-22T15:36:25
359,163,396
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class CraftappConfig(AppConfig): name = 'craftapp'
[ "kamelmojtaba2@gmail.com" ]
kamelmojtaba2@gmail.com
d1f9b59e66286e7023d586daf27bfedd4362450a
8e85a7f743009277e1e5fd7a3b0f82444b420c45
/P1/feature_selection/Pearson_correlation.py
aa841b886e529e6a3a71eb933a47e0a750710f96
[]
no_license
vaivaug/ML_P1
dcebf5a754e6f5084370c4d6a532e5ec6a87a03b
396512fbc43033de8ad768307541e057f6738b30
refs/heads/master
2022-10-15T09:25:21.907559
2020-03-13T01:45:26
2020-03-13T01:45:26
241,874,410
0
0
null
2022-09-30T18:48:57
2020-02-20T12:07:48
Python
UTF-8
Python
false
false
2,130
py
import pandas as pd import matplotlib.pyplot as plt from numpy import mean from numpy import std # from tkinter import * import numpy as np from pandas.plotting import scatter_matrix import seaborn as sns from sklearn.feature_selection import f_regression from scipy.stats import pearsonr from scipy.stats import spearma...
[ "vaivaug@gmail.com" ]
vaivaug@gmail.com
7de9636087c3acbe6e89afcdd51da98bfa841d98
9f0c06ccceeaf2730007e5ca3c1c9dc661d90789
/Lesson19/QuizFive.py
476024f90fe47142f25d6cf9c289363070671b88
[ "MIT" ]
permissive
SamRicha/CS101
58793def64be81a87ebbdfe6c8a6a11d13426330
9b6c1334293221a5c7a68f450aa069a19b50d08d
refs/heads/master
2020-04-05T10:55:20.459099
2018-11-27T07:26:11
2018-11-27T07:26:11
156,815,939
0
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
# Dictionaries of Dictionaries (of Dictionaries) # The next several questions concern the data structure below for keeping # track of Udacity's courses (where all of the values are strings): # { <hexamester>, { <class>: { <property>: <value>, ... }, # ... }, # ... } # For ...
[ "noreply@github.com" ]
SamRicha.noreply@github.com
358fb17946bffa6a9b6544103c7bc9e5d9173729
8ac998630b687fc05bb78fee7b1b53854a5ba894
/python/PyQt5_MenuAndToolbar/PyQt_MenuAndToolbar.py
1ab510fc1f08a0b3a1234aa94ef8bc264dd65c71
[]
no_license
YJH2099/pythonActions
86cf51ac5cb9ae1c60e5879efd602369b2bdca3b
716c4fbf8d0cd2d8dedc167d17c6c2296570ff82
refs/heads/master
2022-06-13T07:16:23.747934
2020-05-07T05:51:43
2020-05-07T05:51:43
260,823,919
2
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
''' 用PyQt5实现菜单和工具条的制作 其中,工具条可以位图与文本同时显示 显示状态栏(包括标签,实时显示时间) ''' ''' 调用的类库 ''' import sys from PyQt5 import QtWidgets,QtGui,QtCore from PyQt5.QtCore import Qt import time,datetime ''' 创建主窗口 ''' class MyMainWindow(QtWidgets.QMainWindow): def __init__(self,parent=None): super(MyMainWindow,self).__init__(pare...
[ "57754871+YJH2099@users.noreply.github.com" ]
57754871+YJH2099@users.noreply.github.com
83b2690e40232cdd946af37e4e070b48b12eccf2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02379/s325687867.py
d01451aa8ad3582ccaf4aae8635f9f68db13f00f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
import math x1, y1, x2, y2 = map(float,input().split()) a = abs(x1-x2) b = abs(y1-y2) print(math.sqrt(a*a+b*b))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b38afab8eab6bf6cf36a2b3a65f41fdc194c7892
358305e18a0b4bd7b3e1a68ca4e2e38cdfc62cd2
/aoc18_python/day4_1.py
09cb8a2c28316ebc4c2dfb748f7daf58066400fa
[]
no_license
Choffe/aoc
58cb03aaa37599a4d98dbc250c58ddf28930a628
6469c8f49007ac4c83477f4f3624362ddc32041a
refs/heads/master
2021-12-23T22:51:29.280053
2021-12-21T10:25:46
2021-12-21T10:25:46
232,748,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
input = open("day4_input") from datetime import datetime import re class entry_obj : def __init__(self, date, entry): self.date = date self.entry = entry def __repr__(self) : return "%s %s" % (self.date, self.entry) class guard_obj : def __init__(self, id) : self.id = id ...
[ "kristofj@axis.com" ]
kristofj@axis.com
09d978312cf40528fc55805bbff92edcd2144521
f582c7d7a3403d1baf0d66f1a12c0a7c6a441e34
/setup.py
30242ada696bdbe196d917764e8a37d88161736e
[ "MIT" ]
permissive
bbbdragon/python-pype-lang
5c0e01676dff5a8df72bad40779e4584eff17c8c
f0618150cb4d2fae1f959127453fb6eca8db84e5
refs/heads/master
2020-05-02T15:01:05.784579
2019-10-23T18:45:57
2019-10-23T18:45:57
178,028,764
8
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
from setuptools import setup, find_packages #with open("README.md", "r") as fh: # LONG_DESCRIPTION=fh.read() setup(name='python-pype-lang', version='1.2.0', description='Python-integrated functional programming language - Provides easy-to-use pseudo-macros for common functional programming tasks such a...
[ "bennettbullock36@gmail.com" ]
bennettbullock36@gmail.com
04dafde3bc7f94f93d9f00a64036a3aba00ae0e4
caf0ba85f1c7a2b7208e7f0acebb3c047b17b0ba
/4_py_libro_1_pydroid/venv/4_py_libro_1_pydroid/COLECCIONES/py_1_collecciones.py
f5b5a8874953870d8fbe5e698201b48134170b5f
[]
no_license
JAreina/python
12ca9bd5467420a813ac3f33b0adba6cd492f855
3b9ac8d37ab2abe70e34043857f96a76c19468c8
refs/heads/master
2020-03-22T07:57:31.675271
2018-09-12T06:38:49
2018-09-12T06:38:49
139,735,465
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import collections c = collections # JAreina a = c.Counter([2,2,8,5,1,2,3,4,5,8]) print(a) b = 'en un lugar de la mancha' print( c.Counter(b)) d = ['a',"b",'c',"c",'z'] print(c.Counter(d)) print("\n ::::::::: update counter::::::::::::\n") e = c.Counter() print(e) e.update("hola hola") print(e) #JAreina e....
[ "jareinafdez@gmail.com" ]
jareinafdez@gmail.com
2f44a2a3e2304fa716d563c22a881c2c0fbf5ef7
257bd63361aa846ffdacdc15edaecf84c6364e78
/psou/pro1/pack3/class_ex9.py
b5fb7d6e7b2028d16e4b7c2b560541e4fb51073b
[]
no_license
gom4851/hcjeon
86dcfd05ce47a13d066f13fe187d6a63142fb9fe
59a00ca9499f30e50127bb16eb510553e88ace43
refs/heads/master
2020-06-04T23:16:08.632278
2019-01-15T09:54:08
2019-01-15T09:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
''' Created on 2018. 11. 8. 상속 ''' class Person: say = "난 사람이야~" nai = '20' __kor = 59 # 앞에 __ 해주면 private가 됨. def __init__(self, nai): print('Person 생성자') self.nai = nai def printInfo(self): print('나이:{}, 이야기:{}'.format(self.nai, self.say)) def h...
[ "wer104@naver.com" ]
wer104@naver.com
5000e9ebd817b377e8eb079329f358f7f4736042
32353f9863400c7211cd845ee8a4799f6b310e8e
/知乎-看知乎-批量查询用户Hash.py
2b8ae8efabaf5c21d4be62d6423c8089880e4854
[]
no_license
BewareMyPower/Python-Learning
bb96aa99013b070a5a1e31e3b6c42430c1e6ae59
0c776f5ed70ed803a5b1b2fc95f0b3f905c9af79
refs/heads/master
2021-01-24T05:43:04.673141
2016-06-28T14:19:36
2016-06-28T14:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import requests, time, json start_time = time.time() # 初始时间戳 # ================读取剪贴板================ from tkinter import Tk r = Tk() read_text = r.clipboard_get() text_readline = read_text.splitlines() print(text_readline) line = [] for i in range(len(text_readline)): entry_start_time = time.time() try: ...
[ "anywaywillgo@gmail.com" ]
anywaywillgo@gmail.com
1bad826ed734f489a07dff38e4ad9d7dc8341fa6
1e2c05dfa2abf5a16cb75a68bc42d70256fccc6b
/infos/templatetags/stats_extras.py
1f7cfbdd24d968ad675e96ff5d137bb2b76ddc4d
[ "MIT", "CC-BY-SA-4.0" ]
permissive
acdh-oeaw/apis-core
b491011a30226d0682be045517bee08c6af71bbd
508545fa5119e1895801cc02c33b62ee33518183
refs/heads/main
2023-09-01T03:04:19.622371
2023-05-17T14:21:48
2023-05-17T14:21:48
96,198,214
14
5
MIT
2023-06-12T12:40:21
2017-07-04T09:04:29
Python
UTF-8
Python
false
false
1,325
py
from django import template from django.contrib.contenttypes.models import ContentType register = template.Library() @register.simple_tag def create_object_count(app=None): """fetches all models of the passed in app and returns a dict containg the name of each class and the number of instances""" if ap...
[ "m.schloegl@gmail.com" ]
m.schloegl@gmail.com
20651e2bc9ac58f947a4b12458d3e9a0083ef1db
f51222c930c55c1eeda41aa40a08fab4ca419b40
/Theta360Wrapper/theta360.py
91dc18a971f5271000fbfad40486a0ea02d55c79
[]
no_license
qurihara/Theta360CSharpFromIronPhthon
97915a5ab466ded9991e119d28c57235e555974d
0021fd938670f59be662fcb93d7e865320920dbb
refs/heads/master
2021-01-01T04:29:42.541971
2014-10-18T02:24:33
2014-10-18T02:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,818
py
#!/usr/bin/env python # coding: UTF-8 import socket import _struct DEBUG = True DEBUG2 = False Save_Dir = './' PTP_OC_GetDeviceInfo = 0x1001 PTP_OC_OpenSession = 0x1002 PTP_OC_CloseSession = 0x1003 PTP_OC_GetStorageIDs = 0x1004 PTP_OC_GetStorageInfo = 0x1005 PTP_OC_GetNumObjects = 0x...
[ "qurihara@gmail.com" ]
qurihara@gmail.com
1d9066b6f8c175153341870908a2697e4398d8bf
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch14/filter_equalizer.py
8d3830bd050cd0f33b823f8ec982a021af94ccdc
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- import scipy.signal as signal import pylab as pl import math import numpy as np def design_equalizer(freq, Q, gain, Fs): '''设计二次均衡滤波器的系数''' A = 10**(gain/40.0) w0 = 2*math.pi*freq/Fs alpha = math.sin(w0) / 2 / Q b0 = 1 + alpha * A b1 = -2*math.cos(w0) b2 = 1 - alp...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
bfec5feb36e5680bf63c8a573f70469d7938b2ec
b0f4d664b51dea0cce733b104ab23693abea90ed
/Agents/IQL_Agents.py
b584b69894c08921dfc59ddb032e4688def3c55d
[]
no_license
Zhikaiiii/traffic-signal-control
88079e2de24e489bfad299d1d286064973c10d01
66dccaf6bfa3bf16cbdda04fc1947043928ee33d
refs/heads/master
2022-12-28T08:28:26.658533
2020-10-16T12:57:40
2020-10-16T12:57:40
284,174,051
4
2
null
null
null
null
UTF-8
Python
false
false
3,229
py
import torch from itertools import chain from torch import optim import torch.nn.functional as F import numpy as np from Agents.Basic_Agents import Basic_Agents from Learners.Dueling_DDQN_Learner import Dueling_DDQN_Learner from Models.Basic_Model import Base_Model # IQL_Agents with all parameters sharing class IQL_A...
[ "1658973216@qq.com" ]
1658973216@qq.com
89f170f759f41503a18f7d70b6b6081efafb4267
4bf644becda8b04fb0f79da727a67056c0c10734
/academico/models.py
366fa085596efba35f391acdf167a40268aaf324
[]
no_license
dias1618/django-crud
41b399306736d1784ea1c11433aff074300adf5f
83e3ae03adb9e45012c727fca284dfdd40da10af
refs/heads/main
2023-01-11T23:01:06.466404
2020-11-05T04:43:48
2020-11-05T04:43:48
310,189,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from django.db import models class Aluno(models.Model): id = models.AutoField(primary_key=True) nome = models.CharField(max_length=100, blank=True, null=True) curso = models.ForeignKey('Curso', models.DO_NOTHING, db_column='idCurso', blank=True, null=True) class Meta: managed = False ...
[ "dias.1618@gmail.com" ]
dias.1618@gmail.com
c4efff0966532f4a7d4d8ee3839194c7e641bf5c
91668f2d4404dd3d85b598b15b852d5a2eeeec6a
/setup.py
27912b3549aa77181a86318e03cafa84b6cf5e87
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
r-swilderd/mi-instrument
b4fd841f05e7c0522580b73f145c2a826ccf21d6
34b60925a01d6cf89db254fdc75566c59ccba144
refs/heads/master
2021-01-17T21:56:34.298829
2015-08-29T23:02:31
2015-08-29T23:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os import sys # Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml) if sys.platform == 'darwin': os.environ['C_INCLU...
[ "petercable@gmail.com" ]
petercable@gmail.com
05c7b9e2a0bf0d793fb2142c793babb29ad8e088
9132bab3deec3002afdab01069ed2565fb75c27b
/app/interface.py
00e544e91bf73f4ba814ebda519875e898dccc39
[]
no_license
markocrnic/user-management-API
e72d044194a925d8fcd52e011c2ccc0911f460b0
d7e42686b9ca5faac5ffde0edfe510ff4d1ddb7d
refs/heads/master
2022-06-22T04:36:01.604669
2019-11-29T13:42:48
2019-11-29T13:42:48
213,910,855
0
0
null
2022-05-25T04:22:52
2019-10-09T12:19:55
Python
UTF-8
Python
false
false
1,542
py
from flask import Flask, request from flask_cors import CORS from api_management.jaeger import initializejaeger from flask_opentracing import FlaskTracing import implementation as implementation app = Flask(__name__) CORS(app) jaeger_tracer = initializejaeger() tracing = FlaskTracing(jaeger_tracer) @app.route('/us...
[ "markons996@gmail.com" ]
markons996@gmail.com
a0d89be372b455fd0cb1c46b22236811fdb4edb5
3f92ef8b3a0da55f8b402ac56e3a96efe315e2cb
/leet3.py
59d410286fe70251df58539241c95d665825af17
[]
no_license
GnatLlib/LeetCode-Solutions
c1ee260326eb8f1c65c6f90fb97f8f79a5a5d8ec
517089daa4468e377509e29745b1e768ca28cbba
refs/heads/master
2020-12-06T10:05:10.109618
2017-02-02T06:02:30
2017-02-02T06:02:30
67,313,356
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
""" LeetCode Problem 3. Longest substring without repeating characters Solved using dynamic programming """ class Solution(object): def isUnique(self,s): return len(set(s))==len(s) def lengthOfLongestSubstring(self, s): """ :type s: str :rtype: int ...
[ "noreply@github.com" ]
GnatLlib.noreply@github.com
5a49bc194263d90c2bd6636f023c0d94bc2878d9
25d23a570fec21d27fe9177f71895947e5eddeb7
/klare til innlevering/Task 1/task1_kNN.py
39431c164985ccf43f921122ddec1fc8fbbd3683
[]
no_license
erlendw/WindEnergyForcasting
65bf8a3b298e6f7034d01ea26342232dadde9ca5
c4620d306fd83aaecbf046d6a414d3bae4921357
refs/heads/master
2021-03-27T11:47:35.696891
2017-05-19T19:23:55
2017-05-19T19:23:55
87,854,266
4
1
null
null
null
null
UTF-8
Python
false
false
1,668
py
from sklearn import neighbors from sklearn.neighbors import KNeighborsRegressor import CsvReader as read import numpy as np import matplotlib.pyplot as plt import math weatherdata = read.getCsvAsList('TrainData') forcastdata = read.getCsvAsList('WeatherForecastInput') solutiondata = read.getCsvAsList('Solution') x = ...
[ "kristofferosen@gmail.com" ]
kristofferosen@gmail.com
7d12355e925e10da294ef83fa5b5f3ca840bf324
9962fb8981b1a748e3420abccbb736d9f9faa98e
/repaso.py
92b0abd01da408fdbdc9bb25b79139986bd2dc87
[]
no_license
oscarepv/Laboratorio3
318ee32b2ffcee90c1b428c9a05a91a2ef592c77
e004c5b4eb85bba43b77cb48b87463f815069a4d
refs/heads/master
2021-01-01T03:40:47.897011
2016-05-05T14:54:22
2016-05-05T14:54:22
58,136,637
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
#con while vuelta=1 while (vuelta<10): print("vuelta: "+str(vuelta)) vuelta=vuelta+1 #con for print("CON EL FOR") for vuelta in range(1,10): print("vuelta: "+str(vuelta))
[ "oscar_e1993@hotmail.com" ]
oscar_e1993@hotmail.com
eeb13cd7372235dc98659e8c648f295d103bb998
d8dacca9a23c4b7db17f239bfe532ca2640b30b6
/Robust Principal-Component-Analysis/Código/incPCP-Python/checkBGChange.py
628e30d486358b75c42d8f50db2bb536f1418f9a
[]
no_license
JavierRojasC/CEIE-investigation
33f96098608ecf7d25f9ee8ccb01f4cd35d0b618
e61bef845868e93d68181657746ebe16e0527ee9
refs/heads/main
2023-08-07T09:19:29.321370
2021-10-07T02:43:26
2021-10-07T02:43:26
373,235,794
0
1
null
2021-06-08T18:52:43
2021-06-02T16:31:21
null
UTF-8
Python
false
false
675
py
import numpy as np def checkBGChange(kini,k,Nrows,Ncols,L,Lold,curFrame,localDist,V,backgroundThresh ,backgroundStable,bgChangeFlag,U,Sigma): vRows = V.shape[0] if k > kini: localDist.append(np.sum(abs(L - Lold)) / (Nrows*Ncols)) if k>(kini+1): Lfrac = localDist[-1] / localDist...
[ "fafranco@espol.edu.ec" ]
fafranco@espol.edu.ec
660c7581b779bf195b79489834b2aa98d78b1072
17ea540df3479150f67b6087303816b97340eb4e
/testTopologyEvolutionOmegaPositiveWithInitialization.py
07a6812294ff16cab9b9162134814a3f8c5c3b16
[]
no_license
x17wang/neoSeg
a848a8d03128544372f66220b3960444dd7fe796
592cfef2fe5b6db5cbe5ff6b534422122d830384
refs/heads/master
2020-08-03T20:29:08.818672
2019-09-20T17:03:05
2019-09-20T17:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,854
py
# coding=utf-8 import os,sys import numpy as np import math import nibabel from skimage import measure from scipy import ndimage from numba import jit from testDownsamplingSref import downsampling from createInputsTopology import buildInputs from testTopologicalTools import checkConnectedComponents def isBinarySimpl...
[ "carlos-tordiez@imt-atlantique.com" ]
carlos-tordiez@imt-atlantique.com
b95a30e808645178f28fb09317dde8176bc5a004
ef284635397e42b07b3883afb493a94477b171fe
/test.py
647a982f0da1367153c4c5aab6e717d47262fb0b
[]
no_license
killsking/GradNet
ef1d61f62c6aff04f1dcfd98da88e9785cd96b15
402f02bae750c3e3faca2ffbb85d90c58899116f
refs/heads/master
2021-04-12T15:31:49.082655
2020-01-05T07:57:21
2020-01-05T07:57:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from glob import glob import cv2 import tensorflow as tf import numpy as np import time from numpy import inf from data_generator import data_generator from util import data_loss, first_order_loss, grad_loss, calc_grad_x, calc_grad_y, \ get_features_array, get_color_array, preprocess_data, get_grad_array, revert_h...
[ "18340018269@163.com" ]
18340018269@163.com
84cae4f3f2a3264c83961a50abfe1f1b389239e6
a5bc9579853b8796a45dc9295d0fe69ed7929cb7
/hy-data-analysis-with-python-summer-2019/part05-e03_top_bands/src/top_bands.py
e17d8a6967316501413401cc1bf3a8c4854b91b7
[]
no_license
DU-ds/PythonDataAnalysisCourse
60355918e8ae63af00303eb5f371d03c9f519ea5
9afd022c7c5d7044605bdab9d1250ac771b3fcc6
refs/heads/master
2020-08-02T12:43:57.345032
2019-11-08T00:24:38
2019-11-08T00:24:38
211,356,492
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
#!/usr/bin/env python3 import os import pandas as pd def top_bands(): f = os.path.dirname(os.path.realpath(__file__)) fourty = pd.read_csv(f + "/UK-top40-1964-1-2.tsv", sep = "\t").astype("object") bands = pd.read_csv(f + "/bands.tsv", sep = "\t") # bands.Band is Title Case, # fourty.Artist is UPPE...
[ "kenneth.collins@alumni.stonybrook.edu" ]
kenneth.collins@alumni.stonybrook.edu